/* Appearance controls: three explicit modes, stored in this browser only. */
.crm-theme-control{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;margin:0;font-size:12px;font-weight:600;white-space:nowrap}
.crm-theme-control select{width:auto;max-width:150px;min-height:40px;padding:8px 28px 8px 10px;border:1px solid #c5d4df;border-radius:8px;background:#fff;color:#172531;font:inherit;cursor:pointer}
.crm-theme-control select:focus-visible{outline:3px solid #f5c14c;outline-offset:3px}
.top .crm-theme-control,body>header .crm-theme-control,.toolbar .crm-theme-control,.tools .crm-theme-control{color:#d9e5ee}
.top .crm-theme-control select,body>header .crm-theme-control select,.toolbar .crm-theme-control select,.tools .crm-theme-control select{background:#294552;color:#fff;border-color:#66808f;color-scheme:dark}
.authmain .crm-theme-control{display:flex;justify-content:flex-end;margin-bottom:24px}
.top:has(.crm-theme-control){flex-wrap:wrap}
@media screen and (max-width:720px){
  .crm-responsive .crm-theme-control{gap:5px;font-size:12px}
  .crm-responsive .crm-theme-control select{font-size:13px;min-height:40px;max-width:145px;padding:8px 20px 8px 8px}
  .crm-main-layout .top>.crm-theme-control{order:2;margin-left:auto}
  .crm-main-layout .top>.crm-menu-toggle{order:3}
}
@media print{.crm-theme-control{display:none!important}}
@media screen{
  :root[data-crm-theme="light"]{color-scheme:light}
  :root[data-crm-theme="dark"]{color-scheme:dark;--navy:#142838;--blue:#8cb9ff;--ink:#e7edf5;--muted:#a9b9ca;--line:#3b4b5e;--bg:#101720;background:#101720;color:#e7edf5}
  :root[data-crm-theme="dark"] body{background:#101720;color:#e7edf5}
  :root[data-crm-theme="dark"] :where(a){color:#8cb9ff}
  :root[data-crm-theme="dark"] :where(dialog){background:#1b2532;color:#e7edf5;border-color:#46576b}
  :root[data-crm-theme="dark"] :where(input,select,textarea){background:#151e2a;color:#e7edf5;border-color:#516277}
  :root[data-crm-theme="dark"] :where(input,textarea)::placeholder{color:#9aaabd}
  :root[data-crm-theme="dark"] :where(input,textarea):autofill{color-scheme:dark}
  :root[data-crm-theme="dark"] ::selection{background:#375b8b;color:#fff}
}

@media screen{
/* app.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) body{background:var(--bg);color:var(--ink);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) button{border:0;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .primary{color:#fff;background:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .secondary{background:#1f3242;color:var(--ink);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .textbutton{background:transparent;color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .intro{background:var(--navy);color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .brand small{color:#a0c9e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .intro p{color:#a0cae3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .intro .caption{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .eyebrow{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .sub{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .tabs{border-bottom:1px solid var(--line);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .tabs button{background:none;border-radius:0;color:var(--muted);border-bottom:3px solid transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .tabs .active{border-color:var(--blue);color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) select{background:#1b2532;color:var(--ink);border:1px solid #405266;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) input::placeholder{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .hint{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .error{background:#491b18;border:1px solid #a24339;color:#e3a4a0;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .note{border:1px solid #405266;background:#1f3242;color:#afbfce;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .authfooter{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .loading{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .top{background:var(--navy);color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .identity small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .logout{color:#b9cbd7;background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pill{border-radius:20px;background:#182e49;color:#a0bee3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pill.pending{background:#58441d;color:#eecd96;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pill.active{background:#25503c;color:#a0e3c7;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pill.blocked{background:#491e18;color:#e3a5a0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pendingbox{background:#1b2532;border:1px solid var(--line);border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .icon{background:#493718;color:#ebcb99;border-radius:50%;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metric{background:#1b2532;border:1px solid var(--line);border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metric span{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .panel{background:#1b2532;border:1px solid var(--line);border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .empty{color:var(--muted);border:1px dashed #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .empty strong{color:var(--ink);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .toolbar button{background:transparent;color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .toolbar button.active{background:var(--navy);color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .person{border:1px solid var(--line);border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .person small{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .danger{background:#492018;color:#e3a8a0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .connections article{border:1px solid var(--line);border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .connections p{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .statusbar{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .toast{background:var(--navy);color:white;border-radius:8px;box-shadow:0 4px 20px #10243433;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .ordercard{background:#1b2532;border:1px solid var(--line);border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .description{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderfacts{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route{border-top:1px solid var(--line);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route span{border-radius:5px;background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route .done{background:#235239;color:#a0e3c5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .jobrows .person{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .jobrows .person p{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .historyrow{border-bottom:1px solid var(--line);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .historyrow small{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) dialog{border:0;border-radius:14px;color:var(--ink);box-shadow:0 20px 80px #10243455;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) dialog::backdrop{background:#10243480;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderchecks{background:var(--bg);border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .paymentrow{border-bottom:1px solid var(--line);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .paymentrow span{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) a{color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .buttonlink{border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rolechoices{border:1px solid var(--line,#405266);border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rolechoices label{border-radius:8px;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rolechoices small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .cabinet-summary{border-radius:12px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rolecatalog .rolechoices>div{background:#243040;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .ordernumber small{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rowpayment{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .compactorder .route{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route button{border:1px solid transparent;border-radius:6px;background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route button.current{border-color:#3962a2;background:#182a49;color:#92b8f2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route button.done{background:#235239;color:#a0e3c5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route button:hover{border-color:#6597cb;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .rowwarning{color:#e6c99e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderdetails summary{color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .laser-candidates{border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .laser-file{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .laser-file small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton{color:var(--ink);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton:hover{border-color:#3960a2;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton.selected{border-color:var(--blue);background:#182b49;box-shadow:inset 0 0 0 1px var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton small{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton.selected span{color:#9cb9e8;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagefilterhead>span{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagechip{border:1px solid var(--line);background:#1b2532;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagechip:hover{border-color:#3960a2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagechip.selected{background:var(--navy);border-color:var(--navy);color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagecount{border-radius:12px;background:#23303e;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagechip.selected .stagecount{background:#1b253224;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .filterresult{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .stagefilters>.textbutton[aria-pressed=true]{color:var(--ink);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .bendfilters{background:#182b49;border:1px solid #3961a2;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .archiveorder:hover{background:#253e50;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .contactentry+.contactentry{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .contactentry a{color:#91b3f3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .contactentry small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .contactentry summary{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .ordercontacts{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .quickcontactlabel,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .quickcontactname{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .quickcontact a{color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .emptycontacts{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .morecontacts summary{color:var(--blue);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .pbxincoming{background:#1b2532;border:2px solid #165bd9;box-shadow:0 6px 25px #18313d25;border-radius:16px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .metricbutton{border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .compactorder{border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .invoicedate{color:var(--muted);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderdetails[open]{border-top:1px solid var(--line);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .urgentorder{border-left:4px solid #d27013;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .urgentbadge{background:#583b1d;color:#f5bf8e;border-radius:4px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderdeadline{color:#a0cce3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .nocutlabel{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .bendfilters{border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .ready-notifications{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teammessages{background:#243040;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teambubble{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teambubble.own{background:#182b49;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teambubble small,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teamtask small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .teamorderpicker{border:1px solid #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #teamSendError{color:#eb9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #teamTaskForm textarea{border:1px solid var(--line,#405266);border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderroute .compactaction,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .orderroute .cashorder,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .compactaction{border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .route button.needsdocuments{background:#491c18;border:1px solid #db5048;color:#ec9a97;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .doc-issued{color:#a0c6e3;background:#182f49;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .readycall{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .readycall small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .missed-alert{background:#b72b28;color:white;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #missedCalls,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #operatorReadyAlert{border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #missedCalls b,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) #operatorReadyAlert b{border-radius:8px;background:#1b2532;color:#ed9896;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .passwordfield button{background:transparent;color:#a0c8e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .engineerfilter{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-item{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-item small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-item.assembled{background:#1d442f;border-color:#48946b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-quantity{background:#182d49;color:#90b8f4;border:1px solid #3967a2;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-quantity small{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-item.assembled .assembly-quantity{background:#235237;color:#9de6c0;border-color:#89bea1;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-preview{background:#1b2532;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-preview-wrap .part-features{color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-preview-wrap .part-features>strong{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="app"]) .assembly-check:focus-within{border-radius:6px;}
/* planning-board.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]){color:#a0d1e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) select{border:1px solid #405266;border-radius:7px;background:#1b2532;color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) button:hover{background:#28454d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .toolbar{background:#15353f;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .toolbar a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) nav .active{background:#193d47;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .help,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) #status{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section{border:1px solid #405266;background:#1b2532;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section h2{background:#29444c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section th{color:#afbfce;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section th{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section td small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section tr.done{background:#1f4229;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section tr.urgent{border-left:4px solid #e58224;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section tr.late td.due{color:#e99a9a;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .review{color:#f5bd8e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .empty{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) dialog{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) dialog::backdrop{background:#102e3e66;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) #editError,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) #closeError{color:#eb9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .toolbar button{color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .section td b{color:#f5c48e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) #completeError{color:#eb9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .priority-cell input{border-radius:4px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .priority-set,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .priority-set input{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .operation-print{color:#9fd3e4;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-cold{--material-accent:#3979ac;--material-heading:#183249;--material-tint:#183049;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-st3{--material-accent:#ad7827;--material-heading:#58461d;--material-tint:#493b18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-09g2s{--material-accent:#8160ae;--material-heading:#2d1948;--material-tint:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-stainless{--material-accent:#24847a;--material-heading:#235348;--material-tint:#194738;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-aluminum{--material-accent:#b16542;--material-heading:#58331d;--material-tint:#492b18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-zinc,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-corten,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-copper,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-other,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-notes{--material-accent:#6f8088;--material-heading:#23343e;--material-tint:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-row-color>td{background:var(--material-tint);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .material-row-color>td:nth-child(2){background:var(--material-heading);box-shadow:inset 3px 0 var(--material-accent);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .priority-cell.priority-set select{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .operations td.drawings-issued strong{color:#92bbf2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-board"]) .operations td.drawings-missing strong{color:#eb9999;}
/* metal.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]){color:#e7edf5;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) header{background:#152f39;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) header a{color:#d2e9ee;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .eyebrow{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .button{border:1px solid #405266;border-radius:8px;color:inherit;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) button:hover{border-color:#25818c;background:#1f4242;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) button.active,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .primary{background:#173c46;color:white;border-color:#173c46;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) nav button{border:0;background:transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) #status{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .error{color:#ed9d97!important;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .stat{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .stat span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) select,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) textarea{border:1px solid #405266;border-radius:7px;background:#1b2532;color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .tablewrap{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) th{background:#23373e;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) tr:last-child td{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .negative{color:#e99d9b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .muted,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .pill{border-radius:5px;background:#58461d;color:#f5cf8e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .notice{border-left:3px solid #d29a32;background:#493a18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .empty{background:#1b2532;border-radius:10px;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) footer{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) footer a{color:#a0d3e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) dialog{border:0;border-radius:14px;box-shadow:0 20px 90px #10273355;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) dialog::backdrop{background:#152f3966;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price button{border:0;background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.formula{background:#1d432a;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .cut{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.price-secondary{color:#afbfce;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.price-secondary.formula{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.price-secondary button{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .buy-selection{background:#214040;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .buy-selection span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .ordered-new{background:#1c452c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-help{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.price-heading{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.price-secondary{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .buy-help{color:#afbfce;}
@media (max-width:700px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-cards{border:0;background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-cards tr{border:1px solid #405266;border-radius:9px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-cards td{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-cards td[data-label]::before{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .row-actions>summary{color:#a0d9e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-cards .ordered-new{border-left:4px solid #429264;}}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .metal-search .search-count{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-note{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-card{border:1px solid #405266;background:#1b2532;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-card.is-selected{border:2px solid #26775f;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-bar{background:#1b2532;border-top:1px solid #405266;box-shadow:0 -4px 18px #152f3910;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-bar button{background:#196653;border-color:#196653;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-review li{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-history-card{border:1px solid #405266;border-radius:12px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-history-head{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-history-head b{color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-history-card.is-cancelled{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .consume-restored{color:#a0e3c6;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.quote-above{color:#ec989d;background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price td.quote-empty{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-cold{--material-accent:#3979ac;--material-heading:#183249;--material-tint:#183049;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-st3{--material-accent:#ad7827;--material-heading:#58461d;--material-tint:#493b18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-09g2s{--material-accent:#8160ae;--material-heading:#2d1948;--material-tint:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-stainless{--material-accent:#24847a;--material-heading:#235348;--material-tint:#194738;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-aluminum{--material-accent:#b16542;--material-heading:#58331d;--material-tint:#492b18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-zinc,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-corten,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-copper,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-other,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .material-notes{--material-accent:#6f8088;--material-heading:#23343e;--material-tint:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-group th{border-top:10px solid #405266;border-bottom:1px solid #405266;background:var(--material-heading);box-shadow:inset 4px 0 var(--material-accent);color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>td{background:var(--material-tint);border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>th{color:#afbfce;box-shadow:inset 4px 0 var(--material-accent);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>td.formula{background:#1d432a;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>td.price-secondary{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) .price-materials .price-material>td.quote-above{background:#491818;color:#ec989d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) nav .offcut-nav-link{border:0;background:transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal"]) nav .offcut-nav-link:hover{background:#1f4242;}
/* cutting-preview.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]){color:#e7edf5;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .eyebrow{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) a{color:#92b6f1;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .controls{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .controls span,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .viewerbar span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .open-file{border:1px solid #405266;border-radius:7px;background:#1b2532;color:#a0c9e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .open-file{background:#155bd8;color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) #cutStatus{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) #cutStatus.error{background:#492018;color:#ee9e95;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .reporthead{background:#1b2532;border-radius:12px 12px 0 0;border:1px solid #405266;border-bottom:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) #cutFacts{color:#a0c9e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .notice{color:#e8ca9c;background:#493918;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .viewerbar{background:#1f3342;border:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) select{border:1px solid #405266;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) .canvas{background:#1b2532;border:1px solid #405266;border-top:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-preview"]) footer{color:#afbfce;}
/* onec-workspace.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="onec-workspace"]) body{background:#243040;color:#a0d5e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="onec-workspace"]) header{background:#16323b;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="onec-workspace"]) a{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="onec-workspace"]) button{border:1px solid #405266;border-radius:7px;background:#1b2532;color:#a0d5e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="onec-workspace"]) iframe{border:0;background:#1b2532;}
/* ozon-archive.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]){color:#a0d0e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) header{background:#173943;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) header a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .lead,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .hint,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) section{background:#1b2532;border:1px solid #405266;border-radius:16px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .schedule{background:#1f3842;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .eyebrow{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) button{background:#173e48;color:white;border:1px solid transparent;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) button.secondary{background:#1b2532;border-color:#405266;color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) button.stop{background:#b93933;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .filecard{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .tag{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .warehouse{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) select{border:1px solid #405266;border-radius:8px;background:#1b2532;color:#a0d0e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .previewgroup{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) th{color:#afbfce;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .run{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .failure,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #error{color:#e99b9b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .success{color:#98ebd6;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .empty{background:#243040;border-radius:10px;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #error,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #notice{border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #error{background:#491b18;border:1px solid #a23f39;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #notice{background:#1f4230;border:1px solid #4c9070;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #scheduleForm{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) #scheduleForm fieldset{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .scheduleDays label{background:#1b2532;border:1px solid #405266;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .metric{background:#233b3e;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="ozon-archive"]) .muted{color:#afbfce;}
/* marketplace-chat.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]){color:#a0d2e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) header{background:#153842;color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) header a{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) select,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) textarea{border-radius:9px;border:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) button{background:#176c5c;color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) header button{background:#1b2532;color:#a0d4e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #error{color:#eb9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #error:not(:empty){background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #urgent{border-radius:9px;background:#2a4b3f;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #urgent.waiting{background:#b92929;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) details{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .account{border:1px solid #405266;border-radius:9px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .account .failure{color:#eb9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .layout{border:1px solid #405266;border-radius:13px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) aside{border-right:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .filters{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .filters label{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .filters select{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) nav button{border:0;border-bottom:1px solid #405266;border-radius:0;background:#1b2532;color:#a0d2e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) nav button.selected{background:#1f4134;box-shadow:inset 4px 0 #176c5c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) nav small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) nav .needs-answer{color:#eb9898;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) nav .empty{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #heading{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #messages{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message{background:#1b2532;border:1px solid #405266;border-radius:13px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message.seller{background:#1d4433;border-color:#405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message.system{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message a{color:#9aeadb;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message.failed,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message.unknown{border-color:#ce5555;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) .message .state{color:#e79c9c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #compose{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) #sending{color:#afbfce;}
@media (max-width:700px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-chat"]) aside{border-right:0;border-bottom:1px solid #405266;}}
/* cutting-control.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]){color:#e7edf5;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) header{background:#172f3b;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) header a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .intro{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) input{border:1px solid #405266;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) button{background:#1b2532;color:#a0d0e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) button:hover{background:#1a3447;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) button.active{background:#173541;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .notice{background:#1c3344;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .note{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) input{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) article{background:#1b2532;border:1px solid #405266;border-left:4px solid #df984d;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) article.linked{border-left-color:#548c78;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) article.reviewed{border-left-color:#8d9ba3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .meta{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .reason{color:#edb697;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) .muted{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) a{color:#93bcf1;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) dialog{border:1px solid #405266;border-radius:14px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) dialog::backdrop{background:#132d3c88;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) #canvas svg{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-control"]) #status.error{color:#e4a0a0;}
/* customer-chat.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) body{color:#a0d4e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) button{border:1px solid #405266;border-radius:8px;background:#183c47;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) a{color:#97d5ed;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) header{background:#15343e;color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) header a{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) header small{color:#d6e6ea;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) header button{background:transparent;border-color:#40526655;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) textarea{border:1px solid #405266;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) select{border:1px solid #405266;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #chatError{color:#e89e9b;background:#491b18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor footer{border-top:1px solid #405266;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor footer small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .secondary{color:#a0d2e3;background:#203941;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .privacy{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .bubble{border-radius:11px;background:#22383f;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .bubble small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .bubble.visitor{background:#264b50;color:#a0d4e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .bubble.system{background:#493918;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .bubble.operator{background:#284120;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #conversationList button{background:#1b2532;color:#a0d4e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #conversationList button.urgent{border-left:5px solid #c63532;background:#491e18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #conversationList small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .conversation{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #conversationHead{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .conversation #compose{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #urgent{color:#ea9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #ownerSettings,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #vkSettings{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .chat-tools{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #contactNotice{background:#204139;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) #vkGroups p{background:#233b3e;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) body.visitor{color:#e7edf5;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) body.visitor>header{background:#36b870;box-shadow:0 2px 8px #143f2420;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor header small{color:#e7fff1;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor header #closeWidget{border:0;background:transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .header-phone{border-radius:50%;background:#1b253220;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .chat-tools{border:0;box-shadow:0 1px #405266;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .chat-tools a,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .chat-tools button{color:#a0e3bf;background:none;border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor main{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .welcome-mark{border-radius:14px;background:#184928;color:#9de7bf;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .welcome p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor a{color:#9aeac4;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .privacy{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble{border-radius:15px;box-shadow:0 1px 3px #20442a0b;background:#1b2532;border:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble.visitor{background:#184929;border-color:#405266;border-bottom-right-radius:4px;color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble.bot,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble.operator{border-bottom-left-radius:4px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble.system{background:#493918;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble b{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .bubble small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor footer{border:0;box-shadow:0 -1px #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor .quick-questions button{background:#1b2532;border:1px solid #409c60;color:#a0e3bd;border-radius:20px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #compose textarea{border:0;background:#243040;border-radius:23px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #compose button{border-radius:50%;background:#32b46b;border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor footer>small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor button.secondary{background:#243040;color:#a0e3bf;border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #editContact,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #newConversation{border-radius:15px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #supportPanel{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #supportPanel p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #supportPanel input{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #supportPanel form>button{background:#32ad66;border:0;border-radius:22px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #emailDialog{border:0;border-radius:20px;box-shadow:0 16px 70px #133f2935;color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #emailDialog::backdrop{background:#102e2659;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #closeEmail{color:#afbfce;border:0;background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #emailAddress{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor #copyEmail{border:0;background:#2caf65;border-radius:22px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="customer-chat"]) .visitor a.header-phone{color:#fff;}
/* marketplace-stocks.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]){color:#a0d0e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) header{background:#173943;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) header a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .lead,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .hint,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) section{background:#1b2532;border:1px solid #405266;border-radius:16px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .schedule{background:#1f3842;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .eyebrow{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) button{background:#173e48;color:white;border:1px solid transparent;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) button.secondary{background:#1b2532;border-color:#405266;color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) button.stop{background:#b93933;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .filecard{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .tag{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .warehouse{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) select{border:1px solid #405266;border-radius:8px;background:#1b2532;color:#a0d0e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .previewgroup{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) th{color:#afbfce;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .run{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .failure,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #error{color:#e99b9b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .success{color:#98ebd6;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .empty{background:#243040;border-radius:10px;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #error,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #notice{border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #error{background:#491b18;border:1px solid #a23f39;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #notice{background:#1f4230;border:1px solid #4c9070;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #scheduleForm{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) #scheduleForm fieldset{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplace-stocks"]) .scheduleDays label{background:#1b2532;border:1px solid #405266;border-radius:9px;}
/* cutting-drawing-check.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]){color:#e7edf5;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) header p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) select,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) input{border:1px solid #405266;border-radius:6px;background:#1b2532;color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) a{color:#91b5f3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .notice{background:#1c3344;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .compare-grid section{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .canvas{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .part-features{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) table{border-collapse:collapse;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .review,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .missing{color:#edab97;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .pending{color:#f5d68e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) .cut-group{color:#a0e3d0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="cutting-drawing-check"]) small{color:#afbfce;}
/* planning-operations-print.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]){color:#a0d1e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .tools{background:#193b45;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .tools a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) button{border:1px solid #405266;border-radius:7px;background:#1b2532;color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .legend,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) #stamp{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) section{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) th{border:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) th{background:#23373e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .priority-set{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .cost-low{background:#183249;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .cost-mid{background:#58491d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .cost-high{background:#583d1d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .cost-top{background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .cost-max{background:#3d1d58;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .urgent{color:#f2b192;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td{background:#183149;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.priority-set{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-missing,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-missing small{color:#ec9797;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.cost-low{background:#183249;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.cost-mid{background:#58491d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.cost-high{background:#583d1d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.cost-top{background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td.cost-max{background:#3d1d58;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) tfoot th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) tfoot td{border-top:2px solid #536c74;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) th{border:1px solid #52646d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) tbody tr+tr td{border-top-width:1.5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued>td{color:#92bbf2;background:transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print"]) .drawings-issued small{color:#92bbf2;}
/* planning-operations-print-layout-20261116.css */
:root:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]){color:#a0d1e3;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .tools{background:#193b45;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .tools a{color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) button{border:1px solid #405266;border-radius:7px;background:#1b2532;color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .legend,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) #stamp{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) section{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) th{border:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) th{background:#23373e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .priority-set{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .cost-low{background:#183249;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .cost-mid{background:#58491d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .cost-high{background:#583d1d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .cost-top{background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .cost-max{background:#3d1d58;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .urgent{color:#f2b192;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td{background:#183149;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.priority-set{background:#32581d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-missing,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-missing small{color:#ec9797;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.cost-low{background:#183249;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.cost-mid{background:#58491d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.cost-high{background:#583d1d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.cost-top{background:#491818;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td.cost-max{background:#3d1d58;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) tfoot th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) tfoot td{border-top:2px solid #536c74;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) th{border:1px solid #52646d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) tbody tr+tr td{border-top-width:1.5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued>td{color:#92bbf2;background:transparent;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .drawings-issued small{color:#92bbf2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .print-settings{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .print-settings p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .print-settings fieldset{border:1px solid #405266;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .print-settings-grid input{border:1px solid #405266;border-radius:5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="planning-operations-print-layout-20261116"]) .print-settings-grid input:invalid{border-color:#bb2222;}
/* operation-drawings.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-test{background:#58461d;color:#f5cf8e;border:1px solid #a28039;border-radius:5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-files article{border:1px solid #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-files small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-preview{background:#1b2532;color:#a0c8e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-preview-error{border:2px dashed #b66332;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) body:has(.operation-print-tools){color:#a0c8e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-print-tools{background:#1b3646;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="operation-drawings"]) .operation-print-item{border-top:1px solid #405266;}
/* metal-offcuts.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .back{color:#a0d3e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .offcut-filters{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .offcut-card{border:1px solid #405266;border-radius:12px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .offcut-size{color:#a0d5e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .offcut-card.zero{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .required{color:#e89e9c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .journal-card{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .journal-card.cancelled{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .offcut-number{color:#a0d5e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="metal-offcuts"]) .number-tip{border-radius:8px;background:#203841;color:#a0d5e3;}
/* voice-robot.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) section{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) input[type=tel],:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) input[readonly]{border:1px solid #405266;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #error{color:#e99a9a;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #jobs article{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #jobs small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #mode{color:#a0e3d2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #addressValue{border:1px solid #405266;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .message-preview{border-left:3px solid #28717b;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .history-search input,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .history-search select{border:1px solid #405266;border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .voice-state{border-radius:6px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .voice-state.success{background:#1f422e;color:#a0e3d2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .voice-state.waiting{background:#493718;color:#e8c79b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) .voice-state.neutral{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #historyCount{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="voice-robot"]) #connectionAlert:not([hidden]){border-left:4px solid #bc2828;background:#491818;color:#e79d9d;border-radius:7px;}
/* file-control.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="file-control"]) dialog{border:0;border-radius:16px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="file-control"]) dialog::backdrop{background:#112a3b80;}
/* bending-payments.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .filters{background:#1b2532;border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .filters input{border:1px solid #405266;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .presets button[aria-pressed=true]{background:#193b45;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .totals span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) #undatedBox{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) #undatedBox p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .incomplete{color:#ecb598;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .bend-count-dialog{border:1px solid #405266;border-radius:12px;color:#a0d1e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .bend-count-dialog::backdrop{background:#19333d80;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .bend-count-dialog input{border:1px solid #405266;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="bending-payments"]) .bend-count-dialog [role=alert]{color:#eb9f98;}
/* team.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .unreadbadge{border-radius:20px;background:#df4b49;color:#fff;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .messenger{background:#1b2532;border:1px solid #405266;border-radius:16px;box-shadow:0 8px 32px #20384908;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-sidebar{border-right:1px solid #405266;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-sidebar-head input{background:#1f3042;border:0;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatperson{background:transparent;color:#a0c8e3;border:0;border-radius:11px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatperson:hover{background:#182c49;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatperson.selected{background:#182a49;color:#94b8ef;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatavatar{border-radius:13px;background:#1e3957;color:#a0c3e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .selected .chatavatar{background:#1d3558;color:#98b9ec;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatpersontext small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-header{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-header small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .messenger .teammessages{background:linear-gradient(160deg,#1b2532,#203641);border:0;border-radius:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .messenger .teambubble{background:#1b2532;border:1px solid #405266;border-radius:15px 15px 15px 4px;box-shadow:0 2px 4px #20384904;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .messenger .teambubble.own{background:#182d49;border-color:#3965a2;border-radius:15px 15px 4px 15px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .teambubble small{color:#a0c2e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .teambubble time{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatempty{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatempty span{color:#a0c5e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatempty h3{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-composer{background:#1b2532;border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chat-composer textarea{border:0;background:#1b2532;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .composer-tools small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .composer-tools .primary{border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .emoji-toggle{border:0;background:transparent;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .emoji-picker{background:#1b2532;box-shadow:0 8px 35px #172e4b30;border:1px solid #405266;border-radius:13px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .emoji-picker button{border:0;background:transparent;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .emoji-picker button:hover{background:#182c49;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .task-notice{border:1px solid #3965a2;background:#182b49;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .notice-dot{border-radius:50%;background:#2762cc;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .task-notice small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .sr-only{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="team"]) .chatattachment{border:1px solid #405266;border-radius:8px;background:#1b2532;}
/* finance.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financeintro small{color:var(--muted,#afbfce);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financecard{background:#1b2532;border:1px solid #405266;border-radius:12px;color:#a0cae3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financecard:hover,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financecard:focus-visible{border-color:#245dd6;background:#182849;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financecard small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financeselected{border-radius:12px;background:#182d49;color:#9dbbe7;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financepeople>div{background:#1b2532;border:1px solid #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financepeople small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetablewrap{background:#1b2532;border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable th{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable tbody tr:last-child td{border-bottom:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="finance"]) .financetable td small{color:#afbfce;}
/* mangals.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .workspace-switch button{border:1px solid #405266;background:#1b2532;border-radius:9px;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .workspace-switch button.selected{background:#16343b;color:#fff;border-color:#16343b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .workspace-switch span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangalbadge{background:#274e43;color:#a0e3d2;border-radius:5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangalmeta{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-detail{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-stock table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-stock th{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-stock td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-stock td small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-catalog article{border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-catalog article b{color:#a0e3ca;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-catalog article small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-modal fieldset{border:1px solid #405266;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-modal legend{color:#e7edf5;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-route small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-total{color:#a0e3c4;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mgmanual{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .planningfilters{background:#243040;border:1px solid #405266;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-planbrief{color:#a0e3cf;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-planbrief>span{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-planbrief>small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mc-part{border:1px solid #405266;border-radius:10px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mc-source{background:#243040;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mc-order{border-left:3px solid #4f708c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .payment-required{color:#f19a93;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-nav button{border:1px solid #405266;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-error{color:#f19a93;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders summary{color:#a0c8e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders summary:focus-visible{border-radius:4px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders table{border-collapse:collapse;background:#1b2532;color:#a0cbe3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders th{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-empty{color:#afbfce;}
@media (max-width:600px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders table,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders tbody{background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders tr{background:#1b2532;border:1px solid #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders td{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders td::before{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-week-orders .mangal-week-amount{border-top:1px solid #405266;}}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mangal-stock-notice{border:1px solid #73ad96;border-radius:8px;background:#1b4630;color:#9ce8cb;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-stock-hint{color:#9ce8cb;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-allocation-table table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-allocation-table th,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-allocation-table td{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-allocation-table th{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .mg-allocation-table small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="mangals"]) .crm-order-stock{background:#1b4630;color:#9ce8cb;border-radius:5px;}
/* marketplaces.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplaces"]) .mpaccounts>div,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplaces"]) .mporder{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplaces"]) .mpaccounts span,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplaces"]) .mporder small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="marketplaces"]) .mporder .badge{background:#182f49;border-radius:12px;}
/* rewards.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .staff-points{color:#ecd498!important;background:#584a1d;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .staff-avatar{border:2px solid transparent;border-radius:50%;background:#22303f;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .staff-avatar img{border-radius:50%;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-header{background:#584b1d;color:#e9d49a;border-radius:20px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_silver{border-color:#405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_green{border-color:#41b586;background:#1b462c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_blue{border-color:#3d8de3;background:#182d49;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_gold{border-color:#d6a436;box-shadow:0 0 0 2px #a28f39;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_dots{border:3px dotted #d96baa;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_stars{border-color:#723ba0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_stars:after{color:#c9a0e3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_flower{border-color:#a23963;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_lightning{border-color:#4bbfd0;box-shadow:0 0 8px #65d8df;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_lightning:after{color:#f5d88e;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_neon{border-color:#4ed3d0;box-shadow:0 0 5px #40c5d4,0 0 12px #6439a2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_fire{border-color:#f99538;box-shadow:0 -3px 8px #ffc536,0 3px 10px #e76333;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_galaxy{border-color:#4c39a2;background:conic-gradient(#513ca5,#1d5857,#421d58,#513ca5);box-shadow:0 0 10px #4e39a2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_crown{border:3px double #dba846;box-shadow:0 0 6px #a28939,0 0 14px #a28239;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .frame_crown:after{color:#eed395;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-hero{border:1px solid #405266;border-radius:18px;background:linear-gradient(120deg,#1c4545,#493c18);}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-hero p{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-wallet span{color:#f1d393;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-wallet small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-profile fieldset{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .avatar-choices label>span{border:2px solid transparent;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .avatar-choices input:checked+span{border-color:#1760de;background:#182949;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-good strong{color:#e9d29b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-ledger article{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-ledger small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-plus{color:#9fe5cb;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-minus{color:#e3bda0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-submission{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .chatavatar:has(.staff-avatar){background:none;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) .reward-profile .hint a{color:#a0bce3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="rewards"]) #rewardError{color:#e3a0a0;}
/* payroll.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-subtabs .active{background:#162c3b;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-week small,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table small,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-sync small,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-payment small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-totals>div{border-radius:12px;background:#193347;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-totals small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-sync{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table{border-collapse:collapse;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table th{color:#afbfce;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table td,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table th{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-settled{background:#18492c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-partial{background:#493f18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-warning{color:#ebb898!important;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-done{color:#a0e3c6;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-detail details{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-formula{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-payment{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .attendance-table th:first-child,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .attendance-table td:first-child{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .attendance-cell:disabled{background:#243040;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-positive{background:#183449;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table tr td[colspan]{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-chief-bonus{color:#a0e3c6;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-chief-fine{color:#e8ac9c;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table .pay-done{background:#215530;color:#9ce7c1;border:1px solid #81ba92;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-reorder button{background:transparent;color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-settled .pay-done:hover{background:#22542f;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-history-voided{color:#afbfce;background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table tr.pay-self-employed td:first-child{border-left:4px solid #51aee2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table .pay-self-badge{color:#9bcce9;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table tr.pay-invoice-payment td:first-child{border-left:4px solid #46a66b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-invoice-payment .pay-self-badge,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll"]) .pay-table .pay-invoice-badge{color:#a0e3bb;}
/* connection-health.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="connection-health"]) .connection-alert{border:1px solid #a23939;border-left:4px solid #c62828;border-radius:8px;background:#491818;color:#ea9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="connection-health"]) .connection-alert>button{border:1px solid #9e3d3d;background:#1b2532;color:#ea9999;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="connection-health"]) .connection-warning-body small{color:#e3a0a0;}
/* mobile.css */

/* crm-help.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help{background:#1b2532;color:#a0cee3;border:1px solid #405266;border-radius:18px;box-shadow:0 12px 50px #102a3a38;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-head{background:#173841;color:white;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-head small{color:#d7e9ed;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-head button{background:transparent;color:white;border:1px solid #58737a;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-intro{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-examples button{background:#1e3c43;border:1px solid #405266;color:#a0d5e3;border-radius:7px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-message{background:#243040;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-message b{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-mine{background:#193d48;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-message small{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-sources button,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-sources a{border:1px solid #405266;background:#1b2532;border-radius:6px;color:#9bd0e8;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-form{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-form textarea{border:1px solid #405266;border-radius:9px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help-note{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) #crmHelp{color:#9ad5e9;background:#1a3f47;border:1px solid #458297;}
@media (max-width:600px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-help"]) .crm-help{border-radius:12px;}}
/* communication-layout.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="communication-layout"]) .production-group-title{background:#213a40;border-radius:10px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="communication-layout"]) .department-group th{background:#28494d!important;}
/* login-code.css */

/* fire-extinguishers.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) .fire-safety-dialog .modalhead h2{color:#e99c9b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) .fire-safety-step{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) .fire-safety-step.is-current{border-left:5px solid #b72b28;background:#491d18;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) .fire-safety-step.is-done{background:#204134;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) .fire-safety-dialog .required{color:#e99c9b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="fire-extinguishers"]) #fireSafetyOpen{border-radius:12px;}
/* payroll-mobile.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .brand{color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) a.brand:focus-visible{border-radius:3px;}
@media (max-width:720px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-menu a{color:#a0cde3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .payroll .pay-totals>div{border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-table tbody tr{border:1px solid #405266;border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-table tr.pay-self-employed{border-left:4px solid #51aee2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-table tr.pay-invoice-payment{border-left:4px solid #46a66b;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-table.pay-mobile-table tr.pay-self-employed td:first-child,:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-table.pay-mobile-table tr.pay-invoice-payment td:first-child{border-left:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-table.pay-mobile-table tr td{border:0;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-table td[data-mobile-label]:not(.pay-mobile-name)::before{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .pay-mobile-remaining b{color:#a0c8e3;}}
@media screen and (max-width:720px){.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .payroll .pay-mobile-payouts tbody tr:has(.pay-mobile-expand){border-radius:9px;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="payroll-mobile"]) .payroll .pay-mobile-payouts td.pay-mobile-requisites>button{border:1px solid #405266;border-radius:7px;background:#183649;color:#9ccde7;}}
/* vacation-schedule.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-calendar{background:#2a414c;border:1px solid #405266;border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-weekday{background:#203541;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-day{background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-day time{color:#afbfce;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-day button{background:#183449;color:#97c8ed;border:0;border-radius:5px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-day button:hover{background:#1d3f58;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-outside{background:#243040;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-employee-summary{border:1px solid #405266;border-radius:10px;background:#193847;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="vacation-schedule"]) .vacation-balances span{color:#afbfce;}
/* crm-responsive.css */
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-fold{border:0;}
@media screen and (max-width:720px){.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .panel{border-radius:12px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .crm-menu-toggle{background:#294552;color:white;border:1px solid #59717d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .top>.identity{border-top:1px solid #49616d;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout #crmSectionMenu{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout #crmSectionMenu>*{background:#1b2532;border:1px solid #405266;border-radius:9px;color:#a0cae3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout #crmSectionMenu>.active{background:#173844;color:white;border-color:#173844;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-fold{border:1px solid #405266;border-radius:9px;background:#1b2532;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-fold>summary{color:#a0cbe3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-fold[open]>summary{border-bottom:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .compactorder{border-radius:12px;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-card-table-wrap{border:0;background:transparent;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-card-table>tbody>tr{background:#1b2532;border:1px solid #405266;border-radius:10px;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-card-table>tbody>tr>td{border:0;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-card-table td[data-crm-label]:not(.crm-cell-title):not(.crm-cell-actions)::before{color:#afbfce;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-card-table>tbody>tr>td.crm-cell-actions{border-bottom:1px solid #405266;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-scroll-region::before{color:#afbfce;background:#243040;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .attendance-table th:first-child,.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .attendance-table td:first-child{box-shadow:3px 0 5px #17384410;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) dialog{border-radius:14px;}
.crm-page-metal:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .price th:first-child{background:#203641;}
.crm-page-metal:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .price td:first-of-type{background:var(--material-tint,#243040);box-shadow:3px 0 5px #17384412;}
.crm-page-planning-board:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .material-row{border-bottom:1px solid #405266;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-chat-layout>aside{border:0;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-chat-back{background:#1e3843;color:#a0cfe3;border:0;border-bottom:1px solid #405266;border-radius:8px 8px 0 0;}}
@media screen and (max-width:720px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-mobile-loading{color:#afbfce;}}
@media screen and (max-width:720px){.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) dialog .modalhead,.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) dialog form>.head{background:#1b2532;border-bottom:1px solid #405266;}}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-scale{border:1px solid #405266;border-radius:8px;background:#1b2532;color:#a0cfe3;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-scale>button[data-crm-scale]{border:0;border-radius:7px;background:transparent;color:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-scale>button:hover:not(:disabled){background:#224354;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-scale-retry:not([hidden]){background:#493318;color:#f5c48e;border:1px solid #ddac67;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .top>.crm-scale{background:#294552;color:white;border-color:#59717d;}
.crm-responsive:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .top>.crm-scale>button:hover:not(:disabled){background:#3a5b6a;}
@media screen and (max-width:720px){:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .compactorder.crm-order-compact{border-radius:8px;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .crm-order-compact .orderdetails>summary{color:#a0cae3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-order-stage{color:#a0cde3;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-order-total{background:inherit;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-order-flags{color:#eebc96;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .crm-order-compact .crm-order-detail-label{color:#92b8f2;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-order-compact .orderdetails[open]>.crm-order-expanded{border-top:1px solid #405266;}
:where(html[data-crm-theme="dark"][data-crm-theme-styles~="crm-responsive"]) .crm-main-layout .crm-order-compact [data-order-detail-body]:not(:empty){border-top:1px solid #405266;}}
}
/* Deliberate exceptions: calls stay red; drawings/print previews stay paper-white. */
@media screen{
  :root[data-crm-theme="dark"] .primary{background:#245cc9;color:#fff}
  :root[data-crm-theme="dark"] .primary:hover{background:#2e6cdd}
  :root[data-crm-theme="dark"] .crm-theme-control select{background:#223344;color:#edf4ff;border-color:#60778d}
  :root[data-crm-theme="dark"] .crm-theme-control{color:#c3d2e2}
  :root[data-crm-theme="dark"] .missed-alert,:root[data-crm-theme="dark"] .fire-alert{background:#b72b28;color:#fff}
  :root[data-crm-theme="dark"] :is(.assembly-preview,.drawing-preview,.canvas){background:#fff;color:#172531;color-scheme:light}
  :root[data-crm-theme="dark"] :is(.assembly-preview,.drawing-preview) small{color:#526574}
  :root[data-crm-theme="dark"][data-crm-theme-styles~="drawing-sheet"],:root[data-crm-theme="dark"][data-crm-theme-styles~="drawing-sheet"] body{background:#fff;color:#172531;color-scheme:light;--ink:#172531;--blue:#175bd7;--muted:#6b7c88;--bg:#fff}
  :root[data-crm-theme="dark"][data-crm-theme-styles~="drawing-sheet"] a{color:#175bd7}
  :root[data-crm-theme="dark"] .top{flex-wrap:wrap}
}
