/* AIO Orbit Complete V3. Normalize remaining legacy neutral surfaces.
   V2 retains priority for its verified components. No visibility/auth changes. */
@layer ao-theme-v2, ao-complete-v3, ao-repair, ao-chrome, ao-home, ao-overrides;
@layer ao-complete-v3 {
  html[data-orbit-family] body.aio-orbit-site {
    /* Old unlayered variable declarations previously won over V2 normal declarations. */
    --bg:var(--ot-bg)!important; --bg-soft:var(--ot-panel)!important;
    --panel:var(--ot-panel)!important; --panel-strong:var(--ot-raised)!important;
    --panel-hover:var(--ot-hover)!important; --line:var(--ot-line)!important;
    --line-strong:#806878!important; --text:var(--ot-text)!important;
    --muted:var(--ot-muted)!important; --accent:var(--ot-accent)!important;
    --accent-strong:#e5a078!important; --accent-soft:#ffd4b8!important;
    --aio-bg:var(--ot-bg)!important; --aio-bg-deep:#110e19!important;
    --aio-bg-soft:var(--ot-panel)!important; --aio-panel:var(--ot-panel)!important;
    --aio-panel-strong:var(--ot-raised)!important; --aio-panel-soft:var(--ot-control)!important;
    --aio-line:var(--ot-line)!important; --aio-line-strong:#806878!important;
    --aio-text:var(--ot-text)!important; --aio-muted:var(--ot-muted)!important;
    --aio-muted-2:#b1a6bc!important; --aio-cyan:var(--ot-accent)!important;
    --aio-cyan-2:#ffd4b8!important; --pro-bg:var(--ot-bg)!important;
    --pro-panel:var(--ot-panel)!important; --pro-panel2:var(--ot-raised)!important;
    --pro-line:var(--ot-line)!important; --pro-muted:var(--ot-muted)!important;
    --pro-accent:var(--ot-accent)!important;
  }
  /* Explicit neutral controls; never restyle all divs, all badges or all alerts. */
  html[data-orbit-family] .aio-orbit-site :where(
    .aio-chat-window,.aio-chat-composer,.aio-chat-emojis,.aio-chat-rules,
    .aio-rodo-ai-disclosure,.aio-privacy-choice,.aio-legal-main .aio-legal-cta,
    .aio-list-inbox-record,#aio-list-inbox,.aio-list-inbox-message,
    .alu-owner-reply,.aou-detail,.aou-info,.asj-root,.asj-table th,
    .aop4-dashboard,.aop4-nav,.aop4-guide,.aop5-result,
    .download-v3-active,.aio-ia-group-types,.aio-ia-projects-controls,
    .access-file,.le-bouquet-row,.le-channel-row,
    .community-post-content,.community-comment,
    .status-v2-summary-wrap,.error-content,
    .updates-v2-item,.updates-v2-feature-body,
    .assistant-v2-form-wrap,.remote-detail-grid,.studio-v2-search,.one-v2-searchbar,
    .lists-v2-search,.latest-search,.compat-v2-controls,.log-v2-form,.report-form,
    .aio-owner-attention-panel,.aio-owner-messages-panel
  ):not(.danger,.warning,.success,.error,.offline,.online,.pinned,.official,[role=alert],[data-state]) {
    background-color:var(--ot-panel)!important;background-image:none!important;
    border-color:var(--ot-line)!important;color:var(--ot-text)!important;
  }
  html[data-orbit-family] .aio-orbit-site :where(
    .asj-reload,.asj-contact,.aou-btn.secondary,.aou-btn.aou-open,
    .aio-chat-actions button,.aio-privacy-choice button,.aio-legal-actions button,
    .aio-individual-speed button,.aop4-secondary-button,.aop4-bottom button,
    .aop4-nav-group summary,.aop5-result,.aop5-key,.aop5-category summary,
    .download-v3-active>button,.community-side-links a,.aio-guides-v2-badge,
    .st-card-actions a,.aio-guides-v2-quick a,.aio-chat-v2-copy
  ):not(.danger,.warning,.success,.error,.primary,.active,.is-active,.selected,[aria-pressed=true],[data-state],:disabled) {
    background-color:var(--ot-raised)!important;background-image:none!important;
    color:var(--ot-text)!important;border-color:var(--ot-line)!important;
  }
  html[data-orbit-family] .aio-orbit-site :where(.aio-chat-bubble) {
    background:var(--ot-raised)!important;color:var(--ot-text)!important;border-color:var(--ot-line)!important;
  }
  html[data-orbit-family] .aio-orbit-site .aio-chat-message.is-mine .aio-chat-bubble {
    background:#463244!important;color:#ffe9df!important;border-color:#8b6578!important;
  }
  html[data-orbit-family] .aio-orbit-site :where(.aio-rodo-ai-disclosure a,.aio-privacy-choice a,.aio-legal-main .aio-legal-card a,.aio-list-inbox-small,.aou-muted,.asj-description,.asj-muted,.aop5-result span,.aop5-heading span,.aop5-foot a,.aop4-arrow,.aop4-feature-kicker) {color:var(--ot-accent)!important;}
  html[data-orbit-family] .aio-orbit-site :where(.aio-chat-meta small,.aou-info span,.aop4-task-copy small,.aop4-tile-copy small,.aop5-category summary small,.aio-privacy-choice p) {color:var(--ot-muted)!important;}
  html[data-orbit-family] .aio-orbit-site :where(.alu-contact-area,.alu-owner-reply,.aio-individual-speed,.aio-chat-compose-row,.aio-privacy-choice,.aop-global-search,.aop5-searchbar) :where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=button],[type=submit]),textarea,select):not([aria-invalid=true],.error,.invalid,:disabled) {
    background-color:var(--ot-bg)!important;color:var(--ot-text)!important;border-color:#75657e!important;
  }
  html[data-orbit-family] .aio-orbit-site :where(.aio-legal-table,.asj-table) :where(th,td) {border-color:var(--ot-line)!important;overflow-wrap:anywhere;}
  html[data-orbit-family] .aio-orbit-site .asj-table tr:nth-child(2n) {background-color:var(--ot-raised)!important;}
  html[data-orbit-family] .aio-orbit-site :where(.aio-chat-v2-grid,.aio-chat-compose-row,.aop-work-actions,.aio-privacy-choice-actions,.aio-list-inbox-record,.aou-detail,.le-bouquet-row,.le-channel-row) {min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;}
  html[data-orbit-family] .aio-orbit-site :where(.community-dialog-card,.support-gate-modal,.aio-share-sheet,.site-search-dialog,.aio-v2-search-dialog) {box-sizing:border-box;max-inline-size:calc(100vw - 1rem);max-block-size:calc(100dvh - 1rem);overflow:auto;overscroll-behavior:contain;}
  html[data-orbit-family] .aio-orbit-site :where(.aop5-searchbar,.aop-side-account,.aio-chat-compose-row,.aio-privacy-choice) > * {min-width:0;}
  html[data-orbit-family] .aio-orbit-site :where(.aop5-searchbar,.aop-side-account,.aio-chat-compose-row) input {min-width:0;max-width:100%;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact {padding:clamp(1rem,2vw,1.6rem)!important;background-image:none!important;min-height:0!important;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact::before,
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact::after {background:none!important;box-shadow:none!important;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact .aio-ux-secondary-title {font-size:clamp(1.35rem,2.4vw,2rem)!important;line-height:1.2!important;letter-spacing:-.025em!important;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact figure {min-height:0!important;max-inline-size:100%;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact figure img {max-height:180px;object-fit:contain;}
  html[data-orbit-page=guides] .aio-orbit-site .hero-compact .action-row {flex-wrap:wrap;}
  @media(max-width:760px) {
    html[data-orbit-family] .aio-orbit-site :where(.aio-privacy-choice-actions,.aop-work-actions,.aio-chat-actions) {flex-wrap:wrap;}
    html[data-orbit-family] .aio-orbit-site :where(.aio-privacy-choice button,.aop-work-actions button,.aop-work-actions a) {white-space:normal!important;overflow-wrap:anywhere;min-height:44px;}
    html[data-orbit-family] .aio-orbit-site :where(.aio-chat-compose-row textarea,.alu-contact-area input,.alu-contact-area textarea,.aio-individual-speed input,.aio-individual-speed select) {max-inline-size:100%;min-inline-size:0;box-sizing:border-box;}
    html[data-orbit-family] .aio-orbit-site .ao-outline-list {right:0!important;max-width:calc(100vw - 2rem);}
  }
  @media(prefers-reduced-motion:reduce) {
    html[data-orbit-family] .aio-orbit-site :where(.aio-chat-window,.chat-messages,.ao-outline-list) {scroll-behavior:auto!important;}
  }
}

/* AIO Orbit Theme V2 — component-level migration. No visibility or authorization changes.
   First important layer overrides legacy component colors, not their layout/state. */
@layer ao-theme-v2;
@layer ao-theme-v2 {
 html[data-orbit-family] body.aio-orbit-site {
  --ot-bg:#15121f; --ot-panel:#211d2e; --ot-raised:#292337; --ot-control:#30283b;
  --ot-hover:#3c3047; --ot-line:#56495f; --ot-text:#f6f1e9; --ot-muted:#c7bfd1;
  --ot-accent:#ffb888; --ot-on-accent:#251827; --ot-focus:#a9e3f2;
  --bg:var(--ot-bg); --bg-soft:var(--ot-panel); --panel:var(--ot-panel); --panel-strong:var(--ot-raised); --panel-hover:var(--ot-hover);
  --line:var(--ot-line); --line-strong:#806878; --text:var(--ot-text); --muted:var(--ot-muted);
  --accent:var(--ot-accent); --accent-strong:#e5a078; --accent-soft:#ffd4b8;
  --aio-bg:var(--ot-bg); --aio-bg-deep:#110e19; --aio-bg-soft:var(--ot-panel);
  --aio-panel:var(--ot-panel); --aio-panel-strong:var(--ot-raised); --aio-panel-soft:var(--ot-control);
  --aio-line:var(--ot-line); --aio-line-strong:#806878; --aio-text:var(--ot-text); --aio-muted:var(--ot-muted); --aio-muted-2:#b1a6bc;
  --aio-cyan:var(--ot-accent); --aio-cyan-2:#ffd4b8;
  --pro-bg:var(--ot-bg); --pro-panel:var(--ot-panel); --pro-panel2:var(--ot-raised); --pro-line:var(--ot-line); --pro-muted:var(--ot-muted); --pro-accent:var(--ot-accent);
  --st-panel:var(--ot-panel); --st-line:var(--ot-line); --st-muted:var(--ot-muted); --st-cyan:var(--ot-accent);
  --aio-share-bg:var(--ot-bg); --aio-share-panel:var(--ot-panel); --aio-share-line:var(--ot-line); --aio-share-accent:var(--ot-accent); --aio-share-text:var(--ot-text); --aio-share-muted:var(--ot-muted);
 }
 /* Shared panels, including legacy content nested inside a new hero/portal. */
 html[data-orbit-family] .aio-orbit-site :where(
  .side-panel,.side-help,.module,.info-box,.command,.hero-compact figure,.hero-stat,.home-command-center,
  .mini-card,.compat-card,.studio-card,.system-card,.intent-card,.release-card,.pro-tool-card,
  .ai-chat-v2-panel,.ai-chat-v2-state:not([data-state]),.chat-box,.ai-chat-v2-chat .chat-messages,
  .aio-guides-v2-search,.aio-guides-v2-summary,.plugins-v2-box,.plugins-v2-search,.plugins-v2-helpbar,
  .download-v2-search,.download-v3-device-panel,.download-v2-bar,.download-v2-toolbox,
  .aio-ia-projects-controls,.aio-ia-group-card,.aio-ia-project-card,.aio-ia-projects-panel,.aio-mc-panel,
  .community-panel,.community-hero-card,.community-dialog-card,.community-notification-panel,
  .community-side-note,.aio-chat-shell,.aio-chat-topbar,.aio-chat-body,.aio-chat-reply-preview,.aio-chat-reply-bar,
  .assistant-v2-form-wrap,.assistant-v2-result-shell,.assistant-v2-panel,.log-v2-panel,.my-tuner-v2-panel,
  .remote-v2-panel,.remote-toolbar,.remote-shell,.studio-v2-toolbar,.studio-v2-section,.qr-v2-panel,.qr-v2-result-panel,
  .one-v2-searchbar,.one-v2-section,.aio-panel-v2-panel,.aio-panel-v2-install-panel,.aio-panel-v2-copy-row,
  .lists-v2-toolbar,.windows-v2-section,.aio-support-v2-panel,.aio-contact-v2-panel,.aio-contact-v2-checklist,
  .aio-legal-card,.alu-card,.alu-stepbox,.le-card,.le-editbox,.le-bouquet-list,.le-channel-list,
  .aom1-root,.aom1-item,.aom1-sent-row,.aio-share-sheet,.aio-share-prompt,.site-search-dialog,.aio-v2-search-dialog
 ) {
  background-color:var(--ot-panel)!important;background-image:none!important;
  border-color:var(--ot-line)!important;color:var(--ot-text)!important;
 }
 /* Older compact hero without a heading photo overlay: retain real image elements. */
 html[data-orbit-family] .aio-orbit-site .hero-compact {background-color:var(--ot-panel)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family] .aio-orbit-site :where(.side-panel h2,.module>h2:first-child,.side-help strong,.aio-guides-v2-search>span,.aio-guides-v2-quick i,.ai-chat-v2-copy,.script-line span) {
  background-color:transparent!important;color:var(--ot-accent)!important;border-color:var(--ot-line)!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(.side-panel nav a,.side-help a,.community-side-links a,.ai-chat-v2-mini,.ai-chat-v2-prompt,.ai-chat-v2-links a,.aio-guides-v2-quick a,.aio-guides-v2-summary button,.aio-guides-v2-search button,
  .download-v2-route,.download-v2-chip,.download-v2-mode,.aio-ia-action,.aio-ia-tab,.aio-mc-tabs button,.latest-tabs button,.latest-quick a,
  .studio-v2-card,.studio-v2-btn,.one-v2-card,.one-v2-btn,.lists-v2-card,.windows-v2-card,.windows-v2-download-card,.windows-v2-btn,
  .qr-v2-info-card,.aio-news-v2-card,.aio-news-v2-btn,.aio-support-v2-btn,.aio-contact-v2-btn,.alu-button,.le-bridge-link,
  .aom1-button,.aio-share-grid button,.aio-share-close,.community-dialog-close,.community-wizard-grid button,.community-tab,.a2-setting,
  .choice-card,.aio-guides-v2-chip,.plugins-v2-chip,.st-card,.st-btn,.button,.btn):not(.primary,.is-active,.active,.selected,.danger,.success,.warning,.disabled,[aria-pressed=true],[aria-current=page],[data-state],:disabled) {
  background-color:var(--ot-raised)!important;background-image:none!important;border-color:var(--ot-line)!important;color:var(--ot-text)!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(.side-panel nav a,.side-help a,.ai-chat-v2-mini,.ai-chat-v2-prompt,.ai-chat-v2-links a,.aio-guides-v2-quick a,.choice-card,.button,.btn,.st-btn,.a2-setting):not(.primary,.danger,.success,.warning,.disabled,[data-state],:disabled):hover {
  background-color:var(--ot-hover)!important;border-color:#967283!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(.card-icon,.aio-guides-v2-quick a>b,.studio-v2-icon,.plugin-v2-icon,.assistant-v2-goal-icon,.remote-info-icon) {background-color:var(--ot-control)!important;background-image:none!important;color:var(--ot-accent)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family] .aio-orbit-site :where(.aio-guides-v2-quick small,.ai-chat-v2-head p,.ai-chat-v2-side-card p,.ai-chat-v2-links a span,.ai-chat-v2-hint,.choice-card p,.hero-compact figcaption,.side-panel nav a:not(:hover),.aom1-muted) {color:var(--ot-muted)!important;}
 /* Form controls only; checkboxes/radio/range/file keep native semantics. */
 html[data-orbit-family] .aio-orbit-site :where(main,.side-panel,.community-dialog-card,.aio-share-sheet,.site-search-dialog,.aio-v2-search-dialog,.aop-side-account) :where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=button],[type=submit],[type=reset],[type=hidden]),textarea,select):not([aria-invalid=true],.error,.invalid,:disabled) {
  background-color:var(--ot-bg)!important;color:var(--ot-text)!important;border-color:#75657e!important;box-shadow:none!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(input,textarea)::placeholder {color:#b4a9bf!important;opacity:1;}
 html[data-orbit-family] .aio-orbit-site :where(.aio-guides-v2-search,.download-v2-search,.aio-ia-projects-controls,.plugins-v2-search) input:not([aria-invalid=true],.error,.invalid,:disabled) {background-color:transparent!important;}
 html[data-orbit-family] .aio-orbit-site :where(.button.primary,.btn.primary,.ai-chat-v2-form .button,.aio-guides-v2-chip.is-active,.plugins-v2-chip.is-active,.st-btn.st-primary,.aio-ia-action:not(.secondary),.aom1-primary,.aio-share-prompt button):not(.danger,.success,.warning,[data-state],:disabled) {
  background-color:var(--ot-accent)!important;background-image:none!important;border-color:#ffc9a5!important;color:var(--ot-on-accent)!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(button,a,input,select,textarea):focus-visible {outline:2px solid var(--ot-focus)!important;outline-offset:2px;}
 /* Distinguish user/bot without treating a chat message as a status. */
 html[data-orbit-family] .aio-orbit-site .ai-chat-v2-chat .chat-messages .bot {background:var(--ot-raised)!important;color:var(--ot-text)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family] .aio-orbit-site .ai-chat-v2-chat .chat-messages .user {background:#463244!important;color:#ffe9df!important;border-color:#8b6578!important;}
 html[data-orbit-family] .aio-orbit-site .ai-chat-v2-status:not([data-state=online],[data-state=offline],[data-state=loading]) {background:var(--ot-panel)!important;color:var(--ot-muted)!important;border-color:var(--ot-line)!important;}
 /* Owner workspace: leave alerts, counters, state badges and authorization untouched. */
 html[data-orbit-family=owner] .aio-orbit-site :where(.oh-sidebar,.oh-loading,.aop-shell,.aop-embedded,.aop-frame) {background-color:var(--ot-bg)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family=owner] .aio-orbit-site .aop-shell {--aop-bg:var(--ot-bg);--aop-panel:var(--ot-panel);--aop-panel2:var(--ot-raised);--aop-edge:var(--ot-line);--aop-accent:var(--ot-accent);--aop-text:var(--ot-text);--aop-muted:var(--ot-muted);}
 html[data-orbit-family=owner] .aio-orbit-site :where(.oh-metric,.oh-tool,.oh-quick a,.aop-side-account,.aop-global-search,.aop-find,.aop-hero,.aop-stat,.aop-action,.aop-shortcut,.aop-chapter,.aop-work-head,.aop-native .asj-root,.aop-native .apl-root,.aop4-hero,.aop4-section,.aop4-feature,.aop4-task,.aop4-tile,.aop4-bottom,.aop5-intro,.aop5-searchbox,.aop5-searchbar,.aop5-results,.aop5-favorites,.aop5-all,.aop5-sec-feature,.aop5-link) {background-color:var(--ot-panel)!important;background-image:none!important;color:var(--ot-text)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family=owner] .aio-orbit-site :where(.aop-nav-home,.aop-nav-item,.aop4-nav-item,.aop4-nav-switch,.aop4-switch,.aop5-account-link,.aop-textbtn,.aop-work-actions a,.aop-work-actions button,.aop-side-account button):not(.is-active,.active,:disabled) {background-color:var(--ot-raised)!important;background-image:none!important;color:var(--ot-text)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family=owner] .aio-orbit-site :where(.aop-nav-home.is-active,.aop-nav-item.is-active,.aop4-nav>.aop4-nav-item,.aop4-primary-link) {background:#453344!important;color:#ffddc6!important;border-color:#9c746c!important;}
 html[data-orbit-family=owner] .aio-orbit-site :where(.aop-nav-group,.aop4-nav-group,.aop5-category,.oh-brand,.oh-sidebottom,.aop-footer) {border-color:var(--ot-line)!important;}
 html[data-orbit-family=owner] .aio-orbit-site :where(.aop5-kicker,.aop4-eyebrow,.aop-eyebrow,.aop-nav-item-icon,.aop4-nav-item span,.aop5-link span,.aop5-case-icon,.aop4-task-icon,.aop4-tile-icon,.aop-action-symbol,.aop-shortcut-icon) {color:var(--ot-accent)!important;}
 html[data-orbit-family=owner] .aio-orbit-site :where(.aop4-task-icon,.aop4-tile-icon,.aop5-case-icon,.aop-action-symbol) {background-color:var(--ot-control)!important;}
 /* Account tabs have semantic category colors, not legacy surfaces: do not target .a2-tab. */
 html[data-orbit-family] .aio-orbit-site :where(.aio-share-fab,.aio-share-inline,.aio-share-sheet) {background-color:var(--ot-panel)!important;background-image:none!important;border-color:var(--ot-line)!important;color:var(--ot-text)!important;}
 html[data-orbit-family] .aio-orbit-site .aio-share-fab>span {background:var(--ot-accent)!important;color:var(--ot-on-accent)!important;}
 /* Specific responsive fixes for the two reported screens. */
 html[data-orbit-page=ai-chat] .aio-orbit-site :where(.ai-chat-v2-grid,.ai-chat-v2-panel,.ai-chat-v2-form,.ai-chat-v2-side) {min-width:0;max-width:100%;}
 html[data-orbit-page=ai-chat] .aio-orbit-site .ai-chat-v2-grid {grid-template-columns:minmax(0,1.5fr) minmax(0,.5fr)!important;}
 html[data-orbit-page=ai-chat] .aio-orbit-site .ai-chat-v2-form {grid-template-columns:minmax(0,1fr) auto!important;}
 html[data-orbit-page=ai-chat] .aio-orbit-site .chat-messages :where(p,.bot,.user) {overflow-wrap:anywhere;}
 html[data-orbit-page=guides] .aio-orbit-site .aio-guides-v2-search {grid-template-columns:auto minmax(0,1fr) auto!important;max-width:100%;box-sizing:border-box;}
 html[data-orbit-page=guides] .aio-orbit-site .aio-guides-v2-quick a {min-width:0;grid-template-columns:44px minmax(0,1fr) auto;}
 @media(max-width:980px) {html[data-orbit-page=ai-chat] .aio-orbit-site .ai-chat-v2-grid {grid-template-columns:minmax(0,1fr)!important;}}
 @media(max-width:700px) {html[data-orbit-page=ai-chat] .aio-orbit-site .ai-chat-v2-form {grid-template-columns:minmax(0,1fr)!important;} html[data-orbit-page=guides] .aio-orbit-site .aio-guides-v2-search {grid-template-columns:auto minmax(0,1fr)!important;}}
 /* Remaining legacy workspaces and public catalogues: surfaces only, not status labels. */
 html[data-orbit-family] .aio-orbit-site :where(.radio-section,.iptvd9-box,.aiohd-v2-panel,.aiohd-v2-install-panel,.aiohd-v2-copy-row,.latest-panel,.latest-toolbar,.latest-search,.project-status-v2-panel,.project-status-v2-controls,.compat-v2-controls,.errors-v2-panel,.errors-v2-controls,.report-form,.status-v2-panel,.status-v2-controls,.status-v2-search,.updates-v2-controls,.updates-v2-search,.updates-v2-feature-body,.access-card,.support-gate-modal,.appeal-panel,.aio-maint-card,.asj-card,.ip7-card,.v6-card,.aosc5-controls) {background-color:var(--ot-panel)!important;background-image:none!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family] .aio-orbit-site :where(.radio-btn,.compat-v2-btn,.report-v2-btn,.updates-v2-btn,.aio-legal-linkbutton,.aio-maint-btn,.aosc5-button,.project-status-v2-chip,.errors-v2-chip,.status-v2-chip):not(.primary,.is-active,.active,.selected,.danger,.success,.warning,[aria-pressed=true],[data-state],:disabled) {background-color:var(--ot-raised)!important;background-image:none!important;border-color:var(--ot-line)!important;color:var(--ot-text)!important;}
 html[data-orbit-family] .aio-orbit-site :where(.side-panel nav a.active,.side-panel nav a[aria-current=page]) {background:var(--ot-hover)!important;color:#ffddc6!important;border-color:#967283!important;}
 html[data-orbit-family] .aio-orbit-site .aom1-item.aom1-unread {border-color:#a9e3f2!important;}

 html[data-orbit-family] .aio-orbit-site .site-header .nav-more > summary {background:var(--ot-control)!important;color:var(--ot-text)!important;border-color:var(--ot-line)!important;}
 html[data-orbit-family] .aio-orbit-site .site-header .nav-more[open] > summary {background:var(--ot-hover)!important;color:#ffddc6!important;}
 html[data-orbit-family] .aio-orbit-site .hero-compact :where(.eyebrow,.script-line) {color:var(--ot-muted)!important;}

}

/* AIO Orbit Repair V1 — 2026-12-04. Presentation only.
   First layer intentionally wins over older layered !important declarations.
   Existing hidden attributes, auth, APIs, links and component state are untouched. */
@layer ao-repair, ao-chrome, ao-home, ao-overrides;
@layer ao-repair {
  html[data-orbit-family] body.aio-orbit-site {
    --ao-surface-raised:#282235;
    --ao-control:#302739;
    --ao-focus:#a9e3f2;
    color:var(--ao-text)!important;
    font-family:var(--ao-sans)!important;
  }
  html[data-orbit-family] body.aio-orbit-site :is(.page-shell,.content-layout,.content-main,.standalone-main,.community-shell,.a2-main,.aio-v2-main,.oh-main,.oh-content,.aop-shell,.aop-work,.aop-embedded) {
    min-inline-size:0!important;box-sizing:border-box;
  }
  html[data-orbit-family] .aio-orbit-site :is(.page-shell,.content-main,.standalone-main,.community-shell,.a2-main,.aio-v2-main,.oh-content,.aop-shell) {max-inline-size:100%;}
  html[data-orbit-family] .aio-orbit-site main :where(input:not([type=checkbox],[type=radio]),select,textarea,fieldset,figure,video) {min-inline-size:0;max-inline-size:100%;box-sizing:border-box;}
  html[data-orbit-family] .aio-orbit-site main :where(img) {max-inline-size:100%;}
  html[data-orbit-family] .aio-orbit-site main :where(pre,.ao-compare-scroll,.asj-table-wrap,.apl-scroll,.le-table-wrap,.table-wrap,.table-scroll,.table-responsive) {max-inline-size:100%;overflow-x:auto;overscroll-behavior-inline:contain;}
  html[data-orbit-family] .aio-orbit-site main :where(p,li,dd,code,.aop-work-head,.a2-row,.community-post-body) {overflow-wrap:anywhere;}
  html[data-orbit-family] .aio-orbit-site .ao-routebar {min-inline-size:0;max-inline-size:100%;box-sizing:border-box;align-self:start;}
  html[data-orbit-family] .aio-orbit-site .ao-routebar-in-main {grid-column:1/-1;width:calc(100% - 1.5rem);}
  html[data-orbit-family] .aio-orbit-site .ao-trail > nav {min-width:0;max-width:100%;flex-wrap:wrap;}
  html[data-orbit-family] .aio-orbit-site .ao-route-actions {min-width:0;flex-wrap:wrap;}
  html[data-orbit-family] .aio-orbit-site .ao-routebar a:focus-visible {outline:2px solid var(--ao-focus);outline-offset:3px;}
  /* Keep the established mobile menu and its handlers; only the utility row geometry. */
  html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar {flex-wrap:wrap!important;gap:.3rem .6rem!important;overflow:visible!important;}
  html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar .portal-topbar-links {min-width:0!important;max-width:100%!important;flex:0 1 auto!important;flex-wrap:wrap!important;gap:5px!important;}
  html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar-links :is(.aio-topbar-messages,.aio-topbar-account,.aio-owner-bell.aio-bell-inline) {max-width:100%;min-width:0;flex-shrink:0;}
  html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar-links :is(.aio-topbar-messages,.aio-topbar-account) {background:#332737!important;border-color:#675568!important;color:var(--ao-text)!important;}
  html[data-orbit-family] .aio-orbit-site .site-header .nav-more-menu a {min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;}
  /* Home: legacy V5 assigns grid-area:search to a button in a different grid.
     Explicitly reset the old named track; avoid implicit columns on mobile. */
  html[data-orbit-family="home"] body.aio-orbit-site .ao-home-stage .aio-v2-hero-copy {min-inline-size:0!important;max-inline-size:100%!important;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-home-stage .ao-launch {display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:.65rem!important;min-width:0!important;width:100%!important;max-width:100%!important;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-launch > .ao-launch-atlas {flex:0 1 auto;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-launch > .aio-v2-searchbox {grid-area:auto!important;display:grid!important;grid-template-columns:1.2rem minmax(0,1fr)!important;align-items:center!important;justify-items:start!important;align-self:stretch!important;justify-self:stretch!important;flex:1 1 16rem!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:3rem!important;margin:0!important;padding:.65rem .85rem!important;gap:.7rem!important;text-align:left!important;white-space:normal!important;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-launch > .aio-v2-searchbox > span:nth-child(2) {display:block!important;min-width:0!important;width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-launch > .aio-v2-searchbox > kbd {display:none!important;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-mission > * {min-width:0;max-width:100%;}
  html[data-orbit-family="home"] .aio-orbit-site .ao-mission-tabs button {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  /* Common surfaces for components not covered by the first Orbit migration.
     No generic button recolouring: destructive/success/selected states stay local. */
  html[data-orbit-family] .aio-orbit-site :is(.aom1-root,.aio-account-contact,.aio-account-notify,.aop5-favorites,.aop5-all,.aop4-section,.aop4-feature,.aop5-searchbox,.aop-side-account,.oh-metric,.oh-loading,.oh-tool,.oh-searchbar,.oh-quick a,.aop-work-head,.aop-embedded,.aop-work-loading,.aop-native .asj-root,.aop-native .apl-root) {background:var(--ao-panel)!important;border-color:var(--ao-line)!important;color:var(--ao-text)!important;box-shadow:none!important;}
  html[data-orbit-family] .aio-orbit-site :is(.aop5-intro,.aop4-hero,.aop-hero,.oh-intro) {background:linear-gradient(125deg,#33283b,#201d32)!important;border-color:#675366!important;color:var(--ao-text)!important;}
  html[data-orbit-family] .aio-orbit-site :is(.aop5-link,.aop4-tile,.aop4-task,.aop-action,.aop-shortcut,.aop-chapter,.aop-stat,.aop5-searchbar,.aop5-results,.aop-global-search,.aop-find,.aom1-item,.aom1-sent-row) {background:#1b1827!important;border-color:#55485e!important;color:var(--ao-text)!important;}
  html[data-orbit-family] .aio-orbit-site :is(.aop5-link,.aop4-tile,.aop4-task,.aop-action,.aop-shortcut,.oh-tool,.oh-quick a):hover {background:#33293c!important;border-color:#a78079!important;}
  html[data-orbit-family] .aio-orbit-site :is(.aop5-kicker,.aop4-eyebrow,.aop-eyebrow,.oh-eyebrow,.oh-kicker,.aom1-kicker) {color:var(--ao-accent)!important;}
  html[data-orbit-family] .aio-orbit-site :is(.aop5-intro p,.aop5-foot,.aop5-heading span,.aop4-task-copy small,.aop4-tile-copy small,.aop4-section-heading small,.aop5-hint,.aop-note,.oh-intro p,.oh-subtext,.aom1-muted) {color:var(--ao-muted)!important;}
  html[data-orbit-family="account"] .aio-orbit-site .a2-tabs .a2-tab {background:var(--surface,#2b2638)!important;border:1px solid var(--accent,#c9c1ff)!important;min-width:0!important;}
  html[data-orbit-family="account"] .aio-orbit-site .a2-tabs .a2-tab[aria-pressed="true"] {box-shadow:inset 0 -4px var(--accent,#c9c1ff)!important;outline:2px solid var(--accent,#c9c1ff);outline-offset:-2px;}
  /* Owner Hub: maintain exactly two grid children; do not unhide the owner gate. */
  html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app {max-inline-size:none!important;width:100%!important;min-inline-size:0!important;margin:0!important;align-items:start!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app > .oh-sidebar {min-width:0!important;background:linear-gradient(160deg,#2c2131,#191622 58%)!important;border-color:var(--ao-line)!important;color:var(--ao-text)!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app > .oh-main {width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;align-self:start!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site .oh-main > .ao-routebar {width:calc(100% - 2rem)!important;margin:.6rem auto!important;max-width:1600px!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.oh-brand,.oh-sidebottom,.aop4-nav-group,.aop-nav-group) {border-color:var(--ao-line)!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.aop4-nav-item,.aop-nav-item,.aop4-nav-group summary,.aop-nav-heading strong) {color:var(--ao-text)!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.aop4-nav-item,.aop-nav-item,.aop4-nav-group summary):hover {background:#3a2d41!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.aop4-nav>.aop4-nav-item,.aop-nav-home,.aop-nav-item.is-active) {background:#3c2a32!important;border-color:#936c63!important;color:#ffddc6!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.aop4-switch,.aop4-nav-switch,.aop5-account-link,.aop-work-actions a,.aop-work-actions button,.aop4-secondary-button) {background:#302739!important;border-color:#6b596b!important;color:var(--ao-text)!important;white-space:normal!important;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site .aop-frame {display:block;width:100%!important;max-width:100%!important;min-width:0!important;border:0;}
  html[data-orbit-page="owner-hub"] .aio-orbit-site .aop-shell {--aop-bg:var(--ao-ink);--aop-panel:var(--ao-panel);--aop-panel2:#1b1827;--aop-edge:var(--ao-line);--aop-accent:var(--ao-accent);--aop-text:var(--ao-text);--aop-muted:var(--ao-muted);}
  html[data-orbit-page="owner-hub"] .aio-orbit-site :is(.aop5-intro,.aop-work-head,.aop4-hero) h1 {font-size:clamp(1.35rem,2.4vw,2.35rem)!important;line-height:1.18!important;}
  @media(min-width:761px) {
    html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app {grid-template-columns:clamp(210px,16vw,254px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;}
    html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app > .oh-sidebar {grid-column:1!important;grid-row:1!important;align-self:start!important;max-height:100vh;max-height:100dvh;}
    html[data-orbit-page="owner-hub"] .aio-orbit-site #oh-app > .oh-main {grid-column:2!important;grid-row:1!important;}
  }
  /* An embedded owner module uses its frame width, not a second fixed portal rail. */
  html[data-orbit-embedded="owner"] body.aio-orbit-site .page-shell {width:100%!important;max-width:100%!important;margin:0!important;padding-inline:0!important;}
  html[data-orbit-embedded="owner"] body.aio-orbit-site .site-header .main-nav {position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;flex-flow:row wrap!important;padding:.5rem!important;}
  html[data-orbit-embedded="owner"] body.aio-orbit-site .ao-routebar {display:none!important;}
  @media(min-width:78rem) {
    html[data-orbit-shell="portal"] body.aio-orbit-site:not(:has(.site-header .main-nav)) .page-shell {margin-inline:0!important;}
    html[data-orbit-shell="portal"] body.aio-orbit-site:not(:has(.site-header .main-nav)) .ao-route-actions .ao-context-atlas {display:inline-flex!important;}
  }
  /* Dialogs and fixed controls: fit the viewport without a blanket overflow:hidden. */
  html[data-orbit-family] .aio-orbit-site :is(.aio-v2-search-dialog,.aio-share-sheet) {box-sizing:border-box;max-inline-size:100%!important;max-height:calc(100vh - 2rem)!important;max-height:calc(100dvh - 2rem)!important;overflow:auto;overscroll-behavior:contain;}
  html[data-orbit-family] .aio-orbit-site .aio-v2-search-dialog-top {grid-template-columns:auto minmax(0,1fr) auto!important;min-width:0;}
  html[data-orbit-family] .aio-orbit-site .aio-v2-search-dialog-top input {min-width:0!important;}
  @media(max-width:760px) {
    html[data-orbit-family] .aio-orbit-site :is(.page-shell,.content-layout,.standalone-main,.community-shell,.a2-main) {min-inline-size:0!important;max-inline-size:100%!important;}
    html[data-orbit-family] .aio-orbit-site :is(.content-layout,.community-layout,.st-pagegrid) {grid-template-columns:minmax(0,1fr)!important;}
    html[data-orbit-family] .aio-orbit-site :is(.content-layout,.community-layout,.st-pagegrid)>* {min-width:0!important;max-width:100%;grid-column:auto;}
    html[data-orbit-family] .aio-orbit-site :is(.aio-ia-projects-controls,.aio-guides-v2-search,.plugins-v2-search,.download-v2-bar,.aom1-top,.aom1-actions,.aop-work-actions) {min-width:0;max-width:100%;flex-wrap:wrap;}
    html[data-orbit-family] .aio-orbit-site .ao-routebar {width:calc(100% - 1rem)!important;gap:.35rem .5rem;}
    html[data-orbit-family] .aio-orbit-site .ao-outline-list {right:0!important;max-width:min(23rem,calc(100vw - 1.5rem))!important;}
    html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar .portal-topbar-links {flex:1 1 auto!important;justify-content:flex-end;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-home-stage .aio-v2-hero-copy {width:100%!important;max-width:100%!important;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-home-stage .ao-launch {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;grid-auto-columns:minmax(0,1fr)!important;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-launch > :is(.ao-launch-atlas,.aio-v2-searchbox) {grid-area:auto!important;width:100%!important;max-width:100%!important;justify-self:stretch!important;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-home-stage .aio-v2-hero-actions {grid-area:auto!important;display:flex!important;justify-content:flex-start!important;gap:.4rem 1rem!important;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-home-stage .aio-v2-hero-actions > a {white-space:normal!important;max-width:100%!important;overflow-wrap:anywhere;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-mission {grid-template-columns:minmax(0,1fr)!important;}
    html[data-orbit-family="home"] .aio-orbit-site .ao-task-panel:not([hidden]) {grid-template-columns:minmax(0,1fr)!important;}
    html[data-orbit-page="owner-hub"] .aio-orbit-site .oh-main > .ao-routebar {width:calc(100% - 1rem)!important;}
    html[data-orbit-family] .aio-orbit-site .aio-share-fab {right:max(10px,env(safe-area-inset-right))!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;min-width:44px!important;min-height:44px!important;}
    html[data-orbit-family] .aio-orbit-site .aio-mascot-widget {--aio-m2-size:64px;left:max(8px,env(safe-area-inset-left))!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;}
    html[data-orbit-family] .aio-orbit-site .aio-mascot-widget.has-nudge:not(.is-open) .aio-mascot-mobile-nudge {display:none!important;}
    html[data-orbit-family] .aio-orbit-site .aio-mascot-widget .aio-mascot-panel {left:0!important;bottom:calc(100% + 8px)!important;width:min(320px,calc(100vw - 26px))!important;max-height:min(62dvh,calc(100dvh - 110px))!important;}
    html[data-orbit-family] .aio-orbit-site .aio-share-modal {padding:8px!important;}
    html[data-orbit-family] .aio-orbit-site :is(.site-footer,.aio-ia-footer) {padding-bottom:calc(5rem + env(safe-area-inset-bottom))!important;}
  }
  @media(max-width:420px) {
    html[data-orbit-family] body.aio-orbit-site.aio-header-v4 .portal-topbar .portal-topbar-links {flex-basis:100%!important;justify-content:flex-start;}
    html[data-orbit-family="account"] .aio-orbit-site .a2-metrics {grid-template-columns:repeat(auto-fit,minmax(min(100%,8.6rem),1fr))!important;}
    html[data-orbit-family] .aio-orbit-site .aio-share-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  }
}

/* Portal shell and wayfinding. Colour changes leave operational states to their original components. */
html[data-orbit-family] {
  --ao-ink:#11101c; --ao-panel:#201d32; --ao-text:#f6f1e9; --ao-muted:#c4c0d0;
  --ao-line:#494253; --ao-accent:#ffad79; --ao-ice:#a9e3f2; --ao-rail:10.8rem;
  --ao-sans:"Inter","Segoe UI",system-ui,sans-serif;
  --ao-serif:"Instrument Serif","Baskerville","Georgia",serif;
  color-scheme:dark; background:var(--ao-ink);
}
html[data-orbit-family] body.aio-orbit-site {
  --hub-ink:var(--ao-text); --hub-muted:var(--ao-muted); --hub-ground:var(--ao-ink); --hub-panel:var(--ao-panel);
  --hub-mint:var(--ao-accent); --hub-line:var(--ao-line); --hub-violet:#cabaf4;
}
.ao-orbit-mark {display:inline-block;position:relative;flex:none;width:1em;height:1em;
  border:.12em solid currentColor;border-radius:50%;transform:rotate(-30deg);}
.ao-orbit-mark::after {content:"";position:absolute;inset:23% -34%;border:.11em solid currentColor;border-radius:50%;}
.ao-orbit-mark::before {content:"";position:absolute;right:-19%;top:30%;width:26%;height:26%;border-radius:50%;background:currentColor;}
.ao-routebar {box-sizing:border-box;position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:.35rem 1rem;width:min(78rem,calc(100% - 2rem));margin:.45rem auto .7rem;min-height:2.7rem;
  color:var(--ao-muted);font:600 .88rem/1.35 var(--ao-sans);}
.ao-routebar a, .ao-routebar summary {color:inherit;text-decoration:none;}
.ao-trail, .ao-route-actions, .ao-context-atlas {display:flex;align-items:center;gap:.7rem;}
.ao-trail {min-width:0;flex-wrap:wrap;}
.ao-trail a:hover, .ao-outline a:hover {color:var(--ao-text);text-decoration:underline;}
.ao-trail .ao-divider {color:#b18f82;}
.ao-trail > nav {margin:0;padding:0;background:transparent;border:none;}
.ao-context-atlas, .ao-outline > summary {cursor:pointer;padding:.5rem .75rem;min-height:2.5rem;box-sizing:border-box;
  background:#242131;color:var(--ao-text);border:1px solid var(--ao-line);border-radius:.5rem;display:inline-flex;align-items:center;}
.ao-context-atlas {gap:.6rem;color:var(--ao-accent)!important;}
.ao-outline {position:relative;}
.ao-outline > summary {gap:.65rem;list-style:none;}
.ao-outline > summary::-webkit-details-marker {display:none;}
.ao-outline > summary::after {content:"";width:.43rem;height:.43rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);}
.ao-outline[open] > summary::after {transform:rotate(225deg);}
.ao-outline-list {position:absolute;z-index:10;inset:.3rem 0 auto auto;top:100%;margin-top:.25rem;padding:.45rem;
  width:max-content;max-width:min(23rem,83vw);max-height:min(65vh,27rem);overflow:auto;border:1px solid #6c5a68;border-radius:.65rem;
  background:#252133;color:var(--ao-text);box-shadow:0 12px 32px #0008;}
.ao-outline-list a {display:block;padding:.68rem .8rem;border-radius:.35rem;overflow-wrap:anywhere;}
.ao-outline-list a:hover,.ao-outline-list a:focus-visible {background:#393146;}
.aio-orbit-site .ao-routebar :focus-visible,.aio-orbit-site :is(.ao-rail-atlas,.ao-rail-pins,.ao-launch-atlas):focus-visible {
  outline:2px solid var(--ao-ice);outline-offset:3px;}
@layer ao-chrome {
  html[data-orbit-family] body.aio-orbit-site {font-family:var(--ao-sans)!important;color:var(--ao-text)!important;
    background:radial-gradient(ellipse at 86% 0,#302235 0,transparent 33rem),var(--ao-ink)!important;}
  .aio-orbit-site::before,.aio-orbit-site .page-shell::before {background-image:none!important;}
  .aio-orbit-site .page-shell {background:transparent!important;box-shadow:none!important;border:0!important;}
  .aio-orbit-site .portal-topbar,.aio-orbit-site .site-header,.aio-orbit-site .site-header .brand-row,.aio-orbit-site .site-header .main-nav {
    border-color:var(--ao-line)!important;box-shadow:none!important;}
  .aio-orbit-site .portal-topbar {background:#171420!important;border-radius:0!important;min-height:2.35rem!important;}
  .aio-orbit-site .portal-topbar .portal-topbar-links {flex-wrap:wrap!important;max-width:100%!important;}
  .aio-orbit-site .portal-topbar .portal-topbar-links a:not(.aio-owner-bell),.aio-orbit-site .portal-topbar .aio-h4-platforms a {
    color:var(--ao-text)!important;background:transparent!important;border-color:#554958!important;}
  .aio-orbit-site .portal-topbar .portal-topbar-links :is(a.aio-topbar-messages,a.aio-topbar-account) {background:#332737!important;}
  .aio-orbit-site .site-header {background:#171420!important;border-radius:0!important;}
  .aio-orbit-site .site-header .brand-row {background:#1b1726!important;border-radius:0!important;}
  .aio-orbit-site .site-header .brand strong {color:#fff7f0!important;letter-spacing:-.045em!important;}
  .aio-orbit-site .site-header .brand small {color:#d5c9d4!important;}
  .aio-orbit-site .site-header .brand img {border-radius:.7rem!important;box-shadow:none!important;}
  .aio-orbit-site .site-header :is(.site-search-trigger,.aio-header-menu-toggle,.aio-h4-support,.aio-h4-maintenance-banner,.aio-h4-daily-tip) {
    background:#2a2333!important;border-color:#594957!important;color:var(--ao-text)!important;box-shadow:none!important;}
  .aio-orbit-site .site-header :is(.aio-h4-maintenance-badge,.aio-h4-tip-icon) {background:#f8bc92!important;color:#221721!important;}
  .aio-orbit-site .site-header .main-nav,.aio-orbit-site .site-header .nav-more-menu {background:#1b1726!important;color:var(--ao-text)!important;}
  .aio-orbit-site .site-header .main-nav :is(a,summary) {color:var(--ao-text)!important;text-transform:none!important;}
  .aio-orbit-site .site-header .main-nav :is(a,summary):hover {background:#342a3e!important;}
  .aio-orbit-site .site-header .main-nav a:is(.is-active,[aria-current]),
  .aio-orbit-site .site-header .nav-more:has([aria-current]) > summary {color:#ffcbab!important;background:#3c2a32!important;box-shadow:inset 3px 0 #ffad79!important;}
  .aio-orbit-site .site-header .main-nav :is(.ao-rail-atlas,.ao-rail-pins) {display:none!important;}
  .aio-orbit-site .site-header .main-nav :is(.ao-rail-atlas,.ao-rail-pins)::before {content:none!important;}
  .aio-orbit-site :is(.site-footer,.aio-ia-footer) {background:#171420!important;color:var(--ao-muted)!important;border-color:var(--ao-line)!important;}
  .aio-orbit-site :is(.site-footer,.aio-ia-footer) a {color:#eed8cf!important;}
  .aio-orbit-site :is(.site-footer,.aio-ia-footer) strong {color:var(--ao-text)!important;}
  .aio-orbit-site .ao-trail > nav {background:transparent!important;border:0!important;padding:0!important;margin:0!important;}
  @media(min-width:78rem) {
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) body.aio-orbit-site .page-shell {
      width:auto!important;max-width:none!important;margin:0 0 0 var(--ao-rail)!important;padding:0!important;
      overflow:visible!important;transform:none!important;contain:none!important;filter:none!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header {position:static!important;overflow:visible!important;transform:none!important;
      contain:none!important;filter:none!important;backdrop-filter:none!important;z-index:auto!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav {position:fixed!important;inset:0 auto 0 0!important;z-index:48!important;display:flex!important;
      flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:.27rem!important;
      width:var(--ao-rail)!important;min-width:0!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;
      box-sizing:border-box!important;overflow:auto!important;padding:1.35rem .7rem 7rem!important;
      border:0!important;border-inline-end:1px solid var(--ao-line)!important;border-radius:0!important;background:linear-gradient(160deg,#2c2131,#191622 54%)!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav > a[href],.aio-orbit-site .site-header .main-nav > .nav-more > summary {
      display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:.65rem!important;
      width:100%!important;max-width:none!important;min-height:2.72rem!important;flex:0 0 auto!important;box-sizing:border-box!important;
      padding:.53rem .65rem!important;font:650 .9rem/1.25 var(--ao-sans)!important;
      letter-spacing:0!important;border:1px solid transparent!important;border-radius:.48rem!important;
      white-space:normal!important;text-align:start!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav > .nav-more {width:100%!important;max-width:none!important;flex:none!important;position:relative!important;order:unset!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav > .nav-more[open] > .nav-more-menu {display:grid!important;grid-template-columns:1fr!important;
      position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;
      border:0!important;padding:.18rem!important;gap:.55rem!important;box-shadow:none!important;background:#201b2a!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav :is(.ao-rail-atlas,.ao-rail-pins) {display:flex!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav > .ao-rail-atlas {flex:none!important;margin:0 0 1.1rem!important;min-height:3rem!important;
      color:#ffcbab!important;background:#3e2d38!important;border:1px solid #76584e!important;font-size:1.05rem!important;}
    html[data-orbit-shell="portal"]:not([data-orbit-embedded="owner"]) .aio-orbit-site .site-header .main-nav > .ao-rail-pins {margin-top:.85rem!important;color:#dccde4!important;border-top:1px solid #554655!important;}
    .aio-orbit-site .ao-routebar {width:min(78rem,calc(100% - 3rem));}
    html[data-orbit-shell="portal"] .ao-route-actions .ao-context-atlas {display:none!important;}
  }
  @media(max-width:40rem) {
    .aio-orbit-site .ao-routebar {width:calc(100% - 1.25rem);gap:.22rem .45rem;}
    .aio-orbit-site .ao-route-actions {gap:.32rem;}
    .aio-orbit-site .ao-trail {gap:.35rem;}
    .aio-orbit-site .ao-context-atlas,.aio-orbit-site .ao-outline > summary {padding:.45rem .52rem;font-size:.81rem;}
    .aio-orbit-site .ao-outline-list {position:absolute;right:-3.7rem;}
  }
}
@media print {
  .aio-orbit-site :is(.ao-routebar,.site-header,.portal-topbar,.ao-rail-atlas,.ao-rail-pins) {display:none!important;}
  html[data-orbit-shell="portal"] body.aio-orbit-site .page-shell {margin:0!important;}
}

/* AIO Orbit Palette V4: shared source-level legacy color tokens. */
html[data-orbit-family] {
  --orbit-p4-ink: 21 18 31;
  --orbit-p4-panel: 33 29 46;
  --orbit-p4-raised: 41 35 55;
  --orbit-p4-control: 60 48 71;
  --orbit-p4-active: 89 67 86;
  --orbit-p4-strong: 112 84 108;
  --orbit-p4-line: 86 73 95;
  --orbit-p4-line-strong: 128 104 120;
  --orbit-p4-text: 246 241 233;
  --orbit-p4-muted: 199 191 209;
  --orbit-p4-muted-deep: 177 166 188;
  --orbit-p4-accent: 255 184 136;
  --orbit-p4-accent-soft: 255 212 184;
  --orbit-p4-on-accent: 37 24 39;
}

/* Exact residual neutral surfaces identified in the PR #21 audit.
   Source migration handles the rest; no controls or status colors are forced. */
@layer ao-theme-v2 {
 html[data-orbit-family] .aio-orbit-site .site-header details.nav-more {
  background-color:var(--ot-control)!important;
  border-color:var(--ot-line)!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(.aio-guide-copybar,.one-v2-step) {
  background-color:var(--ot-raised)!important;
  border-color:var(--ot-line)!important;
 }
 html[data-orbit-family] .aio-orbit-site :where(.one-v2-kicker,.one-v2-summary b,.aio-panel-v2-kicker,.aiohd-v2-kicker,.qr-v2-kicker) {color:var(--ao-section,var(--ot-accent))!important;}
}
