/* Quiet colors and translucent surfaces; status meaning and compact geometry stay intact. */
:root{--rd-ink:#243345;--rd-muted:#596a7b;--rd-canvas:#f4f6f8;--rd-surface:#fff;--rd-line:#e0e5eb;--rd-action:#48668b;--rd-soft:#edf2f8;--ui-ink:var(--rd-ink);--ui-muted:var(--rd-muted);--ui-line:var(--rd-line);--ui-action:var(--rd-action)}
body{color:var(--rd-ink);background:var(--rd-canvas)}
::selection{background:#dbe5f1;color:#243345}
button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #8199b5;outline-offset:2px}
#app>.sidebar{background:rgba(255,255,255,.9);border-color:#e2e7ed;box-shadow:1px 0 12px #273b4d03}
.sidebar .logo{background:#28394c;border-radius:10px}
.sidebar nav>a{color:#586b80;font-weight:600}
.sidebar nav>a>svg{color:#788a9e;stroke-width:1.6}
.sidebar nav>a.active{background:#eaf0f6;color:#334f71;font-weight:750}
.sidebar nav>a.active>svg{color:#48698e}
.sidebar nav>a:hover:not(.active){background:#f1f4f7}
.sidebar .cabinet-role{background:#eef2f7;color:#526c8b}
.sidebar-client .cabinet-role{background:#edf4f0;color:#4b705e}
.sidebar-accountant .cabinet-role{background:#f2eff7;color:#6c5b82}
.section-card-count{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-width:22px;height:20px;padding:0 5px;border-radius:6px;background:#edf0f4;color:#52677d;font-size:11px;line-height:20px;font-weight:650;font-variant-numeric:tabular-nums}
.sidebar nav>a.active .section-card-count{background:#dce5ef;color:#3d5877}
.pagehead{border-color:var(--rd-line)}
.pagehead h1,.request-dialog .dialog-head h2{color:var(--rd-ink);letter-spacing:-.025em}
.pagehead>div>p,.page-role{color:#607286}
.primary,.request-dialog .primary{background:#48668b;border-color:#48668b;box-shadow:0 1px 2px #2433450d;font-weight:700}
.primary:hover,.request-dialog .primary:hover{background:#3d587a;border-color:#3d587a}
.secondary,.request-dialog .secondary{background:rgba(255,255,255,.88);border-color:#dce3eb;color:#526a86;box-shadow:none}
.secondary:hover,.request-dialog .secondary:hover{background:#f4f7fa;border-color:#c5d0dc;color:#38536f}
.global-chat-launcher,.pagehead .global-chat-launcher{background:#48668b;color:#fff;border-color:#48668b;box-shadow:none}
.pagehead .global-chat-launcher{background:rgba(255,255,255,.9);color:#4d6786;border-color:#dce3eb}
.view-switch{background:#edf1f5;border-color:#dfe5ec}
.view-switch button{color:#65768a}
.view-switch button.selected{color:#3b587b;background:rgba(255,255,255,.96);box-shadow:0 1px 3px #344a6110;font-weight:700}
.request-dialog{background:#fff;border-color:#dfe5ec;box-shadow:0 12px 42px #24364d22}
.request-dialog::backdrop{background:#26384e66}
.request-dialog input,.request-dialog textarea,.request-dialog select{border-color:#dce3eb;background:#fff;color:var(--rd-ink)}
.request-dialog input::placeholder,.request-dialog textarea::placeholder{color:#6d7e91}
.request-dialog .close{color:#738397;background:#f9fafc;border-color:#e1e6ec}
.request-dialog .close:hover{background:#eef2f6;color:#415a75}
.request-tile.workflow-tile,.vehicle-options-grid>.compact-vehicle-card{box-shadow:0 2px 7px #233c5405;border-color:#dce4ec;background:rgba(255,255,255,.97)}
.request-tile.workflow-tile:hover,.vehicle-options-grid>.compact-vehicle-card:hover{box-shadow:0 4px 14px #233c540b}
.request-tile.workflow-tile.stage-new{--card-color:#aebbc9;border-top-color:#aebbc9;background:#fff}
.request-tile.workflow-tile.stage-working{--card-color:#9eafc6;border-top-color:#9eafc6;background:#fbfcfe}
.request-tile.workflow-tile.stage-selection{--card-color:#93b49f;border-top-color:#93b49f;background:#fbfdfc}
.request-tile.workflow-tile.stage-inspection{--card-color:#c9b586;border-top-color:#c9b586;background:#fdfbf6}
.request-tile.workflow-tile.stage-inspected{--card-color:#91b6ad;border-top-color:#91b6ad;background:#fafdfc}
.request-tile.workflow-tile.stage-booking{--card-color:#b0a0c0;border-top-color:#b0a0c0;background:#fdfbfe}
.request-tile.workflow-tile.stage-urgent{--card-color:#caa16e;border-top-color:#caa16e;background:#fdfaf5}
.workflow-tile .tile-comment .crm-next-task.is-compact{background:#edf2f7;color:#48627f}
.workflow-tile .request-car-count{background:#f0f3f6;color:#596c80}
.workflow-tile .request-car-count.has-cars{background:#eaf3ee;color:#3c6c53}
.workflow-tile .request-car-count.has-cars:hover{background:#e1eee6}
.request-stage{background:#eef1f5;color:#5e6e80}
.request-stage.stage-selection,.stage-selection .request-stage{background:#e9f3ed;color:#3a6d52}
.request-stage.stage-inspection,.stage-inspection .request-stage{background:#f7efdd;color:#806431}
.request-stage.stage-inspected,.stage-inspected .request-stage{background:#eaf3ef;color:#3c6c59}
.request-stage.stage-booking,.stage-booking .request-stage{background:#f0eaf5;color:#725c8c}
.crm-next-task{background:#eef3f8;border-color:#dce5ee;color:#486480}
.crm-next-task strong{color:#536c84}
.vehicle-decision-column .crm-next-task{background:#eef3f8;color:#486480}
.vehicle-price,.vehicle-decision-column .variant-price{color:#2b4058!important}
.vehicle-key-facts dt,.vehicle-characteristics .variant-specs dt{color:#607386}
.vehicle-hero-main,.vehicle-hero-main>img,.vehicle-cover.no-cover{background:#edf1f4}
.vehicle-cover.no-cover{color:#677b90}
.vehicle-options-grid .vehicle-add-placeholder{background:#f8fafc;border-color:#cbd7e3;color:#7b8fa4}
.vehicle-options-grid .vehicle-add-placeholder:hover{background:#f0f5fa;border-color:#a5bad0;color:#4a6b91}
.inspection-board .inspection-card-requested,.inspection-board .inspection-card-in_progress,.inspection-board .inspection-card-draft{--inspection-bg:#fbf6e9;--inspection-border:#d8c9a8}
.inspection-board .inspection-card-published{--inspection-bg:#edf6f0;--inspection-border:#b6cdbd}
.inspection-card-requested{--inspection-bg:#fbf6e9;--inspection-border:#d8c9a8}
.inspection-card-in_progress,.inspection-card-draft{--inspection-bg:#f0f6f2;--inspection-border:#b6cdbd}
.inspection-card-published{--inspection-bg:#edf6f2;--inspection-border:#b0c9bd}
.compact-vehicle-card.is-favorite,.vehicle-list-table tr.is-favorite{background:#faf0f5!important;border-color:#d8b9ca!important}
.compact-vehicle-card.is-favorite .vehicle-option-open,.compact-vehicle-card.is-favorite .vehicle-option-meta,.compact-vehicle-card.is-favorite .vehicle-option-actions{background:#faf0f5!important}
.vehicle-favorite.is-active{background:#f7eaf1;border-color:#d8b9ca;color:#94617d}
.vehicle-favorite:hover{border-color:#c69db5;color:#8d5c77}
.vehicle-favorite-status,.vehicle-list-favorite-status,.vehicle-detail-favorite-status{background:#f6eaf1;color:#885770;border-color:#d8bdcc}
.inspection-status.status-published{background:#e9f3ee;color:#3d6c54}
.inspection-blue,.inspection-board .inspection-blue{background:#547291!important;border-color:#547291!important;color:#fff!important}
.inspection-waiting,.inspection-board .inspection-waiting,.inspection-board .inspection-card-status{background:#f7efdd!important;border-color:#d8c9a8!important;color:#806431!important}
.inspection-complete-stamp,.inspection-board .inspection-complete-stamp{background:#edf6f0;border-color:#adc8b7;color:#48765c}
.booking-control .vehicle-book.booking-confirmed,.booking-control .vehicle-book.booking-confirmed:disabled,.booking-control .vehicle-book.booking-ready{background:#4f755f;border-color:#4f755f;color:#fff}
.booking-stamp{background:#f3f8f4eb;border-color:#9dbba9;color:#537762;letter-spacing:.025em}
.purchase-board [data-vehicle]{--deal-bg:#f4f5f7;--deal-border:#cfd7e1;--deal-ink:#647589}
.purchase-board [data-vehicle][data-deal-tone=blue],.deal-workspace-dialog[data-deal-tone=blue]{--deal-bg:#edf2f8;--deal-border:#b3c3d5;--deal-ink:#4a6685}
.purchase-board [data-vehicle][data-deal-tone=green],.deal-workspace-dialog[data-deal-tone=green]{--deal-bg:#edf5ef;--deal-border:#b6cdbd;--deal-ink:#4c715c}
.purchase-board [data-vehicle][data-deal-tone=pink],.deal-workspace-dialog[data-deal-tone=pink]{--deal-bg:#faf0f5;--deal-border:#d7b9c9;--deal-ink:#885973}
.purchase-board [data-vehicle][data-deal-tone=red],.deal-workspace-dialog[data-deal-tone=red]{--deal-bg:#fbf1f2;--deal-border:#d9bbc0;--deal-ink:#965c65}
.deal-workspace-dialog .deal-next{background:#f5f7fa;border-color:#dce4ed}
.deal-workspace-dialog[data-deal-tone=green] .deal-next{background:#f0f6f2;border-color:#cedfd4}
.deal-workspace-dialog[data-deal-tone=pink] .deal-next{background:#fbf3f7;border-color:#e8d2df}
.deal-workspace-dialog[data-deal-tone=red] .deal-next{background:#fbf3f4;border-color:#e6d0d5}
.deal-workspace-dialog .deal-section-card.is-complete{background:#f0f7f2;border-color:#ccdcd1}
.deal-workspace-dialog .deal-section-card.is-complete .deal-section-number{background:#e0ede4;color:#4f735d}
.deal-workspace-dialog .deal-section-card.is-complete h3,.deal-workspace-dialog .deal-section-card.is-complete p,.deal-workspace-dialog .deal-section-card.is-complete .deal-section-arrow{color:#4c7059}
.ux-timeline-navigation .ux-timeline>li{background:#eff2f5;color:#64758a}
.ux-timeline-navigation .ux-timeline>li.is-done{background:#eaf3ed;color:#476f56}
.ux-timeline-navigation .ux-timeline>li.is-current{background:#e6edf5;color:#3d5b7f}
.important-toast-stack.is-page-inline .important-toast{background:#fcf7ec;border-color:#e5d7b9;color:#725b31}
.important-toast-stack.is-page-inline .important-toast strong{color:#725b31}
.important-toast-stack.is-page-inline .important-toast-icon{background:#f2e6c9;color:#80683d}
.important-toast-stack .important-event-count{background:#f0e3c5;color:#725b31}
.pagehead .notification-bell.has-important{background:#faf2df;border-color:#dfcda7;color:#8b7043}
.rd-request-brief{background:#f8f9fb;border-color:#e0e6ed}
.request-dialog .form-actions,.request-detail-footer{border-color:#e1e7ee}
.chat-workspace{border-color:#dfe5ec;box-shadow:0 3px 14px #263b5105}
.chat-thread.is-active{background:#edf2f7}
.chat-audience-tabs [data-chat-audience=internal].selected{background:#f8f1e6;border-color:#ddc8a9;color:#79592b}
.workspace>.chat-workspace .chat-conversation{background:#eef2f4;background-image:none}
.workspace>.chat-workspace .chat-conversation.is-internal{background:#f3f0e9;background-image:none}
.workspace>.chat-workspace .chat-message.is-own{background:#e2ecf1}
.workspace>.chat-workspace .chat-message>strong{color:#53718c}
.workspace>.chat-workspace .chat-message p{color:#2d4052}
.workspace>.chat-workspace .chat-message footer,.workspace>.chat-workspace .chat-message.is-own footer{color:#647c90}
.workspace>.chat-workspace .chat-message.is-own>strong{color:#4e6d87}
.workspace>.chat-workspace .chat-system{background:#dce4e9c9;color:#536b7c}
.workspace>.chat-workspace .chat-system time{color:#627b8e}
.workspace>.chat-workspace .chat-reply-quote{background:#eef3f6;border-left-width:1px;border-color:#a7bacb;color:#536d83}
.workspace>.chat-workspace .ux-chat-quick button{background:#eef3f7;color:#4c6c88}
.important-toast-stack.is-form-summary{display:flex;align-items:center;justify-content:flex-end;background:none;margin:0 0 8px;min-height:24px}
.important-toast-stack.is-form-summary .important-notice{display:none}
.important-toast-stack.is-form-summary .important-compact-all{position:static;inset:auto;width:auto;min-height:28px;margin:0;padding:4px 8px;border:1px solid #e5d7ba;border-radius:6px;background:#fbf6eb;color:#765f35;font-size:11px;white-space:nowrap}
.important-toast-stack.is-form-summary .important-compact-all:after{display:none}
@media(prefers-reduced-motion:no-preference){.primary,.secondary,.sidebar nav>a,.view-switch button{transition:background-color .14s ease-out,border-color .14s ease-out,color .14s ease-out,box-shadow .14s ease-out}}

.variant-specs a,.request-link,.option-links a,.dealer-original a,.inspection-source-section a,.deal-section-arrow,.crm-task-jump{color:#4d6c91}
.vehicle-review summary{color:#4d6c91}
