:root{font:14px/1.45 Arial,Helvetica,sans-serif;color:#142540;color-scheme:light;--blue:#0660fb;--ink:#142540;--muted:#5e7697;--line:#95b6dd42;--radius:22px;--shadow:0 5px 22px #326ab614,0 1px 3px #3272b912}*{box-sizing:border-box;min-width:0}body{margin:0;background:#dceeff;isolation:isolate}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:none;border:0}button:disabled{opacity:.45;cursor:not-allowed;transform:none!important}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.15;letter-spacing:-1px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:15px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1379ff99;outline-offset:3px}input,select,textarea{max-width:100%;min-height:42px;padding:10px 12px;border:1px solid #9bbce044;border-radius:11px;background:#f5faffbb}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--blue);cursor:pointer}input[type=range]{padding:0}input[type=number]{width:110px}textarea{width:100%;min-height:80px;resize:vertical}label.field{display:grid;gap:6px;font-size:12px;font-weight:600}.field>span{color:var(--muted)}svg{display:block;flex-shrink:0}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.strong{font-weight:700}.blue-text{color:var(--blue)}.danger-text{color:#c54a54}.good-text{color:#12846b}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.grow{flex:1}.full{width:100%}.mt{margin-top:18px}.mb{margin-bottom:18px}.spacer{flex:1}.divider{height:1px;background:var(--line);margin:18px 0}.nowrap{white-space:nowrap}[hidden]{display:none!important}#liquid-scene{position:fixed;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}.glass,[data-glass]{position:relative;isolation:isolate;background:#cde5fb45;border:1px solid #f2faffbd;border-radius:var(--radius);box-shadow:var(--shadow)}.glass-painted.glass{background:transparent;border-color:#effaff80}.glass-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:-1;pointer-events:none;border-radius:inherit;contain:strict}.glass-off .glass-canvas{display:none}.glass-off .glass{background:#eff7ffe8}.app{padding:14px 18px 28px;max-width:1920px;margin:auto}.topbar{height:66px;display:flex;align-items:center;gap:20px;padding:10px 18px;position:sticky;top:10px;z-index:35}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;letter-spacing:-.6px;white-space:nowrap}.brand b{color:var(--blue)}.brand-mark{height:37px;width:37px;border-radius:10px;box-shadow:0 4px 10px #095dff30}.brand-mark svg{width:100%;height:100%}.header-caption{padding-left:20px;border-left:1px solid var(--line);font-size:11px;color:var(--muted)}.clock{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.3px}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border-radius:12px;color:#194a82;font-size:12px;font-weight:650;border:1px solid #ffffffbf;box-shadow:0 3px 8px #3276c711,inset 0 1px 0 #ffffffdb;background:linear-gradient(145deg,#ffffff80,#dbeeff88);transition:transform .15s,box-shadow .15s;white-space:nowrap}.btn:hover,.icon-btn:hover{transform:translateY(-1px);box-shadow:0 5px 15px #216aca22,inset 0 1px 0 #fff}.btn.primary{background:linear-gradient(135deg,#076cff,#0655ec);color:white;border-color:#7eb4ff;box-shadow:0 4px 12px #0063ff30}.btn.success{background:#e0f6ef;color:#137b62;border-color:#a6dece}.btn.danger{background:#fff0f1;color:#bb414a;border-color:#ebc4c7}.btn.flat{box-shadow:none;border-color:transparent;background:none;color:var(--blue)}.btn.compact{min-height:34px;padding:0 10px;font-size:11px;border-radius:10px}.btn.big{min-height:48px;font-size:14px}.icon-btn{width:40px;padding:0}.avatar{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;flex:none;border-radius:50%;background:linear-gradient(130deg,#fafdff,#b4d6ff);box-shadow:inset 0 0 0 1px #ffffffcb;color:#1853a2;font-size:12px;font-weight:700}.avatar.sm{width:27px;height:27px;font-size:10px}.layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:24px;margin-top:16px}.sidebar{position:sticky;top:94px;height:calc(100dvh - 115px);min-height:600px;padding:24px 11px 14px;display:flex;flex-direction:column;z-index:30}.workspace{padding:0 12px 22px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:var(--blue)}.workspace strong{display:block;margin-top:7px;font-size:15px}.workspace small{font-size:11px;color:var(--muted)}.nav{display:grid;gap:6px}.nav a{display:flex;align-items:center;gap:11px;min-height:44px;border:1px solid transparent;border-radius:13px;padding:0 11px;font-size:12px;color:#4d6c97}.nav .icon{color:#1366d9;width:18px;height:18px}.nav a:hover{background:#ffffff45}.nav a.active{background:#f4faff5c;box-shadow:-3px 0 0 #0862fa,0 4px 13px #3979c214;border-color:#ffffffb0;color:#132642;font-weight:700}.nav .count{margin-left:auto;border-radius:7px;background:#9fc8ff3f;padding:2px 6px;color:#0961e9;font-size:10px}.sidebar-bottom{margin-top:auto;padding:20px 9px 0}.sidebar-promo{padding:14px 11px;border:1px solid #ffffff99;border-radius:17px;background:#ffffff3b}.sidebar-promo svg{height:62px;margin:auto}.sidebar-promo p{font-size:11px;margin:8px 0 12px;color:#517295}.sidebar-foot{font-size:10px;color:#7390b3;display:block;margin-top:15px}.main{min-width:0}.mode-banner{display:flex;align-items:center;gap:8px;font-size:10px;color:#5a77a1;margin:2px 2px 16px}.mode-banner i{width:6px;height:6px;border-radius:50%;background:#438aff}.mode-banner button{font-size:10px;color:var(--blue);padding:0;margin-left:auto;text-decoration:underline;text-underline-offset:3px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.page-head .eyebrow{margin-bottom:8px}.page-head p{color:var(--muted);font-size:12px;margin-top:8px}.head-actions{display:flex;gap:8px;align-items:center}.head-art{width:90px;opacity:.8}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat{display:flex;align-items:center;gap:13px;padding:18px;min-height:96px}.stat-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#e5f2ffc4;border:1px solid #fff;box-shadow:inset 0 1px 4px #e2f3ff,0 3px 10px #376fb717;color:var(--blue)}.stat strong{display:block;font-size:29px;line-height:1.1;letter-spacing:-1px;margin-bottom:5px}.stat label{font-size:11px;color:#5a7495}.stat .change{margin-left:auto;font-size:10px;align-self:flex-start;color:#6789b4}.filter-panel{padding:16px;margin-bottom:18px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar select{min-width:155px;font-size:12px}.search{position:relative;display:flex;align-items:center;gap:8px;background:#f7fbff9e;border:1px solid #ffffffbd;border-radius:11px;padding:0 11px;flex:1;min-width:190px;color:#7892b5}.search input{width:100%;background:none;border:0;padding:10px 0;font-size:12px;min-height:41px}.search:focus-within{outline:2px solid #4890ef}.tabs{display:flex;gap:4px;padding:4px;background:#b7d5f52b;border:1px solid #fff8;border-radius:12px;overflow-x:auto}.tabs button{padding:9px 13px;border-radius:9px;white-space:nowrap;font-size:12px;font-weight:600;color:#54739b;display:flex;align-items:center;gap:7px}.tabs button.active{background:#f8fcffe6;color:#155de0;box-shadow:0 3px 8px #3965a019,inset 0 0 0 1px #fff}.tabs .num{font-size:10px;padding:1px 5px;border-radius:5px;background:#dceaff}.filter-bottom{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.toggle{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);white-space:nowrap}.view-toggle{display:flex;padding:3px;border:1px solid #ffffffa0;border-radius:10px}.view-toggle button{padding:6px 10px;border-radius:7px;font-size:11px;display:flex;gap:6px;align-items:center;color:#6781a4}.view-toggle button.active{background:#fff9;color:var(--blue)}.board-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6a83a4;margin:18px 2px 12px}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.order-card{padding:0;overflow:hidden;background:#eaf4ffb8;border:1px solid #fff;border-radius:19px;box-shadow:0 4px 17px #3a72a20e;position:relative}.order-card:before{content:'';display:block;height:4px;background:#78b6fa}.order-card.urgent:before{background:#ef896c}.order-card.ready:before{background:#53b9a1}.order-card.selected{outline:2px solid #357dfa;outline-offset:2px}.order-head{padding:15px 15px 12px;display:flex;align-items:flex-start;gap:10px}.order-number{font-size:19px;font-weight:700;letter-spacing:-.6px}.order-ref{font-size:11px;color:#5f789c;margin-top:4px}.order-timer{margin-left:auto;text-align:right}.timer{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;padding:4px 7px;background:#ddeaff;border-radius:7px;color:#467aaf}.timer.late{background:#fff0e5;color:#bf6142}.timer.good{background:#dbf2e9;color:#237d68}.timer .icon{width:14px;height:14px}.order-timer small{display:block;font-size:9px;color:#7a91ad;margin-top:3px}.order-note{margin:0 15px 11px;padding:7px 9px;font-size:10px;color:#967343;background:#fff0d991;border-radius:7px;display:flex;gap:6px;align-items:center}.order-note .icon{height:13px;width:13px}.order-items{padding:0 11px;display:grid;gap:8px}.order-item{padding:13px 11px;background:#fbfdffbf;border:1px solid #fff;border-radius:13px}.item-title{font-weight:700;font-size:13px;line-height:1.35;text-align:left;padding:0}.item-title:hover{color:var(--blue)}.qty{font-weight:700;font-size:14px;min-width:28px;text-align:right;margin-left:auto;color:#345b8a}.item-meta{font-size:10px;color:#7186a4;margin:6px 0 11px;display:flex;align-items:center;gap:5px}.station-dot{width:5px;height:5px;border-radius:50%;background:#5d9bee}.item-actions{display:flex;align-items:center;justify-content:space-between;gap:7px}.item-actions>.btn{min-height:36px;font-size:11px;padding-inline:10px}.stage-pill,.badge{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:650;white-space:nowrap}.stage-pill.queued,.badge.gray{background:#e8eef5;color:#6a7e97}.stage-pill.preparing,.badge.blue{background:#dbe9ff;color:#2764bf}.stage-pill.ready,.stage-pill.served,.badge.green{background:#daf0e8;color:#2c836b}.stage-pill.cancelled,.badge.red{background:#fde7e8;color:#bc565c}.badge.amber{background:#fff0d5;color:#9c722e}.badge.purple{background:#e7e1fb;color:#7d63b0}.badge.mint{background:#dff5f1;color:#318d82}.progress{height:4px;border-radius:3px;background:#dde8f7;overflow:hidden}.progress span{display:block;height:100%;background:#4c94ee;border-radius:inherit}.order-footer{display:grid;gap:10px;padding:13px 15px 14px}.order-footer .row{gap:5px}.order-footer .btn{min-height:35px;font-size:10px;padding-inline:9px}.order-footer .progress{height:3px}.order-foot-info{display:flex;justify-content:space-between;font-size:10px;color:#6682a6}.selection-bar{position:sticky;bottom:16px;z-index:32;display:flex;align-items:center;gap:12px;padding:13px 18px;margin-top:20px;border:1px solid #fff;border-radius:16px;background:#f2f8fff5;box-shadow:0 5px 25px #134f9930}.panel{padding:22px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.split{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.table-scroll{overflow:auto;border-radius:14px}.table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.table th{text-align:left;padding:12px;color:#7790af;font-size:10px;font-weight:600;border-bottom:1px solid var(--line)}.table td{padding:14px 12px;border-bottom:1px solid var(--line)}.table tr:last-child td{border:0}.table tbody tr:hover{background:#fff3}.table .numeric{text-align:right;font-variant-numeric:tabular-nums}.table input[type=number]{width:88px;min-height:35px;padding:7px}.table input[type=text]{min-height:35px;padding:7px;width:150px}.table select{min-height:35px;padding:7px;font-size:11px}.table .sub{font-size:10px;color:#7890ac;margin-top:3px}.empty{padding:45px 20px;text-align:center;color:#7189a6}.empty .icon{width:35px;height:35px;margin:0 auto 12px;color:#88add9}.empty h3{color:#446384;margin-bottom:8px}.recipe-card{padding:18px;display:flex;flex-direction:column;min-height:260px}.recipe-visual{height:88px;display:flex;align-items:center;justify-content:center;margin:-4px 0 15px;position:relative}.recipe-visual:before{content:'';position:absolute;width:85px;height:55px;border-radius:50%;background:#7baaff30;filter:blur(11px);bottom:5px}.recipe-visual svg{width:95px;height:80px;z-index:1}.recipe-card h3{font-size:16px;margin:8px 0}.recipe-card p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:16px}.recipe-card .btn{margin-top:auto}.recipe-meta{display:flex;gap:12px;margin:5px 0 14px;font-size:10px;color:#6b84a5}.notice{padding:13px 15px;border-radius:12px;background:#eff8ffb8;border:1px solid #fff;font-size:12px;line-height:1.6;color:#537399;display:flex;align-items:flex-start;gap:10px}.notice.amber{background:#fff4dfa6;color:#917342}.notice .icon{margin-top:1px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px}.steps{list-style:none;padding:0;margin:15px 0;display:grid;gap:13px;counter-reset:steps}.steps li{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.6}.steps li:before{counter-increment:steps;content:counter(steps);flex:none;width:25px;height:25px;display:grid;place-items:center;background:#d6e8ff;color:#1f66c1;border-radius:8px;font-size:11px;font-weight:700}.course-card{border:1px solid #fff;border-radius:15px;background:#e9f4ff99;padding:16px}.course-screen{height:120px;border-radius:12px;background:linear-gradient(130deg,#164ab7,#1885e9);color:white;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin-bottom:15px}.course-screen:before{content:'';position:absolute;border:1px solid #ffffff30;width:140px;height:140px;border-radius:35px;transform:rotate(35deg);right:-30px;top:-60px}.course-screen .icon{width:34px;height:34px}.course-card h3{font-size:13px;line-height:1.5}.course-card p{font-size:11px;color:#6683a5;margin:8px 0 15px}.course-player{background:#102447;border-radius:15px;overflow:hidden}.course-player video{display:block;width:100%;max-height:350px}.lesson-slide{min-height:240px;background:linear-gradient(130deg,#1c53b6,#288bec);color:white;padding:32px;display:flex;flex-direction:column;justify-content:center;gap:15px}.lesson-slide .eyebrow{color:#bee1ff}.lesson-slide h2{font-size:27px;max-width:450px}.lesson-controls{padding:12px;display:flex;gap:8px;align-items:center;justify-content:space-between}.lesson-controls .small{color:#c5defd}.overlay{position:fixed;inset:0;z-index:80;background:#1f416633;backdrop-filter:blur(10px);display:flex;justify-content:center;align-items:center;padding:25px}.modal{width:min(870px,100%);max-height:calc(100dvh - 50px);overflow:auto;border-radius:24px;background:#eaf5fff7;border:1px solid #fff;box-shadow:0 18px 70px #1a4a8745;padding:26px;position:relative}.modal.wide{width:min(1120px,100%)}.modal.small-modal{width:520px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.modal-header h2{font-size:24px}.modal-header p{font-size:12px;color:var(--muted);margin-top:6px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}.modal-footer .muted{margin-right:auto;font-size:10px;max-width:450px}.modal .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .fullwidth{grid-column:1/-1}.metric-line{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.metric-line:last-child{border:0}.metric-line b{color:#174b89}.purchase-card{padding:20px}.purchase-card .supplier-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#d9eaff;color:#2c74d0}.source-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:4px}.source-tags span{padding:2px 5px;border-radius:4px;background:#e5effa;font-size:9px;color:#6687ac}.document-card{padding:19px;display:grid;gap:12px}.document-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#dceaff;color:#2c70c5}.checklist{display:grid;gap:12px;margin-top:15px}.check-row{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid #fff;border-radius:11px;background:#f6faff91;font-size:12px}.check-row.checked{color:#7593a6}.check-row.checked span{text-decoration:line-through}.timeline{display:grid;gap:0}.timeline-row{display:grid;grid-template-columns:32px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.timeline-dot{width:30px;height:30px;background:#dfeaff;color:#3b76c4;border-radius:10px;display:grid;place-items:center}.timeline-row p{font-size:12px}.timeline-row small{font-size:10px;color:#7590ad}.timeline-row strong{font-size:12px}.settings-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-row:last-child{border:0}.settings-row h3{font-size:13px}.settings-row p{font-size:11px;color:var(--muted);margin-top:4px}.settings-row .toggle{font-size:12px}.integration-status{font-size:11px;color:#7c93b0;display:flex;align-items:center;gap:7px}.integration-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#b7c6d8}.operation-row{background:#f4faffb3;border:1px solid #fff;border-radius:13px;padding:14px;margin-bottom:10px}.operation-row .row{flex-wrap:wrap}.operation-index{width:27px;height:27px;display:grid;place-items:center;background:#d4e6ff;border-radius:8px;color:#2265c4;font-size:12px;font-weight:700}.operation-status{display:flex;gap:12px;margin-top:10px;font-size:11px;color:#6b86a4}.mobile-menu{display:none}.mobile-nav{display:none}#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);z-index:100;padding:14px 21px;border:1px solid #fff;border-radius:14px;background:#eff8fff5;box-shadow:0 8px 30px #20558730;max-width:calc(100% - 30px);font-size:12px;color:#205684;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.readability .order-card,.readability .order-item{background:#fff}.readability .item-title{font-size:15px}.readability .item-actions>.btn{min-height:43px}.readability .timer{font-size:16px}.readability .board{gap:20px}body.focus-mode .sidebar,body.focus-mode .mode-banner,body.focus-mode .header-caption{display:none}body.focus-mode .layout{grid-template-columns:1fr}body.focus-mode .board{grid-template-columns:repeat(4,minmax(0,1fr))}.print-only{display:none}
@media(min-width:1600px){.board{grid-template-columns:repeat(4,minmax(0,1fr))}.layout{gap:28px}.main{padding-right:3px}}
@media(max-width:1250px){.layout{grid-template-columns:185px minmax(0,1fr);gap:17px}.sidebar{padding-inline:9px}.nav a{font-size:11px;padding-inline:8px;gap:8px}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px;gap:10px}.stat strong{font-size:26px}.stat-icon{width:36px;height:36px}.header-caption{display:none}.stats{gap:10px}.split{grid-template-columns:minmax(0,1fr) 260px}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions .workspace-select{max-width:175px}body.focus-mode .board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.layout{grid-template-columns:72px minmax(0,1fr);gap:16px}.sidebar .workspace,.sidebar .sidebar-bottom,.nav a>span:not(.count){display:none}.sidebar{padding:16px 8px;min-height:500px}.nav a{justify-content:center;padding:0;position:relative}.nav a .count{position:absolute;right:0;top:1px;padding:1px 3px;font-size:8px}.nav a .icon{width:21px;height:21px}.page-head{flex-wrap:wrap}.head-actions{margin-top:3px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.split,.detail-grid{grid-template-columns:1fr}.grid2{gap:14px}.clock{display:none}.top-actions .workspace-select{display:none}.sidebar-promo{display:none}.filter-bottom{flex-wrap:wrap}.board{gap:12px}.order-head{padding:12px}.order-items{padding-inline:8px}.order-item{padding:11px 9px}.modal{padding:21px}.selection-bar{flex-wrap:wrap}.selection-bar .btn.primary{margin-left:auto}.tabs{max-width:100%}}
@media(max-width:650px){.app{padding:9px 10px 90px}.topbar{height:58px;padding:9px 11px;top:7px;border-radius:18px;gap:7px}.brand{font-size:17px;gap:7px}.brand-mark{height:31px;width:31px}.top-actions{gap:5px}.top-actions .btn.glass-settings{font-size:0;gap:0;width:34px;padding:0;min-height:35px}.top-actions .icon-btn{width:34px;min-height:35px}.top-actions .avatar{width:31px;height:31px}.layout{display:block;margin-top:12px}.sidebar{display:none;position:fixed;inset:0 auto 0 0;height:100dvh;min-height:0;width:250px;z-index:75;padding:25px 14px;background:#e8f3fff7;border-radius:0 22px 22px 0}.sidebar.open{display:flex}.sidebar.open .workspace,.sidebar.open .sidebar-bottom,.sidebar.open .nav a>span:not(.count){display:block}.sidebar.open .nav a{justify-content:flex-start;padding:0 12px;font-size:13px;gap:12px}.sidebar.open .nav a .count{position:static;margin-left:auto;font-size:10px;padding:2px 6px}.mobile-menu{display:inline-flex;width:30px;min-height:32px;padding:0;border:0;box-shadow:none;background:none}.mobile-nav{display:flex;position:fixed;bottom:9px;left:10px;right:10px;z-index:40;justify-content:space-around;gap:3px;padding:5px;background:#edf7fff2;border:1px solid #fff;border-radius:18px;box-shadow:0 6px 25px #37659a29;backdrop-filter:blur(15px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:12px;font-size:9px;flex:1;color:#7390b4}.mobile-nav a.active{background:#c4e0ff91;color:#0661e9}.mobile-nav .icon{width:20px;height:20px}.page-head{margin-bottom:17px;gap:10px}.page-head .eyebrow{font-size:9px;margin-bottom:5px}h1{font-size:29px}.page-head p{font-size:11px;line-height:1.5;max-width:310px}.head-art{display:none}.head-actions{width:100%;gap:7px}.head-actions .btn{font-size:11px;min-height:38px;padding-inline:11px}.mode-banner{font-size:8px;gap:5px;margin-bottom:16px}.mode-banner button{font-size:8px;white-space:nowrap}.stats{gap:9px;margin-bottom:15px}.stat{padding:13px;min-height:86px}.stat label{font-size:10px}.stat strong{font-size:25px}.stat .change{display:none}.filter-panel{padding:12px;border-radius:17px}.toolbar{gap:8px}.toolbar select{min-width:0;flex:1;font-size:11px}.search{min-width:100%;flex-basis:100%}.filter-bottom{gap:10px}.tabs{width:100%}.tabs button{padding:8px 10px;font-size:11px}.filter-bottom .toggle{font-size:10px}.view-toggle button{font-size:10px;padding:5px 7px}.board{grid-template-columns:1fr;gap:14px}.order-head{padding:15px}.order-items{padding-inline:12px}.order-item{padding:14px 12px}.item-title{font-size:15px}.item-meta{font-size:11px}.item-actions>.btn{min-height:42px;font-size:12px}.order-footer .btn{min-height:39px;font-size:11px}.order-ref{font-size:12px}.order-note{font-size:11px}.order-foot-info{font-size:11px}.timer{font-size:14px}.panel{padding:18px;border-radius:18px}.grid2,.grid3{grid-template-columns:1fr}.recipe-card{min-height:240px}.recipe-visual{height:76px}.recipe-card h3{font-size:17px}.table{font-size:11px}.table th{padding:10px 9px}.table td{padding:12px 9px}.overlay{padding:10px}.modal{max-height:calc(100dvh - 20px);padding:20px 16px;border-radius:20px}.modal-header h2{font-size:22px}.modal .form-grid{grid-template-columns:1fr}.modal-footer{flex-wrap:wrap;gap:8px}.modal-footer .muted{flex-basis:100%;max-width:none}.modal-footer>.btn{flex:1}.detail-grid{gap:17px}.selection-bar{bottom:79px;padding:12px;font-size:11px;gap:8px}.selection-bar .btn{font-size:10px;padding-inline:10px;min-height:35px}.selection-bar .small{font-size:10px}.notice{font-size:11px;padding:12px}.settings-row{gap:12px}.settings-row select{max-width:160px;font-size:11px}.lesson-slide{padding:24px;min-height:210px}.lesson-slide h2{font-size:23px}#toast{bottom:83px;width:max-content;font-size:11px}body.focus-mode .board{grid-template-columns:1fr}.board-heading{font-size:10px}.order-card{border-radius:18px}.operation-row .btn{font-size:10px}.operation-status{gap:9px;font-size:10px;flex-wrap:wrap}.print-only{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.app,.mobile-nav,#toast,#liquid-scene{display:none!important}.overlay{position:static;display:block;padding:0;background:white;backdrop-filter:none}.modal{max-height:none;overflow:visible;border:0;box-shadow:none;width:100%;padding:10px;background:white}.modal .btn,.modal .icon-btn{display:none}.modal-footer{display:none}.print-only{display:block}.glass-canvas{display:none!important}}
/* The current shared KIT-1 engine appends sg-pane, not the older glass-canvas class. */
.sg-pane{position:absolute!important;inset:-1px!important;display:block!important;width:calc(100% + 2px)!important;height:calc(100% + 2px)!important;max-width:none!important;border-radius:inherit;pointer-events:none!important;z-index:-1!important;contain:strict}.glass-off .sg-pane{visibility:hidden!important}
@media print{.sg-pane{display:none!important}}
/* Interaction acceptance: primary contrast, bounded loading, large touch targets. */
.btn.primary,.btn.primary:hover,.btn.primary:focus-visible,.btn.primary:disabled{color:#fff!important}.btn.primary .icon,.btn.primary span{color:#fff!important;stroke:currentColor}.btn.is-loading{position:relative;overflow:hidden;opacity:1;cursor:progress;isolation:isolate}.btn.is-loading:after{content:'';position:absolute;z-index:0;left:20%;top:calc(50% - 9px);width:15px;height:18px;border-radius:58% 42% 65% 35%;background:radial-gradient(circle at 30% 25%,#fff 0 10%,#c6eaffc9 38%,#75b6ff7a 70%);box-shadow:inset 0 1px 2px white,0 0 10px #fff7;pointer-events:none;animation:kds-loading-drop .65s ease-in-out infinite alternate}.btn.is-loading:has(.sg-pane):after{opacity:.35}@keyframes kds-loading-drop{from{left:19%;transform:translateX(-50%) rotate(-22deg) scale(.9,1)}to{left:80%;transform:translateX(-50%) rotate(26deg) scale(1.12,.92)}}.nav-backdrop,.nav-close{display:none}.stat>div{flex:1}.stat label{display:block}.brand-mark{flex:none}.modal .btn{min-height:42px}
@media(max-width:650px),(pointer:coarse){.btn,.btn.compact,.item-actions>.btn,.order-footer .btn,.modal .btn,.head-actions .btn,.selection-bar .btn{min-height:46px}.icon-btn,.top-actions .icon-btn,.top-actions .btn.glass-settings,.mobile-menu{width:44px;min-width:44px;min-height:44px;height:44px}.topbar{height:66px}.top-actions .avatar{width:32px;height:32px}.tabs button{min-height:44px;padding-inline:12px}.view-toggle button{min-height:40px}.order-number,.item-title{min-height:34px;display:flex;align-items:center}.order-head input[type=checkbox],.order-item input[type=checkbox]{width:24px;height:24px;min-height:24px;flex:none;box-shadow:0 0 0 9px #ffffff01;margin:9px 5px}.toggle{min-height:44px}.toggle input[type=checkbox],.check-row input[type=checkbox]{width:23px;height:23px;min-height:23px;flex:none}.check-row{min-height:46px;align-items:center}.order-footer .row{flex-wrap:wrap}.order-footer .btn{font-size:11px}.nav-backdrop.open{display:block;position:fixed;inset:0;z-index:70;background:#24446a42;backdrop-filter:blur(4px)}.sidebar.open .nav-close{display:flex;position:absolute;right:12px;top:14px}.sidebar.open .workspace{padding-top:37px}.item-actions{gap:6px}.item-actions>.stage-pill{font-size:10px}.mobile-nav a{min-height:50px}.selection-bar{bottom:84px}.course-card .btn{width:100%}input,select,textarea{min-height:46px}}
@media(prefers-reduced-motion:reduce){.btn.is-loading:after{animation:none!important;left:75%}}
.checkbox-hit{display:inline-flex;justify-content:center;align-items:center;flex:none;cursor:pointer}.checkbox-hit input[type=checkbox]{margin:0}
@media(max-width:650px),(pointer:coarse){.checkbox-hit{width:44px;height:44px;min-width:44px;margin:-7px -5px}.order-head .checkbox-hit{margin-top:-8px}.checkbox-hit input[type=checkbox]{width:22px;height:22px;min-height:22px;margin:0}.top-actions{gap:3px}.topbar{padding-inline:9px}.brand{font-size:16px}.brand-mark{width:30px;height:30px}.top-actions .avatar{display:none}.order-item .row{gap:7px}}
.order-note,.order-ref,.item-title,.recipe-card h3,.recipe-card p,.modal p,.modal h2,.source-tags{overflow-wrap:anywhere}.modal-footer .btn{white-space:normal;text-align:center}.order-card .order-note{align-items:flex-start}.order-card .order-note .icon{flex:none}
@media(max-width:650px),(pointer:coarse){.view-toggle button{min-height:44px}.order-number,.item-title{min-height:44px}.mode-banner button{min-height:44px}.mode-banner{margin-block:-2px 8px}.head-actions .btn{white-space:normal}.top-actions .glass-settings{overflow:hidden}}
/* Production-first workspace: the queue owns the screen. */
.workspace-v2{padding:9px 12px 100px;max-width:none}.workspace-v2 .topbar{height:52px;top:8px;padding:5px 10px;gap:10px;border-radius:16px}.workspace-v2 .menu-button{display:inline-flex;width:40px;min-width:40px;height:40px;min-height:40px}.workspace-v2 .brand{font-size:18px;gap:8px}.workspace-v2 .brand-mark{width:30px;height:30px}.workspace-v2 .header-location{font-size:11px;color:#5c769c;margin-left:9px}.workspace-v2 .clock{font-size:16px;margin:0 5px}.workspace-v2 .header-demo{font-size:9px;padding:3px 6px;border:1px solid #ffffff85;border-radius:6px;color:#6a88b0;white-space:nowrap}.workspace-v2 .control-trigger{min-height:38px;padding:0 10px;font-size:11px}.workspace-v2 .control-trigger>.icon{width:15px;height:15px}.workspace-v2 .layout{gap:12px;margin-top:10px;grid-template-columns:minmax(0,1fr)}.workspace-v2 .main{padding:0}.workspace-v2 .sidebar{display:none}.workspace-v2.sidebar-full .layout{grid-template-columns:220px minmax(0,1fr)}.workspace-v2.sidebar-icons .layout{grid-template-columns:66px minmax(0,1fr)}.workspace-v2.sidebar-full .sidebar,.workspace-v2.sidebar-icons .sidebar{display:flex;position:sticky;top:70px;height:calc(100dvh - 86px);min-height:0;padding:15px 9px 10px;border-radius:18px;overflow:visible}.workspace-v2 .workspace{padding:6px 11px 18px}.workspace-v2 .workspace strong{font-size:13px}.workspace-v2 .nav a{min-height:43px;font-size:11px;gap:10px;padding-inline:10px}.workspace-v2 .nav a>span:not(.count){display:inline}.workspace-v2 .sidebar-bottom{padding:15px 4px 0}.sidebar-modes{display:flex;justify-content:center;gap:4px}.sidebar-modes .icon-btn{min-height:34px;height:34px;width:34px}.workspace-v2.sidebar-icons .workspace,.workspace-v2.sidebar-icons .nav a>span,.workspace-v2.sidebar-icons .sidebar-bottom{display:none}.workspace-v2.sidebar-icons .nav a{justify-content:center;padding:0}.workspace-v2 .sidebar-resizer{position:absolute;top:18px;bottom:18px;right:-7px;width:14px;cursor:ew-resize;touch-action:none;z-index:5;display:flex;align-items:center;justify-content:center}.sidebar-resizer:after{content:'';width:3px;height:42px;background:#8ab5e580;border-radius:3px;box-shadow:0 0 0 1px #fff8}.sidebar-resizer:hover:after,.sidebar-resizer:focus:after{background:#2b7af6}.sidebar-resizing{cursor:ew-resize;user-select:none}.workspace-v2 .compact-controls{padding:11px 13px;margin-bottom:12px;border-radius:17px}.compact-controls .toolbar{gap:8px}.compact-controls .toolbar select{min-width:130px;max-width:180px}.compact-controls .search{min-width:210px}.controls-secondary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px solid #9ab9df26}.controls-secondary select{font-size:11px;min-height:38px;padding-block:6px}.controls-secondary .btn{min-height:38px;font-size:11px}.queue-caption{display:flex;justify-content:space-between;align-items:center;color:#6784a8;font-size:10px;padding:0 3px 8px;min-height:21px}.queue-caption b{color:#315d92}.dense-board{grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:10px;align-items:start}.dense-board .order-card{border-radius:16px;background:transparent!important;box-shadow:0 4px 12px #3166a512;overflow:hidden}.dense-board .order-card:before{height:3px}.dense-board .order-head{padding:7px 10px;gap:5px;align-items:center}.dense-board .order-heading{display:flex;align-items:center;gap:7px}.dense-board .order-number{font-size:17px;min-height:32px;padding:0 2px;letter-spacing:-.5px}.dense-board .order-type{font-size:9px;color:#627fa5;white-space:nowrap}.dense-board .checkbox-hit{width:30px;height:32px;min-width:30px;margin:0}.dense-board .checkbox-hit input{width:17px;height:17px;min-height:17px;box-shadow:none;margin:0}.dense-board .timer{font-size:12px;padding:4px 6px;background:#e6f1ff80;border:1px solid #fff7}.dense-board .timer.late{color:#b95b39;background:#fff1dd95}.dense-board .order-note{width:calc(100% - 18px);display:flex;align-items:center;margin:0 9px 7px;padding:5px 7px;font-size:10px;min-height:27px;border:1px solid #fff6;background:#fff2d66b;text-align:left;overflow:hidden}.dense-board .order-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.dense-board .order-items{padding:0 8px;gap:6px}.dense-board .order-item{background:transparent!important;border-radius:12px;padding:8px 9px;border-color:#fff9}.dense-board .item-main{gap:5px}.dense-board .item-title{font-size:12px;min-height:32px;line-height:1.3;flex:1}.dense-board .qty{font-size:13px;min-width:24px}.dense-board .item-meta{font-size:9px;gap:4px;line-height:1.3;margin:2px 1px 7px;min-height:13px;flex-wrap:nowrap}.dense-board .item-meta>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item-clock{font-size:10px;color:#3279cc;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}.item-clock.late{color:#c35e35;background:#fff1df;padding:2px 5px;border-radius:5px}.dense-board .item-actions{gap:5px}.dense-board .item-actions .btn{min-height:35px;font-size:10px;padding-inline:10px;border-radius:9px}.dense-board .card-shortcut{padding-inline:8px;color:#3a669d}.dense-board .card-shortcut>.icon{width:15px;height:15px}.dense-board .stage-pill{font-size:9px;padding:4px 6px}.dense-board .stage-pill .icon{width:13px;height:13px}.dense-board .order-footer{padding:7px 10px 9px;gap:6px}.dense-board .order-foot-info{gap:6px;align-items:center;justify-content:flex-start;font-size:9px}.dense-board .order-footer .icon-btn{width:31px;height:31px;min-height:31px;border-radius:9px;box-shadow:none}.dense-board .order-footer .icon-btn .icon{width:16px;height:16px}.dense-board .order-footer .btn{min-height:31px;font-size:10px;padding-inline:8px}.shortage-link{display:flex;align-items:center;gap:3px;color:#a9673b;font-size:9px;padding:5px 2px;white-space:nowrap}.shortage-link .icon{width:12px;height:12px}.bulk-dock{position:fixed!important;z-index:45;left:12px;right:12px;bottom:12px;max-width:1500px;margin:auto;min-height:64px;padding:9px 12px;display:flex;align-items:center;gap:14px;border-radius:18px;background:#dcecffb5;border:1px solid #fff;box-shadow:0 8px 35px #22569730}.bulk-context{display:flex;align-items:center;gap:7px;flex:none;white-space:nowrap;font-size:11px}.bulk-context .checkbox-hit{width:34px;height:42px}.bulk-context .icon-btn{width:30px;min-height:34px;height:34px;border:0;box-shadow:none}.bulk-actions{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:thin;flex:1;padding:1px 0 3px}.bulk-actions .btn{min-height:44px;min-width:85px;font-size:11px;padding-inline:11px;flex:none}.bulk-actions .btn:disabled{opacity:.38}.bulk-actions .btn .icon{width:16px;height:16px}.workspace-v2 .page-head{margin-top:8px}.workspace-v2 .btn>*:not(.sg-pane),.workspace-v2 .icon-btn>*:not(.sg-pane){position:relative;z-index:1}.workspace-v2 .btn.primary{background:#0760f5;color:#fff!important}.workspace-v2 .glass .sg-pane{opacity:1}.workspace-v2 .order-item,.workspace-v2 .order-card{isolation:isolate}.bom-quantity{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f4faff77;border:1px solid #fff;border-radius:12px}.bom-quantity input{width:90px}.bom-table th:nth-child(n+2),.bom-table td:nth-child(n+2){text-align:right}.document-note{font-size:11px;color:#6c86a6;margin-top:12px}.shift-roster{display:grid;gap:9px}.shift-person{padding:12px;border:1px solid #fff;background:#f4f9ff88;border-radius:13px}.shift-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.shift-methods .btn{min-height:58px;flex-direction:column;font-size:12px}.shift-code{font:700 27px/1.5 Arial,sans-serif;letter-spacing:9px;text-align:center;padding:18px;background:#dcecff;border:1px solid #fff;border-radius:15px}.shift-qr{width:156px;height:156px;padding:12px;background:#fff;border-radius:12px;margin:18px auto;display:grid;place-items:center}.shift-qr svg{width:100%;height:100%}.shift-qr-caption{text-align:center;font-size:11px;color:#6782a3}.purchase-line-form{display:grid;grid-template-columns:minmax(180px,1fr) 100px 100px 44px;gap:8px;align-items:end;padding:10px 0;border-bottom:1px solid var(--line)}
@media(min-width:1550px){.dense-board{grid-template-columns:repeat(auto-fit,minmax(275px,1fr))}}@media(min-width:1900px){.dense-board{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}
@media(max-width:1100px){.dense-board{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.workspace-v2 .header-location{display:none}.bulk-context b{max-width:95px;overflow:hidden;text-overflow:ellipsis}.bulk-dock{gap:8px}.bulk-actions .btn{min-width:79px;padding-inline:9px;font-size:10px}}
@media(max-width:780px){.workspace-v2.sidebar-full .layout{grid-template-columns:180px minmax(0,1fr)}.workspace-v2.sidebar-icons .layout{grid-template-columns:60px minmax(0,1fr)}.dense-board{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.bulk-context{gap:3px}.bulk-context b{display:none}.bulk-dock{padding:7px 9px;gap:6px}.bulk-actions .btn{min-width:77px}.compact-controls .search{min-width:100%}.compact-controls .toolbar select{flex:1;max-width:none;min-width:110px}}
@media(max-width:650px){.workspace-v2{padding:7px 8px 90px}.workspace-v2 .topbar{top:6px;height:54px;padding:4px 7px;gap:5px;border-radius:15px}.workspace-v2 .menu-button{width:38px;min-width:38px;height:44px;min-height:44px}.workspace-v2 .brand{font-size:15px;gap:5px}.workspace-v2 .brand-mark{width:27px;height:27px}.workspace-v2 .clock{display:block;font-size:13px;margin:0 4px}.workspace-v2 .header-demo{font-size:8px;padding:2px 4px}.workspace-v2 .control-trigger{width:41px;min-width:41px;min-height:44px;padding:0}.workspace-v2 .control-trigger span,.workspace-v2 .control-trigger .icon:last-child{display:none}.workspace-v2 .control-trigger>.icon{width:20px;height:20px}.workspace-v2 .layout,.workspace-v2.sidebar-full .layout,.workspace-v2.sidebar-icons .layout{display:block;margin-top:9px}.workspace-v2.sidebar-full .sidebar,.workspace-v2.sidebar-icons .sidebar{position:fixed;left:0;top:0;bottom:0;height:100dvh;width:245px;z-index:75;padding-top:20px;background:#dcecff;box-shadow:15px 0 50px #19437230;border-radius:0 22px 22px 0}.workspace-v2.sidebar-icons .sidebar{width:66px}.workspace-v2.sidebar-full .nav-backdrop,.workspace-v2.sidebar-icons .nav-backdrop{display:block;position:fixed;inset:0;z-index:70;background:#254c7338;backdrop-filter:blur(4px)}.workspace-v2 .sidebar-resizer{right:-7px}.workspace-v2 .nav a{min-height:46px}.workspace-v2 .sidebar-bottom{display:block}.workspace-v2.sidebar-icons .sidebar-bottom{display:none}.dense-board{grid-template-columns:1fr;gap:10px}.dense-board .order-head{padding:6px 10px;min-height:49px}.dense-board .checkbox-hit{width:36px;height:44px;min-width:36px}.dense-board .checkbox-hit input{width:21px;height:21px;min-height:21px}.dense-board .order-number{min-height:44px;font-size:18px}.dense-board .order-type{font-size:10px}.dense-board .item-title{font-size:14px;min-height:40px}.dense-board .item-main{gap:5px}.dense-board .order-item{padding:7px 10px}.dense-board .item-meta{font-size:10px;margin:0 0 6px;min-height:15px}.dense-board .item-clock{font-size:11px}.dense-board .item-actions .btn{min-height:44px;font-size:11px}.dense-board .order-footer .icon-btn{width:42px;height:44px;min-height:44px}.dense-board .order-footer .btn{min-height:44px;font-size:11px}.dense-board .order-footer{padding:5px 10px 8px}.dense-board .order-foot-info{font-size:10px;gap:5px}.dense-board .stage-pill{font-size:10px}.dense-board .shortage-link{font-size:10px;min-height:42px}.queue-caption{font-size:9px;min-height:20px;padding-bottom:6px}.bulk-dock{bottom:8px;left:8px;right:8px;min-height:66px;border-radius:16px;padding:6px;gap:3px}.bulk-context .checkbox-hit{width:39px;height:44px}.bulk-context .icon-btn{width:28px;min-width:28px;min-height:44px}.bulk-actions{gap:4px}.bulk-actions .btn{min-width:73px;min-height:47px;font-size:10px;padding:6px 8px;flex-direction:column;gap:4px}.bulk-actions .btn .icon{width:17px;height:17px}.controls-secondary{gap:6px}.controls-secondary .btn{min-height:44px;font-size:10px;padding-inline:9px}.controls-secondary select{max-width:160px}.workspace-v2 .compact-controls{padding:11px;border-radius:15px}.purchase-line-form{grid-template-columns:1fr 70px 70px 36px;gap:5px}.purchase-line-form select{font-size:11px;padding-inline:6px}.purchase-line-form input{width:100%;padding-inline:6px}.shift-methods{gap:6px}}
@media(max-width:360px){.workspace-v2 .brand{font-size:13px}.workspace-v2 .header-demo{display:none}.workspace-v2 .brand-mark{width:25px;height:25px}.dense-board .item-title{font-size:13px}.dense-board .order-type{font-size:9px}.dense-board .shortage-link{font-size:9px}.bulk-context .icon-btn{display:none}}
.bulk-more-fixed{flex:none;min-width:65px;min-height:44px}.workspace-v2 .sidebar-resizer{width:22px;right:-11px}.workspace-v2{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.bulk-dock{bottom:max(8px,env(safe-area-inset-bottom,0px))}
@media(max-width:650px),(pointer:coarse){.workspace-v2 .menu-button,.workspace-v2 .control-trigger{width:44px;min-width:44px;height:44px;min-height:44px}.dense-board .checkbox-hit,.bulk-context .checkbox-hit{width:44px;min-width:44px;height:44px}.dense-board .item-title{min-height:44px}.bulk-context .icon-btn{width:44px;min-width:44px;min-height:44px}.bulk-more-fixed{min-width:51px;min-height:47px;font-size:10px;padding:6px;flex-direction:column;gap:4px}.bulk-more-fixed .icon{width:18px;height:18px}.workspace-v2 .topbar{gap:4px}.workspace-v2 .clock{margin:0 1px}.workspace-v2 .brand-mark{width:26px;height:26px}.workspace-v2 .brand{gap:4px}.workspace-v2 .header-demo{padding-inline:3px}.bulk-dock{gap:3px}}
/* Long status/quantity strings must never push touch actions beyond a narrow card. */
@media(max-width:650px),(pointer:coarse){.dense-board .order-foot-info{flex-wrap:wrap}.dense-board .order-footer .icon-btn{width:44px;min-width:44px;min-height:44px}.purchase-line-form{grid-template-columns:minmax(0,1fr) 70px 70px 44px}.purchase-line-form .icon-btn{width:44px;min-width:44px}}
/* Unified spacing and scrolling: hide chrome, preserve scrolling itself. */
*{scrollbar-width:none!important;-ms-overflow-style:none}*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}html{scrollbar-gutter:auto}.modal{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:26px;scroll-padding-block:24px}.modal-header{margin-bottom:24px}.modal .form-grid{gap:18px}.modal label.field{gap:8px}.modal-footer{gap:12px;padding-top:20px;margin-top:24px;flex-wrap:wrap}.modal-footer .btn{min-height:44px}.table-scroll{overflow:auto;overscroll-behavior:contain}.custom-purchase-lines{display:grid;gap:14px}.purchase-line-card{border:1px solid #ffffff94;border-radius:16px;padding:16px;background:#a9cef926}.purchase-line-form{grid-template-columns:minmax(180px,1fr) minmax(96px,120px) minmax(96px,120px) 44px;gap:14px;border:0;padding:0;align-items:end}.purchase-line-form input{width:100%;max-width:100%}.purchase-line-form .icon-btn{width:44px;height:46px;min-width:44px;margin:0}.purchase-line-meta{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-top:14px}.purchase-line-meta>span{font-size:11px;color:var(--muted);max-width:55%;line-height:1.55}.purchase-line-meta>.field{min-width:220px;max-width:45%}.purchase-scope{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);margin:2px 0 15px}.purchase-total{text-align:right;display:grid;gap:2px}.purchase-total>span{font-size:11px;color:var(--muted)}.purchase-total>b{font-size:21px}.settings-row{gap:18px;padding-block:18px}.optics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.optic-control{display:grid;gap:12px;font-size:12px}.optic-control>span{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.optic-control output{font-weight:700;color:var(--ink)}.optic-control input{width:100%;min-height:30px;accent-color:var(--blue)}.settings-section{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.sidebar .nav{overflow-y:auto;min-height:0}.sidebar .sidebar-bottom{flex:none}.workspace-v2 .sidebar{height:calc(100dvh - 86px)}
@media(max-width:750px){.purchase-line-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:12px}.purchase-material{grid-column:1/-1}.purchase-line-meta{align-items:start;flex-direction:column;gap:10px}.purchase-line-meta>span,.purchase-line-meta>.field{max-width:100%;width:100%;min-width:0}.purchase-line-card{padding:14px}.modal{padding:22px}.modal .form-grid{gap:16px}.optics-grid{grid-template-columns:1fr}}
@media(max-width:650px){.modal{padding:20px 16px}.modal-footer>.btn{flex:1 1 130px}.purchase-line-form{gap:12px}.purchase-line-card{padding:12px}.modal-header h2{font-size:21px}.form-grid .fullwidth{grid-column:auto}.head-actions{flex-wrap:wrap;gap:10px}.workspace-v2 .sidebar{height:100dvh}.page-head{gap:18px}.table th,.table td{padding-inline:12px}}
/* Audit fixes: scroll content inside a stationary glass host. */
.modal{padding:0!important;overflow:hidden!important}.modal-scroll{padding:26px;max-height:calc(100dvh - 50px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:24px;border-radius:inherit}.course-card .btn+.btn{margin-top:10px}.row>.gc-input{width:110px;flex:0 0 110px}.bom-quantity>.gc-input{width:90px;flex-basis:90px}.modal .notice,.modal .operation-row,.modal .course-card{background:#acd2f726}.modal .notice.amber{background:#f3c87722}.modal .glass-painted{background:transparent}
@media(max-width:650px){.modal-scroll{padding:20px 16px;max-height:calc(100dvh - 20px)}.modal .operation-row>.row{flex-wrap:wrap;row-gap:10px}.row>.gc-input{max-width:40%}}
@media print{.modal{overflow:visible!important}.modal-scroll{max-height:none;overflow:visible;padding:10px}}
/* Tables contain horizontal gestures, but pass vertical wheel/touch to dialog. */
.table-scroll,.bulk-actions{overscroll-behavior-x:contain;overscroll-behavior-y:auto}

/* Product configurations and consolidated production sheets. */
.configuration-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 8px;font-size:10px;color:var(--muted);line-height:1.45}.configuration-summary>span{overflow-wrap:anywhere;min-width:0}.configuration-summary .btn{min-height:44px;flex:none}.configuration-label{font-size:11px;line-height:1.5;color:var(--muted);margin-top:6px;max-width:300px}.configuration-form{margin-bottom:20px}.production-stage-summary,.production-source-list{display:flex;gap:6px;flex-wrap:wrap}.production-stage-summary .stage-pill{white-space:normal}.production-source-list .btn{min-height:44px}.grouped-production-table td{vertical-align:top}.grouped-production-table th:first-child{min-width:200px}.grouped-production-table th:nth-child(4){min-width:150px}@media(max-width:650px){.configuration-summary{font-size:11px}.configuration-summary .btn{padding-inline:8px}.grouped-production-table{min-width:680px}}
