/* Shared appearance tokens. Light retains the existing palette. */
:root{color-scheme:light;--appearance-surface:#fff;--appearance-soft:#f4f6f8;--appearance-text:#162033;--appearance-muted:#64748b;--appearance-line:#dce3eb;--appearance-accent:#2563eb}
:root[data-theme=dark]{color-scheme:dark;--bg:#0b1220;--card:#152031;--ink:#e7edf5;--muted:#a6b4c5;--line:#334155;--dark:#0b1220;--blue:#8ab4ff;--green:#6ed2b2;--red:#ff979c;--amber:#edc277;--appearance-surface:#152031;--appearance-soft:#1d2b3e;--appearance-text:#e7edf5;--appearance-muted:#a6b4c5;--appearance-line:#334155;--appearance-accent:#8ab4ff}
.topbar .topbar-account-toggle{display:inline-flex;align-items:center;justify-content:center}
.jax-appearance{margin:22px 0;padding:18px 0;border-top:1px solid var(--appearance-line);border-bottom:1px solid var(--appearance-line);color:var(--appearance-text)}
.jax-appearance h3{font-size:15px;margin:0 0 12px;letter-spacing:0;color:inherit}
.jax-theme-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.jax-theme-options button{min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--appearance-line);border-radius:12px;background:var(--appearance-surface);color:var(--appearance-text);font:inherit;font-size:13px;cursor:pointer}
.jax-theme-options button>span{font-size:20px;line-height:1.2}
.jax-theme-options button[aria-pressed=true]{border:2px solid var(--appearance-accent);color:var(--appearance-accent);background:var(--appearance-soft);font-weight:700}
.jax-theme-options button:focus-visible{outline:3px solid var(--appearance-accent);outline-offset:3px}
.jax-appearance p{font-size:12px;line-height:1.6;color:var(--appearance-muted);margin:10px 0 0}
.jax-tab-themes{margin-top:20px;padding-top:18px;border-top:1px solid var(--appearance-line)}
.jax-tab-themes h3{margin-bottom:0}
.jax-tab-themes>p{margin:5px 0 10px}
.jax-tab-theme{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;margin:0;border-bottom:1px solid var(--appearance-line);color:var(--appearance-text);font-size:14px}
.jax-tab-theme>span{min-width:0;overflow-wrap:anywhere}
.jax-tab-theme small{display:block;font-size:11px;color:var(--appearance-muted);margin-top:3px}
.jax-appearance .jax-tab-theme select{flex:0 0 53%;width:53%;max-width:210px;min-height:44px;padding:8px;border:1px solid var(--appearance-line);border-radius:8px;background:var(--appearance-surface);color:var(--appearance-text);font-size:16px;box-sizing:border-box}
.jax-more-themes{margin-top:12px;color:var(--appearance-text)}
.jax-more-themes summary{cursor:pointer;padding:10px 0;font-size:13px;font-weight:600}
.jax-more-themes>div{max-height:320px;overflow:auto;overscroll-behavior:contain}
.jax-theme-reset{margin-top:12px;padding:10px 0;min-height:44px;border:0;background:none;color:var(--appearance-accent);font:inherit;font-size:12px;cursor:pointer;text-align:left}
.jax-theme-reset:disabled{color:var(--appearance-muted);opacity:.6;cursor:default}
.jax-appearance select:focus-visible{outline:3px solid var(--appearance-accent);outline-offset:2px}
@media screen{
 html[data-theme=dark] body,html[data-theme=dark] :is(.desktop-main,.desktop-content,.owner-content,.host-content,.owner-airbnb-shell){background:var(--bg);color:var(--ink)}
 html[data-theme=dark] :is(.card,.login,.room-card,.thumb,.metric-card-btn,.menu-card,.task-card,.table-wrap,.permission-table-wrap,.modal-card,.modal-content,.jax-account-menu,.v1248-sheet,.v1248-sheet-body,.booking-detail-card,.scan-reconcile-card,.host-reservation,.host-menu-card,.host-property-card,.host-empty,.host-updates,.host-property-detail,.jax-owner-review-shell,.jax-owner-review-person){background-color:var(--card);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] :is(.topbar,.bottom-nav,.bottom-nav button,.host-bottom-nav,.host-bottom-nav button,.jax-more-panel-nav,.jax-more-panel-nav button){background:var(--card)!important;color:var(--muted);border-color:var(--line)}
 html[data-theme=dark] :is(.topbar .brand,.topbar .sub,.desktop-page-heading b,.bottom-nav button.active,.host-bottom-nav button.active){color:var(--ink)}
 html[data-theme=dark] :is(.topbar .icon-btn,.topbar .cc-search-trigger,.btn.alt,.jax-account-menu-actions button,.host-button,.host-filter-button,.host-back){background:var(--appearance-soft);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] :is(.field input,.field select,.field textarea,input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=submit],[type=button]),select,textarea){background-color:var(--card);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] :is(input,textarea)::placeholder{color:#97a6b9;opacity:1}
 html[data-theme=dark] :is(.card h2,.card h3,.card h4,.metric-card-btn b,.menu-card b,.task-card h3,.jax-account-menu h2,.host-heading,.host-section-title,.host-reservation h2,.host-property-card h2){color:var(--ink)}
 html[data-theme=dark] :is(.muted,.small.muted,.metric-card-btn span,.menu-card span,.jax-account-menu-heading p,.host-subtitle,.host-footnote,.host-reservation p,.host-property-card p){color:var(--muted)}
 html[data-theme=dark] :is(th,td){border-color:var(--line)}
 html[data-theme=dark] table th{background:var(--appearance-soft);color:var(--muted)}
 html[data-theme=dark] table tbody tr:hover td{background:var(--appearance-soft)}
 html[data-theme=dark] :is(.tabs-lite button,.pill,code,.readonly-field,.host-scope-tabs,.host-period,.host-kind){background:var(--appearance-soft);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] :is(.pill.good,.goodbox){background:#173d35;color:#91e4c5}
 html[data-theme=dark] :is(.pill.bad,.errorbox){background:#492b35;color:#ffb3b9}
 html[data-theme=dark] :is(.pill.warn,.warnbox,.owner-approval-panel){background:#40341f;color:#f4d29a;border-color:#6e5731}
 html[data-theme=dark] :is(.pill.confirmed,.notice){background:#203b60;color:#b4d2ff;border-color:#37577f}
 html[data-theme=dark] :is(.jax-owner-review-card,.jax-owner-review-waiting){background:var(--card);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] :is(.ribbon-sticky-corner,.ribbon-sticky-property,.ribbon-day-header,.ribbon-day-cell,.ribbon-viewport,.ribbon-toolbar,.calendar-toolbar){background-color:var(--card);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] :is(.ribbon-sticky-property b,.ribbon-sticky-property small){color:var(--ink)}
 /* Task workspace, including drawers and every view. */
 html[data-theme=dark] :is(.tc-root,.tc-dialog){--tc-ink:#e7edf5;--tc-muted:#a6b4c5;--tc-line:#334155;--tc-blue:#8ab4ff;--tc-soft:#1d2b3e;--tc-green:#6ed2b2;color:var(--tc-ink)}
 html[data-theme=dark] :is(.tc-root,.tc-dialog) :is(input,select,textarea){background-color:var(--card);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] :is(.tc-layout,.tc-main,.tc-dialog,.tc-detail-head,.tc-detail-footer,.tc-table th,.tc-table td,.tc-table .tc-group th,.tc-day,.tc-board-card,.tc-agenda-row,.tc-workload-row,.tc-more-filters>div){background:var(--card);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] :is(.tc-sidebar,.tc-board,.tc-board-column,.tc-table thead th,.tc-weekdays,.tc-day.tc-outside,.tc-agenda-day>header,.tc-segment,.tc-comments article,.tc-picker-note,.tc-group th>span,.tc-tag,.tc-undated summary b,.tc-workload-bar){background:var(--appearance-soft);border-color:var(--line);color:var(--muted)}
 html[data-theme=dark] :is(.tc-view-tabs,.tc-board-column>header,.tc-card-footer,.tc-calendar-scroll,.tc-undated,.tc-agenda-day,.tc-people-picker,.tc-picker-search,.tc-checklist>div,.tc-detail-section,.tc-activity,.tc-activity p,.tc-linked-tools){border-color:var(--line)}
 html[data-theme=dark] .tc-calendar-days{background:var(--line)}
 html[data-theme=dark] :is(.tc-btn,.tc-attachments .tc-btn){background:var(--appearance-soft);border-color:var(--line);color:var(--ink)}
 html[data-theme=dark] .tc-btn.tc-primary{background:#336fdf;border-color:#4c83e7;color:#fff}
 html[data-theme=dark] :is(.tc-btn.tc-icon-btn,.tc-btn.tc-complete,.tc-task-title,.tc-cell-button,.tc-card-open,.tc-view-tabs button,.tc-nav-item,.tc-day-head>button:first-child,.tc-add-row.tc-btn){background:transparent;color:var(--ink)}
 html[data-theme=dark] .tc-btn.tc-complete{color:transparent;border-color:#677b94}
 html[data-theme=dark] .tc-btn.tc-complete.checked{color:#91e4c5;background:#173d35;border-color:#448d76}
 html[data-theme=dark] .tc-btn.tc-complete.checked:before{background:#173d35;border-color:#91e4c5}
 html[data-theme=dark] .tc-btn.tc-complete:hover{color:#91e4c5}
 html[data-theme=dark] :is(.tc-nav-item.active,.tc-nav-item:hover,.tc-task-row:hover td,.tc-agenda-row:hover,.tc-people-options>label:hover,.tc-day.tc-today,.tc-segment .tc-btn.active,.tc-bulk){background:#203b60;color:#b4d2ff;border-color:#37577f}
 html[data-theme=dark] .tc-nav-item b{background:#27394e;color:#c4d0df}
 html[data-theme=dark] :is(.tc-nav-item.active b,.tc-today .tc-day-head>button:first-child){background:#336fdf;color:#fff}
 html[data-theme=dark] :is(.tc-view-tabs button.active,.tc-selection-toggle.tc-btn){color:var(--blue)}
 html[data-theme=dark] :is(.tc-page-head p,.tc-eyebrow,.tc-work-sub,.tc-list-meta,.tc-nav-item svg,.tc-sidebar-caption,.tc-sidebar-empty,.tc-sidebar-bottom .tc-btn,.tc-property-name,.tc-assignee-name,.tc-unassigned,.tc-card-property,.tc-card-footer,.tc-calendar-hint,.tc-undated summary,.tc-undated summary>span,.tc-agenda-time,.tc-agenda-row>strong small,.tc-workload p,.tc-workload-row small,.tc-field>span,.tc-field>span small,.tc-inline-check,.tc-pin-control,.tc-detail-footer>span,.tc-subtle,.tc-people-options small,.tc-comments time,.tc-activity,.tc-activity time,.tc-detail-head>span,.tc-detail-section h3 span){color:var(--muted)!important}
 html[data-theme=dark] :is(.tc-agenda-row>strong,.tc-workload-row>span:first-child strong,.tc-people-options strong,.tc-detail-section h3,.tc-checklist label,.tc-comments p,.tc-comments header strong,.tc-activity strong,.tc-empty h3,.tc-day-agenda-heading h3){color:var(--ink)}
 html[data-theme=dark] :is(.tc-status,.tc-severity,.tc-tag){background:#27394e;color:#c4d0df}
 html[data-theme=dark] :is(.tc-severity-normal,.tc-status-in_progress,.tc-cal-task){background:#203b60;color:#b4d2ff}
 html[data-theme=dark] :is(.tc-severity-urgent,.tc-cal-urgent,.tc-alert){background:#492b35;color:#ffb3b9;border-color:#71404b}
 html[data-theme=dark] :is(.tc-severity-high,.tc-status-blocked,.tc-cal-high){background:#40341f;color:#f4d29a}
 html[data-theme=dark] :is(.tc-severity-low,.tc-status-done,.tc-cal-low){background:#173d35;color:#91e4c5}
 html[data-theme=dark] .tc-red{color:#ff979c!important}
 html[data-theme=dark] .tc-avatar{background:var(--tc-person-color,#dce3eb);color:#172033;border-color:var(--card)}
 html[data-theme=dark] .tc-avatar-more{background:var(--tc-soft);color:var(--tc-muted)}
 html[data-theme=dark] .tc-detail-complete.checked{color:var(--tc-green);background:#173d35;border-color:var(--tc-green)}
 html[data-theme=dark] .tc-actions-dialog .tc-btn.tc-danger{color:#ff979c;border-color:#914553}
 html[data-theme=dark] :is(.tc-root,.tc-dialog) input:disabled{background:#243247!important;color:#a6b4c5!important}
 html[data-theme=dark] .tc-root .tc-is-complete :is(.tc-task-title,.tc-card-open>strong),html[data-theme=dark] .tc-root .tc-agenda-row.tc-is-complete>strong{color:#a6b4c5}
 html[data-theme=dark] .tc-dialog::backdrop{background:#0008}
 @media(max-width:760px){html[data-theme=dark] .tc-table .tc-task-row{background:var(--card);border-color:var(--line)}html[data-theme=dark] .tc-table .tc-task-row td,html[data-theme=dark] .tc-table .tc-task-row:hover td{background:transparent}html[data-theme=dark] .tc-btn.tc-complete.checked{background:transparent}html[data-theme=dark] .tc-btn.tc-complete:before{border-color:#8fa1b7}}
}
/* Mixed keeps page chrome dark while every content surface uses the light palette. */
:root[data-theme=mixed]{color-scheme:light;--bg:#0b1220;--card:#fff;--panel:#fff;--surface:#fff;--soft:#f4f6f8;--ink:#162033;--muted:#64748b;--line:#dce3eb;--border:#dce3eb;--dark:#0b1220;--blue:#2563eb;--green:#0f766e;--red:#b42318;--amber:#a16207;--appearance-surface:#fff;--appearance-soft:#f4f6f8;--appearance-text:#162033;--appearance-muted:#64748b;--appearance-line:#dce3eb;--appearance-accent:#2563eb}
@media screen{
 /* These dashboard and scan surfaces previously kept hard-coded light backgrounds in Dark. */
 html[data-theme=dark] :is(.jax-open-turnover,.jax-open-empty,.jax-open-error,.jax-pastdue-wrap,.jax-pastdue-card){background:var(--card)!important;color:var(--ink)}
 html[data-theme=dark] :is(.jax-pastdue-wrap summary,.jax-pastdue-help){color:#f4d29a!important}
 html[data-theme=dark] :is(.jax-pastdue-meta,.jax-pastdue-summary-note,.jax-open-main>div>span,.jax-open-actions label,.jax-checkout-line,.jax-checkout-source){color:var(--muted)!important}
 html[data-theme=dark] :is(.attention-group-toolbar,.attention-group-summary,.attention-group-items,.exception-card,.cc-health-toggle,.cc-daily-column,.cc-ready-step,.cc-drilldown-dialog,.cc-drilldown-summary,.cc-drilldown-item,.cc-arrival-action,.rq-panel,.rq-stage,.rq-item,.scan-empty,.scan-next-step,.scan-success,.scan-context-grid>div,.scan-final-actions,.scan-archive-dialog,.outstanding-metric,.outstanding-tote-row){background:var(--card);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] :is(.attention-group-copy b,.exception-card b,.rq-heading h2,.rq-summary,.rq-stage,.rq-item,.scan-empty b,.scan-next-step b){color:var(--ink)}
 html[data-theme=dark] :is(.attention-type-summary,.attention-group-copy span,.attention-group-priority,.attention-chevron,.rq-heading p,.rq-summary>span,.rq-item small,.scan-page-head p,.scan-queue-head p,.scan-entry-heading span,.scan-queue-count,.scan-queue-row small,.scan-next-step p,.scan-empty p,.scan-archive-reason){color:var(--muted)}
 html[data-theme=dark] :is(.scan-filter-tabs button,.scan-workspace .scan-entry-form input,.scan-workspace .scan-search input){background:var(--appearance-soft);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] .scan-filter-tabs button[aria-selected=true]{background:#173d35;color:#91e4c5}
 html[data-theme=dark] .scan-queue-row.is-overdue b{color:#ff979c}
 html[data-theme=dark] :is(.attention-group-summary:hover,.attention-group-summary:focus-visible){background:var(--appearance-soft)}
 html[data-theme=dark] #exceptionsSection :is(.attention-group-toolbar,.attention-group-summary,.attention-group-items,.exception-card){background:var(--card);color:var(--ink);border-color:var(--line)}
 html[data-theme=dark] #exceptionsSection .attention-group-copy b{color:var(--ink)}
 html[data-theme=dark] #exceptionsSection :is(.attention-type-summary,.attention-group-copy span,.attention-group-priority,.attention-chevron){color:var(--muted)}
 html[data-theme=dark] #exceptionsSection .attention-group-summary:hover{background:var(--appearance-soft)}
 html[data-theme=dark] #exceptionsSection .attention-group-priority{background:var(--appearance-soft)}
 html[data-theme=dark] #exceptionsSection .attention-group-priority.warn{background:#40341f;color:#f4d29a}
 html[data-theme=dark] #exceptionsSection .attention-group-priority.bad{background:#492b35;color:#ffb3b9}
 html[data-theme=dark]{--border:#334155;--panel:#152031;--surface:#152031;--soft:#1d2b3e}

 html[data-theme=mixed] body,html[data-theme=mixed] :is(.desktop-main,.desktop-content,.owner-content,.host-content,.owner-airbnb-shell){background:#0b1220;color:#e7edf5}
 html[data-theme=mixed] :is(.topbar,.bottom-nav,.bottom-nav button,.host-bottom-nav,.host-bottom-nav button,.jax-more-panel-nav,.jax-more-panel-nav button){background:#152031!important;color:#b9c5d4;border-color:#334155}
 html[data-theme=mixed] :is(.topbar .brand,.topbar .sub,.desktop-page-heading b,.bottom-nav button.active,.host-bottom-nav button.active){color:#fff}
 html[data-theme=mixed] .pill:not(.good,.bad,.warn,.confirmed){color:#162033}
 html[data-theme=mixed] :is(.card,.hero,.login,.room-card,.metric-card-btn,.menu-card,.task-card,.table-wrap,.permission-table-wrap,.modal-card,.modal-content,.jax-account-menu,.v1248-sheet,.v1248-sheet-body,.booking-detail-card,.host-reservation,.host-menu-card,.host-property-card,.host-empty,.host-updates,.host-property-detail,.host-property-row,.host-menu-group,.host-summary-grid>button,.jax-owner-review-shell,.jax-owner-review-person,.jax-owner-review-card,.jax-owner-review-waiting,.attention-group-toolbar,.attention-group-summary,.attention-group-items,.exception-card,.cc-health-toggle,.cc-daily-column,.cc-daily-row,.cc-ready-step,.cc-search-dialog,.cc-drilldown-dialog,.cc-drilldown-summary,.cc-drilldown-item,.cc-arrival-action,.rq-panel,.rq-stage,.rq-item,.scan-empty,.scan-next-step,.scan-success,.scan-context-grid>div,.scan-final-actions,.scan-archive-dialog,.outstanding-metric,.outstanding-tote-row){background:#fff!important;color:#162033;--muted:#64748b;--ink:#162033}
 html[data-theme=mixed] :is(.card,.hero,.metric-card-btn,.menu-card,.task-card,.room-card) :is(h1,h2,h3,h4){color:#162033}
 html[data-theme=mixed] :is(.cc-health-card,.jax-open-turnover,.jax-open-empty,.jax-open-error,.jax-pastdue-wrap,.jax-pastdue-card){background:#fff!important;color:#162033;--muted:#64748b;--ink:#162033}
 html[data-theme=mixed] :is(.notice,.warnbox,.errorbox,.goodbox){background:#fff;color:#162033}
 html[data-theme=mixed] :is(.jax-open-head,.jax-upcoming-head) .muted{color:#a6b4c5}
 html[data-theme=mixed] :is(.card,.hero,.metric-card-btn,.menu-card,.task-card,.room-card) :is(.muted,.small.muted){color:#64748b}
 html[data-theme=mixed] :is(.today-section>.row,.cc-section-head,.attention-section-head,.scan-page-head,.scan-selection-head,.tc-page-head,.host-heading,.host-property-heading){color:#e7edf5;--muted:#a6b4c5}
 html[data-theme=mixed] :is(.today-section>.row,.cc-section-head,.attention-section-head,.scan-page-head,.scan-selection-head,.tc-page-head,.host-heading,.host-property-heading) :is(h1,h2,h3){color:#e7edf5}
 html[data-theme=mixed] :is(.today-section>.row,.cc-section-head,.attention-section-head,.scan-page-head,.scan-selection-head,.tc-page-head,.host-heading,.host-property-heading) :is(p,.muted,.eyebrow){color:#a6b4c5}
 html[data-theme=mixed] :is(.content>h1,.content>h2,.content>h3,.content>.muted,.host-section-title,.host-subtitle,.host-footnote){color:#e7edf5}
 html[data-theme=mixed] :is(.tc-layout,.tc-main,.tc-sidebar,.tc-board,.tc-board-column,.tc-board-card,.tc-dialog,.tc-detail-head,.tc-detail-footer,.tc-table th,.tc-table td,.tc-table .tc-task-row,.tc-filter-panel,.tc-day,.tc-agenda-row,.tc-workload-row,.tc-comments article,.tc-people-picker,.tc-picker-note){background:#fff;color:var(--tc-ink);border-color:var(--tc-line)}
 html[data-theme=mixed] :is(.field input,.field select,.field textarea,.scan-workspace .scan-entry-form input,.scan-workspace .scan-search input){background:#fff;color:#162033;border-color:#dce3eb}
 html[data-theme=mixed] :is(.card,.hero,.metric-card-btn,.menu-card,.task-card,.room-card,.cc-daily-column,.rq-panel,.scan-empty,.scan-next-step,.jax-account-menu){color-scheme:light}
 @media(min-width:1024px){
  html[data-theme=dark] #exceptionsSection{background:var(--card);color:var(--ink);border-color:var(--line)}
  html[data-theme=mixed] #exceptionsSection{background:#fff;color:#162033}
  html[data-theme=mixed] #exceptionsSection .attention-section-head :is(h2,.muted){color:#162033}
 }
}
@media print{:root[data-theme]{color-scheme:light;--bg:#fff;--card:#fff;--panel:#fff;--surface:#fff;--ink:#162033;--muted:#6b7280;--line:#e5e7eb;--blue:#2563eb;--dark:#111827}.jax-appearance{display:none!important}}
