@charset "UTF-8";
:root{--bg:#f6f7f9;--paper:#fff;--ink:#172a32;--muted:#75818b;--line:#e8ecee;--green:#15735b;--green-dark:#124d41;--green-light:#e9f5ef;--nav:#102d2b;--amber:#b6771b;--amber-light:#fff5e4;--red:#bf5150;--red-light:#fdf0ee;--blue:#4c739b;--shadow:0 4px 20px #233c3810}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;background:var(--bg);font-feature-settings:"tnum"}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green);text-decoration:none}button{border:0}svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{width:232px;background:var(--nav);color:#b5c6c1;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20;padding:28px 15px 18px;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:24px;font-weight:650;letter-spacing:-.7px;padding:0 13px 24px}.logo-mark{height:34px;width:34px;display:grid;place-items:center;border-radius:9px;background:#8fd5ac;color:var(--nav);font:bold 30px Georgia,serif;line-height:1}.brand small{font-size:10px;font-weight:500;letter-spacing:2px;display:block;color:#98b2a9;margin-top:3px}.nav-label{font-size:10px;color:#819e94;letter-spacing:1.7px;padding:18px 16px 8px;font-weight:650}.nav-item{display:flex;gap:12px;align-items:center;padding:11px 15px;color:#adc1b8;border-radius:7px;font-size:13px;margin:2px 0;transition:.15s}.nav-item:hover{background:#ffffff0b;color:white}.nav-item.active{background:#2c5546;color:#eaf8ed;position:relative}.nav-item.active:before{content:"";position:absolute;width:3px;height:16px;background:#99d6a8;left:0;border-radius:4px}.nav-item svg{width:18px;height:18px}.nav-count{margin-left:auto;border-radius:5px;background:#ffffff16;padding:2px 5px;font-size:10px}.side-bottom{margin-top:auto;padding-top:25px}.network{display:flex;gap:8px;align-items:center;font-size:11px;margin:12px 15px;color:#91afa2}.dot{width:6px;height:6px;border-radius:50%;background:#8ece9c;display:inline-block}.userbox{border-top:1px solid #ffffff13;margin-top:15px;padding:18px 12px 0;display:flex;gap:10px;align-items:center}.avatar{width:33px;height:33px;border-radius:50%;background:#e8efea;color:#285c45;display:grid;place-items:center;font-weight:650;font-size:12px}.userbox .avatar{background:#315547;color:#bed9c6}.userbox strong{font-size:12px;color:#e9f0ec;font-weight:500;display:block}.userbox small{font-size:10px;color:#8caa9b;display:block;margin-top:3px}.icon-button{background:transparent;padding:6px;color:inherit;display:inline-grid;place-items:center;border-radius:6px}.icon-button:hover{background:#00000008}.userbox .icon-button{margin-left:auto}.main-shell{margin-left:232px;width:calc(100% - 232px)}.topbar{height:73px;padding:0 35px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.crumb{display:flex;align-items:center;gap:13px;color:#a0a8ad;font-size:12px}.crumb strong{font-weight:500;color:#58676d}.top-right{display:flex;align-items:center;gap:18px}.today{font-size:12px;color:#6f7b80;display:flex;gap:8px;align-items:center}.top-tag{border:1px solid var(--line);font-size:10px;letter-spacing:.5px;border-radius:5px;padding:5px 8px;color:#76817a}.top-right .icon-button{position:relative}.notice-count{position:absolute;width:14px;height:14px;top:0;right:-1px;background:#c4863f;color:white;font-size:9px;border-radius:50%;display:grid;place-items:center}.page{padding:32px 35px 45px;max-width:1760px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.eyebrow{font-size:10px;text-transform:uppercase;font-weight:650;color:#87958e;letter-spacing:1.8px;margin-bottom:8px}h1{margin:0;font-size:27px;letter-spacing:-.7px;font-weight:650}h2{font-size:15px;letter-spacing:-.2px;margin:0;font-weight:650}h3{font-size:14px;margin:0 0 10px}p{line-height:1.6}.subtitle{font-size:12px;color:var(--muted);margin:8px 0 0}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:10px 14px;border-radius:6px;font-weight:550;font-size:12px;border:1px solid #dfe5e5;background:white;color:#42545b;min-height:36px;white-space:nowrap}.btn:hover{background:#f6f9f7}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:#12624d}.btn.danger{color:var(--red);background:#fff7f6;border-color:#efd9d7}.btn.small{padding:6px 10px;min-height:29px;font-size:11px}.btn svg{width:15px;height:15px}.text-button{color:var(--green);background:transparent;font-size:12px;font-weight:550;padding:6px 0;display:inline-flex;align-items:center;gap:6px}.text-button svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:var(--paper);padding:21px 22px 18px;border:1px solid var(--line);border-radius:9px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6b7c80}.stat-icon{width:31px;height:31px;background:#f3f6f5;border-radius:8px;display:grid;place-items:center;color:#6c897c}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:30px;letter-spacing:-1px;margin:10px 0 12px;font-weight:650}.stat-value small{font-size:13px;letter-spacing:0;color:#91a199;font-weight:450;margin-left:5px}.stat-bottom{font-size:11px;color:#8d989e;display:flex;align-items:center;gap:5px;min-height:16px}.stat-bottom .good{color:var(--green)}.stat-bottom .warn{color:var(--amber)}.grid-2{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:20px;margin-bottom:22px}.grid-equal{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:20px}.grid-2>.panel,.grid-equal>.panel{margin-bottom:0}.panel-head{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.panel-body{padding:0 22px 20px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:550;white-space:nowrap;background:#f0f3f5;color:#71818b}.badge.green{background:var(--green-light);color:#367954}.badge.amber{background:var(--amber-light);color:#ac792b}.badge.red{background:var(--red-light);color:#b95c55}.badge.blue{background:#edf2f8;color:#577da5}.badge.gray{background:#f1f3f4;color:#7d8790}.badge .dot{width:4px;height:4px;background:currentColor}.tabs{display:flex;gap:2px;padding:0 22px;border-bottom:1px solid var(--line)}.tab{padding:12px 14px;background:transparent;color:#7f8a90;border-bottom:2px solid transparent;font-size:12px}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;color:#8c999e;background:#fafbfc;font-weight:550;padding:12px 18px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:14px 18px;font-size:12px;border-bottom:1px solid #eff1f3;vertical-align:middle;line-height:1.4}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.muted{color:var(--muted)}.tiny{font-size:10px}.subtext{display:block;font-size:10px;color:#8b979d;margin-top:4px}.nowrap{white-space:nowrap}.code{font-size:11px;font-weight:600;color:#386554}.strong{font-weight:600}.table-footer{padding:15px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:8px;border:1px solid #e4e9ea;border-radius:6px;padding:8px 10px;min-width:240px;background:white}.search-field svg{color:#97a2a8;width:16px;height:16px}.search-field input{border:0;outline:none;width:100%;font-size:12px;background:transparent}.filter-select{font-size:12px;padding:8px 10px;background:white;border:1px solid #e1e7e8;color:#617078;border-radius:5px;max-width:230px}.date-range{display:flex;align-items:center;gap:8px;color:#91a0a3;font-size:12px}.date-range input{border:1px solid #e2e7e8;padding:7px 8px;border-radius:5px;color:#52646c;background:#fff}.empty{text-align:center;padding:38px 20px;color:#92a09f;font-size:12px;line-height:1.6}.empty svg{width:28px;height:28px;display:block;margin:0 auto 11px;color:#aec4b9}.empty strong{display:block;font-size:13px;font-weight:550;color:#647c70;margin-bottom:5px}.alert{padding:15px 18px;display:flex;align-items:flex-start;gap:11px;border-radius:7px;border:1px solid #f1e3c8;background:#fffbf2;font-size:12px;color:#976f2d;line-height:1.6;margin-bottom:20px}.alert svg{width:17px;height:17px;margin-top:1px}.alert .text-button{margin-left:auto;color:inherit;white-space:nowrap}.alert.info{background:#f0f6f4;border-color:#dceae4;color:#638071}.alert.error{background:var(--red-light);border-color:#efd4d1;color:var(--red)}.alert strong{font-weight:600}.timeline{padding:0 22px 20px}.timeline-axis{display:grid;grid-template-columns:66px 1fr;margin-bottom:10px}.timeline-hours{display:flex;justify-content:space-between;color:#a3adb0;font-size:10px}.lane{display:grid;grid-template-columns:66px 1fr;min-height:43px;align-items:center;border-top:1px solid #f1f4f4}.lane-label{font-size:11px;font-weight:600;color:#567268}.lane-label small{display:block;font-weight:400;color:#9daaa8;font-size:8px;margin-top:3px}.lane-track{height:28px;position:relative;background:repeating-linear-gradient(90deg,transparent,transparent calc(25% - 1px),#eef2f2 calc(25% - 1px),#eef2f2 25%);border-radius:3px;overflow:hidden}.lane-block{position:absolute;top:2px;height:24px;border-radius:4px;background:#e2eee6;border:1px solid #c6decb;color:#4a7c5a;font-size:9px;padding:5px 7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:25px}.lane-block.warn{background:#fbefdc;border-color:#edd7b1;color:#a78348}.lane-empty{font-size:10px;color:#b3bcbf;position:absolute;left:10px;top:8px}.legend{display:flex;align-items:center;gap:16px;margin-top:15px;color:#94a09e;font-size:9px}.legend span{display:flex;gap:5px;align-items:center}.legend i{height:6px;width:6px;display:inline-block;background:#82b78d;border-radius:2px}.legend i.warn{background:#d7b36f}.status-list{padding:0 22px 8px}.status-row{padding:13px 0;border-bottom:1px solid #eff2f2;display:flex;align-items:center;gap:12px}.status-row:last-child{border:0}.status-icon{width:33px;height:33px;display:grid;place-items:center;background:#f2f6f3;border-radius:8px;color:#86a58e;flex-shrink:0}.status-icon.amber{background:var(--amber-light);color:#bb995e}.status-icon svg{width:16px;height:16px}.status-row strong{display:block;font-size:12px;font-weight:550}.status-row p{font-size:10px;color:var(--muted);margin:4px 0 0}.status-row .badge{margin-left:auto}.activity{padding:0 22px 6px}.activity-row{display:flex;gap:12px;align-items:flex-start;padding:11px 0}.activity-row .avatar{width:28px;height:28px;font-size:10px;background:#edf2ee;flex-shrink:0}.activity-row p{font-size:11px;margin:0;line-height:1.5;color:#5c6e72}.activity-row p strong{color:#435951;font-weight:550}.activity-row small{font-size:9px;color:#a0aaa9;display:block;margin-top:3px}.activity-time{margin-left:auto;font-size:10px;color:#9fa9ad;white-space:nowrap}.bars{height:116px;display:flex;gap:9px;align-items:flex-end;padding:0 22px}.bar-col{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;align-items:center}.bar{min-height:2px;width:100%;max-width:25px;background:#c5ddce;border-radius:3px 3px 0 0}.bar-col:last-child .bar{background:var(--green)}.bar-col span{font-size:8px;color:#9ba8a4}.progress{height:4px;border-radius:3px;background:#edf1f0;overflow:hidden;margin-top:7px;min-width:70px}.progress>i{display:block;background:#6fa984;height:100%;max-width:100%}.plan-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.line-card{border:1px solid var(--line);background:white;border-radius:9px;overflow:hidden}.line-card header{padding:18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.line-number{font-size:21px;font-weight:650;color:#477260;display:flex;align-items:center;gap:10px}.line-number svg{width:20px;height:20px}.line-number small{font-size:10px;color:#92a39b;display:block;font-weight:450}.plan-card{margin:14px;padding:15px;background:#f6faf7;border:1px solid #e3ece4;border-radius:7px;cursor:pointer}.plan-card.warn{background:#fffaf1;border-color:#f1e5cd}.plan-card strong{font-size:13px}.plan-card p{font-size:11px;margin:8px 0;color:#73837c}.plan-card footer{display:flex;gap:8px;align-items:center;font-size:10px;color:#7c9086;margin-top:13px}.plan-card footer .badge{margin-left:auto}.recipe-lines{display:flex;flex-direction:column;gap:8px}.recipe-line{display:grid;grid-template-columns:minmax(180px,1fr) 110px 90px 30px;gap:10px;align-items:end;padding:10px 0;border-bottom:1px solid #edf0ee}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field>label,.field-label{font-size:11px;font-weight:600;color:#62766b}.field input,.field select,.field textarea{width:100%;border:1px solid #dbe4df;border-radius:6px;padding:10px 11px;font-size:12px;background:#fff;color:#263b33;min-height:38px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #b8d7c9;border-color:#9fc3b1}.field small{font-size:10px;color:#92a199;line-height:1.5}.field textarea{resize:vertical;min-height:80px}.check{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#61746a;line-height:1.6}.check input{margin:4px 0 0;accent-color:var(--green)}.form-separator{border:0;border-top:1px solid var(--line);margin:23px 0}.helper{background:#f3f7f4;border-radius:6px;padding:13px;color:#6f8276;font-size:11px;line-height:1.7}.error-text{background:var(--red-light);color:var(--red);border-radius:5px;font-size:12px;padding:12px;margin:14px 0}.order-entry{border:1px solid var(--line);border-radius:7px;margin:12px 0;padding:14px;position:relative}.order-entry .remove-entry{position:absolute;top:5px;right:5px}.order-entry .form-grid{grid-template-columns:2fr 1fr}.upload-zone{border:1px dashed #b6cfc1;border-radius:8px;background:#f8fbf9;padding:22px;text-align:center;color:#6e8c7b;font-size:12px;position:relative;margin-bottom:20px}.upload-zone input{display:block;max-width:100%;margin:14px auto 0;font-size:11px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:12px 0 23px}.detail-grid>div{padding:13px;background:#f5f8f6;border-radius:6px}.detail-grid small{display:block;color:#8e9c93;font-size:10px;margin-bottom:7px}.detail-grid strong{font-size:16px;font-weight:550}.detail-list{display:grid;grid-template-columns:130px 1fr;gap:10px;font-size:12px;line-height:1.5;margin:20px 0}.detail-list dt{color:#85978c}.detail-list dd{margin:0;overflow-wrap:anywhere}.document-text{max-height:230px;overflow:auto;font:11px/1.8 "Segoe UI",sans-serif;background:#f7f8f7;border:1px solid #e4ebe6;white-space:pre-wrap;padding:15px;border-radius:5px}.table-name{max-width:300px;min-width:150px}.footer-note{font-size:10px;color:#9aa6a1;display:flex;justify-content:space-between;margin-top:22px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-hero{padding:65px 9vw;background:#123d34;color:#f0f7ef;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-hero:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff13;border-radius:50%;bottom:-400px;right:-250px;box-shadow:0 0 0 100px #ffffff04,0 0 0 200px #ffffff03}.login-hero .brand{padding:0;margin-bottom:65px}.login-hero h1{font-size:44px;line-height:1.16;max-width:430px;letter-spacing:-1.5px;font-weight:500}.login-hero p{color:#9fbeb0;max-width:360px;font-size:14px;line-height:1.9;margin:25px 0 40px}.login-bullets{display:flex;gap:23px;font-size:11px;color:#b5cdbd}.login-bullets span{display:flex;gap:8px;align-items:center}.login-form-area{display:flex;align-items:center;justify-content:center;padding:35px;background:#fbfcfa}.login-card{width:360px}.login-card h2{font-size:25px;letter-spacing:-.6px}.login-card .subtitle{margin:13px 0 30px;line-height:1.7}.login-card .field{margin:18px 0}.login-card .btn{width:100%;margin-top:12px;min-height:44px}.login-note{font-size:10px;color:#a0ada3;margin-top:25px;line-height:1.8}.loading-screen{height:100vh;display:grid;place-content:center;text-align:center;gap:15px}.loading-screen .logo-mark{margin:auto}.loading-screen p{font-size:12px;color:#91a197}dialog{border:0;padding:0;border-radius:12px;width:650px;max-width:calc(100vw - 32px);max-height:calc(100vh - 48px);box-shadow:0 18px 80px #10352e32;color:var(--ink)}dialog.wide{width:940px}dialog::backdrop{background:#142b2690;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-head h2{font-size:19px}.dialog-head p{margin:6px 0 0;font-size:11px;color:var(--muted)}.dialog-body{padding:23px 26px;overflow:auto}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.dialog-foot .left{margin-right:auto}#toasts{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{padding:14px 20px;border:1px solid #cde4d6;background:#fff;color:#426b50;border-radius:8px;box-shadow:var(--shadow);font-size:12px;line-height:1.6}.toast.error{border-color:#efd4d1;color:var(--red)}.spinner{width:16px;height:16px;border:2px solid #d5e2db;border-top-color:var(--green);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu{display:none}.tag-block{padding:12px;border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;justify-content:space-between}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{margin:0}.pagination{display:flex;gap:8px;align-items:center}.issue-title{max-width:230px;font-weight:550}.issue-detail{max-width:430px;min-width:200px;color:#718077;font-size:11px}.archive-cells{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.archive-cells>div{padding:10px;border:1px solid var(--line);border-radius:5px;overflow-wrap:anywhere;font-size:11px}.archive-cells small{display:block;color:#9baa9f;margin-bottom:5px}.metric-table td:first-child{color:#5d7668}.metric-table td{padding:12px 18px}.nowrap-actions{display:flex;gap:5px;white-space:nowrap}.coverage-note{font-size:10px;color:#ab8c5b;margin-top:5px}.draft-warning{font-size:11px;color:#a8864e;margin:5px 0 12px}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(min-width:1550px){.page{padding:37px 44px}.topbar{padding:0 44px}.stats{gap:20px}.stat{padding:24px 25px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:10px;padding-right:10px}.main-shell{margin-left:205px;width:calc(100% - 205px)}.page{padding:26px 23px}.topbar{padding:0 23px}.stats{gap:12px}.stat{padding:17px}.stat-value{font-size:26px}.grid-2{grid-template-columns:1.5fr 1fr;gap:15px}.plan-board{grid-template-columns:repeat(2,minmax(0,1fr))}td,th{padding-left:14px;padding-right:14px}.page-heading{align-items:flex-start}}
@media(max-width:960px){.grid-2,.grid-equal{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.today{display:none}.settings-grid{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.login-hero{padding:50px}.login-hero h1{font-size:34px}.recipe-line{grid-template-columns:minmax(130px,1fr) 90px 65px 25px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:230px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vw #102d2b55}.main-shell{margin-left:0;width:100%}.mobile-menu{display:inline-grid}.topbar{height:60px;padding:0 17px}.page{padding:22px 15px}.top-tag{display:none}.crumb{gap:8px;font-size:11px}.page h1{font-size:23px}.page-heading{margin-bottom:20px}.stats{gap:10px;margin-bottom:16px}.stat{padding:14px}.stat-value{font-size:23px}.stat-top{font-size:11px}.stat-icon{display:none}.stat-bottom{font-size:9px}.grid-2{gap:16px;margin-bottom:16px}.panel-head{padding:17px}.panel-body{padding:0 17px 17px}.plan-board{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.dialog-body,.dialog-head{padding:20px}.detail-grid{grid-template-columns:1fr 1fr}.order-entry .form-grid{grid-template-columns:1fr}.recipe-line{grid-template-columns:1fr 70px 60px 20px;gap:5px}.recipe-line input{font-size:10px;padding:7px}.login-screen{grid-template-columns:1fr}.login-hero{display:none}.login-form-area{min-height:100vh}.date-range{flex-wrap:wrap}.search-field{min-width:100%;flex:1}.toolbar{padding:14px;gap:10px}.date-range input{width:135px}.archive-cells{grid-template-columns:1fr}.footer-note{flex-direction:column;gap:5px}.btn{font-size:11px;padding:8px 11px}.top-right{gap:9px}}
@media print{.sidebar,.topbar,.page-heading .actions,.toolbar,.tabs,.btn,.text-button,.footer-note{display:none!important}.main-shell{margin:0;width:100%}.page{padding:0}.panel,.stat{box-shadow:none;border-color:#ddd;break-inside:avoid}.stats{grid-template-columns:repeat(4,1fr)}.table-wrap{overflow:visible}body{background:white;font-size:10px}.grid-equal,.grid-2{display:block}.panel{margin-bottom:15px}.page-heading{margin:0 0 20px}th,td{padding:6px}.badge{border:1px solid #ddd}.report-details{display:none}}

/* Sequential production queues */
.queue-toolbar{display:flex;align-items:center;gap:14px;margin:0 0 18px;flex-wrap:wrap}.queue-toolbar label{font-weight:650}.queue-toolbar select{padding:10px 30px 10px 12px;border:1px solid #cfded9;border-radius:8px;background:white}.queue-toolbar .muted{font-size:12px}.queue-board{display:grid;gap:24px}.queue-line{border:1px solid #dce6e1;border-radius:14px;background:white;overflow:hidden}.queue-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#f3f7f4;border-bottom:1px solid #dce6e1}.queue-item{display:grid;grid-template-columns:65px minmax(180px,1.4fr) minmax(145px,.8fr) minmax(180px,1.2fr) auto;gap:20px;padding:22px 24px;border-bottom:1px solid #e8eeeb;align-items:start}.queue-item:last-child{border-bottom:0}.queue-position>strong{font-size:26px;color:#91a79e;font-variant-numeric:tabular-nums}.queue-position>div{display:flex;gap:3px;margin-top:8px}.queue-position .btn{padding:5px 9px}.queue-product>.text-button{text-align:left;font-size:15px;line-height:1.5}.queue-tags{display:flex;gap:5px;margin-top:10px;flex-wrap:wrap}.queue-tags .badge{font-size:10px}.queue-quantity>strong{font-size:18px;white-space:nowrap}.queue-quantity .subtext{margin-top:7px;line-height:1.6}.queue-memos{display:grid;gap:9px}.queue-memos small{font-size:10px;letter-spacing:.08em;color:#73867e}.queue-memos p{margin:3px 0 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.queue-actions{display:grid;gap:6px}.memo-full{white-space:pre-wrap;overflow-wrap:anywhere}.batch-entry{border:1px solid #d8e4dd;border-radius:10px;padding:18px;margin:18px 0;background:#fafcfb}.batch-entry>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.batch-time{margin-bottom:0}.queue-total{font-weight:650;color:#126658;padding:20px 0 12px}.field textarea{resize:vertical;min-height:78px;line-height:1.5}.btn:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1250px){.queue-item{grid-template-columns:55px 1.4fr 1fr auto;gap:14px}.queue-memos{grid-column:2/4;grid-row:2;grid-template-columns:1fr 1fr}.queue-actions{grid-column:4;grid-row:1/3}}@media(max-width:700px){.queue-header{align-items:flex-start;flex-direction:column;padding:16px}.queue-item{grid-template-columns:45px 1fr;padding:16px}.queue-quantity{grid-column:2}.queue-memos{grid-column:2;grid-row:auto;grid-template-columns:1fr}.queue-actions{grid-column:2;grid-row:auto;display:flex;flex-wrap:wrap}.queue-position{grid-row:1/5}.queue-position>div{flex-direction:column}.queue-header .actions{flex-wrap:wrap}.batch-entry{padding:12px}.batch-entry>header{align-items:flex-start}}

/* Product-specific mixtures, material selection and warehouse traceability. */
.mixture-editor,.packaging-editor,.pallet-editor,.plan-spec-summary{border:1px solid #dce6e1;border-radius:10px;padding:18px;margin:18px 0;background:#f8fbf9}.mixture-editor h3,.packaging-editor h3,.pallet-editor h3{margin-top:0}.mixture-row{display:grid;grid-template-columns:minmax(160px,1fr) 110px auto;gap:12px;align-items:end;margin:12px 0}.mixture-row label{font-size:12px;display:grid;gap:7px}.mixture-row input{width:100%;padding:10px;border:1px solid #cfdad5;border-radius:6px;background:white;font:inherit}.mixture-row .btn{margin-bottom:1px}.mix-total{display:inline-block;margin-left:12px}.spec-package-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.packaging-editor{margin:0}.packaging-editor .form-grid{grid-template-columns:1fr 100px;gap:12px;margin-top:12px}.packaging-editor .field{min-width:0}.packaging-editor .check{margin:12px 0}.packaging-editor input{min-width:0;max-width:100%}.plan-spec-editor .helper{line-height:1.6}.queue-mixture{margin-top:14px;border-left:3px solid #b7d4b5;padding-left:9px}.queue-mixture small{font-size:9px;letter-spacing:.08em;color:#58705e}.queue-mixture p{font-size:12px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.queue-product .subtext{overflow-wrap:anywhere}.warehouse-note{white-space:pre-wrap;max-width:230px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pallet-editor .check{margin:16px 0}.pallet-preview{padding:14px;background:#edf4ef;border-radius:6px;margin-top:15px}.memo-full{overflow-wrap:anywhere;max-width:600px}.plan-spec-summary p{line-height:1.7;overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:800px){.spec-package-grid{grid-template-columns:1fr}.mixture-row{grid-template-columns:1fr 85px}.mixture-row>.btn{grid-column:1/3;justify-self:end}}

.delivery-row{grid-template-columns:minmax(120px,1fr) minmax(200px,1.3fr) auto;align-items:end;margin:12px 0}.technical-fields{margin:18px 0;padding-top:12px;border-top:1px solid var(--line,#d9e2ec)}[data-over-receipt]{margin:16px 0;background:#fff2da;border:1px solid #e8b45f;padding:14px;border-radius:10px}[data-over-receipt] .check{margin-top:10px}@media(max-width:650px){.delivery-row{grid-template-columns:1fr}.delivery-row button{justify-self:start}}

.purchase-filter{display:grid;gap:7px;font-size:12px;color:var(--muted,#586b7f)}.purchase-filter select{min-width:200px}@media(max-width:650px){.purchase-filter{width:100%}.purchase-filter select{width:100%;min-width:0}}

.program-columns .program-column-row{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:4px 0}.program-column-row label{flex:1}.program-column-row span{display:flex;gap:3px}
