/*
Theme Name: Афонин Консалтинг — React
Description: React frontend с серверным HTML и backend действующей темы журнала.
Template: afonin-journal
Version: 1.7.431
Requires at least: 6.6
Requires PHP: 8.1
Author: Афонин Консалтинг
License: GPL-2.0-or-later
Text Domain: afonin-journal-react
*/
/* Pricing dialogs keep the approved type and touch scale on phones/tablets. */
:is(.reader-dialog,.account-guest-auth) .reader-yandex-login form{display:grid;gap:16px;margin:18px 0 0;padding:0;border:0;box-shadow:none;background:transparent}
:is(.reader-dialog,.account-guest-auth) .reader-yandex-login .reader-yandex-privacy{display:flex;align-items:flex-start;gap:12px;min-height:44px;margin:0;font-size:18px;line-height:1.5;color:var(--text,#263247)}
.reader-yandex-privacy input[type=checkbox]{flex:none;width:22px;height:22px;min-height:22px;margin:3px 0 0;accent-color:#3b5e7d}
.reader-yandex-privacy span{min-width:0;overflow-wrap:anywhere}
.reader-yandex-data{font-size:16px;line-height:1.5;color:var(--text,#263247)}
.reader-yandex-data summary{min-height:44px;cursor:pointer;padding:10px 0}
.reader-yandex-data p{font-size:16px;margin:8px 0}
.reader-yandex-status{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.reader-yandex-status button{font:inherit;min-height:44px}
@media(max-width:480px){:is(.reader-dialog,.account-guest-auth) .reader-yandex-login .reader-yandex-privacy,.reader-yandex-status{font-size:16px}:is(.reader-dialog,.account-guest-auth) .reader-yandex-login form{gap:12px}.reader-yandex-data,.reader-yandex-data p{font-size:16px}}
@media(max-width:1050px){
 #aj-react-root :is(.pricing-order-dialog,.tariff-group-dialog,.feature-spotlight) .spotlight-window-title{font-size:18px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;min-width:0}
 #aj-react-root :is(.pricing-order-dialog,.tariff-group-dialog,.feature-spotlight) .glass-window-bar>button{flex-shrink:0}
 #aj-react-root .pricing-order-dialog #pricing-portal{font-size:var(--aj-font-control,18px);line-height:1.5;min-height:var(--aj-touch-target,48px)}
 #aj-react-root .pricing-order-dialog [data-portal-form]>label{font-size:18px;line-height:1.5}
 #aj-react-root .pricing-order-dialog .pricing-note{font-size:16px;line-height:1.6}
 #aj-react-root .pricing-order-dialog [data-portal-form]>.pricing-button{font-size:18px;line-height:1.5;min-height:48px}
 #aj-react-root :is(.pricing-order-dialog,.tariff-group-dialog,.feature-spotlight) :is([data-order-close],[data-group-close],[data-feature-close]){min-width:44px;min-height:44px}
 #aj-react-root .tariff-group-dialog :is([data-group-previous],[data-group-next],[data-group-full]){font-size:16px;min-height:48px}
 .enterprise-picker-list[data-aj-react-enterprise]{font-size:16px}
 .enterprise-picker-list[data-aj-react-enterprise] .enterprise-picker-option{font-size:16px;min-height:48px}
 .enterprise-picker-list[data-aj-react-enterprise] .enterprise-picker-option>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
}
/* A transparent React root preserves the parent's body flex layout. */
#aj-react-root{display:contents}

/* Shared tokens inherit the approved design, rather than adding a UI library. */
:root{
 --aj-font-body:18px;--aj-font-control:18px;--aj-font-caption:16px;
 --aj-font-title-compact:26px;--aj-font-price-min:32px;--aj-font-price-max:36px;
 --aj-leading-body:1.75;--aj-leading-control:1.5;--aj-leading-caption:1.6;
 --aj-space-1:4px;--aj-space-2:8px;--aj-space-3:12px;--aj-space-4:16px;
 --aj-space-5:20px;--aj-space-6:24px;--aj-space-8:32px;--aj-space-10:40px;
 --aj-touch-target:48px;--aj-page-gutter:40px;--aj-card-padding-narrow:14px;
}
#aj-react-root .wrap{padding-inline:var(--aj-page-gutter)}
#aj-react-root .box-feature-name{min-width:0;overflow-wrap:anywhere}
/* Bind the shared scale to existing component values without changing their design. */
#aj-react-root .learning-copy{font-size:var(--aj-font-body);line-height:var(--aj-leading-body)}
#aj-react-root .space-preferences :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select){font-size:var(--aj-font-control);line-height:var(--aj-leading-control);min-height:var(--aj-touch-target)}
#aj-react-root .space-preferences .space-field-hint{font-size:var(--aj-font-caption);line-height:var(--aj-leading-caption)}
@media(max-width:1050px){:root{--aj-page-gutter:28px}}
@media(max-width:800px){:root{--aj-page-gutter:24px}}
@media(max-width:480px){:root{--aj-page-gutter:18px}}
@media(max-width:600px){
 #aj-react-root #journal-spotlight .spotlight-input-row input{font-size:var(--aj-font-control)}
}
/* Very narrow screens retain the canonical18px outside gutter. */
@media(max-width:337px){
 :root{--aj-page-gutter:18px}
 #aj-react-root .wrap{padding-inline:var(--aj-page-gutter)}
 #aj-react-root main{min-width:0}
 #aj-react-root :is(.space-actions,.account-entry-actions,.learning-actions){flex-wrap:wrap}
 #aj-react-root :is(.space-actions,.account-entry-actions,.learning-actions)>*{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 #aj-react-root :is(.article-title,.space-heading h1,.learning-content h1){overflow-wrap:anywhere}
 #aj-react-root :is(.box-edition,.box-subscription){padding:var(--aj-space-4)}
 #aj-react-root .box-edition h3{font-size:var(--aj-font-title-compact);overflow-wrap:anywhere}
 #aj-react-root .box-price{font-size:clamp(var(--aj-font-price-min),11vw,var(--aj-font-price-max));white-space:normal}
}

/* Guest account uses the same app surfaces and type scale as the personal space. */
body.aj-account-entry{background:#e9f0f8}
.aj-account-entry .journal-band,.aj-account-entry .header-cta,.aj-account-entry .header-reader-login{display:none}
.aj-account-entry .header{box-shadow:0 2px 14px #11286406}
#aj-react-root .account-welcome{max-width:1220px;padding-block:48px 56px}
.account-welcome-heading{max-width:860px;margin-bottom:32px}
.account-welcome-heading h1{margin:0 0 12px;font-size:36px;line-height:1.25;letter-spacing:-.7px;color:var(--accent)}
.account-welcome-heading>p{margin:0;font-size:20px;line-height:1.65;color:var(--description,#46566b)}
.account-welcome-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.account-signin-card{min-width:0;border:1px solid #bdcadb;border-top:3px solid #f4a25e;border-radius:20px;background:#fff;overflow:hidden;box-shadow:var(--shadow-card)}
.account-signin-bar{display:flex;align-items:center;gap:12px;padding:22px 26px;background:var(--material-header-gradient);color:#f8faff}
.account-signin-bar h2{margin:0;font-size:23px;line-height:1.4;font-weight:600}
.account-signin-bar .reader-window-id{display:grid;place-items:center;flex:none;width:38px;height:32px;border:1px solid #df9454;border-radius:7px;background:linear-gradient(135deg,#ffb46b,#f4a25e);color:#112864;font-size:16px;font-weight:700}
.account-signin-body{padding:26px}
.account-guest-auth{min-width:0;font-size:18px;line-height:1.65;color:var(--description,#46566b)}
.account-guest-auth p{margin:0 0 18px;font-size:18px;line-height:1.65}
.account-guest-auth a{color:var(--link);text-underline-offset:3px;overflow-wrap:anywhere}
.account-guest-auth .reader-provider-action{width:100%;max-width:none;min-height:56px;font-size:18px;line-height:1.5;white-space:normal}
.account-guest-auth .reader-provider-action-label{justify-content:center;min-width:0;white-space:normal}
.account-guest-auth .reader-provider-action-label>span{min-width:0;overflow-wrap:anywhere}
.account-guest-auth .reader-yandex-data{font-size:16px}
.account-signin-body .account-signin-note{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:16px;line-height:1.6;color:var(--muted)}
.account-welcome-benefits{min-width:0;padding:8px 0}
.account-welcome-benefits>h2{margin:0 0 20px;font-size:23px;line-height:1.4;color:var(--accent)}
.account-welcome-benefit{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:start;padding:20px;border:1px solid #d3dce8;border-left:4px solid #829ac9;border-radius:16px;background:#fff;margin-bottom:14px}
.account-welcome-benefit:nth-of-type(2){border-left-color:#4d927d}
.account-welcome-benefit:nth-of-type(3){border-left-color:#c08038}
.account-welcome-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#edf2f8;color:#5c7e9c}
.account-welcome-icon svg{width:28px;height:28px;display:block}
.account-welcome-benefit h3{margin:0 0 6px;font-size:20px;line-height:1.4;color:var(--accent)}
.account-welcome-benefit p{margin:0;font-size:18px;line-height:1.6;color:var(--description,#46566b);overflow-wrap:anywhere}
.account-welcome-catalogue{display:inline-flex;align-items:center;min-height:48px;margin-top:4px;font-size:18px;line-height:1.5;text-underline-offset:4px;overflow-wrap:anywhere}
@media(max-width:850px){.account-welcome-grid{grid-template-columns:minmax(0,1fr);gap:28px}.account-signin-card{max-width:none}#aj-react-root .account-welcome{max-width:720px;padding-block:32px 40px}.account-welcome-heading h1{font-size:32px}.account-welcome-heading>p{font-size:18px}}
@media(max-width:480px){#aj-react-root .account-welcome{padding-block:26px 32px}.account-welcome-heading{margin-bottom:24px}.account-welcome-heading h1{font-size:28px;letter-spacing:-.4px}.account-signin-bar{padding:18px}.account-signin-bar h2,.account-welcome-benefits>h2{font-size:22px}.account-signin-body{padding:20px 18px}.account-welcome-benefit{padding:18px 14px;grid-template-columns:40px minmax(0,1fr);gap:12px}.account-welcome-icon{width:40px;height:40px;border-radius:10px}.account-welcome-icon svg{width:25px;height:25px}.account-welcome-benefit h3{font-size:20px}.account-signin-body .account-signin-note{font-size:14px}}
@media(max-width:337px){.account-signin-body{padding:18px 14px}.account-signin-bar{padding:16px 14px;gap:10px}.account-signin-bar h2{font-size:20px}.account-welcome-heading h1{font-size:26px}.account-welcome-benefit{grid-template-columns:32px minmax(0,1fr);gap:10px}.account-welcome-icon{width:32px;height:36px;background:transparent}.account-guest-auth .reader-provider-action{padding-inline:12px}}

/* Existing provider palette; compact shared scale for inline sign-in selection. */
.account-provider-tabs{display:flex;gap:10px;margin-bottom:22px}
.account-provider-tabs button{flex:1;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #bdcadb;border-radius:10px;background:#fff;color:var(--accent);font:inherit;font-size:18px;font-weight:600;line-height:1.5;cursor:pointer}
.account-provider-tabs button[aria-pressed=true]{background:#fff3e5;border-color:#c08038;box-shadow:inset 0 0 0 1px #e5b182}
.account-provider-tabs button:focus-visible{outline:2px solid var(--link);outline-offset:3px}
@media(max-width:337px){.account-provider-tabs{gap:8px}.account-provider-tabs button{padding-inline:8px;font-size:16px}}

.account-guest-auth>button[hidden]{display:none!important}

.reader-vk-method{display:grid;gap:8px;min-width:0;font-size:18px;line-height:1.5;color:var(--text,#263247)}
.reader-vk-method select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #bdcadb;border-radius:10px;background:#fff;color:var(--accent);font:inherit;font-size:18px}
.reader-vk-method select:focus-visible{outline:2px solid var(--link);outline-offset:3px}
@media(max-width:480px){.reader-vk-method{font-size:16px}.reader-vk-method select{font-size:16px}}

/* Account shell: public site navigation remains outside the personal workspace. */
.account-header{background:#fff;border-bottom:1px solid #d5deea;position:relative;z-index:30}
.account-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;padding-block:12px}
.account-header-brand{display:flex;align-items:center;gap:24px;min-width:0}
.account-header .brand-group{flex:0 1 180px;width:180px;min-width:0;margin:0}
.account-header .brand-group a{display:flex;max-width:100%;align-items:center;min-height:48px}
.account-header .brand-group img{max-width:100%;height:auto;max-height:48px;object-fit:contain}
.account-header .compact-logo-crop{width:100%;max-width:180px}
.account-site-link{display:inline-flex;align-items:center;min-height:48px;font-size:18px;font-weight:600;white-space:nowrap;color:var(--link-on-light)}
.account-header .space-profile{margin:0;max-width:none;border:0;background:transparent;align-self:center;position:relative;order:2}
.account-header .space-profile summary{padding:0;min-height:48px;width:48px;border-radius:50%;cursor:pointer}
.account-header .space-profile-name{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.account-header .space-profile>div{position:absolute;right:0;top:calc(100% + 12px);width:min(340px,calc(100vw - 36px));padding:20px;background:#fff;border:1px solid #c6d1df;border-radius:16px;box-shadow:0 12px 36px #1128641f;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.account-header .space-profile>div a{display:flex;align-items:center;min-height:48px;font-size:18px;margin:0}
.account-header .space-profile .account-profile-name{font-weight:700;color:var(--ink);font-size:20px}
.account-header :is(summary,a,button):focus-visible{outline:3px solid #f4a25e;outline-offset:4px}
.account-sections-toggle{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid #c6d1df;border-radius:12px;background:#fff;color:var(--ink);font-size:18px;font-weight:600}
.account-sections-toggle svg{width:22px;height:22px}.account-sections-toggle[hidden],#account-section-navigation[hidden]{display:none!important}
@media(max-width:800px){
.account-header-inner{flex-wrap:wrap;gap:12px;padding-block:12px;min-height:72px}
.account-header-brand{gap:16px;flex:1;min-width:0}.account-header .brand-group{width:140px;flex:0 1 140px}
.account-sections-toggle{order:3;flex-basis:100%;width:100%}
.account-header~main.personal-space,.account-header~#main.personal-space{padding-top:24px}
}
@media(max-width:480px){.account-header .brand-group{width:110px;flex-basis:110px}.account-header-brand{gap:12px}.account-site-link{font-size:16px}.account-header-inner{gap:10px}.account-header .space-profile>div a{font-size:16px}}

/* Verified ID arrival. Complete original logo, unchanged proportions and colors. */
dialog.login-arrival {
  position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;
  padding:32px;border:0;border-radius:0;box-shadow:none;overflow:auto;outline:none;
  color:#14285f;background:#fff;
}
dialog.login-arrival[open]{display:grid;place-items:center}
dialog.login-arrival::backdrop{background:#fff}
.login-arrival-content{display:grid;justify-items:center;gap:40px;text-align:center;width:min(100%,820px);margin:auto;padding-block:24px}
.login-arrival-sign{width:min(100%,760px)}
.login-arrival-sign img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
dialog.login-arrival h2{margin:0;color:#14285f;font-size:clamp(24px,2.6vw,32px);font-weight:650;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:600px){dialog.login-arrival{padding:24px}.login-arrival-content{gap:28px}}
@media(max-width:337px){dialog.login-arrival{padding:18px}}

/* Account hierarchy: clear tasks, secondary controls on demand. */
.account-experience .space-widget[data-widget-hidden]{display:none}
.account-experience .is-space-editing .space-widget[data-widget-hidden]{display:block;opacity:.7}
.account-experience .space-widget[data-widget-hidden] .space-widget-tools{opacity:1}
.account-experience .space-layout:not(.is-space-editing):not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){grid-template-columns:224px minmax(0,1fr)}
.account-experience .space-layout:not(.is-space-editing) .space-rail:not(:has(.space-widget:not([data-widget-hidden]),[data-account-common-rail])){display:none}
.account-experience .space-main{min-width:0;max-width:960px;width:100%}
.account-experience .space-welcome h2{font-size:26px;line-height:1.35;margin-bottom:8px}
.account-experience .space-welcome p{margin:0;color:var(--description)}
.account-experience .space-next{padding:24px}
.account-experience .space-interest-summary{padding:16px 0;border:0;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;border-radius:0;background:transparent;gap:16px}
.account-experience .space-interest-summary p{margin:6px 0 0;font-size:16px;line-height:1.5}
.account-experience .space-feed{gap:12px}
.account-experience[data-account-section=overview] #space-publications .space-content-card{padding:18px 20px;border:0;border-bottom:1px solid #d1dae5;border-radius:0;background:transparent;box-shadow:none}
.account-experience[data-account-section=overview] #space-publications .space-content-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:18px;line-height:1.5;margin-block:10px}
.account-experience[data-account-section=overview] #space-publications .space-content-card h3{font-size:22px;line-height:1.4}
.account-experience .space-completed{padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;font-size:18px;line-height:1.5}
.account-experience .space-completed summary{cursor:pointer;font-weight:600;color:var(--ink);min-height:44px;display:flex;align-items:center}
.account-experience .space-completed p{margin:12px 0}
.account-experience .space-help{margin-block:12px}
.reader-data-tools{margin:16px 0 24px;border:1px solid #cbd5e1;border-radius:12px;padding:12px 16px;background:#fff}
.reader-data-tools>summary{min-height:44px;cursor:pointer;font-size:18px;font-weight:600;display:flex;align-items:center;color:var(--ink)}
.reader-data-tools[open]>summary{margin-bottom:14px}
.reader-data-tools p{font-size:16px;line-height:1.5}
.reader-cloud-status{color:var(--link-on-light);font-size:16px;line-height:1.5;margin-bottom:16px}
.reader-cloud-status p{margin:0 0 10px}
.reader-cloud-status button{min-height:44px;padding:8px 12px;border:1px solid #b8c6d9;border-radius:10px;background:#fff;color:var(--ink);font:inherit}
.reader-conflict{padding:12px;margin-block:12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.reader-conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:180px;overflow:auto}
@media(max-width:1050px){.account-experience .space-layout:not(.is-space-editing):not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){
 .account-experience .space-layout,.account-experience .space-layout:not(.is-space-editing):not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){display:flex;flex-direction:column;gap:24px}
 .account-experience .space-sidebar,.account-experience .space-main,.account-experience .space-rail{width:100%;max-width:none}
 .account-experience .space-sidebar{position:static}
 .account-experience .space-welcome h2{font-size:24px}
 .account-experience .space-next{padding:20px}
 .account-experience .space-interest-summary{align-items:flex-start;flex-direction:column}
 .account-experience .space-heading{gap:12px;margin-bottom:20px}
 .account-experience .space-layout-editor>button{font-size:16px;min-height:44px}
}

/* Account wordmark uses the original two-line logo crop at its native ratio.
   Keep the source image wider than the crop so the slogan stays outside it. */
.account-header .brand-group{flex:0 0 280px;width:280px}
.account-header .compact-logo-crop{width:100%;max-width:none;aspect-ratio:1344/272}
.account-header .compact-logo-crop img{width:145.907738%;max-width:none;max-height:none;height:auto;object-fit:initial}
@media(max-width:800px){.account-header .brand-group{width:240px;flex-basis:240px}}
@media(max-width:480px){
 .account-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) 48px;gap:10px 12px}
 .account-header-brand{display:contents}
 .account-header .brand-group{grid-column:1/3;grid-row:1;width:min(240px,100%);min-width:0}
 .account-header .space-profile{grid-column:3;grid-row:1;justify-self:end}
 .account-site-link{grid-column:1;grid-row:2;align-self:center;min-height:48px}
 .account-sections-toggle{grid-column:2/4;grid-row:2;width:100%;min-width:0}
}

/* Desktop logo stays inside the left navigation column. */
.account-header .account-horizontal-logo{display:none}
@media(min-width:801px){
 .account-header .brand-group{width:224px;flex:0 0 224px}
 .account-header .horizontal-brand{width:100%}
 .account-header .account-horizontal-logo{display:block;width:100%;max-width:100%;height:auto;max-height:none}
 .account-header .account-mobile-logo{display:none}
}
@media(min-width:1051px) and (max-width:1200px){.account-header .brand-group{width:210px;flex-basis:210px}}
/* Account navigation: expanded labels or a persistent desktop icon rail. */
.account-sections-toggle.is-desktop{flex:none;width:48px;min-width:48px;padding:10px;order:initial}
.account-sections-toggle.is-desktop>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-nav-save-status{margin:0;padding:10px 18px;background:#fff3e3;color:var(--ink);font-size:16px;line-height:1.5}
@media(min-width:1051px){
 .account-experience .space-layout{transition:grid-template-columns .24s ease}
 .account-experience .space-layout.is-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr) 288px}
 .account-experience .space-layout.is-sidebar-collapsed:not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){grid-template-columns:72px minmax(0,1fr)}
 .is-sidebar-collapsed .space-sidebar{width:72px}
 .is-sidebar-collapsed .space-nav{gap:8px;overflow:visible}
 .is-sidebar-collapsed .space-nav>a{position:relative;justify-content:center;min-height:52px;padding:12px;width:72px;overflow:visible}
 .is-sidebar-collapsed .space-nav>a>span:last-child{position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);padding:8px 12px;max-width:260px;white-space:nowrap;overflow-wrap:normal;border-radius:8px;background:var(--ink,#142957);color:#fff;font-size:16px;line-height:1.5;opacity:0;pointer-events:none;z-index:50;box-shadow:0 5px 16px #14295726;transition:opacity .12s}
 .is-sidebar-collapsed .space-nav>a:is(:hover,:focus-visible)>span:last-child{opacity:1}
 .is-sidebar-collapsed .space-help,.is-sidebar-collapsed .space-left-zone{display:none}
}
@media(min-width:1051px) and (max-width:1200px){.account-experience .space-layout.is-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr) 254px}}
@media(max-width:1050px){
 .account-header-inner{flex-wrap:wrap;gap:12px;padding-block:12px}
 .account-sections-toggle.is-mobile{order:initial;flex:none;width:auto}
 .account-experience .space-layout,.account-experience .space-layout:not(.is-space-editing):not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){display:flex;flex-direction:column;gap:24px}
 .account-experience .space-main,.account-experience .space-rail,.account-experience .space-sidebar{width:100%;max-width:none}
 .account-experience .space-sidebar{position:static}
}
@media(min-width:481px) and (max-width:800px){.account-header-brand{flex:1;flex-wrap:wrap}.account-sections-toggle.is-mobile{flex-basis:48px;width:48px;padding:10px}.account-sections-toggle.is-mobile>span{display:none}}
@media(max-width:480px){.account-sections-toggle.is-mobile{grid-column:2/4;grid-row:2;width:100%}}
.account-mobile-menu{position:fixed;inset:0 auto 0 0;margin:0;border:0;border-radius:0 18px 18px 0;padding:20px;width:min(340px,calc(100vw - 24px));max-width:none;height:100dvh;max-height:none;background:#fff;color:var(--ink);box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;opacity:0;transform:translateX(-100%);transition:transform .22s ease,opacity .22s ease,display .22s allow-discrete,overlay .22s allow-discrete}
.account-mobile-menu[open]{opacity:1;transform:translateX(0)}
@starting-style{.account-mobile-menu[open]{opacity:0;transform:translateX(-100%)}}
.account-mobile-menu::backdrop{background:rgb(16 34 68 / 35%)}
.account-mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.account-mobile-menu-heading h2{font-size:24px;line-height:1.3;margin:0}
.account-mobile-menu-heading button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #c6d1df;border-radius:12px;background:#fff;color:var(--ink);font-size:30px;cursor:pointer}
.account-mobile-menu .space-nav{display:grid;gap:8px;flex-wrap:initial}
.account-mobile-menu .space-nav>a{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px;font-size:18px;line-height:1.5}
.account-mobile-menu :is(a,button):focus-visible{outline:3px solid #f4a25e;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.account-experience .space-layout,.account-mobile-menu,.is-sidebar-collapsed .space-nav>a>span:last-child{transition:none}}

/* Account navigation occupies its own column outside the centered workspace. */
.account-menu-heading{display:flex;align-items:center;gap:14px;width:288px;min-height:64px;padding:4px 0 18px;border-bottom:1px solid #ffffff24;box-sizing:border-box}
.account-menu-heading>button{flex:0 0 56px;display:grid;place-items:center;width:56px;height:52px;padding:13px;border:1px solid #ffffff38;border-radius:12px;background:#ffffff0c;color:#fff;cursor:pointer;transition:background .28s ease,transform .24s cubic-bezier(.4,0,.2,1),border-color .28s ease}
.account-menu-heading>button:hover{background:#ffffff1c;border-color:#f4a25e}
.account-menu-heading>button:active{transform:scale(.97)}
.account-menu-heading>button svg{width:24px;height:24px}
.account-menu-heading h2{margin:0;max-width:210px;font-size:22px;line-height:1.25;font-weight:700;color:#fff;white-space:normal}
.account-menu-heading h2>span{color:#ffb46d}
.account-desktop-menu{position:static;z-index:1;grid-column:1;grid-row:1/3;align-self:stretch;min-width:0;min-height:0;height:100%;width:auto;padding:16px 12px;box-sizing:border-box;overflow-x:clip;overflow-y:auto;overscroll-behavior:contain;background:#152b62;color:#fff;border-right:1px solid #284376;scrollbar-width:thin;scrollbar-color:#e9823f #152b62}
.account-desktop-menu.is-open{width:auto}
/* Share the actual header row: both borders and controls use one horizon. */
.account-desktop-menu{display:grid;grid-template-rows:subgrid;padding:0;overflow:hidden}
.account-desktop-menu .account-menu-heading{grid-row:1;width:100%;min-height:0;padding:12px;overflow:hidden}
.account-desktop-menu nav.space-nav{grid-row:2;width:100%;height:100%;min-height:0;margin:0;padding:24px 12px 16px;box-sizing:border-box;align-content:start;overflow-x:clip;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e9823f #152b62}
.account-menu-body{grid-row:2;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.account-desktop-menu .account-menu-body>nav.space-nav{flex:1 1 auto;height:auto}
.account-menu-bottom{flex:none;margin-top:auto;padding:16px 12px;border-top:1px solid #ffffff24;min-width:0;box-sizing:border-box}
.account-menu-bottom.is-expanded{padding:20px 24px}
.account-menu-documents .space-footer-inner{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;max-width:none;margin:0;padding:0;font-size:14px;line-height:1.6;color:#e6eefc;box-sizing:border-box}
.account-menu-documents .space-footer-inner>nav{display:grid;gap:12px;width:100%;margin:0;padding:0}
.account-menu-documents .space-footer-inner a{color:inherit;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;transition:color .28s ease}
.account-menu-documents .space-footer-inner a:hover{color:#ffb46d}
.account-documents-toggle{display:grid;place-items:center;width:56px;height:48px;padding:12px;border:1px solid #ffffff38;border-radius:12px;background:#ffffff0c;color:#e6eefc;cursor:pointer;transition:background .28s ease,transform .24s cubic-bezier(.4,0,.2,1)}
.account-documents-toggle>svg{width:24px;height:24px}
.account-documents-toggle:hover,.account-documents-toggle[aria-expanded=true]{background:#ffffff1c;color:#ffb46d}
.account-documents-toggle:active{transform:scale(.97)}
.account-documents-popover{position:fixed;z-index:20000;width:min(304px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:22px;border:1px solid #c4cfdf;border-radius:14px;background:#fff;color:#152b62;box-shadow:0 12px 36px #14295730;opacity:0;transform:translateY(6px);visibility:hidden;transition:opacity .32s ease,transform .4s cubic-bezier(.4,0,.2,1),visibility 0s .4s}
.account-documents-popover.is-open{visibility:visible;opacity:1;transform:none;transition-delay:0s}
.account-documents-popover h2{font-size:18px;line-height:1.4;margin:0 0 16px;color:#152b62}
.account-documents-popover .space-footer-inner{color:#344e73;font-size:15px}
.account-documents-popover a:focus-visible{outline:3px solid #f4a25e;outline-offset:4px}
.account-mobile-menu[open]{display:flex;flex-direction:column;overflow:hidden}
.account-mobile-menu>.account-menu-heading{flex:none}
.account-mobile-menu .account-menu-body{flex:1 1 auto;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e9823f #152b62}
.account-mobile-menu .account-menu-bottom{margin-top:auto;padding:20px 12px 4px}
.account-mobile-menu .account-menu-documents .space-footer-inner{font-size:15px}
.space-sidebar>.account-menu-bottom{margin-top:20px;padding:20px;border:1px solid #c4cfdf;border-radius:12px;background:#152b62}
@media(prefers-reduced-motion:reduce){.account-documents-popover,.account-documents-toggle{transition:none}}

:is(.account-desktop-menu,.account-mobile-menu) .space-nav{display:grid;gap:8px;width:288px;margin-top:22px;overflow:visible}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a{display:flex;align-items:center;gap:16px;min-height:56px;box-sizing:border-box;width:288px;padding:13px 16px;border-radius:12px;color:#dbe7fa;font-size:18px;line-height:1.5;white-space:nowrap;overflow-wrap:normal;text-decoration:none}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a>svg{flex:0 0 24px;width:24px;height:24px}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a>.aj-entity-icon{color:inherit}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a:is([aria-current=page],:hover,:focus-visible){color:#152b62;background:#fff2e2;border-color:#d9a46f}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav.glass-result-list>a{background:transparent;border-color:transparent}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav.glass-result-list::before{border-radius:12px}
/* These narrow drawers use per-row colour transitions: a moving glass layer
   must never leave the current/focused label dark against the navy surface. */
:is(.account-desktop-menu,.account-mobile-menu) .space-nav.glass-result-list::before{display:none}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav.glass-result-list>a{transition:background .28s ease,border-color .28s ease,color .28s ease}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav.glass-result-list>a:is([aria-current=page],:hover,:focus-visible){background:#fff2e2;border-color:#d9a46f;color:#152b62}
body:has(.account-desktop-menu) :is(.account-header,.account-workspace-scroll){margin-left:0;min-width:0}
body:has(.account-desktop-menu) .account-header :is(.brand-group,.account-sections-toggle){display:none}
.account-experience .space-layout.is-navigation-drawer{grid-template-columns:minmax(0,1fr) 288px;transition:none}
.account-experience .space-layout.is-navigation-drawer:not(:has(.space-rail :is(.space-widget:not([data-widget-hidden]),[data-account-common-rail]))){grid-template-columns:minmax(0,1fr)}
.is-navigation-drawer .space-sidebar{position:static;grid-column:1/-1;width:100%}
.is-navigation-drawer .space-left-zone{display:none}
.account-mobile-menu{width:min(344px,calc(100vw - 24px));padding:20px 16px;opacity:1;transform:none;background:#152b62;color:#fff;box-shadow:12px 0 36px #14295738;transition:none}
.account-mobile-menu .account-menu-heading{width:100%;gap:12px}
.account-mobile-menu .account-menu-heading>button{flex-basis:48px;width:48px;height:48px}
.account-mobile-menu .account-menu-heading h2{font-size:22px}
.account-mobile-menu .space-nav,.account-mobile-menu .space-nav>a{width:100%}
.account-mobile-menu .space-nav>a{padding-inline:12px;white-space:normal}
.account-mobile-menu::backdrop{background:rgb(16 34 68 / 32%);animation:account-menu-backdrop-in .46s ease both}
.account-mobile-menu[data-menu-phase=closing]::backdrop{animation:account-menu-backdrop-out .48s ease both}
:is(.account-desktop-menu,.account-mobile-menu) :is(a,button):focus-visible{outline:3px solid #f4a25e;outline-offset:-3px}
@keyframes account-menu-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes account-menu-backdrop-out{from{opacity:1}to{opacity:0}}
@media(min-width:1051px) and (max-width:1200px){.account-experience .space-layout.is-navigation-drawer{grid-template-columns:minmax(0,1fr) 254px}}
@media(max-width:1050px){.account-experience .space-layout.is-navigation-drawer{display:flex;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.account-desktop-menu,.account-desktop-menu .space-nav>a>span:last-child,.account-desktop-menu .account-menu-heading h2,.account-menu-heading>button{transition:none}.account-mobile-menu::backdrop{animation:none}}

/* Account shell: only the workspace scrolls, below the persistent header. */
html:has([data-account-scroll]){overflow:clip}
body:has([data-account-scroll]){position:fixed;top:var(--reader-admin-offset,0px);left:0;right:0;height:calc(100dvh - var(--reader-admin-offset,0px));min-height:0;overflow:clip;display:flex;flex-direction:column}
body:has([data-account-scroll]) .account-header{flex:0 0 auto}
@property --account-menu-progress{syntax:"<number>";inherits:true;initial-value:0}
body:has([data-account-scroll]):has(.account-desktop-menu){--account-menu-progress:0;display:grid;grid-template-columns:calc(80px + 232px * var(--account-menu-progress)) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);transition:--account-menu-progress .64s cubic-bezier(.32,0,.2,1)}
body:has([data-account-scroll]):has(.account-desktop-menu.is-open){--account-menu-progress:1}
body:has(.account-desktop-menu) .account-header{grid-column:2;grid-row:1}
body:has(.account-desktop-menu) .account-workspace-scroll{grid-column:2;grid-row:2}
@media(prefers-reduced-motion:reduce){body:has([data-account-scroll]):has(.account-desktop-menu){transition:none}}

.account-workspace-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-padding-top:24px}
.account-workspace-scroll:focus-visible{outline:2px solid var(--link-on-light);outline-offset:-2px}
.account-workspace-scroll .space-sidebar,.account-workspace-scroll .learning-outline{top:24px}
.account-workspace-scroll>main.personal-space{padding-top:24px}
body:has(dialog:modal) .account-workspace-scroll{overflow-y:hidden}
body:has([data-account-scroll]) #wpadminbar{position:fixed}

/* Editorial channel cards: Telegram, followed by YouTube. */
.space-channel-card{border:1px solid #cbd5e2;border-radius:18px;background:#fff;overflow:hidden;color:var(--ink);box-shadow:0 5px 18px #13296306}
.space-channel-cover{position:relative;isolation:isolate;aspect-ratio:16/9;min-height:154px;background:#132963;overflow:hidden}
.space-channel-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 28%;z-index:-2}
.space-channel-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#132963f5 0%,#132963c4 32%,#13296316 77%);z-index:-1}
.is-youtube .space-channel-cover:after{display:none}
.is-youtube .space-channel-cover>img{object-position:center}
.space-channel-cover-copy{padding:20px;color:#fff;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.space-channel-cover-copy>span{font-size:14px;line-height:1.3;font-weight:700;letter-spacing:.04em;padding:5px 9px;border:1px solid #ffffff6b;border-radius:7px;background:#1329634d}
.space-channel-cover-copy>strong{font-size:24px;line-height:1.15;font-weight:700;letter-spacing:-.025em}
.space-channel-content{padding:22px 20px 20px}
.space-channel-content h2{font-size:24px;line-height:1.25;letter-spacing:-.02em;margin:0 0 14px;color:var(--ink)}
.space-channel-content>p{font-size:18px;line-height:1.6;margin:0;color:var(--description)}
.space-channel-content ul{list-style:none;display:grid;gap:10px;padding:0;margin:20px 0 24px}
.space-channel-content li{position:relative;padding-left:17px;font-size:16px;line-height:1.5;color:var(--link-on-light)}
.space-channel-content li:before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;background:#f4a25e;border-radius:50%}
.space-channel-action{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 16px;border:1px solid #d58b44;border-radius:11px;background:linear-gradient(120deg,#ffb66e,#ff9d49);color:#132963;font-size:18px;line-height:1.4;font-weight:700;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.space-channel-action:hover{filter:brightness(1.025)}
.space-channel-action:focus-visible{outline:3px solid #3d6387;outline-offset:3px}
.space-channel-content>.space-channel-pending{font-size:16px;padding:13px 14px;border:1px solid #d5deea;border-radius:11px;background:#f5f8fc;line-height:1.5}
@media(max-width:337px){.space-channel-content{padding:18px 16px}.space-channel-cover-copy{padding:18px 16px}.space-channel-content h2{font-size:22px}}

.space-rail:has([data-channel-card]){grid-template-columns:minmax(0,1fr)}

/* The compact account footer shares the public helpdesk palette. */
.account-workspace-scroll .footer.space-footer{--ink:#eef3ff;--accent:#eef3ff;--muted:#c9d5eb;--description:#c9d5eb;--link:#dce7f7;--link-hover:#f8faff;--line:rgba(208,222,248,.22);background:#112864;color:#eef3ff;border-top-color:#345080}
.footer.space-footer .space-footer-inner{color:#eef3ff}
.footer.space-footer a{color:var(--link)}
.footer.space-footer a:hover{color:var(--link-hover)}
.footer.space-footer a:focus-visible{outline:3px solid #f4a25e;outline-offset:4px}

.space-channel-subscribers{display:flex;flex-direction:column;align-items:center;gap:5px;padding:20px 14px;border:1px solid #d5deea;border-radius:13px;background:#f5f8fc;text-align:center;margin-bottom:20px}
.space-channel-subscribers>strong{font-size:36px;line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.space-channel-subscribers>span{font-size:16px;line-height:1.5;color:var(--description)}
.space-channel-subscribers>small{font-size:14px;line-height:1.5;color:var(--link-on-light);margin-top:4px}

.space-channel-content>p+.space-channel-subscribers{margin-top:24px}

/* Shared approved editorial channel cards: local portrait, warm grid and native marks. */
.space-channel-card:is(.is-youtube,.is-telegram){container-type:inline-size;border-radius:20px;color:#152b62}
:is(.is-youtube,.is-telegram) .space-channel-cover{height:232px;min-height:232px;aspect-ratio:auto;background:#f4f7fc}
:is(.is-youtube,.is-telegram) .space-channel-cover:before{content:"";position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 93% 8%,#efaa6fa6 0%,#f5cca566 30%,transparent 69%),repeating-linear-gradient(0deg,transparent 0,transparent 31px,#8ea8c62e 31px,#8ea8c62e 32px),repeating-linear-gradient(90deg,transparent 0,transparent 31px,#8ea8c62e 31px,#8ea8c62e 32px),linear-gradient(130deg,#deebf7,#edf0f6);background-position:0 0,8px 8px,8px 8px,0 0}
:is(.is-youtube,.is-telegram) .space-channel-cover>img{inset:auto -10px 0 auto;width:224px;height:224px;max-width:none;object-fit:contain;object-position:center;z-index:-2}
:is(.is-youtube,.is-telegram) .space-channel-cover:after{display:block;z-index:-1;background:linear-gradient(0deg,#fff 0%,#ffffff00 43%)}
.space-channel-tag{position:absolute;left:8px;top:8px;z-index:1;width:128px;height:32px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 8px;border:1px solid #dabfa8;border-left:3px solid #d9232b;border-radius:3px;background:#fff8f0;color:#152b62;font-size:14px;line-height:1.2;font-weight:700;white-space:nowrap}
:is(.is-youtube,.is-telegram) .space-channel-headline{position:absolute;left:20px;top:62px;z-index:1;margin:0;color:#152b62;font-size:40px;line-height:1.14;font-weight:700;letter-spacing:-.04em}
.space-channel-headline>span{display:block;white-space:nowrap}
:is(.is-youtube,.is-telegram) .space-channel-content{padding:17px 24px 25px}
:is(.is-youtube,.is-telegram) .space-channel-content>p{font-size:18px;line-height:1.6;color:#4d5b71}
:is(.is-youtube,.is-telegram) .space-channel-content ul{gap:13px;margin:23px 0 25px}
:is(.is-youtube,.is-telegram) .space-channel-content li{display:flex;align-items:flex-start;gap:11px;padding:0;color:#263247;font-size:16px;line-height:1.5;font-weight:700}
:is(.is-youtube,.is-telegram) .space-channel-content li:before{content:none}
:is(.is-youtube,.is-telegram) .space-channel-check{flex:none;width:16px;height:20px;margin-top:2px;color:#66839d}
.space-channel-play{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:19px;border-radius:5px;background:#fff;color:#d9232b}
.space-channel-play>svg{width:12px;height:12px}
.space-channel-tag .space-channel-play{width:14px;height:16px;background:transparent;color:#d9232b}
.is-youtube .space-channel-action{gap:10px;min-height:56px;padding:15px 12px;border:1px solid #c91f25;border-radius:12px;background:#d9232b;color:#fff;font-size:18px;line-height:1.35;font-weight:700}
.space-channel-subscribers[hidden]{display:none}
@container (max-width:337px){:is(.is-youtube,.is-telegram) .space-channel-headline{left:16px;font-size:34px}:is(.is-youtube,.is-telegram) .space-channel-cover>img{right:-34px}:is(.is-youtube,.is-telegram) .space-channel-content{padding-left:20px;padding-right:20px}}
@container (max-width:280px){:is(.is-youtube,.is-telegram) .space-channel-headline{font-size:30px}:is(.is-youtube,.is-telegram) .space-channel-cover>img{width:210px;height:210px;right:-38px}:is(.is-youtube,.is-telegram) .space-channel-content{padding-left:16px;padding-right:16px}}
:is(.is-youtube,.is-telegram) .space-channel-content>p{font-weight:400}
.is-youtube .space-channel-play>svg,.is-youtube .space-channel-play>svg path{color:inherit;fill:currentColor;stroke:none}

/* Telegram shares the editorial system with platform-specific blue accents. */
.is-telegram .space-channel-headline{top:62px;font-size:36px}
.is-telegram .space-channel-cover>img{right:-24px}
.is-telegram .space-channel-tag{border-left-color:#087caf}
.space-channel-plane{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;color:inherit}
.is-telegram .space-channel-plane>svg,.is-telegram .space-channel-plane>svg path{width:24px;height:24px;color:inherit;fill:currentColor;stroke:none}
.space-channel-tag .space-channel-plane{width:17px;height:17px;color:#087caf}
.space-channel-tag .space-channel-plane>svg{width:17px;height:17px}
.is-telegram .space-channel-action{gap:10px;min-height:56px;padding:15px 12px;border:1px solid #076d9a;border-radius:12px;background:#087caf;color:#fff;font-size:18px;line-height:1.35;font-weight:700}
.is-telegram .space-channel-action:hover{background:#086d99;filter:none}
@container (max-width:337px){.is-telegram .space-channel-headline{font-size:30px}.is-telegram .space-channel-cover>img{right:-50px}}
@container (max-width:280px){.is-telegram .space-channel-headline{font-size:28px}.is-telegram .space-channel-cover>img{right:-50px}}

/* One channel panel at a time; explicit tabs remain visible, never auto-rotate. */
.space-channel-switcher{min-width:0}
.space-channel-tabs{display:flex;gap:6px;margin-bottom:10px;padding:5px;border:1px solid #cbd5e2;border-radius:14px;background:#f5f8fc}
.space-channel-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:46px;padding:9px 5px;border:1px solid transparent;border-radius:10px;background:transparent;color:#3d6387;font-size:16px;line-height:1.3;font-weight:700;cursor:pointer}
.space-channel-tabs>button[aria-selected=true]{background:#fff;border-color:#cbd5e2;color:#152b62;box-shadow:0 2px 5px #1329630a}
.space-channel-tabs>button:focus-visible{outline:3px solid #f4a25e;outline-offset:2px}
.space-channel-tabs .space-channel-plane,.space-channel-tabs .space-channel-plane svg,.space-channel-tabs .space-channel-plane path{width:18px;height:18px;color:#087caf;fill:currentColor;stroke:none}
.space-channel-tabs .space-channel-play{width:21px;height:16px;background:#d9232b;color:#fff}
.space-channel-tabs .space-channel-play svg,.space-channel-tabs .space-channel-play path{width:10px;height:10px;color:inherit;fill:currentColor;stroke:none}
.space-channel-switcher.is-ready .space-channel-panels{display:grid}
.space-channel-switcher.is-ready .space-channel-panel{grid-area:1/1;min-width:0}
.space-channel-switcher.is-ready .space-channel-panel[data-channel-active=false]{visibility:hidden;pointer-events:none}
.space-channel-switcher.is-ready .space-channel-card{height:100%;display:flex;flex-direction:column}
.space-channel-switcher.is-ready .space-channel-cover{flex:none}
.space-channel-switcher.is-ready .space-channel-content{display:flex;flex-direction:column;flex:1}
.space-channel-switcher.is-ready .space-channel-action{margin-top:auto}
.space-channel-switcher:not(.is-ready) .space-channel-panel+.space-channel-panel{margin-top:20px}
.is-telegram .space-channel-headline{top:62px;font-size:36px}
@container(max-width:337px){.is-telegram .space-channel-headline{font-size:30px}}
@container(max-width:280px){.is-telegram .space-channel-headline{font-size:26px}}

/* Fluid channel changes begin only after user interaction, never during initial restoration. */
.space-channel-switcher.is-ready .space-channel-tabs{position:relative;isolation:isolate}
.space-channel-switcher.is-ready .space-channel-tabs:before{content:"";position:absolute;z-index:0;left:5px;top:5px;width:calc((100% - 16px)/2);height:calc(100% - 10px);border:1px solid #cbd5e2;border-radius:10px;background:#fff;box-shadow:0 2px 5px #1329630a;transform:translateX(calc(var(--channel-tab-index,0)*100% + var(--channel-tab-index,0)*6px));pointer-events:none}
.space-channel-switcher.is-ready .space-channel-tabs>button{position:relative;z-index:1}
.space-channel-switcher.is-ready .space-channel-tabs>button[aria-selected=true]{background:transparent;border-color:transparent;box-shadow:none}
.space-channel-switcher.is-ready .space-channel-panel{opacity:0;position:relative;z-index:0}
.space-channel-switcher.is-ready .space-channel-panel[data-channel-active=true]{opacity:1;visibility:visible;z-index:1}
.space-channel-switcher[data-channel-motion=true] .space-channel-tabs:before{transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.space-channel-switcher.is-ready[data-channel-motion=true] .space-channel-panel{transition:opacity .44s ease,visibility 0s linear .66s}
.space-channel-switcher.is-ready[data-channel-motion=true] .space-channel-panel[data-channel-active=true]{transition-delay:0s}
.space-channel-switcher[data-channel-motion=true] .space-channel-cover>img{transform-origin:65% 65%;transition:transform .66s cubic-bezier(.22,.61,.36,1)}
.space-channel-switcher[data-channel-motion=true] [data-channel-active=false] .space-channel-cover>img{transform:translateX(12px) scale(1.035)}
.space-channel-switcher[data-channel-motion=true] [data-channel-active=true] .space-channel-cover>img{transform:translateX(0) scale(1)}
.space-channel-switcher[data-channel-motion=true] .space-channel-headline,.space-channel-switcher[data-channel-motion=true] .space-channel-content>p,.space-channel-switcher[data-channel-motion=true] .space-channel-content>ul,.space-channel-switcher[data-channel-motion=true] .space-channel-action{transition:transform .5s cubic-bezier(.22,.61,.36,1)}
.space-channel-switcher[data-channel-motion=true] [data-channel-active=false] .space-channel-headline{transform:translateX(-6px)}
.space-channel-switcher[data-channel-motion=true] [data-channel-active=false] .space-channel-content>:is(p,ul,a){transform:translateY(6px)}
.space-channel-switcher[data-channel-motion=true] [data-channel-active=true] .space-channel-headline,.space-channel-switcher[data-channel-motion=true] [data-channel-active=true] .space-channel-content>:is(p,ul,a){transform:none}
@media(prefers-reduced-motion:reduce){
 .space-channel-switcher[data-channel-motion=true] .space-channel-tabs:before,.space-channel-switcher.is-ready[data-channel-motion=true] .space-channel-panel,.space-channel-switcher[data-channel-motion=true] .space-channel-cover>img,.space-channel-switcher[data-channel-motion=true] .space-channel-headline,.space-channel-switcher[data-channel-motion=true] .space-channel-content>:is(p,ul,a){transition:none}
 .space-channel-switcher[data-channel-motion=true] .space-channel-cover>img,.space-channel-switcher[data-channel-motion=true] .space-channel-headline,.space-channel-switcher[data-channel-motion=true] .space-channel-content>:is(p,ul,a){transform:none}
}

/* Prepare the resting off-screen pose so the first manual change moves both portraits too. */
.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-cover>img{transform:translateX(12px) scale(1.035)}
.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-headline{transform:translateX(-6px)}
.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-content>:is(p,ul,a){transform:translateY(6px)}
@media(prefers-reduced-motion:reduce){.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-cover>img,.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-headline,.space-channel-switcher.is-ready [data-channel-active=false] .space-channel-content>:is(p,ul,a){transform:none}}

/* Equal shared text rows are measured from natural inner spans, never from padded containers. */
.space-channel-description-copy{display:block}
.space-channel-switcher .space-channel-content>p{min-height:var(--channel-description-height,0px)}
.space-channel-switcher .space-channel-content>ul>li:nth-child(1){min-height:var(--channel-bullet-0,0px)}
.space-channel-switcher .space-channel-content>ul>li:nth-child(2){min-height:var(--channel-bullet-1,0px)}
.space-channel-switcher .space-channel-content>ul>li:nth-child(3){min-height:var(--channel-bullet-2,0px)}

/* Balanced editorial density: concise rows and comparable portrait scale. */
.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-content ul{gap:10px;margin:20px 0 24px}
.space-channel-switcher .is-telegram .space-channel-cover>img{width:208px;height:208px;right:-16px}
@container(max-width:337px){.space-channel-switcher .is-telegram .space-channel-cover>img{right:-40px}}
@container(max-width:280px){.space-channel-switcher .is-telegram .space-channel-cover>img{width:196px;height:196px;right:-40px}}

/* The selected channel carries the same warm orange outline as account navigation. */
.space-channel-tabs>button[aria-selected=true]{border-color:#d58b44;background:#fff8f0}
.space-channel-switcher.is-ready .space-channel-tabs:before{border-color:#d58b44;background:#fff8f0;box-shadow:inset 0 0 0 1px #d58b44,0 2px 5px #1329630a}

/* A single registered pose across generated expression frames prevents portrait swaps. */
.space-channel-expression{position:absolute;inset:auto -10px 24px auto;width:208px;height:208px;max-width:none;z-index:-2;opacity:0;pointer-events:none;mask-image:linear-gradient(#000 0 86%,transparent 100%)}
.space-channel-expression[data-expression-ready=true]{opacity:1}
.space-channel-cover:has(.space-channel-expression[data-expression-ready=true])>img{visibility:hidden}
@container(max-width:337px){.space-channel-expression{right:-34px}}
@container(max-width:280px){.space-channel-expression{width:196px;height:196px;right:-38px}}

/* Keep the expression fully visible while only the channel lettering/content fades. */
.space-channel-switcher.is-ready:has(.space-channel-expression[data-expression-ready=true]) .space-channel-panel{opacity:1}
.space-channel-switcher:has(.space-channel-expression[data-expression-ready=true]) [data-channel-active=false] :is(.space-channel-content,.space-channel-headline,.space-channel-tag){opacity:0}
.space-channel-switcher:has(.space-channel-expression[data-expression-ready=true]) [data-channel-active=true] :is(.space-channel-content,.space-channel-headline,.space-channel-tag){opacity:1}
.space-channel-switcher[data-channel-motion=true]:has(.space-channel-expression[data-expression-ready=true]) :is(.space-channel-content,.space-channel-tag){transition:opacity .44s ease}
.space-channel-switcher[data-channel-motion=true]:has(.space-channel-expression[data-expression-ready=true]) .space-channel-headline{transition:opacity .44s ease,transform .5s cubic-bezier(.22,.61,.36,1)}
@media(prefers-reduced-motion:reduce){.space-channel-switcher[data-channel-motion=true]:has(.space-channel-expression[data-expression-ready=true]) :is(.space-channel-content,.space-channel-headline,.space-channel-tag){transition:none}}

/* Reserve a clear text-to-face gap on narrow channel cards; keep the headline scale. */
@container(max-width:337px){
 .space-channel-expression,.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover>img{width:184px;height:184px;right:-28px;bottom:48px}
}
@container(max-width:280px){
 .space-channel-expression,.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover>img{--channel-portrait-size:clamp(144px,calc(100cqw - 100px),180px);width:var(--channel-portrait-size);height:var(--channel-portrait-size);right:-22px;bottom:calc(232px - var(--channel-portrait-size))}
}

/* Fit the cover to its portrait instead of keeping an empty band below it. */
.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover{height:208px;min-height:208px}
.space-channel-switcher .space-channel-expression,.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover>img{top:0;bottom:auto}
.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover:after{background:linear-gradient(0deg,#fff 0%,#ffffff00 24%)}
.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-content{padding-top:12px}
@container(max-width:337px){.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover{height:184px;min-height:184px}}
@container(max-width:280px){.space-channel-switcher :is(.is-youtube,.is-telegram) .space-channel-cover{--channel-cover-fit:max(156px,clamp(144px,calc(100cqw - 100px),180px));height:var(--channel-cover-fit);min-height:var(--channel-cover-fit)}}

/* Poster and canvas use the same atlas, crop and geometry: no photo swap on reload. */
.space-channel-poster{opacity:1;background-repeat:no-repeat}
.space-channel-cover:has(canvas[data-expression-ready=true])>.space-channel-poster{visibility:hidden}
/* Hold one card-sized shell until React restores the selected tab before paint. */
.space-channel-switcher:not(.is-ready) .space-channel-tabs{visibility:hidden}
.space-channel-switcher:not(.is-ready) .space-channel-panels{display:grid}
.space-channel-switcher:not(.is-ready) .space-channel-panels:before{content:"";grid-area:1/1;border:1px solid #cbd5e2;border-radius:20px;background:#fff;pointer-events:none}
.space-channel-switcher:not(.is-ready) .space-channel-panel{grid-area:1/1;min-width:0;visibility:hidden}
.space-channel-switcher:not(.is-ready) .space-channel-panel+.space-channel-panel{margin-top:0}
html[data-aj-react=fallback] .space-channel-switcher:not(.is-ready) .space-channel-tabs{display:none}
html[data-aj-react=fallback] .space-channel-switcher:not(.is-ready) .space-channel-panels{display:block}
html[data-aj-react=fallback] .space-channel-switcher:not(.is-ready) .space-channel-panels:before{content:none}
html[data-aj-react=fallback] .space-channel-switcher:not(.is-ready) .space-channel-panel{visibility:visible;opacity:1}
html[data-aj-react=fallback] .space-channel-switcher:not(.is-ready) .space-channel-panel+.space-channel-panel{margin-top:20px}

/* Account header: one baseline, a dedicated local search and the existing help/profile. */
.account-header.has-account-tools .account-header-inner{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,500px) minmax(138px,1fr);align-items:center;gap:24px;min-height:84px;padding-block:14px;flex-wrap:nowrap}
.account-header.has-account-tools .account-header-brand{display:flex;align-items:center;gap:20px;min-width:0;grid-column:auto;grid-row:auto}
.account-header.has-account-tools .brand-group{display:none}


.account-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:22px;min-width:0}.account-header.has-account-tools .space-profile{flex:none;margin:0;order:initial}
.account-header-help{display:flex;align-items:center;gap:8px;color:#405d7c;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;min-height:44px}
.account-header-help svg{width:21px;height:21px;flex:none}.account-header-help:hover{color:#152d60}
.account-local-search-trigger{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 15px;width:100%;min-width:0;border:1px solid #c9d4e1;border-radius:13px;background:#f5f8fc;box-shadow:0 1px 2px #15316105;color:#61738a;text-decoration:none;font:inherit;font-size:15px;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,transform .18s}
.account-local-search-trigger:hover{background:#fffaf3;border-color:#d59555;box-shadow:0 2px 8px #c5893a12}.account-local-search-trigger:active{transform:scale(.985)}
.account-local-search-trigger svg{width:21px;height:21px;flex:none;color:#446685}.account-local-search-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-local-search-trigger kbd{margin-left:auto;white-space:nowrap;font-family:inherit;font-size:12px;background:white;border:1px solid #d5dce7;border-radius:5px;padding:2px 6px;color:#69768b}
.account-header.has-account-tools :is(a,button):focus-visible{outline:3px solid #d58b44;outline-offset:3px}
.account-header.has-account-tools .account-site-link{font-size:14px;white-space:nowrap;min-height:44px}
.account-local-search.spotlight{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:8dvh auto 0;padding:0;border:1px solid #c3d0e2;border-radius:21px;background:#fff;box-shadow:0 24px 90px #12264d38;color:#162e5e;overflow:hidden}
.account-search-titlebar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:57px;padding:12px 20px;background:linear-gradient(110deg,#eaf1fb,#f5f8fc);border-bottom:1px solid #dbe3ed}.account-search-titlebar>span{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650}.account-search-titlebar svg{width:19px;height:19px;flex:none}.account-local-search .spotlight-close{display:flex;align-items:center;gap:8px;position:static;color:#526783;background:transparent;border:0;min-width:44px;min-height:32px;padding:0 4px;cursor:pointer}.account-local-search .spotlight-close>span{font-size:26px;line-height:1}.account-local-search kbd{font-family:inherit;font-size:12px;border:1px solid #d1dae7;background:#ffffffb3;border-radius:5px;padding:2px 5px}
.account-local-search .spotlight-form{display:flex;flex-direction:column;max-height:inherit;min-height:0}.account-local-search .spotlight-input-row{display:flex;gap:14px;align-items:center;padding:18px 22px;border-bottom:1px solid #e1e7ef;flex:none}.account-local-search .spotlight-input-row>svg{width:24px;height:24px;flex:none;color:#49698a}.account-local-search .spotlight-input-row input{width:100%;min-width:0;background:transparent;color:#142b59;border:0;box-shadow:none;outline:0;font:inherit;font-size:19px;padding:4px 0;margin:0;height:32px}.account-local-search input::placeholder{color:#8290a2}
.account-search-scopes{display:flex;gap:6px;overflow-x:auto;padding:13px 20px 8px;flex:none}.account-search-scopes button{flex:none;font:inherit;font-size:14px;font-weight:600;color:#536987;border:1px solid transparent;border-radius:9px;background:transparent;min-height:36px;padding:6px 11px;cursor:pointer;transition:background .2s,border-color .2s,transform .15s}.account-search-scopes button[aria-pressed=true]{background:#fff3e4;border-color:#d99b5c;color:#172f60}.account-search-scopes button:active{transform:scale(.96)}
.account-search-status{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:38px;padding:6px 22px 10px;color:#6a788d;font-size:13px;flex:none}.account-search-status button{font:inherit;color:#172f60;background:#fff3e4;border:1px solid #d99b5c;border-radius:6px;padding:3px 9px;cursor:pointer}
.account-local-search .spotlight-results{min-height:0;max-height:50dvh;overflow:auto;overscroll-behavior:contain;scrollbar-color:#d58b44 #f2f5fa;list-style:none;margin:0;padding:0 10px 10px;flex:1}.account-local-search .spotlight-results li{padding:0;margin:0;border:0}.account-local-search .spotlight-results a{display:grid;grid-template-columns:40px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:12px;border:1px solid transparent;border-radius:12px;color:#172f60;text-decoration:none;background:transparent;transition:background .18s,border-color .18s}.account-local-search .spotlight-results li[aria-selected=true] a{background:#eef4fc;border-color:#cbdaf0}.account-result-icon{display:grid;place-items:center;width:40px;height:40px;background:#e8eef9;color:#43678f;border-radius:11px}.account-result-icon.is-notes{background:#fff2dc;color:#a36b29}.account-result-icon.is-learning{background:#e9f3ef;color:#267565}.account-result-icon svg{width:22px;height:22px}.account-result-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.account-result-copy small{font-size:12px;line-height:1.3;color:#647b96}.account-result-copy strong{font-size:17px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.account-result-copy>span{color:#6a768a;font-size:14px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}.account-result-return{color:#8495ac}.account-search-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e2e7ee;padding:12px 22px;color:#78869a;font-size:12px;background:#f9fbfd;flex:none}.account-search-footer>span:last-child{white-space:nowrap}.account-local-search button:focus-visible,.account-local-search a:focus-visible{outline:2px solid #d58b44;outline-offset:1px}
@media(min-width:1051px){body:has(.account-header.has-account-tools) .account-header-inner{max-width:none;padding-inline:28px}.account-header.has-account-tools .account-sections-toggle{display:none}}
@media(min-width:1051px) and (max-width:1400px){.account-header.has-account-tools .account-header-inner{grid-template-columns:minmax(170px,1fr) minmax(240px,410px) minmax(138px,1fr);gap:18px}.account-header-actions{gap:16px}.account-header.has-account-tools .account-header-brand{gap:16px}}
@media(max-width:1050px){.account-header.has-account-tools .account-header-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,380px) auto;gap:16px;min-height:80px;padding:12px 18px}.account-header.has-account-tools .account-header-brand{display:flex;gap:12px}.account-header.has-account-tools .account-sections-toggle{display:flex;position:static;grid-column:auto;grid-row:auto;flex:none;width:44px;height:44px;margin:0}.account-header.has-account-tools .account-site-link{display:none}.account-header-actions{gap:12px}.account-header-help span{display:none}.account-header-help{justify-content:center;width:36px}}
@media(max-width:720px){.account-header.has-account-tools .account-header-inner{grid-template-columns:minmax(0,1fr) 44px auto;gap:8px;padding:10px 12px;min-height:74px}.account-header.has-account-tools .account-header-brand{gap:10px}.account-local-search-trigger{justify-content:center;width:44px;min-height:44px;padding:10px;border-color:transparent;background:transparent;border-radius:10px}.account-local-search-trigger>span,.account-local-search-trigger kbd{display:none}.account-header-actions{gap:4px}.account-header.has-account-tools .space-profile summary{width:40px;height:40px}.account-header-help{width:32px}.account-local-search.spotlight{width:calc(100vw - 20px);margin:10px auto 0;max-height:calc(100dvh - 20px);border-radius:16px}.account-search-titlebar{padding:11px 14px;gap:8px}.account-search-titlebar>span{font-size:13px;gap:7px}.account-local-search .spotlight-close kbd{display:none}.account-local-search .spotlight-input-row{padding:15px 16px;gap:10px}.account-local-search .spotlight-input-row input{font-size:16px}.account-search-scopes{padding-inline:12px}.account-search-status{padding-inline:16px;font-size:12px}.account-local-search .spotlight-results{max-height:55dvh}.account-local-search .spotlight-results a{grid-template-columns:32px minmax(0,1fr) 12px;gap:9px;padding:10px 7px}.account-result-icon{width:32px;height:36px;border-radius:9px}.account-result-copy strong{font-size:16px}.account-search-footer{padding:10px 16px;font-size:11px}.account-search-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.account-local-search-trigger,.account-search-scopes button,.account-local-search .spotlight-results a{transition:none}}
@media(max-width:1050px){.account-header.has-account-tools .account-sections-toggle{min-height:44px;min-width:44px;padding:10px}.account-header.has-account-tools .account-sections-toggle>span{display:none}.account-header.has-account-tools .account-sections-toggle>svg{flex:none}.account-header.has-account-tools .account-header-help{width:44px;min-height:44px}.account-header.has-account-tools .space-profile summary{min-width:44px;min-height:44px;width:44px;height:44px}}

/* Fill the shared fixed search window; keep its footer on the bottom edge. */
.account-local-search .spotlight-form{height:100%}
.account-local-search .spotlight-results{height:auto;max-height:none}

/* A separate final Settings row keeps the six destinations clear and reachable. */
.account-menu-settings{flex:none;min-width:0;padding:12px;border-top:1px solid #ffffff24}
.account-settings-link{display:flex;align-items:center;gap:16px;min-height:56px;padding:13px 16px;border:1px solid transparent;border-radius:12px;color:#dbe7fa;font-size:18px;line-height:1.5;box-sizing:border-box;text-decoration:none;white-space:nowrap}
.account-settings-link>svg{width:24px;height:24px;flex:none}.account-settings-link>span{overflow:hidden;text-overflow:ellipsis}
.account-settings-link:is(:hover,:focus-visible,[aria-current=page]){color:#152b62;background:#fff2e2;border-color:#d9a46f}
.account-desktop-menu .account-menu-settings:not(.is-expanded) .account-settings-link{width:56px;padding:13px 16px}.account-desktop-menu .account-menu-settings:not(.is-expanded) .account-settings-link>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-menu-settings .account-settings-link:focus-visible{outline:3px solid #d58b44;outline-offset:1px}
.account-desktop-menu .account-menu-bottom{margin-top:0}.space-sidebar>.account-menu-settings{background:#152b62;border-radius:12px;margin-top:12px}
.account-material-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.account-material-tabs a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #c8d3e1;border-radius:10px;color:#425f7c;font-weight:600;text-decoration:none;background:#fff;transition:background .2s,border-color .2s}.account-material-tabs a[aria-current=page]{color:#152b62;background:#fff3e3;border-color:#d59a5d}.account-material-tabs a:focus-visible{outline:3px solid #d58b44;outline-offset:2px}
.account-section-foundation{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.account-commerce-status{padding:28px;align-self:start}.account-commerce-status h2{margin-top:0;font-size:24px;line-height:1.35;color:#152b62}.account-commerce-status p{font-size:17px;line-height:1.65;color:#58687e;margin-bottom:22px}
body:has(.account-desktop-menu) .account-section-foundation{display:block}body:has(.account-desktop-menu) .account-section-foundation>.space-sidebar{display:none}
@media(max-width:1050px){.account-mobile-menu .account-menu-body{overflow:hidden}.account-mobile-menu .account-menu-body>.space-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.account-mobile-menu .account-menu-bottom{margin-top:0;flex:none}.account-mobile-menu .account-menu-settings{padding:8px 12px 12px}.account-section-foundation{display:block}.account-section-foundation>.space-sidebar{margin-bottom:20px}}
@media(max-width:480px){.account-commerce-status{padding:22px}.account-commerce-status h2{font-size:22px}.account-commerce-status p{font-size:16px}}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a{background:transparent;border-color:transparent}
:is(.account-desktop-menu,.account-mobile-menu) .space-nav>a:is([aria-current=page],:hover,:focus-visible){background:#fff2e2;border-color:#d9a46f}
.account-mobile-menu .account-menu-body>.space-nav{align-content:start;grid-auto-rows:min-content}

/* Owner-approved duotone amber and blue account menu; preserve the existing icon centres. */
:is(.account-desktop-menu,.account-mobile-menu,.space-sidebar) :is(.space-nav>a,.account-settings-link)>svg.aj-account-menu-icon{display:block;position:static;flex:0 0 28px;width:28px;height:28px;margin-inline:-2px;overflow:visible;color:#365477;stroke:#365477;stroke-width:1.5;fill:none}
.aj-account-menu-icon :is(.aj-account-icon-light,.aj-account-icon-yellow){fill:none;stroke:#365477;stroke-width:1.5}
.aj-account-menu-icon .aj-account-icon-light .aj-account-icon-body{fill:#fff1c9}
.aj-account-menu-icon .aj-account-icon-yellow{clip-path:inset(0 0 0 50%) view-box}
.aj-account-menu-icon .aj-account-icon-yellow .aj-account-icon-body{fill:#e8bd58}
/* The mobile Settings slot shares the navigation's inset, including its label. */
.account-mobile-menu .account-menu-settings{padding-inline:0}
.account-mobile-menu .account-settings-link{padding-inline:12px}

/* Owner-selected menu variant 3: light center, with amber and blue duotone icons. */
:is(.account-desktop-menu,.account-mobile-menu){background:radial-gradient(ellipse at 54% 43%,#d9e5f3 0%,#bed1e8 55%,#91afd3 100%);color:#223e65;border-color:#526b8d2e;scrollbar-color:#e9823f transparent}
:is(.account-desktop-menu,.account-mobile-menu) :is(.account-menu-heading,.account-menu-bottom,.account-menu-settings){border-color:#526b8d2e}
:is(.account-desktop-menu,.account-mobile-menu) .account-menu-heading h2,:is(.account-desktop-menu,.account-mobile-menu) .account-menu-heading h2>span{color:#19365f}
:is(.account-desktop-menu,.account-mobile-menu) :is(.account-menu-heading>button,.account-documents-toggle){color:#223e65;background:#ffffff55;border-color:#526b8d2e}
:is(.account-desktop-menu,.account-mobile-menu) :is(.account-menu-heading>button:hover,.account-documents-toggle:hover,.account-documents-toggle[aria-expanded=true]){color:#19365f;background:#ffffff88;border-color:#d9a46f}
:is(.account-desktop-menu,.account-mobile-menu) :is(.space-nav>a,.account-settings-link){color:#223e65}
:is(.account-desktop-menu,.account-mobile-menu) .account-menu-documents .space-footer-inner{color:#455e80}
:is(.account-desktop-menu,.account-mobile-menu) .account-menu-documents .space-footer-inner a:hover{color:#19365f}
.account-desktop-menu nav.space-nav,.account-mobile-menu .account-menu-body,.account-mobile-menu .account-menu-body>.space-nav{scrollbar-color:#e9823f transparent}

/* Section identity is shown by navigation; keep semantic headings without a duplicate visual title. */
.account-experience>.space-heading>h1{position:absolute;width:1px;height:1px;min-width:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.account-experience>.space-heading{justify-content:flex-end}
.account-experience>.space-heading:not(:has(.space-profile)):not(:has(#space-customization:not([hidden]))){margin:0}

/* The workspace follows the available shell width, including the animated menu. */
#aj-react-root .account-workspace-scroll>main.account-experience{width:calc(100% - 80px);max-width:1760px;padding-inline:0;container:account-workspace / inline-size}
.account-experience .space-main{max-width:none;container:account-primary / inline-size}
.account-experience .space-layout.is-navigation-drawer{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
.account-experience>.space-heading{margin:0}
.account-experience>.space-heading:has(#space-customization:not([hidden])),.account-experience>.space-heading:has([data-space-layout-status]:not(:empty)),.account-experience>.space-heading:has([data-space-retry]:not([hidden])){margin-bottom:24px}
.account-experience .space-heading [data-space-layout-status]:empty{display:none}
.account-experience .space-main :is(.space-welcome p,.space-next>p,.space-interest-summary p){max-width:80ch}
@container account-workspace (min-width:1200px){.account-experience .space-layout.is-navigation-drawer{grid-template-columns:minmax(0,1fr) 360px}}
@container account-workspace (max-width:739px){.account-experience .space-layout.is-navigation-drawer{display:flex;flex-direction:column;gap:24px}.account-experience .space-rail{width:100%;max-width:none}}
@container account-primary (min-width:760px){.account-experience[data-account-section=overview] #space-publications .space-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}}
.account-header-view{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;padding:0;border:0;background:transparent;color:#405d7c;font-family:inherit;font-size:15px;font-weight:600;line-height:1.5;white-space:nowrap;cursor:pointer;transition:color .2s ease,transform .16s ease}
.account-header-view[hidden]{display:none!important}
.account-header-view svg{width:21px;height:21px;flex:none}
.account-header-view:hover,.account-header-view[aria-expanded=true]{color:#152d60}
.account-header-view:active{transform:scale(.97)}
@media(min-width:1051px){.account-header.has-account-tools .account-header-inner{grid-template-columns:minmax(80px,1fr) minmax(180px,500px) minmax(230px,1fr);gap:24px}}
@media(max-width:1050px){#aj-react-root .account-workspace-scroll>main.account-experience{width:calc(100% - 56px)}.account-header-view{width:44px;min-height:44px}.account-header-view>span{display:none}}
@media(max-width:800px){#aj-react-root .account-workspace-scroll>main.account-experience{width:calc(100% - 48px)}}
@media(max-width:480px){#aj-react-root .account-workspace-scroll>main.account-experience{width:calc(100% - 36px)}}
@media(prefers-reduced-motion:reduce){.account-header-view{transition:none}}

/* One reversible progress controls the rail, lettering and compact documents icon. */
.account-desktop-menu .account-menu-heading,.account-desktop-menu .account-menu-body{width:312px;min-width:312px;max-width:312px}
.account-desktop-menu .account-menu-heading h2{flex:none;width:210px;max-width:210px}
.account-desktop-menu .account-menu-body>nav.space-nav{width:312px;scrollbar-width:none;scrollbar-gutter:auto;overflow-x:hidden}
.account-desktop-menu .account-menu-body>nav.space-nav::-webkit-scrollbar{display:none;width:0;height:0}
.account-desktop-menu .account-menu-bottom{position:relative;flex:none;width:312px;min-width:312px;padding:20px 24px}
.account-desktop-menu .account-menu-documents-inline{width:264px;opacity:clamp(0,calc((var(--account-menu-progress) - .3) * 1.428571),1)}
.account-documents-compact{display:none}
.account-desktop-menu .account-documents-compact{display:block;position:absolute;left:12px;top:50%;opacity:clamp(0,calc(1 - var(--account-menu-progress) * 3.333333),1);transform:translateY(-50%) scale(calc(1 - .06 * var(--account-menu-progress)));transform-origin:28px center}
.account-desktop-menu .account-documents-compact[inert]{pointer-events:none}
.account-desktop-menu .account-menu-settings{width:312px;min-width:312px}
.account-desktop-menu .account-menu-settings .account-settings-link,.account-desktop-menu .account-menu-settings:not(.is-expanded) .account-settings-link{width:288px;padding:13px 16px}
.account-desktop-menu .account-menu-settings .account-settings-link>span,.account-desktop-menu .account-menu-settings:not(.is-expanded) .account-settings-link>span{position:static;width:auto;height:auto;clip-path:none;white-space:nowrap}
.account-desktop-menu .account-menu-heading h2,.account-desktop-menu .space-nav>a>span:last-child,.account-desktop-menu .account-menu-settings .account-settings-link>span{opacity:clamp(0,calc((var(--account-menu-progress) - .16) * 1.190476),1);transform:none;transition:none}

/* Menu resources share one scroll area; legal information and Settings stay anchored. */
.account-menu-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.account-menu-scroll::-webkit-scrollbar{display:none}
.account-menu-scroll>nav.space-nav{height:auto;min-height:0;overflow:visible;flex:none;grid-auto-rows:min-content}
.account-desktop-menu .account-menu-scroll{width:312px;scrollbar-width:none}
.account-desktop-menu .account-menu-scroll::-webkit-scrollbar{display:none}
.account-desktop-menu .account-menu-scroll>nav.space-nav{width:312px;height:auto;overflow:visible}
.account-menu-extras{position:relative;flex:none;min-width:0}
.account-menu-extras-full{display:grid;gap:12px;width:264px;margin:0 24px;padding-bottom:20px;box-sizing:border-box}
.account-desktop-menu .account-menu-extras{width:312px;height:calc(136px + (var(--account-menu-extras-height,340px) - 136px) * var(--account-menu-progress));overflow:hidden}
.account-desktop-menu .account-menu-extras-full{opacity:clamp(0,calc((var(--account-menu-progress) - .3) * 1.428571),1)}
.account-menu-cabinet-card,.account-menu-contact-card{display:flex;flex-direction:column;gap:12px;box-sizing:border-box;padding:16px;border:1px solid #9bb1cc;border-radius:16px;background:linear-gradient(130deg,#fffaf0,#f7faff);color:#223e65;box-shadow:0 4px 16px #3654770a}
.account-menu-cabinet-card{text-decoration:none;transition:border-color .25s ease,box-shadow .25s ease}
.account-menu-cabinet-card:hover{border-color:#d58b44;box-shadow:0 5px 16px #36547718;color:#19365f}
.account-menu-card-top{display:flex;align-items:center;justify-content:space-between}
.account-menu-card-top>svg{width:24px;height:24px}
.account-menu-cabinet-card strong{font-size:17px;line-height:1.35;font-weight:700}
.account-menu-cabinet-card>span:last-child{font-size:13px;line-height:1.45;color:#516985}
.account-menu-contact-card h2{font-size:17px;line-height:1.4;color:#19365f;margin:0}
.account-menu-contact-links{display:flex;gap:8px;flex-wrap:wrap}
.account-menu-contact-links>a{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:40px;padding:6px 8px;box-sizing:border-box;border:1px solid #b6c6da;border-radius:10px;color:#365477;background:#f7faff;text-decoration:none;font-size:14px;font-weight:600}
.account-menu-contact-links>a:hover{background:#fff2e2;border-color:#d58b44}
.account-menu-contact-links>a>svg{width:20px;height:20px;flex:none}
.account-menu-contact-links p{font-size:14px;margin:0}
.account-menu-extras-compact{display:none}
.account-desktop-menu .account-menu-extras-compact{display:grid;gap:8px;position:absolute;left:12px;top:0;opacity:clamp(0,calc(1 - var(--account-menu-progress) * 3.333333),1)}
.account-menu-extras-compact>a,.account-menu-extras-compact>button{display:grid;place-items:center;width:56px;height:56px;box-sizing:border-box;padding:14px;background:#ffffff55;border:1px solid #9bb1cc;border-radius:12px;color:#365477;cursor:pointer}
.account-menu-extras svg.aj-account-menu-icon{width:28px;height:28px;stroke:#365477;stroke-width:1.5;flex:none}
.account-menu-extras-compact[inert]{pointer-events:none}
.account-mobile-menu .account-menu-scroll>nav.space-nav{width:100%;height:auto;overflow:visible}
.account-mobile-menu .account-menu-extras-full{width:auto;margin-inline:12px}
.account-mobile-menu .account-menu-contact-links>a{min-height:44px}
.account-menu-extras :is(a,button):focus-visible{outline:3px solid #d58b44;outline-offset:-3px}

/* Compact agency shortcuts rest above Settings; expanded cards retain their original flow. */
.account-desktop-menu .account-menu-scroll{display:flex;flex-direction:column}
.account-desktop-menu .account-menu-scroll>nav.space-nav{order:0}
.account-desktop-menu .account-menu-scroll::before{content:"";order:1;flex:calc(1 - var(--account-menu-progress)) 0 0px}
.account-desktop-menu .account-menu-extras{order:2}
.account-desktop-menu .account-menu-scroll::after{content:"";order:3;flex:var(--account-menu-progress) 0 0px}

/* The temporary feed copy keeps its original line breaks while the menu resizes. */
[data-menu-feed-snapshot],[data-menu-feed-snapshot] *{animation:none!important;transition:none!important}
[data-menu-feed-snapshot]{user-select:none}

/* Common account rail: channels first, then shared events and future agency blocks. */
.account-common-rail-stack{display:grid;gap:20px;min-width:0}
.account-experience .account-common-rail{grid-template-columns:minmax(0,1fr)}
.account-common-rail>.space-zone:empty{display:none}
.account-commerce-layout>.space-main{max-width:none;min-width:0}
body:has(.account-desktop-menu) .account-commerce-layout>.space-sidebar{display:none}
@media(min-width:1051px){.account-experience .account-common-rail{position:sticky;top:24px;align-self:start;max-height:calc(100dvh - var(--reader-admin-offset,0px) - 132px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#e9823f transparent;padding:1px 6px 1px 1px;box-sizing:border-box}}
@container account-workspace (max-width:739px){.account-experience .account-common-rail{position:static;max-height:none;overflow:visible;padding:0}}
html[data-aj-account-boot=ready] .account-experience .space-main{animation:account-section-arrive .9s cubic-bezier(.4,0,.6,1) both}
@keyframes account-section-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){html[data-aj-account-boot=ready] .account-experience .space-main{animation:none}}

/* One quiet entry for contextual guidance; CRM's floating button remains independent. */
.account-assistant-entry,.account-assistant-fallback{position:relative;flex:none;margin:0}
.account-assistant-trigger,.account-assistant-fallback>summary{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 2px;border:0;border-radius:9px;background:transparent;box-shadow:none;color:#405d7c;font:inherit;font-size:15px;font-weight:600;white-space:nowrap;cursor:pointer;list-style:none}
.account-assistant-trigger svg,.account-assistant-fallback>summary svg{width:23px;height:23px;flex:none}.account-assistant-trigger:hover{color:#152d60}.account-assistant-trigger:focus-visible{outline:2px solid #d58b44;outline-offset:3px}
.account-assistant-invitation,.account-assistant-fallback>div{position:absolute;z-index:100;right:0;top:calc(100% + 14px);width:300px;max-width:calc(100vw - 24px);padding:18px;border:1px solid #c5d2e2;border-radius:16px;background:linear-gradient(135deg,#fff9ef,#f4f8fd);box-shadow:0 12px 32px #18345f20;color:#19345d;font-size:16px;line-height:1.5;white-space:normal;animation:account-assistant-in .35s ease-out both}
.account-assistant-invitation>div{display:flex;gap:18px;margin-top:12px}.account-assistant-invitation button{border:0;background:none;color:#405d7c;font:inherit;font-weight:650;padding:4px 0;min-height:40px;cursor:pointer}.account-assistant-invitation button:first-child{color:#19345d;text-decoration:underline;text-underline-offset:4px}
.account-assistant-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #bccbdc;border-radius:20px;background:#fff;color:#19345d;box-shadow:0 20px 70px #1531612e;scrollbar-color:#d58b44 #eef3f9;scrollbar-width:thin;font-family:inherit}
.account-assistant-dialog::backdrop{background:#12294740;backdrop-filter:blur(3px)}
.account-assistant-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid #d9e2ed;background:linear-gradient(115deg,#deebf6,#fff8ee);position:sticky;top:0;z-index:1}.account-assistant-titlebar>div{display:flex;align-items:center;gap:12px}.account-assistant-titlebar svg{width:27px;height:27px}.account-assistant-titlebar h2{margin:0;font-size:22px;line-height:1.3}.account-assistant-titlebar>button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:#ffffff70;color:#405d7c;font-size:30px;line-height:1;cursor:pointer}
.account-assistant-body{padding:22px}.account-assistant-body h3{margin:0 0 16px;font-size:23px;line-height:1.35;outline:none}.account-assistant-body p{font-size:16px;line-height:1.65;color:#53647a;margin:0 0 18px}.account-assistant-body .account-assistant-context{color:#70839b;font-size:13px;line-height:1.45;margin-bottom:9px}.account-assistant-actions{display:grid;gap:10px}.account-assistant-actions>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-height:72px;text-align:left;padding:14px 16px;border:1px solid #d2dce8;border-radius:12px;background:#f7f9fd;color:#19345d;font:inherit;cursor:pointer;transition:background .25s,border-color .25s}.account-assistant-actions>button:hover{background:#fff8ed;border-color:#d7b58b}.account-assistant-actions strong{font-size:16px;line-height:1.4}.account-assistant-actions span{color:#677990;font-size:13px;line-height:1.4}.account-assistant-actions small{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:10px;background:#fff0d9;color:#8f622e;font-size:11px}.account-assistant-step{min-height:174px;animation:account-assistant-in .32s ease-out both}.account-assistant-step a{font-size:15px;color:#405d7c;font-weight:650}.account-assistant-progress{display:flex;gap:7px;margin:22px 0}.account-assistant-progress span{height:3px;flex:1;border-radius:3px;background:#e4ebf4}.account-assistant-progress .is-done{background:#dba45f}.account-assistant-navigation{display:flex;justify-content:space-between;align-items:center;gap:12px}.account-assistant-navigation>button,.account-assistant-back{min-height:44px;padding:10px 14px;font:inherit;font-size:15px;cursor:pointer;border-radius:10px}.account-assistant-navigation>button:not(.reader-primary),.account-assistant-back{border:1px solid #d2dce8;background:#f7f9fd;color:#405d7c}.account-assistant-back{margin-top:18px}.account-assistant-dialog .reader-primary{min-height:44px;font-size:15px;padding:10px 20px;cursor:pointer}.account-assistant-contacts{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.account-assistant-contacts a{display:flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #c8d5e4;border-radius:10px;background:#f5f8fd;color:#405d7c;font-weight:650}.account-assistant-news-text{white-space:pre-line}.account-assistant-body .account-assistant-error{margin:18px 0 0;font-size:13px;color:#9a4b39}.account-assistant-error button{font:inherit;min-height:36px}.account-assistant-dialog button:focus-visible,.account-assistant-dialog a:focus-visible{outline:2px solid #d58b44;outline-offset:3px}
@keyframes account-assistant-in{from{opacity:0}to{opacity:1}}
@media(max-width:1050px){.account-assistant-trigger>span:not(.assistant-android),.account-assistant-fallback>summary>span:not(.assistant-android){display:none}.account-assistant-trigger,.account-assistant-fallback>summary{width:44px;min-width:44px}.account-assistant-invitation{position:fixed;top:calc(var(--account-header-height,74px) + var(--wp-admin--admin-bar--height,0px) + 10px);right:12px;width:min(310px,calc(100vw - 24px))}}
@media(max-width:480px){.account-assistant-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:16px}.account-assistant-titlebar{padding:12px 16px}.account-assistant-body{padding:18px}.account-assistant-body h3{font-size:21px}.account-assistant-step{min-height:180px}}
@media(prefers-reduced-motion:reduce){.account-assistant-invitation,.account-assistant-step{animation:none}.account-assistant-actions>button{transition:none}}

/* Atomic account swaps retain the shell snapshot; only the central column fades. */
html[data-aj-account-soft] .account-experience .space-main{animation:none}
html[data-aj-account-soft=swapping] .account-experience .space-main,html[data-aj-account-soft=arriving] .account-experience .space-main{opacity:0}
html[data-aj-account-soft=swapping] :is(body,.account-desktop-menu,.account-header,.account-workspace-scroll){transition:none!important}
/* Reactive android: one header entry, real locally bundled 3D, stable static fallback. */
.assistant-android{display:inline-block;position:relative;flex:none;width:58px;height:58px;vertical-align:middle;isolation:isolate;pointer-events:none}
.assistant-android canvas,.assistant-android-poster{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:1;transition:opacity .45s ease}
.assistant-android canvas{opacity:0}.assistant-android[data-android-ready=true] canvas{opacity:1}.assistant-android[data-android-ready=true] .assistant-android-poster{opacity:0}
.assistant-android-poster img{display:block!important;width:100%!important;height:100%!important;max-width:none;object-fit:contain}
.assistant-android-poster i{position:absolute;left:53%;top:55%;width:12.5%;height:3.4%;border-radius:99px;background:#99ecff;box-shadow:0 0 3px #21b9ed;transform:rotate(-7deg)}.assistant-android-poster i+i{left:77%;top:52.3%;width:10%}
.account-assistant-trigger,.account-assistant-fallback>summary{width:60px;height:54px;min-width:54px;padding:0!important;gap:0!important;overflow:visible}
.account-assistant-trigger .assistant-android,.account-assistant-fallback>summary .assistant-android{width:60px;height:60px}
.account-assistant-fallback>summary>span:not(.assistant-android){display:none}
.account-assistant-titlebar .assistant-android{width:48px;height:48px}
.account-assistant-invitation{position:static;display:flex;align-items:center;gap:14px;width:100%;max-width:none;margin:0 0 24px;padding:16px 20px;box-shadow:none;animation:account-assistant-in .5s cubic-bezier(.4,0,.2,1) both}
.account-assistant-invitation>.assistant-android{width:48px;height:48px;flex:none}.account-assistant-invitation>div{display:block;margin:0}.account-assistant-invitation>div>div{display:flex;gap:18px;margin-top:7px}
.account-assistant-invitation strong{font-size:17px;line-height:1.45}.account-assistant-invitation button{min-height:40px}
.article-feedback-agent{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding:12px 16px;border:1px solid #d5dfeb;border-radius:14px;background:linear-gradient(120deg,#fff9ef,#f5f8fc);color:#19345d}
.article-feedback-agent .assistant-android{width:64px;height:64px}.article-feedback-agent p{font-size:16px;line-height:1.5;margin:0;flex:1}.article-feedback-agent>button{background:transparent;border:0;color:#536b85;font:inherit;font-size:14px;min-height:44px;padding:8px;cursor:pointer}
@media(max-width:600px){.account-assistant-trigger,.account-assistant-fallback>summary{width:48px;min-width:44px;height:48px}.account-assistant-trigger .assistant-android,.account-assistant-fallback>summary .assistant-android{width:52px;height:52px}.account-assistant-invitation{padding:12px;gap:8px}.account-assistant-invitation strong{font-size:15px}.article-feedback-agent{gap:8px;padding:10px;flex-wrap:wrap}.article-feedback-agent .assistant-android{width:50px;height:50px}.article-feedback-agent p{font-size:14px;min-width:150px}}
@media(prefers-reduced-motion:reduce){.assistant-android canvas,.assistant-android-poster,.account-assistant-invitation{animation:none!important;transition:none!important}}
/* The same WebGL trigger stays in one portal during pickup, travel and magnetic landing. */
.assistant-dock-anchor{display:block;width:60px;height:54px;flex:none;pointer-events:none}
.account-assistant-entry.is-assistant-detached{display:inline-flex}.account-assistant-entry.is-assistant-detached>.assistant-dock-anchor{display:block}
.assistant-placement-layer{position:fixed;left:0;top:0;width:60px;height:54px;z-index:2147483646;transform:translate3d(-100px,-100px,0);will-change:transform;isolation:isolate}
.assistant-placement-layer .account-assistant-trigger{width:100%;height:100%;cursor:grab!important;touch-action:auto;user-select:none;-webkit-user-select:none}
.assistant-placement-layer .assistant-android{transition:none}
.assistant-placement-layer.is-detached{--android-shadow-rest:3px}
.assistant-drag-surface{position:fixed;inset:0;z-index:2147483645;cursor:grabbing;touch-action:none}
.assistant-placement-layer.is-dragging{z-index:2147483646}.assistant-placement-layer.is-dragging .account-assistant-trigger{cursor:grabbing!important}
body.is-assistant-dragging,body.is-assistant-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
.assistant-placement-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.assistant-dock-anchor,.assistant-placement-layer{width:48px;height:48px}.assistant-placement-layer .account-assistant-trigger{cursor:pointer!important}}
@media(prefers-reduced-motion:reduce){.assistant-placement-layer .assistant-android{transition:none!important}.assistant-placement-layer.is-dragging .assistant-android{scale:1}}

/* Ear lamps communicate availability; no floating status/new-feature dot. */
.assistant-android{--android-status:#46ce87}
.assistant-android[data-android-availability=degraded]{--android-status:#ffc44c}
.assistant-android[data-android-availability=maintenance]{--android-status:#ec5960}
.assistant-android-poster .android-ear-status{position:absolute;display:block;left:34%;top:45%;width:3%;height:9%;min-width:2px;border-radius:99px;background:var(--android-status);box-shadow:0 0 2px var(--android-status);transform:rotate(-7deg);transition:background .6s ease,box-shadow .6s ease}
.account-assistant-availability{padding:10px 14px;border-radius:12px;background:#fff4d9;border:1px solid #dfbd6b;color:#53421f;font-size:15px;line-height:1.5}
.account-assistant-availability[data-availability=maintenance]{background:#fff0ef;border-color:#e5aaa9;color:#7c3036}
@media(prefers-reduced-motion:reduce){.android-ear-status{transition:none!important}}

/* Pointer pickup and magnetic landing never draw a frame around the head. */
.assistant-placement-layer .account-assistant-trigger:focus{outline:none}
.assistant-placement-layer[data-focus-modality=keyboard] .account-assistant-trigger:focus-visible{outline:2px solid #d58b44;outline-offset:3px}

/* One resident assistant, revealed only at its settled position. */
.assistant-placement-layer{visibility:hidden}
.assistant-placement-layer[data-placement-ready=true]{visibility:visible}
html[data-aj-account-boot=pending] .assistant-placement-layer{visibility:hidden}
html[data-aj-assistant-managed=true] .account-assistant-fallback{visibility:hidden}
/* Keep the home berth measurable and header controls still while the head travels. */
html[data-aj-assistant-detached=true] :is(.account-assistant-entry,.account-assistant-fallback){visibility:hidden;pointer-events:none}

/* Physical head reactions scale the artwork only: hitbox, dock and invisible grid stay stable. */
:is(.assistant-placement-layer,.article-feedback-agent) .assistant-android{transform:translate3d(var(--android-grip-x,0px),calc(var(--android-grip-y,0px) + var(--android-attention-y,0px)),0) scale(var(--android-visual-x,1),var(--android-visual-y,1));transform-origin:50% 52%}

/* The bottom utility stack remains still while the upper resources scroll. */
.account-menu-utilities{flex:none;min-width:0;border-top:1px solid #526b8d2e}
.account-menu-utilities .account-menu-settings{border:0;padding:4px 12px}
.account-menu-boost{flex:none;padding:4px 12px}
.account-menu-boost>button{display:flex;align-items:center;gap:16px;box-sizing:border-box;width:288px;min-height:56px;margin:0;padding:5px 7px;border:0;border-radius:14px;background:transparent;color:#223e65;text-align:left;font:inherit;opacity:1;cursor:default}
.account-boost-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #e4ad72;border-radius:14px;background:linear-gradient(140deg,#ffe4ac,#f6b86f 56%,#ee935e);color:#4c4d60;box-shadow:inset 0 1px 1px #fff8,0 3px 8px #76604816}
.account-boost-mark>svg{width:25px;height:25px}
.account-boost-copy{display:flex;align-items:center;gap:10px;white-space:nowrap;opacity:1}
.account-boost-copy strong{font-size:18px;font-weight:600}.account-boost-copy small{font-size:12px;color:#596e88;border:1px solid #a5b7ce;background:#ffffff45;border-radius:6px;padding:1px 6px}
.account-desktop-menu .account-boost-copy{opacity:clamp(0,calc((var(--account-menu-progress) - .16) * 1.190476),1)}
.assistant-menu-station{position:relative;flex:none;height:84px;width:calc(80px + 232px * var(--account-menu-progress))}
.assistant-menu-return{position:absolute;left:calc(50% - 32px);top:0;display:block;width:64px;height:78px;box-sizing:border-box;padding:0;margin:0;border:0;border-radius:16px;background:transparent;color:#385674;cursor:pointer;touch-action:manipulation}
.assistant-menu-return:focus-visible{outline:2px solid #d58b44;outline-offset:1px}
.assistant-menu-dock{position:absolute;top:4px;left:2px;display:block;width:60px;height:54px;pointer-events:none}
.assistant-menu-base{display:block;position:absolute;inset:0;width:64px;height:78px;pointer-events:none;overflow:visible}
.assistant-dock-shadow{fill:#274369;opacity:.16;filter:blur(2px)}
.assistant-dock-back{fill:#6982a3;stroke:#879fbb;stroke-width:.7;stroke-linejoin:round}
.assistant-dock-front{fill:#7891b0;stroke:#607b9d;stroke-width:.8;stroke-linejoin:round}
.assistant-dock-surface{fill:#d2dfef;stroke:#9bb1cc;stroke-width:.7;stroke-linejoin:round;transition:fill .45s}
.assistant-dock-bevel{stroke:#9bb1cc;stroke-width:.7;stroke-linejoin:round}
.assistant-dock-contacts{stroke:#cf9d56;stroke-width:2.5;stroke-linecap:butt;transition:filter .55s,stroke .55s}
.assistant-menu-return:hover .assistant-dock-surface{fill:#e2ecf8}
.assistant-console-track{position:absolute;left:20px;top:69px;width:24px;height:3px;overflow:hidden;border-radius:1px;background:#aac1da;box-shadow:inset 0 1px 1px #38536b25;pointer-events:none}
.assistant-console-charge{display:block;position:absolute;inset:0;background:#6ecfdf;opacity:0;transition:opacity .55s ease;box-shadow:0 0 3px #73d5e6}
.assistant-console-charge>i{display:block;position:absolute;top:0;left:-10px;width:10px;height:3px;background:linear-gradient(90deg,transparent,#e9fcff 55%,#a7f4ff);filter:blur(.2px);animation:assistant-console-flow 2.8s cubic-bezier(.4,0,.2,1) infinite;animation-play-state:paused;will-change:transform,opacity}
html[data-aj-assistant-docked="true"][data-aj-account-boot="ready"] .assistant-console-charge{opacity:1}
html[data-aj-assistant-docked="true"][data-aj-account-boot="ready"] .assistant-console-charge>i{animation-play-state:running}
html[data-aj-assistant-docked="true"][data-aj-account-boot="ready"] .assistant-dock-contacts{stroke:#f0bd6e;filter:drop-shadow(0 -1px 2px #ffdba580)}
@keyframes assistant-console-flow{0%{transform:translateX(0);opacity:0}16%{opacity:.95}72%{opacity:.95}100%{transform:translateX(35px);opacity:0}}
.account-mobile-menu .account-menu-boost>button{width:100%}
@media(max-height:800px) and (min-width:1051px){.account-desktop-menu .account-menu-scroll .space-nav{gap:4px;padding-block:8px}.account-desktop-menu .account-menu-scroll .space-nav>a{min-height:48px;padding-block:9px}}
@media(prefers-reduced-motion:reduce){.assistant-console-charge,.assistant-dock-contacts,.assistant-dock-surface{transition:none}.assistant-console-charge>i{animation:none;display:none}}
@media(forced-colors:active){.account-boost-mark,.assistant-menu-return{border:1px solid ButtonText}.assistant-menu-base path,.assistant-menu-base ellipse{stroke:ButtonText;fill:Canvas}}


/* Shared contact and diffuse shadows remain soft in every robot state and context. */
.assistant-android{filter:drop-shadow(0 2px 2px rgb(24 52 95 / .14)) drop-shadow(0 calc(var(--android-shadow-rest,3px) + var(--android-grip,0)*9px) calc(7px + var(--android-grip,0)*12px) rgb(24 52 95 / calc(.11 + var(--android-grip,0)*.05)))}

/* The orbit is outside the head canvas so stars keep their outline above the crown. */
.assistant-android>.android-dizzy-stars{position:absolute;left:-12px;top:-10px;width:calc(100% + 24px);height:calc(100% + 24px);overflow:visible;pointer-events:none;opacity:0;visibility:hidden;filter:drop-shadow(0 1px 1px #80571b55)}
.android-dizzy-stars ellipse{fill:none;stroke:#d9913d;stroke-width:1;stroke-opacity:.38}
.android-dizzy-stars path{fill:#ffc451;stroke:#b87826;stroke-width:1.1;stroke-linejoin:round}

/* Playful annoyance is a separate red expression, never an availability lamp. */
.assistant-android>.android-anger-mark{position:absolute;right:-3px;top:-3px;width:24px;height:24px;pointer-events:none;overflow:visible;opacity:0;visibility:hidden;filter:drop-shadow(0 1px 1px #73242433);transform-origin:50% 60%}
.android-anger-mark path{fill:none;stroke:#d93634;stroke-width:3.7;stroke-linecap:round;stroke-linejoin:round}
.android-anger-mark .android-anger-outline{stroke:#fff4e9;stroke-width:7}

/* Mouse carry stays available in compact layouts; touch scrolling is unchanged. */
@media(max-width:600px) and (pointer:fine){.assistant-placement-layer .account-assistant-trigger{cursor:grab!important}.assistant-placement-layer.is-dragging .account-assistant-trigger{cursor:grabbing!important}}

/* Character life is independent from page transitions and service status. */
.android-sleep-marks{position:absolute;top:-18px;right:-10px;width:32px;height:37px;opacity:var(--android-zzz,0);transition:opacity .65s;pointer-events:none;color:#385d82;font-family:system-ui,sans-serif;font-weight:750;filter:drop-shadow(0 1px 1px #ffffffbb)}
.android-sleep-marks>span{position:absolute;left:0;bottom:0;font-size:12px;animation:android-sleep-rise 3.6s ease-in-out infinite;opacity:.8}
.android-sleep-marks>span:nth-child(2){left:10px;bottom:9px;font-size:15px;animation-delay:-1.2s}.android-sleep-marks>span:nth-child(3){left:22px;bottom:21px;font-size:18px;animation-delay:-2.4s}
@keyframes android-sleep-rise{0%,100%{transform:translateY(2px) rotate(-5deg);opacity:.55}50%{transform:translateY(-4px) rotate(5deg);opacity:1}}
.android-wake-rays{position:absolute;inset:-14px;width:calc(100% + 28px);height:calc(100% + 28px);overflow:visible;opacity:var(--android-wake,0);transform:scale(calc(.9 + var(--android-wake,0)*.1));filter:drop-shadow(0 0 4px #f5bb6b80)}
.android-wake-rays path{fill:none;stroke:#e7ae62;stroke-width:2.4;stroke-linecap:round}
.android-charge-stream{position:absolute;bottom:-8px;left:18px;width:24px;height:29px;opacity:var(--android-charge,0);transition:opacity .55s;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}
.android-charge-stream>i{position:absolute;left:2px;bottom:0;width:3px;height:8px;border-radius:5px;background:#94e8f2;box-shadow:0 0 5px #73c9e6;animation:android-energy-rise 2.2s ease-in-out infinite;animation-play-state:paused}
.android-charge-stream>i:nth-child(2){left:11px;animation-delay:-.7s}.android-charge-stream>i:nth-child(3){left:20px;animation-delay:-1.4s}
html[data-aj-assistant-docked=true][data-aj-assistant-charge-motion=true] .android-charge-stream>i{animation-play-state:running}
@keyframes android-energy-rise{0%{transform:translateY(2px) scaleY(.5);opacity:0}30%{opacity:.8}100%{transform:translateY(-23px) scaleY(.7);opacity:0}}
html[data-aj-assistant-charge-motion=false] .assistant-console-charge>i{animation-play-state:paused;display:none}
.assistant-preferences{margin-top:28px}.assistant-preferences>p{max-width:70ch}
.assistant-preference-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.assistant-preference-fields>label{display:grid;gap:8px;font-weight:600;color:#28466b;min-width:0}
.assistant-preference-fields select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #bccbdc;border-radius:10px;background:#fff;color:#28466b;padding:8px 12px;font:inherit}
.assistant-preference-toggle{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #dce4ee;cursor:pointer}
.assistant-preference-toggle input{flex:none;width:20px;height:20px;margin:3px 0;accent-color:#365c80}
.assistant-preference-toggle>span{display:grid;gap:5px;min-width:0}.assistant-preference-toggle strong{font-size:16px;color:#28466b}.assistant-preference-toggle small{font-size:14px;line-height:1.5;color:#61718a;font-weight:400}
.assistant-preference-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.assistant-preference-actions button{min-height:44px;font:inherit;padding:8px 14px;border:1px solid #bbcbdc;border-radius:10px;background:#f9fbfe;color:#315578;cursor:pointer}.assistant-preferences button:disabled{opacity:.55;cursor:wait}.assistant-preferences-motion-note{font-size:14px;line-height:1.5;color:#61718a}.assistant-preferences :is(input,select,button):focus-visible{outline:2px solid #cf8c43;outline-offset:3px}
.account-assistant-actions>a{display:grid;gap:4px;text-decoration:none;padding:14px 16px;border:1px solid #d2dce9;border-radius:12px;color:#294b70;background:#f8faff}.account-assistant-actions>a>span{font-size:14px;color:#64748b}
@media(max-width:600px){.assistant-preference-fields{grid-template-columns:1fr;gap:16px}.assistant-preference-actions{flex-direction:column}.assistant-preference-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.android-sleep-marks,.android-charge-stream{transition:none}.android-sleep-marks>span,.android-charge-stream>i{animation:none}.android-charge-stream{display:none}.android-wake-rays{transform:none;filter:none}}
/* Profile fields are full width; character toggles retain their native compact hit area. */
#aj-react-root .assistant-preferences .assistant-preference-toggle{margin-top:0}
#aj-react-root .assistant-preferences input[type=checkbox]{box-sizing:border-box;flex:0 0 20px;width:20px;height:20px;min-height:20px;max-width:20px;margin:3px 0;padding:0;border-radius:4px}
.assistant-preference-toggle>span{flex:1}
#assistant-preferences{scroll-margin-top:28px}

/* The head owns desktop mouse dragging; native image dragging never steals it. */
.assistant-placement-layer,.assistant-placement-layer *{-webkit-user-drag:none}
@media(pointer:fine){.assistant-placement-layer .account-assistant-trigger{touch-action:none}}

/* Admin-only transient robot rehearsal; the resident head and saved position stay intact. */
.assistant-preview-entry{border-top:1px solid #d4dce7;margin-top:20px;padding-top:20px}.assistant-preview-entry p{font-size:14px;max-width:580px;color:#5c6c80}
.assistant-preview-panel{position:fixed;z-index:2147483645;right:20px;bottom:20px;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 125px);overflow:auto;padding:18px;background:linear-gradient(135deg,#fffaf0,#f6f9ff 70%);border:1px solid #c3cddd;border-radius:20px;box-shadow:0 16px 48px #17365d30;color:#193455;font-size:14px;scrollbar-width:thin}
.assistant-preview-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.assistant-preview-panel h2{font-size:20px;margin:0 0 5px}.assistant-preview-panel header p,.assistant-preview-panel footer{font-size:12px;color:#62748b;margin:0;line-height:1.5}.assistant-preview-panel header>button{font-size:24px;line-height:1;min-width:34px}.assistant-preview-panel button,.assistant-preview-panel select{border:1px solid #bfccdc;border-radius:9px;background:#fff;color:#29486a;padding:8px 10px;cursor:pointer;font:inherit}.assistant-preview-panel button[aria-pressed=true]{background:#fff2da;border-color:#d58b44;color:#163562}.assistant-preview-panel button:focus-visible,.assistant-preview-panel select:focus-visible{outline:2px solid #d58b44;outline-offset:2px}.assistant-preview-current{display:grid;gap:5px;padding:16px 0}.assistant-preview-current strong{font-size:17px}.assistant-preview-current span{font-size:12px;color:#62748b}.assistant-preview-current progress{width:100%;height:6px;accent-color:#dd9347}.assistant-preview-controls{display:flex;gap:6px}.assistant-preview-controls button:nth-child(2){flex:1}.assistant-preview-speed{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:12px 0 16px}.assistant-preview-speed label{display:grid;gap:4px;font-size:12px}.assistant-preview-speed .reader-primary{background:#173c6b;color:#fff;border-color:#173c6b}.assistant-preview-panel nav{display:flex;flex-wrap:wrap;gap:5px;padding:12px 0;border-top:1px solid #d4dce7}.assistant-preview-panel nav button{font-size:12px;padding:6px 8px}.assistant-preview-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.assistant-preview-scenarios button{text-align:left;min-height:40px}.assistant-preview-hour{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.assistant-preview-panel footer{border-top:1px solid #d4dce7;padding-top:12px;margin-top:14px}
html[data-aj-assistant-preview-paused=true] .assistant-android *,html[data-aj-assistant-preview-paused=true] .assistant-menu-return *{animation-play-state:paused!important}
@media(max-width:600px){.assistant-preview-panel{right:12px;bottom:12px;padding:14px;max-height:calc(100dvh - 112px)}}

.assistant-preview-panel[data-side=left]{left:20px;right:auto}@media(max-width:600px){.assistant-preview-panel[data-side=left]{left:12px;right:auto}}

#aj-react-root .assistant-preview-entry>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #bdccdc;border-radius:12px;background:linear-gradient(125deg,#fff7e9,#f5f9ff);color:#264c74;font-family:inherit;font-size:15px;font-weight:600;line-height:1.35;cursor:pointer}#aj-react-root .assistant-preview-entry>button:disabled{cursor:default}#aj-react-root .assistant-preview-entry>p{font-size:14px;font-weight:400;line-height:1.5;margin:12px 0 0;max-width:58ch;color:#61718a}

 .android-emotion-symbol{position:absolute;left:-12px;top:-42px;width:calc(100% + 24px);aspect-ratio:84/62;height:auto;pointer-events:none;visibility:hidden;filter:drop-shadow(0 1px 1.5px #49638d38)}.assistant-android .android-emotion-symbol>svg.android-emblem-art{display:block;width:100%;height:100%;overflow:visible}.android-emblem-art [data-android-emblem]{opacity:0;transform-origin:0 0}


/* Preview pointer is small, noninteractive and never affects page layout. */
.assistant-android>svg.android-observation-cursor{width:15px;height:20px;max-width:none;overflow:visible;z-index:4;pointer-events:none;filter:drop-shadow(0 1px 1px #172d4840)}

/* Resident robot can remain sharp above the search backdrop; the modal keeps input ownership. */
.assistant-placement-layer[popover]{display:block;inset:auto;left:0;top:0;margin:0;padding:0;border:0;background:transparent;color:inherit;overflow:visible}
.assistant-placement-layer[data-input-top-layer],.assistant-placement-layer[data-input-top-layer] .account-assistant-trigger{pointer-events:none!important}
.assistant-placement-layer[popover]::backdrop{background:transparent;backdrop-filter:none;pointer-events:none}

/* Choice acknowledgement follows the resident head without moving or cloning it. */
.assistant-destination-cue{position:absolute;display:flex;align-items:flex-start;gap:10px;box-sizing:border-box;padding:13px 15px;border:1px solid #c8d7e3;border-radius:18px;background:linear-gradient(120deg,#fffaf1,#f7fbff);color:#19345d;box-shadow:0 7px 24px #213c5e1c;pointer-events:none;animation:assistant-destination-in .22s ease-out both;font:600 14px/1.4 system-ui,sans-serif;text-align:left;max-height:112px;overflow:hidden}
.assistant-destination-cue>span{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;background:#def7ec;color:#15775d;font-size:18px}.assistant-destination-cue small{display:block;margin:0 0 3px;color:#526d85;font-size:12px}.assistant-destination-cue strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.4}
@keyframes assistant-destination-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.assistant-destination-cue{animation:none}}

.assistant-destination-cue[popover]{position:fixed;inset:auto;margin:0;z-index:2147483647}.assistant-destination-cue[popover]::backdrop{background:transparent;backdrop-filter:none;pointer-events:none}

/* Dock energy follows the shared live/preview clock, including exact pause and completion. */
.assistant-console-charge{opacity:var(--assistant-console-glow,0)!important;background:#85ddd6}
.assistant-console-charge>i,.android-charge-stream>i{animation:none!important;will-change:transform,opacity}
.assistant-dock-contacts{filter:drop-shadow(0 -1px 2px rgb(140 230 223 / var(--assistant-console-glow,0)))!important}
.android-charge-stream{transition:none;left:calc(50% - 12px)}

/* Conditional character energy belongs to the console, never the service lamps. */
.assistant-menu-station{height:96px}
.assistant-console-track{left:16px;width:32px;height:4px;top:69px;background:#bac8d8}
.assistant-console-level-fill{position:absolute;inset:0 auto 0 0;width:var(--robot-energy-level,0%);background:var(--robot-energy-color,#55c98d);transition:background-color .6s}
.assistant-console-charge{background:transparent!important;box-shadow:0 0 5px var(--robot-energy-color,#55c98d)}
.assistant-console-charge>i{background:linear-gradient(90deg,transparent,#fff,var(--robot-energy-color,#55c98d))}
.assistant-console-level{position:absolute;top:79px;left:0;right:0;font:750 10px/12px system-ui,sans-serif;letter-spacing:.02em;color:#294868;text-align:center;pointer-events:none}
.android-charge-stream>i{background:var(--robot-energy-color,#55c98d);box-shadow:0 0 6px var(--robot-energy-color,#55c98d)}
.assistant-energy-summary{display:grid;gap:8px;margin:20px 0;padding:16px;border:1px solid #cbd8e6;border-left:4px solid var(--robot-energy-color);border-radius:14px;background:#f9fcff;color:#28466b}
.assistant-energy-summary>strong{font-size:20px}.assistant-energy-summary>span{font-size:14px}.assistant-energy-summary>small{font-size:13px;line-height:1.5;color:#61718a}.assistant-energy-summary meter{width:100%;height:12px;accent-color:var(--robot-energy-color)}
.assistant-energy-summary meter::-webkit-meter-bar{background:#e4eaf1;border:0;border-radius:8px}.assistant-energy-summary meter::-webkit-meter-optimum-value{background:var(--robot-energy-color);border-radius:8px}
/* Direct robot speech uses a comic bubble with a tail. */
.robot-speech{position:relative;border:2px solid #99aec8;border-radius:22px;background:#fffdf8;color:#19345d;box-shadow:0 5px 0 #6985a51c,0 10px 26px #18345f15}
.robot-speech::after{content:"";position:absolute;width:14px;height:14px;background:#fffdf8;border:solid #99aec8;border-width:0 0 2px 2px;transform:rotate(45deg);left:-9px;top:calc(var(--speech-tail-y,50%) - 7px)}
.robot-speech[data-tail=bottom]::after{left:calc(var(--speech-tail-x,50%) - 7px);top:auto;bottom:-9px;transform:rotate(-45deg)}
.robot-speech[data-tail=top]::after{left:calc(var(--speech-tail-x,50%) - 7px);top:-9px;transform:rotate(135deg)}
.assistant-energy-speech[popover]{position:fixed;inset:auto;margin:0;z-index:2147483647;padding:16px 18px;box-sizing:border-box;overflow:visible;animation:assistant-destination-in .35s ease both;font:600 14px/1.5 system-ui,sans-serif}
.assistant-energy-speech p{margin:0 0 12px}.assistant-energy-speech>div{display:flex;gap:12px}.assistant-energy-speech button{min-height:36px;padding:7px 13px;border:1px solid #bbcbdc;border-radius:10px;background:#f5f9fd;color:#28466b;font:inherit;cursor:pointer}.assistant-energy-speech button:first-child{background:#e7f7ed;border-color:#9acfb0}.assistant-energy-speech button:focus-visible{outline:2px solid #cf8c43;outline-offset:3px}
.assistant-energy-speech::backdrop{background:transparent;pointer-events:none}
.assistant-destination-cue.robot-speech{overflow:visible;background:#fffdf8}.assistant-destination-cue.robot-speech>div{overflow:hidden}
.account-assistant-invitation{background:transparent;border:0;padding:0;box-shadow:none}
.account-assistant-invitation>div,.article-feedback-agent>p{position:relative;box-sizing:border-box;padding:15px 18px;border:2px solid #99aec8;border-radius:22px;background:#fffdf8;box-shadow:0 4px 0 #6985a51c}
.account-assistant-invitation>div::before,.article-feedback-agent>p::before{content:"";position:absolute;left:-9px;top:calc(50% - 7px);width:14px;height:14px;border:solid #99aec8;border-width:0 0 2px 2px;background:#fffdf8;transform:rotate(45deg)}
.article-feedback-agent{background:transparent;border:0;padding:0}.account-assistant-invitation>div{flex:1;min-width:0}
@media(prefers-reduced-motion:reduce){.assistant-energy-speech{animation:none!important}.assistant-console-level-fill{transition:none}}

.robot-speech-paragraph{padding:16px 18px;--speech-tail-x:26px;margin-top:18px!important}.robot-speech-prompt{padding:12px 16px;width:fit-content;--speech-tail-x:26px;margin-top:18px!important}

/* A brief comic cue explains the approach; pointer input stays entirely with the carried robot. */
.assistant-dock-speech[popover]{position:fixed;inset:auto;margin:0;z-index:2147483647;padding:10px 14px;min-height:50px;box-sizing:border-box;overflow:visible;pointer-events:none;font:650 14px/1.45 system-ui,sans-serif;display:none}
.assistant-dock-speech[popover]:popover-open{display:flex;align-items:center;animation:assistant-destination-in .24s ease both}
.assistant-dock-speech::backdrop{background:transparent;pointer-events:none}

@media(prefers-reduced-motion:reduce){.assistant-dock-speech[popover]:popover-open{animation:none}}

.assistant-dock-speech[data-tail=right]::after{left:auto;right:-9px;top:calc(var(--speech-tail-y,50%) - 7px);transform:rotate(225deg)}

/* Measured comic speech: one continuous SVG silhouette, including its tail and shadow. */
.robot-speech:has(>.robot-speech-surface){isolation:isolate;border-color:transparent!important;background:transparent!important;box-shadow:none!important}
.robot-speech:has(>.robot-speech-surface)::before,.robot-speech:has(>.robot-speech-surface)::after{content:none!important}
.robot-speech-surface{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);overflow:visible;pointer-events:none;z-index:-1;filter:drop-shadow(0 3px 0 #6985a51c) drop-shadow(0 7px 12px #18345f15)}
.robot-speech-surface path{fill:#fffdf8;stroke:#99aec8;stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.assistant-dock-speech[popover]{width:max-content;max-width:min(280px,calc(100vw - 24px));min-height:44px;padding:10px 14px;overflow-wrap:anywhere}
.assistant-dock-speech>span{white-space:pre-line;min-width:0}
.assistant-energy-speech[popover]{width:max-content;max-width:min(292px,calc(100vw - 24px));overflow-wrap:anywhere}
.assistant-destination-cue.robot-speech{width:max-content;max-width:min(292px,calc(100vw - 24px));max-height:none}
.robot-speech-paragraph{width:fit-content;max-width:100%;box-sizing:border-box}
.article-feedback-agent>p.robot-speech{flex:0 1 auto;width:fit-content;max-width:100%}
.account-assistant-invitation>div.robot-speech{flex:0 1 auto;width:fit-content;max-width:100%}
/* Reserve the header speech berth even when longer station labels make the test panel taller. */
@media(max-width:600px){.assistant-preview-panel{max-height:calc(100dvh - 146px)}}

.assistant-preview-cinema{align-items:start;flex-direction:column;gap:6px}.assistant-preview-cinema select{width:100%;min-width:0;font-size:13px}

/* One settings surface; each real form remains mounted when its tab is hidden. */
#aj-react-root .account-settings-panel{border:1px solid #c9d3df;border-top:3px solid #c9d3df;border-radius:22px;background:#fff;box-shadow:0 10px 26px #18355309;overflow:clip;min-width:0}
#aj-react-root .account-settings-heading{display:flex;align-items:center;gap:12px;padding:22px 24px 20px;background:var(--material-header-gradient)}
#aj-react-root .account-settings-heading h2{margin:0;color:var(--material-header-ink,#eef3ff);font-size:24px;line-height:1.3}
#aj-react-root .account-settings-heading>svg,#aj-react-root .account-settings-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:transparent;color:#eef3ff;font-size:22px;flex-shrink:0}
#aj-react-root .account-settings-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px;border-bottom:1px solid #cbd4df;background:#fff;position:sticky;top:0;z-index:3;isolation:isolate}
#aj-react-root .account-settings-tabs :is(a,button){min-width:0;min-height:58px;display:flex;align-items:center;justify-content:center;padding:12px 8px;margin:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;box-shadow:none;text-decoration:none;color:#60738a;font:inherit;font-size:16px;line-height:1.35;font-weight:600;text-align:center;white-space:normal;overflow-wrap:normal}
#aj-react-root .account-settings-tabs button[aria-selected=true]{background:#fff;color:#182e5d;border-bottom-color:#d5dfef}
#aj-react-root .account-settings-tabs :is(a,button):hover{background:#f5f8fc;color:#182e5d}
#aj-react-root .account-settings-tabs :is(a,button):focus-visible{outline:2px solid var(--link,#365c84);outline-offset:-4px}
#aj-react-root .account-settings-body>[hidden]{display:none!important}
#aj-react-root .account-settings-body{padding:24px;min-height:330px}
#aj-react-root .account-settings-panel .space-preferences{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;background:transparent!important;border-radius:0!important;min-width:0}
#aj-react-root .account-settings-panel .space-preferences h2{margin-top:0}
#aj-react-root .account-settings-panel #space-connections{padding-top:24px!important;margin-top:24px!important;border-top:1px solid #d5dee8!important}
#aj-react-root .account-settings-panel [data-settings-native]{padding:24px}
#aj-react-root .account-settings-panel:not([data-settings-ready]) [data-settings-native]>:is(.space-avatar-settings,.space-interests,[data-assistant-preferences]){display:none}
#aj-react-root .account-settings-panel .space-interests .space-eyebrow{display:none}
#aj-react-root .account-settings-panel input[type=file]{max-width:100%}
#aj-react-root .account-settings-panel [role=tabpanel]{scroll-margin-top:80px}
#aj-react-root .account-settings-panel .space-avatar-preview{margin-top:12px}
#aj-react-root .account-settings-panel .assistant-preview-entry{margin-bottom:0}
@media(max-width:700px){#aj-react-root .account-settings-tabs{padding:0 8px}#aj-react-root .account-settings-tabs :is(a,button){font-size:14px;padding:12px 5px}#aj-react-root .account-settings-heading{padding:20px}#aj-react-root .account-settings-body,#aj-react-root .account-settings-panel [data-settings-native]{padding:20px}}
@media(max-width:480px){#aj-react-root .account-settings-panel{border-radius:18px}#aj-react-root .account-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px}#aj-react-root .account-settings-tabs :is(a,button){min-height:50px;font-size:15px}#aj-react-root .account-settings-heading{padding:18px}#aj-react-root .account-settings-body,#aj-react-root .account-settings-panel [data-settings-native]{padding:18px}#aj-react-root .account-settings-panel [role=tabpanel]{scroll-margin-top:120px}}

/* Administrator copy editor; shared comic contour, text remains native editable content. */
#aj-react-root .assistant-reply-editor{border-top:1px solid #d4dce7;margin-top:22px;padding-top:18px;min-width:0}
#aj-react-root .assistant-reply-editor>summary{font-size:17px;font-weight:650;color:#213e64;cursor:pointer;padding:8px 0}
#aj-react-root .assistant-reply-editor-body{display:grid;gap:14px;padding-top:12px;min-width:0}
#aj-react-root .assistant-reply-editor-body>p{margin:0;font-size:14px;line-height:1.5}
#aj-react-root .assistant-reply-editor label{font-weight:600}
#aj-react-root .assistant-reply-editor textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:96px;resize:vertical;font:inherit;line-height:1.5;padding:12px;border:1px solid #bdccdc;border-radius:12px;background:#fff;color:#203c60}
#aj-react-root .assistant-reply-help{display:grid;gap:6px;color:#61718a;font-size:13px}
#aj-react-root .assistant-reply-preview{display:grid;gap:18px;padding:18px 24px;background:#edf3f9;border-radius:14px;min-width:0}
#aj-react-root .assistant-reply-preview>small{color:#61718a}
#aj-react-root .assistant-reply-preview>.robot-speech{justify-self:start;width:fit-content;max-width:100%;min-width:0;box-sizing:border-box;padding:12px 16px;white-space:pre-wrap;overflow-wrap:anywhere;color:#203c60;font-weight:600;line-height:1.5}
#aj-react-root .assistant-reply-default p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#61718a}
#aj-react-root .assistant-reply-editor .assistant-preference-actions{flex-wrap:wrap}
#aj-react-root .assistant-reply-editor-body>small{color:#61718a;line-height:1.5}
#aj-react-root .assistant-reply-editor :is(button,select,textarea):focus-visible{outline:2px solid #345a9a;outline-offset:3px}
@media(max-width:600px){#aj-react-root .assistant-reply-editor .assistant-preference-fields{grid-template-columns:minmax(0,1fr)}#aj-react-root .assistant-reply-editor select{max-width:100%;width:100%;min-width:0}#aj-react-root .assistant-reply-editor .assistant-preference-actions>button{max-width:100%;white-space:normal}}

#aj-react-root .assistant-reply-preview .robot-speech>.robot-speech-surface{width:calc(100% + 4px);height:calc(100% + 4px);max-width:none;flex:none}

.assistant-dock-speech[data-cue-kind=editor]{pointer-events:none;flex-direction:column;align-items:flex-start;gap:0}
.assistant-reply-demo-label{display:block;white-space:normal;font-size:11px;font-weight:500;line-height:1.35;color:#61718a;margin-bottom:6px;max-width:240px}
#aj-react-root .assistant-reply-live-note{color:#61718a;font-size:13px}

/* Assistant identities: only the currently available character can be active. */
#aj-react-root .assistant-roster{margin:22px 0 28px}
#aj-react-root .assistant-roster h3,#aj-react-root .assistant-behavior-title{font-size:20px;line-height:1.35;color:#203c60;margin:0 0 10px}
#aj-react-root .assistant-roster>p{font-size:14px;line-height:1.5;color:#61718a;margin:0 0 18px}
#aj-react-root .assistant-roster>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
#aj-react-root .assistant-roster li{min-width:0;margin:0;padding:0}
#aj-react-root .assistant-choice-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:100%;min-width:0;padding:20px 12px;border:1px solid #cbd8e6;border-radius:20px;background:#f7f9fc;color:#28466b;font-family:inherit;text-align:center;line-height:1.4}
#aj-react-root .assistant-choice-card.is-current{border:2px solid #d39952;padding:19px 11px;background:linear-gradient(145deg,#fff6e5,#f4f9ff)}
#aj-react-root .assistant-choice-card.is-upcoming:disabled{opacity:1;cursor:default;background:linear-gradient(145deg,#f1f4f9,#e8eef5);color:#61718a}
#aj-react-root .assistant-choice-avatar{position:relative;display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#dce6f1);box-shadow:inset 0 0 0 1px #c2cfdf75;flex:none}
#aj-react-root .assistant-choice-avatar>img{display:block;width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 4px 5px #2d426324)}
#aj-react-root .assistant-secret-avatar{position:relative;display:grid;place-items:center;width:86px;height:86px}
#aj-react-root .assistant-secret-avatar>svg{position:absolute;width:82px;height:82px;fill:#8b9cb3;opacity:.6;filter:blur(1px)}
#aj-react-root .assistant-secret-avatar>b{position:relative;color:#f6f9fe;font-size:34px;line-height:1;text-shadow:0 2px 5px #46617d50}
#aj-react-root .assistant-choice-card>strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere;min-height:2.8em;display:grid;align-items:center}
#aj-react-root .assistant-choice-status{display:inline-block;font-size:12px;font-weight:600;padding:5px 12px;border-radius:999px;background:#dce4ef;color:#647891;margin-top:auto}
#aj-react-root .assistant-choice-status.is-selected{background:#dceee4;color:#32674b}
@media(max-width:600px){#aj-react-root .assistant-roster>ul{grid-template-columns:minmax(0,1fr);gap:12px}#aj-react-root .assistant-choice-card{display:grid;grid-template-columns:76px minmax(0,1fr);text-align:left;padding:14px;gap:4px 14px}#aj-react-root .assistant-choice-card.is-current{padding:13px}#aj-react-root .assistant-choice-avatar{width:76px;height:76px;grid-row:1/3}#aj-react-root .assistant-choice-avatar>img{width:72px;height:72px}#aj-react-root .assistant-secret-avatar{width:66px;height:66px}#aj-react-root .assistant-secret-avatar>svg{width:64px;height:64px}#aj-react-root .assistant-choice-card>strong{min-height:0;align-self:end}#aj-react-root .assistant-choice-status{justify-self:start;align-self:start;margin:0}}

/* One settings surface for the public site and private account. */
.site-settings-button{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;padding:9px;border:1px solid #c9d3df;border-radius:12px;background:#fff;color:#294568;cursor:pointer}
.site-settings-button:hover{background:#f3f6fc;border-color:#ff9d5750}.site-settings-button:focus-visible{outline:3px solid var(--link,#365c84);outline-offset:3px}
.interface-settings-dialog{width:min(1040px,calc(100vw - 32px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;color:#263e60;overflow:auto}
dialog.interface-settings-dialog[data-glass]>.glass-window-bar{position:sticky;top:0;z-index:5;background:var(--material-header-gradient);color:var(--material-header-ink,#eef3ff);padding:16px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #486087}
dialog.interface-settings-dialog[data-glass] .glass-window-bar button{display:flex;align-items:center;gap:10px;border:1px solid #eef3ff66;background:#ffffff14;color:#eef3ff;border-radius:8px;padding:7px 12px;cursor:pointer}
.interface-settings-dialog .account-settings-panel{border:0;border-radius:0;overflow:visible;background:var(--glass-surface,#fff);min-width:0;container-type:inline-size}
#aj-react-root .account-settings-panel{container-type:inline-size}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs{grid-template-columns:repeat(6,minmax(0,1fr));position:relative;gap:4px;padding:5px;background:#f1f5fc}
.interface-settings-dialog .account-settings-tabs{display:grid;border-bottom:1px solid #cbd4df;background:#fff;z-index:3;isolation:isolate}
.interface-settings-dialog .account-settings-tabs button{min-width:0;min-height:60px;display:flex;align-items:center;justify-content:center;padding:12px 8px;margin:0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:#60738a;font:inherit;font-size:15px;font-weight:600;line-height:1.35;text-align:center;cursor:pointer}
.interface-settings-dialog .account-settings-tabs button[aria-selected=true]{background:#fff;color:#182e5d;border-bottom-color:#d5dfef}
.interface-settings-dialog .account-settings-tabs button:hover{background:#f5f8fc}.interface-settings-dialog .account-settings-tabs button:focus-visible{outline:2px solid var(--link,#365c84);outline-offset:-4px}
.interface-settings-dialog .account-settings-body{padding:28px;min-height:390px}.interface-settings-dialog .account-settings-body>[hidden]{display:none!important}
.interface-preferences{max-width:900px;margin:0 auto;color:#294567;font-size:16px;line-height:1.6;min-width:0}
.interface-settings-intro{margin-bottom:22px}.interface-settings-intro>span{display:block;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--description,#5e6d82);margin-bottom:8px}
.interface-settings-intro h2{font-size:26px!important;line-height:1.3;margin:0 0 10px!important;color:#182e5d}.interface-settings-intro p{margin:0;color:#63748a}
.interface-setting{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #dde4ed;margin:0;font-weight:400}
.interface-setting>span{flex:1;min-width:0}.interface-setting strong{display:block;color:#233e63;font-size:17px;line-height:1.4}.interface-setting small{display:block;color:#62758d;font-size:14px;line-height:1.5;margin-top:6px}
.interface-setting input[type=checkbox]{flex:none;width:23px;height:23px;accent-color:#345f98;cursor:pointer}
.interface-setting select{max-width:46%;min-width:140px;background:#f7f9fc;color:#233e63;border:1px solid #bdcada;border-radius:10px;padding:11px 32px 11px 12px;font:inherit;font-size:14px}
.interface-setting button,.interface-reset{flex:none;color:#294567;background:#f7f9fc;border:1px solid #bdcada;border-radius:10px;padding:10px 14px;font:inherit;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer}
.interface-reset{margin-top:22px}.interface-setting button:disabled{opacity:.5;cursor:default}
.interface-settings-sample{padding:20px 22px;border:1px solid #d3ddeb;border-radius:12px;background:#f8faff;margin-top:24px;color:#425b77}
.interface-settings-sample p{margin:8px 0 0}.interface-settings-sample a{color:var(--link,#365c84)}
.interface-settings-note,.interface-settings-status{color:#63748a;font-size:14px;line-height:1.6;margin:20px 0 0}.interface-settings-status{min-height:23px;padding-top:16px;border-top:1px solid #e2e7ef}
.interface-settings-link{display:inline-block;background:var(--material-header-gradient);color:#fff!important;padding:12px 18px;border-radius:11px;text-decoration:none;font-weight:600}
.profile-settings-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}.profile-settings-shortcuts a{padding:7px 11px;border:1px solid #cfdae7;border-radius:8px;color:#345272;font-size:14px;text-decoration:none;background:#f8fafd}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences+.space-preferences{padding-top:30px!important;margin-top:30px!important;border-top:1px solid #d5dee8!important}
:is(.interface-setting,.interface-reset,.interface-settings-link) :focus-visible{outline:3px solid var(--link,#365c84);outline-offset:3px}
html[data-interface-glass=off]{--glass-surface:#fff;--glass-surface-blur:0px;--glass-backdrop-blur:0px}
html[data-interface-glass=off] dialog[data-glass]{background:#fff!important;backdrop-filter:none!important}
html[data-interface-links=underlined] :is(main,#main,.interface-settings-sample) a:not([role=button]):not(.button):not([class*="button"]){text-decoration:underline;text-underline-offset:.2em}
html[data-interface-contrast=high] :is([data-reader-content],.interface-preferences,.space-preferences){color:#142b46}
html[data-interface-contrast=high] :is([data-reader-content],.interface-preferences,.space-preferences) :is(p,small,label,li){color:#142b46!important}
html[data-interface-motion=reduced] :is(dialog[data-glass],dialog[data-glass]::backdrop,.glass-tabs [role=tab],.glass-selection){animation:none!important;transition:none!important;scroll-behavior:auto!important}
@container(max-width:800px){:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:5px}:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs button{font-size:14px;min-height:50px}}
@media(max-width:580px){.site-settings-button{width:36px;height:36px;padding:7px}.interface-settings-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.interface-settings-dialog .account-settings-body{padding:20px}.interface-setting{gap:14px;align-items:flex-start}.interface-setting strong{font-size:16px}.interface-setting:has(select),.interface-setting:has(button){flex-wrap:wrap}.interface-setting select{width:100%;max-width:none}.interface-settings-intro h2{font-size:23px!important}.interface-setting button{max-width:100%}.interface-settings-dialog .account-settings-tabs button{font-size:13px;padding:10px 4px}}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list::before{left:0;top:0;bottom:auto;right:auto;z-index:0;width:var(--glass-result-width);height:var(--glass-result-height);transform:translate(var(--glass-result-x),var(--glass-result-y));border:2px solid #ff8a39;border-radius:8px;background:#fff;box-shadow:0 2px 8px #1128640a}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list button{position:relative;z-index:1;background:transparent;border-bottom-color:transparent}
html[data-interface-glass=off] dialog[data-glass]::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-interface-motion=reduced] .account-settings-tabs::before{transition:none!important}
.interface-preferences .interface-setting{display:flex}
@container(max-width:420px){:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs button{font-size:15px;padding:10px 6px}}
dialog.interface-settings-dialog[data-glass][open]{overflow:auto}
@media(max-width:800px){.header-inner .site-settings-button{position:absolute;right:18px;top:14px;width:44px;height:44px;padding:11px}.header-inner.has-menu-toggle .site-settings-button{right:76px}}

/* Canonical Settings identity: shared gear and corporate blue window heading. */
.aj-settings-icon{display:block;flex:none;width:24px;height:24px;object-fit:contain}
.site-settings-button>.aj-settings-icon{width:22px;height:22px}
.interface-settings-dialog .glass-window-title{display:flex;align-items:center;gap:10px;color:var(--material-header-ink,#eef3ff)}
dialog.interface-settings-dialog[data-glass][open]{border-top:3px solid var(--material-divider,#f4a25e)}
dialog.interface-settings-dialog[data-glass] .glass-window-bar button:not(:disabled):hover{background:#ffffff26;border-color:#f4a25e}

/* Settings use the common neutral tab material. The account navigation keeps its own palette. */
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list button{border:0;border-radius:8px;box-shadow:none;transition:color var(--glass-select-duration,600ms) var(--glass-ease);background:transparent}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list button[aria-selected=true]{background:transparent;border:0;color:#182e5d}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list button:hover{background:transparent;color:#182e5d}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-tabs.glass-result-list{overflow:clip;border-bottom:1px solid #d5dfef}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-body>.glass-panel-stack{min-width:0}
:is(#aj-react-root,.interface-settings-dialog) .account-settings-body>.glass-panel-stack>[hidden]{display:none!important}
dialog.interface-settings-dialog[data-glass][open]{scrollbar-gutter:stable}

:is(#aj-react-root,.interface-settings-dialog) .account-settings-body>.glass-panel-stack>[role=tabpanel]{display:flow-root}

/* Settings interaction feedback: one shared press; borders never alter layout. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list button{border:1px solid transparent;transition:color var(--glass-select-duration,600ms) var(--glass-ease),border-color var(--glass-select-duration,600ms) var(--glass-ease),background-color var(--glass-select-duration,600ms) var(--glass-ease)}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list button[aria-selected=true]{border:1px solid transparent}
@media(hover:hover){:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list button:hover{border-color:#ff9d5780;background:#ffac6810}}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list button:focus-visible{outline:2px solid #ff8a39;outline-offset:-3px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(button:not([role=tab]),a[href],input:not([type=hidden]),select,textarea){outline:1px solid transparent;outline-offset:2px;transition:background-color var(--glass-close-duration,420ms) var(--glass-ease),border-color var(--glass-close-duration,420ms) var(--glass-ease),box-shadow var(--glass-close-duration,420ms) var(--glass-ease),outline-color var(--glass-close-duration,420ms) var(--glass-ease),color var(--glass-close-duration,420ms) var(--glass-ease)}
@media(hover:hover){:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(button:not([role=tab]),a[href],input:not([type=hidden]),select,textarea):not(:disabled):not([aria-disabled=true]):hover{outline:1px solid #ff9d5780;outline-offset:2px;border-color:#ff9d5780}}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(button:not([role=tab]),a[href],input:not([type=hidden]),select,textarea):focus-visible{outline:2px solid #ff8a39;outline-offset:3px;border-color:#ff8a39}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(input:not([type=hidden]),select,textarea):focus{border-color:#ff9d57;box-shadow:0 0 0 2px #ff9d5733}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(input[type=checkbox],input[type=radio],select):not(:disabled):active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(button,a,input,select,textarea){transition:none!important}:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(input,select):active{transform:none}}
html[data-interface-motion=reduced] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(button,a,input,select,textarea){transition:none!important}
html[data-interface-motion=reduced] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) :is(input,select):active{transform:none}

/* Settings242: measured soft fades, compact profile and one branded chooser. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--glass-select-duration:820ms;--glass-resize-duration:640ms;--glass-ease:cubic-bezier(.4,0,.6,1)}
html[data-interface-motion=quick] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--glass-select-duration:160ms;--glass-resize-duration:180ms}
:is(#aj-react-root,#interface-settings-dialog) .account-settings-body{min-height:0}
#aj-react-root .profile-details-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.85fr);grid-template-areas:'name registration' 'timezone date' 'actions actions';align-items:start;gap:20px 26px;margin-top:22px}
#aj-react-root .profile-detail-field{display:grid;gap:8px;min-width:0}
#aj-react-root .profile-detail-field label{margin:0;font-size:17px}
#aj-react-root .profile-detail-field .space-field-hint{margin:0;font-size:14px;line-height:1.5}
#aj-react-root .profile-detail-space-preference-name{grid-area:name}
#aj-react-root .profile-detail-space-preference-timezone{grid-area:timezone}
#aj-react-root .profile-detail-space-preference-date-format{grid-area:date}
#aj-react-root .profile-registration-slot{grid-area:registration;align-self:center;min-width:0}
#aj-react-root .profile-registration-slot .space-registration{display:grid;gap:6px;width:fit-content;max-width:100%;padding:12px 16px;margin:0;font-size:15px;line-height:1.5;justify-content:start}
#aj-react-root .profile-registration-slot .space-registration strong{font-size:18px}
#aj-react-root .profile-details-actions{grid-area:actions;display:flex;align-items:center;gap:12px}
#aj-react-root .profile-details-actions .reader-primary{margin-top:0}
#aj-react-root .profile-details>p{max-width:68ch;margin-bottom:14px;font-size:16px;line-height:1.6}
#aj-react-root .profile-settings-shortcuts{margin-bottom:18px}
#aj-react-root [data-settings-tab=profile]:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#aj-react-root [data-settings-tab=profile]>.profile-settings-shortcuts,#aj-react-root [data-settings-tab=profile]>.profile-details,#aj-react-root [data-settings-tab=profile]>#space-connections{grid-column:1/-1}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences+.space-preferences{padding-top:18px!important;margin-top:0!important}
:is(#aj-react-root,#interface-settings-dialog) button.settings-select-trigger{position:relative;display:flex;align-items:center;gap:16px;justify-content:space-between;width:100%;min-width:0;min-height:50px;padding:11px 52px 11px 14px;border:1px solid #bdcadb;border-radius:11px;background:#fff;color:#233e63;font:inherit;font-size:16px;line-height:1.45;text-align:left;box-shadow:0 1px 3px #17345f08;cursor:pointer;white-space:normal}
:is(#aj-react-root,#interface-settings-dialog) button.settings-select-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}
.settings-select-arrow{position:absolute;right:0;top:0;bottom:0;display:grid;place-items:center;width:40px;border-left:1px solid #d5dfef;border-radius:0 10px 10px 0;background:#f3f6fc;color:#547ba4}
.settings-select-arrow svg{width:21px;height:21px;transition:transform var(--glass-select-duration,600ms) var(--glass-ease),color 420ms var(--glass-ease)}
.settings-select-trigger[aria-expanded=true] .settings-select-arrow{background:#fff4e8;color:#be762f}.settings-select-trigger[aria-expanded=true] .settings-select-arrow svg{transform:rotate(180deg)}
.settings-native-choice{min-width:0}.settings-native-choice select[hidden]{display:none!important}
div.settings-select-popup{position:fixed;inset:auto;margin:0;z-index:1000100;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid #f1b16f;border-radius:15px;background:#fff;box-shadow:0 14px 42px #182e5d24;color:#263e60;font-family:inherit;overflow:hidden}
div.settings-select-popup[hidden],div.settings-select-popup[popover]:not(:popover-open){display:none}
div.settings-select-popup .settings-select-search{padding:6px 6px 12px;flex:none;border-bottom:1px solid #dce4ef}
div.settings-select-popup .settings-select-search label{display:block;margin:0 0 7px;font-size:15px;font-weight:650}
div.settings-select-popup .settings-select-search input{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #becddb;border-radius:9px;background:#f8faff;color:#263e60;font:inherit;font-size:16px}
div.settings-select-popup .settings-select-search p{margin:7px 0 0;font-size:12px;line-height:1.45;color:#62758d}
div.settings-select-popup .settings-select-options{position:relative;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#e6ac71 transparent;padding:4px;flex:1}
div.settings-select-popup .settings-select-options button[role=option]{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:11px 12px;margin:2px 0;border:1px solid transparent;border-radius:9px;background:transparent;box-shadow:none;text-align:left;color:#294567;font:inherit;font-size:15px;line-height:1.45;cursor:pointer}
div.settings-select-popup .settings-select-options button[role=option] strong{font-weight:600}div.settings-select-popup .settings-select-options button[role=option] small{display:block;font-size:12px;line-height:1.4;color:#61728a;margin-top:4px}div.settings-select-popup .settings-select-options button[role=option]>svg{width:18px;height:18px;flex:none;fill:none;stroke:#3b7465;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
div.settings-select-popup .settings-select-options::before{border-radius:9px;background:#f3f6fc;border-color:#ff9d5750}
div.settings-select-popup .settings-select-options button[role=option]:hover{border-color:#ff9d5750}
div.settings-select-popup :is(button,input,a):focus-visible{outline:2px solid #ff8a39;outline-offset:2px}
div.settings-select-popup .settings-select-footer{flex:none;padding:10px 6px 3px;border-top:1px solid #e2e8f0}div.settings-select-popup .settings-select-footer p{margin:0;font-size:12px;line-height:1.5;color:#526b87}div.settings-select-popup .settings-select-footer small{display:block;margin-top:6px;font-size:10px;color:#718197}div.settings-select-popup .settings-select-footer a{color:var(--link,#365c84)}
.settings-select-empty{padding:12px;font-size:14px;line-height:1.5}
.interface-setting:has(.settings-select-trigger){flex-wrap:nowrap}.interface-setting>.settings-select-trigger{flex:none;max-width:46%;width:280px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) select:not([hidden]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23547ba4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:20px;padding-right:42px}
@container(max-width:680px){#aj-react-root .profile-details-form{grid-template-columns:minmax(0,1fr);grid-template-areas:'name' 'registration' 'timezone' 'date' 'actions';gap:18px}#aj-react-root [data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr)}#aj-react-root .profile-registration-slot .space-registration{display:flex;gap:12px}}
@media(max-width:580px){.interface-setting:has(.settings-select-trigger){flex-wrap:wrap}.interface-setting>.settings-select-trigger{max-width:none;width:100%}.settings-select-popup{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.settings-select-arrow svg{transition:none}}
html[data-interface-motion=reduced] .settings-select-arrow svg{transition:none}
html[data-interface-motion=reduced][data-aj-account-boot=ready] .account-experience .space-main{animation:none}

div.settings-select-popup:not([popover]):not([hidden]){display:flex}

div.settings-select-popup .settings-select-group{padding:10px 12px 4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#718197}


/* Settings244: content changes inside a stable window, never its outer frame. */
#aj-react-root .account-settings-panel[data-glass-stable-size]{--settings-header-space:85px;box-sizing:border-box;display:flex;flex-direction:column;height:min(860px,max(340px,calc(100dvh - var(--account-header-height,var(--settings-header-space)) - var(--wp-admin--admin-bar--height,0px) - 48px)));min-height:0}
#aj-react-root .account-settings-panel[data-glass-stable-size]>.account-settings-heading,#aj-react-root .account-settings-panel[data-glass-stable-size]>.account-settings-tabs{flex:none;position:relative}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog)[data-glass-stable-size] .account-settings-body{box-sizing:border-box;flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:20px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog)[data-glass-stable-size] .account-settings-body>.glass-panel-stack{min-height:100%}
dialog#interface-settings-dialog[data-glass][data-glass-stable-size][open]{box-sizing:border-box;display:flex;flex-direction:column;height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
#interface-settings-dialog[data-glass-stable-size]>.glass-window-bar{position:relative;flex:none}
#interface-settings-dialog[data-glass-stable-size]>.account-settings-panel{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
#interface-settings-dialog[data-glass-stable-size] .account-settings-tabs{flex:none}
@media(max-width:720px){#aj-react-root .account-settings-panel[data-glass-stable-size]{--settings-header-space:75px}}
@media(max-width:580px){dialog#interface-settings-dialog[data-glass][data-glass-stable-size][open]{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}}


/* Settings246: use the panel width; keep each control beside its own copy. */
:is(#aj-react-root,#interface-settings-dialog) .interface-preferences{box-sizing:border-box;width:100%;max-width:none;margin:0;color:#294567;font-size:16px;line-height:1.5}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-intro{margin:0 0 20px}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-intro h2{font-size:24px!important;margin:0 0 8px!important}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-intro p{font-size:15px;line-height:1.5;max-width:75ch;margin:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;justify-content:start;gap:14px;min-width:0;margin:0;padding:18px;border:1px solid #d5dfeb;border-radius:13px;background:#fbfcfe}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card>span{flex:initial;min-width:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card strong{font-size:16px;line-height:1.4;font-weight:650}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card small{font-size:14px;line-height:1.5;margin-top:5px}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting{grid-template-columns:24px minmax(0,1fr);column-gap:12px;cursor:pointer}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]{appearance:none;box-sizing:border-box;display:block;width:24px;height:24px;flex:none;margin:0;border:1px solid #9aafc8;border-radius:6px;background:#fff;cursor:pointer;background-position:center;background-repeat:no-repeat;background-size:18px;transition:background-color 420ms var(--glass-ease),border-color 420ms var(--glass-ease),box-shadow 420ms var(--glass-ease)}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]:checked{border-color:#345b88;background-color:#345b88;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card>.settings-select-trigger{box-sizing:border-box;width:100%;max-width:none;min-width:0;flex:initial;font-size:15px;background:#fff}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card>button:not(.settings-select-trigger){justify-self:start;max-width:100%;white-space:normal;line-height:1.4;min-height:44px;background:#fff}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-sample{box-sizing:border-box;grid-column:1/-1;min-width:0;margin:0;padding:18px 20px;border:1px solid #d5dfeb;border-radius:13px;background:#f3f7fc;line-height:1.5}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-sample>strong{display:block;font-size:13px;font-weight:600;color:#62758d}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-sample p{margin:8px 0 0}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-note{font-size:13px;line-height:1.5;margin:14px 0 0;max-width:85ch}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px;padding:0;border:0;min-width:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions>.interface-reset{margin:0;max-width:100%;min-height:44px;padding:10px 16px;white-space:normal;border:1px solid #a9bbd1;background:#edf3fa;color:#294567}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions>.interface-settings-status{margin:0;padding:0;border:0;min-height:20px;font-size:13px;line-height:1.5;max-width:85ch}
@container(min-width:880px){:is(#aj-react-root,#interface-settings-dialog) .interface-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:420px){:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card{padding:14px;gap:12px}:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting{gap:12px}:is(#aj-react-root,#interface-settings-dialog) .interface-settings-sample{padding:16px}:is(#aj-react-root,#interface-settings-dialog) .interface-settings-intro h2{font-size:22px!important}}
@media(prefers-reduced-motion:reduce){:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]{transition:none}}
html[data-interface-motion=reduced] :is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]{transition:none}
@media(forced-colors:active){:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]{appearance:auto;background-image:none}}


/* Profile247: let the authored responsive grid and section gaps take effect. */
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){display:grid}

/* Settings248: five account sections, three local site sections, explicit content groups. */
:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group{min-width:0;margin:0 0 24px}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group>h3{font-size:18px;line-height:1.4;color:#294567;margin:0 0 12px}
#interface-settings-dialog .settings-account-links{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:12px 24px;border-bottom:1px solid #d5dfeb;font-size:14px;line-height:1.5;background:#fbfcfe}
.settings-account-links>span{color:#61718a}.settings-account-links>a{color:var(--link,#365c84);text-underline-offset:3px}
#aj-react-root .profile-details-form{grid-template-areas:'name registration' 'region region' 'timezone date' 'actions actions'}
#aj-react-root .profile-region-heading{grid-area:region;font-size:18px;line-height:1.4;color:#294567;margin:6px 0 -6px}
#aj-react-root .assistant-settings-group{box-sizing:border-box;min-width:0;margin:24px 0 0;padding:20px;border:1px solid #d5dfeb;border-radius:14px;background:#fbfcfe}
#aj-react-root .assistant-settings-group>h3{margin:0 0 14px;font-size:19px;line-height:1.4;color:#294567}
#aj-react-root .assistant-settings-group>p{margin:12px 0 0;font-size:14px;line-height:1.5;color:#61718a}
#aj-react-root .assistant-current-state .assistant-energy-summary{margin:0 0 14px;padding:0;background:none;border:0}
#aj-react-root .assistant-settings-group .assistant-preference-toggle{padding:14px 0;border:0}
#aj-react-root .assistant-settings-group .assistant-preference-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-width:520px;margin:14px 0}
#aj-react-root .assistant-preference-fields>div{display:grid;gap:10px;min-width:0}
#aj-react-root .assistant-preference-fields .settings-select-trigger{width:100%;max-width:100%;font:inherit}
#aj-react-root .assistant-preference-footer{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:20px 0 0}
#aj-react-root .assistant-preference-footer>p{margin:0;font-size:14px;line-height:1.5}
#aj-react-root .assistant-admin-tools{background:#f3f7fc}
#aj-react-root .assistant-admin-tools .assistant-preview-entry{margin-top:18px}
#aj-react-root .assistant-admin-tools .assistant-reply-editor{margin-top:20px}
@container(max-width:800px){:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="5"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:680px){#aj-react-root .profile-details-form{grid-template-areas:'name' 'registration' 'region' 'timezone' 'date' 'actions'}}
@container(max-width:420px){:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}#aj-react-root .assistant-settings-group{padding:14px}#interface-settings-dialog .settings-account-links{padding:12px 18px;gap:8px 12px}}
@container(max-width:800px){:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="5"]>button:last-child{grid-column:span 2}}

/* Settings249: task-based domains, independently saved native forms. */
:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="7"],:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="8"]{grid-template-columns:repeat(4,minmax(0,1fr))}
:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="7"]>button:last-child{grid-column:span 2}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.profile-details{grid-column:auto}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences{box-sizing:border-box;border:1px solid #d5dfeb!important;border-radius:14px!important;padding:20px!important;background:#fbfcfe!important;margin:0!important}
#aj-react-root .profile-details-form{grid-template-columns:minmax(0,1fr);grid-template-areas:'name' 'registration' 'actions';gap:18px}
#aj-react-root .profile-registration-slot .space-registration{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
#aj-react-root .regional-settings-form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;margin-top:22px}
#aj-react-root .regional-setting-field{min-width:0}
#aj-react-root .regional-setting-field>label{margin:0 0 10px;display:block}
#aj-react-root .regional-settings-actions{grid-column:1/-1;display:flex;align-items:center}
#aj-react-root .regional-settings-actions>button{margin:0;max-width:100%}
#aj-react-root [data-settings-tab=assistantAdmin] .assistant-admin-tools{margin:0;padding:0;background:transparent;border:0;border-radius:0}
#aj-react-root [data-settings-tab=recommendations] .space-interests{max-width:none}
@container(max-width:800px){:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="7"],:is(#aj-react-root,#interface-settings-dialog) .account-settings-tabs[data-settings-tab-count="8"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:880px){#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr)}}
@container(max-width:680px){#aj-react-root .regional-settings-form{grid-template-columns:minmax(0,1fr);gap:18px}#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences{padding:16px!important}}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences+.space-preferences{padding-top:20px!important}
@container(max-width:680px){#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences+.space-preferences{padding-top:16px!important}}

/* Settings251: switch content and its selection together; shared press never blocks. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list{--glass-select-duration:0ms}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs.glass-result-list button{transition:none}

/* Settings253: row peers share a bottom action line, independent of copy/notices. */
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences{display:flex;flex-direction:column}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences>form{display:flex;flex-direction:column;flex:1;align-items:stretch}
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.profile-details-actions,.space-avatar-actions){margin-top:auto;flex:none}
#aj-react-root .account-settings-panel [data-settings-tab=profile] .space-avatar-actions{padding-top:16px}
#aj-react-root .account-settings-panel [data-settings-tab=profile] .profile-registration-slot{align-self:stretch}
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.profile-details-actions,.space-avatar-actions)>button{box-sizing:border-box;min-height:52px;padding:12px 18px;margin:0;line-height:1.5}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card:not(.interface-toggle-setting){grid-template-rows:1fr auto;align-content:stretch}

/* Settings254: task sections, one shared field axis, native save scopes retained. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--settings-label-width:200px;--settings-section-gap:24px}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr);gap:0}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{display:grid;grid-template-columns:var(--settings-label-width) minmax(0,1fr);gap:var(--settings-section-gap);padding:24px 0!important;background:transparent!important;border:0!important;border-radius:0!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:0!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section+.settings-task-section{border-top:1px solid #d5dfeb!important}
#aj-react-root .settings-task-heading,#aj-react-root .settings-task-content{min-width:0}
#aj-react-root .settings-task-heading h2{font-size:20px;line-height:1.4;margin:0 0 8px}
#aj-react-root .settings-task-heading p{font-size:14px;line-height:1.5;margin:0;color:#61718a}
#aj-react-root .settings-task-content>form{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin:0;min-width:0}
#aj-react-root .settings-task-content>.space-preferences-notice,#aj-react-root .settings-task-content>.space-preferences-error{margin:0 0 18px}
#aj-react-root .account-settings-panel .settings-task-content .space-avatar-preview{margin:0 0 18px}
#aj-react-root .settings-task-content .space-avatar-preview p{font-size:14px;line-height:1.5}
#aj-react-root .settings-task-content .profile-registration-slot{align-self:stretch}
#aj-react-root .account-settings-panel [data-settings-tab=profile] .settings-task-content :is(.profile-details-actions,.space-avatar-actions){margin:0;padding-top:6px;justify-content:flex-start;gap:12px}
#aj-react-root .settings-task-content :is(.profile-detail-field label,label[for=space-avatar-file]){margin:0;font-size:16px}
#aj-react-root .regional-settings-form{grid-template-columns:minmax(0,1fr);gap:24px}
#aj-react-root .regional-setting-field{display:grid;grid-template-columns:var(--settings-label-width) minmax(0,1fr);column-gap:var(--settings-section-gap);row-gap:10px;align-items:start}
#aj-react-root .regional-setting-field>label{grid-column:1;grid-row:1;margin:0;font-size:17px}
#aj-react-root .regional-setting-field>:not(label){grid-column:2}
#aj-react-root .regional-setting-field+.regional-setting-field{border-top:1px solid #d5dfeb;padding-top:24px}
#aj-react-root .regional-settings-actions{grid-column:1;margin-left:calc(var(--settings-label-width) + var(--settings-section-gap));padding-top:8px}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group{display:grid;grid-template-columns:var(--settings-label-width) minmax(0,1fr);gap:0 var(--settings-section-gap);margin:0;padding:24px 0;border-bottom:1px solid #d5dfeb;align-items:start}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-intro+.interface-settings-group{padding-top:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group>h3{grid-column:1;grid-row:1;margin:0;font-size:19px}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group>:not(h3){grid-column:2}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-grid{grid-template-columns:minmax(0,1fr);gap:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px;align-content:start;padding:18px 0;margin:0;border:0;border-bottom:1px solid #e0e6ee;border-radius:0;background:transparent}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card:first-child{padding-top:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card:last-child{padding-bottom:0;border-bottom:0}
:is(#aj-react-root,#interface-settings-dialog) .interface-setting-card:not(.interface-toggle-setting){grid-template-rows:auto auto}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting{grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-sample{margin-top:20px;grid-column:1;padding:16px 18px}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions,:is(#aj-react-root,#interface-settings-dialog) .interface-preferences>.interface-settings-note{margin-left:calc(var(--settings-label-width) + var(--settings-section-gap))}
:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions{margin-top:20px}
#aj-react-root [data-settings-tab=recommendations] .space-interest-options{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
#aj-react-root [data-settings-tab=recommendations] .space-interest-options>label{margin:0;padding:14px 0;border:0;border-bottom:1px solid #e0e6ee;border-radius:0;background:transparent;justify-content:flex-start}
#aj-react-root [data-settings-tab=recommendations] .space-interest-options>label:last-child{border-bottom:0}
#aj-react-root [data-settings-tab=recommendations] .space-actions{margin-top:20px;padding-top:20px;border-top:1px solid #d5dfeb;gap:12px}
#aj-react-root .account-settings-panel .assistant-settings-group{display:grid;grid-template-columns:var(--settings-label-width) minmax(0,1fr);gap:14px var(--settings-section-gap);padding:24px 0;margin:0;border:0;border-top:1px solid #d5dfeb;border-radius:0;background:transparent;align-items:start}
#aj-react-root .assistant-settings-group>h3{grid-column:1;grid-row:1;margin:0;font-size:19px}
#aj-react-root .assistant-settings-group>:not(h3){grid-column:2;min-width:0}
#aj-react-root .assistant-settings-group .assistant-preference-fields{margin:0;max-width:none}
#aj-react-root .assistant-settings-group .assistant-preference-toggle{padding:12px 0}
#aj-react-root .assistant-settings-group>button{justify-self:start}
#aj-react-root .assistant-preference-footer{margin-left:calc(var(--settings-label-width) + var(--settings-section-gap));padding-top:20px;border-top:1px solid #d5dfeb}
#aj-react-root .assistant-admin-tools .assistant-preview-entry{padding:20px 0;border-bottom:1px solid #d5dfeb}
@container(max-width:680px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px 0!important}
 #aj-react-root .regional-setting-field,:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group,#aj-react-root .account-settings-panel .assistant-settings-group{grid-template-columns:minmax(0,1fr);gap:16px}
 #aj-react-root .regional-setting-field>:not(label),:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group>:not(h3),#aj-react-root .assistant-settings-group>:not(h3){grid-column:1}
 #aj-react-root .regional-setting-field>label,:is(#aj-react-root,#interface-settings-dialog) .interface-settings-group>h3,#aj-react-root .assistant-settings-group>h3{grid-row:auto}
 #aj-react-root .regional-settings-actions,:is(#aj-react-root,#interface-settings-dialog) .interface-settings-actions,:is(#aj-react-root,#interface-settings-dialog) .interface-preferences>.interface-settings-note,#aj-react-root .assistant-preference-footer{margin-left:0}
}

/* Settings255: navigation leads the typographic hierarchy at every width. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--settings-tab-type:18px;--settings-section-type:16px;--aj-font-control:16px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs :is(a,button){font-size:var(--settings-tab-type);font-weight:700;line-height:1.35}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(h2,h3){font-size:var(--settings-section-type)!important;font-weight:650;line-height:1.4}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(.profile-detail-field label,label[for=space-avatar-file],.regional-setting-field>label,.interface-setting-card strong,.space-interest-options>label,.assistant-preference-toggle,.assistant-preference-fields label){font-size:15px;line-height:1.45}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(input:not([type]),input[type=text],input[type=file],select,.settings-select-trigger,.space-registration strong,.space-preferences-notice,.space-preferences-error){font-size:16px;line-height:1.5}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-actions)>button{font-size:16px}
@container(max-width:800px){
 :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs{--settings-tab-type:16px}
 :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body{--settings-section-type:15px}
 :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-tabs :is(a,button){padding-inline:4px}
}

@container(max-width:420px){#interface-settings-dialog .account-settings-tabs[data-settings-tab-count="3"]{grid-template-columns:1.15fr .85fr 1fr}}

/* Settings257: one content scroll, an inset frame inside the fixed account shell. */
#aj-react-root .account-workspace-scroll:has(>main.account-experience[data-account-section=settings] .space-main>.space-widget>.account-settings-panel):not(:has(>main.account-experience[data-account-section=settings] #space-customization:not([hidden]))){overflow:clip}
#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;padding-block:24px}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden])))>.space-heading{flex:none}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden])))>.space-layout{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-main{display:flex;flex-direction:column;align-self:stretch;height:100%;min-height:0;gap:24px}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) [data-account-assistant-slot]:empty{display:none}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-layout>.space-sidebar:has(>.space-left-zone:empty){display:none}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-main>.space-widget:has(>.account-settings-panel){display:flex;flex-direction:column;flex:1;min-height:0}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .account-settings-panel[data-glass-stable-size]{height:100%;max-height:860px;flex:1;min-height:0}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-rail{position:relative;top:0;min-height:0;max-height:100%;align-self:stretch}
@media(max-width:1050px){#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-rail{display:none}}
@container account-workspace (max-width:739px){#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-rail{display:none}}

/* Settings258: approved tactile primary actions; shared press owns movement. */
#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;max-width:100%;padding:11px 18px;border:1px solid #315f8f;border-bottom:3px solid #10264d;border-radius:12px;background:linear-gradient(110deg,#355f87,#192f61);color:#fff;font-size:16px;font-weight:650;line-height:1.5;white-space:normal;box-shadow:0 3px 0 #122e5626,inset 0 1px 0 #ffffff35;transition:border-color 160ms ease,box-shadow 160ms ease}
#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child)::before{content:"";display:block;flex:0 0 18px;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12l4 4v12a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M7 3v6h10V3M7 21v-8h10v8'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child):not(:disabled):not([aria-disabled=true]):hover{border-color:#ff8a39;border-bottom-color:#10264d;box-shadow:0 3px 0 #122e5626,inset 0 1px 0 #ffffff35,0 0 0 2px #ff8a391c}
#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child):not(:disabled):not([aria-disabled=true]):active{box-shadow:inset 0 1px 3px #10264d38}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child){transition:none}}
html[data-interface-motion=reduced] #aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child){transition:none}
@media(forced-colors:active){#aj-react-root .account-settings-panel :is(button.reader-primary,.assistant-reply-editor .assistant-preference-actions>button:first-child){background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}}

/* Settings259: finite confirmed feedback; errors and pending work stay readable. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback{display:grid;grid-template-rows:1fr;opacity:1;min-width:0;transition:grid-template-rows 220ms cubic-bezier(.22,0,.36,1)}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback>div{min-height:0;overflow:hidden}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback.is-closing{opacity:0}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback.is-collapsing{grid-template-rows:0fr}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback.is-empty{display:none}
#aj-react-root .account-settings-panel .settings-feedback .space-preferences-notice{margin:0 0 18px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback p{max-width:100%}
html[data-interface-motion=reduced] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback{transition:none}
@media(prefers-reduced-motion:reduce){:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback{transition:none}}

/* Settings261: bounded profile controls and a larger local avatar preview. */
#aj-react-root .account-settings-panel .profile-details .profile-details-form{max-width:480px;width:100%}
#aj-react-root .account-settings-panel .profile-avatar-section .settings-task-content{max-width:520px;width:100%}
#aj-react-root .profile-avatar-portrait{width:144px;height:144px;margin-top:20px;border-radius:50%;background:#e5edf7;border:1px solid #bdcbdd;overflow:hidden;display:grid;place-items:center;box-sizing:border-box}
#aj-react-root .profile-avatar-portrait .space-avatar{width:100%;height:100%;font-size:42px;border:0;margin:0;border-radius:0;display:grid;place-items:center}
#aj-react-root .profile-avatar-portrait img{width:100%;height:100%;object-fit:cover;display:block}
#aj-react-root .profile-avatar-caption{margin-top:10px;color:#61718a;font-size:13px;line-height:1.5}
#aj-react-root .profile-avatar-description p{margin:0 0 18px;font-size:14px;line-height:1.6}
#aj-react-root .profile-avatar-form{position:relative}
#aj-react-root .profile-avatar-form .profile-avatar-file{position:absolute;width:1px!important;height:1px!important;padding:0!important;border:0!important;margin:-1px!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#aj-react-root .profile-avatar-drop{border:1px dashed #94abc6;border-radius:14px;background:#f5f8fc;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;transition:background-color 160ms ease,border-color 160ms ease;min-width:0}
#aj-react-root .profile-avatar-drop strong{font-size:16px;font-weight:650;line-height:1.5}
#aj-react-root .profile-avatar-drop>span{color:#61718a;font-size:14px;line-height:1.5}
#aj-react-root .profile-avatar-drop>button{margin:4px 0 0;min-height:44px;padding:9px 14px;font-size:15px}
#aj-react-root .profile-avatar-drop.is-dragging,#aj-react-root .profile-avatar-drop:focus-within{border-color:#ff8a39;background:#fff7e9}
#aj-react-root .profile-avatar-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#aj-react-root .profile-avatar-selection>span{min-width:0;display:grid;gap:4px}
#aj-react-root .profile-avatar-selection strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#aj-react-root .profile-avatar-selection small{font-size:13px;line-height:1.5;color:#61718a}
#aj-react-root .profile-avatar-selection>button{flex:none;font-size:14px;min-height:44px;padding:9px 12px;margin:0}
#aj-react-root .profile-avatar-form .space-field-hint{margin:0;font-size:13px;line-height:1.6}
#aj-react-root .profile-avatar-status{margin:0;font-size:14px;line-height:1.5}
@container(max-width:680px){#aj-react-root .profile-avatar-portrait{width:112px;height:112px;margin-top:14px}#aj-react-root .profile-avatar-portrait .space-avatar{font-size:34px}#aj-react-root .profile-avatar-drop{padding:16px}#aj-react-root .profile-avatar-selection{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){#aj-react-root .profile-avatar-drop{transition:none}}
html[data-interface-motion=reduced] #aj-react-root .profile-avatar-drop{transition:none}

#aj-react-root .profile-avatar-form :is(.profile-avatar-drop,.profile-avatar-selection)>button{font-family:inherit;font-weight:600;line-height:1.5;color:#294568;background:#fff;border:1px solid #bdcadb;border-radius:10px;cursor:pointer;max-width:100%;white-space:normal}
#aj-react-root .profile-avatar-form :is(.profile-avatar-drop,.profile-avatar-selection)>button:hover{border-color:#ff8a39;background:#fffaf2}
#aj-react-root .profile-avatar-drop{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;row-gap:4px}
#aj-react-root .profile-avatar-drop>strong{grid-column:1;grid-row:1}
#aj-react-root .profile-avatar-drop>span{grid-column:1;grid-row:2}
#aj-react-root .profile-avatar-drop>button{grid-column:2;grid-row:1/3;align-self:center;margin:0}
@container(max-width:680px){#aj-react-root .profile-avatar-drop{display:flex;gap:8px}#aj-react-root .profile-avatar-drop>button{align-self:flex-start;margin-top:4px}}

/* Settings265: approved whole task cards, with semantic porcelain illustrations. */
#aj-react-root .account-settings-panel{--settings-card-surface:linear-gradient(110deg,#fff,#fff 45%,#f4f7fd);--settings-card-line:#ff8a39;--settings-card-shadow:0 5px 20px #192f6006}
#aj-react-root .account-settings-panel>.account-settings-heading{padding:14px 20px}
#aj-react-root .account-settings-panel>.account-settings-tabs:is([data-settings-tab-count="7"],[data-settings-tab-count="8"]){grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;gap:4px}
#aj-react-root .account-settings-panel>.account-settings-tabs[data-settings-tab-count="9"]{grid-template-columns:repeat(5,minmax(0,1fr))}
#aj-react-root .account-settings-panel>.account-settings-tabs>button{min-height:54px;padding:8px 6px;line-height:1.35}
#aj-react-root .account-settings-panel .account-settings-body{padding:16px;background:#edf2f9}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start;align-items:start}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto auto;gap:14px 26px;align-content:start;align-items:center;padding:20px 24px!important;border:1px solid var(--settings-card-line)!important;border-radius:20px!important;background:var(--settings-card-surface)!important;box-shadow:var(--settings-card-shadow)!important;min-width:0}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:20px!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section+.settings-task-section{border-top:1px solid var(--settings-card-line)!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-heading{grid-column:1;grid-row:1}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:1;grid-row:2;align-self:start;min-width:0;max-width:520px;width:100%}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{content:"";grid-column:2;grid-row:1/3;align-self:center;width:100%;height:240px;background:var(--settings-profile-art) center/contain no-repeat;pointer-events:none}
#aj-react-root .account-settings-panel .profile-details{--settings-profile-art:url('assets/settings-art/identity-corporate-orange.png')}
#aj-react-root .account-settings-panel .profile-avatar-section{--settings-profile-art:url('assets/settings-art/portrait-corporate-orange.png')}
#aj-react-root .account-settings-panel .settings-task-heading h2{margin:0 0 8px}
#aj-react-root .account-settings-panel .settings-task-heading p{margin:0;font-size:14px;line-height:1.5;color:#61718a}
#aj-react-root .account-settings-panel .settings-task-content>form{margin:0;gap:14px}
#aj-react-root .account-settings-panel .profile-details .profile-details-form{display:flex;flex-direction:column;max-width:520px;width:100%;gap:14px}
#aj-react-root .account-settings-panel .profile-detail-field{gap:8px}
#aj-react-root .account-settings-panel .profile-detail-field>.space-field-hint{display:none}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration{padding:0;gap:8px;margin:0;border:0;background:transparent;box-shadow:none;font-size:13px;justify-content:flex-start;min-height:0}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration>span{gap:8px}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration strong{font-size:14px}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration svg{width:16px;height:16px}
#aj-react-root .account-settings-panel [data-settings-tab=profile] .settings-task-content :is(.profile-details-actions,.space-avatar-actions){margin:0!important;padding:0;gap:12px;justify-content:flex-start}
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.space-preferences-notice,.space-preferences-error){padding:10px 12px;margin:0 0 12px;line-height:1.5}
#aj-react-root .account-settings-panel .profile-avatar-upload-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:18px;min-width:0}
#aj-react-root .account-settings-panel .profile-avatar-current{min-width:0;display:grid;justify-items:start;align-content:start}
#aj-react-root .account-settings-panel .profile-avatar-portrait{width:112px;height:112px;margin:0}
#aj-react-root .account-settings-panel .profile-avatar-portrait .space-avatar{font-size:34px}
#aj-react-root .account-settings-panel .profile-avatar-caption{font-size:12px;line-height:1.5;margin:6px 0 0}
#aj-react-root .account-settings-panel .profile-avatar-remove{min-height:44px;max-width:100%;padding:8px 10px;margin:8px 0 0;border:1px solid #bdcadb;border-radius:10px;background:#fff;color:#294568;font-family:inherit;font-weight:600;font-size:14px;line-height:1.5;cursor:pointer}
#aj-react-root .account-settings-panel .profile-avatar-remove:hover{border-color:#ff8a39;background:#fffaf2}
#aj-react-root .account-settings-panel .profile-avatar-remove:focus-visible{outline:2px solid #ff8a39;outline-offset:3px}
#aj-react-root .account-settings-panel .profile-avatar-drop{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:14px;background:#fff;border-radius:12px}
#aj-react-root .account-settings-panel .profile-avatar-drop>strong{font-size:14px;line-height:1.5}
#aj-react-root .account-settings-panel .profile-avatar-drop>span{display:none}
#aj-react-root .account-settings-panel .profile-avatar-drop>button{align-self:center;min-height:44px;margin:0}
#aj-react-root .account-settings-panel .profile-avatar-form .space-field-hint{margin:0;font-size:13px;line-height:1.6}
#aj-react-root .account-settings-panel .profile-avatar-selection{gap:10px}
#aj-react-root .account-settings-panel .profile-avatar-selection strong{white-space:normal;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .profile-avatar-selection small{font-size:13px}

/* The same surface encloses one task in the other internal settings tabs. */
#aj-react-root .account-settings-panel :is(.interface-settings-group,.assistant-settings-group),#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]:not([data-settings-tab=profile])>.space-preferences{padding:24px 26px;margin:0 0 18px;border:1px solid var(--settings-card-line);border-radius:20px;background:var(--settings-card-surface);box-shadow:var(--settings-card-shadow);min-width:0}
#aj-react-root .account-settings-panel :is(.interface-settings-group,.assistant-settings-group){grid-template-columns:minmax(0,1fr);gap:16px}
#aj-react-root .account-settings-panel :is(.interface-settings-group,.assistant-settings-group)>:is(h3,div,p,button){grid-column:1;grid-row:auto}
#aj-react-root .account-settings-panel .interface-settings-intro+.interface-settings-group{padding-top:24px}
#aj-react-root .account-settings-panel .interface-settings-actions,#aj-react-root .account-settings-panel .interface-preferences>.interface-settings-note,#aj-react-root .account-settings-panel .assistant-preference-footer{margin-left:0}
#aj-react-root .account-settings-panel .interface-settings-actions{margin-top:18px}
#aj-react-root .account-settings-panel .interface-settings-note{max-width:680px}
#aj-react-root .account-settings-panel .regional-setting-field{grid-template-columns:minmax(0,1fr);gap:10px;max-width:600px}
#aj-react-root .account-settings-panel .regional-setting-field>:not(label){grid-column:1}
#aj-react-root .account-settings-panel .regional-settings-actions{margin-left:0}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>:is([data-settings-tab=regional],[data-settings-tab=recommendations],[data-settings-tab=notifications],[data-settings-tab=connections])>.space-preferences{padding:24px 26px!important;margin:0!important;border:1px solid var(--settings-card-line)!important;border-radius:20px!important;background:var(--settings-card-surface)!important;box-shadow:var(--settings-card-shadow)!important}
#aj-react-root .account-settings-panel .assistant-admin-tools :is(.assistant-preview-entry,.assistant-reply-editor){padding:24px 26px;margin:0 0 18px;border:1px solid var(--settings-card-line);border-radius:20px;background:var(--settings-card-surface);box-shadow:var(--settings-card-shadow)}

@container(max-width:900px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr) 160px;gap:16px 18px;padding:20px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:20px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{height:180px}
}
@container(max-width:680px){
 #aj-react-root .account-settings-panel>.account-settings-tabs:is([data-settings-tab-count="7"],[data-settings-tab-count="8"],[data-settings-tab-count="9"]){grid-template-columns:repeat(2,minmax(0,1fr))}
 #aj-react-root .account-settings-panel .account-settings-body{padding:12px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:18px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{content:none}
 #aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:90px minmax(0,1fr);gap:14px}
 #aj-react-root .account-settings-panel .profile-avatar-portrait{width:90px;height:90px}
 #aj-react-root .account-settings-panel :is(.interface-settings-group,.assistant-settings-group),#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]:not([data-settings-tab=profile])>.space-preferences{padding:18px}
 #aj-react-root .account-settings-panel .interface-settings-intro+.interface-settings-group{padding-top:18px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>:is([data-settings-tab=regional],[data-settings-tab=recommendations],[data-settings-tab=notifications],[data-settings-tab=connections])>.space-preferences{padding:18px!important}
 #aj-react-root .account-settings-panel .assistant-admin-tools :is(.assistant-preview-entry,.assistant-reply-editor){padding:18px}
}
@container(max-width:400px){#aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-panel .profile-avatar-drop>button{align-self:flex-start}}
@media(max-height:800px){@container(min-width:700px){
 #aj-react-root .account-settings-panel>.account-settings-heading{padding:9px 18px}
 #aj-react-root .account-settings-panel>.account-settings-tabs>button{min-height:48px;padding:6px 4px;line-height:1.2}
 #aj-react-root .account-settings-panel .account-settings-body{padding:10px 18px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){gap:12px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto;gap:18px;padding:12px 16px!important;align-items:start}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:12px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:2;grid-row:1}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{content:none}
 #aj-react-root .account-settings-panel .profile-details .profile-detail-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #aj-react-root .account-settings-panel .profile-details .profile-details-form{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:'name name' 'actions registration';gap:8px 12px;align-items:center}
 #aj-react-root .account-settings-panel .profile-registration-slot .space-registration{flex-wrap:wrap}
 #aj-react-root .account-settings-panel .profile-registration-slot .space-registration>span{font-size:12px}
 #aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:80px minmax(0,1fr);gap:12px}
 #aj-react-root .account-settings-panel .profile-avatar-portrait{width:80px;height:80px}
 #aj-react-root .account-settings-panel .profile-avatar-drop{padding:10px}
 #aj-react-root .account-settings-panel .profile-avatar-section .settings-task-content>form{gap:8px}
}}
@media(min-width:800px) and (max-height:650px){#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:12px}}

/* Settings266: readable profile metadata and an explicit file-drop target. */
#aj-react-root .account-settings-panel .profile-details .profile-detail-space-preference-name{max-width:400px;width:100%}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration{display:inline-flex;max-width:100%;width:fit-content;padding:6px 10px;border:1px solid #d2deed;border-radius:10px;background:#f0f5fc;color:#344c69;font-size:14px;line-height:1.5;gap:10px}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration>span{color:#344c69;font-size:14px}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration strong{font-size:16px;color:#192f60}
#aj-react-root .account-settings-panel .profile-registration-slot .space-registration svg{width:19px;height:19px;color:#4b7197;flex:none}
#aj-react-root .account-settings-panel .profile-avatar-drop{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:3px;align-items:center;min-height:96px;padding:13px 14px;border:2px dashed #8ba6c7;background:#eef5fe;box-shadow:inset 0 0 0 3px #ffffff70;transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}
#aj-react-root .account-settings-panel .profile-avatar-drop>strong{grid-column:1;grid-row:1;align-self:end;color:#294568}
#aj-react-root .account-settings-panel .profile-avatar-drop>span{display:block;grid-column:1;grid-row:2;align-self:start;font-size:13px;line-height:1.5;color:#5c7190}
#aj-react-root .account-settings-panel .profile-avatar-drop>button{grid-column:2;grid-row:1/3;justify-self:end;align-self:center;margin:0}
#aj-react-root .account-settings-panel .profile-avatar-drop.is-dragging{border-color:#e18c3c;background:#fff3df;box-shadow:inset 0 0 0 3px #ffffffb0,0 0 0 3px #edab5a26}
#aj-react-root .account-settings-panel .profile-avatar-drop:focus-within{border-color:#d98a40;background:#f4f8ff}
#aj-react-root .account-settings-panel .profile-avatar-requirements{min-width:0}
#aj-react-root .account-settings-panel .profile-avatar-specs{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.7fr) minmax(0,1.5fr);gap:0 12px;margin:0}
#aj-react-root .account-settings-panel .profile-avatar-specs>div{min-width:0}
#aj-react-root .account-settings-panel .profile-avatar-specs>div+div{padding-left:12px;border-left:1px solid #d6e0ee}
#aj-react-root .account-settings-panel .profile-avatar-specs dt{margin:0 0 5px;color:#61718a;font-size:13px;font-weight:500;line-height:1.5}
#aj-react-root .account-settings-panel .profile-avatar-specs dd{margin:0;color:#344b69;font-size:14px;font-weight:600;line-height:1.5}
#aj-react-root .account-settings-panel .profile-avatar-formats{display:flex;gap:4px;flex-wrap:wrap}
#aj-react-root .account-settings-panel .profile-avatar-formats>span{display:inline-block;padding:1px 5px;border:1px solid #ccd9e9;border-radius:5px;background:#f4f8fd;font-size:12px;line-height:1.5;font-weight:600;color:#345171}
#aj-react-root .account-settings-panel .profile-avatar-crop-note{margin:7px 0 0;font-size:13px;line-height:1.5;color:#61718a}
@container(max-width:680px){
 #aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 #aj-react-root .account-settings-panel .profile-avatar-specs>div:last-child{grid-column:1/-1;padding:10px 0 0;border-left:0;border-top:1px solid #d6e0ee}
 #aj-react-root .account-settings-panel .profile-avatar-drop{grid-template-columns:minmax(0,1fr);padding:14px}
 #aj-react-root .account-settings-panel .profile-avatar-drop>button{grid-column:1;grid-row:3;justify-self:end;margin-top:7px}
}
@container(max-width:400px){#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-panel .profile-avatar-specs>div+div{padding:8px 0 0;border-left:0;border-top:1px solid #d6e0ee}}
@media(max-height:800px){@container(min-width:700px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=profile]:not([hidden])){padding:8px 18px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){gap:8px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:170px minmax(0,1fr);padding-block:10px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:10px!important}
 #aj-react-root .account-settings-panel .profile-avatar-drop{min-height:80px;padding:9px 10px;column-gap:10px}
 #aj-react-root .account-settings-panel .profile-avatar-section .settings-task-content>form{gap:4px}
 #aj-react-root .account-settings-panel .profile-avatar-crop-note{margin-top:5px}
}}
@media(min-height:801px){@container(min-width:700px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=profile]:not([hidden])){padding:14px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){gap:12px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding:18px 24px!important;row-gap:10px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:18px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile] .settings-task-content>form{gap:8px}
 #aj-react-root .account-settings-panel .profile-registration-slot .space-registration{padding-block:5px}
}}


/* Settings267: file silhouettes follow the shared PDF mark; explicit pixel units. */
#aj-react-root .account-settings-panel .profile-avatar-formats{gap:6px;align-items:center;flex-wrap:nowrap}
#aj-react-root .account-settings-panel .profile-format-file{display:block;flex:none;width:40px;height:34px;overflow:visible}
#aj-react-root .account-settings-panel .profile-pixel-size{white-space:nowrap}
#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:132px 84px minmax(0,1fr)}
@container(max-width:680px){#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr) auto}}
@container(max-width:400px){#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr)}}
@media(max-height:800px){@container(min-width:700px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=profile]:not([hidden])){padding-block:6px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){gap:6px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding-block:8px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:8px!important}
}}
@media(min-height:801px){@container(min-width:700px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=profile]:not([hidden])){padding-block:12px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){gap:10px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding-block:16px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:16px!important}
}}

/* Settings270: city-first regional card and a stable, locally timed popover. */
.settings-select-trigger,div.settings-select-popup{--settings-select-duration:140ms;--glass-select-duration:140ms}
.settings-select-arrow svg{transition:none}
div.settings-select-popup .settings-select-footer p{min-height:36px}
#aj-react-root .account-settings-panel .settings-region-card{display:grid;grid-template-columns:minmax(0,600px) minmax(180px,1fr);gap:28px;align-items:center}
#aj-react-root .account-settings-panel .regional-settings-copy{min-width:0}
#aj-react-root .account-settings-panel .regional-settings-copy>h2{margin:0 0 10px}
#aj-react-root .account-settings-panel .regional-settings-copy>p:not([role]){margin:0 0 22px;font-size:14px;line-height:1.5;color:#61718a}
#aj-react-root .account-settings-panel .regional-settings-art{display:block;justify-self:center;width:min(100%,290px);height:290px;background:url('assets/settings-art/time-region-corporate-orange.png') center/contain no-repeat;pointer-events:none}
#aj-react-root .account-settings-panel .regional-settings-form{gap:18px}
#aj-react-root .account-settings-panel .regional-setting-field{gap:8px}
#aj-react-root .account-settings-panel .regional-setting-field+.regional-setting-field{padding-top:18px}
@container(max-width:800px){#aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-panel .regional-settings-art{display:none}}
@media(max-height:800px){@container(min-width:700px){#aj-react-root .account-settings-panel .settings-region-card{padding:16px 20px!important}#aj-react-root .account-settings-panel .regional-settings-copy>p:not([role]){margin-bottom:14px}#aj-react-root .account-settings-panel .regional-settings-form{gap:12px}#aj-react-root .account-settings-panel .regional-setting-field+.regional-setting-field{padding-top:12px}}}
@media(prefers-reduced-motion:reduce){.settings-select-trigger,div.settings-select-popup{--settings-select-duration:0ms}}
html[data-interface-motion=reduced] :is(.settings-select-trigger,div.settings-select-popup){--settings-select-duration:0ms}

/* Settings272: local row contact, no travelling selection layer or smooth auto-scroll. */
div.settings-select-popup .settings-select-options{scroll-behavior:auto}
div.settings-select-popup .settings-select-options button[role=option]{transition:background-color 90ms ease-out,border-color 90ms ease-out}
div.settings-select-popup .settings-select-options button[role=option].is-active{background:#f3f6fc;border-color:#ff9d5750}
div.settings-select-popup .settings-select-options button[role=option][aria-selected=true]{background:#eef4fb;border-color:#b7cbe0}
@media(prefers-reduced-motion:reduce){div.settings-select-popup .settings-select-options button[role=option]{transition:none}}
html[data-interface-motion=reduced] div.settings-select-popup .settings-select-options button[role=option]{transition:none}

/* Settings273: focused native caret, stronger section boundary and an explicit info notice. */
div.settings-select-popup .settings-select-search input{caret-color:#233e63}
div.settings-select-popup .settings-select-search{border-bottom:2px solid #b8cbe1}
div.settings-select-popup .settings-select-group{font-weight:750;color:#465e7b}
div.settings-select-popup .settings-select-footer{border-top:2px solid #b8cbe1;padding-top:10px}
div.settings-select-popup .settings-select-status{display:flex;align-items:flex-start;gap:8px;box-sizing:border-box;min-height:38px;padding:8px 10px;border:1px solid #bfd0e4;border-radius:8px;background:#eef4fb;color:#365573;font-weight:600}
div.settings-select-popup .settings-select-status>svg{width:18px;height:18px;flex:none;color:#466f9b}
div.settings-select-popup .settings-select-status>span{min-width:0;overflow-wrap:anywhere}

/* Settings274: retain and reverse the same local timeline; do not animate layout or text scale. */
div.settings-select-popup{transition:none;animation:none}

/* Settings276: reserve a separate scrollbar lane, including overlay scrollbars. */
div.settings-select-popup .settings-select-options{overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;margin-block:8px;padding:4px 16px 4px 4px}

/* Settings277: group headings remain above option text in the type hierarchy. */
div.settings-select-popup .settings-select-group{font-size:17px;line-height:1.4;letter-spacing:.025em;padding-block:10px 8px}

/* Settings281: confirmed feedback sits beside its submitted action, wrapping when needed. */
#aj-react-root .account-settings-panel :is(.settings-task-section,.space-region-settings,.space-interests){position:relative}
#aj-react-root .account-settings-panel .settings-save-feedback{position:static;flex:0 1 auto;width:max-content;max-width:100%;min-width:0;animation:none}
#aj-react-root .account-settings-panel .settings-save-feedback .settings-feedback p{display:flex;align-items:center;gap:10px;margin:0;padding:8px 12px;border-radius:10px;box-shadow:none;font-size:14px;line-height:1.45}
#aj-react-root .account-settings-panel .settings-save-feedback .settings-feedback-icon{flex:none;width:24px;height:24px}
#aj-react-root .account-settings-panel .settings-save-feedback button{margin-inline-start:auto;flex:none;min-width:28px;min-height:28px;padding:0;border:0;background:transparent;color:inherit;font-size:22px;box-shadow:none}

html[data-interface-motion=reduced] #aj-react-root .account-settings-panel .settings-save-feedback{animation:none}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel .settings-save-feedback{animation:none}}
#aj-react-root .account-settings-panel .settings-save-feedback.is-error{position:static;width:100%;max-width:100%}
#aj-react-root .account-settings-panel :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-interests .space-actions,.assistant-reply-editor .assistant-preference-actions){display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
#aj-react-root .account-settings-panel :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-interests .space-actions)>button{flex:0 1 auto;margin:0}
#aj-react-root .account-settings-panel :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-interests .space-actions)>button:nth-of-type(2){order:2}
#aj-react-root .account-settings-panel :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-interests .space-actions)>button:nth-of-type(3){order:4}
@media(max-width:600px){#aj-react-root .account-settings-panel .settings-save-feedback{flex-basis:100%;width:100%}}

#aj-react-root .account-settings-panel .settings-save-feedback .space-preferences-notice{background:#edf8ed;border:1px solid #add6ad;color:#285b3b}
#aj-react-root .account-settings-panel .settings-save-feedback .space-preferences-error{background:#fff1ed;border:1px solid #e5b2a3;color:#873e2d}

/* Settings282: two cabinet-only horizons; leaf panels and their data stay mounted. */
#aj-react-root .account-settings-panel>.settings-horizons{position:relative;flex:none;isolation:isolate;z-index:2;min-width:0;background:#f1f5fc}
#aj-react-root .settings-horizons .settings-horizons-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;padding:8px 16px 0;border-bottom:1px solid #d3ddec;background:#f1f5fc}
#aj-react-root .account-settings-panel .settings-horizons-groups>button{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:52px;margin:0 0 -1px;padding:10px 12px;border:1px solid transparent;border-bottom-color:#d3ddec;border-radius:12px 12px 0 0;background:transparent;color:#637187;font-size:17px;font-weight:700;line-height:1.35;box-shadow:none;transition:none}
#aj-react-root .account-settings-panel .settings-horizons-groups>button>img{display:block;flex:none;width:24px;height:24px;object-fit:contain;pointer-events:none}
#aj-react-root .account-settings-panel .settings-horizons-groups>button[aria-pressed=true]{z-index:1;border-color:#d3ddec;border-bottom-color:#fff;background:#fff;color:#192f61;box-shadow:0 -4px 16px #243a6410}
#aj-react-root .account-settings-panel .settings-horizons-groups>button:hover{color:#192f61;background:#fff8ed}
#aj-react-root .account-settings-panel .settings-horizons-groups>button[aria-pressed=true]:hover{background:#fff;border-color:#d3ddec;border-bottom-color:#fff}
#aj-react-root .account-settings-panel .settings-horizons-groups>button:focus-visible{outline:2px solid #ff8a39;outline-offset:-4px}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs{box-sizing:border-box;display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;min-height:64px;margin:0;padding:6px 18px;border-bottom:1px solid #d3ddec;background:#fff;box-shadow:0 7px 16px #243a6412;overflow:clip;--glass-select-duration:0ms}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs>button{box-sizing:border-box;flex:0 1 auto;grid-column:auto;min-width:0;min-height:50px;margin:0;padding:9px 16px;border-radius:9px;color:#637187;font-size:17px;font-weight:700;line-height:1.35;white-space:normal;transition:none}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs[data-settings-tab-count="4"]>button{flex:1 1 0}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs>button[aria-selected=true]{color:#192f61}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs.glass-result-list::before{border-color:#ff8a39;border-radius:9px;background:#fffaf2;box-shadow:0 2px 7px #1128640a}
@container(max-width:680px){
 #aj-react-root .settings-horizons .settings-horizons-groups{gap:4px;padding:8px 10px 0}
 #aj-react-root .account-settings-panel .settings-horizons-groups>button{min-height:70px;flex-direction:column;gap:5px;padding:8px 5px;font-size:16px}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs{padding:8px 12px;gap:6px;min-height:70px}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs>button{padding:8px 10px;font-size:16px;min-height:54px}
}
@container(max-width:440px){
 #aj-react-root .settings-horizons .settings-horizons-groups{padding-inline:7px;gap:3px}
 #aj-react-root .account-settings-panel .settings-horizons-groups>button{min-height:84px;padding-inline:4px;font-size:15px}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs[data-settings-tab-count="4"]{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs>button{font-size:16px;padding-inline:8px}
}
@media(max-height:800px){@container(min-width:700px){
 #aj-react-root .settings-horizons .settings-horizons-groups{padding-top:6px}
 #aj-react-root .account-settings-panel .settings-horizons-groups>button{min-height:44px;padding-block:7px;font-size:16px}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs{min-height:58px;padding-block:6px}
 #aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs>button{min-height:44px;padding-block:7px;font-size:16px}
}}
@media(forced-colors:active){#aj-react-root .account-settings-panel .settings-horizons-groups>button[aria-pressed=true]{border-color:Highlight;color:Highlight;box-shadow:none}}

/* Settings286: task headings and field labels stand above values and descriptions. */
#aj-react-root .account-settings-panel .account-settings-body{--settings-section-type:24px;--settings-field-type:18px}
#aj-react-root .account-settings-panel .account-settings-body :is(h2,h3){font-weight:700;color:#192f61}
#aj-react-root .account-settings-panel .account-settings-body h3{font-size:20px!important}
#aj-react-root .account-settings-panel .account-settings-body :is(.profile-detail-field label,label[for=space-avatar-file],.regional-setting-field>label,.interface-setting-card strong,.space-interest-options>label,.space-interest-options legend,.assistant-preference-toggle strong,.assistant-preference-fields label,.assistant-preference-fields>div>strong,.assistant-reply-editor>label,.assistant-preview-hour,.assistant-preview-speed>label){font-size:var(--settings-field-type);font-weight:650;line-height:1.4;color:#192f61}
#aj-react-root .account-settings-panel .profile-avatar-drop>strong{font-size:16px;font-weight:650}
@container(max-width:680px){#aj-react-root .account-settings-panel .account-settings-body{--settings-section-type:22px;--settings-field-type:17px}}

/* Settings287: regional illustration uses the same right berth as profile cards. */
#aj-react-root .account-settings-panel .settings-region-card{--regional-card-padding:24px;grid-template-columns:minmax(0,1fr) 240px;column-gap:26px}
#aj-react-root .account-settings-panel .account-settings-body [data-settings-tab=regional]>.space-preferences.settings-region-card{padding:var(--regional-card-padding)!important}
#aj-react-root .account-settings-panel .regional-settings-copy{width:100%;max-width:600px;justify-self:start}
#aj-react-root .account-settings-panel .regional-settings-art{width:240px;height:240px;justify-self:end;align-self:center}
@container(max-width:900px){#aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 160px;column-gap:18px}#aj-react-root .account-settings-panel .regional-settings-art{width:160px;height:180px}}
@container(max-width:800px){#aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-panel .regional-settings-art{display:none}}
@container(max-width:680px){#aj-react-root .account-settings-panel .settings-region-card{--regional-card-padding:18px}}
@media(max-height:800px){@container(min-width:700px){#aj-react-root .account-settings-panel .settings-region-card{--regional-card-padding:16px 20px}}}

/* Explicit topic consent and the authenticated publication inbox. */
#aj-react-root .account-settings-panel .interest-settings-card>form{max-width:760px}
#aj-react-root .account-settings-panel .interest-settings-card fieldset{min-width:0;padding:0;border:0;margin:0}
.account-settings-panel .interest-delivery-options{margin-top:28px!important;padding-top:24px!important;border-top:2px solid #c7d5e6!important}
.account-settings-panel .interest-delivery-options legend{float:left;width:100%;margin:0 0 12px;font-size:20px;font-weight:700;color:#192f61}
.interest-delivery-options>p:first-of-type{clear:both}
.account-settings-panel .interest-delivery-options>label{display:flex;align-items:flex-start;gap:12px;margin:16px 0;padding:16px;border:1px solid #c7d5e6;border-radius:12px;background:#f5f8fc;cursor:pointer}
.interest-delivery-options input{width:20px;height:20px;flex:0 0 20px;margin:3px 0 0;accent-color:#355f87}
.interest-delivery-options label span{display:grid;gap:6px}
.interest-delivery-options label strong{font-size:18px;color:#192f61}
.interest-delivery-options label small{font-size:14px;line-height:1.5;color:#596b82;font-weight:400}
.interest-inbox-list{list-style:none;padding:0!important;margin:20px 0}
.interest-inbox-list li{padding:16px;border:1px solid #d4dfed;border-radius:12px;margin:10px 0;background:#fff}
.interest-inbox-list li.is-unread{background:#f0f5fc;border-left:4px solid #ff8a39}
.interest-inbox-list li>a{font-size:17px;font-weight:650;color:#192f61}
.interest-inbox-list li>span{display:flex;gap:12px;align-items:center;margin-top:8px;font-size:13px;color:#5b6c83}
.interest-inbox-list li strong{color:#8a4619;background:#fff0df;border-radius:6px;padding:3px 8px}
.interest-inbox-empty{border:1px dashed #b8cbe1;border-radius:12px;background:#f5f8fc;padding:18px}
.interest-notification-banner{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #edab75;border-radius:12px;background:#fff8ef;color:#192f61;margin:0 0 20px;text-decoration:none;font-size:15px}
.interest-notification-banner>span:last-child{margin-left:auto}
@media(max-width:680px){.account-settings-panel .interest-delivery-options legend{font-size:20px}.interest-delivery-options label strong{font-size:17px}.interest-notification-banner{padding:12px;font-size:14px}}
#aj-react-root .account-settings-panel .interest-settings-card>.space-field-hint,#aj-react-root .account-settings-panel .interest-settings-card>p{font-size:14px;font-weight:400;line-height:1.6;color:#657189}
/* Topic icons are selection controls; they replace the large decorative illustration. */
#aj-react-root .account-settings-panel .interest-settings-card>form{max-width:860px}
#aj-react-root .account-settings-panel .interest-settings-card .interest-selection-hint{margin:0 0 14px;font-size:14px;font-weight:400;line-height:1.5;color:#657189}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{display:grid;grid-template-columns:56px minmax(0,1fr) 20px;gap:14px;align-items:center;min-width:0;min-height:88px;margin:0;padding:14px 16px;border:1px solid #cbd7e5;border-radius:14px;background:linear-gradient(120deg,#fff,#f5f8fd);box-shadow:0 2px 5px #192f6105;cursor:pointer;transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-icon{grid-column:1;grid-row:1;display:block;width:56px;height:56px;object-fit:contain;pointer-events:none}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{grid-column:2;grid-row:1;font-size:16px;line-height:1.4;font-weight:650;color:#192f61;overflow-wrap:break-word}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{grid-column:3;grid-row:1;position:static;width:20px;height:20px;min-width:20px;margin:0;accent-color:#c65d11;cursor:pointer}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile:has(input:checked){border-color:#ff8a39;background:linear-gradient(120deg,#fff9f1,#fff2e2);box-shadow:inset 0 0 0 1px #ff8a3926}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile:has(input:focus-visible){outline:2px solid #ff8a39;outline-offset:3px}
@media(hover:hover){#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile:not(:has(input:checked)):hover{border-color:#8da6c1;box-shadow:0 3px 9px #192f610d}}
@container(max-width:580px){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options{grid-template-columns:1fr}}
@media(max-width:600px){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{grid-template-columns:44px minmax(0,1fr) 20px;gap:10px;padding:12px;min-height:76px}#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-icon{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile{transition:none}}


#aj-react-root .interest-delivery-options>p{font-size:14px;line-height:1.6;font-weight:400;color:#657189}

#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=recommendations]>.space-preferences.interest-inbox-card{margin-top:20px!important}

/* Give long Russian topic names the full tile width on very narrow screens. */
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{grid-template-columns:44px minmax(0,1fr) 20px;gap:8px 10px}#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{grid-column:1/-1;grid-row:2;overflow-wrap:normal}#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{align-self:start;margin-top:12px}}

/* Contextual topic guide shares the card with the native multi-select. */
#aj-react-root .account-settings-panel .interest-settings-card>form{max-width:none}
#aj-react-root .interest-explorer{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
#aj-react-root .account-settings-panel .interest-topic-help{min-width:0;box-sizing:border-box;padding:20px;border:1px solid #c8d8e9;border-top:3px solid #ff8a39;border-radius:14px;background:linear-gradient(145deg,#f1f6fd,#fbfcff);color:#192f61}
#aj-react-root .account-settings-panel .interest-topic-help h3{font-size:20px;line-height:1.4;font-weight:700;margin:0 0 20px;color:#192f61}
#aj-react-root .account-settings-panel .interest-topic-help h3 span{font-size:19px;color:#355f87}
#aj-react-root .account-settings-panel .interest-topic-help h4{font-size:18px;line-height:1.4;font-weight:700;margin:0 0 12px;color:#192f61}
#aj-react-root .account-settings-panel .interest-topic-help :is(p,li){font-size:14px;font-weight:400;line-height:1.6;color:#52647b}
#aj-react-root .account-settings-panel .interest-topic-help p{margin:0 0 14px}
#aj-react-root .account-settings-panel .interest-topic-help strong{display:block;font-size:14px;line-height:1.5;color:#192f61;margin:18px 0 8px;font-weight:650}
#aj-react-root .account-settings-panel .interest-topic-help ul{margin:0;padding-left:18px;display:grid;gap:8px}
#aj-react-root .account-settings-panel .interest-topic-help li::marker{color:#c65d11}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{font-size:13px;margin:20px 0 0;padding-top:16px;border-top:1px solid #c7d5e6}
#aj-react-root .account-settings-panel .interest-topic-help details{padding:10px 0;border-top:1px solid #c7d5e6}
#aj-react-root .account-settings-panel .interest-topic-help summary{font-size:15px;font-weight:650;cursor:pointer}
#aj-react-root .account-settings-panel .interest-topic-help details p{margin-top:12px}
#aj-react-root .account-settings-panel .interest-settings-card>.interest-delivery-options,#aj-react-root .account-settings-panel .interest-settings-card>form>.interest-delivery-options{max-width:860px}
@container(min-width:1000px){#aj-react-root .interest-explorer{grid-template-columns:minmax(0,1fr) 300px;gap:28px}#aj-react-root .account-settings-panel .interest-topic-help{align-self:start}}
@container(max-width:580px){#aj-react-root .account-settings-panel .interest-topic-help{padding:16px}}

#aj-react-root .interest-topic-help-content{display:grid;grid-template-rows:repeat(4,auto)}
#aj-react-root .interest-help-layer{grid-area:1/1/5/2;display:grid;grid-template-rows:subgrid;align-items:start;visibility:hidden;pointer-events:none}
#aj-react-root .interest-help-layer[data-help-current=true]{visibility:visible;pointer-events:auto}

/* Approved «Темы и результат»: compact selection / editorial benefit panel. */
#aj-react-root .account-settings-panel .interest-settings-card>h2{max-width:700px}
#aj-react-root .account-settings-panel .interest-explorer{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 28px;align-items:start}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options{grid-template-columns:1fr;gap:0}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{grid-template-columns:36px minmax(0,1fr) 20px;gap:12px;min-height:64px;padding:12px 8px;margin:0;border:0;border-bottom:1px solid #d6e0ed;border-radius:0;background:none;box-shadow:none}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-icon{width:36px;height:36px}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{grid-column:2;grid-row:1;font-size:16px;line-height:1.4;overflow-wrap:normal}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{grid-column:3;grid-row:1;margin:0;align-self:center}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile:has(input:checked){background:#fff4e6;border-radius:10px;border-bottom-color:transparent;box-shadow:none}
#aj-react-root .account-settings-panel .interest-topic-help{padding:26px;border:0;border-radius:18px;background:linear-gradient(145deg,#eff5fd,#fff8ef);align-self:start;display:flex;flex-direction:column}
#aj-react-root .account-settings-panel .interest-topic-help h3{font-size:11px;line-height:1.5;text-transform:uppercase;letter-spacing:.07em;font-weight:650;color:#355f87;margin:0 0 20px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-icon{display:block;width:112px;height:112px;object-fit:contain;margin:0 0 24px}
#aj-react-root .account-settings-panel .interest-topic-help h4{font-size:24px;line-height:1.2;margin:0 0 14px;letter-spacing:-.025em}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-tags{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:20px 0 0}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-tags>li{display:inline-flex;align-items:center;max-width:100%;font-size:13px;font-weight:600;line-height:1.5;border:1px solid var(--product-color,#547ba4);border-left-width:4px;border-radius:8px;background:var(--product-soft,#eef3fc);padding:5px 10px;color:#263f67;box-shadow:0 0 0 1px var(--product-color,#547ba4),0 0 0 2px #ffffffb3;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{margin:24px 0 0;font-size:12px;font-weight:400}
#aj-react-root .account-settings-panel .interest-topic-help-content{flex:none}
#aj-react-root .account-settings-panel .interest-chosen{grid-column:1/-1;padding:14px 18px;border-radius:12px;background:#f3f7fc;color:#62728a;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .interest-chosen strong{font-size:13px;font-weight:650;color:#192f61}
#aj-react-root .account-settings-panel .interest-settings-card>form>.interest-delivery-options{max-width:none;margin-top:24px!important;padding-top:24px!important;border-top:1px solid #d6e0ed!important}
#aj-react-root .account-settings-panel .interest-channel-grid{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#aj-react-root .account-settings-panel .interest-channel-grid>label{display:grid;grid-template-columns:26px minmax(0,1fr) 20px;gap:12px;align-items:center;min-height:90px;margin:0;padding:16px 18px;border:1px solid #d6e0ed;border-radius:14px;background:#fff;cursor:pointer}
#aj-react-root .account-settings-panel .interest-channel-grid>label:has(input:checked){border-color:#eda369;background:#fff8f0}
#aj-react-root .account-settings-panel .interest-channel-grid>label:has(input:focus-visible){outline:2px solid #ff8a39;outline-offset:3px}
#aj-react-root .account-settings-panel .interest-channel-grid .interest-channel-icon{width:22px;height:22px;color:#355f87}
#aj-react-root .account-settings-panel .interest-channel-grid input{margin:0;accent-color:#b75c18}
#aj-react-root .account-settings-panel .interest-channel-grid label strong{font-size:17px;line-height:1.4}
#aj-react-root .account-settings-panel .interest-channel-grid label small{font-size:13px;line-height:1.5}
#aj-react-root .account-settings-panel .interest-email-status:not([hidden]){display:block;padding:12px 15px;margin:14px 0 0;background:#edf3fb;border-radius:10px;font-size:13px;color:#355f87}
#aj-react-root .account-settings-panel .interest-results-actions{align-items:center}
#aj-react-root .account-settings-panel .interest-optional-note{font-size:13px;color:#62728a;font-weight:400}
@media(hover:hover){#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile:not(:has(input:checked)):hover{background:#f4f7fc;border-radius:10px;box-shadow:none}}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-explorer{grid-template-columns:minmax(0,1fr);gap:20px}#aj-react-root .account-settings-panel .interest-topic-help{padding:22px}#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-icon{width:96px;height:96px;margin-bottom:18px}#aj-react-root .account-settings-panel .interest-topic-help h4{font-size:22px}#aj-react-root .account-settings-panel .interest-channel-grid{grid-template-columns:1fr}}
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{grid-template-columns:30px minmax(0,1fr) 20px;gap:8px;padding:12px 4px}#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-icon{width:30px;height:30px}#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{font-size:15px;overflow-wrap:break-word}#aj-react-root .account-settings-panel .interest-channel-grid>label{grid-template-columns:20px minmax(0,1fr) 20px;gap:8px;padding:14px 12px}}

#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{position:relative;align-self:flex-start;max-width:100%;box-sizing:border-box;display:inline-block;padding:10px 32px 10px 14px;border:1px solid #e2b283;border-radius:9px 3px 9px 9px;background:#fff7e9;box-shadow:0 3px 0 #c8d3e0,0 6px 14px #192f6110;font-size:20px;line-height:1.4;letter-spacing:normal;text-transform:none;font-weight:700;color:#192f61;margin:0 0 24px;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline::after{content:"";position:absolute;top:0;right:0;width:19px;height:19px;background:linear-gradient(45deg,#ffd09a 0 49%,transparent 51%);border-bottom-left-radius:4px;pointer-events:none}

/* Semantic example tones reuse the public section palette, without assigning taxonomy. */
#aj-react-root .interest-topic-tags>[data-interest-tone="sales"]{--product-color:#3765b7;--product-soft:#eef3ff}
#aj-react-root .interest-topic-tags>[data-interest-tone="tasks"]{--product-color:#9165b2;--product-soft:#f6f0fc}
#aj-react-root .interest-topic-tags>[data-interest-tone="automation"]{--product-color:#c27625;--product-soft:#fff4e6}
#aj-react-root .interest-topic-tags>[data-interest-tone="ai"]{--product-color:#338b8b;--product-soft:#edf9f8}
#aj-react-root .interest-topic-tags>[data-interest-tone="quality"]{--product-color:#398367;--product-soft:#eef8f2}
#aj-react-root .interest-topic-tags>[data-interest-tone="communication"]{--product-color:#287eaa;--product-soft:#edf7fc}
#aj-react-root .interest-topic-tags>[data-interest-tone="analytics"]{--product-color:#8a7541;--product-soft:#faf6e9}
#aj-react-root .interest-topic-tags>[data-interest-tone="risk"]{--product-color:#ba5e53;--product-soft:#fff1ee}
#aj-react-root .interest-topic-tags>[data-interest-tone="rules"]{--product-color:#5864a8;--product-soft:#f1f2fc}
#aj-react-root .interest-topic-tags>[data-interest-tone="code"]{--product-color:#b65592;--product-soft:#fcf0f8}

/* Common content tracks keep tags on one baseline across every topic. */
#aj-react-root .account-settings-panel .interest-help-layer>p{margin-bottom:0}

/* Soft keyboard feedback: fixed geometry, no press/repeat queue. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{outline:2px solid transparent;outline-offset:3px;transition:outline-color 160ms cubic-bezier(.2,0,.2,1),background-color 160ms cubic-bezier(.2,0,.2,1),border-color 160ms ease,box-shadow 160ms ease}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile:has(input:focus-visible){outline-color:#ff8a39}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{outline:2px solid transparent;outline-offset:3px;transition:outline-color 160ms cubic-bezier(.2,0,.2,1),border-color 160ms ease}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input:focus-visible{outline-color:#ff8a39}
#aj-react-root .interest-help-layer{opacity:0}
#aj-react-root .interest-help-layer[data-help-current=true]{opacity:1}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile,#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{transition:none}}

/* One search-style blue surface follows the logical topic, never a stale pointer. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list{--glass-select-duration:420ms;--glass-ease:cubic-bezier(.22,.61,.36,1)}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list::before{border:2px solid #ff8a39;border-radius:10px;background:#eaf0fc;box-shadow:0 2px 8px #1128640a}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile{position:relative;z-index:1}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile:not(:has(input:checked)):hover,#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile[data-glass-selected]{background:transparent;box-shadow:none}
html[data-interface-motion=quick] #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list{--glass-select-duration:160ms}
html[data-interface-motion=reduced] #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list{--glass-select-duration:0ms}

/* Frame and blue fill are painted by the same moving surface, never separate timelines. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile,
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile:has(input:focus-visible){outline:none}

/* The moving row surface is the focus indicator; do not add a second checkbox frame. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile>input,
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile>input:focus-visible{outline:none;box-shadow:none;border-color:revert;transition:none}

/* Keyboard keycaps match the account search footer and wrap in the help column. */
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px}
#aj-react-root .interest-topic-help-note :is(.interest-key-hint,.interest-key-pair){display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%}
#aj-react-root .interest-topic-help-note .interest-key-pair{flex-wrap:nowrap}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note kbd{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:24px;font-family:inherit;font-size:12px;line-height:1.5;font-weight:400;color:#52647b;border:1px solid #d1dae7;background:#ffffffb3;border-radius:5px;padding:2px 5px;box-shadow:0 1px 2px #11286406;white-space:nowrap}

/* Text-led topic selection; one high-resolution illustration in the help panel. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{grid-template-columns:minmax(0,1fr) 20px;gap:16px;padding:14px 16px}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{grid-column:1;grid-row:1;font-size:20px;line-height:1.4;font-weight:650;overflow-wrap:break-word}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>input{grid-column:2;grid-row:1;margin:0;align-self:center}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-icon{width:min(280px,100%);height:auto;aspect-ratio:1;justify-self:end;align-self:start;margin:0 0 24px auto}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{font-size:18px}#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-icon{width:min(220px,100%)}}
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{padding:14px 10px;gap:12px}}

/* Compact explanation: copy beside the illustration, shared tag baseline below. */
#aj-react-root .account-settings-panel .interest-explorer{grid-template-columns:minmax(0,.94fr) minmax(0,1.2fr)}
#aj-react-root .account-settings-panel .interest-topic-help{container:interest-help/inline-size}
#aj-react-root .account-settings-panel .interest-topic-help-content{display:grid;grid-template-rows:repeat(3,auto)}
#aj-react-root .account-settings-panel .interest-help-layer{grid-area:1/1/4/2;grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:subgrid;column-gap:20px}
#aj-react-root .account-settings-panel .interest-help-layer>h4{grid-column:1;grid-row:1;align-self:end;font-size:24px;margin:0 0 14px;overflow-wrap:break-word}
#aj-react-root .account-settings-panel .interest-help-layer>p{grid-column:1;grid-row:2;margin:0;font-size:14px}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;width:200px;height:200px;margin:0;object-fit:contain}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{grid-column:1/-1;grid-row:3;margin-top:24px}
/* Solid paper label: no folded corner, cutout or residual pseudo-element. */
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{border-radius:9px;padding-right:14px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline::before,
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline::after{content:none;display:none;background:none;box-shadow:none}
@container interest-help (max-width:380px){
 #aj-react-root .account-settings-panel .interest-help-layer{grid-template-columns:minmax(0,1fr) 128px;column-gap:16px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{grid-column:1/-1;grid-row:1;font-size:22px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{grid-column:2;grid-row:2;width:128px;height:128px}
}
@container interest-help (max-width:240px){
 #aj-react-root .account-settings-panel .interest-topic-help-content{grid-template-rows:repeat(4,auto)}
 #aj-react-root .account-settings-panel .interest-help-layer{grid-area:1/1/5/2;grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{grid-column:1;grid-row:1;width:min(150px,100%);height:auto}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{grid-column:1;grid-row:2;margin:16px 0 12px}
 #aj-react-root .account-settings-panel .interest-help-layer>p{grid-column:1;grid-row:3}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{grid-row:4}
}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-explorer{grid-template-columns:minmax(0,1fr)}}

/* Blue-grey boundary separates the topic help without changing its content box. */
#aj-react-root .account-settings-panel .interest-topic-help{border:1px solid #9aadc5;padding:25px}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-topic-help{padding:21px}}

/* Selected topics are distinct, readable tags using the established semantic palette. */
#aj-react-root .account-settings-panel .interest-chosen{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;font-size:18px;line-height:1.5}
#aj-react-root .account-settings-panel .interest-chosen>strong{margin:0;font-size:18px;font-weight:700;line-height:1.5}
#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags{display:flex;flex:1 1 300px;flex-wrap:wrap;gap:10px;min-width:0;list-style:none;margin:0;padding:0}
#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{display:inline-flex;align-items:center;max-width:100%;min-width:0;padding:6px 11px;border:1px solid var(--product-color,#547ba4);border-left-width:4px;border-radius:8px;background:var(--product-soft,#eef3fc);box-shadow:0 0 0 1px var(--product-color,#547ba4),0 0 0 2px #ffffffb3;color:#263f67;font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .interest-chosen-empty{padding-top:4px}
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{font-size:16px;padding:6px 9px;overflow-wrap:break-word}}

/* One moving focus contour; checked topics keep only their native checkmark. */
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list{gap:6px}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile,
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list>.interest-topic-tile:is(:has(input:checked),:hover,[data-glass-selected]){border:0;border-radius:10px;background:transparent;box-shadow:none;outline:none;transition:none}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list::before{box-shadow:none}
#aj-react-root .account-settings-panel .interest-chosen{border:1px solid #9aadc5;background:#f3f7fc}
#aj-react-root .account-settings-panel .interest-chosen>.interest-chosen-note{margin:0;font-size:14px;font-weight:400;line-height:1.6;color:#52647b}

/* Common start: one selection hint above both list and topic help. */
#aj-react-root .account-settings-panel .interest-settings-card .interest-explorer>.interest-selection-hint{grid-column:1/-1;margin:0}

/* Topic count never expands the two-column stage; only its own viewport scrolls. */
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-fieldset{position:relative;align-self:stretch;min-height:0;min-width:0}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-scroll{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#e9823f #eef3fa;padding:0 12px 0 0;box-sizing:border-box}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-scroll{position:relative;inset:auto;max-height:min(420px,60svh)}}

/* One settings task per tab: topics, notification delivery, and reading are separate. */
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs[data-settings-tab-count="5"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs[data-settings-tab-count="5"]>button{padding-inline:6px;font-size:16px}
@container(max-width:440px){#aj-react-root .account-settings-panel .settings-horizons>.account-settings-tabs[data-settings-tab-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
#aj-react-root .interest-notification-settings .interest-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#aj-react-root .interest-notification-settings .interest-channel-grid>label{display:grid;grid-template-columns:24px minmax(0,1fr) 20px;gap:12px;align-items:center;padding:18px;border:1px solid #d1ddeb;border-radius:14px;background:#fff}
#aj-react-root .interest-notification-settings .interest-channel-grid :is(strong,small){display:block}
#aj-react-root .interest-notification-settings .interest-channel-grid strong{font-size:18px;color:#192f61}
#aj-react-root .interest-notification-settings .interest-channel-grid small{font-size:14px;color:#637187;margin-top:5px}
#aj-react-root .interest-notification-settings .interest-channel-icon{width:24px;height:24px;color:#547b97}
#aj-react-root .interest-notification-settings .interest-channel-grid input{width:20px;height:20px;margin:0;accent-color:#a95012}
#aj-react-root .interest-saved-topics{display:grid;gap:12px;margin:20px 0;padding:16px 18px;border:1px solid #9aadc5;border-radius:12px;background:#f3f7fc;color:#192f61}
#aj-react-root .interest-saved-topics>strong{font-size:18px;font-weight:700}
#aj-react-root .interest-saved-topics>p{margin:0}
#aj-react-root .interest-saved-topics>.interest-selected-tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
#aj-react-root .interest-saved-topics .interest-selected-tags>li{display:inline-flex;align-items:center;max-width:100%;min-width:0;padding:6px 11px;border:1px solid var(--product-color,#547ba4);border-left-width:4px;border-radius:8px;background:var(--product-soft,#eef3fc);box-shadow:0 0 0 1px var(--product-color,#547ba4),0 0 0 2px #ffffffb3;color:#263f67;font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
#aj-react-root .interest-inbox-compact{margin:20px 0;padding:16px 18px;border:1px solid #9aadc5;border-radius:12px;background:#f3f7fc}
#aj-react-root .interest-inbox-compact summary{cursor:pointer;font-size:18px;color:#192f61;font-weight:650}
#aj-react-root .interest-inbox-compact .space-actions{margin-top:12px}
#aj-react-root .interest-results-actions>.space-text-link{font-size:15px}
@container(max-width:620px){#aj-react-root .interest-notification-settings .interest-channel-grid{grid-template-columns:minmax(0,1fr)}}
@container(max-width:360px){#aj-react-root .interest-saved-topics .interest-selected-tags>li{font-size:16px}}

#aj-react-root .account-settings-panel .interest-notification-settings>form{max-width:none}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{border:0!important;border-top:1px solid #d6e0ed!important;padding:20px 0 0!important;margin:20px 0 0!important;min-width:0}

/* Scroll edges dissolve content; wheel scrolling never carries a sliced hover frame. */
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-scroll{--interest-scroll-fade-top:0px;--interest-scroll-fade-bottom:0px;scroll-padding-block:12px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 var(--interest-scroll-fade-top),#000 calc(100% - var(--interest-scroll-fade-bottom)),transparent);mask-image:linear-gradient(to bottom,transparent,#000 var(--interest-scroll-fade-top),#000 calc(100% - var(--interest-scroll-fade-bottom)),transparent)}
#aj-react-root .account-settings-panel .interest-topic-scroll[data-scroll-above]{--interest-scroll-fade-top:12px}
#aj-react-root .account-settings-panel .interest-topic-scroll[data-scroll-below]{--interest-scroll-fade-bottom:12px}
#aj-react-root .account-settings-panel .interest-topic-scroll[data-interest-pointer-scroll]>.space-interest-options.glass-result-list::before{opacity:0;transition:none}
@media(forced-colors:active){#aj-react-root .account-settings-panel .interest-topic-scroll{-webkit-mask-image:none;mask-image:none}}

/* Two reserved tag rows keep the summary and Save action stationary. */
#aj-react-root .account-settings-panel .interest-chosen-content{position:relative;display:flow-root;min-width:0;box-sizing:border-box;height:98px;padding:3px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9aadc5 transparent;scrollbar-gutter:stable}
#aj-react-root .account-settings-panel .interest-chosen-content>.interest-chosen-empty{position:absolute;left:3px;top:3px;display:block;pointer-events:none;opacity:1}
#aj-react-root .account-settings-panel .interest-chosen-content[data-has-topics]>.interest-chosen-empty{opacity:0}
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-chosen-content{height:144px}}


/* One shared fade for confirmations, including the manual close control. */
#aj-react-root .account-settings-panel .settings-save-feedback button>svg{display:block;width:20px;height:20px;margin:auto}
html[data-interface-motion=quick] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .settings-feedback{transition-duration:140ms}

#aj-react-root .account-settings-panel .settings-save-feedback .settings-feedback>div{min-width:0}
#aj-react-root .account-settings-panel .settings-save-feedback .settings-feedback-copy{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
#aj-react-root .account-settings-panel .settings-save-feedback .settings-feedback button{box-sizing:border-box;width:28px;height:28px;min-width:28px;flex:0 0 28px}
@container(max-width:600px){#aj-react-root .account-settings-panel :is(.profile-details-actions,.space-avatar-actions,.regional-settings-actions,.space-interests .space-actions,.assistant-reply-editor .assistant-preference-actions):has(>.settings-save-feedback){display:grid;grid-template-columns:minmax(0,1fr);align-items:start}#aj-react-root .account-settings-panel .settings-save-feedback{width:100%}}

/* Interests329: one scroll plane, with task actions docked outside it. */
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-fieldset{align-self:start}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-scroll{position:static;inset:auto;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto;-webkit-mask-image:none;mask-image:none;overscroll-behavior:auto}
#aj-react-root .account-settings-panel .interest-chosen-content{height:auto;min-height:98px;overflow:visible;scrollbar-gutter:auto;overscroll-behavior:auto}
#aj-react-root .account-settings-panel .interest-topic-help{position:sticky;top:0;align-self:start}
#aj-react-root .account-settings-panel>.account-settings-footer{flex:none;min-width:0;box-sizing:border-box;padding:12px 18px;border-top:1px solid #d5dfeb;background:#f7f9fd}
#aj-react-root .account-settings-panel>.account-settings-footer[hidden]{display:none!important}
#aj-react-root .account-settings-footer .interest-results-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:0;padding:0;border:0}
#aj-react-root .account-settings-footer .interest-results-actions>button{margin:0;max-width:100%}
#aj-react-root .account-settings-footer .interest-summary-jump{order:2;margin-left:auto!important;padding:8px 4px;border:0;border-radius:5px;background:transparent;box-shadow:none;color:#385b80;text-decoration:underline;text-underline-offset:3px;font-size:14px;line-height:1.4;font-weight:600}
#aj-react-root .account-settings-footer .settings-save-feedback{margin:0}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-topic-help{position:static}#aj-react-root .account-settings-panel .interest-chosen-content{min-height:144px}}
@container(max-width:620px){#aj-react-root .account-settings-panel>.account-settings-footer{padding:10px 12px}#aj-react-root .account-settings-footer .interest-results-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}#aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{grid-column:1;grid-row:1;width:auto;min-width:0;padding:10px;font-size:14px}#aj-react-root .account-settings-footer .interest-summary-jump{grid-column:2;grid-row:1;margin:0!important;font-size:13px}#aj-react-root .account-settings-footer .settings-save-feedback{grid-column:1/-1;grid-row:1;width:100%}}

@container(max-width:620px){#aj-react-root .account-settings-footer .interest-summary-jump{align-self:start}#aj-react-root .account-settings-footer .interest-results-actions:has(>.settings-save-feedback)>button{grid-row:2}}

@container(max-width:400px){#aj-react-root .account-settings-footer .interest-results-actions{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-footer .interest-summary-jump{grid-column:1;grid-row:1;justify-self:start;padding:3px 4px}#aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{grid-column:1;grid-row:2;justify-self:start}#aj-react-root .account-settings-footer .interest-results-actions:has(>.settings-save-feedback)>.interest-summary-jump{grid-row:2}#aj-react-root .account-settings-footer .interest-results-actions:has(>.settings-save-feedback)>button[type=submit]{grid-row:3}}

@media(max-height:999px){#aj-react-root .account-settings-panel .interest-topic-help{position:static}}

/* Keep the sticky guide inside the list row, before the chosen-topic summary. */
#aj-react-root .account-settings-panel .interest-topic-stage{grid-column:1/-1;display:grid;grid-template-columns:subgrid;gap:inherit;align-items:start;min-width:0}

/* Slightly larger instructions and selected-topic summary copy. */
#aj-react-root .account-settings-panel .interest-settings-card>p,
#aj-react-root .account-settings-panel .interest-settings-card .interest-selection-hint,
#aj-react-root .account-settings-panel .interest-chosen>.interest-chosen-note{font-size:16px}
#aj-react-root .account-settings-panel .interest-chosen>strong{font-size:20px}

#aj-react-root .account-settings-panel :is(.profile-details,.profile-avatar-section)>.settings-task-heading>p{font-size:16px}

#aj-react-root .account-settings-panel .regional-settings-copy>p:not([role]){font-size:16px}

/* The empty summary lives in the reserved tag area and shares its fade owner. */
#aj-react-root .account-settings-panel .interest-chosen-content{min-height:120px}
#aj-react-root .account-settings-panel .interest-chosen-content>.interest-chosen-empty{inset:3px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 4px;text-align:center;font-size:16px;line-height:1.5}
#aj-react-root .account-settings-panel .interest-chosen-empty>strong{font-size:18px;line-height:1.5;font-weight:600;color:#344e70}
#aj-react-root .account-settings-panel .interest-chosen-empty-hint{display:block;margin-top:7px;font-size:16px;line-height:1.5;color:#657189}
@container(max-width:620px){#aj-react-root .account-settings-panel .interest-chosen-content{min-height:144px}}

/* Two levels: blue group selection, warm inner-tab selection, separate surfaces. */
#aj-react-root .account-settings-panel>.settings-horizons{padding-bottom:8px;background:#edf3fa}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups{padding-bottom:8px;border-bottom:0;background:#e8eff9}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button{margin:0;border-color:transparent;border-radius:9px;--glass-confirm-ring-color:#83a6d155;--glass-confirm-border-color:#6088ba;transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,outline-color 180ms ease}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button[aria-pressed=true],
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button[aria-pressed=true]:hover{background:linear-gradient(110deg,#3b658b,#223a6c);color:#fff;border-color:#51759d;box-shadow:0 2px 4px #142c5720}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button:not(:disabled):hover{outline:1px solid #9bb4d2;outline-offset:2px;border-color:#8aa7ca}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button[aria-pressed=false]:hover{background:#dce6f5;color:#192f61;box-shadow:none}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button:focus-visible{outline:2px solid #7fa4d2;outline-offset:-3px;border-color:#6d91be}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{border-top:1px solid #b7c7dc;border-bottom-color:#c7d3e3;background:#fff;box-shadow:0 4px 8px #142c5710}
@media(forced-colors:active){#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button[aria-pressed=true]{background:Highlight;color:HighlightText;border-color:Highlight;box-shadow:none}#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button:focus-visible{outline-color:Highlight}}

@container(max-width:440px){
 #aj-react-root .account-settings-panel>.settings-horizons{padding-bottom:4px}
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups{padding-block:6px}
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button{min-height:72px;padding:6px 4px;font-size:14px;gap:4px}
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button>img{width:20px;height:20px}
 #aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs>button{min-height:44px;padding-block:6px}
}

/* One description type system for all settings tasks and nested controls. */
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--settings-description-size:16px;--settings-description-leading:1.6;--settings-description-color:#61718a;--settings-description-gap:8px}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is( :is(h2,h3,h4,legend)+p,
 .settings-task-heading>p,
 .regional-settings-copy>p,
 .interest-selection-hint,
 .interest-chosen-note,
 .interest-chosen-empty-hint,
 .interest-help-layer>p,
 .interest-delivery-options>p,
 .interest-channel-grid small,
 .interface-settings-intro>p,
 .interface-setting small,
 .interface-settings-note,
 .interface-settings-status,
 .assistant-preferences>p,
 .assistant-settings-group>p,
 .assistant-roster>p,
 .assistant-preference-toggle small,
 .assistant-preference-fields small,
 .assistant-energy-summary>small,
 .assistant-preview-entry>p,
 .assistant-reply-editor-body>p,
 .assistant-reply-editor-body>small,
 .assistant-preference-footer>p,
 .interest-saved-topics>p,
 .profile-avatar-crop-note,
 .space-field-hint):not([role]:not(.interface-settings-status)):not(.space-preferences-notice):not(.space-preferences-error):not(.account-assistant-error){font-size:var(--settings-description-size);font-weight:400;line-height:var(--settings-description-leading);color:var(--settings-description-color)}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(h2,h3,h4,legend):has(+p:not([role])){margin-bottom:var(--settings-description-gap)!important}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body :is(h2,h3,h4,legend)+p:not([role]){margin-top:0}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body .interface-setting small{margin-top:var(--settings-description-gap)}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body .assistant-preference-toggle>span{gap:var(--settings-description-gap)}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body .assistant-preference-toggle small{margin:0}
:is(#aj-react-root .account-settings-panel,#interface-settings-dialog) .account-settings-body .interest-chosen-empty-hint{margin-top:var(--settings-description-gap)}

html[data-interface-contrast=high] :is(#aj-react-root .account-settings-panel,#interface-settings-dialog){--settings-description-color:#142b46}

/* Notifications: one working grid; decorative art no longer dictates the header height. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-intro{display:block;margin:0 0 24px}
#aj-react-root .account-settings-panel .notification-intro .settings-task-heading{margin:0;min-width:0}
#aj-react-root .account-settings-panel .notification-intro .settings-task-heading>p{margin:0;max-width:760px}
#aj-react-root .account-settings-panel .interest-notification-settings>form{margin:0;min-width:0}
#aj-react-root .account-settings-panel .notification-channel-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;align-items:start}
#aj-react-root .account-settings-panel .notification-intro-art{display:block;position:static;width:240px;height:240px;object-fit:contain;justify-self:center;pointer-events:none}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{min-width:0;margin:0!important;padding:0!important;border:0!important}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options>legend.screen-reader-text{position:absolute;float:none;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;gap:16px;align-items:center;min-height:104px;margin:0;padding:18px 20px;border:1px solid #b7c7dc;border-radius:14px;background:#fff;box-shadow:0 1px 0 #e5ecf5;cursor:pointer;transition:background-color .24s ease,border-color .24s ease}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:has(input:checked){border-color:#cc955b;background:#fff8ed}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:has(input:focus-visible){outline:2px solid #365f8c;outline-offset:3px}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid .interest-channel-icon{display:block;position:static;width:44px;height:44px;stroke:#365477;stroke-width:1.5;overflow:visible;filter:drop-shadow(0 2px 0 #dce5ef)}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid label>span{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);gap:6px}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid label strong{font-size:18px;line-height:1.4}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid label small{display:block;margin:0;overflow-wrap:break-word}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid input{width:24px;height:24px;min-width:24px;min-height:24px;margin:0;accent-color:#a95012;outline-offset:4px;justify-self:end}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-email-status{margin:14px 0 0}
#aj-react-root .account-settings-panel .notification-form-footer{display:flex;justify-content:flex-start;align-items:center;margin-top:24px}
#aj-react-root .account-settings-panel .notification-form-footer>.space-actions{margin:0;max-width:360px;justify-self:end}
#aj-react-root .account-settings-panel .notification-form-footer>.space-actions>button{margin:0}
@media(hover:hover){#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:hover{background:#f3f7fd;border-color:#809bbd}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:has(input:checked):hover{background:#fff3df;border-color:#bb813f}}
@container(max-width:800px){#aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr) 180px;gap:24px}#aj-react-root .account-settings-panel .notification-intro-art{width:180px;height:180px}#aj-react-root .account-settings-panel .notification-form-footer>.space-actions{justify-self:start}}
@container(max-width:620px){#aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr);gap:0}#aj-react-root .account-settings-panel .notification-intro-art{display:none}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{grid-template-columns:40px minmax(0,1fr) 24px;gap:14px;padding:18px 16px}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid .interest-channel-icon{width:40px;height:40px}}
@container(max-width:360px){#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{grid-template-columns:32px minmax(0,1fr) 24px;gap:10px;padding:16px 12px}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label>span{grid-column:1/-1;grid-row:2}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid .interest-channel-icon{grid-column:1;grid-row:1;width:32px;height:32px}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid input{grid-column:3;grid-row:1}}
html[data-interface-motion=reduced] #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{transition:none}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{transition:none}}
@media(forced-colors:active){#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{border-color:CanvasText;box-shadow:none}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:has(input:checked){border-color:Highlight}#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label:has(input:focus-visible){outline-color:Highlight}}

/* Cabinet settings starts directly with the two navigation levels. */
#aj-react-root .account-settings-panel>.account-settings-heading{display:none}

/* Settings348: a full workspace; expanded tools retain one overflow fallback. */
#aj-react-root .account-experience[data-account-section=settings]:has(.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-rail{display:none}
#aj-react-root .account-experience[data-account-section=settings]:has(.account-settings-panel):not(:has(#space-customization:not([hidden])))>.space-layout{grid-template-columns:minmax(0,1fr)}
#aj-react-root .account-experience[data-account-section=settings]:has(.account-settings-panel):not(:has(#space-customization:not([hidden]))) .space-main{max-width:none}
#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:10px}
#aj-react-root .account-experience[data-account-section=settings]:has(.account-settings-panel):not(:has(#space-customization:not([hidden]))) .account-settings-panel[data-glass-stable-size]{max-height:none}
#aj-react-root .account-settings-panel>.settings-horizons{padding-bottom:4px;flex:none}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups{padding:4px 8px;gap:8px}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button{min-height:44px;padding:6px 12px}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{padding:4px 8px;gap:6px}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs>button{min-height:44px;padding:6px 8px}
#aj-react-root .account-settings-panel .account-settings-body{padding:12px;scrollbar-gutter:auto}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]:not([hidden]){min-width:0}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:18px!important}
#aj-react-root .account-settings-panel :is(.settings-task-heading h2,.interface-settings-intro h2,.regional-settings-copy>h2,.assistant-preferences>h2,.interest-task-intro>h2){font-size:24px!important;line-height:1.3!important}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:auto 1fr;gap:14px 12px;padding:18px!important;align-self:stretch;align-items:start}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:18px!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-heading{grid-column:1;grid-row:1}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:1/-1;grid-row:2;max-width:none}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{grid-column:2;grid-row:1;width:80px;height:80px;align-self:start}
#aj-react-root .account-settings-panel .profile-details .profile-details-form{max-width:none;gap:14px}
#aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:90px minmax(0,1fr);gap:14px}
#aj-react-root .account-settings-panel .profile-avatar-portrait{width:90px;height:90px}
#aj-react-root .account-settings-panel .profile-avatar-drop{padding:10px}
#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:1fr 1fr;gap:8px 12px}
#aj-react-root .account-settings-panel .profile-avatar-specs>div:last-child{grid-column:1/-1}
#aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 200px;gap:24px}
#aj-react-root .account-settings-panel .regional-settings-art{width:200px;height:200px}
#aj-react-root .account-settings-panel .regional-settings-copy>p:not([role]){margin-bottom:18px;max-width:80ch}
#aj-react-root .account-settings-panel .regional-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:none}
#aj-react-root .account-settings-panel .regional-setting-field{max-width:none;min-width:0;padding:0!important;border:0;grid-template-columns:minmax(0,1fr);align-content:start}
#aj-react-root .account-settings-panel .regional-settings-actions{grid-column:1/-1;margin:0;padding:0}
#aj-react-root .account-settings-panel .interface-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#aj-react-root .account-settings-panel .interface-settings-intro{grid-column:1/-1;margin:0}
#aj-react-root .account-settings-panel .interface-settings-intro>p{max-width:none}
#aj-react-root .account-settings-panel .interface-settings-group{display:block;margin:0;padding:16px;min-width:0}
#aj-react-root .account-settings-panel .interface-settings-group>h3{margin:0 0 12px;font-size:19px}
#aj-react-root .account-settings-panel .interface-settings-intro+.interface-settings-group{padding-top:16px}
#aj-react-root .account-settings-panel .interface-settings-group .interface-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#aj-react-root .account-settings-panel .interface-setting-card{padding:14px;gap:10px;align-content:start}
#aj-react-root .account-settings-panel .interface-settings-sample{grid-column:1/-1;padding:12px 14px;margin:0}
#aj-react-root .account-settings-panel .interface-settings-note{margin:12px 0 0;max-width:none}
#aj-react-root .account-settings-panel .interface-preferences>.interface-settings-note{grid-column:1/-1;margin:0}
#aj-react-root .account-settings-panel .interface-settings-actions{grid-column:1/-1;margin:0;display:flex;align-items:center;gap:16px;justify-content:space-between}
#aj-react-root .account-settings-panel .interface-settings-actions p{margin:0}
#aj-react-root .account-settings-panel :is([data-settings-tab=reading],[data-settings-tab=search]) .interface-settings-group{grid-column:1/-1}
#aj-react-root .account-settings-panel [data-settings-tab=reading] .interface-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#aj-react-root .account-settings-panel [data-settings-tab=reading] .interface-settings-sample{grid-column:auto;align-self:stretch}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-intro{margin-bottom:18px}
#aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}
#aj-react-root .account-settings-panel .notification-intro-art{width:220px;height:220px}
#aj-react-root .account-settings-panel .notification-form-footer{margin-top:18px}
/* The full list, active benefit and selection share one row. */
#aj-react-root .account-settings-panel .interest-task-intro{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:0 20px;align-items:start;margin-bottom:12px}
#aj-react-root .account-settings-panel .interest-task-intro>h2{grid-column:1;grid-row:1/3;margin:0}
#aj-react-root .account-settings-panel .interest-task-intro>p{grid-column:2;margin:0;color:var(--settings-description-color);font-size:16px;font-weight:400;line-height:1.6}
#aj-react-root .account-settings-panel .interest-settings-card .interest-explorer{grid-template-columns:minmax(0,.98fr) minmax(0,1.1fr) minmax(0,.9fr);gap:14px;align-items:stretch}
#aj-react-root .account-settings-panel .interest-topic-stage{display:contents}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-fieldset{grid-column:1;grid-row:1;align-self:start}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options.glass-result-list{gap:0}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:44px;padding:8px 10px;gap:10px}
#aj-react-root .account-settings-panel .interest-settings-card .interest-topic-tile>.interest-topic-name{font-size:18px;line-height:1.4}
#aj-react-root .account-settings-panel .interest-topic-help{grid-column:2;grid-row:1;position:static;align-self:stretch;padding:14px;gap:0;min-width:0}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{align-self:flex-start;margin:0 0 14px;padding:7px 10px;font-size:17px;line-height:1.4}
#aj-react-root .account-settings-panel .interest-topic-help-content{grid-template-rows:repeat(4,auto);flex:1}
#aj-react-root .account-settings-panel .interest-help-layer{grid-area:1/1/5/2;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:subgrid;column-gap:10px}
#aj-react-root .account-settings-panel .interest-help-layer>h4{grid-column:1;grid-row:1;align-self:center;font-size:22px;line-height:1.25;margin:0 0 10px}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{grid-column:2;grid-row:1;width:104px;height:104px;align-self:start}
#aj-react-root .account-settings-panel .interest-help-layer>p{grid-column:1/-1;grid-row:2;margin:0}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{grid-column:1/-1;grid-row:4;align-self:end;margin:14px 0 0;gap:6px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-tags>li{font-size:14px;padding:4px 7px;box-shadow:none}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{margin:14px 0 0;padding-top:10px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-keyboard-help{font-size:13px;gap:6px;margin-top:12px;padding-top:10px}
#aj-react-root .account-settings-panel .interest-chosen{grid-column:3;grid-row:1;align-content:start;padding:12px;gap:12px;min-width:0}
#aj-react-root .account-settings-panel .interest-chosen>.interest-chosen-note{display:none}
#aj-react-root .account-settings-panel .interest-chosen-content{min-height:260px}
#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags{gap:7px;align-content:flex-start}
#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{font-size:16px;line-height:1.4;padding:4px 8px;box-shadow:none}
#aj-react-root .account-settings-panel .interest-chosen-empty-hint{max-width:24ch}
#aj-react-root .account-settings-panel>.account-settings-footer{padding:8px 14px}
#aj-react-root .account-settings-footer .interest-results-actions{flex-wrap:nowrap;gap:12px}
#aj-react-root .account-settings-footer .interest-footer-note{flex:1;max-width:64ch;margin:0;color:#61718a;font-size:16px;line-height:1.6}
#aj-react-root .account-settings-footer .interest-summary-jump{flex:none}
/* Personal assistant views share the original controller, persistence and drafts. */
#aj-react-root .account-settings-panel .assistant-preferences>h2{margin:0 0 8px}
#aj-react-root .account-settings-panel .assistant-preferences>p{margin:0 0 14px}
#aj-react-root .account-settings-panel .assistant-view-tabs{display:flex;gap:6px;padding:4px;border:1px solid #c7d3e3;border-radius:12px;background:#edf3fa;margin-bottom:14px}
#aj-react-root .account-settings-panel .assistant-view-tabs>button{flex:1;min-height:44px;margin:0;padding:8px 12px;border:1px solid transparent;border-radius:8px;background:transparent;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;color:#526781;cursor:pointer}
#aj-react-root .account-settings-panel .assistant-view-tabs>button[aria-selected=true]{border-color:#a8bed9;background:#fff;color:#192f61;box-shadow:0 1px 3px #16365812}
#aj-react-root .account-settings-panel .assistant-view-tabs>button:focus-visible{outline:2px solid #527dab;outline-offset:1px}
#aj-react-root .account-settings-panel .assistant-character-view{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start}
#aj-react-root .account-settings-panel .assistant-roster{margin:0}
#aj-react-root .account-settings-panel .assistant-roster>p{margin:0 0 12px}
#aj-react-root .account-settings-panel .assistant-choice-card{padding:12px;gap:8px}
#aj-react-root .account-settings-panel .assistant-choice-avatar{width:76px;height:76px}
#aj-react-root .account-settings-panel .assistant-choice-avatar>img{width:72px;height:72px}
#aj-react-root .account-settings-panel .assistant-secret-avatar{width:70px;height:70px}
#aj-react-root .account-settings-panel .assistant-secret-avatar>svg{width:68px;height:68px}
#aj-react-root .account-settings-panel .assistant-settings-group{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;margin:0;border:1px solid #c6d3e4;border-radius:14px;background:#f8faff}
#aj-react-root .account-settings-panel .assistant-settings-group>:not(h3){grid-column:auto}
#aj-react-root .account-settings-panel .assistant-settings-group>h3{grid-column:1/-1;margin:0;font-size:19px}
#aj-react-root .account-settings-panel .assistant-current-state p{margin:0}
#aj-react-root .account-settings-panel .assistant-behavior-view{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px 24px}
#aj-react-root .account-settings-panel .assistant-behavior-view .assistant-preference-fields{margin:0}
#aj-react-root .account-settings-panel .assistant-behavior-view>.assistant-preferences-motion-note{grid-column:1/-1;margin:0}
#aj-react-root .account-settings-panel .assistant-signals-view{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px 20px}
#aj-react-root .account-settings-panel .assistant-settings-group .assistant-preference-toggle{padding:0;align-items:start;gap:12px;min-width:0}
#aj-react-root .account-settings-panel .assistant-preference-toggle input{flex:none;min-width:22px;min-height:22px}
#aj-react-root .account-settings-panel .assistant-preference-footer{margin:14px 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0}
#aj-react-root .account-settings-panel .assistant-preference-footer p{margin:0}
#aj-react-root .account-settings-panel :is(.assistant-character-view,.assistant-behavior-view,.assistant-signals-view)[hidden]{display:none!important}
#aj-react-root .account-settings-panel .assistant-admin-tools :is(.assistant-preview-entry,.assistant-reply-editor){padding:16px;margin-bottom:14px}
@container account-primary (max-width:950px){
 #aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 140px;gap:16px}
 #aj-react-root .account-settings-panel .regional-settings-art{display:block;width:140px;height:140px}
 #aj-react-root .account-settings-panel .interest-settings-card .interest-explorer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interest-settings-card .interest-topic-fieldset{grid-column:1/-1;grid-row:1}
 #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
 #aj-react-root .account-settings-panel .interest-topic-help{grid-column:1;grid-row:2}
 #aj-react-root .account-settings-panel .interest-chosen{grid-column:2;grid-row:2}
 #aj-react-root .account-settings-panel .interest-chosen-content{min-height:180px}
 #aj-react-root .account-settings-panel .interest-task-intro{grid-template-columns:200px minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interest-topic-help .interest-keyboard-help{display:none}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-grid{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-character-view{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-current-state{grid-template-columns:1fr auto}
 #aj-react-root .account-settings-panel .assistant-current-state>.assistant-energy-summary{grid-row:2/4}
 #aj-react-root .account-settings-panel .assistant-current-state>.assistant-timezone-note{grid-column:2}
 #aj-react-root .account-settings-panel .assistant-choice-card{display:grid;grid-template-columns:60px minmax(0,1fr);text-align:left;gap:4px 10px}
 #aj-react-root .account-settings-panel .assistant-choice-avatar{width:60px;height:60px;grid-row:1/3}
 #aj-react-root .account-settings-panel .assistant-choice-avatar>img{width:58px;height:58px}
 #aj-react-root .account-settings-panel :is(.assistant-secret-avatar,.assistant-secret-avatar>svg){width:56px;height:56px}
 #aj-react-root .account-settings-panel .assistant-choice-status{justify-self:start;margin:0}
}
@container account-primary (max-width:700px){
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:repeat(3,minmax(0,1fr))}
 #aj-react-root .account-settings-panel .profile-avatar-specs>div:last-child{grid-column:auto}
 #aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .regional-settings-art{display:none}
 #aj-react-root .account-settings-panel .interest-task-intro{display:block}
 #aj-react-root .account-settings-panel .interest-task-intro>p:first-of-type{margin-top:8px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{font-size:20px}
 #aj-react-root .account-settings-panel .interest-chosen-content{min-height:240px}
 #aj-react-root .account-settings-panel .interest-chosen>.interest-chosen-note{display:block}
 #aj-react-root .account-settings-footer .interest-footer-note{display:none}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #aj-react-root .account-settings-panel .assistant-signals-view{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-current-state{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-current-state>.assistant-energy-summary{grid-row:auto}
 #aj-react-root .account-settings-panel .assistant-current-state>.assistant-timezone-note{grid-column:auto}
 #aj-react-root .account-settings-panel .assistant-preference-footer{align-items:start}
}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:16px!important}
 #aj-react-root .account-settings-panel .interest-settings-card .interest-explorer{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interest-topic-help,#aj-react-root .account-settings-panel .interest-chosen{grid-column:1;grid-row:auto}
 #aj-react-root .account-settings-panel .interest-chosen-content{min-height:144px}
 #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .regional-settings-form{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .notification-intro-art{display:none}
 #aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interface-settings-group .interface-settings-grid,#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-grid,#aj-react-root .account-settings-panel [data-settings-tab=reading] .interface-settings-grid{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-behavior-view{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .assistant-view-tabs{flex-direction:column}
 #aj-react-root .account-settings-panel .assistant-roster>ul{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interface-settings-actions,#aj-react-root .account-settings-panel .assistant-preference-footer{flex-direction:column;align-items:start}
 #aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr)}
}
/* Match the shell's original specificity so height follows the actual viewport. */
#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:10px}
#aj-react-root .account-settings-panel .assistant-preferences>p{max-width:none}
#aj-react-root .account-settings-panel .assistant-current-state{grid-template-columns:minmax(0,1fr) auto;gap:10px 14px}
#aj-react-root .account-settings-panel .assistant-current-state>.assistant-energy-summary{grid-column:1/-1;grid-row:2;margin:0}
#aj-react-root .account-settings-panel .assistant-current-state>button{grid-column:2;grid-row:3;align-self:center}
#aj-react-root .account-settings-panel .assistant-current-state>.assistant-timezone-note{grid-column:1;grid-row:3}
#aj-react-root .account-settings-panel .assistant-preference-footer>button{flex:none;max-width:320px;margin:0;min-height:44px;padding:8px 12px;font:inherit;font-weight:600;border:1px solid #b7c7dc;border-radius:9px;background:#fff;color:#294567}
#aj-react-root .account-settings-panel .interest-settings-card>form{margin:0}
@container account-primary (max-width:700px){#aj-react-root .account-settings-panel .assistant-current-state{grid-template-columns:minmax(0,1fr)}#aj-react-root .account-settings-panel .assistant-current-state>:is(button,.assistant-timezone-note,.assistant-energy-summary){grid-column:1;grid-row:auto}}
#aj-react-root .account-settings-panel .interest-task-intro>:is(h2,p){margin:0!important}
#aj-react-root .account-settings-panel .interest-help-layer{grid-template-columns:minmax(0,1fr) 80px}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:80px;height:80px}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{margin-top:10px;gap:5px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-tags>li{font-size:14px;padding:3px 5px;line-height:1.35}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:10px;padding-top:8px;font-size:12px;line-height:1.3}
#aj-react-root .account-settings-panel .interest-topic-help .interest-key-hint{font-size:12px;gap:4px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-key-hint kbd{font-size:12px;min-height:20px;padding:1px 4px}
#aj-react-root .account-settings-panel .interface-settings-actions,#aj-react-root .account-settings-panel .assistant-preference-footer{flex-direction:row}
#aj-react-root .account-settings-panel .interface-settings-actions .interface-settings-status{margin:0;padding:0;border:0;min-height:0;max-width:none}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-grid{grid-template-columns:minmax(0,1fr);gap:10px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-setting-card{padding:10px 12px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-setting-card:not(.interface-toggle-setting){grid-template-columns:minmax(0,1fr) 180px;grid-template-rows:auto;align-items:center;gap:14px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-setting-card:not(.interface-toggle-setting)>.settings-select{min-width:0}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-sample{padding:10px 12px}
@container account-primary (max-width:580px){#aj-react-root .account-settings-panel .interface-settings-actions,#aj-react-root .account-settings-panel .assistant-preference-footer{flex-direction:column}#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-setting-card:not(.interface-toggle-setting){grid-template-columns:minmax(0,1fr)}}
/* Height is reclaimed from chrome and empty space, never from description type. */
#aj-react-root:has(.account-experience[data-account-section=settings] .account-settings-panel) .account-header{min-height:64px;height:64px;padding-block:8px;box-sizing:border-box}
#aj-react-root:has(.account-experience[data-account-section=settings] .account-settings-panel){--account-header-height:64px}
#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:6px}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups,#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{padding-block:0}
#aj-react-root .account-settings-panel .account-settings-body{padding:8px}
#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:12px!important}
#aj-react-root .account-settings-panel .interface-settings-group{padding:12px}
#aj-react-root .account-settings-panel .interface-settings-intro+.interface-settings-group{padding-top:12px}
#aj-react-root .account-settings-panel .interface-settings-sample{font-size:16px;line-height:1.6}
#aj-react-root .account-settings-panel .interface-settings-sample>strong{display:inline;font-size:14px}
#aj-react-root .account-settings-panel .interface-settings-sample>p{display:inline;font-size:16px;line-height:1.6;margin:0 0 0 8px}
#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:40px;padding-block:6px}
#aj-react-root .account-settings-panel .interest-topic-help{padding:10px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{font-size:16px;padding:5px 8px;margin-bottom:10px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{gap:4px 8px}
@media(pointer:coarse){#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:44px}}
@media(min-height:900px){#aj-react-root .account-settings-panel .account-settings-body{padding:16px}#aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:18px!important}#aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:48px;padding-block:10px}}
body:has([data-account-scroll]):has(.account-desktop-menu):has(.account-experience[data-account-section=settings] .account-settings-panel){grid-template-rows:64px minmax(0,1fr)}
#aj-react-root:has(.account-experience[data-account-section=settings] .account-settings-panel) .account-header-inner{min-height:0;height:100%;padding:0 24px;box-sizing:border-box}
#aj-react-root .account-settings-panel>.settings-horizons :is(.settings-horizons-groups,.account-settings-tabs)>button{box-sizing:border-box}
#aj-react-root .account-settings-panel .interface-settings-sample>p{display:inline!important;margin:0!important}
#aj-react-root .account-settings-panel .interface-settings-group .interface-settings-sample{font-size:16px;padding:8px 10px}
#aj-react-root .account-settings-panel .assistant-preferences>p{max-width:none!important}
#aj-react-root .account-settings-panel .assistant-current-state{padding:12px;gap:8px 12px}
#aj-react-root .account-settings-panel .assistant-current-state>.assistant-energy-summary{margin:0!important}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{min-height:0}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{gap:12px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-group{padding:10px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-intro+.interface-settings-group{padding-top:10px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-note{margin-top:8px}
#aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-group>h3{margin-bottom:8px}
#aj-react-root .account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))) .account-settings-panel[data-glass-stable-size]{max-height:none}
@media(min-height:900px){#aj-react-root .account-settings-panel .account-settings-body{padding:12px}}
@media(min-height:900px){#aj-react-root .account-settings-panel .account-settings-body{padding:8px}}
@media(max-height:800px){
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{gap:8px}
 #aj-react-root .account-settings-panel .assistant-preferences>p{margin-bottom:10px}
 #aj-react-root .account-settings-panel .assistant-view-tabs{margin-bottom:10px}
 #aj-react-root .account-settings-panel .assistant-preference-footer{margin-top:10px}
 #aj-react-root .account-settings-panel .assistant-current-state{padding:10px;gap:6px 12px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=recommendations]>.space-preferences{padding:8px!important}
 #aj-react-root .account-settings-panel .interest-help-layer{grid-template-columns:minmax(0,1fr) 64px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:64px;height:64px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{font-size:20px;line-height:1.25}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{margin-top:6px}
 #aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{height:auto;min-height:0;padding:4px 8px;line-height:1.4}
 #aj-react-root .account-settings-panel .interest-chosen{padding:10px;gap:8px}
 #aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags{gap:5px}
 #aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{padding-block:3px}
}
#aj-react-root .account-settings-panel .interface-settings-sample>strong::after{content:': '}
@media(max-height:800px){#aj-react-root .account-settings-panel .account-settings-body{padding:7px}#aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:4px}}
@media(min-height:850px){@container account-primary (min-width:1100px){
 #aj-react-root .account-settings-panel .interest-help-layer{grid-template-columns:minmax(0,1fr) 160px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:160px;height:160px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{font-size:24px}
 #aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{font-size:18px;padding:5px 9px}
}}
@media(max-height:800px){#aj-react-root .account-settings-panel .account-settings-body{padding:6px}}
@media(min-height:900px){@container account-primary (max-width:950px){
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=recommendations]>.space-preferences{padding:12px!important}
 #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:44px;padding-block:8px}
}}
#aj-react-root .account-settings-panel #space-connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0!important;padding:16px!important;border:1px solid var(--settings-card-line)!important}
#aj-react-root .account-settings-panel #space-connections>:is(h2,p){grid-column:1/-1;margin:0}
#aj-react-root .account-settings-panel #space-connections>form{min-width:0;margin:0;padding:16px;border:1px solid #c5d2e3;border-radius:12px;background:#fff}
@container account-primary (max-width:580px){#aj-react-root .account-settings-panel #space-connections{grid-template-columns:minmax(0,1fr)}}

/* Settings350: breathing room, inset navigation and the approved whole-card art axis. */
#aj-react-root .account-settings-panel{--settings-frame-gap:clamp(12px,calc(4dvh - 16px),24px)}
#aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:clamp(12px,calc(4dvh - 16px),24px)}
#aj-react-root .account-settings-panel>.settings-horizons{padding-bottom:4px}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups{padding:6px 12px;gap:10px}
#aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button{margin:0;min-height:44px;padding:8px 12px;box-sizing:border-box}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{padding:6px 12px;min-height:0;gap:8px}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs>button{min-height:44px;padding:8px 12px;box-sizing:border-box}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs[data-settings-tab-count="2"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs[data-settings-tab-count="3"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
#aj-react-root .account-settings-panel .account-settings-body{padding:12px}
/* Save, count and explanation form one left-to-right action group, away from the lead widget. */
#aj-react-root .account-settings-panel>.account-settings-footer{padding:12px 132px 12px 20px}
#aj-react-root .account-settings-footer .interest-results-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 18px}
#aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{order:0;flex:none}
#aj-react-root .account-settings-footer .interest-summary-jump{order:1;margin:0!important;flex:none;align-self:center;font-size:15px}
#aj-react-root .account-settings-footer .interest-footer-note{order:2;flex:1 1 280px;max-width:none;margin:0;font-size:16px;line-height:1.6}
#aj-react-root .account-settings-footer .settings-save-feedback{order:-1;flex-basis:100%}
#aj-react-root .account-settings-panel :is(.interface-settings-actions,.assistant-preference-footer){justify-content:flex-start;gap:16px 24px;padding-right:120px;box-sizing:border-box}
#aj-react-root .account-settings-panel .settings-task-heading{max-width:none}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr) 160px;grid-template-rows:auto minmax(0,1fr);gap:18px 22px;padding:22px!important;align-items:start}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:22px!important}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-heading{grid-column:1;grid-row:1}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:1;grid-row:2;max-width:none;min-width:0}
#aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{grid-column:2;grid-row:1/3;width:160px;height:200px;align-self:center;justify-self:end;content:""}
#aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:96px minmax(0,1fr);gap:16px}
#aj-react-root .account-settings-panel .profile-avatar-portrait{width:96px;height:96px}
#aj-react-root .account-settings-panel .profile-avatar-drop{min-height:96px;padding:12px;box-sizing:border-box}
#aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:132px minmax(70px,1fr);gap:8px 12px}
#aj-react-root .account-settings-panel .profile-avatar-specs>div:last-child{grid-column:1/-1;padding:8px 0 0;border-left:0;border-top:1px solid #d6e0ee}
#aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 220px;gap:24px}
#aj-react-root .account-settings-panel .regional-settings-art{display:block;width:220px;height:240px;align-self:center;justify-self:end}
#aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr) 240px;gap:28px}
#aj-react-root .account-settings-panel .notification-intro-art{width:240px;height:240px}
@media(min-height:850px){
 #aj-react-root:has(.account-experience[data-account-section=settings] .account-settings-panel) .account-header{height:76px;min-height:76px;padding-block:10px}
 body:has([data-account-scroll]):has(.account-desktop-menu):has(.account-experience[data-account-section=settings] .account-settings-panel){grid-template-rows:76px minmax(0,1fr)}
 #aj-react-root .account-settings-panel .account-settings-body{padding:18px}
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups,#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{padding:8px 16px}
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups>button,#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs>button{min-height:48px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:24px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding:26px!important;gap:20px 24px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:26px!important}
 #aj-react-root .account-settings-panel :is(.interface-settings-group,.assistant-settings-group){padding:20px}
 #aj-react-root .account-settings-panel .interface-settings-intro+.interface-settings-group{padding-top:20px}
 #aj-react-root .account-settings-panel .interface-preferences{gap:18px}
 #aj-react-root .account-settings-panel .interest-task-intro{margin-bottom:20px}
 #aj-react-root .account-settings-panel .interest-topic-help,#aj-react-root .account-settings-panel .interest-chosen{padding:20px}
 #aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags{gap:8px}
 #aj-react-root .account-settings-panel .notification-form-footer{margin-top:24px}
}
@container account-primary (min-width:1200px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr) 220px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{width:220px;height:260px}
 #aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-template-columns:112px minmax(0,1fr)}
 #aj-react-root .account-settings-panel .profile-avatar-portrait{width:112px;height:112px}
}
/* Tall workstations can use the corporate name-above-photo composition without shrinking fields. */
@media(min-height:1000px){@container account-primary (min-width:1100px){
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr);gap:18px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr) 240px;gap:16px 28px;padding:22px 26px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:22px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{width:240px;height:220px}
 #aj-react-root .account-settings-panel .profile-details .profile-details-form{display:grid;grid-template-columns:minmax(0,480px) auto;grid-template-areas:'name name' 'registration actions';gap:12px 20px;justify-content:start;align-items:center}
 #aj-react-root .account-settings-panel .profile-detail-field{grid-area:name;max-width:480px}
 #aj-react-root .account-settings-panel .profile-registration-slot{grid-area:registration}
 #aj-react-root .account-settings-panel .profile-details-actions{grid-area:actions}
 #aj-react-root .account-settings-panel .profile-avatar-form{display:grid;grid-template-columns:minmax(0,520px) minmax(230px,1fr);gap:14px 24px;align-items:start}
 #aj-react-root .account-settings-panel .profile-avatar-upload-row{grid-column:1;grid-row:1}
 #aj-react-root .account-settings-panel .profile-avatar-requirements{grid-column:2;grid-row:1/3}
 #aj-react-root .account-settings-panel .profile-avatar-form>.space-avatar-actions{grid-column:1;grid-row:2}
 #aj-react-root .account-settings-panel .profile-avatar-form>:is(.profile-avatar-selection,.profile-avatar-status){grid-column:1/-1}
}}
@container account-primary (max-width:1100px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{display:none}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:1;grid-row:2}
 #aj-react-root .account-settings-panel .regional-settings-art{width:160px;height:180px}
 #aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 160px}
}
@media(max-height:760px){
 #aj-react-root .account-settings-panel>.settings-horizons>.settings-horizons-groups,#aj-react-root .account-settings-panel>.settings-horizons>.account-settings-tabs{padding:4px 12px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr);padding:16px!important;gap:14px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:16px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{display:none}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section>.settings-task-content{grid-column:1;grid-row:2}
 #aj-react-root .account-settings-panel .account-settings-body{padding:6px}
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:4px}
 #aj-react-root .account-settings-panel>.account-settings-footer{padding:8px 128px 8px 14px}
 #aj-react-root .account-settings-panel .interest-topic-help{padding:7px}
 #aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{margin-bottom:8px}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{gap:6px}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-group>h3{margin-bottom:6px}
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-settings-note{margin-top:6px}
}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel>.account-settings-footer{padding-right:116px}
 #aj-react-root .account-settings-footer .interest-footer-note{display:none}
 #aj-react-root .account-settings-panel .interest-chosen>.interest-chosen-note{display:block}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=profile]:not([hidden]){grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel :is(.interface-settings-actions,.assistant-preference-footer){flex-wrap:wrap;padding-right:108px}
 #aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr) 160px;gap:20px}
 #aj-react-root .account-settings-panel .notification-intro-art{width:160px;height:180px}
}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-panel>.account-settings-footer{padding:12px 108px 12px 14px}
 #aj-react-root .account-settings-footer .interest-results-actions{gap:8px;flex-direction:column;align-items:flex-start}
 #aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{font-size:15px;padding:10px;min-width:0}
 #aj-react-root .account-settings-footer .interest-summary-jump{align-self:flex-start}
 #aj-react-root .account-settings-panel .settings-region-card,#aj-react-root .account-settings-panel .notification-channel-layout{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .regional-settings-art,#aj-react-root .account-settings-panel .notification-intro-art{display:none}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding:18px!important}
 #aj-react-root .account-settings-panel .profile-avatar-specs{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .profile-avatar-specs>div{grid-column:1;padding:8px 0;border-left:0;border-top:1px solid #d6e0ee}
}
@media(min-height:1000px){@container account-primary (min-width:1100px){
 #aj-react-root .account-settings-panel .profile-details .profile-details-form{grid-template-columns:auto minmax(0,1fr);grid-template-areas:'name name' 'actions registration';max-width:560px}
 #aj-react-root .account-settings-panel .profile-avatar-form{grid-template-columns:minmax(0,520px) minmax(230px,440px);justify-content:start}
}}
@media(min-height:850px) and (max-height:999px){@container account-primary (min-width:1100px){
 #aj-react-root .account-settings-panel .profile-details>.settings-task-content{display:flex;flex-direction:column;height:100%;min-height:0}
 #aj-react-root .account-settings-panel .profile-details .profile-details-form{flex:1;height:100%}
 #aj-react-root .account-settings-panel [data-settings-tab=profile] .profile-details .profile-details-actions{margin-top:auto!important}
}}
@media(min-height:850px) and (max-height:999px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:16px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab=recommendations]>.space-preferences{padding:20px!important}
 #aj-react-root .account-settings-panel .interest-help-layer{grid-template-columns:minmax(0,1fr) 128px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:128px;height:128px}
}
@container account-primary (min-width:800px) and (max-width:1200px){
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 #aj-react-root .account-settings-panel .assistant-character-view{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
}
@media(max-height:849px){
 #aj-react-root .account-workspace-scroll>main.account-experience[data-account-section=settings]:has(.space-main>.space-widget>.account-settings-panel):not(:has(#space-customization:not([hidden]))){padding-block:12px}
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:6px}
 #aj-react-root .account-settings-panel .interest-task-intro{margin-bottom:8px}
}
@media(max-height:760px){
 #aj-react-root .account-settings-panel>.settings-horizons{padding-bottom:0}
 #aj-react-root .account-settings-panel .account-settings-body{padding:4px}
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:4px}
 #aj-react-root .account-settings-panel .assistant-view-tabs{padding:2px;margin-bottom:8px}
 #aj-react-root .account-settings-panel .assistant-preferences>p{margin-bottom:8px}
 #aj-react-root .account-settings-panel .assistant-preference-footer{margin-top:8px}
}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel [data-settings-tab=appearance] .interface-preferences{grid-template-columns:minmax(0,1fr)}
}
@media(min-height:761px) and (max-height:849px){
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=appearance]:not([hidden])){padding:6px}
 #aj-react-root .account-settings-panel .account-settings-body:has([data-settings-tab=recommendations]:not([hidden])){padding:3px}
}
@media(max-height:760px){#aj-react-root .account-settings-panel .interest-chosen .interest-selected-tags>li{padding-block:2px}}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel .account-settings-body{padding:12px}
 #aj-react-root .account-settings-panel .account-settings-body>.glass-panel-stack>[data-settings-tab]>.space-preferences{padding:18px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{padding:18px!important}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:18px!important}
 #aj-react-root .account-settings-panel .interest-topic-help,#aj-react-root .account-settings-panel .interest-chosen{padding:14px}
 #aj-react-root .account-settings-panel .interest-settings-card .space-interest-options>.interest-topic-tile{min-height:44px;padding-block:8px}
}
/* When two profile cards cannot hold a real form plus full art, preserve the form width. */
@media(max-height:999px){@container account-primary (max-width:1400px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.settings-task-section::after{display:none}
}}

/* Profile351: optical balance for the horizontal identity and taller portrait artwork. */
@media(min-height:761px) and (max-height:999px){@container account-primary (min-width:1401px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section.profile-details{grid-template-columns:minmax(0,1fr) 280px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.profile-details::after{width:280px;height:260px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section.profile-avatar-section{grid-template-columns:minmax(0,1fr) 260px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.profile-avatar-section::after{width:260px;height:260px}
}}
@media(min-height:1000px){@container account-primary (min-width:1101px){
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section.profile-details{grid-template-columns:minmax(0,1fr) 308px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.profile-details::after{width:308px;height:240px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.space-preferences.settings-task-section.profile-avatar-section{grid-template-columns:minmax(0,1fr) 284px}
 #aj-react-root .account-settings-panel [data-settings-tab=profile]>.profile-avatar-section::after{width:284px;height:240px}
}}

/* Regional352: a readable illustration and aligned label/control/hint rows. */
#aj-react-root .account-settings-panel .regional-settings-copy{max-width:760px}
#aj-react-root .account-settings-panel .regional-setting-field>label{margin:0}
#aj-react-root .account-settings-panel .regional-setting-field .settings-select-trigger{box-sizing:border-box;min-height:56px;align-self:stretch}
@container account-primary (min-width:681px){
 #aj-react-root .account-settings-panel .regional-settings-form{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto auto auto;column-gap:16px;row-gap:10px}
 #aj-react-root .account-settings-panel .regional-setting-field{display:grid;grid-row:1/4;grid-template-rows:subgrid;align-content:normal;row-gap:10px}
 #aj-react-root .account-settings-panel .regional-setting-field:first-of-type{grid-column:1}
 #aj-react-root .account-settings-panel .regional-setting-field:nth-of-type(2){grid-column:2}
 #aj-react-root .account-settings-panel .regional-setting-field>label{grid-row:1}
 #aj-react-root .account-settings-panel .regional-setting-field>:is(select,.settings-native-choice){grid-row:2;align-self:stretch;min-height:56px}
 #aj-react-root .account-settings-panel .regional-setting-field .settings-select-trigger{height:100%;min-height:56px}
 #aj-react-root .account-settings-panel .regional-setting-field>.space-field-hint{grid-row:3;margin:0}
 #aj-react-root .account-settings-panel .regional-settings-actions{grid-row:4;margin-top:8px}
}
@container account-primary (max-width:680px){
 #aj-react-root .account-settings-panel .regional-settings-form{grid-template-columns:minmax(0,1fr)}
}
@container account-primary (min-width:1101px){
 #aj-react-root .account-settings-panel .settings-region-card{grid-template-columns:minmax(0,1fr) 280px}
 #aj-react-root .account-settings-panel .regional-settings-art{width:280px;height:280px}
}

/* Interests354: instructions share the guide's exact horizontal starting edge. */
@container account-primary (min-width:951px){
 #aj-react-root .account-settings-panel .interest-task-intro{grid-template-columns:minmax(0,.98fr) minmax(0,1.1fr) minmax(0,.9fr);column-gap:14px}
 #aj-react-root .account-settings-panel .interest-task-intro>p{grid-column:2/-1}
}

/* Selected355: a quiet count control with an explicit numeric badge. */
#aj-react-root .account-settings-footer .interest-summary-jump{display:inline-flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;min-height:44px;padding:7px 12px;border:1px solid #c5d3e5;border-radius:11px;background:#eef4fc;box-shadow:inset 0 1px 0 #ffffffb3;color:#385579;text-decoration:none;font-size:15px;line-height:1.4;font-weight:600;white-space:nowrap}
#aj-react-root .account-settings-footer .interest-count-value{display:inline-grid;place-items:center;box-sizing:border-box;min-width:28px;height:28px;padding:0 6px;border:1px solid #294a73;border-radius:8px;background:linear-gradient(110deg,#3b658b,#263e6b);color:#fff;font-size:16px;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}
#aj-react-root .account-settings-footer .interest-summary-jump:focus-visible{outline:2px solid #6a89af;outline-offset:3px}
@media(hover:hover){#aj-react-root .account-settings-footer .interest-summary-jump:hover{border-color:#90a9c7;background:#e5eef9}}
@container account-primary (max-width:580px){#aj-react-root .account-settings-footer .interest-summary-jump{padding:7px 10px;font-size:14px}}
@media(forced-colors:active){#aj-react-root .account-settings-footer .interest-summary-jump,#aj-react-root .account-settings-footer .interest-count-value{border-color:ButtonText;background:Canvas;color:CanvasText}}

/* Save356: a permanent message slot; success never grows or collapses the action row. */
#aj-react-root .account-settings-footer .interest-footer-note{position:relative;display:block;box-sizing:border-box;min-height:52px}
#aj-react-root .account-settings-footer .interest-footer-note-copy{display:flex;align-items:center;min-height:52px}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer]{position:absolute;inset:0;display:block;width:100%;max-width:none;margin:0;min-width:0;pointer-events:none}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback{height:100%;min-height:100%;grid-template-rows:1fr;background:#f7f9fd;transition:none}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback>div{display:flex;align-items:center;min-width:0}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback p{box-sizing:border-box;width:fit-content;max-width:100%;min-width:0;flex:0 1 auto}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] button{pointer-events:auto}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-footer .interest-results-actions{display:grid;grid-template-columns:max-content max-content;justify-content:start;gap:8px 18px}
 #aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{grid-column:1;grid-row:1}
 #aj-react-root .account-settings-footer .interest-results-actions>.interest-summary-jump{grid-column:2;grid-row:1}
 #aj-react-root .account-settings-footer .interest-footer-note{grid-column:1;grid-row:1;align-self:stretch;position:relative;flex:none;width:100%;height:100%;min-height:0;z-index:1;pointer-events:none}
 #aj-react-root .account-settings-footer .interest-footer-note-copy{display:none}
}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-footer .interest-results-actions{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 #aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{width:100%;min-width:0;max-width:100%}
 #aj-react-root .account-settings-footer .interest-results-actions>.interest-summary-jump{grid-column:1;grid-row:2;justify-self:start}
 #aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback-icon{display:none}
 #aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback p{gap:6px;padding:6px 8px}
}

/* Interests361: the single heading uses the full introductory row. */
#aj-react-root .account-settings-panel .interest-task-intro>h2:only-child{grid-column:1/-1;grid-row:1}

/* Interests footer: equal control geometry, stable confirmation slot. */
#aj-react-root .account-settings-footer .interest-results-actions{--interest-control-width:256px;--interest-control-height:52px}
#aj-react-root .account-settings-footer .interest-results-actions>button[type=submit],#aj-react-root .account-settings-footer .interest-summary-jump{box-sizing:border-box;width:var(--interest-control-width);max-width:100%;min-width:0;height:var(--interest-control-height);min-height:var(--interest-control-height)}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback p{width:var(--interest-control-width);height:var(--interest-control-height);min-height:var(--interest-control-height);padding:4px 12px}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-footer .interest-results-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:530px}
 #aj-react-root .account-settings-footer .interest-results-actions>button[type=submit],#aj-react-root .account-settings-footer .interest-summary-jump{width:100%}
}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-footer .interest-results-actions{--interest-control-height:56px;grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-footer .interest-results-actions>button[type=submit]{padding:4px 10px;font-size:14px;line-height:1.4}
 #aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback p{padding:4px 8px}
}

/* Unsaved interests use a quiet blue status, within the same fixed message frame. */
#aj-react-root .account-settings-footer .settings-save-feedback.is-changed .space-preferences-notice{background:#eef4fc;border-color:#b8cbe0;color:#385579}

/* Profile actions: common button and confirmation frame, aligned on one row when space allows. */
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.profile-details-actions,.space-avatar-actions)>.reader-primary{box-sizing:border-box;width:200px;max-width:100%;height:52px;min-height:52px;padding:8px 14px;font-size:16px;line-height:1.5;flex:none}
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.profile-details-actions,.space-avatar-actions)>.settings-save-feedback:not(.is-error){width:200px;max-width:100%;flex:none;align-self:center}
#aj-react-root .account-settings-panel [data-settings-tab=profile] :is(.profile-details-actions,.space-avatar-actions)>.settings-save-feedback:not(.is-error) .settings-feedback p{box-sizing:border-box;width:100%;height:52px;min-height:52px;padding:4px 10px;gap:8px}

/* Notifications Save: reserve feedback before submitting; opacity never changes geometry. */
#aj-react-root .account-settings-panel .notification-form-footer>.space-actions{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px 16px;width:100%;max-width:none;min-width:0}
#aj-react-root .account-settings-panel .notification-form-footer>.space-actions>button[type=submit]{box-sizing:border-box;height:52px;min-height:52px;max-width:100%}
#aj-react-root .account-settings-panel .settings-inline-feedback-slot{position:relative;box-sizing:border-box;min-width:0;height:52px}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline]{position:absolute;inset:0;display:block;width:100%;max-width:none;min-width:0;margin:0;pointer-events:none}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback{height:100%;min-height:100%;grid-template-rows:1fr;transition:none}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback>div{display:flex;align-items:center;min-width:0}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback p{box-sizing:border-box;width:fit-content;max-width:100%;height:52px;min-height:52px;padding:4px 12px;flex:0 1 auto}
#aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline] button{pointer-events:auto}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-panel .notification-form-footer>.space-actions{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .notification-form-footer>.space-actions>button[type=submit]{width:100%;padding:8px 10px;font-size:14px}
 #aj-react-root .account-settings-panel .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback p{padding:4px 8px;gap:6px}
}

/* Email guidance keeps the largest current-state text footprint while the channel is enabled. */
#aj-react-root .account-settings-panel .interest-email-status:not([hidden]){display:grid}
#aj-react-root .account-settings-panel .interest-email-status>span{grid-area:1/1;min-width:0}
#aj-react-root .account-settings-panel .interest-email-status-reserve{visibility:hidden;pointer-events:none;user-select:none}

/* Email channel guidance: one resident, reversible disclosure; text never scales. */
#aj-react-root .account-settings-panel .interest-email-reveal{display:grid;grid-template-rows:0fr;opacity:0;pointer-events:none;transition:grid-template-rows var(--email-hint-close,360ms) cubic-bezier(.22,0,.36,1),opacity var(--email-hint-fade-out,180ms) ease;transition-delay:40ms,0ms}
#aj-react-root .account-settings-panel .interest-email-reveal[data-open=true]{grid-template-rows:1fr;opacity:1;pointer-events:auto;transition-duration:var(--email-hint-open,420ms),var(--email-hint-fade-in,300ms);transition-delay:0ms,var(--email-hint-fade-delay,60ms)}
#aj-react-root .account-settings-panel .interest-email-reveal-inner{display:flow-root;min-height:0;overflow:hidden}
html[data-interface-motion=quick] #aj-react-root .account-settings-panel .interest-email-reveal{--email-hint-open:220ms;--email-hint-close:200ms;--email-hint-fade-in:160ms;--email-hint-fade-out:120ms;--email-hint-fade-delay:30ms}
html[data-interface-motion=reduced] #aj-react-root .account-settings-panel .interest-email-reveal{transition:none}
@media(prefers-reduced-motion:reduce){#aj-react-root .account-settings-panel .interest-email-reveal{transition:none}}


/* Settings368: every account task lives in the same window and scroll plane.
   The dock is inside that frame; native form ownership and feedback slots stay intact. */
#aj-react-root .account-settings-panel:has(>.settings-task-window){--settings-card-line:#ff8a39;--settings-card-surface:#f8faff;--settings-card-shadow:none}
#aj-react-root .account-settings-panel>.settings-task-window{--task-window-padding:20px;display:flex;flex-direction:column;flex:1 1 0;min-width:0;min-height:0;margin:16px;border:1px solid #c9d3df;border-radius:20px;background:#fff;box-shadow:0 3px 14px #223c6010;overflow:hidden;isolation:isolate}
#aj-react-root .account-settings-panel .settings-task-window>.account-settings-body{padding:var(--task-window-padding)!important;background:transparent;scrollbar-gutter:stable;scroll-padding:var(--task-window-padding)}
#aj-react-root .account-settings-panel .settings-task-window>.account-settings-footer{box-sizing:border-box;flex:none;min-width:0;padding:0 120px var(--task-window-padding) var(--task-window-padding);border:0;background:transparent}
#aj-react-root .account-settings-panel .settings-task-window>.account-settings-footer[hidden]{display:none!important}
#aj-react-root .account-settings-panel .settings-task-window .settings-save-feedback[data-settings-save-placement=footer] .settings-feedback{background:#fff}
/* One outer task frame. Groups inside it use the same quiet surface and radius. */
#aj-react-root .account-settings-panel .settings-task-window [data-settings-tab]:not([data-settings-tab=profile])>.space-preferences{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-group,.assistant-settings-group,.assistant-admin-tools .assistant-preview-entry,.assistant-admin-tools .assistant-reply-editor){box-sizing:border-box;border:1px solid #ff8a39;border-radius:14px;background:#f8faff;box-shadow:none;padding:16px}
#aj-react-root .account-settings-panel .settings-task-window [data-settings-tab=profile]>.space-preferences.settings-task-section{border:1px solid #ff8a39!important;border-radius:14px!important;background:#f8faff!important;box-shadow:none!important}
#aj-react-root .account-settings-panel .settings-task-window :is(.interface-setting-card,.interface-settings-sample,.interest-topic-help,.interest-chosen,.interest-notification-choice){border-color:#ff8a39;border-radius:14px;box-shadow:none}
#aj-react-root .account-settings-panel .settings-task-window :is(.settings-task-heading h2,.interface-settings-intro h2,.regional-settings-copy>h2,.assistant-preferences>h2,.assistant-admin-tools>h2,.interest-task-intro>h2){margin-top:0!important;font-size:24px!important;line-height:1.3!important;font-weight:700}
#aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-intro,.interest-task-intro){margin-bottom:20px}
#aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-actions,.assistant-preference-footer){margin-top:20px;border:0;padding-top:0}
@media(max-height:760px){
 #aj-react-root .account-settings-panel>.settings-task-window{--task-window-padding:14px;margin:12px;border-radius:16px}
 #aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-intro,.interest-task-intro){margin-bottom:16px}
}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel>.settings-task-window{--task-window-padding:16px;margin:12px;border-radius:16px}
 #aj-react-root .account-settings-panel .settings-task-window>.account-settings-footer{padding-right:112px}
}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-panel>.settings-task-window{--task-window-padding:14px;margin:10px;border-radius:16px}
 #aj-react-root .account-settings-panel .settings-task-window>.account-settings-footer{padding-right:104px}
 #aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-group,.assistant-settings-group,.assistant-admin-tools .assistant-preview-entry,.assistant-admin-tools .assistant-reply-editor){padding:14px}
}
@media(forced-colors:active){#aj-react-root .account-settings-panel>.settings-task-window{border-color:CanvasText;box-shadow:none}}
/* Compact rows share their group's inset instead of nesting another card inset. */
#aj-react-root .account-settings-panel .settings-task-window .interface-preferences{gap:16px}
#aj-react-root .account-settings-panel .settings-task-window .interface-settings-intro{margin:0}
#aj-react-root .account-settings-panel .settings-task-window .interface-settings-group .interface-setting-card{padding:8px 0;border:0;background:transparent;box-shadow:none}
#aj-react-root .account-settings-panel .settings-task-window .interface-preferences>.interface-settings-note{box-sizing:border-box;padding-right:110px}
#aj-react-root .account-settings-panel .settings-task-window .assistant-preferences{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
@media(max-height:760px){
 #aj-react-root .account-settings-panel .settings-task-window :is(.interface-settings-group,.assistant-settings-group){padding:12px}
 #aj-react-root .account-settings-panel .settings-task-window .interface-preferences{gap:12px}
 #aj-react-root .account-settings-panel .settings-task-window .interface-settings-actions{margin-top:0}
 #aj-react-root .account-settings-panel .settings-task-window [data-settings-tab=profile]>.space-preferences.settings-task-section{padding:12px!important}
 #aj-react-root .account-settings-panel .settings-task-window [data-settings-tab=profile]>.settings-task-section:first-child{padding-top:12px!important}
 #aj-react-root .account-settings-panel .settings-task-window .interest-task-intro{margin-bottom:8px}
}
@media(max-height:999px){@container account-primary (min-width:800px){
 #aj-react-root .account-settings-panel .settings-task-window .profile-details>.settings-task-content{display:flex;flex-direction:column;align-self:stretch;min-height:0}
 #aj-react-root .account-settings-panel .settings-task-window .profile-details .profile-details-form{display:grid;flex:1;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:'name' 'registration' 'actions';align-content:stretch}
 #aj-react-root .account-settings-panel .settings-task-window .profile-details-actions{align-self:end}
}}
@media(max-height:760px){
 #aj-react-root .account-settings-panel>.settings-task-window{--task-window-padding:12px}
 #aj-react-root .account-settings-panel .settings-task-window .assistant-preference-footer{margin-top:12px}
}
#aj-react-root .account-settings-panel .settings-task-window .assistant-current-state>button{box-sizing:border-box;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #b7c7dc;border-radius:9px;background:#fff;color:#294567;font:inherit;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;cursor:pointer}
@container account-primary (max-width:580px){
 #aj-react-root .account-settings-panel .settings-task-window>.account-settings-footer{padding-right:var(--task-window-padding)}
 #aj-react-root .account-settings-panel .settings-task-window .account-settings-footer .interest-summary-jump{width:calc(100% - 80px);justify-self:start}
}
/* A confirmation cannot take width away from the registration date on tall layouts. */
@media(min-height:1000px){@container account-primary (min-width:1100px){
 #aj-react-root .account-settings-panel .settings-task-window .profile-details .profile-details-form{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:'name' 'registration' 'actions'}
}}

/* Settings369: the owner's orange card outline also covers notification channels. */
#aj-react-root .account-settings-panel .settings-task-window .interest-delivery-options>label{border-color:#ff8a39}

/* Settings372: notification controls use a readable form width; art keeps its own column. */
#aj-react-root .account-settings-panel .interest-notification-settings :is(.interest-delivery-options,.notification-form-footer){box-sizing:border-box;width:100%;max-width:640px;justify-self:start}

/* Settings373: compact controls and full-size art share one composition.
   Conditional delivery guidance follows the fixed action row, so it cannot push Save. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,640px) 320px;column-gap:64px;row-gap:0;width:100%;max-width:1024px;align-items:start}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-controls{min-width:0;width:100%}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-intro-art{display:block;width:320px;height:320px;align-self:start;justify-self:end}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer{margin-top:24px}
@container account-primary (max-width:1100px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,640px) 240px;column-gap:32px;max-width:912px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-intro-art{width:240px;height:240px}
}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,640px) 180px;column-gap:24px;max-width:844px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-intro-art{width:180px;height:200px}
}
@container account-primary (max-width:620px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,1fr);column-gap:0;max-width:640px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-intro-art{display:none}
}

/* Settings374: approved channel selection + contextual explanation; fixed controls and artwork. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:24px;width:100%;max-width:none;align-items:start}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;min-width:0;margin:0;padding:24px;border:1px solid #ff8a39;border-radius:16px;background:linear-gradient(135deg,#f1f5ff,#fff9ef);align-self:start}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-overline{grid-area:1/1/2/3;justify-self:start;margin:0;padding:8px 12px;border:1px solid #dfbc87;border-radius:9px;background:#fff8ed;color:#192f61;font-size:18px;font-weight:700;line-height:1.5;box-shadow:0 3px 0 #26426013}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{position:static;display:block;grid-area:2/2/3/3;align-self:start;justify-self:end;z-index:1;width:220px;height:220px;object-fit:contain;pointer-events:none}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-content{display:grid;grid-area:2/1/3/3;min-width:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{display:grid;grid-area:1/1;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:minmax(220px,auto) auto auto;gap:20px;min-width:0;visibility:hidden;opacity:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer[data-help-current=true]{visibility:visible;opacity:1}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{grid-area:1/1;align-self:center;margin:0;color:#192f61;font-size:24px;font-weight:700;line-height:1.35;overflow-wrap:normal}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>p{grid-area:2/1/3/3;align-self:start;margin:0;color:#61718a;font-size:16px;font-weight:400;line-height:1.6}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags{grid-area:3/1/4/3;align-self:end;display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags>li{margin:0;padding:4px 9px;border:1px solid #b7c7dc;border-left:4px solid #355f87;border-radius:8px;background:#f8fbff;color:#294669;font-size:14px;font-weight:600;line-height:1.5}
#aj-react-root .account-settings-panel .interest-notification-settings [data-notification-active=cabinet] [data-notification-channel=cabinet],#aj-react-root .account-settings-panel .interest-notification-settings [data-notification-active=email] [data-notification-channel=email]{border-color:#ff8a39}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions{grid-template-columns:minmax(0,1fr);gap:12px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions>button[type=submit]{justify-self:start;width:auto;max-width:100%}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-inline-feedback-slot{width:100%;height:52px;min-height:52px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-feedback{max-width:100%}
html[data-interface-contrast=high] #aj-react-root .notification-channel-guide{background:#fff}
html[data-interface-contrast=high] #aj-react-root .notification-guide-layer>p{color:#142b46}
@container account-primary (max-width:1100px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide,#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-columns:minmax(0,1fr) 170px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{padding:20px;gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-rows:minmax(180px,auto) auto auto;gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:170px;height:180px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{font-size:22px}
}
@container account-primary (max-width:900px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{gap:20px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide,#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-columns:minmax(0,1fr) 130px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-rows:minmax(150px,auto) auto auto}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:130px;height:150px}
}
@container account-primary (max-width:700px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{display:flex;flex-direction:column;gap:20px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-controls{display:contents}
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{order:0;max-width:none}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{order:1;width:100%}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer{order:2;max-width:none;margin-top:0}
 #aj-react-root .account-settings-panel .interest-notification-settings :is(.interest-email-reveal,[data-interest-delivery-status]){order:3}
}
@container account-primary (max-width:400px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-overline{grid-area:1/1;font-size:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{grid-area:2/1;width:130px;height:130px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-content{grid-area:3/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{font-size:22px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>p{grid-area:2/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags{grid-area:3/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions>button[type=submit]{width:100%}
}
@media (min-width:801px) and (max-height:850px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{padding:16px;gap:12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide,#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-columns:minmax(0,1fr) 130px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-overline{font-size:16px;padding:6px 10px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{grid-template-rows:minmax(120px,auto) auto auto;gap:12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:130px;height:120px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{font-size:22px}
}
@media (min-width:801px) and (max-height:850px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{padding:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions{row-gap:6px}
}
@media (min-width:801px) and (max-height:850px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>label{padding:12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer{margin-top:16px}
}

/* Settings375: Save ends on the guide's lower edge; email hint cannot displace it. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-rows:auto auto auto;row-gap:14px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-controls{display:contents}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{grid-area:1/1/2/2}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-area:1/2/3/3}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer{grid-area:2/1/3/2;align-self:end;margin-top:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions{grid-template-rows:52px 52px;row-gap:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions>button[type=submit]{grid-row:2;grid-column:1;align-self:end}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-inline-feedback-slot{grid-row:1;grid-column:1}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout>.interest-email-reveal,#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout>[data-interest-delivery-status]{grid-area:3/1/4/2;margin-top:0}

/* Settings376: matched Save/success controls, separated placement and a stable footprint. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer{--notification-action-width:280px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions>button[type=submit],#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-inline-feedback-slot{width:var(--notification-action-width);max-width:100%;height:52px;min-height:52px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback[data-settings-save-placement=inline]{inset:-12px 0 12px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback p{width:100%;height:52px;min-height:52px;padding:6px 10px;gap:8px;font-size:15px;line-height:1.4}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-feedback-icon{width:22px;height:22px;flex:0 0 22px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback .settings-feedback button{width:24px;min-width:24px;height:28px;flex:0 0 24px}
@container account-primary (min-width:1300px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions{grid-template-columns:var(--notification-action-width) var(--notification-action-width);column-gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-inline-feedback-slot{grid-row:2;grid-column:2}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback[data-settings-save-placement=inline]{inset:0}
}
@container account-primary (max-width:700px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer>.space-actions{row-gap:12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback[data-settings-save-placement=inline]{inset:0}
}
@container account-primary (max-width:400px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-form-footer .settings-save-feedback[data-settings-save-placement=inline] .settings-feedback p{padding:4px 8px;gap:6px;font-size:14px}
}

/* Settings377: coherent text stacks beside large art, without stretched title rows. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr) 280px;gap:16px 24px;align-items:start}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-content{grid-area:2/1/3/2;align-self:start}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;min-height:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{align-self:stretch;margin:0;font-size:24px;line-height:1.35}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>p{margin:0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags{align-self:start;margin:4px 0 0}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{grid-area:2/2/3/3;align-self:center;width:280px;height:280px}
#aj-react-root .account-settings-panel .interest-topic-help{align-self:start}
#aj-react-root .account-settings-panel .interest-topic-help-content{flex:none;grid-template-rows:auto;align-items:start}
#aj-react-root .account-settings-panel .interest-help-layer{position:relative;grid-area:1/1;align-self:stretch;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;min-height:220px;padding-right:244px;box-sizing:border-box}
#aj-react-root .account-settings-panel .interest-help-layer>h4{align-self:stretch;margin:0;font-size:24px;line-height:1.35}
#aj-react-root .account-settings-panel .interest-help-layer>p{margin:0;font-size:16px;line-height:1.6}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);align-self:auto;justify-self:auto;width:220px;height:220px;margin:0;object-fit:contain}
#aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{align-self:start;width:100%;margin:4px 0 0;gap:8px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-benefit-overline{margin-bottom:16px}
#aj-react-root .account-settings-panel .interest-topic-help .interest-topic-help-note{margin-top:16px;padding-top:12px}
@container interest-help (max-width:580px){
 #aj-react-root .account-settings-panel .interest-help-layer{padding-right:196px;min-height:180px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:180px;height:180px}
}
@container interest-help (max-width:440px){
 #aj-react-root .account-settings-panel .interest-help-layer{padding-right:156px;min-height:140px}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{width:140px;height:140px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{font-size:22px}
}
@container interest-help (max-width:330px){
 #aj-react-root .account-settings-panel .interest-help-layer{padding-right:0;min-height:0}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{position:static;transform:none;align-self:end;width:160px;height:160px;order:-1}
}
@container account-primary (max-width:1300px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr) 200px;column-gap:20px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:200px;height:200px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{font-size:22px}
}
@container account-primary (max-width:1000px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr) 150px;column-gap:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:150px;height:150px}
}
@container account-primary (max-width:800px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr)}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-overline{grid-area:1/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-content{grid-area:3/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{grid-area:2/1;justify-self:end;width:160px;height:160px}
}
@container interest-help (min-width:331px) and (max-width:580px){
 #aj-react-root .account-settings-panel .interest-help-layer{--guide-art-size:180px;display:flow-root;padding-right:0;min-height:var(--guide-art-size)}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-benefit-icon{position:static;float:right;transform:none;width:var(--guide-art-size);height:var(--guide-art-size);margin:0 0 12px 16px}
 #aj-react-root .account-settings-panel .interest-help-layer>h4{margin:0 0 12px}
 #aj-react-root .account-settings-panel .interest-help-layer>p{margin:0 0 16px!important}
 #aj-react-root .account-settings-panel .interest-help-layer>.interest-topic-tags{width:auto;margin:0}
}
@container interest-help (min-width:331px) and (max-width:440px){
 #aj-react-root .account-settings-panel .interest-help-layer{--guide-art-size:140px}
}
@container account-primary (min-width:801px) and (max-width:1300px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-content{grid-area:2/1/3/3}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer{display:flow-root}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer::before{content:"";float:right;width:200px;height:200px;margin:0 0 12px 20px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>h4{margin:0 0 12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer>p{margin:0 0 16px!important}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags{margin:0}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{position:absolute;grid-area:2/2/3/3;top:0;right:0;align-self:start;width:200px;height:200px}
}
@container account-primary (min-width:801px) and (max-width:1000px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer::before{width:150px;height:150px;margin-left:16px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:150px;height:150px}
}
@media (min-width:801px) and (max-height:850px){@container account-primary (min-width:1001px) and (max-width:1300px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-template-columns:minmax(0,1fr) 160px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-layer::before{width:160px;height:160px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{width:160px;height:160px}
}}

/* Settings378: the subscription note below Save was removed; no empty third row. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-rows:auto auto}

/* Settings379: notification actions share the Interests window's lower inset.
   The guide keeps its natural size; only the free space above actions grows. */
#aj-react-root .account-settings-panel .settings-task-window>.account-settings-body>.glass-panel-stack:has(>[data-settings-tab=notifications]:not([hidden])){display:flex;flex-direction:column}
#aj-react-root .account-settings-panel .settings-task-window [data-settings-tab=notifications]:not([hidden]),#aj-react-root .account-settings-panel .settings-task-window .interest-notification-settings{display:flex;flex:1 0 auto;flex-direction:column}
#aj-react-root .account-settings-panel .settings-task-window #interest-delivery-form{display:flex;flex:1 0 auto;flex-direction:column}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{flex:1 0 auto}
@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .settings-task-window .interest-results-actions{display:grid;grid-template-columns:var(--interest-control-width) var(--interest-control-width) minmax(0,1fr);align-items:end;gap:16px}
 #aj-react-root .account-settings-panel .settings-task-window .interest-results-actions>button[type=submit]{grid-area:1/1}
 #aj-react-root .account-settings-panel .settings-task-window .interest-results-actions>.interest-summary-jump{grid-area:1/2}
 #aj-react-root .account-settings-panel .settings-task-window .interest-results-actions>.interest-footer-note{grid-area:1/3;min-width:0;align-self:end}
}

/* Settings381: trim the channel cards' right edge, keeping their shared left edge. */
@container account-primary (min-width:1101px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{width:calc(100% - 48px);max-width:576px}
}

/* Settings382: optically align the large notification art with the text group. */
@container account-primary (min-width:1301px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{transform:translateY(-36px)}
}

/* Settings383: illustrated Interface tasks, native instant preferences retained. */
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences{display:flex;flex-direction:column;gap:20px;container-name:appearance-panel;container-type:inline-size;max-width:none;margin:0;min-width:0}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences>.interface-settings-intro{margin:0}
.appearance-layout{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:24px;align-items:start;min-width:0}
.appearance-controls{display:grid;gap:16px;min-width:0}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group{margin:0;padding:16px;border:1px solid #ff8a39;border-radius:16px;background:#f8faff;box-shadow:none;min-width:0}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group>h3{margin:0 0 8px;color:#192f61;font-size:20px;line-height:1.35}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;gap:12px;align-items:center;margin:0;padding:8px 0;border:0;border-radius:0;min-width:0;background:transparent;box-shadow:none}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card+ .interface-setting-card{border-top:1px solid #dce4ef}
.appearance-setting-icon{grid-column:1;grid-row:1;width:32px;height:32px;flex:none;filter:drop-shadow(0 2px 0 #dce5ef)}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card>span{grid-column:2;grid-row:1;min-width:0}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card>input{grid-column:3;grid-row:1;width:24px;height:24px;margin:0;justify-self:end;accent-color:#365f87}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting{grid-template-columns:32px minmax(0,1fr)}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>.settings-select-trigger{grid-column:2;grid-row:2;justify-self:start;width:min(100%,300px);min-height:46px}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-note{margin:10px 0 0;padding-top:12px;border-top:1px solid #dce4ef}
.appearance-preview{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px 20px;align-items:start;box-sizing:border-box;min-width:0;margin:0;padding:24px;border:1px solid #ff8a39;border-radius:16px;background:linear-gradient(135deg,#f1f5ff,#fff9ef)}
.appearance-preview-overline{grid-area:1/1/2/3;justify-self:start;margin:0;padding:8px 12px;border:1px solid #dfbc87;border-radius:9px;background:#fff8ed;color:#192f61;font-size:18px;font-weight:700;line-height:1.5;box-shadow:0 3px 0 #26426013}
.appearance-preview-intro{grid-area:2/1;min-width:0}
.appearance-preview-intro>h4{margin:0;color:#192f61;font-size:24px;line-height:1.35;font-weight:700}
.appearance-preview-intro>p{margin:8px 0 0;color:#61718a;font-size:16px;line-height:1.6;font-weight:400}
.appearance-preview-art{grid-area:2/2/5/3;align-self:center;justify-self:end;width:220px;height:220px;object-fit:contain;pointer-events:none}
.appearance-preview-stage{grid-area:3/1;min-width:0;padding:10px;border:1px solid #dce5f2;border-radius:12px;background:linear-gradient(130deg,#dceafa,#fff1d9)}
.appearance-preview-window{overflow:hidden;border:1px solid #b7c7dc;border-radius:9px;background:#ffffffa6;backdrop-filter:blur(10px);box-shadow:0 3px 10px #2039560d}
.appearance-preview-bar{display:flex;align-items:center;gap:10px;min-height:34px;padding:5px 10px;box-sizing:border-box;border-top:2px solid #ff8a39;border-bottom:1px solid #dce4ef;background:#eaf1fb;color:#294567;font-size:13px;line-height:1.4}
.appearance-preview-bar>span{display:flex;gap:4px}.appearance-preview-bar i{width:5px;height:5px;border-radius:50%;background:#3b658b}.appearance-preview-bar i:first-child{background:#f6aa51}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preview .interface-settings-sample{margin:0;padding:12px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:16px;line-height:1.6}
.appearance-preview .interface-settings-sample>p{margin:0!important;display:block!important}
.appearance-preview-tags{grid-area:4/1;display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;min-width:0}
.appearance-preview-tags>li{padding:4px 9px;border:1px solid #b7c7dc;border-left:4px solid #355f87;border-radius:8px;background:#f8fbff;color:#294669;font-size:14px;line-height:1.5;font-weight:600}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences>.interface-settings-actions{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:20px;align-items:center;margin-top:auto;padding-top:0;border:0;min-width:0}
.appearance-feedback-slot{min-width:0;min-height:52px;display:flex;align-items:center}.appearance-feedback-slot>.settings-feedback{width:100%}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences .interface-reset{min-height:52px;margin:0;padding:10px 16px;border:1px solid #b7c7dc;border-radius:11px;background:#eef4fc;color:#294567;font-size:15px;line-height:1.4;font-weight:600}
html[data-interface-glass=off] .appearance-preview-window{background:#fff;backdrop-filter:none}
html[data-interface-contrast=high] .appearance-preview :is(p,li){color:#142b46}
#aj-react-root .account-settings-panel .settings-task-window>.account-settings-body>.glass-panel-stack:has(>[data-settings-tab=appearance]:not([hidden])){display:flex;flex-direction:column}
#aj-react-root .account-settings-panel .settings-task-window [data-settings-tab=appearance]:not([hidden]){display:flex;flex:1 0 auto;flex-direction:column}
#aj-react-root .account-settings-panel .settings-task-window .appearance-preferences{flex:1 0 auto}
@container appearance-panel (max-width:1300px){
 .appearance-layout{gap:20px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group{padding:16px}
 .appearance-preview{grid-template-columns:minmax(0,1fr) 160px;padding:20px;gap:16px}
 .appearance-preview-art{grid-area:2/2;width:160px;height:160px}
 .appearance-preview-stage{grid-area:3/1/4/3}.appearance-preview-tags{grid-area:4/1/5/3}
 .appearance-preview-intro>h4{font-size:22px}
}
@media(max-height:850px){
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences{gap:16px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group{padding:14px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card{padding:9px 0}
 .appearance-controls{gap:14px}
}
@container appearance-panel (max-width:950px){
 .appearance-layout{grid-template-columns:minmax(0,1fr)}
 .appearance-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .appearance-preview{grid-template-columns:minmax(0,1fr) 180px}
 .appearance-preview-art{grid-area:2/2/5/3;width:180px;height:180px}
 .appearance-preview-stage{grid-area:3/1}.appearance-preview-tags{grid-area:4/1}
}
@container appearance-panel (max-width:650px){
 .appearance-controls{grid-template-columns:minmax(0,1fr)}
 .appearance-preview{grid-template-columns:minmax(0,1fr) 140px;padding:16px;gap:14px}
 .appearance-preview-art{grid-area:2/2;width:140px;height:140px}
 .appearance-preview-stage{grid-area:3/1/4/3}.appearance-preview-tags{grid-area:4/1/5/3}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences>.interface-settings-actions{grid-template-columns:minmax(0,1fr);gap:12px}
}
@container appearance-panel (max-width:420px){
 .appearance-preview{grid-template-columns:minmax(0,1fr)}
 .appearance-preview-overline{grid-area:1/1;font-size:16px}
 .appearance-preview-art{grid-area:2/1;justify-self:end;width:160px;height:160px}
 .appearance-preview-intro{grid-area:3/1}.appearance-preview-stage{grid-area:4/1}.appearance-preview-tags{grid-area:5/1}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card{grid-template-columns:28px minmax(0,1fr) 24px;gap:10px}
 .appearance-setting-icon{width:28px;height:28px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting{grid-template-columns:28px minmax(0,1fr)}
}
@media(forced-colors:active){.appearance-preview,.appearance-preview-window,.appearance-preview-stage,.appearance-preview-overline,.appearance-preview-tags>li{background:Canvas;border-color:CanvasText;box-shadow:none}.appearance-setting-icon{forced-color-adjust:auto;filter:none}}

:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-setting-icon{width:32px;height:32px}
.appearance-assistant-note{grid-area:5/1/6/3;margin:0!important;padding-top:12px;border-top:1px solid #dce4ef;color:#61718a;font-size:16px;font-weight:400;line-height:1.6}
@container appearance-panel (min-width:1301px){
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting{grid-template-columns:32px minmax(0,1fr) 200px;column-gap:12px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>.settings-select-trigger{grid-column:3;grid-row:1;width:200px}
}
@container appearance-panel (max-width:420px){
 .appearance-assistant-note{grid-area:6/1}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-setting-icon{width:28px;height:28px}
}

/* A single control surface separates the two tasks with a quiet internal rule. */
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-preferences{gap:12px}
.appearance-controls{box-sizing:border-box;padding:16px;border:1px solid #ff8a39;border-radius:16px;background:#f8faff;gap:20px}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group{position:relative;padding:0;border:0;border-radius:0;background:transparent}
.appearance-controls .interface-settings-group+.interface-settings-group::before{content:"";position:absolute;top:-10px;left:0;right:0;height:1px;background:#dce4ef}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card{padding:6px 0}
.appearance-preview{padding:20px;gap:12px 20px}
@container appearance-panel (max-width:950px){
 .appearance-controls{padding:16px;gap:24px}
 .appearance-controls .interface-settings-group+.interface-settings-group::before{top:0;left:-12px;right:auto;bottom:0;width:1px;height:auto}
}
@container appearance-panel (max-width:650px){
 .appearance-controls{gap:20px}
 .appearance-controls .interface-settings-group+.interface-settings-group::before{top:-10px;left:0;right:0;bottom:auto;width:auto;height:1px}
 .appearance-preview{padding:16px;gap:14px}
}

.appearance-preview .interface-settings-sample a{text-decoration:none;text-underline-offset:.2em}
html[data-interface-links=underlined] .appearance-preview .interface-settings-sample a{text-decoration:underline}

.appearance-preferences{position:relative}
.appearance-compact-art,.appearance-compact-sample,.appearance-compact-note{display:none}
.appearance-preferences .interface-settings-sample a{text-decoration:none;text-underline-offset:.2em}
html[data-interface-links=underlined] .appearance-preferences .interface-settings-sample a{text-decoration:underline}
@container appearance-panel (max-width:1300px){
 .appearance-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}
 .appearance-controls{display:contents}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-settings-group{padding:14px;border:1px solid #ff8a39;border-radius:14px;background:#f8faff}
 .appearance-controls .interface-settings-group+.interface-settings-group::before{display:none}
 .appearance-preview{display:none}
 .appearance-compact-art{position:absolute;top:0;right:0;display:block;width:72px;height:72px;object-fit:contain;pointer-events:none}
 .appearance-preferences>.interface-settings-intro{box-sizing:border-box;min-height:72px;padding-right:88px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-compact-sample{display:block;margin-top:10px;padding:10px 12px;border:1px solid #b7c7dc;border-radius:10px;background:#fff}
 .appearance-compact-sample>strong{display:block!important;margin-bottom:6px;font-size:14px!important;color:#294567}
 .appearance-compact-sample>p{display:block!important;margin:0!important;font-size:16px;line-height:1.6}
 .appearance-compact-note{display:block}
}
@container appearance-panel (min-width:1001px) and (max-width:1300px){
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting{grid-template-columns:32px minmax(0,1fr) 170px;gap:8px 12px}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>span{display:contents}
 .appearance-motion-setting>span>strong{grid-column:2;grid-row:1}
 .appearance-motion-setting>span>small{grid-column:2/-1;grid-row:2;margin-top:0}
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>.settings-select-trigger{grid-column:3;grid-row:1;width:170px}
}

@container appearance-panel (max-width:800px){.appearance-layout{grid-template-columns:minmax(0,1fr);gap:16px}}

/* Choice labels stay complete in the menu and accessible value, without resizing the row. */
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>.settings-select-trigger{height:52px;min-height:52px;max-height:52px}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-motion-setting>.settings-select-trigger>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}

/* Settings384: messenger availability and matching native channel keyboard feedback. */
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>.notification-channel-pending{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:16px;align-items:center;box-sizing:border-box;min-height:104px;margin:0;padding:18px 20px;border:1px solid #b7c7dc;border-radius:14px;background:#f8faff;box-shadow:0 1px 0 #e5ecf5;cursor:default}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending>span:not(.notification-channel-soon){display:grid;min-width:0;gap:6px}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending strong{font-size:18px;line-height:1.4;color:#294567}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending small{display:block;margin:0;color:#61718a;font-size:16px;font-weight:400;line-height:1.6}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-soon{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #d4bf98;border-radius:8px;background:#fff8e9;color:#695b45;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}
#aj-react-root .account-settings-panel .interest-notification-settings [data-notification-active=messengers] [data-notification-channel=messengers]{border-color:#ff8a39}
#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending:focus-visible{outline:2px solid #365f8c;outline-offset:3px}
.notification-keyboard-hints{grid-area:3/1/4/3;display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0;margin:0;padding-top:14px;border-top:1px solid #cbd6e4;color:#56677d;font-size:14px;line-height:1.5;font-weight:400}
.notification-keyboard-hints .interest-key-hint,.notification-keyboard-hints .interest-key-pair{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.notification-keyboard-hints kbd{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:26px;padding:2px 6px;border:1px solid #d1dae7;border-radius:6px;background:#ffffffb3;box-shadow:0 1px 2px #11286406;color:#52647b;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap}
@media (min-width:801px) and (max-height:850px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>.notification-channel-pending{padding:12px}
 .notification-keyboard-hints{gap:6px 10px;padding-top:10px;font-size:12px}.notification-keyboard-hints kbd{font-size:12px;min-height:24px;padding:1px 5px}
}
@container account-primary (max-width:620px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>.notification-channel-pending{grid-template-columns:40px minmax(0,1fr) auto;gap:14px;padding:18px 16px}
}
@container account-primary (max-width:400px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>.notification-channel-pending{grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:16px 12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending>span:not(.notification-channel-soon){grid-column:1/-1;grid-row:2}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-pending .interest-channel-icon{grid-column:1;grid-row:1;width:32px;height:32px}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-soon{grid-column:3;grid-row:1}
 .notification-keyboard-hints{grid-area:4/1}
}
@media(forced-colors:active){.notification-keyboard-hints kbd,#aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-soon{border-color:CanvasText;background:Canvas;color:CanvasText}}

/* Settings385: notification key hints are real actions, with the same fixed keycap geometry. */
.notification-keyboard-hints button[data-notification-key]{appearance:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:26px;min-height:26px;margin:0;padding:2px 6px;border:1px solid #d1dae7;border-radius:6px;background:#ffffffb3;box-shadow:0 1px 2px #11286406;color:#52647b;font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;white-space:nowrap;cursor:pointer}
.notification-keyboard-hints button[data-notification-key]:focus-visible{outline:2px solid #365f8c;outline-offset:3px}
@media (min-width:801px) and (max-height:850px){.notification-keyboard-hints button[data-notification-key]{font-size:12px;min-height:24px;padding:1px 5px}}
@media(forced-colors:active){.notification-keyboard-hints button[data-notification-key]{border-color:ButtonText;background:ButtonFace;color:ButtonText}}

/* Settings386: exactly the Interests moving selection surface; no second row press or contour. */
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list{--glass-select-duration:420ms;--glass-ease:cubic-bezier(.22,.61,.36,1)}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list::before{border:2px solid #ff8a39;border-radius:10px;background:#eaf0fc;box-shadow:none}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list>[data-notification-channel],
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list>[data-notification-channel]:is(:has(input:checked),:hover,:focus-visible,:has(input:focus-visible),[data-glass-selected]){position:relative;z-index:1;border-color:transparent;border-radius:10px;background:transparent;box-shadow:none;outline:none;transition:none}
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list input,
#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list input:focus-visible{outline:none;box-shadow:none;border-color:revert;transition:none}
html[data-interface-motion=quick] #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list{--glass-select-duration:160ms}
html[data-interface-motion=reduced] #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list{--glass-select-duration:0ms}
@media(forced-colors:active){#aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid.glass-result-list::before{border-color:Highlight;background:Canvas}}

/* Settings387: semantic guide tags reuse the approved topic palette, without changing geometry. */
#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags>li{border-color:var(--product-color,#547ba4);border-left-color:var(--product-color,#547ba4);background:var(--product-soft,#eef3fc)}
@media(forced-colors:active){#aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-tags>li{border-color:CanvasText;background:Canvas;color:CanvasText}}

/* Settings388: balanced selection/explanation columns and compact art-led guide. */
@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-columns:minmax(0,.4fr) minmax(0,.6fr);column-gap:24px}
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{width:100%;max-width:none}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{padding:20px;gap:12px 20px}
}
@container account-primary (min-width:1301px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-guide-overline{grid-area:1/1}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide>.notification-intro-art{grid-area:1/2/3/3;align-self:center;transform:none}
}
@media (min-width:801px) and (max-height:850px){@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{padding:16px;row-gap:12px}
}}

/* Settings389: four equally paced choices balance the compact explanation card. */
@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid{gap:12px}
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>[data-notification-channel]{box-sizing:border-box;min-height:88px;padding:14px 16px}
}
@media (min-width:801px) and (max-height:850px){@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid>[data-notification-channel]{padding:12px 16px}
}}

/* Settings390: choices and explanation share one grid row and exact lower edge. */
@container account-primary (min-width:801px){
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-layout{grid-template-rows:auto minmax(min-content,1fr)}
 #aj-react-root .account-settings-panel .interest-notification-settings .notification-channel-guide{grid-area:1/2/2/3;align-self:stretch}
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-delivery-options{align-self:stretch}
 #aj-react-root .account-settings-panel .interest-notification-settings .interest-channel-grid{height:100%;grid-auto-rows:auto;align-content:stretch}
}

/* Settings391: scoped motion menu stays in its control card; preview follows semantic colours. */
div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:240ms;padding:8px;--glass-select-duration:240ms}
div.settings-select-popup[data-picker-appearance=motion] .settings-select-options{margin-block:0;padding:2px;scrollbar-gutter:auto}
div.settings-select-popup[data-picker-appearance=motion] .settings-select-options button[role=option]{min-height:44px;padding:10px 12px;gap:8px}
div.settings-select-popup[data-picker-appearance=motion] .settings-select-options button[role=option]>span{min-width:0;overflow-wrap:break-word}
html[data-interface-motion=quick] div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:120ms;--glass-select-duration:120ms}
html[data-interface-motion=reduced] div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:0ms;--glass-select-duration:0ms}
@media(prefers-reduced-motion:reduce){div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:0ms;--glass-select-duration:0ms}}
.appearance-preview-bar i:nth-child(1){background:#ff5f57}.appearance-preview-bar i:nth-child(2){background:#febc2e}.appearance-preview-bar i:nth-child(3){background:#28c840}
.appearance-preview-tags>li{border-color:var(--product-color,#547ba4);border-left-color:var(--product-color,#547ba4);background:var(--product-soft,#eef3fc)}
@media(forced-colors:active){.appearance-preview-tags>li{border-color:CanvasText;background:Canvas;color:CanvasText}}

#interface-settings-dialog .appearance-preview-tags>[data-interest-tone=rules]{--product-color:#5864a8;--product-soft:#f1f2fc}
#interface-settings-dialog .appearance-preview-tags>[data-interest-tone=sales]{--product-color:#3765b7;--product-soft:#eef3ff}
#interface-settings-dialog .appearance-preview-tags>[data-interest-tone=automation]{--product-color:#c27625;--product-soft:#fff4e6}
#interface-settings-dialog .appearance-preview-tags>[data-interest-tone=ai]{--product-color:#338b8b;--product-soft:#edf9f8}

/* Settings392: corporate operating-system selectors and stable, live window samples. */
.appearance-os-preview{min-width:0}
.appearance-platform-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px;padding:2px}
.appearance-platform-tabs::before{border:2px solid #ff8a39;border-radius:10px;background:#eaf0fc;box-shadow:none}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;margin:0;padding:7px 9px;border:2px solid transparent;border-radius:10px;background:transparent;box-shadow:none;color:#365477;font:inherit;font-size:14px;line-height:1.4;font-weight:600;cursor:pointer}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:hover{background:#ffffff70}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible{outline:2px solid #365f87;outline-offset:1px}
.appearance-platform-icon{width:28px;height:28px;flex:none;filter:drop-shadow(0 1px 0 #d3deea)}
.appearance-os-stack{position:relative;display:grid;min-width:0}
.appearance-os-stack>.appearance-preview-window{position:relative;grid-area:1/1;min-width:0;align-self:start}
.appearance-os-stack>.appearance-preview-window[hidden]{display:none}
.appearance-os-stack .appearance-preview-bar{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;gap:6px;height:38px;min-height:38px;padding:5px 10px}
.appearance-os-stack .appearance-preview-bar>strong{grid-column:2;grid-row:1;text-align:center;font-size:12px;line-height:1.4;white-space:nowrap}
.appearance-os-stack .appearance-preview-bar>.appearance-os-chrome{display:flex;grid-row:1;gap:5px;align-items:center}
.appearance-os-chrome-macos{grid-column:1}
.appearance-os-chrome-macos i{width:8px;height:8px;border-radius:50%;flex:none}
.appearance-os-chrome-windows,.appearance-os-chrome-linux{grid-column:3;justify-self:end}
.appearance-os-chrome>svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.2;fill:none;flex:none}
.appearance-os-stack>[data-os-window=windows]{border-radius:4px}
.appearance-os-stack>[data-os-window=windows] .appearance-preview-bar{background:#f4f7fb}
.appearance-os-stack>[data-os-window=windows] .appearance-preview-bar>strong{grid-column:1/3;text-align:left}
.appearance-os-stack>[data-os-window=linux]{border-radius:12px}
.appearance-os-stack>[data-os-window=linux] .appearance-preview-bar{background:#e7ebf2}
.appearance-os-chrome-linux>svg{display:none}
.appearance-os-chrome-linux>svg:last-child{display:block;width:20px;height:20px;padding:2px;box-sizing:border-box;border-radius:50%;background:#d3dbe6}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-os-preview .interface-settings-sample{margin:0;padding:12px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:16px;line-height:1.6}
.appearance-os-preview .interface-settings-sample>p{display:block!important;margin:0!important}
.appearance-os-preview.appearance-compact-sample{display:none}
@container appearance-panel (max-width:1300px){
 :is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .appearance-os-preview.appearance-compact-sample{display:block;margin-top:12px;padding:8px;border:1px solid #dce5f2;border-radius:12px;background:linear-gradient(130deg,#dceafa,#fff1d9)}
}
@container appearance-panel (max-width:420px){
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button{flex-direction:column;gap:3px;padding:6px 2px;min-height:66px;font-size:12px}
 .appearance-os-stack .appearance-preview-bar{grid-template-columns:40px minmax(0,1fr) 40px;padding-inline:7px;gap:3px}
 .appearance-os-stack .appearance-preview-bar>strong{font-size:11px}
 .appearance-os-chrome-windows{gap:1px!important}
 .appearance-os-chrome>svg{width:12px;height:12px}
}
@media(forced-colors:active){
 .appearance-platform-tabs::before{border-color:Highlight;background:Canvas}
 .appearance-platform-icon{forced-color-adjust:auto;filter:none}
 .appearance-os-stack .appearance-preview-bar{background:Canvas;color:CanvasText}
}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs::before{border:2px solid #ff8a39;border-radius:10px;background:#eaf0fc;box-shadow:none}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button>svg.appearance-platform-icon{width:28px;height:28px}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs:not(.has-glass-selection)>button[aria-selected=true]{border-color:#ff8a39;background:#eaf0fc}

/* Settings393: OS icons share the sample titlebar; paired cards keep one boundary. */
.appearance-os-preview{position:relative}
.appearance-platform-tabs{position:absolute;z-index:2;top:0;left:50%;transform:translateX(-50%);box-sizing:border-box;width:148px;grid-template-columns:repeat(3,44px);gap:4px;margin:0;padding:2px}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button{box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;gap:0;width:44px;height:44px;min-height:44px;padding:6px}
.appearance-platform-tabs>button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.appearance-os-stack .appearance-preview-bar{height:48px;min-height:48px}
.appearance-os-stack .appearance-preview-bar>strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container appearance-panel (min-width:1301px){
 .appearance-layout{align-items:stretch}
 .appearance-controls,.appearance-preview{align-self:stretch}
 .appearance-preview{padding:18px;gap:10px 20px}
 .appearance-preview-stage{padding:8px}
}
@container appearance-panel (max-width:420px){
 .appearance-os-preview[data-preview-platform=macos]>.appearance-platform-tabs{left:auto;right:4px;transform:none}
 .appearance-os-preview:not([data-preview-platform=macos])>.appearance-platform-tabs{left:4px;transform:none}
 .appearance-os-chrome-macos{gap:3px!important}
 .appearance-os-chrome-macos i{width:5px;height:5px}
 .appearance-os-chrome-windows>svg:not(:last-child){display:none}
}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs{position:absolute}
.appearance-os-preview.appearance-compact-sample>.appearance-platform-tabs{top:9px}
@container appearance-panel (max-width:420px){
 .appearance-os-preview.appearance-compact-sample[data-preview-platform=macos]>.appearance-platform-tabs{right:13px}
 .appearance-os-preview.appearance-compact-sample:not([data-preview-platform=macos])>.appearance-platform-tabs{left:13px}
}

/* Settings394: softer appearance picker fades and the shared warm setting check colour. */
div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:360ms}
div.settings-select-popup[data-picker-appearance=motion][aria-hidden=true]{--settings-select-duration:300ms}
html[data-interface-motion=quick] div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:240ms}
html[data-interface-motion=quick] div.settings-select-popup[data-picker-appearance=motion][aria-hidden=true]{--settings-select-duration:200ms}
html[data-interface-motion=reduced] div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:0ms!important;--glass-select-duration:0ms!important}
@media(prefers-reduced-motion:reduce){div.settings-select-popup[data-picker-appearance=motion]{--settings-select-duration:0ms!important;--glass-select-duration:0ms!important}}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]{accent-color:#a95012}
:is(#aj-react-root,#interface-settings-dialog) .interface-toggle-setting input[type=checkbox]:checked{border-color:#a95012;background-color:#a95012}
div.settings-select-popup[data-picker-appearance=motion] .settings-select-options button[role=option]>svg{stroke:#a95012}
:is(#aj-react-root .account-settings-panel [data-settings-tab=appearance],.interface-settings-dialog) .appearance-controls .interface-setting-card>input{accent-color:#a95012}

/* Settings395: OS tabs use one continuous selection/crossfade, without a separate press. */
.appearance-platform-tabs{--glass-select-duration:820ms;--glass-ease:cubic-bezier(.4,0,.6,1)}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:hover{background:transparent}
html[data-interface-motion=quick] .appearance-platform-tabs{--glass-select-duration:160ms;--glass-ease:cubic-bezier(.22,.61,.36,1)}
html[data-interface-motion=reduced] .appearance-platform-tabs::before{transition:none!important}
@media(prefers-reduced-motion:reduce){.appearance-platform-tabs::before{transition:none!important}}

/* Settings396: a soft circular marker and short underline stay inside the sample header. */
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs::before{border:0;border-radius:50%;background:linear-gradient(#365f87,#365f87) center calc(100% - 3px)/14px 2px no-repeat,radial-gradient(circle,#e3ecf9 0%,#eff4fc 70%,transparent 72%);box-shadow:none}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button{border-radius:50%}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs:not(.has-glass-selection)>button[aria-selected=true]{border-color:transparent;background:linear-gradient(#365f87,#365f87) center calc(100% - 3px)/14px 2px no-repeat,radial-gradient(circle,#e3ecf9 0%,#eff4fc 70%,transparent 72%)}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible{outline:none;outline-offset:0;border-color:transparent;box-shadow:inset 0 0 0 2px #365f87}
@media(forced-colors:active){
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs::before{background:Canvas;border:2px solid Highlight}
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible{outline:2px solid Highlight;outline-offset:-4px;box-shadow:none}
}

/* Settings397: underline-only OS selection and keyboard focus; no enclosing shape. */
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs::before{border:0;border-radius:0;background:linear-gradient(#365f87,#365f87) center calc(100% - 3px)/24px 2px no-repeat;box-shadow:none}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button{border-radius:0}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs:not(.has-glass-selection)>button[aria-selected=true]{border-color:transparent;background:linear-gradient(#365f87,#365f87) center calc(100% - 3px)/24px 2px no-repeat}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible{outline:none;outline-offset:0;border-color:transparent;box-shadow:none}
:is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible::after{content:"";position:absolute;inset:auto auto 1px 50%;width:24px;height:0;transform:translateX(-50%);border-bottom:3px solid #a95012;pointer-events:none}
@media(forced-colors:active){
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs::before{border:0;background:linear-gradient(Highlight,Highlight) center calc(100% - 3px)/24px 2px no-repeat;forced-color-adjust:none}
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible{outline:none;box-shadow:none}
 :is(#aj-react-root,#interface-settings-dialog) .appearance-platform-tabs>button:focus-visible::after{border-bottom-color:Highlight}
}

/* Settings398: Appearance uses the same native checks as Notification channels. */
:is(#aj-react-root,#interface-settings-dialog) .appearance-preferences .interface-toggle-setting input[type=checkbox],
:is(#aj-react-root,#interface-settings-dialog) .appearance-preferences .interface-toggle-setting input[type=checkbox]:checked{appearance:auto;accent-color:#a95012;border:revert;border-radius:revert;background:revert;background-image:none;box-shadow:none;transition:none}

/* Settings399: OS underline and sample share the existing quick160ms profile. */
.appearance-os-preview[data-glass-motion=quick] .appearance-platform-tabs{--glass-select-duration:160ms;--glass-ease:cubic-bezier(.22,.61,.36,1)}

/* Public header: reserve a full row for readable desktop navigation. */
@media screen and (min-width:1500px){
 .header .header-inner{grid-template-columns:minmax(220px,1fr) auto;column-gap:32px;row-gap:12px;padding-block:18px 10px}
 .header .header-inner .header-actions{grid-column:2;grid-row:1;gap:12px;min-width:0}
 .header .header-inner .header-nav{grid-column:1/-1;grid-row:2;min-width:0;width:100%;border-top:1px solid #dce3ed;padding-top:8px}
 .header .header-inner .header-menu{justify-content:space-between;flex-wrap:wrap;column-gap:24px;row-gap:4px}
 .header .header-inner .header-menu>li{flex:0 0 auto}
 .header .header-inner .header-menu>li>a,.header .header-inner .header-submenu-toggle{padding:10px 4px}
}
@media screen and (max-width:800px){
 .header .header-inner .brand-group.is-horizontal{padding-right:108px;min-width:0}
 .header .header-inner .site-settings-button{position:absolute;right:76px;top:14px;margin:0;width:44px;height:44px}
 .header .header-inner .header-menu-toggle{grid-column:2;grid-row:1;margin:0}
}
@media screen and (max-width:480px){.header .header-inner .site-settings-button{right:70px}}
