html[data-theme=dark]{color-scheme:dark;--dusty-surface:#17252c;--dusty-text:#e0e9ed}html[data-theme=dark] body.dusty-theme{background:#101a20;color:#e0e9ed}html[data-theme=dark] body.dusty-theme :is(.border-container,.site-toolbar,.dusty-breadcrumbs,.settings-panel,.admin-layout,.manage-users,.files-panel,.settings-hub,fieldset,.settings-form,.user-card,.settings-context,.dusty-drawer){background:#17252c;color:#e0e9ed;border-color:#344951}html[data-theme=dark] body.dusty-theme :is(h1,h2,h3,dt,legend,label){color:#e0e9ed}html[data-theme=dark] body.dusty-theme :is(input,select,textarea){background:#20343e;color:#e0e9ed;border-color:#47616c}html[data-theme=dark] body.dusty-theme :is(.settings-help,.settings-hub>p,.cremo-muted){color:#a5bac4}html[data-theme=dark] body.dusty-theme a{color:#7cd8e2}html[data-theme=dark] body.dusty-theme .footer.site-signature{background:#111e25;border-color:#344951;color:#b0c5ce}html[data-theme=dark] body.dusty-theme nav.app-navigation{background:#17252c;border-color:#344951}html[data-theme=dark] body.dusty-theme nav.app-navigation>a[aria-current=page]{background:#25434c}html[data-theme=dark] body.dusty-theme .settings-hub-icon{background:#26434b;color:#8ed8e2}html[data-theme=dark] body.dusty-theme .settings-hub-grid>a:nth-child(3n+2) .settings-hub-icon{background:#353149;color:#c2b4e8}html[data-theme=dark] body.dusty-theme .settings-hub-grid>a:nth-child(3n) .settings-hub-icon{background:#473e2b;color:#e8cf83}
@media print{html[data-theme=dark] body.dusty-theme{background:white;color:black}}

/* Legacy fixed-white surfaces must change with their text, not inherit light foreground alone. */
html[data-theme=dark] body.dusty-theme :is(.border-container,main,article,.admin-layout>article,.documentation,.documentation-content,.help-content,.workspace,.users-filter,.user-card,.files-list,.files-toolbar,.build-notice,.build-notice-wrapper){background-color:#17252c!important;color:#e0e9ed;border-color:#344951}
html[data-theme=dark] body.dusty-theme :is(.site-tools,.site-toolbar,.dusty-breadcrumbs){background-color:#17252c!important;color:#b9d1dc}
html[data-theme=dark] body.dusty-theme :is(.settings-gear,.help-link,.alerts-trigger,.alerts-summary){color:#7cd8e2}
html[data-theme=dark] body.dusty-theme .site-tools svg{color:#7cd8e2;stroke:currentColor}
html[data-theme=dark] body.dusty-theme :is(.settings-actions,.settings-filter,.user-filter,.doc-section-tabs,.field-help,.context-help-bubble,.build-notice-delivery){background-color:#20343e;color:#c4d6de;border-color:#344951}
html[data-theme=dark] body.dusty-theme :is(.admin-navigation a,.doc-section-tabs a){color:#b8d2dd}
html[data-theme=dark] body.dusty-theme :is(.settings-hub-account,.settings-hub-account a){color:#b8d2dd;border-color:#344951}
html[data-theme=dark] body.dusty-theme :is(.site-signature-owner,.site-signature-maker,.site-signature-maker small,.site-signature-maker strong,.build-info){color:#a9c1cb!important}

/* Dialogs sit outside page surfaces and therefore need their own complete dark palette. */
html[data-theme=dark] body.dusty-theme :is(dialog,.app-create-dialog,.dusty-drawer,.cyborg,.context-help-drawer){background:#172b34!important;color:#e0e9ed;border-color:#415b66}
html[data-theme=dark] body.dusty-theme dialog::backdrop{background:#071116a8}
html[data-theme=dark] body.dusty-theme :is(dialog,.app-create-dialog) :is(header,footer,.drawer-header,.drawer-footer,.cyborg-controls){background:#172b34;color:#e0e9ed;border-color:#415b66}
html[data-theme=dark] body.dusty-theme .app-create-dialog p{color:#aec5cf}
html[data-theme=dark] body.dusty-theme .app-create-dialog header button{color:#b9d6e1}
html[data-theme=dark] body.dusty-theme .app-create-choices a{background:#223c47!important;border-color:#415b66;color:#e0e9ed}
html[data-theme=dark] body.dusty-theme .app-create-choices a span{color:#e0e9ed}
html[data-theme=dark] body.dusty-theme .app-create-choices a:hover{background:#2b4b58!important;border-color:#79d6e1}
html[data-theme=dark] body.dusty-theme .app-create-choices svg{color:#8ddce6}
html[data-theme=dark] body.dusty-theme .app-create-choices a[data-create-icon=clipboard] svg{color:#bea4ed}
html[data-theme=dark] body.dusty-theme .app-create-choices a[data-create-icon=box] svg{color:#90b9f2}
/* Audit: overlays, secondary labels, selected states and notification chrome. */
html[data-theme=dark] body.dusty-theme :is(.alerts-panel,.alerts-panel header,.alerts-panel .alerts-controls,.users-toolbar,.tab-container,.drawer-body,.drawer-content,.drawer-actions,.cyborg-content,.context-help-content,.help-panel,.files-empty,.file-card,.file-details,.status-label-settings){background:#172b34!important;color:#e0e9ed;border-color:#415b66}
html[data-theme=dark] body.dusty-theme :is(.alerts-panel .alerts-summary,.alerts-detail,.alerts-entry,.dusty-breadcrumbs [aria-current=page],.dusty-breadcrumbs li:last-child,.users-results,.user-name){color:#d9e8ee!important}
html[data-theme=dark] body.dusty-theme :is(.alerts-panel time,.alerts-panel [data-alert-status],.user-email,.user-last-login,.settings-help,.settings-intro){color:#a7bec9!important}
html[data-theme=dark] body.dusty-theme :is(.alerts-panel button,.alerts-panel .alerts-subject,.alerts-bell,.build-notice-dismiss,.drawer-close){color:#83d8e3!important}
html[data-theme=dark] body.dusty-theme .alerts-panel li{border-color:#38515b}
html[data-theme=dark] body.dusty-theme .alerts-entry[data-unread=true]{border-color:#64c5d5}
html[data-theme=dark] body.dusty-theme .manage-users .tab-container .tab{background:#223c47!important;color:#c3d7e0!important;border-color:#415b66!important}
html[data-theme=dark] body.dusty-theme .manage-users .tab-container .tab:has(input:checked){background:#315462!important;color:#fff!important}
html[data-theme=dark] body.dusty-theme :is(.app-navigation a:hover,.app-navigation .app-create-trigger:hover,.doc-section-tabs a:hover){background:#25434e!important;color:#b0edf4}
html[data-theme=dark] body.dusty-theme :is(.dusty-field-help-bubble,.dusty-field-help-trigger,.field-error-summary){background:#223c47;color:#e0e9ed;border-color:#415b66}
html[data-theme=dark] body.dusty-theme :is(input,select,textarea):disabled{color:#b6cbd4;opacity:1}
html[data-theme=dark] body.dusty-theme :is(.user-actions button,.users-actions button,.dusty-button-secondary){background:#223c47;color:#c7e1ec;border-color:#415b66}
html[data-theme=dark] body.dusty-theme :is(.alerts-panel,.app-create-dialog,.dusty-drawer){scrollbar-color:#587783 #172b34}
html[data-theme=dark] body.dusty-theme :is(dialog,.dusty-drawer,.admin-layout,.manage-users) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background-color:#20343e!important;color:#e0e9ed!important;border-color:#47616c!important}
html[data-theme=dark] body.dusty-theme :is(dialog,.dusty-drawer) button.close{background:#223c47!important;color:#c7e1ec!important;border-color:#415b66!important}
html[data-theme=dark] body.dusty-theme :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background-color:#20343e!important;color:#e0e9ed!important;border-color:#47616c!important}
html[data-theme=dark] body.dusty-theme .settings-actions a{background:transparent!important;color:#83d8e3!important;border-color:#415b66!important}
/* The canvas must override saved light branding even below short-page footers. */
html[data-theme=dark]{background:#101a20}
html[data-theme=dark] body.dusty-theme{background-color:#101a20!important}
/* Utility controls use a subdued hover surface in dark mode. */
html[data-theme=dark] body.dusty-theme .site-toolbar :is(.settings-gear,.help-book,.shop-tv,.alerts-bell):is(:hover,:focus-visible){background:#25404a!important;color:#a0e2ea!important}
/* Transparent site logos remain legible against a dark preview surface. */
html[data-theme=dark] body.dusty-theme .settings-logo-preview{background:#20343e;border:1px solid #38515b}
html[data-theme=dark] body.dusty-theme .settings-logo-preview span{color:#b1c8d2}
