:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#282824;background:#f8f6f2;font-size:14px;--accent:#af543c;--line:#e6e1d9;--muted:#686960}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b5694980;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px;margin-bottom:8px}h2{font-size:19px;font-weight:650;letter-spacing:-.3px}h3{font-size:15px;margin-bottom:12px}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#eeebe4;border-right:1px solid var(--line);padding:18px 18px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:12px 10px 28px;font-size:18px;font-weight:750;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;background:#272924;color:#f6f1e7;border-radius:50%;width:38px;height:38px;font-size:11px;line-height:.93;letter-spacing:-.5px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1.5px;margin-top:4px;color:var(--muted)}.nav{display:grid;gap:5px}.nav button{padding:12px 13px;text-align:left;border-radius:9px;background:transparent;color:#5d5e55;display:flex;align-items:center;gap:12px}.nav button:hover{background:#e5e0d6}.nav button.active{color:#783a29;background:#e2d4c8;font-weight:650}.nav-icon{width:20px;text-align:center;font-size:18px}.sidebar-foot{margin-top:auto;padding:18px 10px 0;color:var(--muted);font-size:11px;line-height:1.7}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5f7d65;margin-right:6px}main{grid-column:2;padding:35px 42px 60px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px;-webkit-app-region:no-drag}.topbar button,.topbar input{-webkit-app-region:no-drag}.eyebrow{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:var(--accent);font-weight:650;margin-bottom:12px}.subtitle{color:var(--muted);line-height:1.6;font-size:14px;margin-bottom:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.button{padding:10px 16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550;line-height:1.3;white-space:nowrap}.button.primary{background:var(--accent);color:white}.button.primary:hover{background:#93412e}.button.secondary{background:white;border:1px solid var(--line);color:#393a34}.button.secondary:hover{border-color:#b4a999}.button.small{padding:7px 11px;font-size:12px}.button.ghost{padding:7px 0;background:transparent;color:var(--accent)}.button.danger{background:#f4e5df;color:#9b3529}.panel{border:1px solid var(--line);border-radius:13px;padding:23px;background:#fff;margin-bottom:20px}.panel-header{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:18px}.panel-header h2{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 21px}.metric .label{color:var(--muted);font-size:12px;margin-bottom:12px}.metric strong{display:block;font-size:29px;font-weight:650;letter-spacing:-1px}.metric small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px}.columns.equal{grid-template-columns:1fr 1fr}.notice{border:1px solid #dec9b8;background:#f3e9df;border-radius:12px;padding:21px 24px;margin-bottom:25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.notice strong{display:block;margin-bottom:7px}.notice p{margin:0;color:#716052;line-height:1.6;font-size:13px}.empty{padding:38px 20px;text-align:center;color:var(--muted);line-height:1.8}.empty strong{display:block;color:#34372f;font-size:16px;margin-bottom:8px}.empty .empty-icon{font-size:28px;color:#bba994;margin-bottom:12px}.empty button{margin-top:15px}.badge{display:inline-block;border-radius:6px;padding:5px 8px;font-size:11px;background:#f0eee8;color:#68655c;font-weight:600;white-space:nowrap}.badge.green{background:#e6eee5;color:#48614a}.badge.orange{background:#f8ecdb;color:#95601e}.badge.red{background:#f6e6df;color:#a34830}.badge.blue{background:#e9edf4;color:#536985}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}.search{width:280px}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{background:transparent;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:12px;padding:7px 12px}.tabs button.active{background:#ece6de;color:#6e412e;border-color:#d1c2af}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-weight:500;font-size:11px;letter-spacing:.2px;padding:12px 12px;border-bottom:1px solid var(--line)}td{padding:16px 12px;border-bottom:1px solid #efede8;vertical-align:middle}tr:last-child td{border-bottom:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fbf9f5}.who{font-weight:650}.sub{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.right{text-align:right}.muted{color:var(--muted)}.accent{color:var(--accent)}.large-number{font-size:25px;font-weight:650;letter-spacing:-.6px}.list-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eeebe5;gap:15px}.list-row:last-child{border-bottom:0}.list-row .left{min-width:0}.list-row p{margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.5}.section-note{font-size:12px;color:var(--muted);line-height:1.7}.totals{margin-top:14px;border-top:1px solid var(--line);padding-top:14px}.total-line{display:flex;justify-content:space-between;padding:6px 0}.total-line.big{font-size:18px;font-weight:650;margin-top:8px}.kv{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.kv .k{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.kv .v{font-size:13px;line-height:1.5}.timeline{list-style:none;margin:0;padding:0}.timeline li{border-left:1px solid var(--line);position:relative;padding:0 0 22px 22px;margin-left:6px}.timeline li:before{content:"";width:7px;height:7px;background:#b86b4d;position:absolute;left:-4px;top:5px;border-radius:50%}.timeline li:last-child{padding-bottom:0}.timeline li small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.check-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0eee9;padding:12px 0;font-size:13px}.check-row input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.check-row:last-child{border-bottom:0}.info{padding:13px 16px;background:#f5f3ee;border-radius:8px;line-height:1.7;font-size:12px;color:#69655b;margin:16px 0}.warning{background:#fcf0e3;color:#89602d}.step{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.progress{height:5px;background:#ece8df;border-radius:5px;margin:15px 0}.progress>span{display:block;height:100%;background:var(--accent);border-radius:5px}.bar{height:7px;border-radius:5px;background:#eee8de;margin-top:7px;overflow:hidden}.bar span{height:100%;display:block;background:#b76448}.two-fields,.three-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.three-fields{grid-template-columns:1fr 1fr 1fr}label.field{display:block;font-size:12px;font-weight:550;color:#585b51;margin-bottom:17px}label.field small{display:block;color:var(--muted);font-weight:400;line-height:1.6;margin-top:6px}input,select,textarea{background:#fff;border:1px solid #dcd8ce;color:#30322c;border-radius:7px;padding:10px 11px;width:100%;margin-top:7px;outline:none;min-height:38px}input:focus,select:focus,textarea:focus{border-color:#af6a4c}input[type=checkbox]{width:auto;min-height:auto;margin:0}textarea{resize:vertical;min-height:78px}input[type=number]{font-variant-numeric:tabular-nums}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(740px,90vw);max-height:90vh;color:#282824;background:#fcfbf8;box-shadow:0 25px 100px #2223}dialog::backdrop{background:#282b2859;backdrop-filter:blur(3px)}#modal-body{padding:29px 32px 12px;max-height:calc(90vh - 85px);overflow-y:auto}#modal-body h2{font-size:23px;margin-bottom:8px}#modal-body>p{color:var(--muted);line-height:1.6;margin-bottom:24px}.modal-footer{background:#fff;border-top:1px solid var(--line);padding:17px 26px;display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0}.form-error{background:#fae6df;color:#993b25;padding:12px;border-radius:8px;margin-bottom:15px;font-size:13px;line-height:1.5}details{margin:14px 0 22px}summary{cursor:pointer;color:#7e5946;font-size:12px;font-weight:550;margin-bottom:16px}.item-input{display:grid;grid-template-columns:1fr 90px 130px;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.item-input strong{font-size:13px}.item-input input{margin:0}.item-input small{font-size:11px;color:var(--muted)}.inline-note{font-size:12px;color:var(--muted);margin-top:10px}.form-preview{margin:15px 0;padding:14px;background:#f0eee6;border-radius:8px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.back{margin-bottom:20px}.stack{display:grid;gap:10px}.copy-text{background:#f7f4ed;border-radius:9px;white-space:pre-wrap;padding:18px;line-height:1.8;font-size:13px;margin:15px 0}.amount-due{font-size:12px;color:#956239;margin-top:8px}.photo-list{display:flex;gap:8px;flex-wrap:wrap}.photo-list button{max-width:240px;overflow:hidden;text-overflow:ellipsis}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:13px 22px;background:#2c342e;color:#fff;border-radius:10px;box-shadow:0 8px 30px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:650px;z-index:20;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#903f30}.metric-date{font-size:20px!important}.help-steps{counter-reset:steps;display:grid;gap:12px}.help-steps>div{padding:12px 0 12px 37px;position:relative;line-height:1.5;font-size:13px}.help-steps>div:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:11px;border:1px solid #d7cabc;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:11px;color:#9d583e}@media(max-width:1150px){main{padding:30px 26px}.metrics{gap:10px}.metric{padding:16px}.columns{gap:15px}.topbar{gap:12px}.panel{padding:19px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.form-preview{display:block}.availability-summary{display:flex;justify-content:space-between;gap:18px}.availability-items{display:grid;gap:8px;margin:14px 0}.availability-items>div{display:flex;justify-content:space-between;gap:15px;font-size:12px}.availability-items span{color:var(--muted)}

.empty{padding:22px 12px;font-size:13px}.empty>span{display:block}.empty button{margin-top:12px}#modal-body>h2{margin-bottom:22px}.form-preview .inline-note:last-child:empty{display:none}

.availability-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}.availability-times>div{border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff}.availability-times span{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.availability-times strong{display:block;font-size:13px;font-weight:600;line-height:1.5}.availability-detail{font-size:12px}.availability-detail th,.availability-detail td{padding:10px 8px}

.bar-chart{display:grid;gap:14px;padding:8px 0}.chart-bar-row{display:grid;grid-template-columns:minmax(110px,160px) minmax(70px,1fr) 40px;align-items:center;gap:14px;font-size:12px}.chart-bar-row svg{width:100%;height:18px;overflow:visible}.chart-bar-row>strong{text-align:right;font-variant-numeric:tabular-nums}.chart-bar-label{line-height:1.4}.chart-scale{display:flex;justify-content:space-between;margin:0 54px 0 174px;font-size:10px;color:var(--muted)}.pie-section+ .pie-section{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.pie-section h3{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 15px}.pie-chart{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;align-items:center}.pie-chart>svg{width:140px;height:140px}.chart-legend{list-style:none;padding:0;margin:0;display:grid;gap:11px}.chart-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:11px;line-height:1.4}.chart-legend li>svg{width:10px;height:10px}.chart-legend strong{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.chart-legend small{display:block;color:var(--muted);font-size:10px;font-weight:400;white-space:nowrap}@media(max-width:1200px){.pie-chart{grid-template-columns:110px minmax(0,1fr);gap:12px}.pie-chart>svg{width:110px;height:110px}.chart-bar-row{grid-template-columns:110px minmax(65px,1fr) 30px;gap:10px}.chart-scale{margin-left:120px;margin-right:40px}}

.workflow{list-style:none;padding:0;margin:0}.workflow li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:0 0 20px;position:relative}.workflow li:not(:last-child):before{content:"";position:absolute;top:29px;bottom:1px;left:14px;width:1px;background:var(--line)}.step-number{border:1px solid var(--line);width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--muted);background:white}.workflow strong{display:block;font-size:13px;padding-top:3px}.workflow small{display:block;font-size:11px;color:var(--muted);margin:5px 0 0}.workflow .button{margin-top:12px;white-space:normal;width:100%}.workflow .current .step-number{background:var(--accent);color:white;border-color:var(--accent)}.workflow .current strong{color:var(--accent)}.workflow .done .step-number{color:#48614a;background:#e6eee5;border-color:#e6eee5}.secondary-actions{border-top:1px solid var(--line);padding-top:16px;margin-bottom:0}.metric-link{text-align:left}.metric-link:hover{border-color:var(--accent)}#pack-evidence{margin-bottom:12px}.check-row{line-height:1.6}.draft-notice{padding:12px;border:1px solid var(--line);border-radius:8px;margin-bottom:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* Stable operational layout */
main{max-width:1740px;width:100%;justify-self:center}.topbar>div:first-child,.panel-header h2{min-width:0;overflow-wrap:anywhere}.topbar>.actions{flex-shrink:0;justify-content:flex-end}.panel-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;margin-bottom:16px}.panel-tools{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;max-width:380px}.panel-tools>.button{margin:0;white-space:normal;text-align:center}.list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;min-height:54px}.list-row>div:first-child{min-width:0;overflow-wrap:anywhere}.list-row>.actions{justify-content:flex-end;flex-wrap:nowrap}.list-row>.button{min-width:88px}.total-line{gap:16px}.total-line>span:last-child,.list-row>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.toolbar{align-items:start}.toolbar .search{flex:0 0 250px;margin-top:0}.toolbar>.tabs{flex:1;min-width:0}.metric .label{min-height:30px;margin-bottom:8px;line-height:1.4}.metric strong{font-size:clamp(20px,2.2vw,29px);overflow-wrap:anywhere}.kv>div{min-width:0;overflow-wrap:anywhere}.kv .v{font-variant-numeric:tabular-nums}.two-fields,.three-fields{align-items:start}.field{min-width:0}.field input,.field select{max-width:100%}.actions .field{margin-bottom:0}.photo-list .button{white-space:normal;overflow-wrap:anywhere}.info,.copy-text{overflow-wrap:anywhere}.availability-times strong{font-variant-numeric:tabular-nums}.availability-times span{min-height:26px;line-height:1.4}.panel-tools .button.small{min-height:32px}
.task-scroll{overflow-x:auto}.task-table{min-width:690px}.task-row,.task-head{display:grid;grid-template-columns:minmax(130px,1fr) minmax(155px,1.25fr) minmax(140px,.95fr) 226px;gap:18px;align-items:center}.task-head{padding:0 0 11px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}.task-row{padding:17px 0;min-height:84px;border-bottom:1px solid #eeebe5}.task-row:last-child{border-bottom:0}.task-row>div{min-width:0}.task-identity strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;display:block}.task-identity .sub{margin-top:3px}.task-detail{display:grid;justify-items:start;gap:7px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.task-detail .badge{white-space:normal;line-height:1.4}.task-date{display:grid;gap:5px;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}.task-date .sub{margin:0}.task-actions{display:grid;grid-template-columns:162px 54px;gap:10px;align-items:center}.task-actions .button{width:100%;min-height:34px;white-space:normal;text-align:center;padding:8px 10px}.task-secondary .button{padding-left:5px;padding-right:5px}.task-primary:empty,.task-secondary:empty{min-height:34px}
.movement-row{display:grid;grid-template-columns:minmax(65px,.7fr) minmax(0,1.6fr) 42px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #eeebe5;font-size:12px}.movement-row:last-child{border-bottom:0}.movement-row>div{min-width:0;overflow-wrap:anywhere}.movement-qty{text-align:right;font-variant-numeric:tabular-nums}.columns>.panel,.columns>div{min-width:0}.table-wrap td{overflow-wrap:anywhere;line-height:1.5}.table-wrap td>.badge{max-width:100%;white-space:normal;line-height:1.4}.printer-table{min-width:850px}.printer-table th:nth-child(1){width:13%}.printer-table th:nth-child(2){width:12%}.printer-table th:nth-child(3){width:13%}.printer-table th:nth-child(4),.printer-table th:nth-child(5){width:17%}.printer-table th:last-child{width:232px}.printer-table td:last-child>.actions{display:grid;grid-template-columns:125px 60px;gap:10px;align-items:start}.printer-table td:last-child>.actions>.button{width:100%;min-height:34px;white-space:normal}.machine-settings-table{min-width:580px}.machine-settings-table th:first-child{width:32%}.machine-settings-table th:last-child{width:182px}.machine-settings-table td:last-child>.actions{display:grid;grid-template-columns:65px 80px;gap:8px}.catalog-table{min-width:900px}.catalog-table th:first-child{width:16%}.catalog-table th:nth-child(2){width:14%}.catalog-table th:last-child{width:80px}.catalog-table td:last-child .button{width:100%}.queue-table{min-width:940px}.queue-table th:first-child{width:65px}.queue-table th:last-child{width:142px}.queue-table td:last-child .button{width:100%;white-space:normal}.inventory-table{min-width:540px}.inventory-table th:first-child{width:28%}.inventory-table td:not(:first-child),.inventory-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.forecast-table{min-width:650px}.forecast-table th:first-child{width:18%}.forecast-table th:nth-child(2){width:19%}.forecast-table th:last-child{width:120px}
@media(max-width:1200px){.panel-tools{max-width:250px}.panel-tools:has(>.button:nth-child(2)){display:grid;justify-items:stretch}.task-row,.task-head{gap:12px}.topbar{align-items:flex-start}.topbar>.actions{max-width:360px}.topbar>.actions .button{white-space:normal}.movement-row{gap:10px}.toolbar .search{flex-basis:210px}}

/* One label per fact; compact groups rather than concatenated summaries. */
.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:14px 0 18px}.facts>div{min-width:0}.facts dt{font-size:11px;font-weight:400;color:var(--muted);line-height:1.45;margin-bottom:6px}.facts dd{margin:0;font-size:13px;font-weight:550;line-height:1.55;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.availability-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.availability-facts>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px}.availability-facts dt{min-height:30px}.availability-models{display:grid;gap:12px}.availability-model{padding:14px 0;border-top:1px solid var(--line)}.model-title{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:13px}.queue-summary{border-top:1px solid var(--line);padding-top:15px;margin-top:0}.queue-summary h3{font-size:12px;margin:0 0 12px}.queue-summary .facts{margin:0 0 5px}.quote-total{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:2px 0 8px;font-size:13px}.quote-total span{color:var(--muted)}.form-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 20px}.form-summary h3{margin-bottom:12px}.form-summary h3:not(:first-child){margin-top:22px}.form-summary .facts:last-child{margin-bottom:0}.shipment-summary{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.shipment-summary h3{font-size:13px}.delivery-tools{margin-top:18px}.transaction-facts{margin:10px 0 0;gap:12px}.transaction-facts dt{font-size:10px}.transaction-facts dd{font-size:12px}.task-detail-text{line-height:1.7}.info>.facts{margin-bottom:0}.info>strong{display:block;margin-bottom:12px}.form-preview{padding:16px}.order-created{display:grid;gap:4px;font-size:11px;margin-top:12px;line-height:1.5}.order-created>span{color:var(--muted)}.order-created>strong{font-size:13px;color:#42433b;font-weight:550;font-variant-numeric:tabular-nums}.printer-table{min-width:900px}.printer-table th:nth-child(1){width:12%}.printer-table th:nth-child(2){width:12%}.printer-table th:nth-child(3){width:12%}.printer-table th:nth-child(4),.printer-table th:nth-child(5),.printer-table th:nth-child(6){width:13%}.printer-table th:last-child{width:208px}.queue-table{min-width:1030px}.queue-table th:nth-child(1){width:58px}.queue-table th:nth-child(2){width:90px}.queue-table th:nth-child(3){width:110px}.queue-table th:nth-child(4){width:110px}.queue-table th:nth-child(5){width:72px}.queue-table th:nth-child(6),.queue-table th:nth-child(7),.queue-table th:nth-child(8){width:120px}.queue-table th:nth-child(9){width:100px}.queue-table th:last-child{width:120px}

/* Management tables: explicit data columns, uniform dates, anchored actions. */
.query-table,.order-table,.printer-table,.queue-table,.inventory-table,.forecast-table,.catalog-table,.machine-settings-table{table-layout:fixed}.quantity-col{text-align:right!important;font-variant-numeric:tabular-nums;width:78px}.amount-col{text-align:right!important;white-space:nowrap;font-variant-numeric:tabular-nums}.date-cell{display:inline-block;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;color:inherit}.product-table{table-layout:fixed;width:100%;font-size:13px}.product-table th:first-child{width:auto}.product-table .quantity-col{width:90px}.product-table .amount-col{width:140px}.product-table th,.product-table td{padding:11px 8px}.product-table th:first-child,.product-table td:first-child{padding-left:0}.product-table th:last-child,.product-table td:last-child{padding-right:0}.query-table{min-width:740px}.query-table th:nth-child(1){width:24%}.query-table th:nth-child(2){width:18%}.query-table th:nth-child(3){width:78px}.query-table th:nth-child(4){width:19%}.query-table th:nth-child(5){width:125px}.query-table th:last-child{width:80px}.order-table{min-width:990px}.order-table th:nth-child(1){width:16%}.order-table th:nth-child(2){width:12%}.order-table th:nth-child(3){width:78px}.order-table th:nth-child(4){width:125px}.order-table th:nth-child(5){width:145px}.order-table th:nth-child(6){width:125px}.order-table th:nth-child(7){width:130px}.order-table th:last-child{width:80px}.order-table .record-start>td,.query-table .record-start>td{border-top:1px solid var(--line)}.order-table td[rowspan],.query-table td[rowspan]{vertical-align:middle;padding-top:16px;padding-bottom:16px}.order-table td,.query-table td{height:64px}.model-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:13px 0 0}.model-facts dd{font-size:13px}.action-menu{display:inline-flex;align-items:center}.action-menu>.button{min-height:34px;min-width:60px}.action-popover{position:fixed;inset:auto;margin:0;padding:8px;border:1px solid #d9d3c9;border-radius:10px;width:244px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;background:white;color:#282824;box-shadow:0 12px 36px #1f241f29}.action-popover::backdrop{background:transparent}.action-popover .stack{gap:4px}.action-popover .button{justify-content:flex-start;text-align:left;white-space:normal;width:100%;min-height:38px;border-color:transparent;background:white;color:#393a34;padding:10px}.action-popover .button:hover{background:#f2eee7}.action-popover .button.ghost{color:#a34832}.workflow+.action-menu,.panel>.action-menu{margin-top:16px}.printer-table td:last-child>.actions{grid-template-columns:125px 64px;align-items:center}.delivery-date{font-variant-numeric:tabular-nums}

.action-menu>.icon-button{width:36px;min-width:36px;height:34px;padding:7px}.menu-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}#print-notice{width:min(480px,90vw)}.print-notice-body{padding:28px 28px 6px}.print-notice-body h2{margin:18px 0 22px;font-size:23px;line-height:1.3}.print-notice-body .facts{margin-bottom:22px}

.delivery-slot{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.order-table th:nth-child(7){width:160px}

/* Opening a record belongs to the row; buttons perform separate operations. */
.query-table th:nth-child(1){width:26%}.query-table th:nth-child(2){width:24%}.query-table th:nth-child(3){width:82px}.query-table th:nth-child(4){width:24%}.query-table th:last-child{width:130px}.order-table{min-width:900px}.order-table th:nth-child(1){width:17%}.order-table th:nth-child(2){width:14%}.order-table th:nth-child(3){width:82px}.order-table th:nth-child(4){width:125px}.order-table th:nth-child(5){width:145px}.order-table th:nth-child(6){width:125px}.order-table th:last-child{width:155px}.clickable:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.clickable:hover>.who,.clickable:hover>td:first-child .who{color:var(--accent)}/* Shared list toolbar: search and status stay together inside the table card. */
.record-panel{padding:0;overflow:hidden}.record-toolbar{display:flex;align-items:end;gap:16px;padding:18px 23px;border-bottom:1px solid var(--line)}.record-search,.record-filter{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}.control-label{font-size:12px;font-weight:550;color:#55574f}.record-search{flex:0 1 320px}.record-filter{flex:0 0 200px}.record-toolbar input,.record-toolbar select{width:100%;height:38px;margin:0;padding:8px 11px;border:1px solid #d9d5cc;border-radius:7px;background:white;color:#282824}.record-count{margin-left:auto;align-self:center;white-space:nowrap;font-size:12px;color:var(--muted)}.record-panel .table-wrap{padding:0 11px 8px}.record-panel .empty{margin:0}@media(max-width:1100px){.record-toolbar{gap:12px;padding:16px}.record-filter{flex-basis:180px}.record-search{flex:1}.record-count{font-size:11px}}


.columns{align-items:start}.record-group:hover td,.record-group:focus-within td{background:#fbf9f5}

/* State colors shared by lists, detail screens, printers and daily tasks. */
.badge.blue{background:#e5efff;color:#24549a}.badge.orange{background:#fff0cf;color:#805400}.badge.green{background:#e3f3e7;color:#24613b}.badge.violet{background:#eee8fc;color:#654095}.badge.teal{background:#dff3f0;color:#17645a}.badge.coral{background:#ffeadf;color:#994322}.badge.red{background:#fbe5e9;color:#9a2942}.badge.slate{background:#e9edf2;color:#526072}

.stock-forecast-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);gap:28px;align-items:start}.stock-selector .quantity-col{width:100px}.stock-selector input[type=number]{width:76px;min-height:36px;padding:6px 8px;text-align:right;margin:0}.stock-selector td{padding:10px 12px}.stock-selector label{font-weight:550}.stock-forecast-result{min-width:0;padding:18px;background:#f8f7f3;border-radius:8px}.stock-forecast-result .empty{padding:20px 8px}.stock-forecast-result h3{margin-bottom:16px}.movements-table{min-width:620px}.movements-table th:first-child{width:140px}.movements-table th:last-child{width:90px}@media(max-width:1100px){.stock-forecast-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}}

/* Bounded calculator: summary stays visible; catalog and detail scroll independently. */
.stock-forecast-layout{height:360px;grid-template-columns:minmax(200px,.65fr) minmax(0,1.65fr)}#stock-forecast-form{height:100%;min-height:0;overflow:auto}.stock-selector thead{position:sticky;top:0;background:white;z-index:1}.stock-forecast-result{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:16px;gap:12px}.forecast-total{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 16px;border-bottom:1px solid var(--line);padding-bottom:12px}.forecast-total>span{font-size:13px;font-weight:600}.forecast-total>strong{grid-column:2;grid-row:1 / 3;font-size:27px;color:#17645a;font-variant-numeric:tabular-nums}.forecast-total small{color:var(--muted);font-size:12px}.forecast-timing .fact-grid{margin:0}.forecast-timing dl{margin:0}.forecast-detail-scroll{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:6px;background:white}.forecast-detail-table{min-width:610px;font-size:12px}.forecast-detail-table th{position:sticky;top:0;background:#f8f7f3;z-index:1}.forecast-detail-table th,.forecast-detail-table td{padding:10px;white-space:nowrap}.forecast-detail-table .quantity-col{width:65px}.stock-forecast-result>.empty{margin:auto}@media(max-width:1100px){.stock-forecast-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}}

.forecast-total>strong{font-size:23px;white-space:nowrap}

.order-next-actions{display:flex;align-items:flex-start;gap:12px}.order-next-actions>.stack{flex:1;min-width:0}.order-next-actions>.action-menu{flex:0 0 auto;margin:0}.order-next-actions .action-menu-trigger{margin:0}

.order-summary-header{display:grid;grid-template-columns:repeat(4,max-content);justify-content:start;gap:32px;align-items:center;margin:16px 0 24px;padding:4px 0 18px;border-bottom:1px solid var(--line)}.order-summary-header>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.order-summary-header>div>span:first-child{font-size:12px;color:var(--muted)}.order-summary-header h1{font-size:22px;letter-spacing:-.4px;margin:0;line-height:1.2}.order-summary-header strong{font-size:20px;font-weight:650;overflow-wrap:anywhere}.order-summary-header time{font-size:14px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.order-summary-header .order-summary-status{justify-self:start}@media(max-width:1100px){.order-summary-header{grid-template-columns:repeat(4,max-content);gap:24px}.order-summary-header strong{font-size:18px}}

.agenda-table{min-width:680px}.agenda-table th:first-child{width:95px}.agenda-table th:nth-child(2){width:25%}.agenda-table th:last-child{width:170px}.agenda-table td{padding-top:14px;padding-bottom:14px}.agenda-pending{display:block;margin-bottom:7px;line-height:1.45}.agenda-when{font-variant-numeric:tabular-nums;white-space:nowrap}

.home-section{padding:0;overflow:hidden}.home-section-header{display:flex;align-items:center;gap:12px;padding:16px 23px;border-bottom:1px solid var(--line)}.home-section-header h2{margin:0;font-size:18px}.home-section-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:25px;padding:0 8px;background:#eeebe4;border-radius:6px;font-size:13px;font-weight:650}.home-section-scroll{max-height:235px;overflow:auto;padding:0 11px 6px}.home-section-scroll table{min-width:620px}.home-section-scroll th{position:sticky;top:0;background:#fff;z-index:1}.home-section-scroll td{padding:11px 12px}.home-section-scroll th:last-child{width:145px}.home-nowrap{white-space:nowrap}.home-empty{padding:18px 23px;color:var(--muted);font-size:13px}

.home-page-header{display:flex;align-items:baseline;gap:14px;margin:0 0 14px}.home-page-header h1{margin:0;font-size:27px}.home-page-header time{font-size:14px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}.home-section{margin-bottom:12px}.home-section-header{padding:10px 16px;gap:10px}.home-section-header h2{font-size:16px}.home-section-count{height:22px;min-width:24px;font-size:12px}.home-section-scroll{padding:0 4px;max-height:242px}.home-section-scroll th{height:32px;padding:7px 12px;white-space:nowrap}.home-section-scroll td{height:42px;padding:7px 12px;white-space:nowrap}.home-empty{padding:12px 16px}.home-collapsible:not(.is-expanded) tbody tr:nth-child(n+2){display:none}.home-collapsible.is-expanded .home-section-scroll{max-height:452px}.home-expand{margin-left:auto;width:30px;height:28px;min-height:0;padding:4px;border-radius:6px}.home-expand svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}.home-expand[aria-expanded=true] svg{transform:rotate(180deg)}

.cancel-print-confirm{display:flex;align-items:flex-start;gap:10px;margin:14px 0;line-height:1.5}.cancel-print-confirm input{flex:0 0 auto;margin:3px 0 0}

.printer-table{min-width:1000px}.printer-table th:nth-child(1){width:120px}.printer-table th:nth-child(2){width:110px}.printer-table th:nth-child(3){width:90px}.printer-table th:nth-child(4){width:80px}.printer-table th:nth-child(5),.printer-table th:nth-child(6),.printer-table th:nth-child(7){width:130px}.printer-table th:last-child{width:208px}

.daily-charts>.panel{overflow:hidden}.daily-chart-filters{display:flex;gap:14px;align-items:end}.daily-chart-filters label{flex:1;min-width:0;font-size:12px;color:var(--muted)}.daily-chart-filters input{display:block;width:100%;min-width:0;margin:6px 0 0;height:36px;padding:6px 9px}.financial-chart-legend{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:8px;font-size:12px;color:var(--muted)}.financial-chart-legend span{display:flex;align-items:center;gap:7px}.financial-chart-legend i{display:inline-block;width:20px;height:3px;border-radius:2px}.financial-chart-legend .sales-line{background:#af543c}.financial-chart-legend .expenses-line{background:#3869a0}.daily-chart-basis{font-size:11px;color:var(--muted);margin:12px 0 4px}.daily-chart-scroll{overflow-x:auto;overflow-y:hidden;max-width:100%}.daily-chart-scroll svg{height:230px;max-width:none;display:block}.daily-chart-scroll text{font-size:11px;fill:#72746b;font-variant-numeric:tabular-nums}
.production-chart-legend{display:flex;gap:8px 16px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:var(--muted)}.production-chart-legend span{display:inline-flex;align-items:center;gap:6px}.production-chart-legend i{width:10px;height:10px;border-radius:3px;background:var(--series-color);display:inline-block;flex:none}.production-chart-legend b{font-variant-numeric:tabular-nums;color:#30322c}
.financial-chart-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:24px;align-items:stretch}.financial-chart-main{min-width:0}.financial-chart-profit{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0;padding:22px;border-radius:12px;background:#f0f5f0;border:1px solid #dce8dc;color:#315f40}.financial-chart-profit.is-negative{background:#fbf0ed;border-color:#efd9d2;color:#a34832}.financial-chart-profit-label{font-size:14px;font-weight:600;color:var(--muted)}.financial-chart-profit strong{font-size:clamp(24px,2.3vw,38px);line-height:1.12;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.financial-chart-totals{display:grid;gap:8px;margin-top:6px;padding-top:12px;border-top:1px solid currentColor;font-size:12px;opacity:.82}.financial-chart-totals span{display:flex;justify-content:space-between;gap:8px}.financial-chart-totals b{text-align:right;font-variant-numeric:tabular-nums}@media(max-width:760px){.financial-chart-layout{grid-template-columns:minmax(0,1fr);gap:16px}.financial-chart-profit{min-height:150px;padding:18px}.financial-chart-profit strong{font-size:32px}}

.stock-page .topbar{margin-bottom:14px}.stock-page .topbar h1{font-size:27px;margin:0}.stock-page .metrics{margin-bottom:14px;gap:12px}.stock-page .metric{padding:12px 16px;border-radius:9px}.stock-page .metric .label{min-height:0;margin-bottom:5px;font-size:12px}.stock-page .metric strong{font-size:24px;line-height:1.2}.stock-page>.panel{padding:16px;margin-bottom:14px}.stock-page .panel-header{margin-bottom:8px;align-items:center}.stock-page .panel-header h2{font-size:17px}.stock-page .inventory-table th{padding-top:8px;padding-bottom:8px}.stock-page .inventory-table td{padding-top:10px;padding-bottom:10px}

/* Shared operational lists: ten compact rows, internal scrolling and sticky headings. */
.compact-list-scroll{max-height:598px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.record-panel .compact-list-scroll{padding-bottom:0}
.compact-list-scroll th{position:sticky;top:0;z-index:1;background:#fff;height:38px;padding:8px 12px;box-shadow:inset 0 -1px var(--line)}
.compact-list-scroll td,.compact-list-scroll td[rowspan]{height:56px;padding:7px 12px}
.compact-list-scroll .sub{margin-top:3px}
.compact-list-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

.movements-table{min-width:800px;table-layout:fixed}.movements-table th:nth-child(2){width:110px}.movements-table th:nth-child(3){width:165px}.movements-table th:nth-child(5){width:90px}

.receipt-list{max-height:240px}.receipt-list th:last-child{width:130px}.receipt-list td{padding:8px 12px}.receipt-list .button{white-space:normal;text-align:left;overflow-wrap:anywhere}

.message-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px;align-items:stretch}.message-card{height:290px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;min-width:0}.message-card header{min-height:62px}.message-card h2{font-size:16px;margin:10px 0 12px}.message-card-text{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;padding-right:6px}.message-card footer{padding-top:14px;display:flex;justify-content:flex-end}.message-card-text:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.message-grid>.empty{grid-column:1/-1}

.machine-settings-table{min-width:760px}.machine-settings-table th:first-child{width:21%}.machine-settings-table th:nth-child(2){width:16%}.machine-settings-table th:nth-child(3){width:17%}.machine-settings-table th:nth-child(4){width:10%;text-align:center}.machine-settings-table th:nth-child(5){width:15%}.machine-settings-table th:last-child{width:182px}.machine-settings-table td:nth-child(4){text-align:center}.bridge-indicator{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:18px;font-weight:700;line-height:1}.bridge-indicator.connected{background:#e3f3e7;color:#24613b}.bridge-indicator.disconnected{padding:0;border:0;background:#fbe5e9;color:#9a2942;cursor:pointer}.bridge-indicator.disconnected:hover{background:#f5d3db}.bridge-indicator.disconnected:focus-visible{outline:2px solid #9a2942;outline-offset:2px}
.filament-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:18px;align-items:stretch}.filament-card{margin:0;min-height:280px;display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px}.filament-identity{display:flex;align-items:start;justify-content:space-between;gap:12px;min-width:0}.filament-identity h2{margin:0}.filament-open{padding:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left}.filament-open:hover{color:var(--accent)}.file-path-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.file-path-display{padding:14px 16px;background:#f4f1eb;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.file-path-display code{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-all}.filament-card-clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.filament-card-clickable:hover{border-color:#cdbbae;box-shadow:0 4px 16px #28282412}.filament-stock{display:flex;flex-direction:column;gap:8px}.filament-stock .large-number{white-space:nowrap}.filament-stock .bar{margin:5px 0 0}.filament-card .button{margin-top:auto;align-self:flex-start}.filament-card .bar span{background:#68856d}.filament-plus{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.filament-card .button{gap:7px}.combo-readouts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 18px}.combo-readout{min-width:0;padding:16px 18px;background:#f4f1eb;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column;gap:6px}.combo-readout>span{font-size:12px;color:var(--muted);font-weight:550}.combo-readout>strong{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.combo-readout>small{font-size:11px;color:var(--muted);line-height:1.5}.filament-plate-list{display:grid;gap:7px;margin:2px 0 4px;min-width:0}.filament-plate-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.filament-plate-row>span{color:var(--muted);font-size:14px}.filament-plate-row>strong{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}.combo-readout input[type=hidden]{display:none}@media(max-width:640px){.combo-readouts{grid-template-columns:1fr}}
.filament-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}.filament-card-actions .button{margin:0}
.machine-settings-table{min-width:900px}.machine-settings-table th:first-child{width:15%}.machine-settings-table th:nth-child(2){width:12%}.machine-settings-table th:nth-child(3){width:16%}.machine-settings-table th:nth-child(4){width:150px;text-align:left}.machine-settings-table th:nth-child(5){width:12%}.machine-settings-table th:last-child{width:182px}.machine-settings-table td:nth-child(4){text-align:left}.machine-settings-table td:last-child>.actions{display:grid;grid-template-columns:65px 80px;gap:8px}.connection-cell-button{width:auto;padding:0;background:transparent;border:0;justify-content:flex-start}.connection-cell-button:hover{filter:brightness(.97)}.button[aria-busy="true"]{opacity:.92}.button-spinner{width:14px;height:14px;display:inline-block;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .7s linear infinite;flex:0 0 auto}@keyframes button-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.button-spinner{animation:none;border-right-color:currentColor;border-top-color:transparent}}
.printer-detail-row{cursor:pointer}
.filament-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr))}.filament-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.filament-identity>div{min-width:0}.filament-identity h2{font-size:20px;line-height:1.25;overflow-wrap:anywhere}.filament-open{white-space:normal;overflow-wrap:anywhere}.filament-identity>.badge{max-width:150px;white-space:normal;text-align:center}.filament-card-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;align-items:center;gap:8px}.filament-card-actions>.button{width:100%;min-width:0;justify-content:center;padding:9px 10px;white-space:nowrap}.filament-card-actions>.action-menu{justify-self:end}.filament-card-actions>.action-menu>.button{width:40px;min-width:40px;padding:7px}
@media(max-width:420px){.filament-identity{grid-template-columns:minmax(0,1fr)}.filament-identity>.badge{justify-self:start}.filament-card-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px}}
.queue-table{min-width:1030px}.queue-table th:last-child{width:120px}.button.link-button{padding:0;background:transparent;color:#346db0;text-decoration:underline;text-underline-offset:3px;font-weight:600}.button.link-button:hover{background:transparent;color:#24558f}
.sidebar{overflow-y:auto;overscroll-behavior:contain}.nav{display:flex;flex-direction:column;gap:16px}.nav-group{display:grid;gap:4px}.nav-group-title{padding:0 12px 3px;color:#66675e;font-size:10px;font-weight:700;letter-spacing:1.15px}.nav button{min-height:42px;padding:10px 12px;gap:12px}.nav button>span:last-child{line-height:1.3}.nav-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav button.active .nav-icon{stroke-width:2}.sub,th{font-size:12px}.badge{font-size:12px}label.field{font-size:13px}@media(max-height:760px){.sidebar{padding-top:12px;padding-bottom:12px}.brand{padding-bottom:14px}.nav{gap:10px}}
.table-sort{display:inline-flex;align-items:center;gap:6px;padding:2px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left}.table-sort span{color:#897b6d;font-size:14px;line-height:1}.table-sort:hover{color:#713b2b}.table-sort:focus-visible{outline:2px solid #af6a4c;outline-offset:3px}.filament-autonomy{line-height:1.55}
.connection-indicator{width:34px;height:30px;border:0;border-radius:7px;background:transparent;display:inline-grid;place-items:center;cursor:pointer;padding:5px}.connection-indicator svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.connection-indicator.green{color:#24613b;background:#e3f3e7}.connection-indicator.red{color:#9a2942;background:#fbe5e9}.connection-indicator.slate{color:#526072;background:#e9edf2}.connection-indicator:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.connection-modal{width:min(860px,92vw)}.connection-modal #modal-body{padding:26px 30px 22px}.connection-modal #modal-body>h2{font-size:23px;margin-bottom:4px}.connection-intro{margin:0 0 20px!important;font-size:13px}.connection-groups{display:grid;gap:14px}.connection-group{padding:17px 18px;background:#f8f7f3;border:1px solid var(--line);border-radius:11px}.connection-group-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:13px}.connection-group-heading h3,.connection-issues h3{margin:0 0 4px;font-size:15px}.connection-group-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.connection-tile{min-width:0;padding:11px 12px;background:#fff;border:1px solid var(--line);border-radius:8px}.connection-tile-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.connection-tile-heading>span:first-child,.connection-meta>span{font-size:12px;color:var(--muted)}.connection-tile .badge{white-space:nowrap}.connection-detail{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.connection-detail.is-error{color:#9a2942}.connection-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 3px}.connection-meta strong{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.connection-issues{padding:13px 16px;border:1px solid #efcfc9;background:#fff7f5;border-radius:9px}.connection-issues>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid #f0ddd8;font-size:12px;line-height:1.45}.connection-issues>div strong{color:#903f30}.connection-events{margin:14px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}.connection-events summary{margin:0;font-size:12px}.connection-events[open] summary{margin-bottom:12px}.connection-events .table-wrap{max-height:220px;overflow:auto}.connection-events table{min-width:580px}.connection-events th,.connection-events td{padding:8px}@media(max-width:620px){.connection-modal #modal-body{padding:22px 18px 16px}.connection-group{padding:14px}.connection-grid{grid-template-columns:1fr}.connection-issues>div{grid-template-columns:1fr;gap:3px}}
.connection-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:3px 0 18px}.connection-tabs button{position:relative;display:inline-flex;align-items:center;gap:8px;padding:10px 13px;background:transparent;color:var(--muted);font-size:13px;font-weight:550;border-radius:7px 7px 0 0}.connection-tabs button:hover{background:#f8f7f3;color:#282824}.connection-tabs button.active{color:#873f2d;background:#f8f7f3}.connection-tabs button.active:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;background:var(--accent);border-radius:2px}.connection-tabs button>span{min-width:20px;height:19px;padding:0 6px;display:inline-grid;place-items:center;border-radius:10px;background:#eeebe4;color:#55564e;font-size:11px}.connection-modal [role=tabpanel][hidden]{display:none}.connection-modal #events-panel{min-height:270px}.connection-modal #events-panel .empty{min-height:240px;display:grid;place-items:center}.connection-modal #events-panel .table-wrap{max-height:none;overflow:visible}
.print-progress{display:grid;grid-template-columns:auto minmax(70px,120px);align-items:center;gap:5px 8px;margin-top:7px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--muted)}.print-progress progress{width:100%;height:6px;appearance:none;border:0;border-radius:99px;background:#eeeae3;overflow:hidden}.print-progress progress::-webkit-progress-bar{background:#eeeae3;border-radius:99px}.print-progress progress::-webkit-progress-value{background:#68866e;border-radius:99px}.print-progress progress::-moz-progress-bar{background:#68866e;border-radius:99px}.print-progress small{grid-column:2;color:var(--muted);font-size:10px;font-weight:450}
.printer-table{min-width:1080px}.printer-table th:nth-child(1){width:110px}.printer-table th:nth-child(2){width:120px}.printer-table th:nth-child(3){width:140px}.printer-table th:nth-child(4){width:140px}.printer-table th:nth-child(5){width:100px}.printer-table th:nth-child(6){width:125px}.printer-table th:nth-child(7){width:120px}.printer-table th:nth-child(8){width:140px}.printer-table th:last-child{width:74px}.printer-table td:last-child>.action-menu{display:flex;justify-content:center}.printer-table .print-progress{max-width:135px}.printer-table .badge{white-space:nowrap}
.printer-table td:nth-child(3) .print-progress-trigger{min-width:0;min-height:0;padding:4px 2px;border:0;background:transparent;color:#30322c;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.printer-table td:nth-child(3) .print-progress-trigger:hover{background:#f2eee7}.print-progress-detail{min-width:220px;padding:8px}.print-progress-detail>strong{display:block;font-size:12px;color:var(--muted);margin-bottom:10px}.print-progress-detail-value{display:block;font-size:25px;font-weight:700;font-variant-numeric:tabular-nums;margin-bottom:8px}.print-progress-detail>progress{display:block;width:100%;height:8px;appearance:none;border:0;border-radius:99px;background:#eeeae3;overflow:hidden}.print-progress-detail>progress::-webkit-progress-bar{background:#eeeae3;border-radius:99px}.print-progress-detail>progress::-webkit-progress-value{background:#68866e;border-radius:99px}.print-progress-detail>progress::-moz-progress-bar{background:#68866e;border-radius:99px}.print-progress-detail dl{display:grid;gap:9px;margin:14px 0 0}.print-progress-detail dl>div{display:flex;justify-content:space-between;gap:16px}.print-progress-detail dt{color:var(--muted)}.print-progress-detail dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.daily-chart-filters label:nth-child(3){flex:1.2}
