/* RAAC — reference palette. Presentation only; shared desktop and mobile. */
:root{
 --ink:#151515;--muted:#626262;--yellow:#fff200;--orange:#606264;
 --glass:#f3f3f3;--edge:#d2d2d2;--surface:#f3f3f3;--canvas:#e3e3e3;
 color:var(--ink);background:var(--canvas);color-scheme:light;
}
html,body{background:#e3e3e3}
body:before{background-image:none}
body{color:#151515}
.workspace-heading h1,.case-heading h1,.section-intro h2,.record-copy strong,
.record-customer>strong,.record-date>strong,.section-heading h2,.data-grid dd,
.prep-row strong,.related-record strong,.history-list strong,.dialog-heading h2,
#form-dialog h2,.detail-heading h2,.core-heading h1,.core-panel,.row-title,
.team-person strong{color:#171717}
.workspace-heading p,.nav-section,.profile-label small,.section-intro p,
.record-copy small,.record-customer>small,.record-date>small,.record-preparation>small,
.record-arrow,.list-footer,.case-crumb,.case-seller small,.case-seller strong,
.case-customer-name small,.case-customer-bar>a,.data-grid dt,.history-list time,
.history-list p,.related-record small,.simple-hint,.subtle,.muted,.check-row,
.handover-block,.handover-block>small,.prep-row p,.note-block p,
.notification-list time,.notification-list p,.team-form-note{color:#626262}
.workspace-chip,.workspace-date,.workspace-search,.icon-button,
.heading-count,.record-mark,.small-initials,.team-avatar{background:#f1f1f1;border-color:#d5d5d5;color:#343434;box-shadow:none}
.workspace-chip small,.workspace-chip svg,.workspace-date svg{color:#626262;border-color:#d5d5d5}
.sidebar{background:#dedede;border-color:#cecece}
.nav-item{color:#575757}
.nav-item:hover{background:#f1f1f1;color:#151515}
.nav-item.active{background:#171717;color:#fff;box-shadow:none}
.nav-count{background:#eaeaea;color:#555}
.nav-item.active .nav-count{background:#fff200;color:#151515}
.sidebar-bottom{border-color:#cbcbcb}
.sidebar-profile{background:#f4f4f4;border-color:#d3d3d3}
.sidebar-profile>span:first-child{background:#242424;color:#fff}
.profile-label strong,.sign-out-icon{color:#242424}
#notification-count{background:#171717;color:#fff;border-color:#dedede}

/* The three existing overview panels retain their size and position. */
.hero-yellow{background:#fff200;color:#151515}
.hero-orange{background:#606264;color:#fff}
.hero-orange .hero-label,.hero-orange .hero-total,.hero-orange .hero-total>span{color:#fff}
.hero-orange .hero-secondary{background:#ffffff20;border-color:#ffffff35;color:#fff}
.hero-orange .hero-secondary i{background:#fff200}
.stock-sculpture>i{background-image:radial-gradient(#ffffff70 1px,transparent 1px)}
.stock-sculpture>i:nth-child(2){background:linear-gradient(140deg,#161616,#363739 70%,#4c4d4f)}
.stock-sculpture>i:nth-child(3){background:repeating-linear-gradient(145deg,#202122 0 2px,#ffffff24 2px 4px)}
.mini-bar{color:#242424}
.mini-bar>i{background:#171717}
.bar-0>i{background:radial-gradient(#171717 1px,transparent 1px);background-size:4px 4px}
.bar-1>i{background:repeating-linear-gradient(45deg,#171717 0 2px,transparent 2px 5px)}
.bar-2>i{background:linear-gradient(120deg,#171717,#828200)}
.hero-focus{background:#121212;color:#fff;border-color:#252525}
.focus-kicker,.focus-main p,.focus-live{color:#c8c8c8;border-color:#4b4b4b}
.focus-action{color:#fff}
.focus-arrow,.workflow-dot{background:#fff200;color:#151515;border-color:#eee400}
.workflow-dot.dot-1{background:#666;color:#fff;border-color:#666}
.workflow-dot.dot-2{background:var(--surface);color:#171717;border-color:#d5d5d5}
.workflow-glass{background:var(--surface);border-color:#d8d8d8}

.rail-search,.view-switch,.list-status-filter .control-trigger{background:var(--surface);border-color:#d4d4d4;box-shadow:none}
.rail-search input{color:#202020}
.rail-search input::placeholder,.rail-search svg{color:#6a6a6a}
.rail-search:focus-within{border-color:#454545;box-shadow:0 0 0 3px #1515150a}
.view-switch button{color:#626262}
.view-switch button[aria-pressed=true]{background:#171717;color:#fff;box-shadow:none}
.list-tabs button{color:#585858}
.list-tabs button>span{background:#f1f1f1;color:#626262}
.list-tabs button:hover{background:#f4f4f4}
.list-tabs button[aria-pressed=true]{background:#fff200;border-color:#fff200;color:#171717}
.list-tabs button[aria-pressed=true]>span{background:#ffffff94;color:#171717}
.list-column-head,.list-column-head.task-columns{background:#f2f2f2;border-color:#dadada;color:#646464}
.record-line,.record-line:nth-child(even){background:var(--surface);border-color:#e0e0e0}
.record-line:hover{background:#fafafa}
.inline-preparation>span{background:#f2f2f2;border-color:#e9e9e9;color:#565656}
.inline-preparation b{color:#292929}
.inline-preparation .done{background:#edf4ef;border-color:#e2ebe5;color:#28613d}
.inline-preparation .done b{color:#28613d}
.inline-preparation .blocked{background:#fff0ec;border-color:#f3d9d1;color:#9d342a}
.inline-preparation .blocked b{color:#9d342a}
.inline-preparation i,.row-status i{background:#858585}
.inline-preparation .done i,.row-status.done i,.row-status.ready i{background:#299454}
.inline-preparation .blocked i,.row-status.blocked i{background:#c34f3c}
.record-preparation .row-status{color:#303030}
.record-preparation .row-status.incoming{color:#585858}
.record-preparation .row-status.blocked,.overdue-label{color:#a33c30}
.board-column>h2,.board-client{color:#242424}
.board-record{background:var(--surface);border-color:#d6d6d6}
.board-record:hover{background:#f8f8f8}
.board-record>strong{color:#171717}
.board-record>small,.board-date,.board-empty{color:#626262}

.case-customer-bar,.summary-metrics>div,.summary-metrics>div:first-child,
.summary-metrics>div:nth-child(2),.case-section,.note-block,
.task-form-context,.team-schedule,.core-panel,.core-table,.notification-list>div{background:var(--surface);border-color:#dedede}
.case-customer-name strong,.summary-metrics strong,.note-block h3,
.team-schedule h3,.team-schedule-row strong,.task-form-context .vehicle-label strong,
.task-form-customer strong,.simple-task-vehicle strong{color:#171717}
.summary-metrics small,.team-schedule p,.team-schedule-row,
.task-form-context .vehicle-label small,.task-form-customer small,
.task-form-customer>span,.simple-task-vehicle small{color:#626262}
.task-form-customer,.team-schedule-row,.prep-row,.data-grid>div{border-color:#e5e5e5}
.case-tabs{border-color:#cfcfcf}
.case-tabs button{color:#626262}
.case-tabs button[aria-selected=true]{color:#171717;border-color:#171717}
.history-list{border-color:#d8d8d8}
.history-list>div:before{background:#fff200;border-color:#fff}
.status-badge{background:#eee;border-color:#e1e1e1;color:#505050}
.status-badge.ready,.status-badge.done{background:#edf4ef;border-color:#dfebe3;color:#28613d}
.status-badge.working,.status-badge.planned{background:#fff8c4;border-color:#eee5a6;color:#665800}
.status-badge.blocked,.status-badge.cancelled{background:#fff0ec;border-color:#f1d9d3;color:#9d342a}
.team-users .status-badge.admin{background:#252525;color:#fff}
.team-users .status-badge.seller{background:#fff200;color:#171717}
.team-users .status-badge.service{background:#e9e9e9;color:#424242}
.team-users .status-badge.wash{background:#f4f4f4;color:#555}

.primary-button,.auth-submit,.focus-arrow{background:#fff200;border-color:#fff200;color:#151515}
.primary-button:hover,.auth-submit:hover{background:#eee200;border-color:#eee200}
.quiet-button,.plain-button,.prep-row .plain-button{background:var(--surface);border-color:#d0d0d0;color:#303030}
.quiet-button:hover,.plain-button:hover{background:#f2f2f2;border-color:#bcbcbc}
.delete-button{background:#fff0ec;border-color:#efdbd6;color:#9d342a}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#242424}
dialog,#form-dialog,#detail-dialog{background:var(--surface);color:#171717;border-color:#d9d9d9;box-shadow:0 24px 80px #00000020}
dialog::backdrop{background:#00000040}
.dialog-heading,.dialog-footer,.detail-heading{border-color:#e1e1e1}
.form-section,#form-body label,dialog label{color:#363636}
.form-section:before{background:#fff200}
#form-body input:not([type=checkbox]):not([type=hidden]),#form-body textarea,
dialog input:not([type=checkbox]):not([type=hidden]),dialog textarea,
#form-body .control-trigger,.control-trigger,.control-search input{
 background:#f5f5f5;border-color:#d4d4d4;color:#202020;box-shadow:none;
}
#form-body input:focus,#form-body textarea:focus,.control-trigger:focus-visible,
.control-search input:focus{border-color:#525252;box-shadow:0 0 0 3px #1717170b}
input::placeholder,textarea::placeholder{color:#777}
input[type=checkbox]{accent-color:#242424}
.control-popover{background:var(--surface);border-color:#d4d4d4;box-shadow:0 14px 35px #00000015}
.control-options>button,.control-options>button>i,.date-weekdays,.date-days button,
.date-picker-heading strong,.date-picker-heading button,.date-picker-footer button{color:#343434}
.control-options>button:hover,.control-options>button[aria-selected=true]{background:#f0f0f0;color:#171717}
.date-days button.selected{background:#fff200;color:#171717}
.date-days button.today{box-shadow:inset 0 0 0 1px #666}
#toast{background:var(--surface);color:#171717;border-color:#d6d6d6;box-shadow:0 9px 30px #00000014}

/* Analytics uses the same surfaces and a yellow/charcoal chart pair. */
.analytics-page{color:#171717;--analytics-line:#ddd;--analytics-muted:#626262}
.analytics-period-label h2,.analytics-section-heading h2,.analytics-metric>strong,
.analytics-metric h3{color:#171717}
.analytics-panel,.analytics-metric{background:var(--surface);border-color:#d6d6d6}
.analytics-metric-accent{background:#fff200;border-color:#fff200}
.analytics-metric>p,.analytics-comparison,.analytics-eyebrow,
.analytics-filters label,.analytics-custom-dates label{color:#626262}
.analytics-metric-accent>p,.analytics-metric-accent .analytics-comparison,
.analytics-metric-accent .analytics-comparison>span{color:#414100}
.analytics-comparison.increase{color:#287546}
.analytics-comparison.decrease{color:#a34734}
.analytics-filters .control-trigger,.analytics-custom-dates .control-trigger,
.analytics-export{background:var(--surface);border-color:#d3d3d3;color:#303030}

/* Login receives the same palette without changing its structure. */
.auth-header>span,.auth-eyebrow,.auth-intro h2>span,.auth-description,
.auth-flow,.auth-form-caption,.auth-footnote,.auth-footer,.auth-password-hint{color:#626262}
.auth-intro h2,.auth-form-card h1{color:#171717}
.auth-department.sales{background:#fff200;border-color:#fff200;color:#171717}
.auth-department.sales>span,.auth-department.sales svg{color:#494900}
.auth-department.preparation{background:#606264;border-color:#606264;color:#fff}
.auth-department.preparation>span,.auth-department.preparation svg{color:#e5e5e5}
.auth-department.handover{background:#141414;border-color:#141414;color:#fff}
.auth-department.handover>span,.auth-department.handover svg{color:#bdbdbd}
.auth-form-card{background:var(--surface);border-color:#dedede;box-shadow:0 12px 55px #00000005}
.auth-flow,.auth-preview-label,.login-feedback{background:#f5f5f5;border-color:#d9d9d9;color:#626262}
.auth-preview-label i,.auth-flow>i{background:#575757}
#login-form label{color:#4b4b4b}
#login-form input{background:#f6f6f6;border-color:#d8d8d8;color:#171717}
#login-form input::placeholder{color:#777}
#login-form input:focus{border-color:#525252;box-shadow:0 0 0 3px #1717170b}
.auth-divider:before,.auth-divider:after,.auth-footer{border-color:#c9c9c9}
.auth-password-field button,.auth-preview-button{color:#575757}
.form-error,.auth-field-error,.analytics-error{color:#9d342a}
.form-error,.analytics-error{background:#fff0ec;border-color:#f1d9d3}
#login-form input[aria-invalid=true],#form-body input[aria-invalid=true]{border-color:#b34b3c}
.analytics-data-note{background:#fff9dc;border-color:#eadfa9;color:#665923}

@media(max-width:760px){
 html,body{background:#e3e3e3}
 .global-toolbar{background:transparent}
 .mobile-nav,.sidebar{background:#f4f4f4;border-color:#fff;box-shadow:0 9px 28px #00000017,0 1px 4px #00000008}
 .mobile-nav button{color:#6a6a6a}
 .mobile-nav button.active{background:#171717;color:#fff;box-shadow:none}
 .scrim.visible{background:#00000020}
 .record-line,.record-line:nth-child(even){background:var(--surface);border-color:#d8d8d8}
 .record-line:hover{background:#fafafa}
 .record-preparation,.task-form-customer{border-color:#e5e5e5}
 .record-customer>strong,.record-date>strong{color:#242424}
 .record-customer>.cell-label,.record-date>.cell-label{color:#626262}
 .record-preparation .inline-preparation>span{background:#f2f2f2;border-color:#e7e7e7}
 .inline-preparation b{color:#303030}
 .record-preparation .inline-preparation>.done{background:#edf4ef;border-color:#dfebe3}
 .record-preparation .inline-preparation>.blocked{background:#fff0ec;border-color:#f1d9d3}
 .record-preparation .inline-preparation>.done b{color:#28613d}
 .record-preparation .inline-preparation>.blocked b{color:#9d342a}
 #form-dialog,#detail-dialog{background:var(--surface);border-top-color:transparent}
 .auth-form-card{background:var(--surface)}
}
