/* Curated, account-scoped appearance. No user CSS or remote theme resources. */
html[data-hub-theme]{--ht-bg:#fbfaf7;--ht-surface:#fffefa;--ht-raised:#f3efe6;--ht-ink:#17232b;--ht-muted:#626b65;--ht-line:#ded8cb;--ht-accent:#7a1f2b;--ht-on-accent:#fff;--ht-soft:#eee5d3;--ht-focus:#a17b27;--ht-on-soft:#4f4232;--ht-shadow:#44382113;color-scheme:light}
html[data-hub-theme=pearl]{--ht-bg:#f6f7fa;--ht-surface:#fff;--ht-raised:#edf0f5;--ht-ink:#252d3b;--ht-muted:#606b7e;--ht-line:#dce1e9;--ht-accent:#4d5872;--ht-soft:#e8eaf1;--ht-focus:#596b96;--ht-on-soft:#414c65;--ht-shadow:#1b335713}
html[data-hub-theme=midnight]{--ht-bg:#141b27;--ht-surface:#1c2533;--ht-raised:#232e3e;--ht-ink:#edf1f7;--ht-muted:#b1bdcf;--ht-line:#3a475c;--ht-accent:#bac9f1;--ht-on-accent:#17243e;--ht-soft:#2a3850;--ht-focus:#ccdaff;--ht-on-soft:#d9e3fa;--ht-shadow:#0003;color-scheme:dark}
html[data-hub-theme=ocean]{--ht-bg:#f1f7fa;--ht-surface:#fcfeff;--ht-raised:#e6f0f5;--ht-ink:#163548;--ht-muted:#4c687a;--ht-line:#cbdde6;--ht-accent:#1b5f7d;--ht-soft:#d8eaf2;--ht-focus:#187390;--ht-on-soft:#244e64;--ht-shadow:#173f5713}
html[data-hub-theme=sage]{--ht-bg:#f4f6f1;--ht-surface:#fdfefa;--ht-raised:#e9eee3;--ht-ink:#283b30;--ht-muted:#5b6d60;--ht-line:#d4ddce;--ht-accent:#46634c;--ht-soft:#e1e9d7;--ht-focus:#456749;--ht-on-soft:#3f553d;--ht-shadow:#304f3213}
html[data-hub-theme] body.hub-workspace{--ink:var(--ht-ink);--muted:var(--ht-muted);--text:var(--ht-ink);--rule:var(--ht-line);--paper:var(--ht-surface);--burgundy:var(--ht-accent);--gold:var(--ht-focus);background:var(--ht-bg);color:var(--ht-ink)}
html[data-hub-theme] #main:focus{outline:none}
html[data-hub-theme] .sidebar{background:var(--ht-raised);border-color:var(--ht-line)}
html[data-hub-theme] .sidebar nav{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;flex:1}
html[data-hub-theme] .sidebar .tmbrand{margin-bottom:14px;padding-bottom:18px;border-color:var(--ht-line)}
html[data-hub-theme] .side-foot{flex:none;margin-top:0;padding-top:4px}
html[data-hub-theme] .nav-label{color:var(--ht-muted)}
html[data-hub-theme] .nav-link{color:var(--ht-muted);min-height:44px}
html[data-hub-theme] .nav-link:hover{background:var(--ht-soft);color:var(--ht-ink)}
html[data-hub-theme] .nav-link.active{background:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] :is(.topbar,.bottom-nav){background:var(--ht-surface);border-color:var(--ht-line)}
html[data-hub-theme] :is(.crumb,.profile small,.powered,.nav-label){color:var(--ht-muted)}
html[data-hub-theme] :is(.crumb strong,.powered .wordmark,.search input){color:var(--ht-ink)}
html[data-hub-theme] :is(.search,.search kbd){background:var(--ht-raised);border-color:var(--ht-line);color:var(--ht-muted)}
html[data-hub-theme] .iconbtn{color:var(--ht-muted)}
html[data-hub-theme] .iconbtn:hover{background:var(--ht-soft)}
html[data-hub-theme] .bottom-nav :is(a,button){color:var(--ht-muted)}
html[data-hub-theme] .bottom-nav .active{color:var(--ht-accent)}
html[data-hub-theme] .avatar{background:var(--ht-soft);color:var(--ht-on-soft)}
html[data-hub-theme] .footer-note{border-color:var(--ht-line);color:var(--ht-muted)}
html[data-hub-theme] :is(button,a,input,select,textarea):focus-visible{outline-color:var(--ht-focus)}
html[data-hub-theme] :is(.pagehead p,.pagehint,.resource-row p,.session-row p,.list-item p,.empty,.table th,.table td small,.article-layout .intro,.posthead small,.message small,.search-summary){color:var(--ht-muted)}
html[data-hub-theme] :is(.button,.hx-button):not(.secondary):not(.light){background:var(--ht-accent);border-color:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] :is(.button.secondary,.hx-button.secondary){border-color:var(--ht-line);color:var(--ht-ink);background:var(--ht-surface)}
html[data-hub-theme] :is(.button.secondary,.hx-button.secondary):hover{background:var(--ht-soft)}
html[data-hub-theme] :is(.textbutton,.hx-textlink,.back){color:var(--ht-accent)}
html[data-hub-theme] :is(.section-head,.session-row,.list-item,.resource-row,.post,.reply,.table th,.table td,.article-tools,.toolbar,.hub-ops-row,.integration-section,.formgrid,.quicklinks,.guide-shortcut){border-color:var(--ht-line)}
html[data-hub-theme] :is(.field input,.field select,.field textarea,.toolbar select,.compose,.month,dialog){background:var(--ht-surface);border-color:var(--ht-line);color:var(--ht-ink)}
html[data-hub-theme] :is(.field small,.eyebrow,.session-row small,.dialog-head p,.session-detail dt){color:var(--ht-muted)}
html[data-hub-theme] :is(.mini-event,.cell.outside,.notice,.tag){background:var(--ht-soft);color:var(--ht-on-soft)}
html[data-hub-theme] :is(.month .weekday,.month .cell,.day-stamp,.compose-foot,.dialog-actions){border-color:var(--ht-line)}
html[data-hub-theme] :is(.cell .day,.month .weekday){color:var(--ht-muted)}
html[data-hub-theme] .cell.today .day{background:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] .notice.error{background:var(--ht-surface);color:var(--ht-ink);border-color:#b64b61}
html[data-hub-theme] .hx-workspace{--hx-ink:var(--ht-ink);--hx-muted:var(--ht-muted);--hx-paper:var(--ht-surface);--hx-rule:var(--ht-line);--hx-wine:var(--ht-accent);--hx-gold:var(--ht-focus);color:var(--ht-ink)}
html[data-hub-theme] :is(.hx-hero,.hx-why-hero){background:var(--ht-soft);color:var(--ht-ink)}
html[data-hub-theme] :is(.hx-hero p,.hx-why-hero p,.hx-update p,.hx-onboarding-row small,.hx-support-note p,.hx-market-intro p,.hx-review-panel p,.hx-pilot-step p,.hx-story li,.hx-note-small){color:var(--ht-muted)}
html[data-hub-theme] :is(.hx-hero .hx-eyebrow,.hx-hero h2 em,.hx-why-hero em){color:var(--ht-accent)}
html[data-hub-theme] :is(.hx-note,.hx-demo-tour,.hx-grow,.hx-date,.hx-vendor-mark,.hx-round-icon,.hx-avatar,.hx-recognition-mark){background:var(--ht-soft);border-color:var(--ht-line);color:var(--ht-on-soft)}
html[data-hub-theme] :is(.hx-note p,.hx-demo-tour small,.hx-demo-tour strong,.hx-grow p){color:var(--ht-on-soft)}
html[data-hub-theme] :is(.hx-tour-link,.hx-iconbutton,.hx-iconlink){color:var(--ht-accent)}
html[data-hub-theme] :is(.hx-search,.hx-dialog,.hx-field input,.hx-field textarea,.hx-field select){background:var(--ht-surface);border-color:var(--ht-line);color:var(--ht-ink)}
html[data-hub-theme] .hx-dialog{--hx-ink:var(--ht-ink);--hx-muted:var(--ht-muted);--hx-rule:var(--ht-line)}
html[data-hub-theme] .hx-check{color:var(--ht-muted)}
html[data-hub-theme=midnight] :is(.hub-approved-logo,.hx-approved-logo){background:#f6f1e6;mix-blend-mode:normal;border-radius:4px}
/* Messaging retains its familiar blue bubbles; themes only change its surround. */
html[data-hub-theme] .messages-page{color:var(--ht-ink)}
/* Existing editorial, calendar and team surfaces use paired colors, not a blanket text reset. */
html[data-hub-theme] :is(.pagehead h1,.section-head h2,.session-row h3,.list-item h3,.dialog-head h2,.field,.table td,.prose,.checklist li,.hub-step-heading h2,.hub-workflow-aside h2,.hub-workflow-aside h3,.hub-case-main h2,.hub-case-summary strong,.hub-next-action h2,.hub-required-items h3,.hub-progress-row h2,.integration-heading h2,.integration-service h3,.integration-toggle strong,.integration-help summary,.recording-copy h2,.recording-access h2,.lyntura-context h2,.lyntura-product-intro h1,.lyntura-workday strong,.lyntura-workflows h2){color:var(--ht-ink)}
html[data-hub-theme] :is(.aside-note,.field small,.checkfield,.session-copy>small,.guide-shortcut small,.list-item .meta,.date-label,.update-label span,.resource-tablehead,.resource-row .category,.calendar-footnote,.timezone-label,.hub-workflow-progress span,.hub-workflow-progress p,.hub-onboarding-step p,.hub-step-date,.hub-workflow-aside p,.hub-status-filter,.hub-case-main p,.hub-case-next,.hub-case-meta small,.hub-case-summary>div>span:first-child,.hub-next-action>p,.hub-required-items li,.hub-required-items p,.hub-progress-heading,.hub-progress-row p,.hub-progress-meter,.hub-progress-meter small,.hub-progress-cases span,.integration-heading p,.integration-service p,.integration-body>p,.integration-help,.integration-toggle small,.integration-status,.recording-results,.recording-kicker,.recording-copy p,.recording-meta,.recording-detail-meta,.recording-access p,.recording-access small,.lyntura-context p,.lyntura-product-intro p,.lyntura-quiet-note,.lyntura-workday-head,.lyntura-workday small,.lyntura-workday-foot,.lyntura-workflows p,.lyntura-bridge p,.hub-demo-profile-row small,.hub-alias-record p,.hub-escalation-summary dt,.hub-engagement dt){color:var(--ht-muted)}
html[data-hub-theme] .hub-workflow-disclosure{color:var(--ht-muted)!important}
html[data-hub-theme] :is(.calendar-surface,.calendar-toolbar,.month .cell,.hub-case-search,.hub-status-filter select,.recording-searchbox,.private-calendar-link input){background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.hub-case-search input,.recording-searchbox input,.compact-day){color:var(--ht-ink)}
html[data-hub-theme] :is(.month .weekday,.view-switch,.resource-icon,.hub-case-monogram,.carrier-monogram,.integration-icon,.recording-glyph,.hub-contracting-intro,.hub-support-selfservice,.hub-demo-notice,.phase2-home-link,.hub-next-action,.private-calendar-link,.lyntura-workday){background:var(--ht-raised);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.hub-support-selfservice p,.hub-contracting-intro .pagehint,.hub-demo-notice p,.mini-event small){color:var(--ht-muted)}
html[data-hub-theme] :is(.tabs button,.view-switch button,.compact-day,.quicklinks a){color:var(--ht-muted)}
html[data-hub-theme] :is(.tabs button[aria-selected=true],.view-switch button[aria-pressed=true],.hub-workflow-progress strong,.hub-progress-cases strong,.lyntura-product-intro h1 em,.lyntura-bridge h2 em,.hub-demo-notice a){color:var(--ht-accent);border-color:var(--ht-accent)}
html[data-hub-theme] :is(.view-switch button[aria-pressed=true],.quicklinks a:hover){background:var(--ht-soft)}
html[data-hub-theme] .today .compact-day>span:first-child{color:var(--ht-accent);box-shadow:inset 0 0 0 1px var(--ht-accent)}
html[data-hub-theme] .selected-day .compact-day>span:first-child{background:var(--ht-accent);color:var(--ht-on-accent);box-shadow:none}
html[data-hub-theme] .hx-tour-link{background:var(--ht-surface);border-color:var(--ht-line)}
html[data-hub-theme] .hx-support-note{background:transparent}
/* Operations and the staff tour keep their own layout and semantic status colors. */
html[data-hub-theme] :is(.ho,.ho-dialog){--ho-ink:var(--ht-ink);--ho-muted:var(--ht-muted);--ho-rule:var(--ht-line);--ho-paper:var(--ht-surface);--ho-burgundy:var(--ht-accent);--ho-gold:var(--ht-focus);color:var(--ht-ink)}
html[data-hub-theme] :is(.ho-search,.ho-dialog,.ho-field input,.ho-field textarea,.ho-field select){background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.ho-table th,.ho-preview,.ho-connection-mark,.ho-avatar,.ho-readiness,.ho-demo){background:var(--ht-raised);color:var(--ht-on-soft);border-color:var(--ht-line)}
html[data-hub-theme] :is(.ho-readiness strong,.ho-footer b){color:var(--ht-ink)}
html[data-hub-theme] :is(.ho-nav button,.ho-filters button,.ho-caption,.ho-table td small,.ho-workflow li,.ho-workflow small,.ho-connection small,.ho-footer,.ho-icon-button,.ho-field small,.ho-check,.ho-modal-foot>small,.ho-detail-meta,.ho-detail-body,.ho-detail-grid small,.ho-payroll-entries th,.ho-security-note,.ho-mobile-label,.ho-line-entry legend){color:var(--ht-muted)}
html[data-hub-theme] .ho-button{background:var(--ht-accent);border-color:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] .ho-button.secondary{background:var(--ht-surface);border-color:var(--ht-line);color:var(--ht-ink)}
html[data-hub-theme] :is(.ho-button.secondary:hover,.ho-icon-button:hover,.ho-filters button[aria-pressed=true]){background:var(--ht-soft);color:var(--ht-on-soft)}
html[data-hub-theme] .ho-nav button[aria-selected=true]{color:var(--ht-accent)}
html[data-hub-theme] :is(.hs,.hs-dialog){--hs-ink:var(--ht-ink);--hs-muted:var(--ht-muted);--hs-red:var(--ht-accent);--hs-gold:var(--ht-focus);--hs-cream:var(--ht-bg);--hs-line:var(--ht-line);color:var(--ht-ink)}
html[data-hub-theme] :is(.hs-body,.hs-dialog,.hs-search,.hs-field input,.hs-field select,.hs-field textarea,.hs-board button,.hs-signature){background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.hs-nav,.hs-metric,.hs-board section,.hs th,.hs-notice,.hs-demo){background:var(--ht-raised);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.hs-nav button:hover,.hs-metric:hover){background:var(--ht-soft)}
html[data-hub-theme] :is(.hs-nav button[aria-current=page],.hs-button:not(.secondary):not(.ghost)){background:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] :is(.hs-nav-label,.hs-footer,.hs table.hs-responsive td:before){color:var(--ht-muted)}
html[data-hub-theme] .hs-contrast-note{color:var(--ht-muted)!important}
html[data-hub-theme] :is(.hs-status.blocked,.hs-status.needs_approval,.hs-status.returned){background:#f4e4e5;color:#7a1f2b}
/* Company structure inherits appearance without changing identity or permissions. */
html[data-hub-theme] :is(.company-structure,.cs-dialog){--cs-ink:var(--ht-ink);--cs-muted:var(--ht-muted);--cs-line:var(--ht-line);--cs-surface:var(--ht-surface);--cs-accent:var(--ht-accent);color:var(--ht-ink)}
html[data-hub-theme] :is(.cs-node,.cs-node.is-owner,.cs-dialog,.cs-dialog input,.cs-dialog select,.cs-button,.cs-filter select){background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-hub-theme] :is(.cs-tree-viewport,.cs-switch,.cs-directory-head,.cs-dialog footer,.cs-form-note,.cs-demo){background:var(--ht-raised);color:var(--ht-muted);border-color:var(--ht-line)}
html[data-hub-theme] :is(.cs-avatar,.cs-node.is-owner .cs-avatar,.cs-branch-toggle,.cs-company-name>svg){background:var(--ht-soft);color:var(--ht-on-soft);border-color:var(--ht-line)}
html[data-hub-theme] :is(.cs-title,.cs-eyebrow,.cs-content-meta,.cs-owner-mark,.cs-department,.cs-privacy,.cs-directory-row small,.cs-dialog header>p:last-of-type,.cs-demo p,.cs-demo>span,.cs-mobile-label){color:var(--ht-muted)}
html[data-hub-theme] :is(.cs-alias,.cs-directory-row .cs-alias,.cs-link,.cs-privacy a,.cs-demo a){color:var(--ht-accent)}
html[data-hub-theme] .cs-button.cs-primary{background:var(--ht-accent);border-color:var(--ht-accent);color:var(--ht-on-accent)}
html[data-hub-theme] .cs-switch button[aria-pressed=true]{background:var(--ht-surface);color:var(--ht-ink)}
html[data-hub-theme] .cs-switch button{color:var(--ht-muted)}
html[data-hub-theme] :is(.cs-status,.cs-privacy strong,.cs-empty,.cs-loading,.cs-error){color:var(--ht-muted)}
html[data-hub-theme] :is(.cs-empty h2,.cs-error h2){color:var(--ht-ink)}
.ht-gallery{font-family:Manrope,Arial,sans-serif;color:var(--ht-ink);padding-bottom:24px}
.ht-gallery svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.ht-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:2px 0 32px}
.ht-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750;color:var(--ht-muted)}
.ht-heading h1{font:400 clamp(30px,3.5vw,46px)/1.13 Georgia,serif;letter-spacing:-1.4px;max-width:620px;margin:11px 0 15px}
.ht-heading p{font-size:13px;line-height:1.8;color:var(--ht-muted);margin:0}
.ht-back{display:inline-flex;gap:9px;align-items:center;white-space:nowrap;font-size:11px;color:var(--ht-accent);padding:12px 0}
.ht-featured{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);border:1px solid var(--ht-line);background:var(--ht-surface);border-radius:16px;overflow:hidden;min-height:290px}
.ht-featured-copy{padding:35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ht-featured-copy h2{font:400 34px/1.15 Georgia,serif;letter-spacing:-.7px;margin:11px 0 13px}
.ht-featured-copy p{font-size:12px;color:var(--ht-muted);line-height:1.8;max-width:280px;margin:0 0 22px}
.ht-featured-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ht-private-note{font-size:10px;color:var(--ht-muted);margin-top:20px}
.ht-button{min-height:44px;padding:11px 17px;border:1px solid var(--ht-accent);border-radius:7px;background:var(--ht-accent);color:var(--ht-on-accent);font-size:12px;font-weight:650;display:inline-flex;gap:9px;align-items:center;justify-content:center;line-height:1.3}
.ht-button:hover{filter:brightness(.94)}
.ht-button.ht-secondary{background:var(--ht-surface);border-color:var(--ht-line);color:var(--ht-ink)}
.ht-button:disabled{cursor:not-allowed;opacity:.5}
.ht-current-mark{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ht-accent);min-height:44px}
.ht-current-mark svg{background:var(--ht-soft);border-radius:50%;padding:4px;width:24px;height:24px}
.ht-status:empty{display:none}.ht-status>p{font-size:12px;color:var(--ht-muted)}
.ht-error{padding:14px 17px;background:var(--ht-surface);border:1px solid var(--ht-line);border-left:3px solid #b64b61;border-radius:5px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;font-size:12px}
.ht-textbutton{background:none;color:var(--ht-accent);border:0;min-height:44px;padding:8px;font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.ht-collection-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 24px;padding-bottom:15px;border-bottom:1px solid var(--ht-line)}
.ht-filters{display:flex;gap:5px;flex-wrap:wrap}
.ht-filters button{display:flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:7px;padding:10px 14px;color:var(--ht-muted);font-size:12px;min-height:44px;font-weight:600}
.ht-filters button[aria-pressed=true]{background:var(--ht-raised);color:var(--ht-ink)}
.ht-filters button>span{font-size:10px;min-width:19px;text-align:center;background:var(--ht-surface);border-radius:5px;padding:1px 5px}
.ht-reset{background:none;border:0;color:var(--ht-muted);display:flex;align-items:center;gap:7px;font-size:11px;min-height:44px;padding:8px 0}
.ht-reset:disabled{opacity:.5;cursor:default}
.ht-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.ht-theme{min-width:0}
.ht-preview{border:2px solid transparent;border-radius:12px;background:var(--ht-raised);padding:0;width:100%;display:block;overflow:hidden;text-align:left;position:relative}
.ht-theme.is-selected .ht-preview{border-color:var(--ht-accent);box-shadow:0 0 0 3px var(--ht-bg),0 0 0 4px var(--ht-accent)}
.ht-preview-caption{position:absolute;bottom:0;right:0;left:0;display:flex;align-items:center;justify-content:space-between;background:var(--ht-surface);color:var(--ht-ink);padding:11px 15px;font-size:11px;opacity:0;transform:translateY(6px);transition:opacity .15s ease,transform .15s ease}
.ht-preview:hover .ht-preview-caption,.ht-preview:focus-visible .ht-preview-caption{opacity:1;transform:none}
.ht-theme-copy{display:flex;align-items:flex-start;gap:12px;margin-top:17px;padding:0 2px}
.ht-theme-copy>div{flex:1;min-width:0}
.ht-theme-mood{font-size:9px;letter-spacing:.9px;color:var(--ht-muted);text-transform:uppercase}
.ht-theme-copy h2{font-size:16px;letter-spacing:-.4px;line-height:1.4;font-weight:650;margin:5px 0 7px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ht-theme-copy p{font-size:11px;line-height:1.75;color:var(--ht-muted);margin:0;max-width:290px;min-height:39px}
.ht-applied{font-size:9px;font-weight:600;color:var(--ht-accent);display:flex;align-items:center;gap:3px;letter-spacing:0}
.ht-applied svg{width:13px;height:13px}
.ht-favorite{width:44px;height:44px;border-radius:50%;border:0;background:none;color:var(--ht-muted);display:grid;place-items:center;flex:none;margin-top:0}
.ht-favorite:hover{background:var(--ht-soft)}
.ht-favorite[aria-pressed=true]{color:var(--ht-accent)}
.ht-favorite[aria-pressed=true] svg{fill:currentColor}
.ht-favorite:disabled{cursor:not-allowed}
.ht-theme-detail{display:flex;gap:12px;align-items:center;margin-top:15px;font-size:10px;color:var(--ht-muted);padding:0 2px}
.ht-swatches{display:inline-flex;padding-left:2px}
.ht-swatches i{width:14px;height:14px;border:2px solid var(--ht-bg);box-sizing:content-box;border-radius:50%;margin-left:-3px;background:var(--scene-bg)}
.ht-swatches i:nth-child(2){background:var(--scene-shape)}.ht-swatches i:nth-child(3){background:var(--scene-accent)}.ht-swatches i:nth-child(4){background:var(--scene-ink)}
.ht-gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:38px;border-top:1px solid var(--ht-line);padding-top:21px;font-size:10px;color:var(--ht-muted)}
.ht-gallery-foot>span,.ht-gallery-foot>a{display:flex;align-items:center;gap:8px}
.ht-gallery-foot>a{color:var(--ht-accent);min-height:44px}
.ht-empty{grid-column:1/-1;text-align:center;padding:35px 20px}
.ht-empty>span{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:50%;color:var(--ht-accent);background:var(--ht-soft)}
.ht-empty h2{font:400 26px Georgia,serif}.ht-empty p{font-size:12px;color:var(--ht-muted)}
.ht-preview-bar{position:sticky;bottom:18px;z-index:8;margin:25px 0 0;background:var(--ht-surface);box-shadow:0 8px 35px var(--ht-shadow);border:1px solid var(--ht-line);border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:10px}
.ht-preview-bar>div{flex:1;min-width:0}.ht-preview-bar strong{display:block;font-size:12px}.ht-preview-bar span{display:block;font-size:10px;color:var(--ht-muted);margin-top:3px}
/* Five original CSS landscapes, with a consistent miniature app preview. */
[data-theme-scene]{--scene-bg:#e7dbc0;--scene-shape:#c5ad7c;--scene-accent:#7a1f2b;--scene-paper:#fffdf8;--scene-side:#f1ece0;--scene-ink:#29332e;--scene-muted:#778078}
[data-theme-scene=pearl]{--scene-bg:#e3e7f0;--scene-shape:#b7c1d6;--scene-accent:#4d5872;--scene-paper:#fff;--scene-side:#eff1f6;--scene-ink:#343f54;--scene-muted:#727c90}
[data-theme-scene=midnight]{--scene-bg:#162338;--scene-shape:#30496b;--scene-accent:#b4c8f3;--scene-paper:#202c40;--scene-side:#182336;--scene-ink:#eef4ff;--scene-muted:#9fadc4}
[data-theme-scene=ocean]{--scene-bg:#cee6ef;--scene-shape:#78b1c6;--scene-accent:#1b5f7d;--scene-paper:#fcfeff;--scene-side:#e8f3f8;--scene-ink:#1b3e53;--scene-muted:#68828f}
[data-theme-scene=sage]{--scene-bg:#e2e9d7;--scene-shape:#a5ba96;--scene-accent:#46634c;--scene-paper:#fcfef9;--scene-side:#edf2e6;--scene-ink:#314c38;--scene-muted:#73836b}
.ht-scene{aspect-ratio:1.5;background:var(--scene-bg);position:relative;overflow:hidden;display:grid;place-items:center;padding:29px 26px 22px;isolation:isolate}
.ht-landscape{position:absolute;inset:0;z-index:-1;overflow:hidden}
.ht-landscape i{display:block;position:absolute;background:var(--scene-shape);opacity:.45;width:150%;height:95%;left:-25%;bottom:-55%;border-radius:50% 50% 0 0;transform:rotate(-15deg)}
.ht-landscape i:nth-child(2){left:30%;bottom:-50%;transform:rotate(20deg);opacity:.3}.ht-landscape i:nth-child(3){height:60%;width:45%;top:-24%;left:55%;border-radius:50%;opacity:.25}
[data-theme-scene=pearl] .ht-landscape i{height:180%;width:60%;left:55%;top:-45%;border-radius:50%;transform:rotate(30deg);opacity:.24}
[data-theme-scene=pearl] .ht-landscape i:nth-child(2){left:-5%;top:20%;opacity:.16}
[data-theme-scene=midnight] .ht-landscape i:nth-child(3){background:#cbdaf3;top:12%;left:71%;width:18%;height:auto;aspect-ratio:1;opacity:.7;border-radius:50%;transform:none}
[data-theme-scene=ocean] .ht-landscape i{left:-15%;width:150%;border-radius:43%;height:135%;bottom:-85%;transform:rotate(8deg)}
[data-theme-scene=ocean] .ht-landscape i:nth-child(2){bottom:-63%;opacity:.2;transform:rotate(-10deg)}
[data-theme-scene=sage] .ht-landscape i{width:100%;height:140%;left:40%;top:24%;border-radius:45% 45% 0 0;transform:rotate(35deg)}
[data-theme-scene=sage] .ht-landscape i:nth-child(2){left:-35%;top:32%;transform:rotate(-30deg);opacity:.25}
.ht-window{position:relative;background:var(--scene-paper);border:1px solid #ffffff66;border-radius:7px;width:100%;box-shadow:0 9px 22px #273b4a21;transform:rotate(-3deg);overflow:hidden;max-width:380px}
.ht-window-bar{height:21px;display:flex;align-items:center;gap:3px;padding:0 9px;border-bottom:1px solid #8991a322;color:var(--scene-muted)}
.ht-window-bar>span{height:3px;width:3px;background:currentColor;border-radius:50%;opacity:.5}.ht-window-bar b{font-size:5px;font-weight:600;margin-left:auto}
.ht-window-body{display:grid;grid-template-columns:21% 1fr;min-height:121px}
.ht-window-side{padding:14px 7px;background:var(--scene-side);display:flex;flex-direction:column;gap:7px}
.ht-window-side>i{height:4px;border-radius:2px;width:90%;background:var(--scene-muted);opacity:.2}
.ht-window-side>i:first-child{height:11px;background:var(--scene-accent);opacity:.8;margin-bottom:3px}
.ht-window-content{padding:15px 15px 18px;min-width:0;color:var(--scene-ink)}
.ht-mini-kicker{font-size:4px;letter-spacing:.6px;display:block;color:var(--scene-muted)}
.ht-window-content>strong{font:400 17px/1.15 Georgia,serif;display:block;letter-spacing:-.4px;margin:7px 0 10px}
.ht-mini-line{height:3px;width:72%;background:var(--scene-muted);opacity:.3;margin:4px 0;border-radius:2px}.ht-mini-line.short{width:50%}
.ht-mini-button{font-size:4px;border-radius:2px;margin-top:11px;padding:5px 6px;background:var(--scene-accent);color:var(--scene-paper);display:inline-flex;gap:16px}
.ht-scene-large{aspect-ratio:auto;min-height:290px;padding:34px 45px}.ht-scene-large .ht-window{transform:rotate(-4deg);max-width:390px}.ht-scene-large .ht-window-bar{height:29px}.ht-scene-large .ht-window-bar b{font-size:7px}.ht-scene-large .ht-window-content{padding:23px 24px}.ht-scene-large .ht-window-content>strong{font-size:27px;margin:10px 0 16px}.ht-scene-large .ht-mini-kicker{font-size:6px}.ht-scene-large .ht-mini-button{font-size:6px;padding:8px 10px}.ht-scene-large .ht-window-side{padding:23px 12px;gap:12px}.ht-scene-large .ht-window-side>i{height:5px}.ht-scene-large .ht-window-side>i:first-child{height:15px}
.ht-preferences-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 0;border-bottom:1px solid var(--ht-line);margin-bottom:28px;color:var(--ht-ink)}
.ht-preferences-link h2{font:400 28px Georgia,serif;margin:0 0 8px}.ht-preferences-link p{color:var(--ht-muted);font-size:12px;margin:0}.ht-preferences-link svg{width:21px;height:21px;stroke:currentColor;fill:none;flex:none}
@media(max-width:1150px){.ht-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}.ht-heading{align-items:flex-start;flex-direction:column;gap:6px}.ht-featured-copy{padding:28px}.ht-featured{grid-template-columns:minmax(230px,.9fr) minmax(250px,1fr)}.ht-scene-large{padding:30px}}
@media(max-width:900px){.ht-preview-bar{bottom:78px}}
@media(max-width:620px){.ht-heading{margin-bottom:23px}.ht-heading h1{font-size:35px;letter-spacing:-1.1px}.ht-heading p{font-size:12px}.ht-featured{display:flex;flex-direction:column-reverse;border-radius:12px;min-height:0}.ht-featured-copy{padding:24px}.ht-featured-copy h2{font-size:30px}.ht-featured-copy p{max-width:100%;font-size:12px;margin-bottom:15px}.ht-scene-large{min-height:240px;padding:24px 35px}.ht-scene-large .ht-window{max-width:300px}.ht-scene-large .ht-window-content>strong{font-size:23px}.ht-collection-head{align-items:flex-start;flex-direction:column;gap:2px;margin-top:24px}.ht-grid{grid-template-columns:1fr;gap:30px}.ht-scene{aspect-ratio:1.65;padding:32px 34px}.ht-scene-large{aspect-ratio:auto}.ht-window{max-width:340px}.ht-window-body{min-height:145px}.ht-window-content>strong{font-size:22px}.ht-window-content{padding:18px 20px}.ht-mini-kicker{font-size:5px}.ht-mini-button{font-size:5px}.ht-preview-caption{opacity:1;transform:none;padding:9px 13px;font-size:10px;background:var(--ht-surface)}.ht-theme-copy{margin-top:16px}.ht-theme-copy h2{font-size:17px}.ht-theme-copy p{font-size:12px;max-width:100%;min-height:0}.ht-theme-mood{font-size:9px}.ht-gallery-foot{flex-direction:column;align-items:flex-start;font-size:10px;gap:6px}.ht-preview-bar{flex-wrap:wrap;padding:13px;border-radius:10px;gap:8px;bottom:78px}.ht-preview-bar>div{flex-basis:100%;margin-bottom:3px}.ht-preview-bar>.ht-button{flex:1}.ht-error{align-items:flex-start;flex-direction:column;gap:3px}.ht-preferences-link{align-items:flex-start}.ht-preferences-link h2{font-size:24px}.ht-private-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ht-gallery *,.ht-gallery *:before,.ht-gallery *:after{transition:none!important;animation:none!important}}

/* Flat destinations with dedicated Messages; no category expanders. */
html[data-hub-theme] .sidebar nav{padding-top:8px}
html[data-hub-theme] .sidebar .hn-primary-item{min-height:47px;padding:12px 14px;margin:5px 0;font-size:13px;font-weight:600;border-radius:7px}
html[data-hub-theme] :is(.nav-link,.bottom-nav a)[href="#messages"]{position:relative}
html[data-hub-theme] .hn-crm-link{display:flex;align-items:center;gap:9px;border:1px solid var(--ht-line);border-radius:7px;min-height:45px;padding:11px 12px;font-size:11px;font-weight:650;color:var(--ht-ink);background:var(--ht-surface);text-decoration:none}
html[data-hub-theme] .hn-crm-link .i{width:16px;height:16px;flex:none}
html[data-hub-theme] .hn-crm-link>.i:last-child{margin-left:auto;width:14px}
html[data-hub-theme] .hn-crm-link:hover{background:var(--ht-soft);border-color:var(--ht-focus)}
html[data-hub-theme] :is(.hn-tool-grid,.hn-account-links){display:grid;grid-template-columns:1fr 1fr;column-gap:32px}
html[data-hub-theme] .hn-tool-link{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--ht-line);padding:22px 0;min-height:94px;color:var(--ht-ink);text-decoration:none}
html[data-hub-theme] .hn-tool-link>span:nth-child(2){flex:1;min-width:0}
html[data-hub-theme] .hn-tool-link strong{display:block;font-size:14px;font-weight:650;line-height:1.5}
html[data-hub-theme] .hn-tool-link small{display:block;font-size:12px;color:var(--ht-muted);line-height:1.7;margin-top:5px;max-width:360px}
html[data-hub-theme] .hn-tool-link>.i{width:16px;height:16px;color:var(--ht-muted);flex:none}
html[data-hub-theme] .hn-shortcut-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:8px;background:var(--ht-soft);color:var(--ht-accent)}
html[data-hub-theme] .hn-shortcut-icon .i{width:19px;height:19px}
html[data-hub-theme] .hn-tool-link:hover strong{color:var(--ht-accent)}
html[data-hub-theme] .hn-tool-link:focus-visible{outline:2px solid var(--ht-focus);outline-offset:4px;border-radius:3px}
html[data-hub-theme] .hn-team-work{margin-top:35px}
html[data-hub-theme] .hn-secondary-links{display:flex;flex-wrap:wrap;align-items:center;column-gap:24px;row-gap:4px;margin:-13px 0 27px;font-size:11px;color:var(--ht-muted)}
html[data-hub-theme] .hn-secondary-links a{display:inline-flex;align-items:center;gap:7px;min-height:44px;text-underline-offset:4px}
html[data-hub-theme] .hn-secondary-links a:hover{color:var(--ht-accent)}
html[data-hub-theme] .hn-secondary-links .i{width:14px;height:14px}
html[data-hub-theme] .hn-team-more{margin:24px 0 0;border-top:1px solid var(--ht-line);padding-top:12px}
html[data-hub-theme] .hn-team-note{font-size:11px;line-height:1.8;color:var(--ht-muted);margin:28px 0 0;max-width:650px}
html[data-hub-theme] .hn-account-shortcuts{margin:0 0 30px}
html[data-hub-theme] .hn-account-links .hn-tool-link{min-height:80px;padding:19px 0}
html[data-hub-theme] .hn-account-links .hn-tool-link strong{font-size:13px}
html[data-hub-theme] .hn-account-links .hn-tool-link small{font-size:11px}
html[data-hub-theme] .hn-resource-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0 0 30px;border-top:1px solid var(--ht-line)}
html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link{display:block;position:relative;padding:21px 0;min-height:149px}
html[data-hub-theme] .hn-resource-shortcuts .hn-shortcut-icon{width:32px;height:32px;margin-bottom:14px}
html[data-hub-theme] .hn-resource-shortcuts .hn-shortcut-icon .i{width:16px;height:16px}
html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link strong{font-size:12px}
html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link small{font-size:11px;margin-top:5px}
html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link>.i{position:absolute;top:29px;right:0;width:14px}
@media(max-width:1100px){html[data-hub-theme] .hn-resource-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link{min-height:135px}}
@media(max-width:620px){html[data-hub-theme] :is(.hn-tool-grid,.hn-account-links){grid-template-columns:1fr}html[data-hub-theme] .hn-tool-link{padding:20px 0;min-height:90px}html[data-hub-theme] .hn-tool-link strong{font-size:13px}html[data-hub-theme] .hn-tool-link small{font-size:11px}html[data-hub-theme] .hn-account-links .hn-tool-link{min-height:76px;padding:17px 0}html[data-hub-theme] .hn-resource-shortcuts{gap:0 17px;margin-bottom:24px}html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link{padding:18px 0;min-height:132px}html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link>.i{top:26px}html[data-hub-theme] .hn-resource-shortcuts .hn-tool-link small{font-size:11px}html[data-hub-theme] .hn-team-work{margin-top:26px}}

/* Account stays visible in the header while Messages gets its own mobile tab. */
html[data-hub-theme] .profile .hn-mobile-account{display:none}
@media(max-width:900px),(orientation:portrait) and (max-width:1200px){
 html[data-hub-theme] .hub-workspace .topbar .profile{display:flex;align-items:center;gap:6px;flex:none;min-height:44px;padding:3px 5px;border-radius:7px;text-decoration:none}
 html[data-hub-theme] .hub-workspace .profile .hn-mobile-account{display:block;font-size:10px;font-weight:650;color:var(--ht-ink)}
 html[data-hub-theme] .hub-workspace .profile .hub-profile-label{display:none}
 html[data-hub-theme] .hub-workspace .profile :is(.avatar,.hp-avatar){width:27px;height:27px;flex:none}
 html[data-hub-theme] .hub-workspace .profile[aria-current]{background:var(--ht-soft);box-shadow:inset 0 0 0 1px var(--ht-line)}
}

/* Device fit is layout-based, never whole-page scaling. Keep ordinary pages scrollable. */
html[data-hub-theme] .hub-workspace .workspace{min-width:0}
html[data-hub-theme] .hub-workspace main.messages-page{width:100%;max-width:1720px;min-height:0;margin-inline:auto;padding:clamp(16px,1.4vw,28px)}
html[data-hub-theme] .hm-app{height:var(--hn-message-height,calc(100dvh - 124px));min-height:0;max-width:1664px;margin-inline:auto}
html[data-hub-theme] .messages-page>.footer-note{display:none}
html[data-hub-theme] .hm-app :is(button,.hm-primary),html[data-hub-theme] .hm-dialog button{min-height:44px}
html[data-hub-theme] :is(.hm-icon,.hm-compose-new,.hm-back,.hm-send),html[data-hub-theme] .hm-composer>.hm-icon,html[data-hub-theme] .hm-draft-file .hm-icon,html[data-hub-theme] .hm-mention-head .hm-icon{width:44px;height:44px;min-width:44px;min-height:44px}
html[data-hub-theme] .hm-text-wrap{min-width:0}
html[data-hub-theme] .hm-text-wrap textarea{min-height:44px}
/* Polling replaces the transcript: do not replay animation on historical bubbles. */
html[data-hub-theme] .hm-bubble{animation:none!important}
html[data-hub-theme] .hm-bubble{font-size:14px}
html[data-hub-theme] .hm-conv-first strong{font-size:14px}
html[data-hub-theme] .hm-conv-preview{font-size:12px}
html[data-hub-theme] :is(.hm-conv-first time,.hm-conv-last,.hm-message-time,.hm-date,.hm-receipt){font-size:11px}
html[data-hub-theme] .hm-header-copy h2{font-size:15px}
html[data-hub-theme] .hm-header-copy>span{font-size:11px}
html[data-hub-theme] :is(.hm-sample-label,.hm-sender-name,.hm-file small){font-size:10px}
html[data-hub-theme] :is(.hm-file strong,.hm-mention-results button){font-size:12px}
html[data-hub-theme] .hm-send,html[data-hub-theme] .hn-tool-link,html[data-hub-theme] .hn-crm-link{transition:background-color .16s ease,color .16s ease,transform .16s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){html[data-hub-theme] .hn-tool-link:hover>.i{transform:translateX(2px)}html[data-hub-theme] .hn-tool-link>.i{transition:transform .16s ease}}
@media(pointer:coarse){html[data-hub-theme] :is(.hm-app,.hm-dialog) :is(input,textarea,select){font-size:16px}}
@media(min-width:1700px){html[data-hub-theme] .hm-app{grid-template-columns:340px minmax(0,1fr)}}
@media(max-width:900px),(orientation:portrait) and (max-width:1200px){
 html[data-hub-theme] .hub-workspace .layout{display:block}
 html[data-hub-theme] .hub-workspace .topbar{height:calc(66px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 html[data-hub-theme] .hub-workspace .topbar .mobile-menu{display:inline-grid}
 html[data-hub-theme] .hub-workspace .topbar :is(.mobile-menu,.notify){width:44px;height:44px;min-width:44px;min-height:44px;flex:none}
 html[data-hub-theme] .hub-workspace .crumb>span{display:none}
 html[data-hub-theme] .hub-workspace .sidebar{position:fixed;top:0;bottom:0;width:260px;height:100dvh;left:0;transform:translateX(calc(-100% - 20px));transition:transform .18s cubic-bezier(.2,.7,.3,1);padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:calc(16px + env(safe-area-inset-bottom));padding-left:max(17px,env(safe-area-inset-left))}
 html[data-hub-theme] .hub-workspace.menu-open .sidebar{left:0;transform:translateX(0)}
 html[data-hub-theme] .hub-workspace.menu-open .mobile-overlay{display:block;position:fixed;inset:0;border:0;background:#17232b66;z-index:11}
 html[data-hub-theme] .hub-workspace main{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right));padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 html[data-hub-theme] .hub-workspace main.messages-page{padding:12px max(12px,env(safe-area-inset-right)) calc(78px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 html[data-hub-theme] .hub-workspace .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:10;justify-content:space-around;align-items:center;height:calc(66px + env(safe-area-inset-bottom));padding:8px max(4px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));border-top:1px solid var(--ht-line);transition:transform .18s ease}
 html[data-hub-theme] .hub-workspace .bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;flex:1;font-size:10px;text-decoration:none}
 html[data-hub-theme] .hub-workspace .bottom-nav .i{width:20px;height:20px}
 html[data-hub-theme] .hub-workspace.hn-message-keyboard .bottom-nav{transform:translateY(110%);pointer-events:none}
 html[data-hub-theme] .hub-workspace.hn-message-keyboard main.messages-page{padding-bottom:0}
}
@media(max-width:720px){
 html[data-hub-theme] .hm-bubble{font-size:15px;line-height:1.55}
 html[data-hub-theme] .hub-workspace main.messages-page{padding:0 max(0px,env(safe-area-inset-right)) calc(67px + env(safe-area-inset-bottom)) max(0px,env(safe-area-inset-left))}
 html[data-hub-theme] .hm-app{height:var(--hn-message-height,calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));min-height:0}
 html[data-hub-theme] .hm-composer-wrap{padding:9px 8px max(9px,env(safe-area-inset-bottom))}
 html[data-hub-theme] .hm-composer{padding:4px;gap:0}
 html[data-hub-theme] .hm-chat-head{padding:10px 12px;gap:8px}
 html[data-hub-theme] .hm-send{margin:0}
 html[data-hub-theme] .hm-back{margin-left:-4px}
}
@media(max-width:620px){html[data-hub-theme] .hub-workspace .topbar{height:calc(62px + env(safe-area-inset-top));gap:6px}html[data-hub-theme] .hub-workspace .search{min-width:0;padding:9px 8px}html[data-hub-theme] .hub-workspace .search input::placeholder{font-size:11px}}
@media(max-width:900px) and (max-height:500px) and (orientation:landscape){
 html[data-hub-theme] .hm-inbox-head{display:grid;grid-template-columns:44px minmax(100px,1fr) auto;gap:10px;align-items:center;padding:8px 12px}
 html[data-hub-theme] .hm-title-row{margin:0}
 html[data-hub-theme] .hm-title-row h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html[data-hub-theme] .hm-inbox-head>.hm-kicker,html[data-hub-theme] .hm-inbox-sub,html[data-hub-theme] .hm-inbox-foot{display:none}
 html[data-hub-theme] .hm-filters{padding:0;gap:2px}
 html[data-hub-theme] .hm-filters button{padding:6px;font-size:11px}
 html[data-hub-theme] .hm-chat-head{height:52px;padding:4px 12px;gap:8px}
 html[data-hub-theme] .hm-sample-label{padding:2px 9px;font-size:10px;line-height:14px}
 html[data-hub-theme] .hm-composer-wrap{padding:6px 12px}
 html[data-hub-theme] .hm-composer{padding:4px;gap:2px}
 html[data-hub-theme] .hm-composer-foot{display:none}
}
/* Keep the message module's existing <=720px single-pane/read-state boundary. */
@media(min-width:721px) and (max-width:900px) and (max-height:500px) and (orientation:landscape){
 html[data-hub-theme] .hm-inbox-head{grid-template-columns:44px minmax(100px,1fr);gap:6px 10px}
 html[data-hub-theme] .hm-filters{grid-column:1/-1;justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){html[data-hub-theme] :is(.sidebar,.bottom-nav,.hm-send,.hn-tool-link,.hn-tool-link>.i,.hn-crm-link){transition:none!important;animation:none!important}}

/* A closed compact drawer must not paint or intercept input during resize/close. */
@media(max-width:900px),(orientation:portrait) and (max-width:1200px){
 html[data-hub-theme] .hub-workspace .workspace{overflow-x:clip}
 html[data-hub-theme] .hub-workspace:not(.menu-open) .sidebar{visibility:hidden;pointer-events:none;box-shadow:none}
 html[data-hub-theme] .hub-workspace.menu-open .sidebar{visibility:visible;pointer-events:auto}
 html[data-hub-theme] .hub-workspace .bottom-nav a{position:relative;isolation:isolate}
 html[data-hub-theme] .hub-workspace .bottom-nav a::before{content:'';position:absolute;top:0;left:50%;width:40px;height:25px;border-radius:10px;background:var(--ht-soft);transform:translateX(-50%) scale(.88);opacity:0;z-index:-1;transition:opacity .18s ease,transform .2s cubic-bezier(.16,1,.3,1)}
 html[data-hub-theme] .hub-workspace .bottom-nav a[aria-current]::before{opacity:1;transform:translateX(-50%) scale(1)}
 html[data-hub-theme] .hub-workspace .bottom-nav a .i{transition:transform .15s ease}
 html[data-hub-theme] .hub-workspace .bottom-nav a:active .i{transform:translateY(1px) scale(.92)}
}
@media(prefers-reduced-motion:reduce){
 html[data-hub-theme] .hub-workspace .bottom-nav a::before,html[data-hub-theme] .hub-workspace .bottom-nav a .i{transition:none!important}
 html[data-hub-theme] .hub-workspace .bottom-nav a:active .i{transform:none}
}
