/* SABSUS Orders. One photographic workspace, two complete themes. */
@import url('./orders-font.css');

html:root.orders-crystal {
  color-scheme: dark;
  font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none;
  --ink:#f5f5f6; --navy:#f5f5f6; --text:#f5f5f6; --text-primary:#f5f5f6;
  --muted:#c8ced5; --text-muted:#c8ced5; --placeholder:#a9b0b9;
  --blue:#dedbd5; --accent:#dedbd5; --primary:linear-gradient(145deg,rgba(255,248,237,.22),rgba(235,231,225,.08));
  --on-primary:#f5f5f6; --accent-soft:rgba(250,245,236,.14); --selection-text:#f5f5f6;
  --background:#11161c; --surface:rgba(24,25,28,.82); --elevated-bg:#25262a;
  --card-surface:linear-gradient(145deg,rgba(62,54,50,.66),rgba(22,22,24,.78) 55%,rgba(16,21,25,.74));
  --card-edge:inset 1px 1px 1px rgba(255,245,232,.18),inset -1px -1px 1px rgba(222,230,239,.065),0 8px 23px rgba(0,0,0,.18);
  --menu-surface:var(--elevated-bg); --solid-surface:var(--elevated-bg); --control-surface:rgba(240,240,245,.085); --control-bg:var(--control-surface); --soft-bg:rgba(240,240,245,.055);
  --hover-bg:rgba(240,240,245,.13); --line:rgba(202,211,222,.14); --scrim:rgba(4,10,18,.45);
  --danger:#ffb5bf; --danger-bg:rgba(197,54,78,.16); --green:#a5e3c6; --amber:#ffe0aa;
  --shadow:0 18px 52px rgba(0,0,0,.22),0 2px 7px rgba(0,0,0,.07);
  --glass-blur:18px; --radius:24px; --orders-photo-dim:.28;
  --orders-radius-control:999px; --orders-radius-card:24px; --orders-radius-dialog:28px; --orders-radius-inset:20px; --orders-control-height:44px;
  --orders-control-fill:linear-gradient(145deg,rgba(255,250,240,.12),rgba(242,239,232,.065));
  --orders-control-shadow:inset 1px 1px 1px rgba(255,248,236,.19),inset -1px -1px 1px rgba(255,255,255,.055);
  --orders-control-selected:linear-gradient(145deg,rgba(255,250,240,.25),rgba(242,239,232,.13));
  --orders-control-selected-shadow:inset 1px 1px 1px rgba(255,248,236,.35),inset -1px -1px 1px rgba(255,255,255,.12);
  --orders-control-hover:linear-gradient(145deg,rgba(255,250,240,.20),rgba(242,239,232,.11));
  --orders-primary-fill:#1764ef; --orders-primary-hover:#1256d5; --orders-primary-active:#1049b8; --orders-primary-ink:#fff;
  --orders-primary-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 10px rgba(23,100,239,.2);
  --orders-focus:#e5ded2; --orders-selection-ink:#232323;
  --orders-gutter:24px; --orders-card-pad:24px; --orders-section-gap:20px; --orders-bottom-nav-height:82px; --orders-summary-top:110px;
  --appearance-hue:0deg!important; --appearance-saturation:1!important; --appearance-brightness:1!important;
  --scrollbar-thumb:rgba(160,171,186,.36);
  color:var(--ink); background:var(--background); scrollbar-gutter:auto;
}
html:root.orders-crystal[data-orders-theme="light"] {
  color-scheme:light;
  --ink:#232323; --navy:#232323; --text:#232323; --text-primary:#232323;
  --muted:#60636a; --text-muted:#60636a; --placeholder:#72777e;
  --blue:#57534c; --accent:#57534c; --primary:linear-gradient(145deg,rgba(255,255,255,.76),rgba(244,240,234,.35));
  --on-primary:#232323; --accent-soft:rgba(255,255,255,.54); --selection-text:#232323;
  --background:#f1f0ee; --surface:rgba(248,248,248,.82); --elevated-bg:#fbfaf8;
  --card-surface:linear-gradient(145deg,rgba(255,254,252,.78),rgba(249,248,246,.67) 60%,rgba(242,244,247,.71));
  --card-edge:inset 1px 1px 1px rgba(255,255,255,.78),inset -1px -1px 1px rgba(75,83,96,.035),0 8px 26px rgba(41,42,46,.08);
  --control-surface:rgba(70,74,82,.065); --soft-bg:rgba(70,74,82,.045); --hover-bg:rgba(65,70,80,.09);
  --line:rgba(50,58,70,.11); --scrim:rgba(24,28,36,.25);
  --danger:#b22c43; --danger-bg:rgba(178,44,67,.08); --green:#1b7555; --amber:#94601a;
  --shadow:0 16px 46px rgba(24,24,24,.13),0 2px 6px rgba(24,24,24,.04);
  --orders-photo-dim:.08; --scrollbar-thumb:rgba(90,100,116,.32);
  --orders-control-fill:linear-gradient(145deg,rgba(255,255,255,.36),rgba(255,252,246,.18));
  --orders-control-shadow:inset 1px 1px 1px rgba(255,255,255,.64),inset -1px -1px 1px rgba(78,71,60,.065);
  --orders-control-selected:linear-gradient(145deg,rgba(255,255,255,.65),rgba(255,252,246,.38));
  --orders-control-selected-shadow:inset 1px 1px 1px rgba(255,255,255,.84),inset -1px -1px 1px rgba(78,71,60,.09);
  --orders-control-hover:linear-gradient(145deg,rgba(255,255,255,.52),rgba(255,252,246,.29));
  --orders-focus:#5b554e; --orders-selection-ink:#fff;
}
html.orders-crystal body {margin:0;min-height:100dvh;background:transparent!important;color:var(--ink)!important;font:inherit;isolation:isolate;overflow-x:clip;}
html:root.orders-crystal body{--ink:inherit;--navy:inherit;--muted:inherit;--line:inherit;--blue:inherit;--shadow:inherit;--green:inherit;--amber:inherit;--danger:inherit;}
html.orders-crystal :is(button,input,textarea,select){font:inherit;}
html.orders-crystal :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible {outline:2px solid var(--orders-focus);outline-offset:3px;}
html.orders-crystal *{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent;}
html.orders-crystal ::-webkit-scrollbar{width:6px;height:6px;}
html.orders-crystal ::-webkit-scrollbar-track{background:transparent;}
html.orders-crystal ::-webkit-scrollbar-thumb{border:1px solid transparent;border-radius:99px;background:var(--scrollbar-thumb);background-clip:padding-box;}
html.orders-crystal ::selection{background:var(--accent);color:var(--orders-selection-ink);}
#orders-scene-photo,.orders-scene-shade{position:fixed;inset:14px;width:calc(100% - 28px);height:calc(100dvh - 28px);max-width:none;pointer-events:none;user-select:none;border-radius:32px;}
#orders-scene-photo{z-index:-3;object-fit:cover;object-position:center;background:var(--background);}
.orders-scene-shade{z-index:-2;background:linear-gradient(0deg,rgba(4,11,23,.61),rgba(4,11,23,.08) 65%),linear-gradient(90deg,rgba(4,11,23,.28),transparent 70%),rgba(6,14,25,var(--orders-photo-dim));}
html[data-orders-theme="light"] .orders-scene-shade{background:linear-gradient(0deg,rgba(248,248,250,.66),rgba(248,248,250,.16) 65%),linear-gradient(90deg,rgba(248,248,250,.24),transparent 70%),rgba(248,248,250,var(--orders-photo-dim));}
html:root.orders-crystal body #liquid-scene{opacity:0!important;visibility:hidden!important;filter:none!important;pointer-events:none!important;}
html:root.orders-crystal body :is(.glass,[data-glass]){border-color:transparent!important;background:var(--card-surface)!important;box-shadow:var(--card-edge)!important;color:var(--ink);filter:none!important;}
html:root.orders-crystal body :is(.panel,.stat-card,.order-table,.list-panel,.app-header,.sidebar,.dialog,.sp-panel){border-radius:var(--orders-radius-card);border-color:transparent!important;}
html:root.orders-crystal body :is(.panel,.stat-card,.order-table,.list-panel,.app-header,.sidebar,.order-mobile-nav,.order-settings-nav){background:var(--card-surface)!important;box-shadow:var(--card-edge)!important;backdrop-filter:blur(18px) saturate(1.12);-webkit-backdrop-filter:blur(18px) saturate(1.12);}
html:root.orders-crystal body .app-frame{max-width:none;margin:0;padding:24px 28px 32px;}
html:root.orders-crystal body .app-header{position:sticky;top:24px;min-height:66px;gap:12px;padding:10px 14px;border-radius:999px;}
html:root.orders-crystal body .layout{grid-template-columns:var(--orders-sidebar-width,204px) minmax(0,1fr);gap:20px;margin-top:12px;}
html:root.orders-crystal body .main{min-width:0;padding:0;}
html:root.orders-crystal body .sidebar{position:sticky;top:102px;height:calc(100dvh - 126px);max-height:none;padding:10px;border-radius:var(--orders-radius-card);}
html:root.orders-crystal body .workspace{padding:4px 12px 18px;}
html:root.orders-crystal body .workspace .eyebrow{font-size:10px;color:var(--muted);font-weight:500;letter-spacing:.09em;}
html:root.orders-crystal body .workspace strong{font-size:14px;line-height:1.4;font-weight:550;}
html:root.orders-crystal body .workspace small{font-size:12px;}
html:root.orders-crystal body .sidebar nav{gap:3px;padding:0;overflow-x:hidden;}
html:root.orders-crystal body .nav-item{min-height:46px;padding:10px 12px;border:0!important;border-radius:999px;color:var(--muted)!important;font-size:13px;line-height:1.35;gap:10px;background:transparent!important;box-shadow:none!important;}
html:root.orders-crystal body .nav-item>svg{width:19px;height:19px;flex:0 0 19px;}
html:root.orders-crystal body .nav-item>span:not(.nav-count){white-space:normal;overflow-wrap:normal;}
html:root.orders-crystal body .nav-item:hover{background:var(--hover-bg)!important;color:var(--ink)!important;}
html:root.orders-crystal body .nav-item.active{color:var(--ink)!important;background:var(--accent-soft)!important;font-weight:550;box-shadow:none!important;}
html:root.orders-crystal body .nav-item.active>svg{color:var(--accent);}
html:root.orders-crystal body .nav-item .nav-count{font-size:11px;line-height:1.5;padding:1px 6px;border-radius:99px;color:var(--muted);background:var(--soft-bg)!important;}
html:root.orders-crystal body .nav-separator{background:var(--line);margin:10px 12px;}
html:root.orders-crystal body .sidebar-footer{padding:12px 10px 0;}
html:root.orders-crystal body .sidebar-footer p{font-size:11px;color:var(--muted);}
html:root.orders-crystal body .sidebar .sidebar-collapse{top:8px;right:8px;width:40px;min-width:40px;height:40px;padding:10px;border-radius:50%;background:transparent!important;}
html:root.orders-crystal body .layout.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)!important;}
html:root.orders-crystal body .layout.sidebar-collapsed .sidebar{padding:10px 8px;overflow:visible!important;}
html:root.orders-crystal body .layout.sidebar-collapsed .sidebar nav{padding:0!important;}
html:root.orders-crystal body .layout.sidebar-collapsed .sidebar .nav-item{justify-content:center;padding:12px;width:48px;min-width:48px;margin-inline:auto;gap:0;}
html:root.orders-crystal body .layout.sidebar-collapsed .sidebar .nav-item>span{display:none!important;}
html:root.orders-crystal body .layout.sidebar-collapsed .sidebar .sidebar-collapse{left:18px;right:auto;}
html:root.orders-crystal body .sidebar-resizer{right:-7px;width:12px;}
html:root.orders-crystal body .sidebar-resizer::after{background:transparent;}
html:root.orders-crystal body :is(.brand,.suite-brand-copy,.suite-current-label,.suite-brand-chevron){color:var(--ink)!important;}
html:root.orders-crystal body :is(.brand em,.suite-brand-copy small,.header-clock,.header-location){color:var(--muted)!important;}
html:root.orders-crystal body .header-actions{gap:6px;}
html:root.orders-crystal body .header-divider{background:var(--line);margin-inline:4px;}
html:root.orders-crystal body .demo-tag{display:none;}
html:root.orders-crystal body .app-header .icon-btn{background:var(--control-surface)!important;border-radius:50%;}
html:root.orders-crystal body .app-header .mobile-menu{display:none!important;}
html:root.orders-crystal body .app-header .shift-button{min-height:44px;font-size:12px;}
html:root.orders-crystal body .page-heading{padding:0 0 12px;min-height:0;align-items:center;gap:12px;}
html:root.orders-crystal body .page-heading h1{margin:0;font-size:clamp(28px,2.35vw,36px);line-height:1.16;font-weight:500;letter-spacing:-1px;color:var(--ink);}
html:root.orders-crystal body .page-heading p{margin-top:8px;font-size:14px;color:var(--muted);line-height:1.5;}
html:root.orders-crystal body .heading-actions{gap:10px;flex-wrap:wrap;}
html:root.orders-crystal body .panel{padding:24px;}
html:root.orders-crystal body .section-top{margin-bottom:18px;gap:10px 16px;}
html:root.orders-crystal body :is(h2,h3,h4,.stat-value,.summary-total strong){color:var(--ink);}
html:root.orders-crystal body .panel h2{font-size:18px;line-height:1.4;font-weight:550;letter-spacing:-.3px;}
html:root.orders-crystal body .panel p{font-size:13px;line-height:1.6;color:var(--muted);}
html:root.orders-crystal body :is(.muted,.subline,.small,.dialog-note,.helper,.list-hint,.field-hint){color:var(--muted);}
html:root.orders-crystal body .subline{font-size:12px;line-height:1.5;}
html:root.orders-crystal body .stat-value{font-size:28px;font-weight:450;}
html:root.orders-crystal body :is(.button,.select-trigger){box-sizing:border-box;min-height:var(--orders-control-height);max-width:100%;padding:12px 17px;border-radius:var(--orders-radius-control);border:0!important;background:var(--orders-control-fill)!important;box-shadow:var(--orders-control-shadow)!important;color:var(--ink)!important;font-size:14px;font-weight:500;line-height:20px;gap:8px;}
html:root.orders-crystal body .icon-btn{width:44px;height:44px;min-width:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;gap:0;padding:11px;border-radius:50%;background:var(--control-surface)!important;border:1px solid transparent!important;color:var(--ink)!important;box-shadow:none!important;}
html:root.orders-crystal body :is(.button,.icon-btn,.select-trigger):hover:not(:disabled){background:var(--hover-bg)!important;box-shadow:none!important;}
html:root.orders-crystal body :is(.button.primary,.primary.glass-painted,.button.primary.is-loading){background:var(--orders-control-selected)!important;color:var(--on-primary)!important;-webkit-text-fill-color:var(--on-primary)!important;box-shadow:var(--orders-control-selected-shadow)!important;font-weight:600;}
html:root.orders-crystal body :is(.button.primary,.primary.glass-painted):hover:not(:disabled){background:var(--hover-bg)!important;}
html:root.orders-crystal body .primary :is(span,.icon){color:var(--on-primary)!important;}
html:root.orders-crystal body :is(button.is-loading,.loading-label){color:inherit!important;}
html:root.orders-crystal body .primary .loading-label{color:var(--on-primary)!important;}
html:root.orders-crystal body button:disabled{opacity:.5;cursor:not-allowed;}
html:root.orders-crystal body :is(.button.danger,.danger-text,.link-button.danger){color:var(--danger)!important;}
html:root.orders-crystal body .link-button{font-size:13px;color:var(--selection-text);}
html:root.orders-crystal body .button:not(.primary) .icon{color:inherit;}
html:root.orders-crystal body :is(.button,.icon-btn,.nav-item,.field-shell)>.sg-pane{display:none!important;}
html:root.orders-crystal body :is(.tabs,.segmented,.list-tabs){border-color:var(--line);background:var(--soft-bg);box-shadow:none;}
html:root.orders-crystal body :is(.tab,.segmented button,.list-tabs button){color:var(--muted);min-height:44px;border-color:transparent;}
html:root.orders-crystal body :is(.tab.active,.tab[aria-selected="true"],.list-tabs button.active,.segmented button.active,.segmented button[aria-pressed="true"]){background:var(--accent-soft)!important;color:var(--selection-text)!important;box-shadow:none!important;border-color:transparent!important;}
html:root.orders-crystal body .field-label{display:block;margin:16px 0 7px;font-size:13px;line-height:1.4;color:var(--ink);font-weight:500;}
html:root.orders-crystal body .field-shell{min-width:0;max-width:100%;border-radius:var(--orders-radius-control);background:var(--orders-control-fill)!important;border:0!important;box-shadow:var(--orders-control-shadow)!important;}
html:root.orders-crystal body :is(.field-shell,.search-shell):focus-within{outline:2px solid var(--orders-focus);outline-offset:2px;border-color:transparent!important;box-shadow:var(--orders-control-shadow)!important;}
html:root.orders-crystal body .field-shell :is(input,textarea){width:100%;min-width:0;max-width:100%;min-height:44px;padding:11px 14px;border:0;background:transparent!important;color:var(--ink)!important;border-radius:inherit;}
html:root.orders-crystal body :is(input,textarea,select){color:var(--ink);caret-color:var(--ink);}
html:root.orders-crystal body :is(input,textarea)::placeholder{color:var(--placeholder)!important;opacity:1;}
html:root.orders-crystal body select{min-height:var(--orders-control-height);max-width:100%;border:0;border-radius:var(--orders-radius-control);padding:10px 36px 10px 16px;background:var(--orders-control-fill)!important;color:var(--ink)!important;box-shadow:var(--orders-control-shadow);}
html:root.orders-crystal body select option{background:var(--elevated-bg);color:var(--ink);}
html:root.orders-crystal body :is(input[type="checkbox"],input[type="radio"]){width:18px;height:18px;min-width:18px;accent-color:var(--accent);}
html:root.orders-crystal body :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:var(--accent);}
html:root.orders-crystal body .checkline{min-height:44px;gap:10px;color:var(--ink);font-size:13px;}
html:root.orders-crystal body :is(.select-menu,.profile-menu,.sabsus-suite-menu,.sp-panel){border-color:transparent!important;background:var(--elevated-bg)!important;color:var(--ink)!important;border-radius:var(--orders-radius-card);box-shadow:var(--shadow)!important;filter:none!important;}
html:root.orders-crystal body .select-menu{max-height:calc(100dvh - 24px);}
html:root.orders-crystal body .select-scroll{max-height:min(400px,60dvh);gap:4px;}
html:root.orders-crystal body .select-option{min-height:var(--orders-control-height);border-radius:var(--orders-radius-control);padding:11px 14px;font-size:14px;line-height:1.4;text-align:start;color:var(--ink);gap:12px;}
html:root.orders-crystal body .select-option:hover{background:var(--hover-bg)!important;}
html:root.orders-crystal body .select-option.selected{background:var(--accent-soft)!important;color:var(--selection-text)!important;font-weight:550;}
html:root.orders-crystal body .select-option.selected>.icon{opacity:1;color:var(--accent);}
html:root.orders-crystal body .profile-row{font-size:14px;color:var(--ink);min-height:44px;}
html:root.orders-crystal body .profile-row:hover{background:var(--hover-bg);}
html:root.orders-crystal body .sp-panel{--sp-bg:var(--elevated-bg);--sp-fg:var(--ink);--sp-muted:var(--muted);--sp-line:var(--line);--sp-active:var(--accent-soft);--sp-blue:var(--accent);color-scheme:inherit;}
html:root.orders-crystal body .dialog-scrim{padding:22px;background:var(--scrim)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);}
html:root.orders-crystal body .dialog{border-radius:var(--orders-radius-dialog);max-height:calc(100dvh - 44px);background:var(--card-surface)!important;box-shadow:var(--shadow)!important;color:var(--ink);}
html:root.orders-crystal body .dialog-scroll{max-height:calc(100dvh - 46px);padding:24px;scroll-padding-block:24px;overscroll-behavior:contain;}
html:root.orders-crystal body .dialog h2{font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.6px;margin:0 46px 12px 0;color:var(--ink);}
html:root.orders-crystal body .dialog :is(h3,.dialog-close,.dialog-close .icon){color:var(--ink);stroke:currentColor;}
html:root.orders-crystal body .modal-head{padding:0;margin-bottom:20px;}
html:root.orders-crystal body .modal-head p{font-size:13px;line-height:1.6;color:var(--muted);}
html:root.orders-crystal body .modal-footer{gap:10px;flex-wrap:wrap;border-color:var(--line);padding-top:16px;margin-top:20px;}
html:root.orders-crystal body .modal-footer .button{max-width:100%;white-space:normal;}
html:root.orders-crystal body .dialog-close{top:12px;right:12px;z-index:6;}
html:root.orders-crystal body .inline-error:empty{display:none;}
html:root.orders-crystal body .inline-error:not(:empty){background:var(--danger-bg);color:var(--danger);padding:12px 14px;border-radius:var(--orders-radius-inset);margin:12px 0;}
html:root.orders-crystal body :is(.notice,.empty){color:var(--muted);}
html:root.orders-crystal body .notice{background:var(--soft-bg);border-color:transparent;font-size:13px;line-height:1.5;border-radius:var(--orders-radius-inset);}
html:root.orders-crystal body .empty{padding:36px 20px;}
html:root.orders-crystal body .empty h3{font-size:17px;font-weight:500;margin-top:12px;}
html:root.orders-crystal body .empty p{font-size:13px;max-width:420px;margin:8px auto 0;}
html:root.orders-crystal body .empty>.icon{width:30px;height:30px;color:var(--muted);opacity:.65;}
html:root.orders-crystal body .empty .button{margin-top:16px;}
html:root.orders-crystal body .toast{background:var(--elevated-bg)!important;color:var(--ink);font-size:14px;border:0;box-shadow:var(--shadow);border-radius:var(--orders-radius-inset);}
html:root.orders-crystal body .search-field{background:var(--control-surface)!important;border-color:transparent!important;border-radius:999px;box-shadow:none!important;}
html:root.orders-crystal body :is(th,td){border-color:var(--line);}
html:root.orders-crystal body th{color:var(--muted);background:var(--soft-bg);font-size:11px;font-weight:550;letter-spacing:.025em;}
html:root.orders-crystal body td{color:var(--ink);font-size:13px;}
html:root.orders-crystal body :is(.state-pill,.type-badge,.badge){border-color:transparent;border-radius:999px;font-size:12px;line-height:1.5;}
html:root.orders-crystal body .state-pill{background:var(--soft-bg);color:var(--ink);}
html:root.orders-crystal body .state-pill.completed{background:rgba(83,173,134,.13);color:var(--green);}
html:root.orders-crystal body .state-pill.canceled{background:var(--danger-bg);color:var(--danger);}
html:root.orders-crystal body :is(.payment-paid,.payment-state.paid){color:var(--green);background:rgba(83,173,134,.09);}
html:root.orders-crystal body .order-mobile-nav{display:none;}
html:root.orders-crystal.has-modal body>.sb-chat>.sb-launch,
html:root.orders-crystal.has-drawer body>.sb-chat>.sb-launch{visibility:hidden!important;pointer-events:none!important;}
html:root.orders-crystal body #order-boot-screen{position:relative;width:min(440px,calc(100% - 32px));margin:14vh auto 0;padding:32px;border-radius:28px;}
html:root.orders-crystal body #order-boot-screen small{font-size:11px;letter-spacing:.18em;color:var(--muted);}
html:root.orders-crystal body #order-boot-screen h1{font-size:28px;font-weight:500;line-height:1.2;margin:18px 0 12px;}
html:root.orders-crystal body #order-boot-screen p{font-size:14px;line-height:1.5;}
/* One optional optical renderer. Normal controls never allocate a canvas. */
html.orders-optical-glass body [data-orders-optical]{isolation:isolate;background:var(--card-surface);box-shadow:var(--card-edge);}
html.orders-optical-glass body .sg-pane{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;border-radius:inherit;opacity:1!important;filter:none!important;visibility:hidden;pointer-events:none!important;z-index:-1!important;contain:strict;}
html.orders-optical-glass body .glass-painted[data-orders-optical]>.sg-pane{visibility:visible;}
html:root.orders-crystal.orders-optical-glass:not(.glass-off):not(.orders-static-glass):not(.orders-css-scene) body .glass-painted[data-orders-optical]{background:transparent!important;border-color:transparent!important;box-shadow:var(--card-edge)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html.orders-optical-glass body [data-orders-optical] :is(.glass,[data-glass],input,select,textarea):not([data-orders-optical]){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html:is(.orders-static-glass,.orders-css-scene,.glass-off) body .sg-pane{visibility:hidden!important;}
html:root.orders-crystal:is(.orders-static-glass,.orders-css-scene,.glass-off) body .glass-painted[data-orders-optical]{background:var(--card-surface)!important;backdrop-filter:blur(var(--glass-blur)) saturate(1.12)!important;-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.12)!important;}
html.orders-crystal body .orders-optical-loading{position:relative;color:inherit!important;}
html.orders-crystal body .orders-optical-loading::after{content:"";position:absolute;left:calc(50% - 9px);top:calc(50% - 9px);width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:orders-spin .8s linear infinite;pointer-events:none;}
html.orders-crystal body .orders-optical-loading:has(>.loading-label)::after{display:none;}
html:root.orders-crystal body .orders-optical-loading>.loading-label{display:flex!important;align-items:center;justify-content:center;gap:8px;}
html:root.orders-crystal body .orders-optical-loading>.loading-label::before{content:"";display:block;flex:0 0 18px;width:18px;height:18px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;background:none;box-shadow:none;animation:orders-spin .8s linear infinite;}
@keyframes orders-spin{to{transform:rotate(360deg)}}
@media(min-width:761px){html:root.orders-crystal body .sidebar .drawer-close{display:none!important;}}
html:root.orders-crystal body .sidebar :is(.workspace,.sidebar-collapse,.sidebar-footer){display:none!important;}
html:root.orders-crystal body .sidebar nav{padding-top:0!important;}
html:root.orders-crystal body .app-header .orders-sidebar-toggle{display:inline-flex;position:static;flex:0 0 44px;}
html:root.orders-crystal body .app-header:has(~.layout.auth-layout) .orders-sidebar-toggle{display:none!important;}
html:root.orders-crystal body #page-content .ts-overview .ov-context{display:none!important;}
@media(min-width:761px) and (max-width:1180px){
  html:root.orders-crystal body .app-frame{padding:20px;}
  html:root.orders-crystal body .app-header{top:20px;}
  html:root.orders-crystal body .layout{grid-template-columns:76px minmax(0,1fr)!important;gap:18px;}
  html:root.orders-crystal body .sidebar{top:98px;height:calc(100dvh - 118px);padding:10px 8px;}
  html:root.orders-crystal body .sidebar :is(.workspace,.sidebar-footer,.sidebar-collapse,.sidebar-resizer){display:none!important;}
  html:root.orders-crystal body .sidebar nav{padding:0!important;}
  html:root.orders-crystal body .sidebar .nav-item{width:48px;min-width:48px;min-height:46px;justify-content:center;gap:0;padding:12px;margin-inline:auto;}
  html:root.orders-crystal body .sidebar .nav-item>span{display:none!important;}
  html:root.orders-crystal body .header-clock{display:none;}
  html:root.orders-crystal body .panel{padding:20px;}
  html:root.orders-crystal body .header-divider{display:none;}
  html:root.orders-crystal.orders-sidebar-revealed body .layout{grid-template-columns:215px minmax(0,1fr)!important;}
  html:root.orders-crystal.orders-sidebar-revealed body .layout .sidebar .nav-item{width:auto;min-width:0;justify-content:flex-start;gap:10px;padding:10px 12px;margin:0;}
  html:root.orders-crystal.orders-sidebar-revealed body .layout .sidebar .nav-item>span{display:initial!important;}
}
@media(max-width:900px){
  html:root.orders-crystal body .header-location{display:none;}
  html:root.orders-crystal body .desktop-tools .shift-button>span{display:none;}
  html:root.orders-crystal body .desktop-tools .shift-button{min-width:44px;width:44px;padding:10px;}
  html:root.orders-crystal body .desktop-tools .shift-dot{display:none;}
  html:root.orders-crystal body .page-heading .heading-actions{flex-shrink:1;}
}
@media(min-width:761px) and (max-width:900px){
  html:root.orders-crystal body .header-location{display:flex!important;flex:0 0 44px;}
  html:root.orders-crystal body .header-location [data-act="live-location"]{width:44px;min-width:44px;height:44px;padding:10px;justify-content:center;}
  html:root.orders-crystal body .header-location [data-act="live-location"]>span{display:none;}
}
@media(max-width:760px){
  html:root.orders-crystal{--orders-gutter:16px;--orders-card-pad:18px;--orders-section-gap:16px;}
  #orders-scene-photo,.orders-scene-shade{inset:0;width:100%;height:100dvh;border-radius:0;}
  #orders-scene-photo{object-position:center;}
  html:root.orders-crystal body .app-frame{padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));}
  html:root.orders-crystal body .app-header{top:max(10px,env(safe-area-inset-top));min-height:60px;height:auto;padding:8px 10px;gap:8px;}
  html:root.orders-crystal body .app-header .mobile-menu{display:none!important;}
  html:root.orders-crystal body .app-header .orders-sidebar-toggle{display:none!important;}
  html:root.orders-crystal body .app-header :is(.desktop-tools,.header-divider,.header-location){display:none!important;}
  html:root.orders-crystal body .header-actions{gap:2px;}
  html:root.orders-crystal body .app-header .icon-btn{width:40px;min-width:40px;height:44px;flex-basis:40px;padding:10px;background:transparent!important;}
  html:root.orders-crystal body .brand{font-size:14px;min-width:0;flex:1;gap:7px;}
  html:root.orders-crystal body .suite-brand-copy{min-width:0;max-width:calc(100vw - 220px);overflow:hidden;}
  html:root.orders-crystal body .suite-brand-copy strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  html:root.orders-crystal body .suite-brand-copy small{font-size:11px;}
  html:root.orders-crystal body .brand-mark{width:30px;height:30px;flex-basis:30px;}
  html:root.orders-crystal body .layout{display:block!important;margin-top:18px;}
  html:root.orders-crystal body .sidebar{display:none;position:fixed;inset:12px auto 12px 12px;width:min(300px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:none;padding:64px 14px 20px;border-radius:28px;background:var(--elevated-bg)!important;z-index:1000;}
  html:root.orders-crystal body .sidebar.open{display:flex;}
  html:root.orders-crystal body .sidebar :is(.sidebar-collapse,.sidebar-resizer){display:none;}
  html:root.orders-crystal body .sidebar .drawer-close{display:flex;top:12px;right:12px;}
  html:root.orders-crystal body .sidebar .workspace{padding:0 12px 20px;}
  html:root.orders-crystal body .sidebar .nav-item{font-size:14px;}
  html:root.orders-crystal body .sidebar nav{padding:0!important;}
  html:root.orders-crystal body .mobile-backdrop{background:var(--scrim);backdrop-filter:blur(4px);}
  html:root.orders-crystal body .page-heading{display:flex;flex-wrap:wrap;align-items:center;padding:0 0 16px;gap:14px;}
  html:root.orders-crystal body .page-heading h1{font-size:28px;}
  html:root.orders-crystal body .page-heading p{font-size:13px;}
  html:root.orders-crystal body .page-heading .heading-copy{flex:1 1 150px;}
  html:root.orders-crystal body .page-heading .heading-actions{padding:0;gap:8px;}
  html:root.orders-crystal body .panel{padding:18px;border-radius:24px;}
  html:root.orders-crystal body :is(.button,.select-trigger){font-size:14px;padding:10px 14px;min-height:44px;white-space:normal;}
  html:root.orders-crystal body :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]):not([type="range"]){font-size:16px!important;}
  html:root.orders-crystal body input:is([type="date"],[type="time"],[type="datetime-local"]){min-height:48px;}
  html:root.orders-crystal body .field-shell input{font-size:16px;}
  html:root.orders-crystal body .dialog-scrim{align-items:end;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));}
  html:root.orders-crystal body .dialog{border-radius:28px;width:100%;max-height:calc(100dvh - 24px - env(safe-area-inset-top));}
  html:root.orders-crystal body .dialog-scroll{padding:22px 18px;max-height:calc(100dvh - 26px - env(safe-area-inset-top));}
  html:root.orders-crystal body .dialog h2{font-size:22px;margin-right:42px;}
  html:root.orders-crystal body .modal-footer{gap:10px;}
  html:root.orders-crystal body .modal-footer .button{min-width:0;flex:1 1 110px;}
  html:root.orders-crystal body .order-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:90;inset:auto max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));padding:6px;gap:3px;border:0;border-radius:999px;}
  html:root.orders-crystal body .order-mobile-nav>a,html:root.orders-crystal body .order-mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;padding:6px 4px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:10px;line-height:1.3;font-weight:500;}
  html:root.orders-crystal body .order-mobile-nav .icon{width:20px;height:20px;}
  html:root.orders-crystal body .order-mobile-nav>a.active{background:var(--accent-soft);color:var(--selection-text);}
  html:root.orders-crystal body .order-mobile-nav>a.active>.icon{color:var(--accent);}
  html:root.orders-crystal.has-modal body .order-mobile-nav,html:root.orders-crystal.has-drawer body .order-mobile-nav{visibility:hidden;}
  html:root.orders-crystal body .toast{bottom:calc(92px + env(safe-area-inset-bottom));}
  html:root.orders-crystal body>.sb-chat>.sb-launch{bottom:calc(92px + env(safe-area-inset-bottom))!important;right:16px!important;}
  html:root.orders-crystal[data-orders-route="settings"] body>.sb-chat>.sb-launch{display:none!important;}
}
@media(max-width:390px){
  html:root.orders-crystal body .app-frame{padding-inline:12px;}
  html:root.orders-crystal body .app-header{padding-inline:8px;gap:4px;}
  html:root.orders-crystal body .header-actions{gap:0;}
  html:root.orders-crystal body .suite-brand-copy{max-width:calc(100vw - 210px);}
  html:root.orders-crystal body .panel{padding:16px;}
  html:root.orders-crystal body .dialog-scroll{padding:22px 16px;}
}
@media(prefers-reduced-motion:reduce){html.orders-crystal *,html.orders-crystal *::before,html.orders-crystal *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  html:root.orders-crystal{--card-surface:#1e252d;--glass-blur:0px;--control-surface:#303a46;--muted:#dce1e8;}
  html:root.orders-crystal[data-orders-theme="light"]{--card-surface:#fff;--control-surface:#eceff3;--muted:#404650;}
  html:root.orders-crystal body .sg-pane{display:none!important;}
  html:root.orders-crystal body :is(.glass,[data-glass],.panel,.sidebar,.app-header){background:var(--card-surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
}
@media(forced-colors:active){
  #orders-scene-photo,.orders-scene-shade,.sg-pane{display:none!important;}
  html:root.orders-crystal body :is(.glass,[data-glass],button,input,textarea,select){border:1px solid CanvasText!important;box-shadow:none!important;forced-color-adjust:auto;}
  html:root.orders-crystal body :is(.nav-item.active,[aria-pressed="true"],[aria-selected="true"]){outline:2px solid Highlight;outline-offset:-2px;}
}
@media print{
  #orders-scene-photo,.orders-scene-shade,#liquid-scene,.sg-pane,.order-mobile-nav,.orders-theme-toggle{display:none!important;}
  html.orders-crystal,html.orders-crystal body{background:#fff!important;color:#000!important;}
  html.orders-crystal body .print-root{color:#000!important;background:#fff!important;}
}

/* Portals keep their native fixed positioning after optical registration. */
html:root.orders-crystal body .sp-panel{position:fixed;}
html:root.orders-crystal.orders-optical-glass:not(.glass-off):not(.orders-static-glass):not(.orders-css-scene) body #page-content .glass-painted[data-orders-optical]{background:transparent!important;border-color:transparent!important;box-shadow:var(--card-edge)!important;}
html:root.orders-crystal body .sabsus-currency-dialog{background:var(--elevated-bg)!important;color:var(--ink)!important;border:0!important;border-radius:var(--orders-radius-dialog)!important;box-shadow:var(--shadow)!important;}
html:root.orders-crystal body .sabsus-currency-dialog::backdrop{background:var(--scrim);backdrop-filter:blur(3px);}
html:root.orders-crystal body .sabsus-currency-dialog :is(input,button){background:var(--control-surface)!important;color:var(--ink)!important;border-color:var(--line)!important;}
html:root.orders-crystal body .sabsus-currency-dialog button:hover{background:var(--hover-bg)!important;}
html:root.orders-crystal body .sabsus-currency-dialog .sabsus-currency-options [aria-selected="true"]{background:var(--accent-soft)!important;color:var(--selection-text)!important;}
html:root.orders-crystal body .sabsus-currency-dialog :is(small,p){color:var(--muted)!important;}

/* One control geometry and material. Only the outer shell renders the glass. */
html:root.orders-crystal body :is(.button,.icon-btn,.select-trigger,.setting-trigger,.field-shell,.search-shell,.search-field,.tabs,.segmented,.list-tabs,select){backdrop-filter:blur(18px) saturate(1.04)!important;-webkit-backdrop-filter:blur(18px) saturate(1.04)!important;}
html:root.orders-crystal body :is(.button:not(.primary),.icon-btn,.select-trigger,.setting-trigger,.field-shell,.search-shell,.search-field,.tabs,.segmented,.list-tabs,select){border:0!important;background:var(--orders-control-fill)!important;box-shadow:var(--orders-control-shadow)!important;}
html:root.orders-crystal body :is(.button,.select-trigger,.setting-trigger,.field-shell,.search-shell,.search-field,select){box-sizing:border-box;min-height:var(--orders-control-height);border-radius:var(--orders-radius-control)!important;}
html:root.orders-crystal body :is(.button,.icon-btn,.select-trigger,.setting-trigger):hover:not(:disabled){background:var(--orders-control-hover)!important;box-shadow:var(--orders-control-shadow)!important;}
html:root.orders-crystal body :is(.button.primary,.primary.glass-painted,.button.primary.is-loading){background:var(--orders-control-selected)!important;box-shadow:var(--orders-control-selected-shadow)!important;}
html:root.orders-crystal body :is(.search-shell,.field-shell)>:is(input,textarea){box-sizing:border-box;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;border-radius:inherit;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html:root.orders-crystal body .search-shell{display:flex;align-items:center;overflow:visible;}
html:root.orders-crystal body .search-shell>input{flex:1 1 0;min-width:0;min-height:var(--orders-control-height);height:var(--orders-control-height);padding-block:0;line-height:20px;}
html:root.orders-crystal body :is(.search-shell,.field-shell)>.icon{color:var(--muted)!important;}
html:root.orders-crystal body .search-shell>.icon-btn :is(.icon,svg){color:inherit!important;}
html:root.orders-crystal body .field-shell:has(textarea),html:root.orders-crystal body textarea{border-radius:var(--orders-radius-inset)!important;}
html:root.orders-crystal body :is(.tabs,.segmented,.list-tabs){box-sizing:border-box;min-height:var(--orders-control-height);padding:4px;gap:4px;border-radius:var(--orders-radius-control)!important;}
html:root.orders-crystal body :is(.tabs>.tab,.tabs>button,.segmented>button,.list-tabs>button){box-sizing:border-box;min-height:36px;padding:8px 14px;border:0!important;border-radius:var(--orders-radius-control)!important;background:transparent!important;box-shadow:none!important;line-height:20px;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html:root.orders-crystal body :is(.tabs>.tab,.tabs>button,.segmented>button,.list-tabs>button):is(.active,.selected,[aria-selected="true"],[aria-pressed="true"]){background:var(--orders-control-selected)!important;color:var(--ink)!important;box-shadow:var(--orders-control-selected-shadow)!important;font-weight:600;}
html:root.orders-crystal body :is(.tabs>.tab,.tabs>button,.segmented>button,.list-tabs>button):hover{background:var(--orders-control-hover)!important;}
html:root.orders-crystal body :is(.dialog,.sp-panel,.sabsus-currency-dialog) input:where(:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"])){box-sizing:border-box;min-height:var(--orders-control-height);border-radius:var(--orders-radius-control)!important;color:var(--ink)!important;}
html:root.orders-crystal body :is(.select-menu,.profile-menu,.sabsus-suite-menu){background:var(--card-surface)!important;backdrop-filter:blur(26px) saturate(1.04)!important;-webkit-backdrop-filter:blur(26px) saturate(1.04)!important;}
html:root.orders-crystal body :is(.suite-brand-mark,.brand-mark){background:var(--orders-control-fill)!important;box-shadow:var(--orders-control-shadow)!important;border-radius:var(--orders-radius-control);color:var(--ink)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;}
html:root.orders-crystal body :is(.suite-brand-mark,.brand-mark)>img{filter:grayscale(1) contrast(2);mix-blend-mode:screen;}
html:root.orders-crystal[data-orders-theme="light"] body :is(.suite-brand-mark,.brand-mark)>img{filter:grayscale(1) contrast(2) invert(1);mix-blend-mode:multiply;}
html:root.orders-crystal body .sabsus-suite-menu :is(.suite-icon,.suite-item.is-current){background:var(--control-surface)!important;color:var(--ink)!important;}
html:root.orders-crystal body .sb-launch{background:var(--card-surface)!important;color:var(--ink)!important;border:0!important;box-shadow:var(--card-edge)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important;}
html:root.orders-crystal body .sb-launch svg{fill:currentColor!important;}
.orders-utilities{display:none;}
/* Report controls use the same glass and geometry as other segmented controls. */
html:root.orders-crystal body #page-content .ts-overview :is(.ov-chart-switch,.ts-chart-types){display:flex;align-items:center;gap:4px;box-sizing:border-box;min-height:44px;padding:4px;border:0!important;border-radius:var(--orders-radius-control)!important;background:var(--orders-control-fill)!important;box-shadow:var(--orders-control-shadow)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;}
html:root.orders-crystal body #page-content .ts-overview :is(.ov-chart-switch,.ts-chart-types)>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:36px!important;height:36px;padding:8px 12px!important;border:0!important;border-radius:var(--orders-radius-control)!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html:root.orders-crystal body #page-content .ts-overview .ts-chart-types>button{width:36px;min-width:36px;padding:8px!important;}
html:root.orders-crystal body #page-content .ts-overview :is(.ov-chart-switch,.ts-chart-types)>button:is(.primary,.active,.is-active,[aria-pressed="true"]){background:var(--orders-control-selected)!important;box-shadow:var(--orders-control-selected-shadow)!important;color:var(--ink)!important;}
html:root.orders-crystal body #page-content .ts-overview :is(.ov-chart-switch,.ts-chart-types)>button:hover{background:var(--orders-control-hover)!important;}
html:root.orders-crystal body #page-content .ts-overview :is(.ov-chart-switch,.ts-chart-types)>button:focus-visible{outline:2px solid var(--orders-focus);outline-offset:2px;}
@media(max-width:760px){
  html:root.orders-crystal body .app-header [data-act="courier-shift-qr"],html:root.orders-crystal body .sb-launch{display:none!important;}
  html:root.orders-crystal body .sidebar .orders-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px;}
  html:root.orders-crystal body .orders-utilities .button{font-size:12px;padding-inline:10px;}
  html:root.orders-crystal body .orders-utilities .orders-location-utility{grid-column:1/-1;justify-content:flex-start;gap:10px;}
  html:root.orders-crystal body .orders-location-utility[hidden]{display:none!important;}
  html:root.orders-crystal body .suite-brand-copy{max-width:calc(100vw - 180px);}
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  html:root.orders-crystal{--orders-control-fill:#303234;--orders-control-selected:#4b4c4d;--orders-control-hover:#414345;--orders-control-shadow:none;--orders-control-selected-shadow:none;}
  html:root.orders-crystal[data-orders-theme="light"]{--orders-control-fill:#efefed;--orders-control-selected:#dddcd8;--orders-control-hover:#e5e4e0;}
  html:root.orders-crystal body :is(.button,.icon-btn,.select-trigger,.setting-trigger,.field-shell,.search-shell,.tabs,.segmented,.list-tabs,.tab,.select-menu,.profile-menu,.sabsus-suite-menu){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
}
@media(forced-colors:active){html:root.orders-crystal body :is(.button,.icon-btn,.select-trigger,.setting-trigger,.field-shell,.search-shell,.tabs,.segmented,.list-tabs,select){background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}}
@media print{html:root.orders-crystal body :is(.button,.icon-btn,.field-shell,.search-shell,.tabs,.tab){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}}

/* Blue belongs to primary actions. Local aliases also satisfy the higher-
   specificity settings/catalog rules; surrounding glass tokens stay neutral. */
html:root.orders-crystal body :is(button,a,.button,input[type="submit"],[role="button"]).primary:not(:where([aria-pressed],[aria-selected],[aria-current="page"],[role="tab"],[role="switch"],.status-filter,.tab,.tabs *,.segmented *,.list-tabs *,.ov-chart-switch *,.ts-chart-types *,.appearance-modes *,.appearance-presets *,.catalog-type-tabs *,.catalog-categories *,.subscriptions-tabs *,.subscriptions-kind *,[data-act="orders-calendar"],[data-act="overview-calendar"])) {
  --orders-primary-current:var(--orders-primary-fill);
  --orders-control-fill:var(--orders-primary-current);
  --orders-control-selected:var(--orders-primary-current);
  --orders-control-hover:var(--orders-primary-current);
  --orders-control-shadow:var(--orders-primary-shadow);
  --orders-control-selected-shadow:var(--orders-primary-shadow);
  --hover-bg:var(--orders-primary-current);
  --ink:var(--orders-primary-ink); --navy:var(--orders-primary-ink);
  --text:var(--orders-primary-ink); --text-primary:var(--orders-primary-ink);
  --muted:var(--orders-primary-ink); --text-muted:var(--orders-primary-ink);
  --on-primary:var(--orders-primary-ink); --selection-text:var(--orders-primary-ink);
  background:var(--orders-primary-current)!important;
  color:var(--orders-primary-ink)!important;-webkit-text-fill-color:var(--orders-primary-ink)!important;
  border:0!important;border-radius:var(--orders-radius-control)!important;
  box-shadow:var(--orders-primary-shadow)!important;
}
html:root.orders-crystal body .primary:hover:not(:disabled):not([aria-disabled="true"]){--orders-primary-current:var(--orders-primary-hover);}
html:root.orders-crystal body .primary:active:not(:disabled):not([aria-disabled="true"]){--orders-primary-current:var(--orders-primary-active);}
html:root.orders-crystal body .primary:is(:disabled,[aria-disabled="true"]){opacity:.55!important;cursor:not-allowed;}
html:root.orders-crystal body .primary:focus-visible{outline:2px solid var(--orders-focus);outline-offset:3px;}
@media(forced-colors:active){
  html:root.orders-crystal{--orders-primary-fill:Highlight;--orders-primary-hover:Highlight;--orders-primary-active:Highlight;--orders-primary-ink:HighlightText;--orders-primary-shadow:none;}
}

/* V13 screenshot follow-up: reserve scroll space below the final page action.
 * Append after orders-design.css. This does not position or hide the AI widget
 * or the mobile navigation. Tablet has 20px here; wide desktop has 32px.
 * 96px clears the approximately 50px launcher plus its edge inset and a gap.
 * Mobile retains its separate bottom-navigation spacing. */
@media (min-width:761px) {
  html:root.orders-crystal:has(body > .sb-chat:not([hidden]) > .sb-launch:not([hidden])) {
    --orders-floating-action-clearance:max(96px,calc(80px + env(safe-area-inset-bottom)));
    scroll-padding-block-end:var(--orders-floating-action-clearance);
  }

  html:root.orders-crystal body:has(> .sb-chat:not([hidden]) > .sb-launch:not([hidden])) .app-frame {
    padding-bottom:var(--orders-floating-action-clearance,96px);
  }
}

/* Keep sidebar links under the pointer as short and long sections replace each other. */
@media screen and (min-width:761px) {
  html:root.orders-crystal body .layout:not(.auth-layout) {
    --orders-fixed-nav-width:var(--orders-sidebar-width,204px);
  }
  html:root.orders-crystal body .layout.sidebar-collapsed {
    --orders-fixed-nav-width:76px;
  }
  html:root.orders-crystal body .layout:not(.auth-layout) > #sidebar {
    position:fixed;
    grid-column:1;
    width:var(--orders-fixed-nav-width);
  }
  html:root.orders-crystal body .layout:not(.auth-layout) > #page-content {
    grid-column:2;
  }
}
@media screen and (min-width:761px) and (max-width:1180px) {
  html:root.orders-crystal body .layout:not(.auth-layout) {
    --orders-fixed-nav-width:76px;
  }
  html:root.orders-crystal.orders-sidebar-revealed body .layout:not(.auth-layout) {
    --orders-fixed-nav-width:215px;
  }
}
