:root{color:#19372b;font-synthesis:none;--green:#116447;--ink:#19372b;--muted:#6b7e74;--line:#e0e8e2;--light:#edf5ef;background:#f5f8f6;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,DM Sans,sans-serif}h1{letter-spacing:-1.1px;font-size:30px;font-weight:800;line-height:1.3}h2{letter-spacing:-.4px;font-size:18px}h3{font-size:16px}p{line-height:1.65}small{color:var(--muted);font-size:12px;line-height:1.5;display:block}.shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex-shrink:0;width:238px;height:100vh;padding:28px 15px 18px;display:flex;position:sticky;top:0}.brand{letter-spacing:3px;align-items:center;gap:12px;margin-bottom:35px;padding:0 13px;font-family:Manrope,sans-serif;font-size:23px;font-weight:800;display:flex}.brand small{letter-spacing:3px;margin-top:2px;font-size:9px;font-weight:600;line-height:1.2}.brand-mark{color:#fff;letter-spacing:-2px;background:#105c43;border-radius:10px;place-items:center;width:40px;height:43px;font-family:Manrope,sans-serif;font-size:26px;font-weight:800;display:inline-grid}.workspace-label{letter-spacing:1.6px;color:#8a9990;padding:0 13px 14px;font-size:10px;font-weight:700}.sidebar nav{gap:5px;display:grid}.sidebar nav button{color:#62776b;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;min-height:43px;padding:11px 13px;font-size:14px;display:flex}.sidebar nav button:hover{background:#f1f6f3}.sidebar nav button.active{color:#116447;background:#e6f1eb;font-weight:700}.sidebar nav button b{background:#d5e8dd;border-radius:5px;place-items:center;min-width:20px;height:20px;margin-left:auto;font-size:10px;display:grid}.sidebar-foot{border-top:1px solid var(--line);margin-top:auto;padding:22px 10px 0;font-size:13px;font-weight:600}.sidebar-foot small{margin-top:7px;font-weight:400}main{flex:1;min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:75px;padding:0 36px;display:flex}.breadcrumb{color:#809085;align-items:center;gap:12px;font-size:13px;display:flex}.breadcrumb b{color:#334e40;font-weight:500}.topbar-right{align-items:center;gap:20px;display:flex}.demo-badge{letter-spacing:1px;color:#7a815c;background:#f1f3e8;border-radius:4px;padding:6px 9px;font-size:10px;font-weight:700}.avatar{background:#edf4ef;border:1px solid #dce7df;border-radius:50%;place-items:center;width:32px;height:32px;font-size:11px;font-weight:700;display:grid}.content{max-width:1500px;margin:auto;padding:30px 36px 20px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px;display:flex}.eyebrow{letter-spacing:1.4px;text-transform:uppercase;color:#729181;margin-bottom:7px;font-size:10px;font-weight:700}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:9px;font-size:14px}.button{background:var(--green);color:#fff;border:1px solid var(--green);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 15px;font-size:13px;font-weight:600;display:inline-flex}.button:hover{background:#0a5239}.button.secondary{color:#3c5a49;background:#fff;border-color:#d4e1d8}.button.secondary:hover{background:#edf5ef}.icon-button{color:#6c8175;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.icon-button:hover{background:#e9f0eb}.link{color:var(--green);text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:600;display:inline-flex}.link:hover{text-decoration:underline}.quick-actions{grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:24px;display:grid}.quick-actions>button{text-align:left;color:var(--ink);background:#fff;border:1px solid #dce7df;border-radius:9px;align-items:center;gap:13px;padding:18px;display:flex;box-shadow:0 2px 3px #17332503}.quick-actions>button>svg{color:#8ca597;margin-left:auto}.quick-actions b{margin-bottom:3px;font-size:14px;display:block}.quick-actions small{font-size:11px}.quick-actions button:hover{background:#fcfffd;border-color:#82b498}.action-icon{color:#1f8057;background:#e7f4ec;border-radius:9px;flex-shrink:0;place-items:center;width:41px;height:41px;display:grid}.action-icon svg{width:22px}.action-icon.orange{color:#a77426;background:#fcf1e4}.action-icon.neutral{color:#6b7d84;background:#edf0f2}.metrics{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:27px;display:grid}.metrics article{border:1px solid var(--line);background:linear-gradient(150deg,#fff,#fcfefd);border-radius:9px;padding:20px}.metrics article>span{color:#5c7165;font-size:12px}.metrics strong{letter-spacing:-1px;margin:11px 0 7px;font-family:Manrope,sans-serif;font-size:32px;font-weight:700;display:block}.metrics small{font-size:11px}.panel{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:14px;padding:22px 22px 18px;display:flex}.panel-heading h2{font-size:16px}.panel-heading p{color:var(--muted);margin-top:4px;font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;white-space:nowrap;text-align:left;width:100%;font-size:13px}th{color:#7d8e83;text-transform:uppercase;letter-spacing:.65px;background:#f7faf8;border-top:1px solid #e9efeb;border-bottom:1px solid #e9efeb;padding:13px 22px;font-size:10px;font-weight:600}td{color:#435c4d;border-bottom:1px solid #edf1ee;padding:17px 22px}td>b{color:#294737;font-weight:600}td small{white-space:normal;max-width:300px;margin-top:3px;font-size:11px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfefd}.number{font-variant-numeric:tabular-nums}.customer-cell{align-items:center;gap:11px;display:flex}.customer-cell b{color:#264a37;font-size:13px;font-weight:600}.customer-icon{color:#6e927d;background:#f6f9f7;border:1px solid #e1e9e3;border-radius:7px;flex-shrink:0;place-items:center;width:33px;height:34px;font-size:11px;font-weight:700;display:grid}.two-col{grid-template-columns:1.2fr 1fr;gap:19px;margin-top:22px;display:grid}.activity{text-align:left;background:#fff;border:0;border-top:1px solid #eff3f0;align-items:center;gap:12px;width:100%;padding:15px 22px;display:flex}.activity:hover,.attention:hover{background:#fafdfb}.activity>span:nth-child(2){flex:1;min-width:0}.activity b,.attention b{color:#34513e;font-size:12px;font-weight:600}.activity small{margin-top:3px;font-size:10px}.activity>span:last-child{text-align:right;font-size:13px;font-weight:600}.activity>span:last-child small{font-weight:400;display:inline}.activity-icon{color:#3e8d64;background:#edf6f0;border-radius:50%;place-items:center;width:31px;height:31px;display:grid}.activity-icon.negative{color:#b39050;background:#fbf3e9}.positive-text{font-variant-numeric:tabular-nums;color:#207c51!important}.negative-text{font-variant-numeric:tabular-nums;color:#ab6738!important}.attention{text-align:left;color:#b59a60;background:#fff;border:0;border-top:1px solid #eff3f0;align-items:start;gap:13px;width:100%;padding:17px 22px;display:flex}.attention>span{flex:1}.attention small{margin-top:4px;font-size:11px;line-height:1.7}.attention>svg:last-child{color:#9aaca0;margin-top:5px}.count{color:#89947c;border:1px solid #e4e9df;border-radius:5px;padding:2px 6px;font-size:11px}.toolbar{align-items:end;gap:12px;margin:0 0 18px;display:flex}.search{color:#8b9d90;background:#fff;border:1px solid #dce6df;border-radius:6px;flex:1;align-items:center;gap:9px;min-width:180px;padding:0 11px;display:flex}.search input{background:0 0;border:0;outline:none;width:100%;padding:11px 0;font-size:13px}.toolbar>select{max-width:230px}.toolbar .field{margin:0}.field{color:#4c6857;flex-direction:column;gap:7px;margin-bottom:16px;font-size:13px;display:flex}.field>span{font-weight:600}.field small{font-size:11px}input,select,textarea{color:#254b34;background:#fff;border:1px solid #d4e0d7;border-radius:5px;min-width:0;padding:10px 11px;font-size:14px}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #a7ccb7}textarea{resize:vertical;width:100%;min-height:75px}.pill{white-space:nowrap;color:#61776a;background:#edf1ef;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:500;display:inline-block}.pill.posted,.pill.finished-part{color:#277548;background:#e9f5ed}.pill.raw-material{color:#6a804c;background:#eff4e9}.pill.wip,.pill.draft{color:#a88540;background:#faf0e0}.pill.cancelled{color:#ae6656;background:#faeae7}.pill.closed{color:#5e7c92;background:#eaf0f5}.footnote{color:#829286;margin-top:14px;font-size:12px;line-height:1.6}.empty{text-align:center;color:#9caf9f;justify-items:center;gap:10px;padding:45px 20px;display:grid}.empty p{color:#6e8375;font-size:14px}.audit-intro{align-items:center;gap:18px;padding:25px;display:flex}.audit-intro>div:nth-child(2){flex:1}.audit-intro p{color:var(--muted);max-width:650px;margin-top:6px;font-size:13px}.section-title{justify-content:space-between;align-items:center;gap:15px;margin:25px 0 15px;display:flex}.section-title h2{font-size:17px}.recipe-grid,.data-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.recipe{max-width:600px;padding:24px}.recipe>svg{color:#458b63}.recipe h3{margin-top:12px}.recipe p{color:#809284;margin:7px 0 18px;font-size:12px}.recipe-line{border-top:1px solid var(--line);justify-content:space-between;padding:12px 0;font-size:13px;display:flex}.recipe .button{margin-top:15px}.tabs{border-bottom:1px solid var(--line);gap:24px;margin-bottom:22px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 0;font-size:14px}.tabs button.selected{color:var(--green);border-color:var(--green);font-weight:700}.tabs span{background:#e7eee9;border-radius:4px;margin-left:7px;padding:2px 5px;font-size:11px}.code{font-family:ui-monospace,monospace;font-size:12px}.padded{padding:25px}.padded h2{margin:15px 0 8px}.padded p{color:var(--muted);margin-bottom:20px;font-size:14px}.padded .button{margin-bottom:12px;margin-right:10px}.green{color:var(--green)}.import-panel{margin-top:20px}.import-panel .panel-heading{padding:0}.import-panel h2{margin-top:0}.import-review{margin-top:25px}.import-review h3{margin-bottom:15px}.import-review .button{margin-top:18px}.alert{border-radius:6px;flex-wrap:wrap;align-items:center;gap:9px;margin:16px 0;padding:13px 16px;font-size:13px;line-height:1.65;display:flex}.alert.error{color:#9b4b30;background:#fff1eb;border:1px solid #f2d9cc}.alert.error p{width:100%}.alert.success{color:#33754b;background:#eaf5ed;border:1px solid #d7e9dd}.alert button{color:inherit;background:0 0;border:0;margin-left:auto;font-size:20px}.toast{color:#fff;z-index:100;background:#164c34;border-radius:8px;align-items:center;gap:12px;padding:15px 20px;font-size:14px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 5px 24px #1b352b30}dialog{width:min(600px,100% - 28px);max-height:90vh;color:var(--ink);border:1px solid #dce5de;border-radius:12px;padding:0;box-shadow:0 30px 90px #15342250}dialog.wide{width:min(1050px,100% - 28px)}.modal-head{border-bottom:1px solid var(--line);z-index:2;background:#fff;justify-content:space-between;align-items:start;padding:24px 28px;display:flex;position:sticky;top:0}.modal-head h2{font-size:23px}.modal-head p:not(.eyebrow){color:var(--muted);margin-top:7px;font-size:13px}.modal-content{padding:25px 28px}.modal-content table{white-space:normal}.modal-content td,.modal-content th{padding:13px 15px}.modal-content td input{width:100%;max-width:155px}.form-grid{grid-template-columns:repeat(2,1fr);gap:0 18px;display:grid}.modal-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;margin-top:24px;padding-top:22px;display:flex}.material-line{border-bottom:1px solid #eaf0ec;grid-template-columns:25px minmax(200px,2fr) minmax(80px,.6fr) minmax(110px,1fr) minmax(90px,.7fr) 25px;align-items:start;gap:10px;padding:15px 0;display:grid}.material-line .field{margin-bottom:0}.material-line .field:nth-last-child(2):nth-child(4){grid-column:span 2}.material-line .icon-button{margin-top:28px}.line-index{color:#96aa9c;padding-top:35px;font-size:11px}.line-editor{margin-bottom:22px}.line-editor h3{font-size:15px}.output-box{background:#f0f7f2;border:1px solid #dcebdc;border-radius:7px;margin:10px 0 22px;padding:20px}.output-box h3{margin-bottom:16px}.document-summary{justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px;display:flex}.document-summary p:not(.eyebrow){color:var(--muted);margin-top:5px;font-size:13px}.document-summary .pill{font-size:13px}.confirmation{border:1px solid var(--line);background:#f7f9f7;border-radius:7px;margin-top:20px;padding:18px}.confirmation p{color:var(--muted);margin-bottom:15px;font-size:13px}footer{border-top:1px solid var(--line);color:#91a095;justify-content:space-between;margin-top:35px;padding-top:17px;font-size:10px;display:flex}.loading{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;display:flex}.mobile-menu{display:none}@media (width>=1600px){.content{padding-top:40px}.quick-actions{margin-top:32px}}@media (width<=1150px){.sidebar{width:208px;padding-left:10px;padding-right:10px}.sidebar nav button{gap:9px;font-size:12px}.content{padding:25px}.topbar{padding:0 25px}.quick-actions{gap:10px}.quick-actions>button{gap:8px;padding:14px}.quick-actions small{font-size:10px}.quick-actions b{font-size:12px}.metrics article{padding:17px}.metrics small{font-size:10px}.two-col{grid-template-columns:1fr 1fr}th,td{padding-left:16px;padding-right:16px}.panel-heading{padding:18px 16px}.activity,.attention{padding-left:16px;padding-right:16px}}@media (width<=850px){.sidebar{z-index:30;width:238px;transition:left .2s;position:fixed;top:0;left:-250px}.sidebar.open{left:0}.scrim{z-index:29;background:#17382955;border:0;position:fixed;inset:0}.mobile-menu{display:inline-flex}.topbar{gap:12px;height:65px;padding:0 18px}.breadcrumb{margin-right:auto}.content{padding:23px 18px}.page-heading h1{font-size:25px}.page-heading>div{flex:1}.topbar-right{gap:10px}.quick-actions{grid-template-columns:repeat(3,1fr)}.quick-actions>button{flex-wrap:wrap}.quick-actions>button>svg{display:none}.quick-actions .action-icon{width:32px;height:32px}.quick-actions>button>span:nth-child(2){min-width:100%}.metrics{gap:10px}.metrics article>span{font-size:11px}.metrics small{display:none}.two-col{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar .search{flex-basis:100%}.audit-intro{flex-wrap:wrap}.audit-intro .button{margin-left:58px}.material-line{grid-template-columns:22px 1fr 100px 25px}.material-line .field:nth-child(4),.material-line .field:nth-child(5){grid-column:2/4}.material-line .icon-button{grid-area:1/4}.material-line .line-index{grid-area:1/1}.modal-head,.modal-content{padding:20px}.recipe-grid{grid-template-columns:1fr}}@media (width<=520px){h1{font-size:24px}.page-heading{flex-wrap:wrap;align-items:start}.demo-badge{font-size:8px}.breadcrumb{gap:6px;font-size:11px}.quick-actions{grid-template-columns:1fr}.quick-actions>button{flex-wrap:nowrap}.quick-actions>button>span:nth-child(2){min-width:0}.quick-actions b{font-size:14px}.quick-actions small{font-size:11px}.quick-actions>button>svg{display:block}.metrics{grid-template-columns:repeat(2,1fr)}.metrics strong{font-size:27px}.data-grid,.form-grid{grid-template-columns:1fr}.document-summary{flex-wrap:wrap}.modal-head h2{font-size:20px}.modal-head p:not(.eyebrow){font-size:12px}.panel-heading{align-items:start}.panel-heading h2{font-size:14px}.panel-heading .link{font-size:11px}.material-line{grid-template-columns:16px 1fr 25px}.material-line .field:nth-child(2),.material-line .field:nth-child(3),.material-line .field:nth-child(4),.material-line .field:nth-child(5){grid-column:2}.material-line .icon-button{grid-column:3}.toolbar>select{max-width:100%}.toolbar .field{flex:1}.audit-intro{padding:18px}.audit-intro>div:nth-child(2){min-width:180px}.audit-intro .button{margin-left:0}.modal-actions .button{flex:1;font-size:12px}.content footer{gap:20px;font-size:9px}.import-panel .panel-heading{flex-wrap:wrap}.toast{width:max-content;max-width:95vw;font-size:12px}}@media print{body{background:#fff}.shell>.sidebar,.shell>main,.toast{display:none!important}dialog{box-shadow:none;border:0;position:static;overflow:visible;width:100%!important;max-height:none!important}dialog::backdrop{display:none}.modal-head{position:static}.modal-actions,.modal-head>.icon-button,.confirmation{display:none!important}.modal-content{overflow:visible}table{page-break-inside:auto}tr{page-break-inside:avoid}}.field,.material-line>*{min-width:0}.material-line input,.material-line select{width:100%}@media (width<=520px){.material-line .field:nth-last-child(2):nth-child(4){grid-column:2}.modal-content .table-wrap table{min-width:610px}.modal-content td input{min-width:120px}.modal-content{overflow-x:hidden}}.button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.brand-mark{place-items:center;display:grid}.topbar-title{align-items:center;gap:12px;display:flex}.local-dot{background:#298963;border-radius:50%;width:7px;height:7px;margin-right:8px;display:inline-block}.local-status{color:#577266;align-items:center;font-size:12px;display:flex}.muted{color:#6e7e76}.sidebar nav{flex-direction:column;gap:4px;display:flex}.sidebar nav button{align-items:center;gap:12px;display:flex}.form-fields{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.form-grid{gap:14px}.form-grid>*{min-width:0}.form-fields .field input,.form-fields .field select{min-height:43px}.form-fields .form-grid{background:#f6f9f7;border:1px solid #e2eae5;border-radius:8px;padding:15px}.form-fields .button{justify-self:start}.form-fields .modal-actions .button{justify-self:auto}.check-label{align-items:center;gap:9px;margin:16px 0;display:flex}.check-label input{width:16px}.packing-row{grid-template-columns:1.4fr 1fr .65fr 1fr auto;align-items:end;gap:10px;margin:14px 0;display:grid}.packing-row .link{padding-bottom:13px}.danger{color:#a0382e}.module-tools{flex-wrap:wrap;align-items:center;gap:22px;margin:-5px 0 20px;font-size:12px;display:flex}.module-tools a{color:#176447;text-decoration:none}.dashboard-bottom{grid-template-columns:1fr 1fr;gap:22px;margin-top:24px;display:grid}.recent-event{border-bottom:1px solid #eff2ef;align-items:baseline;gap:6px;padding:14px 22px;display:flex}.recent-event small,td small{color:#7a877f;margin-top:4px;font-size:11px;display:block}.stock-number{font-size:18px;font-weight:650}.stock-number small{font-weight:400;display:inline}.metrics small{color:#7b8980;font-size:11px}.panel-heading p{color:#79867f;margin:6px 0 0;font-size:12px}.panel-heading .field{min-width:220px}.attention{text-align:left;width:100%}.toolbar{flex-wrap:wrap;align-items:end;gap:16px}.toolbar .field{flex:1;min-width:170px}.content>.panel{margin-bottom:24px}.revision{border-top:1px solid #e1e8e2;margin-top:12px;padding:12px}.revision-pair{grid-template-columns:1fr 1fr;gap:16px;display:grid}.revision pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7faf8;max-height:260px;padding:12px;font-size:11px;overflow:auto}.revision summary{cursor:pointer;font-size:12px}.nav-scrim{display:none}.alert button{float:right;background:0 0;border:0}.transfer-panel{margin:15px 0 24px}.transfer-panel .form-grid{margin-bottom:16px}.transfer-panel .button{margin-right:10px}.transfer-result{margin-top:18px}dialog .modal-head{z-index:2;background:#fff;position:sticky;top:0}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102e2480}dialog .modal-actions{flex-wrap:wrap}.document-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.padded>.button{margin:8px 10px 0 0}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #7acbaa}.loading{place-items:center;min-height:100vh;display:grid}.panel .empty{text-align:center;color:#7a8880;padding:44px 24px}.avatar{flex-shrink:0}.sidebar-foot small{margin-top:7px;display:block}@media (width<=900px){.dashboard-bottom{grid-template-columns:1fr}.packing-row{grid-template-columns:1fr 1fr}.packing-row>.field:first-child{grid-column:1/-1}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-heading{flex-wrap:wrap;gap:15px}.nav-scrim{z-index:49;background:#153b2b70;border:0;display:block;position:fixed;inset:0}.sidebar.open{z-index:50}.revision-pair{grid-template-columns:1fr}}@media (width<=520px){.content{padding:22px 14px}.topbar{padding:15px}.topbar-title{font-size:12px}.local-status{font-size:10px}.page-heading h1{font-size:27px;line-height:1.2}.page-heading{flex-wrap:wrap;align-items:start;gap:12px}.quick-actions{grid-template-columns:1fr;display:grid}.quick-actions .button{width:100%}.metrics{gap:10px}.metrics article{padding:16px}.metrics small{line-height:1.5}.module-tools{gap:14px}.panel-heading .field{width:100%}dialog.wide{width:calc(100% - 16px);max-width:none;max-height:94dvh;margin:auto}dialog .modal-content{padding:16px}.toolbar .field{min-width:100%}.form-grid{grid-template-columns:1fr!important}.modal-actions .button{flex:1;min-width:120px}.packing-row{grid-template-columns:1fr 1fr}.table-wrap{max-width:100%;overflow-x:auto}.sidebar{max-width:85vw}.document-summary{font-size:12px}}.sidebar-user{border-top:1px solid var(--line);flex-direction:column;gap:14px;margin-top:auto;padding:18px 10px 6px;display:flex}.sidebar-user-info{flex-direction:column;gap:3px;min-width:0;display:flex}.sidebar-user-info strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;line-height:1.35;overflow:hidden}.sidebar-user-info small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;overflow:hidden}.sidebar-role{letter-spacing:.6px;text-transform:uppercase;color:#277548;background:#e9f5ed;border-radius:5px;align-self:flex-start;margin-top:5px;padding:3px 8px;font-size:10px;font-weight:700}.sidebar-signout{align-self:flex-start;font-size:12px}.splash{gap:22px}.splash .brand{margin-bottom:0;padding:0}.splash-brand{animation:.4s both helix-fade}.splash-spinner{border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite helix-spin}.splash-label{color:var(--muted);margin:0;font-size:13px}.splash-error{flex-direction:column;align-items:center;gap:12px;width:100%;max-width:420px;display:flex}.splash-error .alert{text-align:center;justify-content:center;width:100%;margin:0}@keyframes helix-spin{to{transform:rotate(360deg)}}@keyframes helix-fade{0%{opacity:0}to{opacity:1}}@keyframes helix-shimmer{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.splash-spinner{animation-duration:2s}.splash-brand{animation:none}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skeleton-shell nav button{pointer-events:none}.skel{background:var(--light);border-radius:6px;position:relative;overflow:hidden}.skel:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);animation:1.3s infinite helix-shimmer;position:absolute;inset:0;transform:translate(-100%)}.skel-action{border-radius:8px;height:82px}.skel-title{width:180px;height:18px;margin-bottom:8px}.skel-sub{width:120px;height:11px}.skel-field{flex:1;min-width:170px;height:43px}.skel-table{gap:12px;padding:16px 20px;display:grid}.skel-row{height:16px}.skel-label{width:90px;height:11px;margin-bottom:12px}.skel-number{width:52px;height:24px;margin-bottom:10px}.skel-block{height:120px;margin:0 22px 22px}[data-theme=dark] .skel{background:#24372c}[data-theme=dark] .skel:after{background:linear-gradient(90deg,#0000,#ffffff12,#0000)}@media (prefers-reduced-motion:reduce){.skel:after{animation:none}}.permission-matrix{border:1px solid var(--line);border-radius:7px;margin:10px 0 4px;overflow:auto}.permission-matrix table{white-space:nowrap}.permission-matrix th,.permission-matrix td{text-align:center;padding:8px 10px}.permission-matrix td:first-child,.permission-matrix th:first-child{text-align:left}.permission-cell input{width:16px;height:16px}.table-wrap td .link{white-space:nowrap}.table-actions{flex-wrap:wrap;align-items:center;gap:14px;display:inline-flex}.toast-stack{z-index:100;background:0 0;border:0;flex-direction:column;gap:10px;width:max-content;max-width:min(560px,92vw);margin:0;padding:0;display:flex;position:fixed;inset:auto auto 25px 50%;overflow:visible;transform:translate(-50%)}.toast-stack .toast{color:#fff;background:#164c34;border-radius:8px;align-items:center;gap:12px;padding:15px 20px;font-size:14px;display:flex;position:static;bottom:auto;left:auto;transform:none;box-shadow:0 5px 24px #1b352b30}.toast-stack .toast.error{background:#8f2f22}.toast-stack .toast button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0 2px;font-size:18px;line-height:1}.danger-zone-actions{border-top:1px solid var(--line);justify-content:flex-start;margin-top:20px;padding-top:18px;display:flex}@media (width<=520px){.toast-stack{max-width:94vw}}.dashboard-layout{gap:22px;display:grid}.dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.dashboard-actions .button{justify-content:flex-start;gap:14px;padding:20px}.dashboard-actions .button>span{text-align:left}.dashboard-actions b{font-size:20px;display:block}.dashboard-actions small{color:var(--muted);margin-top:5px;font-weight:400;display:block}.stock-panel{margin:0}.stock-panel .panel-heading{padding:18px 20px}.stock-filters{gap:14px;padding:0 20px 16px;display:flex}.stock-filters .field{flex:1;min-width:0}.stock-panel .table-wrap{max-height:430px;overflow:auto}.stock-panel thead{z-index:1;position:sticky;top:0}.stock-panel td{font-size:12px}.stock-panel.compact td{padding:8px 14px;line-height:1.35}.stock-panel.compact th{padding:10px 14px}.stock-panel .numeric{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.stock-panel .owner-name{white-space:nowrap;text-overflow:ellipsis;max-width:170px;overflow:hidden}.stock-panel td:nth-last-child(3){white-space:nowrap}.dashboard-layout .metrics,.dashboard-layout .dashboard-bottom{margin:0}.dashboard-secondary{justify-content:space-between;align-items:center;gap:14px;display:flex}.brand-logo{object-fit:contain;background:#fff;border-radius:5px;max-width:44px;max-height:44px}.logo-preview{object-fit:contain;border:1px solid var(--line);background:#fff;max-width:240px;max-height:120px;margin:14px 0;padding:12px;display:block}.report-tabs{margin-bottom:18px}.report-note{color:var(--muted);margin:16px 0;font-size:12px}.report-actions{flex-wrap:wrap;gap:12px;margin:16px 0 0;display:flex}.closure-part{border-bottom:1px solid var(--line);margin-bottom:20px;padding:20px 0}.closure-part .table-wrap{margin:12px 0}.closure-preview>p,.closure-part>p{margin:9px 0}.reset-counts{grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 0;display:grid}.danger-zone{border-color:#d59f98}.danger-zone h2{color:#a6352a}.padded>.field{margin:14px 0}.report-actions .button{min-height:40px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--green:#7bdbb4;--ink:#dfebe5;--muted:#a3b7ab;--line:#34473d;--light:#203d30;color:var(--ink);background:#121c17}[data-theme=dark] body,[data-theme=dark] main,[data-theme=dark] .content{color:var(--ink);background:#121c17}[data-theme=dark] .sidebar,[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] .metrics article,[data-theme=dark] dialog,[data-theme=dark] dialog .modal-head{color:var(--ink);border-color:var(--line);background:#1b2921}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] strong,[data-theme=dark] b,[data-theme=dark] .field>span,[data-theme=dark] .brand{color:var(--ink)}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{color:var(--ink);background:#142019;border-color:#475e50}[data-theme=dark] .button{color:#fff;background:#277b58;border-color:#277b58}[data-theme=dark] .button.secondary,[data-theme=dark] .quick-actions>button,[data-theme=dark] .attention,[data-theme=dark] .tabs button,[data-theme=dark] .icon-button{color:var(--ink);border-color:var(--line);background:#24372c}[data-theme=dark] .sidebar nav button{color:#b6c9bd}[data-theme=dark] .sidebar nav button.active,[data-theme=dark] .tabs button.active{color:#adf1cd;background:#284d3a}[data-theme=dark] .sidebar nav button:hover,[data-theme=dark] tbody tr:hover{background:#23392b}[data-theme=dark] th,[data-theme=dark] thead{color:#c2d2c7;border-color:var(--line);background:#293c30}[data-theme=dark] td,[data-theme=dark] .recent-event,[data-theme=dark] .panel-heading,[data-theme=dark] .topbar,[data-theme=dark] .sidebar-foot{border-color:var(--line)}[data-theme=dark] td,[data-theme=dark] .metrics article>span{color:var(--ink)}[data-theme=dark] .confirmation{color:var(--ink);background:#20362a}.dashboard-actions>button>svg{margin-left:0!important}.dashboard-actions>button{justify-content:flex-start}[data-theme=dark] .output-box,[data-theme=dark] .form-fields .form-grid,[data-theme=dark] .revision pre{border-color:var(--line);color:var(--ink);background:#14231a}[data-theme=dark] .alert{color:#c0e9cf;background:#243d2c;border-color:#3d7251}[data-theme=dark] .alert.error{color:#ffcebf;background:#442920;border-color:#895345}[data-theme=dark] .alert.success,[data-theme=dark] .pill.green{color:#b3f2cc;background:#244c37}[data-theme=dark] .pill.amber{color:#f3d694;background:#4a3e22}[data-theme=dark] .pill.neutral{color:#d5e1d9;background:#37463c}[data-theme=dark] .link,[data-theme=dark] .module-tools a,[data-theme=dark] a{color:#9ce1bd}[data-theme=dark] .muted,[data-theme=dark] small,[data-theme=dark] .metrics small,[data-theme=dark] .panel-heading p,[data-theme=dark] .eyebrow,[data-theme=dark] .local-status{color:#a3b7ab}[data-theme=dark] .negative-text,[data-theme=dark] .danger-zone h2{color:#f0a99a}[data-theme=dark] .positive-text{color:#93dab4}@media (width<=700px){.dashboard-actions{gap:10px;grid-template-columns:1fr 1fr!important}.dashboard-actions .button{min-width:0;padding:15px 12px}.dashboard-actions small{display:none}.dashboard-actions b{font-size:17px}.dashboard-actions svg{width:18px;display:block!important}.stock-filters{flex-direction:column}.stock-panel .table-wrap{max-height:420px}.dashboard-secondary{flex-direction:column;align-items:stretch}.stock-panel table{min-width:580px}.reset-counts{grid-template-columns:repeat(2,1fr)}.closure-preview{padding:16px}.closure-preview h2{font-size:18px}}@media print{[data-theme=dark] dialog{color:#000;background:#fff}}.table-wrap{isolation:isolate;max-height:65vh;overflow:auto}.table-wrap th{z-index:2;position:sticky;top:0}.permission-matrix{max-height:65vh;overflow:auto}.permission-matrix th{z-index:2;position:sticky;top:0}.table-sort{appearance:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;padding:0}.table-sort:focus-visible{outline-offset:4px;outline:2px solid}.customer-stock-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:20px;padding:0 18px 18px;display:grid}.customer-stock-card{border:1px solid var(--border,#dde5e0);border-radius:8px;min-width:0;overflow:hidden}.customer-stock-card h3{margin:0;padding:14px;font-size:15px}.customer-stock-card h3 small{margin-left:8px;font-size:11px;font-weight:400;display:inline}.stock-panel .customer-stock-card table{table-layout:auto;width:100%;min-width:0}.stock-panel .customer-stock-card td{width:auto;max-width:none}.stock-panel .customer-stock-card td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:100px}.stock-panel .customer-stock-card td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:95px}.stock-panel .customer-stock-card td:nth-child(3){text-align:right;white-space:nowrap}.refresh-tools{align-items:center;gap:10px;display:flex}.movement-part-line{align-items:center;gap:4px;min-height:44px;display:flex}.report-tabs{flex-wrap:wrap}.dispatch-public{min-width:0;max-width:1200px;margin:0 auto;padding:24px}@media (width<=700px){.refresh-tools small{display:none}.topbar{gap:8px}.customer-stock-grid{padding:0 8px 8px}.stock-panel.compact .customer-stock-card td,.stock-panel.compact .customer-stock-card th{padding:8px}}@media print{.table-wrap{max-height:none;overflow:visible}}.tabs button.active,.tabs button.selected{color:#fff;background:#156347;border-color:#156347;font-weight:750;box-shadow:0 2px 4px #0b39201a}.tabs{border:1px solid var(--line);background:#edf3ef;border-radius:10px;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;padding:5px}.tabs button{color:#4b6256;border:1px solid #0000;border-radius:7px;min-height:40px;padding:10px 15px;font-size:13px;font-weight:600;line-height:1.3;transition:background .15s,color .15s}.tabs button:not(.active):not(.selected):hover{color:#173d2b;background:#dae8df}.tabs button span{color:inherit;background:#ffffff26}.tabs button:focus-visible{outline-offset:3px;outline:3px solid #229971}[data-theme=dark] .tabs button.active,[data-theme=dark] .tabs button.selected{color:#f3fff8;background:#266d50;border-color:#5caf86;font-weight:750;box-shadow:0 1px 4px #0003}[data-theme=dark] .tabs{background:#17261e;border-color:#34473b}[data-theme=dark] .tabs button{color:#b5c8bc;background:0 0}[data-theme=dark] .tabs button:not(.active):not(.selected):hover{color:#f0fff5;background:#293e31}.sales-graph{--chart-text:#6b7d72;--chart-grid:#dfe9e3;--chart-bar:#268562;background:#fafcfb;border-top:1px solid #7c8d8440;padding:22px 18px 14px}.customer-stock-card{flex-direction:column;display:flex}.customer-stock-card>.table-wrap{flex:1 0 auto}.customer-stock-card>h3{border-bottom:1px solid var(--line);background:#f6f9f7}.sales-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px;display:flex}.sales-eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--chart-text);font-size:10px;font-weight:750}.customer-stock-card .sales-heading h3{letter-spacing:-.035em;margin:5px 0 3px;padding:0;font-size:20px}.sales-heading p{color:var(--chart-text);margin:0;font-size:11px}.sales-total{text-align:right}.sales-total small{color:var(--chart-text);margin-bottom:5px;font-size:10px;display:block}.sales-total strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:22px;display:block}.sales-total strong span{letter-spacing:0;color:var(--chart-text);font-size:12px;font-weight:500}.graph-periods{border:1px solid var(--line);background:#edf3ef;border-radius:8px;gap:3px;width:fit-content;margin-bottom:16px;padding:3px;display:flex}.graph-periods button{cursor:pointer;color:#61776a;background:0 0;border:1px solid #0000;border-radius:5px;padding:7px 15px;font-size:12px;font-weight:600}.graph-periods button[aria-pressed=true]{color:#155c40;background:#fff;border-color:#cedfd4;box-shadow:0 1px 3px #10342112}.graph-periods button:hover{color:#155c40}.graph-periods button:focus-visible,.sales-chart-scroll:focus-visible{outline-offset:3px;outline:2px solid #268562}.graph-filters{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:10px;display:grid}.graph-filters:has(.field:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.graph-filters .field{min-width:0;margin:0}.graph-filters .field>span{font-size:10px}.graph-filters select,.graph-filters input{width:100%;min-height:36px;padding:8px 9px;font-size:12px}.sales-chart-wrap{margin-top:18px;position:relative}.sales-chart-scroll{scrollbar-width:thin;overflow-x:auto}.sales-chart{width:100%;min-width:360px;display:block}.sales-chart.daily{min-width:650px}.chart-grid{stroke:var(--chart-grid);stroke-dasharray:3 4}.chart-label{fill:var(--chart-text);font-variant-numeric:tabular-nums;font-size:11px}.chart-bar{fill:var(--chart-bar)}.chart-zero{fill:var(--chart-grid)}.chart-hit{fill:#0000}.chart-column{cursor:crosshair;outline:none}.chart-column.highlighted .chart-bar{fill:#115e40}.chart-column.highlighted .chart-hit{fill:#2685620d}.chart-column:focus-visible .chart-hit{stroke:var(--chart-bar);stroke-width:1px}.sales-empty{pointer-events:none;background:linear-gradient(#0000,#fafcfbe8,#0000);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:absolute;inset:0 0 30px}.sales-empty strong{font-size:13px}.sales-empty span{color:var(--chart-text);font-size:11px}.sales-chart-caption{color:var(--chart-text);align-items:center;gap:7px;min-height:25px;font-size:11px;display:flex}.sales-chart-caption b{color:inherit}.chart-legend-dot{background:var(--chart-bar);border-radius:2px;width:7px;height:7px}[data-theme=dark] .sales-graph{--chart-text:#a4bbae;--chart-grid:#344a3b;--chart-bar:#65bd91;background:#15231b}[data-theme=dark] .customer-stock-card{border-color:#34473b}[data-theme=dark] .customer-stock-card>h3{background:#1d2e23}[data-theme=dark] .graph-periods{background:#102017;border-color:#34473b}[data-theme=dark] .graph-periods button{color:#b4c7bc}[data-theme=dark] .graph-periods button[aria-pressed=true]{color:#f1fff6;background:#2b4b37;border-color:#5c9170}[data-theme=dark] .chart-column.highlighted .chart-bar{fill:#9be5ba}[data-theme=dark] .sales-empty{background:linear-gradient(#0000,#15231be8,#0000)}@media (width<=600px){.tabs{gap:3px}.tabs button{padding:9px 11px;font-size:12px}.sales-total strong{font-size:20px}.sales-graph{padding:18px 12px 12px}}.dispatch-day{margin-top:24px}.button.danger-button,[data-theme=dark] .button.danger-button,[data-theme=dark] .button.secondary.danger-button{color:#fff;background:#b4232d;border-color:#b4232d}.button.danger-button:hover,[data-theme=dark] .button.danger-button:hover{background:#911b25;border-color:#911b25}.button.danger-button:focus-visible{outline-offset:2px;outline:3px solid #f3a4a9}.theme-switch{background:#edf3ef;border:1px solid #d9e6de;border-radius:999px;flex:none;align-items:center;gap:2px;padding:3px;display:inline-flex;box-shadow:inset 0 1px 2px #183d2510}.theme-switch button{color:#53695c;min-height:28px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:4px;padding:5px 8px;font-size:11px;font-weight:600;transition:background .14s,color .14s,box-shadow .14s;display:inline-flex}.theme-switch button:hover{color:#144c33;background:#dce9e1}.theme-switch button[aria-pressed=true]{color:#fff;background:#116447;border-color:#116447;box-shadow:0 2px 5px #0b4c3326}.theme-switch button:focus-visible{outline-offset:3px;outline:2px solid #21815a}[data-theme=dark] .theme-switch{background:#0f1c15;border-color:#354b3f}[data-theme=dark] .theme-switch button{color:#b7cbbf}[data-theme=dark] .theme-switch button:hover{color:#eefbf3;background:#253d2f}[data-theme=dark] .theme-switch button[aria-pressed=true]{color:#103723;background:#9ce2b8;border-color:#9ce2b8;box-shadow:0 2px 6px #0004}[data-theme=dark] .theme-switch button:focus-visible{outline-color:#9ce2b8}@media (width<=600px){.theme-switch{gap:1px;padding:3px}.theme-switch button{min-width:32px;min-height:32px;padding:6px}.theme-switch button span{display:none}}@media (prefers-reduced-motion:reduce){.theme-switch button{transition:none}}.link.danger{color:#a12c33}[data-theme=dark] .link.danger{color:#ffb4b9}.link:focus-visible{outline-offset:4px;border-radius:2px;outline:2px solid}html:root dialog::backdrop{background:#0000007a}html:root[data-glass=off] dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}:root{--ui-bg:#f3f6f3;--ui-solid:#fff;--ui-glass:#ffffffe0;--ui-raised:#fff;--ui-soft:#edf2ed;--ui-text:#262522;--ui-muted:#66635e;--ui-accent:#237a3b;--ui-on-accent:#fff;--ui-tint:#e5f3e7;--ui-glow:#309c4812;--ui-line:#dce3dc;--ui-shadow:0 12px 36px #18301d0b;--ui-danger:#b42332;--ui-success:#17613b;--ui-radius:20px}html:root[data-theme=dark]{--ui-bg:#080808;--ui-solid:#171717;--ui-glass:#181818e6;--ui-raised:#212121;--ui-soft:#292929;--ui-text:#f0eeeb;--ui-muted:#b1ada7;--ui-accent:#86d99a;--ui-on-accent:#102b18;--ui-tint:#1c3323;--ui-glow:#309c4816;--ui-line:#363330;--ui-shadow:0 16px 44px #00000038;--ui-danger:#ffabb2;--ui-success:#9ae0b4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html:root,html:root[data-theme]{--green:var(--ui-accent);--ink:var(--ui-text);--muted:var(--ui-muted);--line:var(--ui-line);--light:var(--ui-tint);color:var(--ui-text);background:var(--ui-bg);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}html:root body{color:var(--ui-text);background:radial-gradient(ellipse at 0 0, var(--ui-glow), transparent 52%), radial-gradient(ellipse at 100% 95%, var(--ui-glow), transparent 48%), var(--ui-bg);background-attachment:fixed}html:root :is(h1,h2,h3,.brand,.brand-mark,.boot,.boot-brand){font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}html:root :is(h1,h2,h3){color:var(--ui-text);letter-spacing:-.035em}html:root h1{font-size:clamp(25px,2.2vw,34px);font-weight:750}html:root :is(small,.muted,.workspace-label){color:var(--ui-muted)}html:root .sidebar{border-right:1px solid var(--ui-line);width:222px;padding:24px 12px 16px}html:root :is(.sidebar,.topbar,.panel,.metrics article,.modal,.toast,.auth-card){background:var(--ui-glass);color:var(--ui-text);box-shadow:var(--ui-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-color:var(--ui-line)}html:root :is(.panel,.metrics article){border-radius:var(--ui-radius)}html:root .topbar{z-index:20;border-bottom:1px solid var(--ui-line);position:sticky;top:0}html:root .sidebar nav button{color:var(--ui-muted);border-radius:12px;font-size:13px}html:root .sidebar nav button:hover{background:var(--ui-soft);color:var(--ui-text)}html:root .sidebar nav button.active{background:var(--ui-tint);color:var(--ui-accent);box-shadow:inset 3px 0 var(--ui-accent);font-weight:700}html:root .brand{color:var(--ui-text);letter-spacing:.13em;font-size:20px}html:root .brand-mark{background:var(--ui-tint);color:var(--ui-accent)}html:root .content{max-width:1800px;margin-inline:auto}html:root .button{background:var(--ui-accent);color:var(--ui-on-accent);box-shadow:0 4px 12px var(--ui-glow);border:1px solid #0000;border-radius:11px}html:root .button:hover{filter:brightness(.96)}html:root :is(.button.secondary,.icon-button){background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-line);box-shadow:none}html:root :is(input,select,textarea){background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:10px}html:root :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:.85}html:root :is(input,select,textarea):focus{border-color:var(--ui-accent);outline:2px solid var(--ui-accent);outline-offset:2px;box-shadow:none}html:root :is(button,a):focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}html:root :is(.tabs,.graph-periods,.theme-switch){background:var(--ui-soft);border:1px solid var(--ui-line);box-shadow:none;border-radius:12px}html:root :is(.tabs,.graph-periods,.theme-switch) button{color:var(--ui-muted);background:0 0;border-radius:9px}html:root :is(.tabs button.active,.tabs button.selected,.graph-periods button[aria-pressed=true],.theme-switch button[aria-pressed=true]){background:var(--ui-accent);color:var(--ui-on-accent);box-shadow:0 2px 6px var(--ui-glow);border-color:#0000}html:root :is(.tabs,.graph-periods,.theme-switch) button:hover{color:var(--ui-text);background:var(--ui-raised)}html:root .theme-switch{gap:4px;padding:4px}html:root .theme-switch button{justify-content:center;width:30px;height:30px;padding:0}html:root .theme-switch button span{display:none}html:root :is(table,td){color:var(--ui-text)}html:root th{background:var(--ui-solid);color:var(--ui-muted);border-color:var(--ui-line)}html:root td{border-color:var(--ui-line)}html:root tbody tr:hover{background:var(--ui-soft)}html:root :is(.customer-stock-card,.sales-graph,.table-wrap,.panel .panel){-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border-color:var(--ui-line);background:0 0}html:root .customer-stock-card{border-radius:15px}html:root .customer-stock-card>h3{background:var(--ui-soft);color:var(--ui-text)}html:root .sales-graph{--chart-text:var(--ui-muted);--chart-grid:var(--ui-line);--chart-bar:var(--ui-accent)}html:root :is(.sales-heading,.sales-empty,.sales-total,.sales-eyebrow){color:var(--ui-text);background:0 0}html:root .chart-column.highlighted .chart-bar{fill:var(--ui-accent);opacity:.75}html:root .metrics strong{letter-spacing:-.06em;color:var(--ui-text);font-size:34px}html:root .modal{background:var(--ui-solid);border-radius:24px}html:root :is(.modal-header,.modal-footer,.sidebar-user,.attention,.empty,.note){color:var(--ui-text);border-color:var(--ui-line);background:0 0}html:root .link{color:var(--ui-accent)}html:root .link.danger{color:var(--ui-danger)}html:root .button.danger-button{background:var(--ui-danger);color:var(--ui-bg)}html:root .dashboard-actions .button,html:root .dashboard-actions .button.secondary{background:var(--ui-solid);color:var(--ui-text);border-color:var(--ui-line);box-shadow:none}html:root .dashboard-actions .button:hover{background:var(--ui-tint);border-color:var(--ui-accent);filter:none}html:root .dashboard-actions .button small{color:var(--ui-muted);opacity:1}html:root .dashboard-actions .button b{color:inherit}html:root .dashboard-actions .button>svg{color:var(--ui-accent);background:var(--ui-tint);border-radius:12px;flex-shrink:0;width:44px;height:44px;padding:11px}html:root .sidebar-collapse{place-items:center;width:32px;height:30px;margin:0 0 12px auto;display:grid}html:root .boot{background:var(--ui-bg);color:var(--ui-text)}html:root .boot p{color:var(--ui-muted)}html:root .loading{background:var(--ui-bg);color:var(--ui-text)}html:root .field{color:var(--ui-text)}html:root main,html:root .content{color:var(--ui-text);background:0 0}html:root :is(dialog,dialog .modal-head,.confirmation,.output-box,.revision pre,.form-fields .form-grid){background:var(--ui-solid);color:var(--ui-text);border-color:var(--ui-line)}html:root dialog{box-shadow:var(--ui-shadow);border-radius:24px}html:root :is(.module-tools a,a){color:var(--ui-accent)}html:root .pill.neutral{background:var(--ui-soft);color:var(--ui-muted)}html:root :is(.panel-heading p,.field>span,.sales-total strong,.metrics article>span){color:var(--ui-text)}html:root .theme-switch button[aria-pressed=true]:hover{background:var(--ui-accent);color:var(--ui-on-accent)}html:root[data-glass=off] :is(.sidebar,.topbar,.panel,.metrics article,.modal,.toast,.auth-card){background:var(--ui-solid);-webkit-backdrop-filter:none;box-shadow:none}html:root[data-glass=off] body{background:var(--ui-bg)}@media (width>=901px){html:root .compact-sidebar .sidebar{width:78px;padding-inline:12px}html:root .compact-sidebar :is(.nav-label,.workspace-label,.sidebar-user-info,.brand>div){display:none}html:root .compact-sidebar .brand{justify-content:center;padding:0}html:root .compact-sidebar .sidebar nav button{justify-content:center;padding-inline:0}html:root .compact-sidebar .sidebar-user{padding-inline:0}html:root .compact-sidebar .sidebar-signout{font-size:11px}}@media (width<=900px){html:root .sidebar-collapse{display:none}html:root .sidebar{background:var(--ui-solid)}html:root .topbar{flex-wrap:wrap;gap:10px;height:auto;min-height:64px;padding-block:12px}html:root .refresh-tools{flex-wrap:wrap}html:root .theme-switch button{width:32px;height:32px}}@media (prefers-reduced-transparency:reduce){html:root :is(.sidebar,.topbar,.panel,.metrics article,.modal,.toast,.auth-card){background:var(--ui-solid);-webkit-backdrop-filter:none}}.customer-panel-controls{flex-wrap:wrap;gap:8px;padding:8px 12px;display:flex}.customer-panel-controls button,.app-tools button{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:8px;padding:8px 12px}.customer-panel-controls button:disabled{opacity:.4;cursor:default}.app-tools{color:#184d2a;background:#e8f3eb;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:8px 16px;display:flex;position:relative}html[data-theme=dark] .app-tools{color:#e7f5eb;background:#183523}@media (width<=760px){html:root .table-wrap,html:root .permission-matrix{overscroll-behavior:auto;touch-action:pan-x pan-y;height:auto;max-height:none;overflow:auto visible}html:root .customer-stock-grid{grid-template-columns:minmax(0,1fr)}html:root .customer-stock-card{min-width:0}.customer-panel-controls button{min-height:44px}}.stock-view-controls{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.customer-card-heading{background:var(--ui-soft);color:var(--ui-text);align-items:center;gap:8px;padding:8px 12px;display:flex}html:root .customer-card-heading h3{min-width:0;color:inherit;background:0 0;flex:1;margin:0;padding:0}html:root .customer-collapse{width:44px;height:44px;color:var(--ui-accent);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;padding:0;display:inline-flex}.customer-collapse svg{transition:transform .15s}.customer-collapse[aria-expanded=true] svg{transform:rotate(180deg)}html:root .customer-collapse:hover{background:var(--ui-line)}.customer-collapse:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}@media (prefers-reduced-motion:reduce){.customer-collapse svg{transition:none}}.chart-quantity-tooltip rect{fill:#173d2c;stroke:#85c99b;stroke-width:1px}.chart-quantity-tooltip text{fill:#fff;font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}.chart-column{cursor:pointer}.recent-dispatch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dispatch-day{min-width:0;padding:18px}.dispatch-day-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.dispatch-day-heading h2{margin:0;font-size:17px}.dispatch-day-heading p,.dispatch-note{color:var(--ui-muted);margin:6px 0 0;font-size:12px}.dispatch-count{color:var(--ui-muted);white-space:nowrap;padding-top:3px;font-size:12px}.dispatch-document{border-top:1px solid var(--line,#dce3dc);margin-top:16px;padding-top:12px}.dispatch-document-heading{overflow-wrap:anywhere;flex-direction:column;gap:4px;display:flex}.dispatch-document-heading>span{color:var(--ui-muted);font-size:12px}.dispatch-part-labels,.dispatch-part{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:14px;display:grid}.dispatch-part-labels{color:var(--ui-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:12px;font-size:10px}.dispatch-part{padding:7px 0;font-size:13px}.dispatch-part strong{overflow-wrap:anywhere}.dispatch-part>span{text-align:right;font-variant-numeric:tabular-nums}.dispatch-part small{color:var(--ui-muted)}@media (width<=760px){.recent-dispatch-grid{grid-template-columns:minmax(0,1fr)}}.numeric-entry{align-items:stretch;gap:6px;min-width:0;display:flex}.numeric-entry input{width:100%;min-width:0}.keyboard-toggle{display:none}@media (pointer:coarse),(width<=760px){.keyboard-toggle{border:1px solid var(--line,#ccc);min-width:44px;min-height:44px;color:var(--ui-text);background:0 0;border-radius:7px;justify-content:center;align-items:center;font-size:12px;display:inline-flex}}
