/* Application chrome only. Never invert or tint canvas, source images or SVG sheets. */
html[data-bimora-theme]{--experience-paper:#f7f4ed;--experience-panel:#fffdf7;--experience-ink:#303631;--experience-muted:#68736a;--experience-line:#d9dacf;--experience-tint:#e8eee4;--experience-accent:#3f715e;--experience-copper:#a77551;color-scheme:light}
html[data-bimora-theme="dark"]{--experience-paper:#202823;--experience-panel:#2b342e;--experience-ink:#eceee3;--experience-muted:#b4c1b5;--experience-line:#4d5c50;--experience-tint:#35483b;--experience-accent:#aacbb6;--experience-copper:#d4a27a;color-scheme:dark}
html[data-bimora-theme] body{--bg:var(--experience-paper);--panel:var(--experience-panel);--text:var(--experience-ink);--muted:var(--experience-muted);--border:var(--experience-line);--line:var(--experience-line);--accent:var(--experience-accent);background:var(--experience-paper);color:var(--experience-ink)}
html[data-bimora-theme] body :is(header,.app-header,.ribbon,.panel,.modal-card,.modal-content,.dialog-panel,#workspaceNavigation,#workspaceNavigationTools,#documentationTools,#properties,.d2-toolbar,.d2-shelf-body,.d2-shelf-primary,.d2-quick-layers,.d3-shelf-body,.d3-shelf-primary,.d2-document-dialog,.d2-options-panel,.d2-option-card,.d2-option-heading,.d2-options-needs,.d2-zoning-controls,.d2-zoning-editor){background-color:var(--experience-panel);color:var(--experience-ink);border-color:var(--experience-line)}
html[data-bimora-theme] body :is(button,select,input,textarea){color:var(--experience-ink);background-color:var(--experience-panel);border-color:var(--experience-line)}
html[data-bimora-theme] body :is(button,select,input,textarea,summary,a):focus-visible{outline:2px solid var(--experience-copper);outline-offset:2px}
html[data-bimora-theme] body :is(button[aria-pressed="true"],button[aria-current="page"],.d2-toolbar button.active,.primary){background-color:var(--experience-tint);color:var(--experience-accent);border-color:var(--experience-accent)}
html[data-bimora-theme] body :is(.item-sub,.panel-title,.section-head,.d2-status,#reconciliation){color:var(--experience-muted)}
html[data-bimora-theme] body[data-workspace-stage="docs"]>main{background:var(--experience-paper)}
html[data-bimora-theme] #sheet,html[data-bimora-theme] #printSheets{background:#fff;color:#111;color-scheme:light}
html[data-bimora-theme] .bimora-theme-control{display:inline-flex;align-items:center;gap:6px;flex:none;margin:0;font:12px/1.3 system-ui;color:var(--experience-muted);white-space:nowrap;padding:2px 4px}
html[data-bimora-theme] .bimora-theme-control select{display:block;min-height:36px;width:78px;padding:5px;border:1px solid var(--experience-line);border-radius:7px;background:var(--experience-panel);color:var(--experience-ink);font:inherit;cursor:pointer}
html[data-bimora-theme] #workspaceNavigation .bimora-theme-control>span{display:none}
html[data-bimora-theme] #workspaceNavigation .workspace-utilities{align-items:center}
html[data-bimora-theme] .bimora-theme-control select:focus-visible{outline:2px solid var(--experience-copper)}
@media(max-width:700px){html[data-bimora-theme] body.workspace-navigation-ready{--workspace-nav-height:94px}html[data-bimora-theme] #workspaceNavigation{flex-wrap:wrap;gap:2px}html[data-bimora-theme] #workspaceNavigation .workspace-stage-tabs{flex-basis:100%}html[data-bimora-theme] #workspaceNavigation .workspace-utilities{width:100%;justify-content:flex-end}html[data-bimora-theme] .bimora-theme-control select{min-height:36px;width:70px}html[data-bimora-theme] .bimora-theme-control>span{display:none}}
@media(prefers-reduced-motion:reduce){html[data-bimora-theme] .bimora-theme-control *{transition:none!important;animation:none!important}}
@media print{html[data-bimora-theme],html[data-bimora-theme] body{color-scheme:light;background:#fff!important;color:#000!important}.bimora-theme-control,#workspaceNavigation,#workspaceNavigationTools,#chatDock{display:none!important}#printSheets,#printSheets svg{background:#fff!important}}

html[data-bimora-theme] body :is(.d2-polygon-actions,.d2-zoning-confirm-actions){background:var(--experience-panel)!important;color:var(--experience-ink);border-color:var(--experience-line)!important}
html[data-bimora-theme] .d2-options-panel .notice{color:var(--experience-copper)}
