/* ATLAS appearance R38 — light, dark and operating-system modes. */
html[data-atlas-theme]{color-scheme:light;--atlas-page:#f4f7fa;--atlas-surface:#fff;--atlas-surface-soft:#edf5f8;--atlas-input:#fff;--atlas-text:#102338;--atlas-muted:#52677c;--atlas-border:#d2dde6;--atlas-hover:#e6f8fc;--atlas-shadow:rgba(16,35,56,.14)}
html[data-atlas-theme=dark]{color-scheme:dark;--atlas-page:#07111b;--atlas-surface:#101e2a;--atlas-surface-soft:#172a39;--atlas-input:#0a1722;--atlas-text:#eaf4f9;--atlas-muted:#a7bdca;--atlas-border:#2b4658;--atlas-hover:#15384a;--atlas-shadow:rgba(0,0,0,.42);--background:#07111b;--foreground:#eaf4f9;--card:#101e2a;--card-foreground:#eaf4f9;--popover:#101e2a;--popover-foreground:#eaf4f9;--secondary:#172a39;--secondary-foreground:#eaf4f9;--muted:#172a39;--muted-foreground:#a7bdca;--accent:#15384a;--accent-foreground:#fff;--border:#2b4658;--input:#2b4658}
@media(prefers-color-scheme:dark){html[data-atlas-theme=system]{color-scheme:dark;--atlas-page:#07111b;--atlas-surface:#101e2a;--atlas-surface-soft:#172a39;--atlas-input:#0a1722;--atlas-text:#eaf4f9;--atlas-muted:#a7bdca;--atlas-border:#2b4658;--atlas-hover:#15384a;--atlas-shadow:rgba(0,0,0,.42);--background:#07111b;--foreground:#eaf4f9;--card:#101e2a;--card-foreground:#eaf4f9;--popover:#101e2a;--popover-foreground:#eaf4f9;--secondary:#172a39;--secondary-foreground:#eaf4f9;--muted:#172a39;--muted-foreground:#a7bdca;--accent:#15384a;--accent-foreground:#fff;--border:#2b4658;--input:#2b4658}}
html[data-atlas-theme] body,html[data-atlas-theme] .workspace{background:var(--atlas-page);color:var(--atlas-text)}
html[data-atlas-theme] :is([data-slot=sidebar-inset],main:not(.login-page),.atlas-budget-workspace,.atlas-budget-editor,.atlas-special){background:var(--atlas-page)!important;color:var(--atlas-text)!important}
html[data-atlas-theme] :is(.panel,.tile,.catalog-filters,.atlas-management .panel,[data-slot=dialog-content],[data-slot=popover-content],[role=dialog]){background:var(--atlas-surface)!important;color:var(--atlas-text);border-color:var(--atlas-border)!important;box-shadow:0 18px 48px var(--atlas-shadow)}
html[data-atlas-theme] :is(input,select,textarea,.atlas-native-select,[data-slot=input]){background:var(--atlas-input)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
html[data-atlas-theme] :is(input,textarea)::placeholder{color:var(--atlas-muted)!important}
html[data-atlas-theme] :is(.muted,.atlas-help,.atlas-management small,.category-links button span){color:var(--atlas-muted)!important}
html[data-atlas-theme] :is(.atlas-management th,thead th){background:var(--atlas-surface-soft)!important;color:var(--atlas-text);border-color:var(--atlas-border)!important}
html[data-atlas-theme] :is(.atlas-management td,.atlas-management th,td,th){border-color:var(--atlas-border)!important}
html[data-atlas-theme] :is(.atlas-budget-top-actions,.atlas-account-dropdown,.atlas-account-dropdown a,.atlas-account-dropdown button,.bg-white,.bg-cyan-50){background:var(--atlas-surface)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
html[data-atlas-theme] :is(.atlas-account-dropdown a,.atlas-account-dropdown button,.category-links button):hover{background:var(--atlas-hover)!important}
html[data-atlas-theme] :is(.atlas-proposal-supply-flow,.atlas-notice){background:var(--atlas-surface-soft)!important;color:var(--atlas-text);border-color:var(--atlas-border)!important}
html[data-atlas-theme] :is(.atlas-proposal-filter-title,.atlas-proposal-filter-steps .field>span,h1,h2,h3,strong,label){color:var(--atlas-text)}
html[data-atlas-theme] .atlas-proposal-filter-status{color:var(--atlas-muted)}
html[data-atlas-theme] .status{background:var(--atlas-hover);color:#39cdea}
html[data-atlas-theme] .warning{background:#3b2c13;color:#ffd88a;border-color:#755b28}
html[data-atlas-theme] .error{background:#3d1820;color:#ffc7cf;border:1px solid #743141}
html[data-atlas-theme] .atlas-home-links a{background:var(--atlas-surface);border-color:var(--atlas-border)}
html[data-atlas-theme] .atlas-home-links span{color:var(--atlas-muted)}
