/* One quiet, readable glass workspace. Native business controls remain intact. */
:root{--ink:#172a43;--navy:#14243c;--muted:#60718a;--blue:#1764ef;--line:rgba(79,112,155,.16);--radius:18px;--shadow:0 6px 24px rgba(47,78,118,.06),inset 0 1px 0 rgba(255,255,255,.9);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}
body{background:radial-gradient(ellipse at 10% 0%,#e2efff 0,transparent 52%),radial-gradient(ellipse at 95% 25%,#e9f4ff 0,transparent 45%),#f2f6fb;overflow-x:clip}
#liquid-scene{opacity:.035!important}
.sg-pane{opacity:.08!important}
.glass,[data-glass]{background:rgba(248,252,255,.78)!important;border-color:rgba(255,255,255,.94)!important;box-shadow:var(--shadow);backdrop-filter:blur(20px) saturate(110%);-webkit-backdrop-filter:blur(20px) saturate(110%)}
.app-frame{max-width:1920px;padding:16px 24px 28px}
.app-header{min-height:64px;border-radius:20px;gap:16px;background:rgba(251,253,255,.88)!important}
.layout{gap:22px;margin-top:22px}
.main,#page-content{min-width:0}
.main{padding:0!important}
.sidebar{background:rgba(247,251,255,.84)!important;border-radius:20px;padding:18px 10px 12px;overflow:hidden!important}
.sidebar .workspace{padding:8px 44px 18px 12px}
.workspace .eyebrow{font-size:9px;letter-spacing:1.25px;line-height:1.5}
.workspace strong{line-height:1.4;font-size:14px;overflow-wrap:anywhere}
.sidebar nav{min-height:0;overflow-x:hidden!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;gap:4px;padding-right:3px}
.sidebar .nav-item{min-height:44px;font-size:13px;padding:10px 12px;border-radius:12px;line-height:1.35;color:#52647d;white-space:normal}
.sidebar .nav-item.active{color:#164eaf;background:rgba(23,100,239,.09)!important;border-color:rgba(23,100,239,.13)!important;box-shadow:inset 3px 0 #1764ef}
.sidebar .nav-item:hover{background:rgba(23,100,239,.055)!important;color:#164eaf}
.sidebar .nav-item .icon{width:19px;height:19px}
.sidebar .nav-count{margin-left:auto;background:rgba(23,100,239,.08);min-width:22px;color:#355980}
.sidebar .sidebar-footer{padding:14px 12px 0;margin-top:auto}
.sidebar .sidebar-collapse{width:40px;height:40px;min-width:40px;top:10px;right:8px;border-radius:12px;color:#526b8b;background:rgba(255,255,255,.65)}
.layout.sidebar-collapsed .sidebar{overflow:hidden!important;padding:12px 7px}
.layout.sidebar-collapsed .sidebar .sidebar-collapse{right:13px;top:10px}
.layout.sidebar-collapsed .sidebar nav{padding-top:46px;padding-right:0;overflow-x:hidden!important}
.layout.sidebar-collapsed .sidebar .nav-count{display:none}
.sidebar-resizer{right:0!important;width:5px!important}
.button,.select-trigger,.setting-trigger{min-height:42px;font-size:13px;line-height:1.3;gap:8px;border-radius:12px;padding:10px 14px;color:var(--ink);font-weight:600}
.icon-btn{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:12px;color:#44607f}
:is(button,a).primary,:is(button,a).primary.glass-painted,.button.primary,.glass-off .primary{background:#1764ef!important;color:#fff!important;border-color:#1764ef!important;box-shadow:0 3px 10px #1764ef20!important}
:is(button,a).primary:hover{background:#1256d5!important}
.primary>.sg-pane{opacity:0!important}
.primary :is(span,svg){color:inherit!important}
button:disabled:not(.is-loading){opacity:.5;cursor:not-allowed}
.primary.is-loading>.loading-label{color:#fff!important}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #1764ef66!important;outline-offset:3px}
.field-shell,.search-shell{background:rgba(255,255,255,.88)!important;border:1px solid #d8e3ef!important;box-shadow:inset 0 1px 2px #244c7504!important;border-radius:12px}
.field-shell:focus-within,.search-shell:focus-within{border-color:#5a91ee!important;box-shadow:0 0 0 3px #1764ef12!important}
.field-shell input,.field-shell textarea,.search-shell input{font-size:14px;line-height:1.5;min-height:42px}
.field-label{font-size:13px;font-weight:600;line-height:1.4;color:#42566f;margin-bottom:7px}
input::placeholder,textarea::placeholder{color:#8090a4;opacity:1}
.panel{padding:20px;border-radius:18px}
.panel>.section-top{min-height:32px;gap:12px;margin-bottom:16px}
.panel>.section-top h2{font-size:16px;font-weight:650;line-height:1.4}
.vstack{gap:16px}
.section-space{margin-top:16px}
.page-heading{gap:16px;margin:0 0 14px;min-height:0!important}
#page-content .page-heading:not(.detail-heading){padding-bottom:0;margin-bottom:18px}
.page-heading h1,.transactions-head h1,.team-head h1{font-size:28px!important;letter-spacing:-.65px;color:#15273f}
.page-heading p,.page-heading .subtitle{font-size:13px;line-height:1.55;color:var(--muted)}
.toolbar{gap:10px;margin-bottom:14px}
.status-filters{gap:7px;min-width:0;max-width:100%;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin}
.status-filter{min-height:36px;padding:8px 11px;white-space:nowrap;font-size:12px;border-radius:10px;flex:none;background:#ffffff55;border:1px solid #dbe5f0;color:#536782}
.status-filter.active{background:#1764ef!important;border-color:#1764ef;color:#fff!important}
.orders-viewbar{gap:12px;align-items:flex-start;margin-bottom:14px;flex-wrap:wrap}
.tabs{padding:4px;border-radius:12px}
.tab{min-height:36px;font-size:12px;padding:8px 14px;border-radius:9px}
.tab.active{background:#fff;box-shadow:0 2px 7px #1537530d;color:#1854b2}
.counter{font-variant-numeric:tabular-nums}
.list-panel{padding:0!important;overflow:hidden;border-radius:18px}
.order-head{font-size:10px;font-weight:700;letter-spacing:.45px;color:#6a7d94;line-height:1.3;background:rgba(234,242,251,.75)}
.order-columns-scroll{padding:0;overflow-x:auto;scrollbar-gutter:auto;scrollbar-color:#b7c9df #eef4fa;overscroll-behavior-x:contain}
#page-content .order-columns-ready .order-head,#page-content .order-columns-ready .order-row{padding-left:16px;padding-right:16px;column-gap:12px!important}
#page-content .order-columns-ready .order-row{min-height:88px;padding-top:14px;padding-bottom:14px;border-color:#e1e9f2;border-radius:0}
#page-content .order-columns-ready .order-row:hover{background:#f0f6ff}
#page-content .order-columns-ready .order-row>[data-order-column],#page-content .order-columns-ready .order-head>[data-order-column]{position:static!important;right:auto!important;clip-path:none!important;max-width:100%;background:none!important}
#page-content .order-columns-ready [data-order-column=amount]{min-width:144px!important;width:100%!important;text-align:right;white-space:nowrap!important;overflow:visible!important;font-variant-numeric:tabular-nums;font-size:14px;font-weight:650}
#page-content .order-columns-ready [data-order-column=amount] .subline{white-space:nowrap!important;font-size:11px;line-height:1.5;font-weight:500;margin-top:4px}
#page-content .order-columns-ready [data-order-column=status]{white-space:normal;min-width:0;justify-content:flex-start}
#page-content .order-columns-ready [data-order-column=actions]{display:flex;flex-direction:row;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:4px;width:88px!important}
#page-content .order-columns-ready [data-order-column=actions] .icon-btn{width:40px;height:40px;min-width:40px;flex-basis:40px}
#order-list [data-act="order-list-documents"],#order-list [data-act="order-delete-open"]{display:none!important}
.order-row .customer-name{font-size:13px;font-weight:600;line-height:1.45}
.order-row .avatar-square{width:34px;height:34px;font-size:11px;border-radius:11px;background:#e4edfa;color:#426288}
.order-row .order-number{font-size:14px;font-weight:700}
.order-row .subline{font-size:11px;line-height:1.5;color:#697c93}
.table-bottom{padding:14px 16px;background:#ffffff55;font-size:12px;gap:12px}
.data-table th{font-size:11px;font-weight:650;color:#647790;letter-spacing:.2px;background:#edf3fa80}
.data-table td{font-size:13px;padding:14px 12px;line-height:1.5;vertical-align:middle;border-color:#dce6f1}
.data-table td.num{font-variant-numeric:tabular-nums;white-space:nowrap}
.list-hint{font-size:11px;line-height:1.5;margin-top:12px;color:#6b7f97}
.detail-heading>div:first-child{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px;width:100%;flex-basis:100%}
.detail-heading .detail-title{display:flex;flex:1;gap:10px;min-width:210px}
.detail-heading .detail-title h1{font-size:26px!important;margin:0;overflow:hidden;text-overflow:ellipsis}
.detail-heading .detail-meta{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:10px;justify-content:flex-start;font-size:12px}
.detail-heading>.heading-actions{margin-top:8px!important;gap:8px;align-items:center}
.detail-heading>.heading-actions .button{flex:none!important}
.detail-heading>.heading-actions .order-delete-button{display:none!important}
.order-receiving-control{min-height:34px;padding:6px 10px;font-size:12px;max-width:200px}
.timeline-steps{padding:4px 0 14px;gap:8px;overflow-x:auto;scrollbar-width:thin}
.timeline-step{font-size:11px;white-space:nowrap}
.content-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.detail-tabs{gap:6px;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding:0 0 10px;margin-bottom:6px;scrollbar-width:thin}
.detail-tab{white-space:nowrap;min-height:42px;font-size:13px;padding:10px 13px;border-radius:11px;flex:none}
.detail-tab.active{background:#1764ef0c;color:#1658c5;border-bottom-color:#1764ef}
.side-summary{top:100px;gap:16px}
.order-customer-panel .commercial-order-tools{gap:8px;margin:14px 0;align-items:center;justify-content:flex-start}
.order-customer-panel .commercial-order-tools>.button{flex:0 1 auto;min-width:0}
.order-customer-panel .order-customer-contact-actions{margin:0;display:flex;gap:8px;align-items:center}
.order-customer-panel .order-customer-contact-actions>.icon-btn{width:42px;height:42px;min-width:42px;flex:0 0 42px;color:#1764ef;padding:0}
.order-customer-panel .customer-card{gap:10px;padding:0;margin-bottom:12px}
.order-customer-panel .customer-card strong{font-size:14px;line-height:1.4}
.order-customer-panel .customer-contact{font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:6px 0}
.order-customer-panel .section-top>[data-act="choose-customer"]{width:36px;height:36px;min-width:36px;flex-basis:36px}
.order-customer-panel .flex.wrap.section-space{border-top:1px solid var(--line);padding-top:12px;gap:12px;margin-top:14px}
.order-customer-panel .link-button.small{font-size:12px;min-height:32px}
/* Order contents: keep the header and the editable lines on the same tracks. */
.order-items-scroll {
  container: order-items / inline-size;
  min-width: 0;
  overflow: visible;
  scrollbar-gutter: auto;
}
.order-items-scroll.limited { overflow: auto; scrollbar-gutter: stable; }
.order-items-scroll .table-labels { display: none; }
.order-items-scroll .product-row {
  --order-control-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
  grid-template-rows: auto;
  grid-template-areas:
    "product product remove"
    "qty-label price-label price-label"
    "quantity price price"
    "amount amount amount";
  align-items: start;
  gap: 6px 12px;
  min-height: 0;
  padding: 16px 0;
  border: 0;
}
.order-items-scroll .product-row + .product-row { border-top: 1px solid var(--line); }
.order-items-scroll .product-row > .product-cell {
  grid-area: product;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.order-items-scroll .product-cell > div { min-width: 0; }
.order-items-scroll .product-cell .product-image {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.order-items-scroll .product-image .product-photo-button,
.order-items-scroll .product-photo-button img { width: 100%; height: 100%; object-fit: contain; }
.order-items-scroll .product-name { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.order-items-scroll .product-cell small {
  max-width: none;
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.order-items-scroll .line-config {
  min-height: 32px;
  max-width: 100%;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: start;
  white-space: normal;
}
.order-items-scroll .order-line-caption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.order-quantity-caption { grid-area: qty-label; }
.order-price-caption { grid-area: price-label; }
.order-items-scroll .product-row > .qty {
  grid-area: quantity;
  display: grid;
  grid-template-columns: minmax(24px, 32px) minmax(0, 1fr) minmax(24px, 32px);
  place-items: stretch;
  align-self: start;
  width: min(100%, 116px);
  min-width: 0;
  height: var(--order-control-height);
  box-sizing: border-box;
}
.order-items-scroll .qty :is(button, input) { width: 100%; min-width: 0; height: 100%; }
.order-items-scroll .product-row > .price-control {
  grid-area: price;
  position: static;
  align-self: start;
  align-items: stretch;
  gap: 3px;
  margin: 0;
}
.order-items-scroll .price-control .price-entry {
  width: min(100%, 152px);
  height: var(--order-control-height);
  min-height: var(--order-control-height);
  box-sizing: border-box;
}
.order-items-scroll .price-field { height: 100%; padding-inline: 10px 3px; }
.order-items-scroll :is(.qty input, .price-field) { font-size: 16px; font-variant-numeric: tabular-nums; }
.order-items-scroll .price-source,
.order-items-scroll .price-addons {
  position: static;
  max-width: none;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
.order-items-scroll .price-addons { color: var(--muted); opacity: 1; }
.order-items-scroll .product-row > .amount {
  grid-area: amount;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin: 6px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.order-items-scroll .amount::before { content: "Сумма позиции"; font-size: 12px; font-weight: 500; color: var(--muted); }
:lang(en) .order-items-scroll .amount::before { content: "Line total"; }
.order-items-scroll .product-row > .row-menu {
  grid-area: remove;
  place-self: start end;
  width: 40px;
  min-width: 40px;
  height: var(--order-control-height);
  padding: 0;
  box-sizing: border-box;
}
@container order-items (min-width: 640px) {
  .order-items-scroll .table-labels,
  .order-items-scroll .product-row {
    grid-template-columns: minmax(0, 2.4fr) minmax(108px, .8fr) minmax(140px, 1fr) minmax(90px, .65fr) 40px;
    grid-template-areas: "product quantity price amount remove";
    column-gap: clamp(12px, 1.4cqi, 22px);
    padding-inline: 2px;
  }
  .order-items-scroll .table-labels {
    display: grid;
    align-items: center;
    padding-block: 9px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
  }
  .order-items-scroll .order-line-caption { display: none; }
  .order-items-scroll :is(.qty input, .price-field) { font-size: 14px; }
  .order-items-scroll .product-row > .amount {
    min-height: var(--order-control-height);
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .order-items-scroll .amount::before { display: none; }
}
.summary-lines{display:grid;gap:12px;font-size:13px}
.summary-lines>div{gap:12px}
.summary-lines button{font-size:13px;color:#1764ef;min-height:24px;gap:5px}
.summary-lines b,.commercial-order-summary strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}
.summary-total{margin-top:16px;padding-top:16px;border-top:1px solid #d8e3ef;gap:12px}
.summary-total strong{font-size:25px;letter-spacing:-.5px;white-space:nowrap}
.commercial-order-summary{margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--line);gap:10px;font-size:12px}
.customer-referral-summary > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 0 0 10px;
}
.customer-referral-summary > div > :is(strong, span) {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.customer-referral-summary > div > span { color: var(--muted); }
.summary-due{padding:12px;margin:14px 0;border-radius:11px;background:#1764ef08;font-size:12px}
.summary-due strong{font-size:16px;white-space:nowrap}
.dialog-scrim{background:#1d355351;backdrop-filter:blur(5px)}
.dialog,.dialog.glass-painted{background:rgba(247,251,255,.98)!important;border:1px solid #fff!important;box-shadow:0 24px 90px #16344d33;max-height:calc(100dvh - 48px);border-radius:22px}
.dialog-scroll{padding:26px}
.dialog-close{z-index:8;top:14px;right:14px;background:#e9f0f8!important}
.modal-footer{gap:10px;padding-top:18px;margin-top:18px;align-items:center}
.select-menu,.profile-menu{background:rgba(250,253,255,.99)!important;box-shadow:0 16px 48px #173b6626;border-color:#e0e9f3!important}
.select-menu button{font-size:13px;line-height:1.45;min-height:44px}
.empty{min-height:180px;padding:28px 20px;gap:10px;color:#647b96}
.empty h3{font-size:16px;color:#314961}
.empty p{max-width:52ch;line-height:1.65;font-size:13px}
@media(min-width:761px) and (max-width:1180px){.app-frame{padding:14px 16px 24px}.layout{gap:16px}.content-grid{grid-template-columns:minmax(0,1fr)}.side-summary{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{font-size:14px}.app-frame{padding:10px 12px 90px}.app-header{top:8px;min-height:58px;padding:8px 10px;gap:8px;border-radius:16px}.layout{gap:0;margin-top:18px}.sidebar .workspace{padding-right:12px}.sidebar .sidebar-collapse{display:none}.sidebar .nav-item{min-height:46px}.page-heading h1,.transactions-head h1,.team-head h1{font-size:25px!important}.panel{padding:16px;border-radius:16px}.toolbar{gap:8px;flex-wrap:wrap}.toolbar>.search-shell{flex:1 1 100%;min-width:0}.toolbar>.button{flex:0 1 auto;min-width:0}.orders-viewbar{gap:10px}.orders-viewbar>.status-filters{flex-basis:100%}.status-filters{max-width:calc(100vw - 24px)}.field-shell input,.field-shell textarea,.search-shell input,select{font-size:16px}.content-grid{grid-template-columns:minmax(0,1fr);gap:16px}.side-summary{position:static;display:flex;flex-direction:column}.detail-heading .detail-title{min-width:0;flex-basis:100%}.detail-heading .detail-title h1{font-size:24px!important}.detail-heading .detail-meta{width:100%;padding-left:0;justify-content:flex-start}.detail-heading>.heading-actions{width:100%;justify-content:flex-start;gap:8px}.detail-heading>.heading-actions .primary{flex:1 1 auto!important}.detail-heading>.heading-actions .button:not(.primary){padding:9px 12px}.detail-tab{font-size:12px;padding:9px 11px}.list-panel{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}.order-columns-scroll{overflow-x:visible}.order-head{display:none!important}#page-content .order-columns-ready .order-row{padding:14px;margin-bottom:10px;border:1px solid #dce6f1!important;border-radius:16px;background:rgba(250,253,255,.87);row-gap:10px}#page-content .order-columns-ready .order-row>[data-order-column]{position:static!important;grid-column:unset;grid-row:unset}#page-content .order-columns-ready [data-order-column=amount]{min-width:0!important;font-size:13px}#page-content .order-columns-ready [data-order-column=amount] .subline{font-size:10px}#page-content .order-columns-ready [data-order-column=actions]{width:34px!important;align-items:start;align-self:start;justify-content:flex-end}#page-content .order-columns-ready [data-order-column=actions] .icon-btn{width:34px;height:38px;min-width:34px;flex-basis:34px}#order-list [data-act="print-order"]{display:none!important}.dialog-scrim{padding:10px}.dialog{max-width:100%;width:100%;max-height:calc(100dvh - 20px);border-radius:18px}.dialog-scroll{padding:22px 16px}.dialog-close{top:10px;right:10px}.modal-footer{flex-wrap:wrap}.modal-footer>.button{min-height:44px}.table-scroll{max-width:100%;overflow:auto}.table-bottom{padding:12px;border-radius:12px;font-size:11px}.list-hint{font-size:10px}.field-row{gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important}.sg-pane,#liquid-scene{display:none!important}}
@media(prefers-reduced-transparency:reduce){.glass,[data-glass]{background:#f7fbff!important;backdrop-filter:none!important}.sg-pane,#liquid-scene{display:none!important}}
@media print{body{background:#fff}.sg-pane,#liquid-scene{display:none!important}.glass,[data-glass]{box-shadow:none!important;backdrop-filter:none!important}}
/* Preserve the user's dark appearance with the same quiet surfaces and contrast. */
body[data-glass-mode="dark"]{--ink:#edf4ff;--navy:#edf4ff;--muted:#aec0d8;--line:#ffffff20;--shadow:0 6px 24px #00000015,inset 0 1px 0 #ffffff08;background:radial-gradient(ellipse at 10% 0%,#1c344e 0,transparent 52%),#142337;color:var(--ink)}
body[data-glass-mode="dark"] :is(.glass,[data-glass]){background:rgba(29,45,65,.88)!important;border-color:#ffffff15!important;color:var(--ink)}
body[data-glass-mode="dark"] :is(.app-header,.sidebar){background:rgba(25,41,61,.94)!important}
body[data-glass-mode="dark"] :is(.button,.select-trigger,.setting-trigger,.icon-btn,.sidebar .nav-item,.field-label){color:#d9e7fa}
body[data-glass-mode="dark"] .sidebar .nav-item.active{background:#508bff22!important;color:#aacaff;box-shadow:inset 3px 0 #76a7ff}
body[data-glass-mode="dark"] .sidebar .nav-item:hover{background:#508bff15!important;color:#c6dcff}
body[data-glass-mode="dark"] :is(.sidebar-collapse,.sidebar .nav-count,.dialog-close){background:#304761!important;color:#c7ddfa}
body[data-glass-mode="dark"] :is(.field-shell,.search-shell){background:#20364d!important;border-color:#ffffff25!important;color:var(--ink)}
body[data-glass-mode="dark"] :is(input,textarea,select){color:var(--ink)}
body[data-glass-mode="dark"] :is(input,textarea)::placeholder{color:#9fb1c8}
body[data-glass-mode="dark"] :is(.page-heading h1,.transactions-head h1,.team-head h1,.empty h3){color:#edf4ff}
body[data-glass-mode="dark"] :is(.page-heading p,.page-heading .subtitle,.list-hint,.empty,.order-row .subline){color:#aec0d8}
body[data-glass-mode="dark"] :is(.status-filter,.tabs){background:#20364d!important;border-color:#ffffff20;color:#bfcee0}
body[data-glass-mode="dark"] :is(.tab.active,.detail-tab.active){background:#4d8dff22!important;color:#afcfff}
body[data-glass-mode="dark"] :is(.order-head,.data-table th,.table-bottom){background:#20344a!important;color:#b5c9e1}
body[data-glass-mode="dark"] :is(.data-table td,.order-row,.summary-total,.commercial-order-summary){border-color:#ffffff18}
body[data-glass-mode="dark"] #page-content .order-columns-ready .order-row:hover{background:#263e59}
body[data-glass-mode="dark"] .order-row .avatar-square{background:#294565;color:#d8e7fb}
body[data-glass-mode="dark"] .summary-due{background:#508bff15}
body[data-glass-mode="dark"] :is(.summary-lines button,.order-customer-contact-actions>.icon-btn,.link-button){color:#95beff}
body[data-glass-mode="dark"] :is(.dialog,.dialog.glass-painted,.select-menu,.profile-menu){background:#1c2f46!important;border-color:#ffffff22!important;color:var(--ink)}
body[data-glass-mode="dark"] :is(button,a).primary,body[data-glass-mode="dark"] .button.primary,body[data-glass-mode="dark"] .status-filter.active{background:#1764ef!important;color:#fff!important;border-color:#367afa!important}
@media(max-width:760px){body[data-glass-mode="dark"] #page-content .order-columns-ready .order-row{background:#1c3047;border-color:#ffffff20!important}}
