/* Notifications occupy one row until the reader opens the list. */
html #root#root .fc-menu-scroll>.fc-notifications{padding:0!important;margin-bottom:12px!important;}
html #root#root .fc-notification-toggle{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:48px!important;padding:12px 14px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--surface-accent)!important;text-align:left!important;cursor:pointer;}
html #root#root .fc-notification-toggle h2{flex:1;min-width:0;margin:0!important;white-space:nowrap!important;font-size:12px!important;line-height:18px!important;letter-spacing:.7px!important;text-transform:uppercase;}
html #root#root .fc-notification-toggle .fc-count{flex:none!important;position:static!important;}
html #root#root .fc-notification-toggle>span:last-child{flex:none;font-size:15px;line-height:18px;}
html #root#root .fc-notification-toggle:focus-visible{outline:2px solid var(--surface-accent)!important;outline-offset:-4px;border-radius:18px;}
html #root#root #fc-notification-list{padding:0 14px 14px!important;}
/* Pale blue common chat, with readable blue material in all three themes. */
html[data-theme] #root#root .fc-community-tiles>section:first-child{--surface-hi:#f4faff!important;--surface-low:#dceafa!important;--surface-edge:#9eb8d5!important;--surface-accent:#41668d!important;}
html[data-theme="dark"] #root#root .fc-community-tiles>section:first-child{--surface-hi:#2d3d50!important;--surface-low:#202d3d!important;--surface-edge:#647f9d!important;--surface-accent:#bcd6f2!important;}
/* The identity card defines the shared profile material, ink and buttons. */
html[data-theme] #root#root [data-profile-surface]{--surface-hi:#fffaf0!important;--surface-low:#eee3cd!important;--surface-edge:#c7ae82!important;--surface-accent:#8e6d3d!important;--profile-button-hi:#fffdfa;--profile-button-low:#f4eee1;--profile-button-edge:#c9a97580;--profile-button-ink:#8c672b;--profile-ink:#262c35;--profile-muted:#756b60;}
html[data-theme="dark"] #root#root [data-profile-surface]{--surface-hi:#37312f!important;--surface-low:#242328!important;--surface-edge:#766451!important;--surface-accent:#dfbf8a!important;--profile-button-hi:#423a31;--profile-button-low:#302c29;--profile-button-edge:#927950aa;--profile-button-ink:#e9d2a8;--profile-ink:#e5eaf3;--profile-muted:#d4ccc0;}
html[data-theme="porcelain"] #root#root [data-profile-surface]{--surface-hi:#ffffff!important;--surface-low:#e7eef6!important;--surface-edge:#b2c2d6!important;--surface-accent:#566d87!important;--profile-button-hi:#ffffff;--profile-button-low:#e9eff6;--profile-button-edge:#b2c2d699;--profile-button-ink:#566d87;--profile-ink:#26394b;--profile-muted:#63788b;}
html[data-theme] #root#root [data-profile-surface] button,html[data-theme] #root#root [data-profile-surface] [title="Настройка профиля"]{background:linear-gradient(var(--profile-button-hi),var(--profile-button-low))!important;border-color:var(--profile-button-edge)!important;color:var(--profile-button-ink)!important;box-shadow:inset 0 1px #ffffff66,0 1px 2px #00000008!important;}
html[data-theme] #root#root [data-profile-surface] button *,html[data-theme] #root#root [data-profile-surface] [title="Настройка профиля"] *{color:inherit!important;}
html[data-theme] #root#root [data-profile-surface]:not([data-profile-surface="identity"])>div:first-child>span:first-child{color:var(--surface-accent)!important;}
html[data-theme] #root#root [data-profile-surface] [data-empty-surface],html[data-theme] #root#root [data-profile-surface] [data-empty-surface] p{color:var(--profile-muted)!important;}
/* Keep chat, forum and the recommendation card within the standard phone window. */
html #root#root .fc-menu-scroll{padding-bottom:12px!important;}
html #root#root .fc-menu-scroll>.fc-notifications{margin-bottom:8px!important;}
html #root#root .fc-menu-caption{margin:0!important;padding:4px 0 6px!important;}
html #root#root .fc-menu-recommendations{padding:10px!important;margin:10px 0 0!important;}
