/* Colour preferences belong to the office workspace, never customer documents. */
.office-theme-picker{display:none}
@media screen and (min-width:801px){
 .office-theme-picker{display:flex;align-items:center;gap:7px;margin:0;color:inherit;font-size:12px;white-space:nowrap}
 .office-theme-picker select{width:auto;max-width:160px;margin:0;padding:7px 9px;border:1px solid #c9d5e4;border-radius:7px;background:#fff;color:#20374c;font-size:12px}
 html[data-office-theme]{color-scheme:var(--tf-scheme);--ink:var(--tf-text);--muted:var(--tf-muted);--line:var(--tf-line);--bg:var(--tf-canvas-a);--blue:var(--tf-link);--navy:var(--tf-strong);background:var(--tf-canvas-a)}
 html[data-office-theme] body{background:linear-gradient(135deg,var(--tf-canvas-a),var(--tf-canvas-b)) fixed!important;color:var(--tf-canvas-text)}
 html[data-office-theme] body>main{background:transparent}
 html[data-office-theme] .sidebar{background:var(--tf-sidebar)!important;color:var(--tf-side-text);border-color:var(--tf-line)}
 html[data-office-theme] .sidebar :is(.workspace,.brand span,.side-note,.side-note p,.profile small,nav button){color:var(--tf-side-muted)}
 html[data-office-theme] .sidebar .profile{color:var(--tf-side-text)}
 html[data-office-theme] .sidebar nav button.active{background:var(--tf-accent);color:var(--tf-on-strong)}
 html[data-office-theme] .sidebar nav button:not(.active){background:transparent}
 html[data-office-theme=classic] .sidebar nav button.active{background:#edf3ff;color:#245fbe}
 html[data-office-theme] :is(.brand img,body>header>img){background:#fff;border-radius:7px;padding:6px;box-sizing:content-box}
 html[data-office-theme] body>main>header{height:auto;min-height:76px;gap:14px;padding-top:12px;padding-bottom:12px;color:var(--tf-text)}
 html[data-office-theme=classic] .brand img{padding:0;box-sizing:border-box}
 html[data-office-theme] .header-right{gap:12px}
 html[data-office-theme] :is(dialog,.assistant-floating){background:var(--tf-surface);color:var(--tf-text)}
 html[data-office-theme] :is(.panel,.stat,.card,.job-next-step,.workspace-fold,.source-brief-panel,.simple-quote-item,.simple-quote-total,.price-totals,.completion-update,.sub-response,.sub-media,body>header){color:var(--tf-text)}
 html[data-office-theme] :is(input,select,textarea){color-scheme:var(--tf-scheme);accent-color:var(--tf-accent)}
 html[data-office-theme] input::placeholder,html[data-office-theme] textarea::placeholder{color:var(--tf-muted);opacity:1}
 html[data-office-theme] :is(a,.text-button){color:var(--tf-link)}
 html[data-office-theme] :is(button.primary,.primary,a.primary,.assistant-launcher,.assistant-launcher:hover){background:var(--tf-accent);color:var(--tf-on-strong)}
 html[data-office-theme] button.quote-approve{background:var(--tf-success-fill);color:var(--tf-on-strong)}
 html[data-office-theme] .action-card{--tf-text:#ffffff;--tf-muted:#dbe4f3;--tf-link:#c4d8ff;color:#ffffff}
 html[data-office-theme] :is(button.secondary,a.secondary,.office-theme-picker select){background:var(--tf-surface);color:var(--tf-text);border-color:var(--tf-line)}
 html[data-office-theme] :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid var(--tf-focus);outline-offset:3px}
 html[data-office-theme] button:disabled{opacity:.65}
 html[data-office-theme] .office-theme-picker{color:var(--tf-muted)}
 html[data-office-theme] #content> :is(.eyebrow,.muted,.title-row,.detail-back,.job-title-row,.job-brief,.job-navigation,.bottom-note),html[data-office-theme] .job-navigation{color:var(--tf-canvas-text)}
 html[data-office-theme] :is(.job-navigation,.job-title-row,.title-row)>:is(a,.detail-back,.job-brief,.muted,.eyebrow){color:var(--tf-canvas-text)}
 html[data-office-theme] #inspection-app>:is(.eyebrow,.muted){color:var(--tf-canvas-text)}
 html[data-office-theme] #month-view-workspace svg text{fill:var(--tf-muted)}
 html[data-office-theme] #month-view-workspace svg line{stroke:var(--tf-line)}
 html[data-office-theme] #month-view-workspace svg [stroke="#3973e8"]{stroke:var(--tf-chart-blue)}
 html[data-office-theme] #month-view-workspace svg [fill="#3973e8"]{fill:var(--tf-chart-blue)}
 html[data-office-theme] #month-view-workspace svg [stroke="#a14eb4"]{stroke:var(--tf-chart-purple)}
 html[data-office-theme] #month-view-workspace svg [fill="#a14eb4"]{fill:var(--tf-chart-purple)}
 html[data-office-theme] #month-view-workspace svg [stroke="#13865d"]{stroke:var(--tf-chart-green)}
 html[data-office-theme] #month-view-workspace svg [fill="#13865d"]{fill:var(--tf-chart-green)}
 html[data-office-theme] .office-theme-picker select{font-size:12px}
 html[data-office-theme] :is(.quote-paper,.quote-export,[data-customer-document]){--ink:#17283a;--muted:#738091;--line:#e4e9ef;--bg:#f5f7fa;--blue:#3978f6;--navy:#07192c;color-scheme:light}
}
@media print{.office-theme-picker{display:none!important}}
