/* /assets/app.27cc2a6eaef48712.css */
/* /assets/app.27cc2a6eaef48712.css */
/* /assets/style.261ed278bcb46696.css */
*{box-sizing:border-box}body{margin:0;font-family:Arial,'Microsoft JhengHei',sans-serif;color:var(--theme-ink,#173348);background:var(--theme-bg,#f3f6f8);font-size:14px}button,input,select,textarea{font:inherit}button{border:1px solid var(--theme-border,#c6d4df);border-radius:7px;background:var(--theme-card,#fff);color:var(--theme-ink,#173348);padding:9px 13px;cursor:pointer;font-weight:700}button:hover{background:var(--theme-soft,#e8f0f5)}button.primary{background:var(--theme-accent,#126c78);color:white;border-color:var(--theme-brand,#126c78)}button.danger{color:#b33440}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{width:100%;border:1px solid var(--theme-border,#c4d1dc);border-radius:6px;padding:10px;background:var(--theme-card,#fff);color:var(--theme-ink,#173348)}textarea{min-height:80px}input:focus,select:focus,button:focus{outline:2px solid #36a7ad;outline-offset:2px}small,.muted{color:var(--theme-muted,#637789);font-size:12px}h1{font-size:25px;margin:0 0 7px}h2{font-size:19px;margin:0 0 18px}h3{font-size:15px}header{height:80px;background:var(--theme-card,#fff);border-bottom:1px solid var(--theme-border,#dbe4eb);display:flex;align-items:center;justify-content:space-between;padding:16px 28px;position:sticky;top:0;z-index:3}header img{width:116px;height:50px;object-fit:contain}header .brand{display:flex;gap:20px;align-items:center}header .brand b{font-size:19px}nav{width:220px;position:fixed;top:80px;bottom:0;background:var(--theme-accent,#13374b);color:#fff;padding:24px 14px;display:flex;flex-direction:column;gap:7px}nav button{background:transparent;color:#d9e8ef;border:0;text-align:left;padding:14px}nav button.active{background:var(--theme-soft,#e1f3f2);color:var(--theme-accent,#124b52)}nav small{color:#bed0dc;display:block;margin-top:4px}nav .foot{margin-top:auto;padding:14px;font-size:12px;line-height:1.7}.content{margin-left:220px;padding:28px;max-width:1900px}.topline,.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar{justify-content:flex-start}.toolbar input{width:320px;max-width:100%}.toolbar select{width:200px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.card,.panel{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dbe4eb);border-radius:10px;padding:20px}.card strong{display:block;font-size:28px;margin:12px 0 3px}.card.warn strong{color:#aa4d14}.tablewrap{overflow:auto;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d9e3ea);border-radius:9px;max-height:65vh}table{width:100%;border-collapse:collapse;text-align:left}th{position:sticky;top:0;background:var(--theme-soft,#e7f0f5);z-index:1;color:var(--theme-ink,#25485f);white-space:nowrap;font-size:12px;padding:13px 10px;border-bottom:1px solid var(--theme-border,#c9d8e2)}td{padding:12px 10px;border-bottom:1px solid var(--theme-border,#e8eef2);font-weight:600;white-space:nowrap;font-size:12px}tbody tr:hover{background:var(--theme-bg,#f4fafa)}td.wrap{white-space:normal;min-width:180px;max-width:320px}td.num{text-align:right;font-variant-numeric:tabular-nums}td.bad{color:#b34b33;background:#fff3ed}.pill{display:inline-block;padding:4px 9px;border-radius:20px;background:#e5f3ed;color:#277057;font-size:11px}.pill.warn{background:#fff0df;color:#a5590b}.pill.red{background:#ffe9e9;color:#ac3440}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field.wide{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.info{padding:14px;background:var(--theme-soft,#e9f4f5);border-left:3px solid var(--theme-brand,#24919a);border-radius:3px;line-height:1.7;margin-bottom:18px}.warning{background:#fff2e7;border-left-color:#bb7838}.login{max-width:470px;margin:8vh auto;background:var(--theme-card,#fff);padding:38px;border:1px solid var(--theme-border,#d8e3e9);border-radius:14px}.login img{width:145px;margin-bottom:24px}.login .field{margin:18px 0}.loading{text-align:center;padding:80px;line-height:2}dialog{border:1px solid var(--theme-border,#cad8e1);border-radius:12px;width:min(900px,94vw);max-height:92vh;padding:26px;box-shadow:0 20px 80px #1234}dialog::backdrop{background:#1237}#notice{position:fixed;bottom:22px;right:24px;max-width:600px;padding:16px 20px;background:var(--theme-accent,#193e52);color:white;border-radius:8px;z-index:20;display:none;white-space:pre-line}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.empty{padding:45px;text-align:center;color:var(--theme-muted,#6d8291)}.shipment-preview{background:var(--theme-card,#fff);padding:16px;overflow:auto}.ship-page{width:281mm;min-height:194mm;background:white;color:#102d43;margin:0 auto 20px;padding:0;display:flex;flex-direction:column;font-family:Arial,'Microsoft JhengHei',sans-serif}.ship-head{display:flex;align-items:center;justify-content:space-between;height:17mm}.ship-head img{width:39mm;height:15mm;object-fit:contain}.ship-head h2{text-align:center;font-size:21px;margin:0}.ship-meta{display:flex;justify-content:space-between;gap:15px;font-weight:700;font-size:11px;padding:4mm 0}.ship-table{table-layout:fixed;width:100%;text-align:center}.ship-table th{position:static;white-space:normal;padding:1.2mm .6mm;font-size:10px;height:10mm;background:var(--theme-soft,#e3eef4);border:1px solid #a9bdcd}.ship-table td{white-space:normal;word-break:break-word;padding:.4mm .6mm;height:5mm;border:1px solid var(--theme-border,#c7d4de);font-size:10px;line-height:1.15;vertical-align:middle}.ship-signs{display:grid;grid-template-columns:repeat(3,1fr);gap:3mm;margin-top:3mm}.signature{height:24mm;border:1px solid #a9bdcd;text-align:center;font-size:10px;padding:2mm;font-weight:700}.signature span{display:block;text-align:left;margin-top:11mm;font-size:9px}.ship-footer{text-align:right;font-size:9px;margin-top:2mm}.ship-table tr:hover{background:none}#print{display:none}a{color:var(--theme-accent,#156b82)}code{word-break:break-all}.log{white-space:pre-wrap;background:var(--theme-bg,#f2f6f8);padding:15px;font-size:12px;max-height:180px;overflow:auto}.pagination{display:flex;gap:12px;align-items:center;margin-top:16px}@media(max-width:900px){nav{position:static;width:auto;flex-direction:row;overflow:auto;padding:8px}nav .foot{display:none}nav button{white-space:nowrap}header{position:static;padding:12px;height:auto}header .brand b{font-size:14px}.content{margin:0;padding:16px}.cards{grid-template-columns:repeat(2,1fr)}.grid,.split{grid-template-columns:1fr}.field.wide{grid-column:auto}.ship-page{zoom:.65}}@page{size:A4 landscape;margin:8mm}@media print{body{background:#fff}#app,#modal,#notice{display:none!important}#print{display:block}.ship-page{width:281mm;height:194mm;min-height:0;margin:0;break-after:page;page-break-after:always;zoom:1}.ship-page:last-child{break-after:auto;page-break-after:auto}.ship-table{break-inside:avoid}.ship-signs{break-inside:avoid}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

nav button.active small{color:#35646a}.stock-view td:nth-last-child(2),.stock-view th:nth-last-child(2){position:sticky;right:88px;min-width:98px;background:var(--theme-soft,#edf7f5);box-shadow:-3px 0 4px #1231}.stock-view td:last-child,.stock-view th:last-child{position:sticky;right:0;min-width:88px;background:var(--theme-soft,#edf7f5)}.stock-view th:nth-last-child(-n+2){z-index:2}.stock-view td.bad{background:#fff0e7}.ship-page>*{flex-shrink:0}.ship-head{height:16mm}.ship-meta{padding:3mm 0}.ship-table th{height:9mm}.ship-table td{height:4.8mm}

.measure .ship-page{zoom:1!important}

.ship-table td.ship-tool{white-space:nowrap;font-size:10px;line-height:1.15;padding:.4mm .6mm}

input[data-select-move],#selectMovePage{width:18px;height:18px;padding:0;vertical-align:middle;cursor:pointer}

.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.card[data-stock-card] strong{font-size:24px}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.cards{grid-template-columns:1fr}}

.material-results{max-height:260px;overflow-y:auto;border:1px solid #36a7ad;border-radius:6px;margin:4px 0 8px;background:var(--theme-card,#fff)}.material-results[hidden]{display:none}.material-results button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--theme-border,#e5edf2);border-radius:0;font-weight:400;white-space:normal;line-height:1.5}.material-results button:hover,.material-results button[aria-selected="true"]{background:var(--theme-soft,#e0f3f3)}.material-results p{padding:10px;margin:0}

.quantity-picker{position:relative;display:flex;align-items:center}.quantity-picker input{padding-right:40px;appearance:textfield;-moz-appearance:textfield}.quantity-picker input::-webkit-inner-spin-button,.quantity-picker input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quantity-toggle{position:absolute;right:1px;top:1px;bottom:1px;width:38px;padding:0;border:0;border-left:1px solid var(--theme-border,#dce6ec);border-radius:0 5px 5px 0;background:var(--theme-bg,#f1f7fa);color:var(--theme-accent,#166b78);font-size:20px}.quantity-list{position:absolute;z-index:100;top:calc(100% + 5px);left:0;right:0;max-height:210px;overflow:auto;border:1px solid var(--theme-border,#b8d0dc);border-radius:8px;background:var(--theme-card,#fff);box-shadow:0 6px 18px #14374926;padding:4px}.quantity-list[hidden]{display:none}.quantity-list button{display:block;text-align:left;width:100%;border:0;border-radius:4px;padding:8px 12px;background:var(--theme-card,#fff);color:var(--theme-ink,#17394c)}.quantity-list button:hover,.quantity-list button:focus,.quantity-list button[aria-selected=true]{background:var(--theme-soft,#e2f2f4);color:var(--theme-accent,#086a78);outline:none}.quantity-list p{margin:8px;font-size:12px;color:var(--theme-muted,#60788a)}

.ship-page{position:relative;isolation:isolate}.ship-watermark{position:absolute;z-index:2;pointer-events:none;user-select:none;left:12%;top:34%;width:76%;text-align:center;transform:rotate(-22deg);color:rgba(31,72,91,.12);line-height:1.5;font-weight:700}.ship-watermark strong{display:block;font-size:66px;letter-spacing:12px}.ship-watermark span{display:block;font-size:23px}.ship-watermark small{display:block;font-size:17px;color:inherit;font-weight:700;letter-spacing:.5px}
/* Searchable choices use the same white menu throughout the application. */
.unified-choice{position:relative;min-width:0;width:100%}
.toolbar>.unified-choice{width:220px;max-width:100%}
.unified-choice>input{width:100%;padding-right:32px}
.choice-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;padding:0!important;border:0!important}
.unified-choice .quantity-list{z-index:80;min-width:100%;max-width:min(700px,85vw)}
.unified-choice .quantity-list button{white-space:normal;text-align:left}
.unified-choice .quantity-list button:disabled{opacity:.45;cursor:not-allowed}

.ship-watermark{left:3%;top:17%;width:94%;height:65%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);align-items:center;transform:none;color:rgba(31,72,91,.10);gap:12px}.watermark-tile{transform:rotate(-18deg);text-align:center;line-height:1.5}.ship-watermark strong{font-size:22px;letter-spacing:4px}.ship-watermark span{font-size:10px}.ship-watermark small{font-size:8px;letter-spacing:0;max-width:240px;margin:auto}

.note-en{display:block;font-size:11px;line-height:1.4;font-weight:400;margin-top:3px;overflow-wrap:anywhere;color:inherit;opacity:.88}.info .note-en,.muted .note-en{font-size:11px}small .note-en{font-size:10px}

@media(min-width:901px){nav{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}nav>button,nav>.foot{flex-shrink:0}}

.cancel-policy-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cancel-policy-controls #cancelDays{width:100px;flex:0 0 100px}.cancel-policy-controls button{margin-left:4px}

.movement-filters{align-items:flex-end;gap:12px}.movement-filters .field{min-width:150px;flex:1;margin:0}.movement-filters input,.movement-filters select{width:100%}.movement-filters label{font-size:12px}

.cards .card{position:relative;padding-right:78px}.card-settings{position:absolute;right:10px;top:10px;font-size:11px;padding:4px 7px}.cards .card>span{display:block;overflow-wrap:anywhere} #cardPreferences [hidden]{display:none!important}


.unified-choice .quantity-list{overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#718c9c #eef4f7;overscroll-behavior:contain;box-sizing:border-box}.unified-choice .quantity-list::-webkit-scrollbar{width:14px}.unified-choice .quantity-list::-webkit-scrollbar-track{background:var(--theme-soft,#eef4f7);border-radius:7px}.unified-choice .quantity-list::-webkit-scrollbar-thumb{background:#718c9c;border:3px solid #eef4f7;border-radius:7px}.unified-choice .quantity-list::-webkit-scrollbar-thumb:hover{background:#466879}

.unified-choice .quantity-list{scrollbar-width:none;scrollbar-gutter:auto;padding-right:22px}.unified-choice .quantity-list::-webkit-scrollbar{display:none}.picker-scroll-track{position:absolute;z-index:102;right:3px;width:16px;background:var(--theme-soft,#edf3f6);border-radius:8px;touch-action:none;user-select:none}.picker-scroll-track[hidden]{display:none}.picker-scroll-thumb{position:absolute;left:3px;right:3px;min-height:26px;background:#718c9c;border-radius:8px;cursor:grab;touch-action:none;user-select:none}.picker-scroll-thumb:hover,.picker-scroll-thumb.dragging{background:#375e72}.picker-scroll-thumb.dragging{cursor:grabbing}

/* AUCAN system branches */
.system-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:22px}.system-cards .panel{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.system-cards .panel p{line-height:1.7}.system-cards .panel button{margin-top:auto}.system-nav-label{padding:18px 14px 8px;color:#c3dbe3;font-size:12px}.system-nav-label small{display:block}.system-links{border-bottom:1px solid #ffffff30;padding-bottom:12px;margin-bottom:8px}

.eng-note{max-width:300px;white-space:pre-wrap}.eng-source{margin-top:20px}.eng-source dl{display:grid;grid-template-columns:minmax(130px,1fr) 3fr;gap:8px}.eng-source dt{font-weight:600}.eng-source dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}#engForm fieldset{border:0;padding:0;margin:0}#engRows progress{width:85px;accent-color:var(--theme-brand,#137987)}#engHistoryRows article{border-top:1px solid var(--theme-border,#d4e2e8);padding:12px 0}#engRows th{white-space:normal}

#engSummary{grid-template-columns:repeat(4,minmax(150px,1fr))}@media(max-width:1000px){#engSummary{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media(max-width:550px){#engSummary{grid-template-columns:1fr}}

/* Three fixed authorization rows must not clip their choice menus. */
.system-access-table{overflow:visible;max-height:none}
.system-access-table table{table-layout:fixed}
.system-access-table td,.system-access-table th{white-space:normal;overflow-wrap:anywhere}
.system-access-table .quantity-list{min-width:100%;max-width:100%}

.eng-stage{font-size:12px;min-width:95px}.eng-stage-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.eng-stage-options label{border:1px solid var(--theme-border,#c9dbe4);border-radius:8px;padding:14px;cursor:pointer}.eng-stage-options input{width:auto;display:inline-block}.eng-stage-options small{display:block;color:var(--theme-muted,#61798b);margin-top:8px}
.unified-choice:has(#engView[hidden]),.unified-choice:has(#engStatus[hidden]),.unified-choice:has(#engStage[hidden]),.unified-choice:has(#engCompletion[hidden]){display:none}

.picking-page .picking-table td{height:7mm;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:10px}.picking-table th{white-space:normal;font-size:10px}.paper-check{display:inline-block;width:4mm;height:4mm;border:1px solid #222}.picking-sign{margin-top:8mm;font-size:12px}.picking-page>p{font-size:11px}

.ship-trip{font-size:12px;font-weight:600;margin:0 0 6px;overflow-wrap:anywhere}

.inactive-materials td,.inactive-materials th{white-space:normal;overflow-wrap:anywhere}.inactive-materials td{max-width:220px}.inactive-materials button{white-space:normal}
/* Main framework navigation is visually distinct from subsystem pages. */
nav button[data-system],nav button[data-main-staff],nav button[data-supervisor-log]{background:#293650;color:#f0f3fc;border:1px solid #43516c;width:100%}
nav .system-links{display:flex;flex-direction:column;gap:7px;border-bottom-color:#7d8aa3}
nav button[data-system] small,nav button[data-main-staff] small,nav button[data-supervisor-log] small{color:#cbd4e8}
nav button[data-system]:hover,nav button[data-main-staff]:hover,nav button[data-supervisor-log]:hover{background:#3a4966}
nav button[data-system].active{background:#e3e6fa;color:#283769;border-color:var(--theme-border,#b2bee8);box-shadow:inset 4px 0 #7f91d4}
nav button[data-system].active small{color:var(--theme-muted,#465581)}

.vr-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;max-width:1080px}.vr-filter-grid>label{min-width:0;font-size:12px}.vr-filter-grid input,.vr-filter-grid select{padding:8px;font-size:13px}.vr-date-actions{grid-column:3;display:flex;gap:8px;justify-content:flex-end}.vr-date-actions button{padding:7px 10px;font-size:12px}.vr-date-inputs{display:flex;align-items:center;gap:5px}.vr-date-inputs input{min-width:0}.vr-search{display:block;width:50%;font-size:12px}.vr-search input{padding:8px}@media(max-width:900px){.vr-filter-grid{grid-template-columns:1fr}.vr-date-actions{grid-column:1;justify-content:flex-start}.vr-search{width:100%}}

.vr-home .vr-top-actions{margin:0 0 12px;gap:8px;flex-wrap:wrap}.vr-home>p.muted{line-height:1.5;margin:0 0 16px}.vr-filter-card{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dbe4eb);border-radius:10px;padding:16px 18px;margin-bottom:16px}.vr-filter-card .vr-filter-grid{max-width:none;gap:8px 18px}.vr-filter-grid>label{line-height:1.5}.vr-filter-card input,.vr-filter-card select{height:36px}.vr-filter-card .select-control{min-height:36px}.vr-date-actions button{font-weight:normal;background:var(--theme-bg,#f4f8fa)}.vr-search-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:14px}.vr-search-row .vr-search{width:50%;line-height:1.5}.vr-search-row .actions{margin:0}.vr-search-row button{font-size:12px;padding:8px 12px}.vr-selection-actions{margin:0 0 10px;gap:8px}.vr-selection-actions button{font-size:12px;padding:7px 11px}.vr-home>.table-wrap{border:1px solid var(--theme-border,#dbe4eb);border-radius:10px;background:var(--theme-card,#fff);overflow:auto}.vr-home table td{padding:12px}.vr-home table td button{font-size:12px;padding:8px 10px;margin:2px}.vr-home table input[type=checkbox]{width:16px;height:16px;accent-color:var(--theme-brand,#126c78)}.vr-home #vrPrintPreview{margin-top:18px}@media(max-width:700px){.vr-search-row{align-items:stretch;flex-direction:column}.vr-search-row .vr-search{width:100%}.vr-filter-card{padding:12px}.vr-top-actions button{flex:1}.vr-selection-actions{flex-wrap:wrap}}

/* Keep the material menu inside the add-item dialog flow, including small screens. */
.vr-entry-dialog #vrEntrySearch-popup{position:static;flex-basis:100%;max-height:240px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;margin-top:5px;box-shadow:none}
.vr-entry-dialog .quantity-picker:has(#vrEntrySearch){flex-wrap:wrap}
.vr-entry-dialog .quantity-picker:has(#vrEntrySearch)>.quantity-toggle{height:42px;bottom:auto}
.vr-entry-dialog #vrEntryMaterial[hidden]{display:none!important}

.vr-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.vr-editor-header h2{margin:0}.vr-editor-header button{flex-shrink:0}

.vr-inline-entry{padding:16px;margin:16px 0;border:1px solid var(--theme-border,#cbdde5);border-radius:10px;background:var(--theme-bg,#f5fafb)}.vr-inline-entry h3{margin:0}.resizable-inventory{table-layout:fixed!important;min-width:0!important}.resizable-inventory th{position:sticky;top:0;padding-right:16px}.resizable-inventory td,.resizable-inventory th{min-width:0!important;white-space:normal;overflow-wrap:anywhere}.column-resize-handle{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;z-index:4;border-right:2px solid #aac1cc}.column-resize-handle:hover,.column-resize-handle:focus{background:#1693a455}.stock-view .resizable-inventory td:nth-last-child(2),.stock-view .resizable-inventory th:nth-last-child(2){right:var(--last-column-width)}

.resizable-inventory th{overflow-wrap:normal;word-break:normal}.resizable-inventory td.num{white-space:nowrap}

/* Compact desktop workspace; printed documents retain their physical size. */
@media screen{body{zoom:.85}}
@media print{body{zoom:1!important}}
.vr-inline-entry{padding:18px 20px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d7e3e9);border-top:3px solid var(--theme-brand,#167c88);border-radius:10px;margin:16px 0 20px;box-shadow:0 3px 10px #17394c06}
.vr-inline-entry h3{font-size:15px;margin-bottom:12px;color:var(--theme-accent,#176b77)}
.vr-inline-entry>.grid{display:grid;grid-template-columns:minmax(280px,2fr) minmax(120px,.6fr) minmax(180px,1fr);gap:12px 16px;margin-top:0!important;align-items:start}
.vr-inline-entry>.grid>label.wide{grid-column:auto!important}
.vr-inline-entry #vrEntryStock{grid-column:1/-1!important;order:4;margin:0;padding:9px 12px;background:var(--theme-bg,#f0f7f8);border-left:3px solid #76b6bf;font-size:12px;min-height:0}
.vr-inline-entry>.actions{margin-top:12px;margin-bottom:0}
.vr-inline-entry #vrEntryAdd{background:var(--theme-accent,#126c78);border-color:var(--theme-brand,#126c78);color:white}
@media(max-width:800px){.vr-inline-entry>.grid{grid-template-columns:1fr 1fr}.vr-inline-entry>.grid>label.wide{grid-column:1/-1!important}}

.warehouse-guide{max-width:1200px;margin:auto}.warehouse-guide small{display:block;line-height:1.5;margin-top:4px;color:var(--theme-muted,#60798b);font-weight:400}.warehouse-guide h2{margin:0;font-size:22px}.warehouse-guide h3{margin:0 0 8px;font-size:16px}.warehouse-guide p{line-height:1.7}.guide-intro{display:flex;justify-content:space-between;gap:20px;padding:22px 0}.guide-version{color:var(--theme-muted,#688392);font-size:12px}.guide-index{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0 20px}.guide-index a{padding:16px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d5e2e9);border-radius:10px;text-decoration:none;color:var(--theme-ink,#17394c)}.guide-index b{display:block;color:var(--theme-accent,#147e89);margin-bottom:8px}.guide-alert{border-left:4px solid var(--theme-brand,#16818c);background:var(--theme-soft,#edf6f7);padding:14px 18px;margin:18px 0;line-height:1.6}.guide-chapter{scroll-margin-top:100px;border:1px solid var(--theme-border,#d8e4eb);border-radius:14px;background:var(--theme-card,#fff);padding:26px;margin:22px 0}.guide-heading{display:flex;gap:16px;align-items:center}.guide-heading>b{font-size:25px;background:var(--theme-soft,#e8f2f7);color:var(--theme-accent,#197184);border-radius:10px;padding:13px}.guide-route{color:var(--theme-accent,#176c7c);font-weight:bold}.guide-role{font-size:13px}.guide-screen{margin:18px 0;background:#f4f8fb;border:1px solid var(--theme-border,#dce6ed);border-radius:10px;padding:16px}.guide-screen figcaption{font-size:12px;margin-bottom:14px}.guide-screen>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-screen>div>div{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#cadce6);padding:12px;border-radius:6px;font-size:13px}.guide-placeholder{display:block;color:#c7d8e0;margin-top:12px}.guide-steps{display:grid;grid-template-columns:1fr 1fr;gap:14px 30px;padding-left:26px;margin:22px 0}.guide-steps li{padding:12px 8px;border-bottom:1px solid var(--theme-border,#e5edf2)}.guide-steps li::marker{color:var(--theme-accent,#147b87);font-weight:bold}.guide-steps p{margin:0;font-size:14px}.guide-flow{display:flex;align-items:stretch;gap:10px;margin:15px 0}.guide-flow>div{flex:1;padding:15px;background:var(--theme-soft,#eaf4f1);border:1px solid var(--theme-border,#bcd9d0);border-radius:8px;text-align:center;font-size:14px}.guide-arrow{align-self:center;font-size:22px;color:var(--theme-muted,#729ba5)}@media(max-width:800px){.guide-index,.guide-steps{grid-template-columns:1fr}.guide-screen>div{grid-template-columns:1fr}.guide-flow{flex-direction:column}.guide-arrow{transform:rotate(90deg)}.guide-chapter{padding:18px}}

.guide-example{border:1px solid var(--theme-border,#d9e5eb);border-radius:8px;padding:12px;margin:14px 0}.guide-example summary{cursor:pointer;color:var(--theme-accent,#176f7a)}.guide-example img{display:block;max-width:100%;height:auto;margin-top:14px}.guide-branch{display:grid;grid-template-columns:1fr 1fr;gap:12px}.guide-branch>div{border:1px solid #e2d4b8;background:#fff8ec;padding:14px;border-radius:8px;line-height:1.6}@media(max-width:800px){.guide-branch{grid-template-columns:1fr}}

/* Stocktake: keep material identity visible while entering and reviewing counts. */
/* Stocktake has a leading skip column; keep material descriptions wide. */
#countBody .count-table{width:100%;table-layout:fixed;min-width:960px;border-collapse:separate;border-spacing:0}
#countBody .count-table th,#countBody .count-table td{white-space:normal;overflow-wrap:break-word;padding:8px 10px;line-height:1.4;vertical-align:middle;font-size:13px}
#countBody .count-table th:first-child,#countBody .count-table td:first-child{position:sticky;left:0;width:100px;min-width:100px;background:var(--theme-bg,#f4f9fb);z-index:2;box-shadow:1px 0 0 #c6d8e2}
#countBody .count-table th:first-child{z-index:4;background:var(--theme-soft,#e7f0f5)}
#countBody .count-table th:nth-child(2){width:40%}
#countBody .count-table th:nth-child(3){width:80px}
#countBody .count-table th:nth-child(4){width:110px}
#countBody .count-table th:nth-child(5){width:80px}
#countBody .count-table th:nth-child(6){width:auto}
#countBody .count-table td:nth-child(3),#countBody .count-table td:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}
#countBody .count-table td input{min-width:0!important;width:100%;height:34px;padding:5px 7px;font-size:13px}
#countBody .count-table label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;line-height:1.35}
#countBody .count-table input[type=checkbox]{width:16px!important;height:16px!important;flex:0 0 16px;margin:0;padding:0}
#countBody .count-tablewrap{isolation:isolate;max-height:65vh}



.inventory-date{display:flex;align-items:center;gap:6px;font-size:13px;white-space:nowrap}.inventory-date input{width:150px}.inventory-export-settings{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:10px 0}.inventory-export-settings>small{color:var(--theme-muted,#607b8a)}.export-column-picker{position:relative;flex:none}.export-column-picker summary{cursor:pointer;border:1px solid var(--theme-border,#bccfd9);border-radius:6px;padding:9px 14px;background:var(--theme-card,#fff);list-style:none}.export-column-options{position:absolute;right:0;top:42px;z-index:30;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#bccfd9);box-shadow:0 6px 20px #18374622;border-radius:8px;padding:14px;width:330px;max-height:65vh;overflow:auto}.export-column-options label{display:flex;gap:10px;align-items:center;padding:6px 0}.export-column-options input{width:auto}.export-column-options .actions{justify-content:flex-start;margin:0 0 8px}@media(max-width:700px){.inventory-export-settings{flex-direction:column}.export-column-options{left:0;right:auto;width:min(330px,80vw)}}

.inventory-date-range{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.eng-progress{min-width:125px;max-width:160px}.eng-progress>span{font-weight:700;font-size:16px}.eng-progress-track{display:flex;height:9px;background:var(--theme-soft,#e4e9ed);border-radius:5px;overflow:hidden;margin:6px 0}.eng-progress-track i{border-right:2px solid white;box-sizing:border-box}.eng-progress-track .done{background:#287a9a}.eng-progress small{font-size:11px}.eng-progress.completed .done{background:#238456}.eng-progress.overdue .done{background:#bd3838}.eng-progress.due-soon .done{background:#ce9b1f}.eng-plan-legend{display:flex;flex-wrap:wrap;gap:18px;padding:12px 0}.eng-plan-legend .completed{color:#207b45}.eng-plan-legend .overdue{color:#b73131}.eng-plan-legend .due-soon{color:#946900}.eng-gantt-scroll{overflow:auto;max-height:70vh;border:1px solid #cbd9e0;border-radius:8px}.eng-gantt{border-collapse:separate;border-spacing:0;white-space:nowrap}.eng-gantt th{position:sticky;top:0;z-index:3;background:#e9f0f5}.eng-gantt td:nth-child(2){min-width:245px}.eng-gantt-tool td{background:#edf4f8}.eng-gantt-tool button{padding:5px 8px;font-size:12px}.eng-axis{position:relative;height:28px}.eng-axis span{position:absolute;top:5px;font-size:11px}.eng-gantt-lane{position:relative;height:30px;background:repeating-linear-gradient(to right,transparent 0,transparent 23px,#e8eef2 24px)}.eng-gantt-bar{position:absolute;height:24px;top:3px;background:#468ca7;border-radius:3px;overflow:hidden;white-space:nowrap;font-size:11px;color:white;line-height:24px;padding:0 5px;box-sizing:border-box}.eng-gantt-bar.completed{background:#268454}.eng-gantt-bar.overdue{background:#c44949}.eng-gantt-bar.due-soon{background:#edc452;color:#433707}.eng-plan-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--theme-border,#e1e8ed)}.eng-plan-row input{display:block;margin-top:6px}@media(max-width:700px){.eng-plan-row{grid-template-columns:1fr 1fr}.eng-plan-row b{grid-column:1/-1}}

.material-notice-dialog{width:min(920px,92vw);max-height:90vh;padding:24px}.material-notice-list{max-height:52vh;overflow:auto}.material-notice-list article{padding:12px 0;border-bottom:1px solid var(--theme-border,#dce5ea)}.material-notice-list h3{margin:0 0 6px}.material-notice-list td{white-space:normal;overflow-wrap:anywhere}.material-notice-dialog footer{padding-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.material-notice-dialog footer label{display:flex;align-items:center;gap:8px}.material-notice-dialog input[type=checkbox]{width:20px;height:20px}.material-notice-dialog footer small{flex:1;min-width:200px}.notice-error{color:#b42318}

#catalogHistory .history-results{max-height:52vh;overflow:auto}#catalogHistory label{display:block}#catalogHistory label input,#catalogHistory label select{display:block;width:100%;margin-top:6px}.catalog-history-item{padding:12px 0;border-bottom:1px solid var(--theme-border,#dce5ea)}.catalog-history-item h3,.catalog-history-item p{margin:6px 0}.catalog-history-item td{white-space:normal;overflow-wrap:anywhere}.history-error{color:#b42318}

.material-photo-button{font-size:12px;padding:6px 9px;margin-left:8px;vertical-align:middle}.material-photo-dialog{width:min(1000px,94vw);max-height:92vh}.photo-main{height:46vh;display:flex;align-items:center;justify-content:center;background:#f4f7f9;border-radius:8px}.photo-main img{max-width:100%;max-height:100%;object-fit:contain}.photo-thumbnails{display:flex;gap:8px;overflow:auto;max-height:130px;margin:14px 0}.photo-thumb{padding:4px;flex:0 0 100px}.photo-thumb img{width:90px;height:90px;object-fit:cover}.photo-upload{display:block}.photo-upload input{display:block;margin:8px 0}.photo-message{white-space:pre-wrap}

.material-photo-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:54px;height:32px;min-width:54px;padding:0;overflow:hidden;border-radius:5px;vertical-align:middle}.material-photo-button>img{width:100%;height:100%;object-fit:cover}.photo-count{position:absolute;right:1px;bottom:1px;min-width:14px;background:#17394ce6;color:#fff;font-size:10px;border-radius:3px;padding:0 3px}.photo-stage{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px}.photo-stage>button{padding:12px 4px;font-size:22px}.photo-position{text-align:center;overflow-wrap:anywhere}.photo-thumb[aria-current=true]{outline:2px solid #13778a}.photo-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.photo-history-item{border-top:1px solid #dce6ec;padding:12px 0}.photo-history-pair{display:flex;gap:16px;flex-wrap:wrap}.photo-history-pair button{display:flex;flex-direction:column;gap:6px;max-width:220px;overflow-wrap:anywhere}.photo-history-pair img{width:180px;height:120px;object-fit:contain}.photo-history-pair small{white-space:normal}

.material-photo-button>img.photo-placeholder{object-fit:contain;background:#f1f1f1}

.material-id-cell{width:160px;min-width:150px}.material-id-content{display:flex;align-items:center;gap:10px}.material-id-content>.material-photo-button{margin:0;flex:0 0 54px}.material-id-content>span{min-width:0;overflow-wrap:anywhere}

.viewer-output-blocked [data-action="printer"],.viewer-output-blocked [data-action="print"],.viewer-output-blocked [data-dh],.viewer-output-blocked [data-print-request],.viewer-output-blocked #vrPreviewPrint,.viewer-output-blocked #vrPreviewPdf,.viewer-output-blocked #pickPrint,.viewer-output-blocked #cardBlank,.viewer-output-blocked #cardPrint,.viewer-output-blocked #countPaper,.viewer-output-blocked #exportInventoryNow,.viewer-output-blocked #exportMonth,.viewer-output-blocked .export-column-picker,.viewer-output-blocked [data-action="backup"]{display:none!important}
@media print{html.viewer-output-blocked body{display:none!important}}

/* Reserve physical print clearance; screen zoom must not affect pagination. */
@media print{.ship-page{height:193mm;break-inside:avoid;page-break-inside:avoid}}

.movement-export-actions{display:flex;justify-content:flex-end;align-items:flex-start;gap:10px;margin-top:12px;flex-wrap:wrap}.viewer-output-blocked #exportMovements{display:none!important}

nav.eng-subpages{position:static;display:flex;flex-direction:row;gap:10px;width:auto;min-height:0;background:transparent;padding:0;margin:0 0 18px;overflow:visible;flex-wrap:wrap}nav.eng-subpages button{width:auto;margin:0;color:var(--theme-ink,#173e50);background:var(--theme-card,#fff);border:1px solid var(--theme-border,#bccfd9)}nav.eng-subpages button[aria-pressed="true"]{background:var(--theme-accent,#117580);color:white}

.engineering-sidebar-pages{margin:0 0 10px 14px;padding-left:9px;border-left:2px solid #769eb1}.engineering-sidebar-pages button{padding:9px 10px!important;border-radius:5px!important;font-size:13px!important}.engineering-sidebar-pages small{font-size:12px}
/* Engineering document workspace: scoped layout, shared application controls. */
#docWorkspace{display:grid;gap:20px;min-width:0}
#docWorkspace h2,#docWorkspace h3,#docWorkspace p{margin:0}
#docWorkspace .doc-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
#docWorkspace .doc-heading h2{font-size:22px;margin-bottom:6px}
#docWorkspace .doc-heading p{color:var(--theme-muted,#5c7284);font-size:14px}
#docWorkspace .doc-navigation{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;padding:18px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d8e3e9);border-radius:12px}
#docWorkspace .doc-project{display:grid;gap:6px;flex:0 1 260px;font-size:14px;font-weight:600;min-width:210px}
#docWorkspace .doc-nav-buttons{display:flex;flex-wrap:wrap;gap:8px;flex:1}
#docWorkspace .doc-nav-buttons button[aria-pressed=true]{background:var(--theme-soft,#e7f2f4);border-color:var(--theme-brand,#167180);color:var(--theme-accent,#125763)}
#docWorkspace #docError:empty{display:none}
#docWorkspace #docContent{min-width:0}
#docWorkspace .doc-source-card,#docWorkspace .doc-approval{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d8e3e9);border-radius:12px;padding:20px}
#docWorkspace .doc-source-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
#docWorkspace .doc-source-title>div{min-width:0}
#docWorkspace h3{font-size:18px;line-height:1.5}
#docWorkspace .doc-source-title h3 span{font-size:15px;font-weight:400;color:var(--theme-muted,#5c7284);margin-left:10px}
#docWorkspace .doc-filename{overflow-wrap:anywhere;color:var(--theme-muted,#5c7284);font-size:14px;line-height:1.6;margin-top:6px}
#docWorkspace .doc-state{flex-shrink:0;padding:5px 10px;border-radius:20px;background:#edf3f7;font-size:13px}
#docWorkspace .doc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#docWorkspace .doc-actions #saveSheet{margin-left:auto}
#docWorkspace .doc-ocr-status:not(:empty){margin-top:14px;padding:10px 12px;border-radius:6px;background:var(--theme-bg,#f1f6f9);font-size:14px;line-height:1.6}
#docWorkspace .doc-ocr-notice{margin:6px 0 0;padding:6px 10px;border-radius:6px;background:#FEE4E2;color:#B42318;font-weight:500}
#docWorkspace .doc-ocr-notice.is-warn{background:#FEF3C7;color:#92400E}
#docWorkspace .doc-review-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 12px}
#docWorkspace .doc-review-tools>p{font-size:14px;line-height:1.6;color:var(--theme-muted,#5c7284);flex:1;min-width:240px}
#docWorkspace .doc-folders{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:12px;margin-bottom:20px}
#docWorkspace .doc-detail{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d8e3e9);border-radius:8px;padding:14px;min-width:0}
#docWorkspace .doc-detail summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.6}
#docWorkspace .doc-detail[open] summary{margin-bottom:14px}
#docWorkspace .doc-detail label{display:block;margin-bottom:8px;font-size:14px}
#docWorkspace #drawingNotes{width:100%;box-sizing:border-box;min-height:140px;line-height:1.7;font-size:14px}
#docWorkspace #drawingText{max-height:350px;overflow:auto;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
#docWorkspace .doc-preview h3{margin-bottom:12px}
#docWorkspace #sheetFrame{display:block;width:100%;height:1000px;box-sizing:border-box;border:1px solid var(--theme-border,#ccd9e1);border-radius:8px;background:var(--theme-card,#fff)}
#docWorkspace .doc-approval{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px}
#docWorkspace .doc-approval>div{flex-basis:100%}
#docWorkspace .doc-approval p{font-size:14px;color:var(--theme-muted,#5c7284);margin-top:6px;line-height:1.6}
#docWorkspace .doc-review-check{display:flex;align-items:center;gap:10px;flex:1;font-size:14px;min-width:240px}
#docWorkspace .doc-review-check input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:0;flex:0 0 20px;accent-color:var(--theme-brand,#176b79)}
@media(max-width:700px){#docWorkspace{gap:14px}#docWorkspace .doc-heading{align-items:flex-start}#docWorkspace .doc-heading h2{font-size:19px}#docWorkspace .doc-navigation{padding:14px}#docWorkspace .doc-project{flex:1 1 100%}#docWorkspace .doc-nav-buttons{flex-basis:100%}#docWorkspace .doc-source-card,#docWorkspace .doc-approval{padding:14px}#docWorkspace .doc-folders{grid-template-columns:1fr}#docWorkspace .doc-source-title{flex-wrap:wrap}#docWorkspace .doc-actions #saveSheet{margin-left:0}#docWorkspace .doc-actions button{flex:1 1 auto}#docWorkspace .doc-approval>button{width:100%}}

#batchDrawingDialog .drawing-dropzone{border:2px dashed #7b9ead;border-radius:10px;padding:24px;text-align:center;background:var(--theme-bg,#f5fafc);margin:18px 0;transition:background .15s,border-color .15s}
#batchDrawingDialog .drawing-dropzone.drag-active{background:var(--theme-soft,#dceff1);border-color:var(--theme-brand,#087987)}
#batchDrawingDialog .drawing-dropzone[aria-disabled="true"]{opacity:.6}
#batchDrawingDialog .drawing-dropzone input{display:block;max-width:420px;margin:12px auto 0}

.language-switch{display:inline-flex;align-items:center;gap:6px;margin:0 12px 0 0;vertical-align:middle;white-space:nowrap}.language-switch select{width:auto;min-width:125px;padding:8px 26px 8px 10px;background:var(--theme-card,#fff);color:var(--theme-ink,#123b50);border:1px solid var(--theme-border,#b9cbd8);border-radius:7px;font-size:15px}.account-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.login-language{display:flex;justify-content:flex-end;margin-bottom:14px}.login-language .language-switch{margin:0}@media(max-width:700px){header{flex-wrap:wrap}.account-controls{justify-content:flex-start}}

#docWorkspace .drawing-upload-time{display:inline-block;white-space:nowrap;margin-left:10px;vertical-align:middle}

/* v81: drawing date, open, upload time, revision in one ordered row */
#sheetRows td:has([data-machine-pdf]){white-space:nowrap}#sheetRows .drawing-date{display:inline-block;margin-right:10px;white-space:nowrap}#sheetRows .drawing-upload-time{display:inline-block;margin:0 16px 0 18px;white-space:nowrap}

/* engineering-progress-v130.css */
.ep123{color-scheme:light;color:var(--theme-ink,#244253);background:var(--theme-bg,#f3f8fa);padding:20px;border-radius:12px;font:16px/1.5 Arial,"Microsoft JhengHei",sans-serif;container-type:inline-size}
.ep123 *{box-sizing:border-box}.ep123 h2{margin:0 0 12px;font-size:25px}.ep123 button,.ep123 input,.ep123 select,.ep123 textarea{font:inherit;color:inherit;max-width:100%}.ep123 button{border:1px solid var(--theme-border,#ccdfe8);background:var(--theme-card,#fff);border-radius:8px;min-height:44px;padding:9px 12px;cursor:pointer}.ep123 button:disabled{cursor:default;opacity:.5}.ep123 button:hover:not(:disabled){background:var(--theme-soft,#e9f5f7);border-color:var(--theme-brand,#147985)}.ep123 .ep-primary{background:var(--theme-accent,#147985);color:white}.ep123 input,.ep123 select,.ep123 textarea{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#ccdfe8);border-radius:7px;padding:10px;min-height:44px;min-width:0;width:100%}.ep123 label{display:grid;gap:5px;font-size:14px;min-width:0}.ep123 input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--theme-brand,#147985)}.ep123 small{display:block;font-size:12px;color:var(--theme-muted,#586f7d);line-height:1.5}.ep-head,.ep-nav,.ep-tabs,.ep-batch-row,.ep-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ep-head{justify-content:space-between;margin-bottom:20px}.ep-filters{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,2fr) minmax(160px,1fr);gap:12px}.ep-tabs{margin:15px 0}.ep-tabs span{flex:1}.ep123 button[aria-pressed=true]{background:var(--theme-soft,#e9f5f7);border-color:var(--theme-brand,#147985)}.ep-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.ep-stats>div{background:var(--theme-card,#fff);padding:16px;border:1px solid var(--theme-border,#d7e4eb);border-radius:10px}.ep-stats strong{font-size:28px;display:block}.ep-batch{padding:16px;background:var(--theme-soft,#e9f5f7);border:1px solid var(--theme-border,#d7e4eb);border-radius:10px;margin-bottom:14px}.ep-batch-row{margin-top:10px;align-items:end}.ep-batch-row label{max-width:200px}.ep123 #epNotice{margin:12px 0;overflow-wrap:anywhere}.ep-tablewrap{overflow-x:auto;border:1px solid var(--theme-border,#d7e4eb);border-radius:10px;background:var(--theme-card,#fff)}.ep-tablewrap table{width:100%;min-width:960px;border-collapse:collapse;text-align:left}.ep-tablewrap th{background:var(--theme-soft,#eaf2f6);padding:12px;font-size:13px;color:var(--theme-muted,#586f7d)}.ep-tablewrap td{padding:14px 10px;border-top:1px solid var(--theme-border,#d7e4eb);vertical-align:middle}.ep-tablewrap td:first-child{min-width:230px}.ep-identity{display:flex;gap:10px;align-items:start;min-width:0}.ep-identity>div{min-width:0}.ep-identity strong,.ep-identity b{display:block}.ep123 .ep-plus{width:44px;min-width:44px;height:44px;font-size:24px;padding:0;background:var(--theme-soft,#e9f5f7);color:var(--theme-accent,#147985)}.ep-assigned{max-width:270px;margin-top:8px;overflow-wrap:anywhere}.ep-assigned small{color:var(--theme-accent,#147985)}.ep123 .ep-pick{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}.ep123 .ep-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:78px;min-height:66px;padding:8px;font-size:15px;white-space:nowrap}.ep123 .ep-stage.ep-done{background:#e8f5ee;border-color:#cde6d8;color:#246b53}.ep-stage.ep-done small{color:#246b53}.ep-track{height:6px;min-width:60px;background:var(--theme-soft,#d7e4eb);margin-top:8px;border-radius:4px;overflow:hidden}.ep-track i{display:block;height:100%;background:var(--theme-accent,#147985)}.ep-actions{align-items:start}.ep-tablewrap .ep-actions{flex-direction:column}.ep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:16px}.ep-grid article{background:var(--theme-card,#fff);padding:18px;border:1px solid var(--theme-border,#d7e4eb);border-radius:12px;min-width:0}.ep-grid .ep-identity strong{font-size:22px}.ep-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0}.ep-card-progress{margin:15px 0}.ep123 #epPages{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;flex-wrap:wrap}.ep-dialog{background:var(--theme-card,#fff);max-width:780px;padding:12px}.ep-dialog fieldset{border:1px solid var(--theme-border,#d7e4eb);border-radius:8px;padding:12px;margin:16px 0}.ep-dialog .ep-options{display:flex;gap:12px;flex-wrap:wrap}.ep-dialog .ep-options label{display:flex;align-items:center;gap:7px;min-height:44px}.ep-assignment-list>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--theme-border,#d7e4eb)}.ep-assignment-list span{flex:1;min-width:160px}.ep-dialog .ep-actions{margin-top:18px;justify-content:flex-end}.ep-dialog #epAssignmentError{color:#a13a26}.ep-dialog #epFloorCustom{width:150px}.ep-dialog #epHistory{overflow-wrap:anywhere}.ep-dialog textarea{resize:vertical}.ep123:focus-visible,.ep123 button:focus-visible,.ep123 input:focus-visible{outline:3px solid #258caa;outline-offset:2px}
@container(max-width:650px){.ep-filters{grid-template-columns:1fr}.ep-head{align-items:start}.ep-stats{gap:6px}.ep-stats>div{padding:10px}.ep123 .ep-stage{min-width:0}.ep-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
dialog:has(>.ep-dialog){width:min(780px,94vw);max-width:94vw;max-height:90vh;overflow:auto}.ep-dialog{container-type:normal}
@media(max-width:480px){.ep123{padding:12px}.ep123 .ep-dialog{padding:4px}.ep123 h2{font-size:22px}}

.ep123 .ep-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@container(max-width:800px){.ep123 .ep-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Compact table, retaining readable labels and 44px stage targets. */
.ep123{padding:16px}.ep-head{margin-bottom:12px}.ep-tabs{margin:10px 0}.ep123 .ep-stats{gap:8px;margin:12px 0}.ep-stats>div{padding:10px 14px}.ep-stats strong{font-size:25px}
.ep-batch{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;margin-bottom:12px}.ep-batch-row{margin-top:6px}.ep-batch>div:last-child{margin-top:0}.ep-batch-row label{max-width:170px}
.ep-tablewrap table{table-layout:fixed;min-width:1060px}.ep-tablewrap th{padding:10px 8px;text-align:center;font-weight:600}.ep-tablewrap th:first-child{width:310px;text-align:left}.ep-tablewrap th:nth-child(2){width:96px}.ep-tablewrap th:last-child{width:110px}.ep-tablewrap td{padding:10px 8px}.ep-tablewrap tbody tr:hover{background:var(--theme-bg,#f7fbfc)}
.ep-tablewrap td:first-child{position:relative;padding-left:38px;min-width:0}.ep-tablewrap .ep-pick{position:absolute;left:8px;top:15px;min-height:20px;font-size:0;gap:0}.ep-tablewrap .ep-pick input{margin:0;width:19px;height:19px;min-height:19px}
.ep-tablewrap .ep-identity{gap:8px;align-items:center}.ep-tablewrap .ep-plus{width:36px;min-width:36px;height:36px;min-height:36px;font-size:23px}.ep-tablewrap .ep-identity>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:2px 6px;align-items:baseline;width:100%}.ep-tablewrap .ep-identity>div>small{font-size:10px;letter-spacing:.2px;color:var(--theme-muted,#69818e)}.ep-tablewrap .ep-identity strong,.ep-tablewrap .ep-identity b{font-size:14px;overflow-wrap:anywhere}.ep-tablewrap .ep-assigned{grid-column:1/-1;margin-top:3px;max-width:none}.ep-tablewrap .ep-assigned small{font-size:11px;line-height:1.4}
.ep-tablewrap .ep-stage{min-height:48px;min-width:0;padding:5px 3px;gap:1px;font-size:14px;border-radius:7px}.ep-tablewrap .ep-stage small{font-size:11px}.ep-tablewrap td:nth-child(2)>b{font-size:14px}.ep-tablewrap .ep-track{margin-top:5px;height:5px;min-width:0}.ep-tablewrap .ep-actions{gap:4px}.ep-tablewrap .ep-actions button{min-height:32px;padding:4px 8px;width:100%;font-size:12px}.ep-tablewrap .ep-actions button:last-child{border-color:transparent;background:transparent;color:var(--theme-muted,#69818e)}
@container(max-width:800px){.ep-batch{align-items:stretch}.ep-batch>div{width:100%}.ep-batch-row{gap:6px}.ep-batch-row label{max-width:100%}}
.ep123 .ep-head{position:static;inset:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;width:auto;height:auto;min-height:0;padding:0 0 12px;margin:0 0 14px;background:transparent;border:0;border-bottom:1px solid var(--theme-border,#d7e4eb);box-shadow:none;z-index:auto}.ep123 .ep-head h2{margin:0;font-size:24px;line-height:1.3}.ep123 .ep-head .ep-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto}.ep123 .ep-head button{margin:0;min-height:40px;padding:7px 12px;font-size:14px}
@container(max-width:500px){.ep123 .ep-head .ep-nav{margin-left:0;width:100%;justify-content:flex-start}.ep123 .ep-head h2{font-size:22px}}
.ep123 .ep-stat{text-align:left;padding:10px 14px;border-color:var(--theme-border,#d7e4eb);min-width:0}.ep123 .ep-stat[aria-pressed=true]{background:var(--theme-soft,#e4f3f5);border-color:var(--theme-brand,#147985);box-shadow:inset 0 -3px var(--theme-brand,#147985)}.ep-stat strong{font-size:25px;display:block}.ep-stage-cell{display:grid;gap:4px;min-width:0}.ep123 .ep-completion-date{width:100%;min-width:0;min-height:28px;padding:2px 3px;font-size:11px;border-color:var(--theme-border,#d7e4eb)}.ep-completion-date:disabled{opacity:.4}.ep-date-value{text-align:center}.ep-tablewrap table{min-width:1180px}
.ep-filters{grid-template-columns:minmax(150px,1fr) minmax(190px,1.6fr) minmax(150px,1fr) minmax(150px,1fr)}@container(max-width:850px){.ep-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@container(max-width:500px){.ep-filters{grid-template-columns:1fr}}
/* Keep column headings visible while reviewing long equipment lists. */
.ep123 .ep-tablewrap { max-height: 70vh; overflow: auto; }
.ep123 .ep-tablewrap thead th { position: sticky; top: 0; z-index: 2; background: var(--surface,var(--theme-soft,#edf3f5)); }
.ep123 .ep-tablewrap tbody tr:focus-within { outline: 2px solid var(--theme-brand,#147985); outline-offset: -2px; }
.ep123 .ep-stat:focus-visible { outline: 2px solid var(--theme-brand,#147985); outline-offset: 2px; }

/* /assets/theme-v139.68101701d6e6ecae.css */




.theme-language{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}.theme-switch{display:inline-flex;gap:3px;align-items:center;flex-shrink:0}.theme-switch button{width:28px;height:28px;min-height:28px;padding:0;border:1px solid #83909b;border-radius:50%;color:#263b49;font-size:15px;line-height:1}.theme-switch button[data-theme-choice=yellow]{background:#ffedb2}.theme-switch button[data-theme-choice=blue]{background:#cce5fa}.theme-switch button[data-theme-choice=green]{background:#ccebd3}.theme-switch button[data-theme-choice=pink]{background:#f5cddb}.theme-switch button[aria-pressed=true]{outline:3px solid var(--theme-accent,#173348);outline-offset:2px}.theme-switch button:focus-visible{outline:3px solid #172f41;outline-offset:2px}
@media screen{
html[data-aucan-theme] body{background:var(--theme-bg);color:var(--theme-ink)}
html[data-aucan-theme] #app nav{background:var(--theme-nav);color:var(--theme-ink)}
html[data-aucan-theme] #app nav button,html[data-aucan-theme] #app nav small,html[data-aucan-theme] #app nav .foot{color:var(--theme-ink)}
html[data-aucan-theme] #app nav button{background:transparent;border-color:var(--theme-border)}
html[data-aucan-theme] #app nav button:hover{background:var(--theme-soft)}
html[data-aucan-theme] #app nav button.active{background:var(--theme-soft);box-shadow:inset 3px 0 var(--theme-brand)}
html[data-aucan-theme] #app :is(.ep123,.info,.ep-batch){background:var(--theme-soft);border-color:var(--theme-border);color:var(--theme-ink)}
html[data-aucan-theme] #app :is(th,.ep-tablewrap th){background:var(--theme-soft);color:var(--theme-ink);border-color:var(--theme-border)}
html[data-aucan-theme] #app :is(.card,.panel,.tablewrap,.ep-tablewrap,.ep-stats>div){border-color:var(--theme-border)}
html[data-aucan-theme] #app :is(button.primary,.ep-primary){background:var(--theme-accent);border-color:var(--theme-brand);color:#fff}
html[data-aucan-theme] #app .ep-track i{background:var(--theme-accent)}
html[data-aucan-theme] #app button:not(.theme-switch button):focus-visible{outline-color:var(--theme-accent)}
}
@media(max-width:600px){header{gap:8px;flex-wrap:wrap}.theme-language{gap:6px}.theme-switch button{width:30px;height:30px}.theme-switch{gap:5px}}
@media print{.theme-switch{display:none!important}}

.theme-switch button[data-theme-choice=original]{width:44px;border-radius:6px;background:#173348;color:#fff;font-size:12px;font-weight:700}
@media screen{
html[data-aucan-theme] #app nav button.active{background:var(--theme-accent);color:#fff;box-shadow:inset 4px 0 #fff;font-weight:700}
html[data-aucan-theme] #app nav button.active small{color:#fff}
html[data-aucan-theme] #app :is(input,select,textarea){border-color:var(--theme-border);color:var(--theme-ink);background:var(--theme-card,#fff)}
html[data-aucan-theme] #app button:not(.theme-switch button):not(nav button){border-color:var(--theme-border)}
html[data-aucan-theme] #app .ep123 button[aria-pressed=true]:not(.ep-stage){background:var(--theme-accent);color:#fff;border-color:var(--theme-accent);box-shadow:inset 0 -3px 0 #ffffff80}
html[data-aucan-theme] #app .ep123 button[aria-pressed=true]:not(.ep-stage) :is(small,strong){color:#fff}
html[data-aucan-theme] #app .ep123 .ep-stage.ep-done{background:#d9f0e3;color:#174b35;border:2px solid #377757}
html[data-aucan-theme] #app .ep123 .ep-stage.ep-done small{color:#174b35;font-weight:700}
html[data-aucan-theme] #app .ep123 .ep-stage:not(.ep-done){background:#fff;color:#294151;border-color:#748998}
html[data-aucan-theme] #app .ep123 .ep-stage:not(.ep-done) small{color:#435b69}
html[data-aucan-theme] #app :is(.muted,small,.empty){color:var(--theme-muted,#435867)}
html[data-aucan-theme] #app nav button.active :is(.muted,small){color:#fff}
html[data-aucan-theme] #app :is(.ep-primary,button.primary):hover:not(:disabled){background:var(--theme-accent);color:#fff;filter:brightness(.88)}
html[data-aucan-theme] #app button:disabled{opacity:1;background:var(--theme-soft,#edf0f2);color:var(--theme-muted,#596875);border-color:#a8b3bc;cursor:not-allowed}
html[data-aucan-theme] #app :is(input,select,textarea):disabled{opacity:1;background:var(--theme-soft,#edf0f2);color:var(--theme-muted,#596875);border-color:#a8b3bc}
html[data-aucan-theme] #app th{border-bottom:2px solid var(--theme-border)}
html[data-aucan-theme] #app input[type=checkbox]{accent-color:var(--theme-brand)}
}

@media screen{#app .stock-click-card{padding:0;position:relative;overflow:hidden}#app .stock-card-filter{display:block;width:100%;height:100%;min-height:148px;border:2px solid transparent;border-radius:9px;padding:22px 20px;text-align:left;background:var(--theme-card,#fff);color:var(--theme-ink,#173348);font-weight:400}#app .stock-card-filter:hover{background:var(--theme-soft,#eef7fa)}#app .stock-card-filter[aria-pressed=true]{border-color:var(--theme-brand,#126c78);background:var(--theme-soft,#e8f4f3)}#app .stock-card-filter strong{font-weight:700}#app .stock-card-hint{display:block;margin-top:8px;font-size:12px;font-weight:700;color:var(--theme-accent,#126c78)}#app .stock-click-card .card-settings{position:absolute;right:10px;top:10px;z-index:1;background:var(--theme-card,#fff)}#app .stock-click-card .stock-card-filter{border-color:transparent}#app .stock-click-card .stock-card-filter[aria-pressed=true]{border-color:var(--theme-brand,#126c78);box-shadow:inset 4px 0 var(--theme-brand,#126c78)}}

.theme-switch button[data-theme-choice=original]{background:#126f7b}.theme-switch button{font-size:0!important;box-shadow:none}.theme-switch button[aria-pressed=true]{outline:2px solid #263b49;outline-offset:3px}

@media screen{:root[data-aucan-theme=yellow]{--theme-card:#faf8f3;--theme-nav:#faf8f3;--theme-bg:#f4f1eb;--theme-soft:#ede5d5;--theme-border:#d9d0c0;--theme-brand:#a48a51;--theme-accent:#78653b;--theme-ink:#514737;--theme-muted:#6c6355}}
@media screen{:root[data-aucan-theme=blue]{--theme-card:#ffffff;--theme-nav:#ffffff;--theme-bg:#f3f4f6;--theme-soft:#e6ebf1;--theme-border:#cfd5dc;--theme-brand:#63758c;--theme-accent:#5a6a7f;--theme-ink:#343e4d;--theme-muted:#616874}}
@media screen{:root[data-aucan-theme=green]{--theme-card:#ffffff;--theme-nav:#ffffff;--theme-bg:#f0f6f4;--theme-soft:#dfeee8;--theme-border:#c7d9d3;--theme-brand:#348c7d;--theme-accent:#2b7468;--theme-ink:#284d45;--theme-muted:#4f6d66}}

.theme-switch button[data-theme-choice=original]{width:28px;height:28px;border-radius:50%;background:#126f7b}
.theme-switch button[data-theme-choice=yellow]{background:#e9dbb7}.theme-switch button[data-theme-choice=blue]{background:#b8cedf}.theme-switch button[data-theme-choice=green]{background:#bed0bc}.theme-switch button[data-theme-choice=pink]{background:#e3bfcd}
@media screen{html[data-aucan-theme] #app th{background:var(--theme-soft);border-bottom:1px solid var(--theme-border)}html[data-aucan-theme] #app :is(table,.card){background:var(--theme-card,#fff)}html[data-aucan-theme] #app nav button.active{box-shadow:none;border-radius:7px}html[data-aucan-theme] #app .ep123 .ep-stage.ep-done{border-width:1px}}

/* engineering-scurve-v137.css */
.ep-scurve{margin:12px 0;padding:16px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d6e2eb);border-radius:10px}.ep-curve-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ep-curve-heading h3{margin:0;font-size:18px}.ep-curve-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}.curve-plan{color:#3b6da8}.curve-actual{color:#18816a}.ep-scurve svg{display:block;width:100%;max-height:280px}.ep-scurve svg text{fill:var(--theme-muted,#475b6c);font-size:12px}.ep-scurve p{font-size:12px;line-height:1.6}.ep-curve-missing{color:#775a20}.ep-scurve details .tablewrap{max-height:240px;overflow:auto}.ep-scurve details td{padding:5px 10px}@media(max-width:600px){.ep-scurve{padding:10px}.ep-curve-heading h3{font-size:16px}.ep-scurve svg{min-height:170px}.ep-curve-legend{gap:9px}}

#vendorTools{display:flex;gap:8px;align-items:center;margin-bottom:12px}body:has(#vendorTitle) .line{display:flex;gap:6px;flex-wrap:wrap}@media print{body:has(#vendorTitle)>*{display:none!important}} .wire-content form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.wire-content label{display:grid;gap:4px}.wire-content table{width:100%}.wire-content{overflow-x:auto}
.ep-floor-strip .ep-floor-row{border-radius:8px;background:#f1f5f7;padding:5px;gap:4px}.ep-floor-row :is(button,.ep-view-stage){border-radius:5px;border:0;border-bottom:3px solid #b8c8ce;padding:5px 8px;font-weight:650}.ep-floor-row .ep-floor-1{background:#fff1cd;color:#654704;border-color:#b77e14}.ep-floor-row .ep-floor-2{background:#d9f2ea;color:#105847;border-color:#168468}.ep-floor-row small{display:block;font-size:12px;font-weight:500}
.wire-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.wire-tabs button[aria-pressed=true]{background:var(--primary,#295e63);color:white}.wire-content>section{min-width:0;position:static}
nav .wire-nav-heading{color:var(--text,var(--theme-ink,#24434a));font-size:12px;font-weight:700;letter-spacing:.05em;margin:16px 8px 6px;padding-top:12px;border-top:1px solid #ccd7d2}nav button[data-workflow="wire"]{margin:3px 0;min-height:42px;padding:10px 14px;border-radius:8px;text-align:left;font-size:14px}nav button[data-workflow="wire"]:not(.active){border:1px solid transparent}nav button[data-workflow="wire"]:hover{outline:1px solid #9cafa6;outline-offset:-1px}
button:not(:disabled){box-shadow:0 2px 3px rgba(25,45,38,.13),inset 0 1px 0 rgba(255,255,255,.35);transition:box-shadow .12s ease,transform .12s ease}button:not(:disabled):hover{box-shadow:0 3px 6px rgba(25,45,38,.18),inset 0 1px 0 rgba(255,255,255,.4)}button:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 1px 3px rgba(25,45,38,.15)}button:disabled{box-shadow:none}button:focus-visible{outline:2px solid var(--primary,var(--theme-brand,#247d85));outline-offset:2px}@media(prefers-reduced-motion:reduce){button{transition:none!important}}@media print{button{box-shadow:none!important;transform:none!important}}
@media screen{
@media screen{:root[data-aucan-theme=pink]{--theme-card:#ffffff;--theme-nav:#ffffff;--theme-bg:#f6f3fa;--theme-soft:#ede5f7;--theme-border:#d8cfe3;--theme-brand:#8264b4;--theme-accent:#765ba4;--theme-ink:#493a60;--theme-muted:#6d6180}}
html[data-aucan-theme=pink] #app :is(.panel,.card,.ep123){border-radius:12px}
html[data-aucan-theme=pink] #app button:not(.theme-switch button){border-radius:8px;box-shadow:0 1px 2px #49355512}
html[data-aucan-theme=pink] #app button:not(:disabled):hover{box-shadow:0 2px 5px #49355520}
html[data-aucan-theme=pink] #app :is(input,select,textarea){border-radius:8px;box-shadow:none}
html[data-aucan-theme=pink] #app nav button:not(.active){background:transparent;border-color:transparent;box-shadow:none}
html[data-aucan-theme=pink] #app nav button.active{background:var(--theme-accent);color:#fff;box-shadow:none}
html[data-aucan-theme=pink] #app .ep123 button[aria-pressed=true]:not(.ep-stage){box-shadow:none}
}
/* theme-surfaces280.css */
/* Shared screen surfaces follow the selected palette, including Original. */
@media screen {
  html:not([data-aucan-theme]) {--theme-card:#ffffff;--theme-nav:#ffffff;--theme-bg:#f0f5fa;--theme-soft:#e1ecfa;--theme-border:#c8d5e4;--theme-brand:#3979c5;--theme-accent:#336caf;--theme-ink:#243b53;--theme-muted:#596a7c}
  :root[data-aucan-theme=copper] {--theme-card:#fffcf8;--theme-nav:#fffcf8;--theme-bg:#f7f2ec;--theme-soft:#f1e4d6;--theme-border:#ddcfc1;--theme-brand:#b57950;--theme-accent:#8b5d3e;--theme-ink:#594638;--theme-muted:#726155}
  html #app > nav, html #app nav {
    background: var(--theme-nav);
    color: var(--theme-ink);
  }
  html #app nav button:not(.active) {
    background: transparent;
    color: var(--theme-ink);
    border-color: transparent;
    box-shadow: none;
  }
  html #app nav button:not(.active):hover { background: var(--theme-soft); }
  html #app nav button.active, html #app nav button[data-system].active {
    background: var(--theme-accent);
    border-color: var(--theme-brand);
    color: white;
    box-shadow: none;
  }
  html #app nav button.active small { color: white; }
  html #app nav small, html #app nav .foot { color: var(--theme-ink); }
  html #app > .content { background: var(--theme-bg); }
  html #app .stock-view th, html #app .stock-view th:nth-last-child(-n+2) {
    background: var(--theme-soft);
    color: var(--theme-ink);
    border-color: var(--theme-border);
  }
  html #app .stock-view td:nth-last-child(-n+2):not(.bad) { background-color: #fff; }
  html #app .stock-view tr:hover td:nth-last-child(-n+2):not(.bad) { background-color: var(--theme-soft); }
}
/* inventory-compact286.css */
@media screen {
  #app .panel:has(> .stock-shortages282) { padding: 0 16px; }
  .stock-shortages282 > summary { cursor: pointer; padding: 13px 0; line-height: 1.4; }
  .stock-shortages282 .count282 { font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 12px; background: var(--theme-soft,#e7f2f2); }
  .stock-shortages282[open] > small { display: block; margin: 8px 0 14px; }
  .stock-shortages282 > .table-wrap { max-width:100%;max-height:min(55vh,480px);overflow:auto; }
  .stock-shortages282 table { width:100%; }
  #app .cards:has(.stock-click-card) { gap: 9px; }
  #app .stock-click-card .stock-card-filter { min-height: 100px; padding: 9px 14px; line-height: 1.28; }
  #app .stock-click-card .stock-card-filter strong { font-size: 24px; margin: 4px 0; }
  #app .stock-click-card .stock-card-hint { margin-top: 4px; }
}
@media screen {
  #app .cards:has(.stock-click-card) { margin:12px 0; gap:8px; }
  #app .cards .stock-click-card { padding:0; min-height:0; }
  #app .cards .stock-click-card .stock-card-filter {
    height:100%; min-height:66px; padding:8px 10px;
    font-size:14px; line-height:1.2;
  }
  #app .stock-click-card:has(.card-settings) .stock-card-filter { padding-top:9px; }
  #app .stock-click-card .stock-card-filter strong { margin:3px 0 2px; font-size:22px; }
  #app .stock-click-card .stock-card-filter > small { font-size:12px; line-height:1.15; }
  #app .stock-click-card .stock-card-hint { display:none; }
  #app .stock-click-card .card-settings { position:static; float:right; margin:3px 4px; }
  #app .stock-click-card:has(.card-settings) { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; }
  #app .stock-click-card:has(.card-settings) .stock-card-filter { grid-area:1/1/2/3; padding-right:46px; }
  #app .stock-click-card:has(.card-settings) .card-settings { grid-area:1/2; }
}
@media screen and (min-width:1200px) {
  #app .cards:has(.stock-click-card) {grid-template-columns:repeat(6,minmax(0,1fr));}
}
#app .stock-click-card .stock-card-filter small{display:none}#app .stock-click-card .stock-card-filter strong small{display:inline}#app .stock-view .width-reset286{margin-inline-start:auto}#app .stock-view .toolbar button[data-tab] small{display:none}

.recent-materials284{margin:8px 0 14px}.recent-materials284 summary{cursor:pointer;font-weight:600}.recent-materials284>div{display:flex;flex-wrap:wrap;gap:6px;max-height:210px;overflow:auto;padding:8px 0}
.vendor-management-heading{display:flex;align-items:center;justify-content:space-between}.material-picker289{grid-column:1/-1;display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.4fr) minmax(200px,2fr);gap:12px}.material-picker289>div{min-width:0}.material-picker289 label{display:block;margin-bottom:6px}.material-picker289 :is(input,select){width:100%}#vendorStockCards .card>small{display:none}#vendorStockCards .card{min-height:0;padding:10px 12px}#vendorStockCards .card strong{font-size:22px;margin:3px 0}@media(min-width:1200px){#vendorStockCards .cards{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:760px){.material-picker289{grid-template-columns:1fr}}
.pick290{grid-column:1/-1;display:grid;grid-template-columns:minmax(130px,1fr) minmax(200px,3fr);gap:12px}.pick290>div{position:relative;min-width:0}.pick290 label{display:block}.pick290 input,.pick290 select{width:100%}.pick290-results:not([hidden]){position:absolute;z-index:20;width:100%;background:var(--theme-card,#fff);max-height:240px;overflow:auto;border:1px solid #aac1ca}.pick290-results button{display:block;width:100%;text-align:left}@media(max-width:640px){.pick290{grid-template-columns:1fr}}
/* home297.css */
@scope (.aucan-home291){.hero{position:relative;overflow:hidden;border-radius:5px;background:#153744;color:white;isolation:isolate}.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;z-index:-2}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071d2aeb,#0f2936b8 39%,#17334415 78%),linear-gradient(0deg,#102a3847,transparent 60%);z-index:-1}.intro{padding:clamp(34px,5vw,76px);min-height:310px;display:flex;flex-direction:column;justify-content:flex-end}.intro small{font:600 13px/1.5 Arial;letter-spacing:.18em}.intro h1{font-size:clamp(34px,4.3vw,66px);letter-spacing:.045em;line-height:1.18;margin:14px 0 6px}.intro p{margin:0;color:#e1eaea}.sectiontitle{display:flex;align-items:center;gap:14px;margin:30px 0 16px;font-size:20px}.sectiontitle:after{content:"";height:1px;background:#d6dddc;flex:1}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{color:inherit;text-decoration:none;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d7dfdf);border-radius:5px;padding:22px 24px;transition:border-color .15s,box-shadow .15s}.card:hover,.card:focus-visible{border-color:var(--theme-brand,#22786f);box-shadow:0 4px 15px #26494115}.cardtop,.cardbody{display:flex;align-items:center;justify-content:space-between;gap:12px}.cardtop{color:var(--theme-muted,#405f69);font:600 12px Arial;letter-spacing:.08em}.cardtop svg{width:28px;height:30px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linejoin:round}.cardbody{margin-top:23px}.card h2{font-size:22px;margin:0}.card p{font-size:14px;color:var(--theme-muted,#50646b);margin:5px 0 0}.card b{font-size:20px;color:var(--theme-accent,#236d6c)}.detail{background:var(--theme-card,#fff);padding:36px}.detail a{color:var(--theme-accent,#256868)}a:focus-visible{outline:3px solid var(--theme-brand,#22837a);outline-offset:3px}@media(max-width:700px){header{height:58px}header img{width:90px}main{padding-block:16px}.intro{min-height:200px;padding:22px}.photo{object-position:60% center}.sectiontitle{margin:18px 0 10px}.cards{grid-template-columns:1fr;gap:8px}.card{padding:15px;display:flex;align-items:center;gap:14px}.cardtop span{display:none}.cardbody{flex:1;margin:0}.card h2{font-size:18px}.card p{font-size:13px;margin:2px 0}} .card{width:100%;text-align:left;white-space:normal}.company291{display:block;width:100%;height:clamp(150px,19vw,280px);object-fit:cover;object-position:center 52%;margin-top:22px;border-radius:5px}} .content:has(.aucan-home291)>.topline{display:none} header .brand .brand-home291{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.aucan-home291 .intro{box-sizing:border-box;min-height:0;height:clamp(96px,10vw,155px);padding:16px 24px;gap:5px}.aucan-home291 .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:0;overflow:hidden;border-radius:8px;background:linear-gradient(0deg,#071a2bd9,#071a2b78),url(/assets/home-company291.2431ac62a0e56d42.webp) center 52%/cover}.aucan-home291 .cards .card{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-height:clamp(180px,16vw,260px);padding:clamp(18px,2.4vw,38px);background:transparent;color:white;border:0;border-radius:0;box-shadow:none;border-inline-end:1px solid #ffffff66}.aucan-home291 .cards .card:last-child{border:0}.aucan-home291 .cards .card :is(h2,p,b,.cardtop){color:white}.aucan-home291 .cards .card:is(:hover,:focus-visible){background:#113d5999;outline:2px solid white;outline-offset:-3px}.aucan-home291 .cardbody{text-shadow:0 1px 4px #061d2a}@media(max-width:700px){.aucan-home291 .cards{grid-template-columns:1fr}.aucan-home291 .cards .card{min-height:92px;flex-direction:row;align-items:center;gap:18px;border:0;border-bottom:1px solid #ffffff66}}
header .core-value294{flex:1;text-align:center;color:var(--text,var(--theme-ink,#183c50));font-size:clamp(13px,1.2vw,18px);font-weight:600;letter-spacing:.08em}header .core-value294 [lang=en],html:lang(en) header .core-value294 [lang=zh-Hant]{display:none}html:lang(en) header .core-value294 [lang=en]{display:inline}@media(max-width:760px){header:has(.core-value294){flex-wrap:wrap}header .core-value294{order:10;flex:1 0 100%;font-size:12px;padding-block:3px}}
header:has(~ .content .aucan-home291) .brand>div{display:none}
header .core-value294{font-weight:800}
.theme-language select.theme-menu295{width:auto;min-height:36px;padding-inline:9px}
.aucan-home291 .intro{height:clamp(106px,11vw,171px)}
.aucan-home291 .intro small{font-weight:800}
.aucan-home291 .hero,.aucan-home291 .cards{border-radius:16px}
.aucan-home291 .hero:after,.aucan-home291 .cards:after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 16px 4px rgba(245,247,248,.38)}
.aucan-home291 .cards{position:relative;min-height:clamp(250px,39vh,490px)}
@media(max-width:700px){.aucan-home291 .cards{min-height:48vh}}

.color-chip296{position:relative;display:inline-flex;align-items:center;width:44px;height:32px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#b5c5cb);border-radius:18px;box-sizing:border-box}
.color-chip296::before{content:"";margin-left:7px;width:16px;height:16px;border-radius:50%;background:var(--chip);box-shadow:inset 0 0 0 1px #0003}
.color-chip296::after{content:"";position:absolute;right:6px;border:4px solid transparent;border-top-color:#35505d;top:14px}
.color-chip296:focus-within{outline:2px solid var(--chip);outline-offset:2px}
.theme-language .color-chip296 select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
.aucan-home291 .cards .card{position:relative}
.aucan-home291 .cards .card .cardbody{position:absolute;top:64%;left:8%;width:84%;margin:0;transform:translateY(-50%);display:block;text-align:center}
.aucan-home291 .cardbody b{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.aucan-home291 .cardbody>div{padding-inline:16px}
@media(max-width:700px){.aucan-home291 .cards .card .cardbody{top:50%;left:12%;width:82%}}

.palette297{position:relative;flex:none}.palette297 summary{list-style:none;display:flex;align-items:center;gap:5px;justify-content:center;cursor:pointer;width:40px;height:32px}.palette297 summary::-webkit-details-marker{display:none}.palette297 summary::before,.palette297 button::before{content:"";display:block;width:17px;height:17px;border-radius:50%;background:var(--chip);box-shadow:0 0 0 1px #58667288}.palette297 summary::after{content:"";border:3px solid transparent;border-top-color:currentColor;transform:translateY(2px)}
.dots297{position:absolute;z-index:100;top:100%;right:0;background:#fff;box-shadow:0 4px 16px #10233935;padding:4px;border-radius:16px;display:flex}
header .dots297 button{width:29px;min-width:29px;height:32px;min-height:0;display:grid;place-content:center;background:transparent!important;border:0!important;padding:0;box-shadow:none!important}.dots297 button::before{background:var(--dot)}.dots297 button[aria-pressed=true]::before{outline:2px solid #344856;outline-offset:2px}
html body .aucan-home291 .cards{--scene:url(/assets/home-company291.2431ac62a0e56d42.webp);background:linear-gradient(0deg,#071a2bcc,#071a2b60),var(--scene) center/cover!important}
html body .aucan-home291 .cards button.card[data-system]{background:transparent!important;color:white!important}
html body .aucan-home291 .cards button.card[data-system] :is(h2,p,b,span,svg){color:white!important}
@media(hover:hover){html body .aucan-home291 .cards:has([data-system="engineering"]:hover){--scene:url(/assets/panel297-engineering.285e8b1b59d2d973.jpg)}}html body .aucan-home291 .cards:has([data-system="engineering"]:focus-visible){--scene:url(/assets/panel297-engineering.285e8b1b59d2d973.jpg)}
@media(hover:hover){html body .aucan-home291 .cards:has([data-system="warehouse"]:hover){--scene:url(/assets/panel297-warehouse.a1436cc3c10da599.jpg)}}html body .aucan-home291 .cards:has([data-system="warehouse"]:focus-visible){--scene:url(/assets/panel297-warehouse.a1436cc3c10da599.jpg)}
@media(hover:hover){html body .aucan-home291 .cards:has([data-system="quality"]:hover){--scene:url(/assets/panel297-quality.15f22f90dc8dddca.jpg)}}html body .aucan-home291 .cards:has([data-system="quality"]:focus-visible){--scene:url(/assets/panel297-quality.15f22f90dc8dddca.jpg)}

/* Home navigation and taller operation panels */
#app nav .home-guide-entry{display:block;padding:14px 12px;margin-top:12px;border-radius:8px;text-decoration:none;color:inherit;font-weight:600}#app nav .home-guide-entry:hover{background:#ffffff88}.aucan-home291 .cards{min-height:clamp(380px,59vh,650px)}@media(max-width:700px){.aucan-home291 .cards{min-height:0}.aucan-home291 .cards .card{min-height:180px}}

#app nav a:not(.home-guide-entry):is([href*="AUCAN-operations.html" i],[href*="AUCAN-wire-flow.html" i]){display:none!important}
/* system-layout364.css */
/* Shared screen layout; print documents and warehouse drawing canvases remain independent. */
@media screen{
#app .content{min-width:0}
#app .content>.topline{gap:12px;padding-bottom:14px;border-bottom:1px solid var(--theme-border,#dce3e6);margin-bottom:20px}
#app .content>.topline h1{font-size:clamp(21px,2vw,27px);line-height:1.35}
#app .content>.toolbar{padding:14px;background:var(--theme-soft,#f4f8fa);border:1px solid var(--theme-border,#dce3e6);border-radius:10px;gap:12px;align-items:end}
#app .content>.toolbar>.field{min-width:150px;flex:1 1 180px;max-width:360px}
#app .content>.toolbar :is(input,select){max-width:100%}
#app .content>.cards{gap:12px}
#app .content>.panel{border-radius:10px;box-shadow:0 2px 8px #17334805}
#app .content>.tablewrap{border-radius:10px;border-color:var(--theme-border,#dce3e6)}
#app .content>.tablewrap td{line-height:1.5}
#app .content>.tablewrap th{font-size:12px;letter-spacing:.02em}
#app nav .nav-category364{font-size:11px;letter-spacing:.07em;font-weight:700;color:var(--theme-accent,#327586);padding:16px 12px 5px;border-top:1px solid var(--theme-border,#dce3e6);margin-top:8px;flex-shrink:0}
#app nav>button{line-height:1.45;min-height:42px}
#app nav>button.active{box-shadow:inset 3px 0 0 currentColor}
@media(max-width:760px){#app .content>.toolbar{padding:10px;gap:10px}#app .content>.toolbar>.field{max-width:none;flex-basis:100%}#app .content>.toolbar>button{min-height:44px}#app .content>.topline{align-items:flex-start}#app .content>.tablewrap{max-width:100%}#app nav .nav-category364{letter-spacing:0}}
}

/* system-polish366.css */
/* Visual-only system layer. No positioning or sizing rules for drawing/print canvases. */
@media screen{
#app .content{font-family:'Segoe UI','Microsoft JhengHei',sans-serif;color:var(--theme-ink,#233e50)}
#app .content>.topline{padding:8px 0 18px;margin-bottom:20px;border-color:var(--theme-border,#dce5eb)}
#app .content #body>:is(.toolbar,.movement-filters,.panel),#app .content .ep-filters,#app .content .ep-quick{border:1px solid var(--theme-border,#dce5eb);border-radius:12px;background:var(--theme-card,#fff);padding:16px;gap:12px;box-shadow:0 2px 8px #243f5905}
#app .content #body>.toolbar{align-items:end;margin-bottom:18px}
#app .content :is(.system-cards>.panel,.ep-stat,.ep-stage-meter){border:1px solid #dde6ed!important;border-radius:10px!important;background:#fff;box-shadow:0 2px 6px #233c5006!important}
#app .content .system-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:18px}
#app .content .system-cards>.panel{padding:24px;border-top:3px solid #4d8fa5!important}
#app .content .system-cards>.panel h2{font-size:20px;margin-bottom:10px}
#app .content .system-cards>.panel p{color:var(--theme-muted,#627887);line-height:1.8}
#app .content .ep-head{background:transparent;border-bottom:1px solid var(--theme-border,#e0e7ed);padding:0 0 16px;margin-bottom:16px;box-shadow:none}
#app .content .ep-head h2{font-size:23px;letter-spacing:0}
#app .content .ep-stat{padding:15px 18px}
#app .content .ep-stat strong{font-size:29px;color:var(--theme-ink,#214f64)}
#app .content .ep-tabs{gap:8px;padding:12px 0}
#app .content .ep-tabs button{box-shadow:none;border-radius:7px;padding:8px 14px}
#app .content .ep123 .supervisor-group{border-radius:10px;border-color:var(--theme-border,#dce5eb);margin:10px 0}
#app .content .ep123 .supervisor-group>summary{padding:14px;background:var(--theme-bg,#f7fafb)}
#app .content #body>.tablewrap{border-radius:12px;border-color:var(--theme-border,#dce5eb);box-shadow:0 2px 10px #1a405506}
#app .content #body>.tablewrap th{background:var(--theme-soft,#edf3f7);color:var(--theme-muted,#415c70);padding-top:14px;padding-bottom:14px}
#app .content #body>.tablewrap td{padding-top:13px;padding-bottom:13px;line-height:1.5}
#app .content #body>.tablewrap tbody tr:nth-child(even){background:var(--theme-bg,#f9fbfc)}
#app .content #body>.tablewrap tbody tr:hover{background:var(--theme-soft,#edf7f8)}
#app .content #body>:is(.toolbar,.panel) button:not(.quantity-toggle),#app .content .ep-nav button{border-radius:8px;box-shadow:0 1px 2px #233e5012}
#app .content #body>.info{border-radius:8px;border-left-width:3px;padding:14px 18px;font-size:13px;line-height:1.8}
#app .content #body>.cards{gap:12px}
#app .content #body>.pagination{padding:12px 0;color:var(--theme-muted,#647a8a)}
@media(max-width:760px){#app .content #body>.toolbar{gap:10px;padding:12px}#app .content .system-cards>.panel{padding:18px}#app .content .ep-head h2{font-size:21px}#app .content .ep-stat{padding:12px}#app .content .ep-stat strong{font-size:25px}#app .content #body>.toolbar>button{min-height:44px}}
}

/* /assets/refine369.3e6b0318d6282124.css */
@media screen{.hub365 #workflow .flow-support{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:20px 0 12px;padding:0}.hub365 .flow-support>strong{font-size:13px;margin-right:8px;color:var(--theme-muted,#526e7f)}.hub365 .flow-support>a{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--theme-border,#d8e4eb);background:#f7fafc;border-radius:7px;text-decoration:none;font-size:13px;line-height:1.5}.hub365 .flow-support>a:hover{background:var(--theme-soft,#eaf4f7);border-color:#69a4b4}.hub365 .workflow-note369{border-top:1px solid var(--theme-border,#e2e9ee);padding:12px 0 0;font-size:13px}.hub365 .workflow-note369>summary{cursor:pointer;color:var(--theme-muted,#597483)}.hub365 #workflow .workflow-note369>aside{margin:10px 0 0;padding:12px 14px;font-size:13px;line-height:1.8;background:var(--theme-bg,#f2f7f9);border-radius:6px}.hub365 main>.reference-fold,.hub365 main>.guide-how364,.hub365 main>.manual-note{margin:10px 0!important;border:1px solid var(--theme-border,#dce5eb);border-radius:8px;background:var(--theme-card,#fff);padding:0!important}.hub365 main>.reference-fold>summary,.hub365 main>.guide-how364>summary,.hub365 main>.manual-note>summary{padding:14px 18px;font-size:14px;cursor:pointer}.hub365 .guide-how364>ol,.hub365 .manual-note>p{margin:0 18px 16px}.hub365 main>footer{margin:18px 0 0!important;padding:14px 0!important;border-top:1px solid var(--theme-border,#e0e7ed);font-size:11px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hub365 main>footer a{margin-left:auto}.hub365 main.guide-hub365{padding-bottom:20px!important}}
@media screen{#app>header .theme-language{gap:8px;align-items:center;flex-wrap:nowrap}#app>header .language-switch{display:inline-flex;align-items:center;gap:0;padding:0;border:1px solid var(--theme-border,#d8e1e8);border-radius:8px;background:var(--theme-card,#fff);height:36px;overflow:hidden}#app>header .language-switch>span{font-size:0;width:32px;text-align:center}#app>header .language-switch>span:after{content:'文';font-size:13px;font-weight:700;color:var(--theme-muted,#637b8b)}#app>header .language-switch select{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:6px 24px 6px 0!important;width:112px;height:34px;min-height:0;font-size:13px}#app>header .palette297{position:relative}#app>header .palette297>summary{display:flex;align-items:center;gap:7px;width:auto!important;height:36px!important;padding:7px 10px!important;border:1px solid #d8e1e8!important;border-radius:8px!important;background:#fff!important;list-style:none;cursor:pointer}#app>header .palette297>summary:before{content:'';display:block;width:15px;height:15px;border-radius:50%;background:var(--chip);border:1px solid #233e5033;position:static!important}#app>header .palette297>summary:after{content:'配色 ▾';font-size:12px;color:#526e7f;position:static!important;border:0!important;width:auto!important;height:auto!important}html[lang=en] #app>header .palette297>summary:after{content:'Theme ▾'}html[lang=es] #app>header .palette297>summary:after{content:'Tema ▾'}#app>header .palette297[open]>summary{border-color:#4d94a5!important;background:#f1f8fa!important}#app>header .palette297 .dots297{padding:12px;border:1px solid #dce5eb;border-radius:10px;box-shadow:0 8px 24px #213e5026;z-index:30}#app>header .palette297 summary::-webkit-details-marker{display:none}}

/* presentation376.css */

/* Shared language-aware presentation; no business rules. */
html body .aucan-home291 .cards{background:linear-gradient(0deg,#071a2b91, #071a2b08 75%),var(--scene) center/cover!important}
.aucan-home291 .hero:before{background:linear-gradient(90deg,#102f4470, #17334412 70%),linear-gradient(0deg,#102a3833,transparent 65%)!important}
.aucan-home291 .hero .photo{filter:brightness(1.12) saturate(1.04)}
.aucan-home291 .intro small{color:#fff;text-shadow:0 1px 5px #183744}
header .core-value294{text-shadow:0 0 9px #78cedb66,0 0 24px #a9e8ef99,0 1px 1px #fff;line-height:1.5}
header .brand>div{display:flex;align-items:center;align-self:stretch;max-width:310px}
header .brand>div>b,header .brand>div>br{display:none!important}
header .brand>div>small{font-size:clamp(14px,1.05vw,18px);font-weight:600;line-height:1.5;white-space:normal}
.language-switch>span{font-size:0!important;display:flex;align-items:center;gap:4px}
.language-switch>span:after{content:none!important}.language-switch .country376{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px #193a5026;display:block}
html[lang=en] #app nav button{white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.4;text-align:left}
html[lang=en] #app nav{width:244px}
html[lang=en] .aucan-home291 .cards .card .cardbody{left:5%;width:90%}
html[lang=en] .aucan-home291 .card h2{font-size:clamp(19px,1.35vw,25px);line-height:1.3;text-wrap:balance}
html[lang=en] .aucan-home291 .card p{line-height:1.5;text-wrap:balance;font-weight:400}
html[lang=en] .aucan-home291 .cardbody>div{padding-inline:12px}
@media(max-width:1100px){header .brand>div{max-width:220px}header .brand>div>small{font-size:14px}html[lang=en] header .core-value294{letter-spacing:.02em;font-size:14px}}
@media(max-width:760px){header .brand>div{max-width:190px}header .brand>div>small{font-size:13px}html[lang=en] #app nav{width:min(86vw,300px)}.aucan-home291 .cards .card .cardbody{position:static;transform:none;width:auto!important;flex:1}.aucan-home291 .cardbody b{position:static}.aucan-home291 .cards .card{min-height:160px!important}}

html[lang=es] header .core-value294 [lang=zh-Hant],html[lang=es] header .core-value294 [lang=en]{display:none!important}header .core-value294 [lang=es]{display:none}html[lang=es] header .core-value294 [lang=es]{display:inline}html[lang=es] #app nav button{white-space:normal;line-height:1.4;word-break:normal}html[lang=es] .aucan-home291 .card h2{font-size:clamp(18px,1.3vw,24px);line-height:1.3;text-wrap:balance}html[lang=es] .aucan-home291 .card p{font-weight:400;line-height:1.5}html[lang=es] header .core-value294{letter-spacing:.02em;font-size:15px}

#app>header{flex-wrap:wrap;row-gap:6px}#app>header .brand{min-width:0;flex:0 1 320px}#app>header .account-controls{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:6px}#app>header .core-value294{min-width:160px}header .brand>div>small{color:var(--text,var(--theme-ink,#183c50))!important}html[lang=en] header .brand>div,html[lang=es] header .brand>div{max-width:260px}@media(max-width:760px){#app>header .brand{flex:1 1 200px}#app>header .account-controls{justify-content:flex-start}}

/* vendor-home378.css */
.vendor-home378{max-width:1160px;margin:20px auto;padding:24px}.vendor-home378>h2{font-size:28px;margin:0 0 12px}.vendor-home378>p{color:var(--theme-muted,#647d88);margin-bottom:24px}.vendor-home378-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.vendor-home378-grid button{display:flex;flex-direction:column;gap:18px;align-items:flex-start;text-align:left;padding:28px;border:1px solid var(--theme-border,#cedee4);border-top:4px solid var(--theme-brand,#16828b);background:var(--theme-card,#fff);border-radius:14px;min-height:210px;line-height:1.6}.vendor-home378-grid strong{font-size:22px}.vendor-home378-grid button>span:last-child{align-self:flex-end;margin-top:auto;font-size:22px}#app nav .home-guide-entry{display:block;padding:14px;border-radius:8px}#vendorTools>button{min-width:100px;white-space:nowrap;flex-shrink:0}@media(max-width:1024px){.vendor-home378{padding:4px;margin:12px auto}.vendor-home378-grid{grid-template-columns:1fr;gap:12px}.vendor-home378-grid button{padding:20px;min-height:150px}.vendor-home378>h2{font-size:23px}}

.vendor-docs379{max-width:700px;margin:40px auto;padding:40px 28px;text-align:center;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dce6eb);border-radius:16px}.vendor-docs379-icon{font-size:44px;color:var(--theme-accent,#33828b)}.vendor-docs379 h2{font-size:24px;margin:16px 0}.vendor-docs379 p{color:var(--theme-muted,#607c89);line-height:1.8;margin:0 0 24px}.vendor-home378-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.vendor-home378-grid{grid-template-columns:1fr}.vendor-docs379{margin:16px auto;padding:28px 20px}}

/* vendor-access380.css */
.access380-dialog{width:min(1120px,94vw);max-width:94vw;max-height:92dvh;border:1px solid var(--theme-border,#ccdae1);border-radius:16px;padding:0;color:var(--theme-ink,#173e50);background:var(--theme-card,#fff);box-shadow:0 24px 90px #112f4a40}.access380-dialog::backdrop{background:#14304488;backdrop-filter:blur(3px)}.access380-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--theme-border,#dce6eb);gap:16px}.access380-dialog h2{font-size:20px;margin:0}.access380-dialog button{cursor:pointer;padding:10px 14px;border:1px solid var(--theme-border,#c6d9e1);border-radius:8px;background:var(--theme-card,#fff);color:var(--theme-ink,#173e50);min-height:42px}.access380-dialog button.primary{background:var(--theme-accent,#087e90);color:white}.access380-dialog button:disabled{opacity:.45;cursor:default}.access380-content{padding:20px;max-height:calc(92dvh - 80px);overflow:auto;box-sizing:border-box}.access380-note{padding:12px 16px;background:var(--theme-bg,#eef7f8);border-left:3px solid var(--theme-brand,#128397);line-height:1.6}.access380-filters{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:12px;margin:18px 0}.access380-filters label{display:grid;gap:6px;font-size:14px}.access380-filters input,.access380-filters select,.access380-search{min-height:44px;border:1px solid var(--theme-border,#c6d9e1);border-radius:8px;padding:8px;box-sizing:border-box;min-width:0;width:100%}.access380-actions,.access380-dialog footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0}.access380-dialog footer{position:sticky;bottom:-20px;background:var(--theme-card,#fff);border-top:1px solid var(--theme-border,#dce6eb);padding-bottom:20px}.access380-table{overflow:auto;max-height:50dvh;border:1px solid var(--theme-border,#dce6eb);border-radius:10px}.access380-table table{border-collapse:collapse;width:100%;white-space:nowrap}.access380-table th,.access380-table td{padding:11px 14px;border-bottom:1px solid var(--theme-border,#e1e9ed);text-align:left;font-size:14px}.access380-table th{position:sticky;top:0;background:var(--theme-soft,#eef4f6);z-index:1}.access380-table input[type=checkbox]{width:20px;height:20px;accent-color:var(--theme-brand,#087e90)}.access380-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:18px}.access380-grid article{border:1px solid var(--theme-border,#cfdee5);border-radius:14px;padding:20px;background:var(--theme-card,#fff)}.access380-grid h3{font-size:23px;margin:8px 0}.access380-grid h4{margin:20px 0 8px}.access380-grid button{display:block;width:100%;text-align:left;margin:8px 0;white-space:normal;overflow-wrap:anywhere}.access380-empty{padding:40px 20px;text-align:center}.access380-pdf{width:94vw}.access380-pdf iframe{width:100%;height:72dvh;border:0}.access380-dialog [role=status]{font-size:14px;overflow-wrap:anywhere}@media(max-width:760px){.access380-dialog{width:96vw;max-width:96vw;max-height:96dvh}.access380-content{padding:12px;max-height:calc(96dvh - 74px)}.access380-filters{grid-template-columns:1fr}.access380-dialog footer{bottom:-12px}.access380-grid{grid-template-columns:1fr}.access380-dialog>header{padding:12px}.access380-table{max-height:42dvh}}
.access380-canvas{height:65dvh;overflow:auto;background:var(--theme-soft,#eaf0f4);cursor:grab;touch-action:none;overscroll-behavior:contain;padding:10px;box-sizing:border-box}.access380-canvas canvas{display:block;margin:auto;box-shadow:0 2px 10px #173e5020}.access380-pdf .access380-content{overflow:hidden}

.access380-dialog>header{flex-wrap:nowrap}.access380-dialog>header h2{min-width:0;overflow-wrap:anywhere;flex:1}.access380-dialog>header button{flex:none}

/* /assets/mobile-unified399.c11b9f584fc69d90.css */
/* Preserved component: mobile-v277.css */
#mobileMenu277,#mobileAccount277,#mobileFilters277{display:none}
@media screen and (max-width:1024px){
 #mobileAccount277{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:21px;padding:0}
 #app header:not(.mobile-account-open) .account-controls{display:none!important}
 #mobileFilters277{display:block;width:100%;margin:8px 0 12px;text-align:left}
 .ep123 #epFilters:not(.mobile-filters-open){display:none!important}
 .ep123 .ep-machine-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .ep123 .ep-stage-meters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #app header{position:relative!important;height:auto!important;min-height:64px;padding:10px 12px!important;gap:10px;flex-wrap:wrap!important}
 #mobileMenu277{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;font-size:23px;padding:0}
 #app header .brand{gap:8px;flex:1;min-width:0}#app header .brand img{width:82px;height:36px}#app header .brand small{display:none}
 #app header .account-controls{width:100%;gap:8px;flex-wrap:wrap;justify-content:flex-start!important;font-size:12px}
 #app header .theme-language{flex-wrap:wrap;gap:6px}#app header .theme-switch{gap:4px}
 #app nav{display:none!important;position:relative!important;top:auto!important;bottom:auto!important;width:auto!important;max-height:65dvh;overflow:auto;flex-direction:column!important;padding:12px!important;border-bottom:1px solid var(--border,var(--theme-border,#dbe4eb))}
 body.mobile-menu-open #app nav{display:flex!important}#app nav button{min-height:44px;white-space:normal!important;width:100%}
 #app .content{margin:0!important;padding:12px!important;min-width:0;max-width:100%}
 #app .content h1{font-size:22px}#app .content h2{font-size:20px}
 #app .content button,dialog button{min-height:44px;touch-action:manipulation}
 #app input:not([type=checkbox]):not([type=radio]),#app select,dialog input:not([type=checkbox]):not([type=radio]),dialog select{font-size:16px!important;min-height:44px}
 #app input[type=checkbox]{width:22px;height:22px;flex:none}
 #app .toolbar{gap:8px}#app .toolbar input,#app .toolbar select,#app .toolbar>.unified-choice{max-width:100%;width:100%}
 #app .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#app .card,#app .panel{padding:12px}#app .card strong{font-size:24px}
 #app .system-cards{grid-template-columns:1fr;gap:12px}#app .tablewrap,#app .table-wrap{max-width:100%;overscroll-behavior-x:contain}
 dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:92dvh;padding:16px!important}dialog .grid,dialog .split{grid-template-columns:1fr}
 .ep123{padding:12px!important;min-width:0!important}.ep123 .ep-head{gap:8px;flex-wrap:wrap}.ep123 .ep-filters{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.ep123 .ep-filters>*{min-width:0!important;width:100%!important}
 .ep123 .ep-tabs{flex-wrap:wrap;gap:8px}.ep123 .ep-stat{min-width:0!important}
 .ep123 #epQuick{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:12px!important}
 .ep123 #epQuick .ep-tool-search{grid-column:1/-1;width:100%!important}.ep123 #epQuick label{min-width:0!important;width:auto!important}.ep123 #epQuick input{min-width:0!important}
 .ep123 .ep-shared-head{display:none!important}.ep123 .ep-group-table{overflow:visible!important}
 .ep123 .ep-group-table table,.ep123 .ep-group-table tbody{display:block!important;min-width:0!important;width:100%!important}
 .ep123 .ep-group-table colgroup{display:none}.ep123 .ep-group-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) 80px;gap:8px;padding:14px!important;margin:10px 0;border:1px solid var(--border,var(--theme-border,#dbe4eb));border-radius:12px;background:var(--theme-card,#fff)}
 .ep123 .ep-group-table td{display:block!important;white-space:normal!important;min-width:0!important;padding:0!important;border:0!important;font-size:14px!important;max-width:none!important}
 .ep123 .ep-group-table td:nth-child(1){grid-column:1;grid-row:1}.ep123 .ep-group-table td:nth-child(1) b{font-size:17px}
 .ep123 .ep-group-table td:nth-child(2){grid-column:1;grid-row:2}.ep123 .ep-group-table td:nth-child(3){grid-column:2;grid-row:1/3;text-align:right}
 .ep123 .ep-group-table td:nth-child(4){grid-column:1/-1}.ep123 .ep-group-table td:nth-child(5){grid-column:1/-1;display:flex!important;gap:8px;padding-top:8px!important;border-top:1px solid #eef1f4!important}
 .ep123 .ep-floor-strip{display:flex!important;flex-direction:column;align-items:stretch!important;gap:8px!important;margin-top:4px}
 .ep123 .ep-floor-strip .ep-floor-row{display:flex!important;gap:6px!important;width:100%;align-items:center;padding:6px!important;border-radius:9px;background:#f4f7f9}
 .ep123 .ep-floor-strip .ep-floor-row>b{font-size:14px!important;min-width:26px}
 .ep123 .ep-floor-strip .ep-floor-row button,.ep123 .ep-floor-strip .ep-view-stage{flex:1;min-width:0!important;min-height:48px!important;padding:6px!important;font-size:14px!important}
 .ep123 .ep-floor-strip small{font-size:12px!important}.ep123 .supervisor-group td button:not([data-floor-tool]){min-height:44px!important;padding:8px!important}
 .ep123 .ep-grid{grid-template-columns:1fr!important}.ep123 .ep-batch-row{flex-wrap:wrap!important;gap:8px!important}.ep123 .ep-batch-row>*{max-width:100%}
 #docWorkspace .toolbar{flex-wrap:wrap}#docWorkspace .tablewrap{max-height:70dvh}
 #notice{left:12px;right:12px;bottom:12px;max-width:none}
}

/* Preserved component: mobile-work278.css */
#mobileWork278,#mobileStats278{display:none}
#mobileProgress278{max-width:460px;border:1px solid var(--theme-border,#d1dce1);border-radius:16px;color:var(--theme-ink,#203944);padding:22px}
#mobileProgress278 h2{font-size:20px;margin-top:0}#mobileProgress278 p{line-height:1.6}
.mobile-status-choices{display:grid;grid-template-columns:1fr;gap:10px}.mobile-status-choices button{min-height:52px;font-size:17px}
.mobile-status-choices [aria-pressed=true]{outline:3px solid #287d83;background:#e5f4f3;color:#144e51}
.mobile-progress-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:16px}.mobile-progress-actions button{min-height:48px;flex:1}
@media screen and (max-width:1024px){
 body{zoom:1!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 #app>.content{background:var(--theme-bg,#f6f8fa)}.ep123{background:var(--theme-bg,#f6f8fa)!important;border-radius:12px}.ep123 .ep-group-table tr{box-shadow:0 2px 8px #17334008}
 #mobileWork278{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:var(--theme-card,#fff);border-top:1px solid var(--theme-border,#d9e2e7);box-shadow:0 -3px 12px #17334010}
 #mobileWork278 button{flex:1;min-width:0;min-height:48px;font-size:15px;font-weight:650;padding:6px}
 #app>.content{padding-bottom:100px!important}
 .ep123 #epStats:not(.mobile-stats-open){display:none}
 #mobileStats278{display:block;width:100%;margin:8px 0;text-align:left;font-size:14px}
 .ep123 #epQuick{margin-bottom:8px}.ep123 .ep-head{margin-bottom:8px}.ep123 h2{font-size:20px}
 .ep123 #epNotice:not(:empty){padding:10px;background:var(--theme-soft,#eaf3f3);border-radius:8px;font-size:15px}
 .mobile-request278>.grid,.mobile-request278 .vr-inline-entry>.grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
 .mobile-request278 label{font-size:15px;line-height:1.5}.mobile-request278 input,.mobile-request278 select{width:100%;min-width:0}
 .mobile-request278 .vr-editor-header{display:flex;align-items:start;gap:8px}.mobile-request278 .vr-editor-header h2{font-size:20px;line-height:1.4;flex:1}
 .mobile-request278{padding-bottom:170px!important}.mobile-request-save278{position:fixed;left:12px;right:12px;bottom:78px;z-index:19;background:var(--theme-card,#fff);border-radius:10px;padding:10px;border-block:1px solid var(--theme-border,#dce5e8);display:flex;gap:8px}
 #app .mobile-request-save278 #vrSave{flex:1;min-height:50px!important;font-size:16px}
 .mobile-request278 #vrEntryAdd{width:100%;min-height:48px;font-size:16px}
 .mobile-request278 .vr-inline-entry{padding:12px!important;margin-top:14px}.mobile-request278 #vrEntryStock{overflow-wrap:anywhere;line-height:1.5}
 .mobile-request278 #vrLines{overflow:visible;max-height:none}.mobile-request278 #vrLines table,.mobile-request278 #vrLines tbody{display:block;min-width:0;width:100%}
 .mobile-request278 #vrLines thead{display:none}.mobile-request278 #vrLines tbody tr{display:block;padding:12px;margin-bottom:12px;border:1px solid var(--theme-border,#d4e0e4);border-radius:10px}
 .mobile-request278 #vrLines td{display:block;width:auto!important;min-width:0;border:0;padding:7px 0;white-space:normal;overflow-wrap:anywhere}
 .mobile-request278 #vrLines td::before{content:attr(data-mobile-label);display:block;font-size:12px;color:var(--theme-muted,#536b75);margin-bottom:4px}
 .mobile-request278 #vrLines input{min-height:44px;font-size:16px}
 #mobileProgress278{width:calc(100vw - 24px)!important;box-sizing:border-box;max-height:85vh}
}
@media print{#mobileWork278,#mobileStats278,#mobileProgress278{display:none!important}}

/* Preserved component: mobile-polish279.css */
/* Presentation only: keep feedback and actions above the phone home indicator. */
@media screen and (max-width:1024px){
 #app>.content{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
 .mobile-request-save278{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 #notice{bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:24;font-size:15px;line-height:1.5;box-shadow:0 4px 18px #17334024}
 body:has(.mobile-request-save278) #notice{bottom:calc(158px + env(safe-area-inset-bottom,0px))}
 #mobileProgress278{overflow-y:auto;overscroll-behavior:contain}
 #mobileProgress278::backdrop{background:#152b3b66}
 #app .content input,#app .content textarea{scroll-margin-block:90px 180px}
 #mobileWork278 button:focus-visible{outline:3px solid var(--theme-brand,#287d83);outline-offset:1px}
}

/* Preserved component: mobile-app303.css */
#mobileRequestFilters303{display:none}
@media screen and (max-width:1024px){
 html body{--primary:var(--theme-accent);background:var(--theme-bg,#f2f6f9)!important;color:var(--theme-ink,#18384b); color-scheme:light}
 #app header{background:var(--theme-card,#fff)!important;color:var(--theme-ink,#18384b)!important;border-bottom:1px solid var(--theme-border,#dce6ed);box-shadow:0 2px 10px #23445808}
 #app .content{background:var(--theme-bg,#f2f6f9)!important;padding:16px 12px 110px!important}
 #app :is(.panel,.card,.vr-filter-card){background:var(--theme-card,#fff)!important;border-color:var(--theme-border,#dce6ed)!important;border-radius:16px!important;box-shadow:0 2px 8px #193c4b05}
 #app :is(button,input,select,textarea){border-radius:10px;color:var(--theme-ink,#18384b)}#app :is(input,select,textarea){background:var(--theme-card,#fff)!important;border-color:var(--theme-border,#cedde6)!important}
 #app button{box-shadow:none!important}#app button.primary{background:var(--theme-accent,#147d89)!important;color:#fff!important;border-color:var(--theme-brand,#147d89)!important}
 #app h1{font-size:23px!important;letter-spacing:.3px}#app h2{font-size:20px!important}#app :is(.toolbar,.actions){flex-wrap:wrap;gap:8px}
 #app nav{background:var(--theme-card,#fff)!important}#app nav button.active{background:var(--theme-soft,#e4f2f4)!important;color:var(--theme-accent,#126773)!important}
 #mobileWork278{padding:8px 8px calc(10px + env(safe-area-inset-bottom,0px));gap:5px;background:var(--theme-card,#fff);box-shadow:0 -4px 18px #1733400b}
 #mobileWork278 button{background:var(--theme-card,#fff);color:var(--theme-muted,#637988);border:0;border-radius:12px;min-height:54px;font-size:12px;line-height:1.4;box-shadow:none}
 #mobileWork278 button::before{display:block;font-size:19px;line-height:22px;margin-bottom:3px;content:'⌂'}
 #mobileWork278 [data-shortcut=engineering]::before{content:'▦'}#mobileWork278 [data-shortcut=picking]::before{content:'▤'}#mobileWork278 [data-mobile-more]::before{content:'☰'}
 #mobileWork278 button.mobile-selected303{background:var(--theme-soft,#e4f2f4);color:var(--theme-accent,#126773)}
 .ep123{background:transparent!important;padding:0!important}.ep123 .ep-group-table tr{border-radius:16px!important;padding:16px!important;background:var(--theme-card,#fff)!important;border-color:var(--theme-border,#dce6ed)!important}
 .ep123 .ep-floor-strip .ep-floor-row{background:#f0f5f8!important;padding:8px!important}.ep123 .ep-floor-strip button{background:#fff;border:1px solid #d1e1e7;min-height:52px!important}.ep123 #epQuick{background:var(--theme-card,#fff)!important;box-shadow:none!important;border-radius:14px!important}
 #mobileProgress278{background:var(--theme-card,#fff);color:var(--theme-ink,#18384b);border-radius:20px;padding:22px!important}#mobileProgress278 .mobile-status-choices button{background:var(--theme-bg,#f2f6f9);border:1px solid var(--theme-border,#dce6ed)}#mobileProgress278 .mobile-status-choices [aria-pressed=true]{background:#e4f2f4;outline:2px solid #147d89}#mobileProgress278 button.primary{background:var(--theme-accent,#147d89);color:#fff}
 .vr-home>.muted{font-size:12px;line-height:1.6}.vr-home .vr-filter-card{padding:12px!important}.vr-home .vr-filter-grid:not(.mobile-filter-open303){display:none!important}#mobileRequestFilters303{display:block;width:100%;text-align:left;background:var(--theme-soft,#edf5f7)!important;color:var(--theme-accent,#255e70)!important;min-height:44px;margin-bottom:10px}
 .vr-home .vr-filter-grid{grid-template-columns:1fr!important;gap:12px!important}.vr-home .vr-search-row{display:block!important}.vr-home .vr-search-row .actions{margin-top:8px}.vr-home .vr-search{display:block!important;width:100%!important}.vr-home #vrSearch{width:100%;min-height:48px}.vr-home #vrNew{min-height:48px;flex:1}.vr-home .vr-top-actions{display:flex}
 .vr-home>.table-wrap{overflow:visible!important;max-height:none!important;border:0!important;background:none!important}
 .vr-home>.table-wrap :is(table,tbody){display:block!important;width:100%!important;min-width:0!important}.vr-home>.table-wrap :is(thead,colgroup){display:none!important}
 .vr-home>.table-wrap tbody tr{display:grid!important;grid-template-columns:28px minmax(0,1fr);gap:8px 10px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dce6ed);border-radius:16px;padding:16px;margin-bottom:12px}
 .vr-home>.table-wrap td{display:block;width:auto!important;min-width:0!important;border:0!important;padding:0!important;white-space:normal!important;overflow-wrap:anywhere;font-size:14px!important}
 .vr-home>.table-wrap td:nth-child(1){grid-column:1;grid-row:1/3}.vr-home>.table-wrap td:nth-child(2){grid-column:2;color:var(--theme-muted,#657b8b);font-size:12px!important}.vr-home>.table-wrap td:nth-child(3){grid-column:2;font-weight:700;font-size:16px!important}
 .vr-home>.table-wrap td:nth-child(n+4){grid-column:2}.vr-home>.table-wrap td:nth-child(6){color:var(--theme-accent,#147d89)}.vr-home>.table-wrap td:last-child{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--theme-border,#e5edf1)!important;padding-top:10px!important}.vr-home>.table-wrap td[colspan]{grid-column:1/-1}
 .mobile-request278 .vr-inline-entry{background:#f7fafc!important;border:1px solid var(--theme-border,#dce6ed);border-top:3px solid var(--theme-brand,#147d89);border-radius:14px}.mobile-request-save278{box-shadow:0 -3px 14px #18384b12}.mobile-request278 #vrEntryQty{font-size:20px!important}.mobile-request278 #vrEntryAdd{background:var(--theme-accent,#147d89);color:white}.mobile-request278 #vrLines td:before{color:var(--theme-muted,#607888)}
}
@media print{#mobileRequestFilters303{display:none!important}}

/* Preserved component: mobile-home304.css */
@media screen and (max-width:1024px){
 #app header{position:relative;min-height:64px!important;padding:10px 12px!important;flex-wrap:nowrap!important;gap:12px;z-index:40}
 #app header .brand>div,#app header .core-value294{display:none!important}
 #app header .brand{flex:1;min-width:0}#app header .brand img{max-width:110px;height:auto}
 #app header.mobile-account-open .account-controls{position:absolute;top:100%;left:12px;right:12px;width:auto!important;display:flex!important;flex-wrap:wrap;gap:12px;padding:16px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dce6ed);border-radius:14px;box-shadow:0 8px 24px #18384b22;z-index:50}
 #app .aucan-home291 .cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;min-height:0!important;border-radius:18px;overflow:hidden}
 #app .aucan-home291 .cards button.card[data-system]{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:stretch!important;width:100%!important;min-width:0!important;height:auto!important;min-height:148px!important;padding:18px 20px!important;background:linear-gradient(90deg,#092536b8,#09253655)!important;border:0!important;border-bottom:1px solid #ffffff40!important;border-radius:0!important;color:white!important;text-align:left!important;overflow:visible!important}
 #app .aucan-home291 .cards .card .cardtop{display:flex!important;position:static!important;justify-content:space-between;align-items:center;width:100%;font-size:11px}
 #app .aucan-home291 .cards .card .cardtop svg{width:22px;height:24px}
 #app .aucan-home291 .cards .card .cardbody{position:static!important;transform:none!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;text-align:left!important;margin-top:20px}
 #app .aucan-home291 .cards .card .cardbody>div{min-width:0;flex:1}
 #app .aucan-home291 .cards .card h2{font-size:20px!important;line-height:1.4!important;margin:0 0 5px!important;color:white!important;text-shadow:none!important;white-space:normal!important}
 #app .aucan-home291 .cards .card p{font-size:13px!important;line-height:1.6!important;margin:0!important;color:#f0f6fa!important;text-shadow:none!important;white-space:normal!important}
 #app .aucan-home291 .cards .card .cardbody>b{position:static!important;float:none!important;flex:0 0 20px;font-size:0!important;text-shadow:none!important}
 #app .aucan-home291 .cards .card .cardbody>b::after{content:'›';font:28px Arial,sans-serif;color:white}
 #app .aucan-home291 .intro{height:112px!important;min-height:0!important}#app .aucan-home291 .intro small{color:#fff!important;font-size:14px!important}
}

/* Preserved component: mobile-redesign377.css */
/* Mobile presentation, v377. Original inputs/actions/permissions are retained. */
@media screen and (max-width:1024px){
 html body #app{background:var(--theme-bg,#f4f7f9)}
 html body #app>header{min-height:58px!important;padding:7px 12px!important;column-gap:10px!important;row-gap:6px!important;background:var(--theme-card,#fff)!important;border-bottom:1px solid var(--theme-border,#dfe8ed);box-shadow:0 3px 14px #18374a06}
 html body #app>header .brand{flex:1!important;min-width:0;justify-content:flex-start;gap:8px}
 html body #app>header .brand img{width:88px!important;height:34px!important;object-fit:contain}
 html body #app>header .brand>div{display:none!important}
 html body #mobileMenu277,html body #mobileAccount277{width:40px!important;height:40px!important;min-height:40px!important;border:0!important;background:var(--theme-soft,#edf4f6)!important;border-radius:12px!important;box-shadow:none;font-size:22px!important}
 html body #app header .account-controls{padding:10px 0 4px;border-top:1px solid var(--theme-border,#e4edf1);align-items:center;gap:8px!important}
 html body #app .content{padding:16px 14px 108px!important;background:var(--theme-bg,#f4f7f9)!important}
 html body #app .content>.topline{margin:0 0 16px!important;padding:0 0 12px!important;gap:7px!important;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--theme-border,#dfe7ec)}
 html body #app .content>.topline h1{font-size:21px!important;line-height:1.3!important;letter-spacing:0!important;margin:0!important;flex:1 1 180px}
 html body #app .content>.topline [data-updated-at]{font-size:11px!important;line-height:1.4;color:var(--theme-muted,#748b98);flex:1 1 100%;order:3;text-align:left!important}
 html body #app .content>.topline button{min-height:36px!important;font-size:12px!important;padding:7px 10px!important}
 html body #app .content :is(button,.button,summary){line-height:1.4;white-space:normal;word-break:normal}
 html body #app .content button{min-height:42px;padding:10px 12px;border-radius:10px}
 html body #app .content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:16px;max-width:100%;border-radius:10px}
 html body #app .content :is(.toolbar,.movement-filters,.panel,.ep-filters,.ep-quick){border-color:var(--theme-border,#dce7ec)!important;box-shadow:0 2px 8px #163b4f03!important}
 html body #app .content #body>.panel{padding:14px!important;border-radius:12px!important;margin-bottom:12px}
 html body #app .content #body>.toolbar{padding:12px!important;gap:8px!important;margin-bottom:14px!important;border-radius:12px!important;display:flex!important;flex-wrap:wrap!important}
 html body #app .content #body>.toolbar>input[type=search]{flex:1 1 100%!important;width:100%!important;margin:0!important}
 html body #app .content .toolbar :is(.field,.unified-choice,.quantity-picker){min-width:0;max-width:100%}
 .m377-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--theme-bg,#f1f6f8)!important;color:#315e70!important;font-size:13px!important;font-weight:600!important;border:1px solid var(--theme-border,#d3e2e9)!important;min-height:42px;cursor:pointer}
 .m377-toggle::after{content:'⌄';font-size:16px;line-height:1}.m377-toggle[aria-expanded=true]::after{transform:rotate(180deg)}
 .m377-filter-control{flex:1 1 calc(50% - 8px)!important;width:auto!important;min-width:0!important}
 .m377-inventory:not(.m377-filters-open)>.m377-filter-control{display:none!important}
 .m377-actions:not(.m377-actions-open)>.m377-secondary-action{display:none!important}
 .m377-movement-filters:not(.m377-filters-open)>:not(.m377-toggle){display:none!important}
 .m377-movement-filters>.m377-toggle{width:100%;justify-content:space-between}
 .m377-movement-filters>:not(.m377-toggle){flex:1 1 calc(50% - 8px)!important;width:calc(50% - 8px)!important;min-width:0!important;max-width:100%!important}
 .m377-inventory .inventory-date-range{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;flex-basis:100%!important}
 .m377-inventory .inventory-date{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px;width:auto!important;font-size:12px}
 .m377-inventory #clearInventoryDates{grid-column:1/-1}
 .m377-actions>.m377-secondary-action{flex:1 1 calc(50% - 8px)!important;width:auto!important;max-width:100%!important;min-width:0!important}
 .m377-actions>.m377-secondary-action button{width:100%}
 html body #app .content .cards:has(.stock-click-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important}
 html body #app .content .stock-click-card{padding:0!important;position:relative;border-radius:12px!important;min-width:0;background:var(--theme-card,#fff)!important;overflow:hidden}
 html body #app .content .stock-click-card .stock-card-filter{display:flex!important;flex-direction:column;align-items:flex-start;text-align:left;justify-content:space-between;width:100%;padding:11px 12px!important;min-height:94px!important;font-size:12px!important;line-height:1.45!important;white-space:normal!important;border-radius:11px!important}
 html body #app .content .stock-click-card .stock-card-filter strong{font-size:26px!important;line-height:1.1;margin-top:8px}
 html body #app .content .stock-click-card .card-settings{position:absolute;right:4px;bottom:4px;top:auto!important;width:38px!important;height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;padding:0!important;font-size:0!important}
 html body #app .content .stock-click-card .card-settings::before{content:'⚙';display:block;font-size:17px;line-height:38px;color:var(--theme-muted,#6c8491)}
 html body #app .content .stock-shortages282 summary{font-size:13px;padding:0!important;line-height:1.5}
 html body #app .content .ep123 .ep-head{display:grid!important;grid-template-columns:1fr;gap:10px!important;padding:0 0 12px!important;margin:0 0 12px!important;background:transparent!important}
 html body #app .content .ep123 .ep-head h2{font-size:17px!important;line-height:1.4!important;margin:0!important}
 html body #app .content .ep123 .ep-head .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
 html body #app .content .ep123 .ep-head button{font-size:13px!important;min-height:40px!important;padding:8px!important}
 html body #app #mobileFilters277,html body #app #mobileStats278,html body #app #mobileRequestFilters303{min-height:42px!important;padding:10px 12px!important;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#d7e4eb)!important;border-radius:10px!important;font-size:13px!important;font-weight:600;line-height:1.45;margin:0 0 10px!important}
 html body #app #mobileFilters277::after,html body #app #mobileStats278::after,html body #app #mobileRequestFilters303::after{content:'⌄';float:right;margin-left:10px;color:var(--theme-muted,#688694)}
 html body #app #epQuick{padding:12px!important;gap:10px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:10px;border-radius:12px!important}
 html body #app #epQuick>label{min-width:0!important;width:auto!important;font-size:12px!important;line-height:1.5}
 html body #app #epQuick>label:first-child{grid-column:1/-1}
 html body #app #epQuick>label:last-child{grid-column:1/-1}
 html body #app #epQuick .unified-choice{width:100%!important;min-width:0!important}
 html body #app .ep123 :is(.ep-scurve,.ep-batch){margin:8px 0!important;border:1px solid var(--theme-border,#dce6ec)!important;border-radius:10px;background:var(--theme-card,#fff)}
 html body #app .ep123 :is(.ep-scurve,.ep-batch)>summary{padding:11px 12px!important;font-size:13px}
 html body #app .ep123 .ep-group-table tr{padding:12px!important;border-radius:12px!important;margin-bottom:10px!important}
 html body #app .ep123 .ep-group-table td{font-size:13px!important}
 html body #app .ep123 .ep-floor-strip .ep-floor-row{padding:7px!important;gap:6px!important;border-radius:9px}
 html body #app .ep123 .ep-floor-strip button{min-height:48px!important;font-size:12px!important;padding:6px!important;border-radius:8px}
 html body #app .ep123 .ep-floor-strip button small{font-size:11px;line-height:1.4}
 html body #app .content .system-cards{grid-template-columns:1fr!important;gap:12px!important}
 html body #app .content .system-cards>.panel{padding:18px!important;border-radius:12px!important;border-top:0!important;border-left:3px solid var(--theme-brand,#238799)!important;box-shadow:0 3px 12px #254b6204!important}
 html body #app .content .system-cards>.panel h2{font-size:18px!important;margin:0 0 4px!important;line-height:1.4}
 html body #app .content .system-cards>.panel p{font-size:14px;line-height:1.6;margin:10px 0 12px!important}
 html body #app .content .system-cards>.panel>small{font-size:12px;color:var(--theme-muted,#718996)}
 html body #app .content .info{padding:12px 14px!important;font-size:13px;line-height:1.65;border-radius:10px!important;margin-bottom:14px!important}
 html body #mobileWork278{left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;width:auto!important;border:1px solid var(--theme-border,#dce7ed);border-radius:18px!important;padding:5px!important;box-shadow:0 8px 28px #163f5029!important;gap:4px!important;background:#fffffff5!important;backdrop-filter:blur(14px)}
 html body #mobileWork278 button{min-height:54px!important;min-width:0!important;padding:5px 3px!important;border-radius:12px!important;font-size:11px!important;line-height:1.3!important}
 html body #mobileWork278 button::before{content:''!important;display:block;width:20px;height:20px;margin:0 auto 4px;background:center/20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23577583' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E")}
 html body #mobileWork278 [data-shortcut=engineering]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23577583' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Cpath d='M8 7h8M8 11h3M8 15h3m3 0 2 2 4-5'/%3E%3C/svg%3E")}
 html body #mobileWork278 [data-shortcut=picking]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23577583' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10M8 5l9 4'/%3E%3C/svg%3E")}
 html body #mobileWork278 button.mobile-selected303{background:var(--theme-soft,#e4f3f4)!important;color:var(--theme-accent,#086f7c)!important;font-weight:700}
 html body dialog:not(.image-viewer){max-width:calc(100vw - 20px)!important;border-radius:16px!important;padding:16px!important}
 html body #app nav{padding:12px!important;border-right:1px solid var(--theme-border,#dce6ec);box-shadow:8px 0 30px #173a4a1a}
 html body #app nav button{padding:12px 14px!important;min-height:44px!important;border-radius:10px!important;font-size:14px!important;line-height:1.45!important}
 html body #app nav .nav-category364{font-size:11px!important;letter-spacing:.06em;padding:16px 12px 6px!important;color:var(--theme-muted,#6d8794)!important}
}
@media screen and (min-width:1025px){.m377-toggle{display:none!important}}
@media screen and (max-width:1024px){
 html body #app #epQuick #epFloorFilters{grid-column:1/-1;min-width:0}
 html body #app #epQuick #epFloorFilters>.ep-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body #app #epQuick #epFloorFilters label{min-width:0;font-size:12px}
 html body #app #epQuick #epFloorFilters label:last-child{grid-column:1/-1}
}
@media print{.m377-toggle{display:none!important}}
@media screen and (max-width:1024px){
 html body #app #epQuick.m377-quick:not(.m377-stages-open)>.m377-stage-control{display:none!important}
 html body #app #epQuick>.m377-toggle{grid-column:1/-1;justify-content:space-between;min-height:40px!important;margin:0;background:var(--theme-bg,#f4f8fa)!important}
 html body #app #epQuick>label:has(#epStateQ){grid-column:1/-1}
 html body #app .ep123 .ep-group-table td .actions{gap:7px!important}
}

/* Preserved component: request-usability377.css */
@media screen{
 #app .request377{max-width:1120px;margin-inline:auto;padding:24px!important;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#dde7ec)!important;border-radius:18px!important}
 #app .request377 .vr-editor-header{display:flex;justify-content:space-between;align-items:center;gap:16px}
 #app .request377 .vr-editor-header h2{font-size:23px;margin:0;color:var(--theme-ink,#173e53)}
 #app .request377-intro{color:var(--theme-muted,#647d8d);line-height:1.65;margin:10px 0 20px}
 #app .request377-steps{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:auto!important;max-width:none!important;height:auto!important;transform:none!important;padding:0!important;margin:0 0 24px!important;gap:8px;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
 #app .request377-steps button{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:52px;padding:10px 14px;background:var(--theme-bg,#eff6f8);color:var(--theme-accent,#244e60);border:1px solid var(--theme-border,#dbe8ee);border-radius:10px;box-shadow:none;text-align:left}
 #app .request377-steps button>span:first-child{font-size:13px;font-weight:700;color:var(--theme-accent,#168493)}
 #app .request377-details{padding:20px;background:var(--theme-bg,#f7f9fb);border:1px solid var(--theme-border,#e0e9ee);border-radius:12px;gap:16px!important;margin-bottom:22px}
 #app .request377 label{font-size:13px;font-weight:600;line-height:1.5;color:#36596b}
 #app .request377 :is(input,select){margin-top:6px;min-height:44px;border-radius:8px;width:100%;font-size:15px;font-weight:400}
 #app .request377 input[readonly]{background:var(--theme-soft,#edf2f5);color:var(--theme-muted,#657d8b)}
 #app .request377 .vr-inline-entry{padding:20px;border:1px solid var(--theme-border,#c8e3e7);border-radius:12px;background:var(--theme-bg,#f9fdfd);margin:0 0 24px}
 #app .request377 h3{font-size:17px;margin:0 0 14px;color:var(--theme-accent,#194b5d)}
 #app .request377 .recent-materials284{padding:10px 12px;background:var(--theme-soft,#eef5f6);border-radius:8px;font-size:13px}
 #app .request377 #vrEntryAdd{min-height:44px;background:var(--theme-accent,#137f8b);color:white;border:1px solid var(--theme-brand,#137f8b);padding:10px 22px;border-radius:9px}
 #app .request377 :is(#requestDetails377,#requestMaterials377,#vrLines){scroll-margin-top:90px}
 #app .request377-empty{margin:12px 0 20px;padding:24px;text-align:center;border:1px dashed var(--theme-border,#cadce5);border-radius:10px;color:var(--theme-muted,#6d8490);background:var(--theme-bg,#f8fafb)}
 #app .request377-save{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px -24px -24px!important;padding:16px 24px;border-top:1px solid var(--theme-border,#dce7ed);border-radius:0 0 18px 18px;background:var(--theme-bg,#f5f9fa);position:sticky;bottom:0;z-index:15;box-shadow:0 -6px 20px #183a4b08}
 #app .request377-count{font-size:14px;font-weight:600;color:var(--theme-muted,#426575)}
 #app .request377-save #vrSave{min-height:46px;padding:12px 24px;border-radius:10px;white-space:normal}
}
@media screen and (max-width:1024px){
 body:has(#vendorTitle):has(.request377) #mobileWork278{display:none!important}
 body:has(#vendorTitle) #app .request377-save{bottom:env(safe-area-inset-bottom,0px)!important}
 #app .request377{padding:14px!important;border-radius:12px!important}
 #app .request377 .vr-editor-header h2{font-size:19px;line-height:1.4}
 #app .request377-intro{font-size:13px;margin-bottom:14px}
 #app .request377-steps{gap:6px;margin-bottom:16px!important}
 #app .request377-steps button{flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:9px!important;font-size:12px!important;line-height:1.35;min-height:64px!important}
 #app .request377-details{padding:12px;gap:12px!important}
 #app .request377 .vr-inline-entry{padding:12px}
 #app .request377 :is(input,select){font-size:16px!important}
 #app .request377 .pick290-results{max-height:40dvh;border-radius:10px;box-shadow:0 8px 24px #173b4d22}
 #app .request377 #vrEntryAdd{width:100%}
 #app .request377-save{position:sticky!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;left:auto!important;right:auto!important;width:auto!important;margin:16px -14px -14px!important;padding:12px 14px!important;flex-wrap:nowrap!important;gap:8px;border-radius:0 0 12px 12px}
 #app .request377-save #vrSave{flex:1;max-width:75%;font-size:14px!important;padding:10px!important}
 #app .request377-count{font-size:12px;line-height:1.5}
}
@media print{.request377-steps,.request377-intro,.request377-save,.request377-empty{display:none!important}}


/* Preserved component: vendor-cart396.css */
.cart395{display:none}.catalog395{box-sizing:border-box;width:min(780px,96vw);max-height:92dvh;padding:0;border:0;border-radius:20px;background:#f5f8fa;color:#183e51;overflow:hidden}.catalog395::backdrop{background:#102b3d99}.catalog395[hidden],.catalog395 [hidden]{display:none!important}.catalog395 header{position:relative;top:auto;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#fff;border-bottom:1px solid #dbe5eb}.catalog395 header h2{font-size:20px;margin:0}.catalog395 button{min-height:44px;cursor:pointer;border:1px solid #cedde4;background:white;border-radius:10px;color:#214c60}.catalog395 input,.catalog395 select{box-sizing:border-box;min-height:46px;font-size:16px;border:1px solid #cbdce4;border-radius:10px;padding:10px;max-width:100%}.catalog395-filters{display:grid;grid-template-columns:2fr 1fr;gap:10px;padding:16px}.catalog395-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 20px}.catalog395-product{display:flex;flex-direction:column;text-align:left;gap:10px;padding:14px;min-width:0}.catalog395-product>span{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}.catalog395-product strong{font-size:16px}.catalog395-product small{color:#617785;line-height:1.45}.cart395-photo{display:flex;justify-content:center;align-items:center;background:var(--theme-bg,#f0f4f6);border-radius:12px;overflow:hidden;width:100%;min-height:100px}.cart395-photo img{width:100%!important;height:120px!important;object-fit:contain!important;border:0!important}.catalog395-detail{padding:18px;display:grid;gap:12px}.catalog395-detail>.cart395-photo img{height:200px!important}.catalog395-detail label{display:grid;gap:8px}.catalog395-detail p{margin:0;overflow-wrap:anywhere;line-height:1.6}.cart395-quantity{display:grid;grid-template-columns:44px minmax(70px,1fr) 44px;gap:6px;max-width:240px}.cart395-quantity input{text-align:center;min-width:0;width:100%;font-size:16px}.cart395-quantity button{min-height:44px;font-size:22px}.cart395-primary{background:var(--theme-accent,#087f8c)!important;color:white!important;border-color:var(--theme-brand,#087f8c)!important;font-weight:700;padding:13px 18px!important}.cart395-error{color:#b43b28;margin:0;padding:0 18px 16px;line-height:1.5}
@media screen and (max-width:1024px){
 #app .vendor-cart395 .cart395{display:block}#app .vendor-cart395>.vr-inline-entry,#app .vendor-cart395>#vrLines,#app .vendor-cart395>.request377-empty,#app .vendor-cart395>#vrLines+h3{display:none!important}
 #app .vendor-cart395>.request377-steps{display:none!important}#app .vendor-cart395>.request377-intro{display:none!important}
 #app .vendor-cart395 .cart395>h3{font-size:21px;margin:20px 0 6px}#app .vendor-cart395 .cart395-hint{color:var(--theme-muted,#647d88);font-size:14px;line-height:1.65;margin:0 0 16px}
 #app .vendor-cart395 .cart395>button{width:100%;min-height:48px;margin-bottom:18px}
 #app .vendor-cart395 .cart395-items{display:grid;gap:12px}#app .vendor-cart395 .cart395-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dbe6eb);border-radius:14px;padding:14px}
 #app .vendor-cart395 .cart395-item>.cart395-photo{align-self:start;min-height:82px}#app .vendor-cart395 .cart395-item img{height:82px!important}
 #app .vendor-cart395 .cart395-item strong{display:block;overflow-wrap:anywhere;font-size:16px}#app .vendor-cart395 .cart395-item p{margin:6px 0;line-height:1.5;overflow-wrap:anywhere}#app .vendor-cart395 .cart395-item small{display:block;color:var(--theme-muted,#667d89);line-height:1.55;margin-bottom:6px}
 #app .vendor-cart395 .cart395-item button{min-height:44px}#app .vendor-cart395 .cart395-item .cart395-quantity{margin:10px 0}#app .vendor-cart395 .cart395-item .cart395-quantity input{margin:0}
 #app .vendor-cart395 .cart395-safe{font-size:13px;line-height:1.7;color:var(--theme-muted,#5e7683);padding:14px;background:var(--theme-soft,#edf5f6);border-radius:10px}#app .vendor-cart395 .cart395-empty{padding:28px 18px;border:1px dashed var(--theme-border,#bed4dd);border-radius:12px;text-align:center;color:var(--theme-muted,#617985);line-height:1.7}
 #app .vendor-cart395 .request377-save{padding-bottom:max(16px,env(safe-area-inset-bottom));gap:10px}#app .vendor-cart395 .request377-save #vrSave{flex:1;font-size:15px!important}
 .catalog395{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}.catalog395 header{padding-top:max(12px,env(safe-area-inset-top))}.catalog395-filters{grid-template-columns:1fr}.catalog395-results{gap:10px}.catalog395-product{padding:10px}.catalog395-product .cart395-photo img{height:100px!important}
}
@media print{.cart395,.catalog395{display:none!important}}
@media screen and (max-width:1024px){#app .vendor-cart395>h3,#app .vendor-cart395>p.muted{display:none!important}}

.cart395-no-photo{font-size:13px;color:var(--theme-muted,#708794);padding:22px;text-align:center}
@media screen and (max-width:1024px){
#app .vendor-cart395.cart395-original-rows>#vrLines{display:block!important;border:0;background:transparent;overflow:visible}
#app .cart395-original-rows #vrLines table,#app .cart395-original-rows #vrLines tbody{display:block;width:100%;min-width:0}
#app .cart395-original-rows #vrLines thead{display:none}
#app .cart395-original-rows #vrLines tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px;margin:12px 0;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dbe6eb);border-radius:14px}
#app .cart395-original-rows #vrLines td{display:block;min-width:0!important;padding:0;border:0;overflow-wrap:anywhere}
#app .cart395-original-rows #vrLines td:first-child,#app .cart395-original-rows #vrLines td:nth-last-child(2){grid-column:1/-1}
#app .cart395-original-rows #vrLines td:before{content:attr(data-cart-label);display:block;color:var(--theme-muted,#647d88);font-size:13px;margin:0 0 6px}
#app .cart395-original-rows #vrLines input,#app .cart395-original-rows #vrLines select{width:100%!important;max-width:100%;min-height:44px;font-size:16px;box-sizing:border-box}
#app .cart395-original-rows>p.muted{display:block!important}
#app .cart395-original-rows .cart395-items[hidden]{display:none!important}
}

/* Shopping-style request catalogue: only presentation and existing draft inputs. */
#app .vendor-cart395{--cart-accent:#c45227;--cart-soft:#fff3eb}
.catalog395{--cart-accent:#c45227;--cart-soft:#fff3eb;overscroll-behavior:contain;background:#f5f6f8!important;padding-bottom:0!important}
.catalog395 header{box-shadow:0 2px 8px #183e5108}
.catalog395 .catalog395-filters{position:sticky;top:0;z-index:2;background:#fff;padding:12px 16px;grid-template-columns:1fr;gap:8px;border-bottom:1px solid #e7ebef}
.catalog395 .catalog395-filters input{background:#f6f7f9;border-radius:12px;padding:12px 16px}
.catalog395 .catalog395-filters select{min-height:38px;font-size:14px;padding:7px 12px}
.catalog396-chips{display:flex;gap:8px;padding:12px 16px;overflow:auto;scrollbar-width:thin;background:#fff}
.catalog396-chips button{flex-shrink:0;min-height:36px;padding:7px 12px;border-radius:999px;border:1px solid #dde4e9;font-size:13px;white-space:nowrap}
.catalog396-chips button[aria-pressed=true]{background:var(--cart-soft);color:#a33d19;border-color:#e6b095;font-weight:700}
.catalog395 .catalog395-results{padding:14px 14px 20px;align-items:stretch;gap:12px}
.catalog395 .catalog395-product{border:1px solid #e5e8ec;box-shadow:0 2px 7px #17374a05;border-radius:14px;overflow:hidden;padding:0!important;gap:0}
.catalog395 .catalog395-product>.cart395-photo{border-radius:0;aspect-ratio:1.25;min-height:0;background:#eef1f4}
.catalog395 .catalog395-product>.cart395-photo img{height:100%!important;max-height:180px;padding:12px;box-sizing:border-box}
.catalog395 .catalog395-product>span{padding:12px;flex:1;width:100%;box-sizing:border-box}
.catalog395 .catalog395-product strong{color:#1c3546;font-size:15px}.catalog395 .catalog395-product small{font-size:12px}
.catalog396-open{color:#a33d19;font-size:12px;font-weight:700;margin-top:auto;padding-top:8px}
#app .vendor-cart395 .cart395-primary,.catalog395 .cart395-primary{background:var(--cart-accent)!important;border-color:var(--cart-accent)!important;border-radius:12px;color:white!important}
.catalog396-footer{position:relative;bottom:auto;z-index:4;display:flex;align-items:center;gap:12px;background:#fff;border-top:1px solid #e0e5eb;padding:12px 16px max(12px,env(safe-area-inset-bottom));box-shadow:0 -4px 16px #19354508}
.catalog396-status{font-size:12px;color:#526b77;line-height:1.5;flex:1;margin:0;min-width:0}.catalog396-footer button{min-height:48px;flex-shrink:0;font-size:14px}
.catalog395 .catalog395-detail{background:white;margin:14px;border-radius:16px;padding:16px;gap:12px}.catalog395 .catalog395-detail>.cart395-photo{min-height:90px;max-height:180px}
.catalog395 .catalog395-detail>button:first-child{justify-self:start;border:0;padding:6px 0;color:#a33d19;background:transparent;min-height:36px}
.catalog395 .catalog395-detail>h3{font-size:21px;margin:2px 0}.catalog395 .catalog395-detail>p{font-size:14px}
.catalog395 .catalog395-detail label{font-weight:600;font-size:14px}.catalog395 .catalog395-detail label input{font-weight:400}
.cart395-quantity{grid-template-columns:40px minmax(70px,1fr) 40px;max-width:220px;align-items:center}.cart395-quantity button{padding:4px!important;min-width:0}.cart395-quantity input{max-width:100%;box-sizing:border-box}
.cart396-original-quantity button{display:none}.cart396-original-quantity{display:block}
@media screen and (max-width:1024px){
#app .vendor-cart395 .cart395>h3{font-size:23px;font-weight:750;letter-spacing:.02em}
#app .vendor-cart395 .cart395-item{border-radius:14px;border:1px solid var(--theme-border,#e3e8ec);box-shadow:0 2px 8px #17374a04;grid-template-columns:84px minmax(0,1fr)}
#app .vendor-cart395 .cart395-empty{background:#faf8f5;border:1px dashed #e3cabc;padding:30px 18px}
#app .vendor-cart395 .cart395-safe{background:#f7f7f8;color:var(--theme-muted,#71808b);margin:12px 0;font-size:12px;padding:12px}
#app .vendor-cart395 .cart396-original-quantity{display:grid;grid-template-columns:36px minmax(45px,1fr) 36px;max-width:100%;gap:3px}
#app .vendor-cart395 .cart396-original-quantity button{display:block;min-height:44px;font-size:20px}
#app .vendor-cart395 .cart396-original-quantity input{padding:7px 2px;text-align:center}
#app .vendor-cart395 .request377-save{box-shadow:0 -4px 14px #203d4d0a;background:var(--theme-card,#fff);border-top:1px solid var(--theme-border,#e4e8ec);border-radius:12px 12px 0 0}
#app .vendor-cart395 .request377-save #vrSave{background:#c45227!important;border-color:#c45227!important}
.catalog395 .catalog395-results{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog395 header{min-height:60px;box-sizing:border-box}.catalog395 .catalog395-filters{top:0}
}
@media print{.cart396-original-quantity{display:block}.cart396-original-quantity button{display:none!important}}

.catalog395[open]{display:flex!important;flex-direction:column}.catalog395>header,.catalog396-footer{flex-shrink:0}.catalog395-browse{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}.catalog395>header{width:100%;box-sizing:border-box}.catalog395 .catalog395-detail[hidden],.catalog395 .catalog395-browse[hidden]{display:none!important}

.catalog395 .cart395-photo>.material-photo-button{display:flex!important;justify-content:center;align-items:center;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;border:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-sizing:border-box}.catalog395 .cart395-photo img.photo-placeholder{display:none!important}.catalog395 .cart395-photo:has(img.photo-placeholder)::after{content:var(--cart-no-photo);font-size:13px;color:#798a96}.catalog395 .cart395-photo{position:relative}.catalog395 .cart395-photo:has(img.photo-placeholder)::after{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}

/* AUCAN mobile release 399: shared phone contract, Android Chrome / iOS Safari. */
@media screen and (max-width:1024px){
 html{--mobile-visible-height:100vh;--mobile-dock-height:64px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 @supports(height:100dvh){html{--mobile-visible-height:100dvh}}
 html body #app .content{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important;padding-bottom:calc(var(--mobile-dock-height) + 40px + env(safe-area-inset-bottom))!important;min-width:0}
 #app :is(.grid,.split,.panel,.toolbar,.actions,.wire-content){min-width:0}
 html body #app :is(input:not([type=checkbox]):not([type=radio]),select,textarea),body dialog :is(input,select,textarea){box-sizing:border-box;font-size:16px!important;max-width:100%;min-width:0;min-height:44px}
 html body :is(button,a,summary){-webkit-tap-highlight-color:transparent}
 html body #app :is(button,.button),html body dialog button{min-height:44px!important;touch-action:manipulation}
 html body #app header{padding-top:max(8px,env(safe-area-inset-top))!important}
 html body #app nav{max-height:calc(var(--mobile-visible-height) - 150px);overflow-y:auto;overscroll-behavior-y:contain}
 html body #app header.mobile-account-open .account-controls{max-height:calc(var(--mobile-visible-height) - 150px);overflow-y:auto}
 #app :is(.tablewrap,.table-wrap):not(#vrLines){max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 html body dialog:not(.catalog395):not(.image-viewer):not(.photo399-viewer){box-sizing:border-box;max-height:calc(var(--mobile-visible-height) - 24px)!important;overflow-y:auto;overscroll-behavior:contain}
 html body .catalog395[open]{width:100%!important;max-width:100%!important;height:var(--mobile-visible-height)!important;max-height:var(--mobile-visible-height)!important;inset:0;margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;box-sizing:border-box}
 .catalog395>header{position:relative!important;top:auto!important;min-height:60px;padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left));padding-top:max(10px,env(safe-area-inset-top));gap:10px}
 .catalog395>header h2{font-size:18px!important;min-width:0}.catalog395>header button{padding:8px 14px;flex-shrink:0}
 .catalog395-browse{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .catalog395 .catalog395-filters{position:sticky;top:0!important;z-index:2;padding:12px 14px 8px;background:white}
 .catalog395 .catalog395-filters select{min-height:44px}
 .catalog396-chips{padding:8px 14px 12px;gap:8px}.catalog396-chips button{min-height:44px!important}
 .catalog395 .catalog395-product{min-height:0!important;align-self:stretch}.catalog395 .catalog395-product>span{box-sizing:border-box;min-width:0;padding:10px;font-size:13px;line-height:1.45}.catalog395 .catalog395-product strong{font-size:14px;line-height:1.5}
 .catalog395 .catalog395-detail{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px 16px 24px}.catalog395 .catalog395-detail>.cart395-photo{flex:none;height:140px;max-height:140px}.catalog395-detail .cart395-photo img{height:140px!important}
 .catalog395 .catalog395-detail>.cart395-primary{position:sticky;bottom:0;min-height:48px!important;width:100%;box-shadow:0 -6px 16px #fff}
 .catalog396-footer{display:flex;align-items:center;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce5eb;background:#fff}.catalog396-status{font-size:12px;line-height:1.5;flex:1;margin:0;min-width:0}.catalog396-footer button{flex-shrink:0;font-size:14px}
 .catalog395 .cart395-error:empty{display:none}.catalog395 .cart395-error{margin:0;flex-shrink:0;padding:8px 14px}
 html body #app .vendor-cart395 .cart395-item{grid-template-columns:64px minmax(0,1fr);padding:12px;gap:12px}.cart395-item .cart395-quantity{width:100%;max-width:240px}
 #app .vendor-cart395[data-cart-stage] .cart395>h3{font-size:19px;margin-top:12px}
 #app .shopping-steps399{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:14px 0}
 #app .shopping-steps399 button{font-size:13px;line-height:1.4;padding:10px 5px;border:1px solid #e4ded9;background:var(--theme-card,#fff);color:var(--theme-muted,#647783);border-radius:10px;min-width:0}
 #app .shopping-steps399 button[aria-current=step]{border-color:#c45227;color:#a44220;background:#fff3eb;font-weight:700}
 #app .vendor-cart395[data-cart-stage=cart]>.request377-details,#app .vendor-cart395[data-cart-stage=cart]>.grid{display:none!important}
 #app .vendor-cart395[data-cart-stage=checkout] .cart395>button,#app .vendor-cart395[data-cart-stage=checkout] .cart395-hint{display:none!important}
 #app .vendor-cart395[data-cart-stage] .request377-save{position:sticky!important;bottom:0!important;padding-bottom:calc(12px + env(safe-area-inset-bottom))!important;flex-wrap:wrap!important;z-index:5}
 #app .vendor-cart395[data-cart-stage] .request377-save #vrSave{max-width:none!important;flex:1 1 160px;font-size:15px!important}
 #app .vendor-cart395[data-cart-stage] .request377-details{grid-template-columns:minmax(0,1fr)!important;padding:14px;gap:14px!important}
 .shopping-back399{display:none}#app .vendor-cart395[data-cart-stage=checkout] .shopping-back399{display:block;flex:1 1 100%;background:white}
 html.mobile-keyboard399 #mobileWork278{display:none!important}
 html.mobile-keyboard399 #app .mobile-request-save278{position:static!important;margin-top:16px!important}
 #guide-host352{z-index:60!important;bottom:0!important;height:auto!important;padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}
 #guide-host352>div{flex-shrink:0;gap:8px;padding:10px 12px!important}#guide-host352>div button{min-height:44px;font-size:14px}
 /* Guide pages run in their own frame; the same stylesheet owns their mobile rules. */
 html.mobile-guide399 body{padding:12px;min-width:0;max-width:100%;font-size:15px;line-height:1.65}
 html.mobile-guide399 :is(main,.manual-shell,.task-directory,.workflow-list363,.task-group,#localizedGuide376){min-width:0;max-width:100%;box-sizing:border-box}
 html.mobile-guide399 :is(.manual-shell,.task-directory,.guide-grid376){display:block!important}
 html.mobile-guide399 :is(.manual-index,.workflow-preview363,.design-switch362,.guide-preview376){display:none!important}
 html.mobile-guide399 .manual-bar{position:relative!important;display:flex;flex-direction:column;gap:8px;padding:0;margin-bottom:12px}
 html.mobile-guide399 :is(.manual-actions,.locale-bar376 nav){display:flex;gap:8px;flex-wrap:wrap}
 html.mobile-guide399 :is(button,a,summary){touch-action:manipulation}
 html.mobile-guide399 :is(button,.manual-actions a,.department-nav a){min-height:44px;box-sizing:border-box}
 html.mobile-guide399 .guide-hero{padding:20px 16px;margin:10px 0 18px;border-radius:14px}html.mobile-guide399 .guide-hero h1{font-size:24px;margin:0 0 10px;line-height:1.4}
 html.mobile-guide399 .guide-search399{margin:14px 0 18px;padding:14px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dce5ea);border-radius:14px}
 .guide-search399 label{display:block;font-weight:650;font-size:15px}.guide-search399 input{display:block;box-sizing:border-box;width:100%;min-height:46px;margin-top:10px;border:1px solid var(--theme-border,#cddce4);border-radius:10px;padding:10px 12px;font:400 16px system-ui;background:var(--theme-bg,#f7f9fa)}.guide-empty399{font-size:14px;color:var(--theme-muted,#657987)}
 html.mobile-guide399 .guide-filtered399{display:none!important}
 html.mobile-guide399 .task-group{margin:16px 0}.task-group:has(.guide-filtered399){min-width:0}
 html.mobile-guide399 .flow-fold364{margin:12px 0;border:1px solid var(--theme-border,#dce5eb);border-radius:14px;overflow:hidden;background:var(--theme-card,#fff)}
 html.mobile-guide399 .flow-fold364>summary{padding:16px;min-height:64px;font-size:17px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
 html.mobile-guide399 .flow-fold364>summary small{font-size:13px;line-height:1.6;margin-top:6px}
 html.mobile-guide399 .flow-board{padding:12px!important;margin:0!important;border:0!important;box-shadow:none!important;min-width:0}
 html.mobile-guide399 .flow-chain355{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html.mobile-guide399 .flow-step{width:100%!important;max-width:none!important;min-width:0!important;min-height:68px!important;box-sizing:border-box;padding:14px!important;text-align:left;white-space:normal}
 html.mobile-guide399 .quick-flow364{display:none!important}
 html.mobile-guide399 .quick-flow364>*{flex-shrink:0}.quick-flow364>strong{align-self:center}
 html.mobile-guide399 .image-viewer{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:0!important;overflow:hidden}
 html.mobile-guide399 .image-viewer header{flex-wrap:wrap;padding:10px!important;gap:8px;align-items:center}
 html.mobile-guide399 .image-viewer header>strong{flex:1 1 100%;font-size:16px;overflow-wrap:anywhere}
 html.mobile-guide399 .viewer-actions{width:100%;display:flex;gap:6px;flex-wrap:wrap;min-width:0}
 html.mobile-guide399 .image-controls366{max-width:100%;align-items:center;gap:4px;flex-wrap:wrap}
 html.mobile-guide399 .image-viewer:not(.image-full366) .image-controls366{display:none}
 html.mobile-guide399 .image-controls366 input{max-width:90px;min-width:50px}.image-controls366 output{font-size:12px}
 html.mobile-guide399 .image-viewer .viewer-layout{min-width:0;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(120px,1fr) minmax(120px,1fr)!important;gap:10px!important;padding:10px!important}
 html.mobile-guide399 .image-viewer .viewer-notes{overflow:auto;overscroll-behavior:contain;line-height:1.7;font-size:15px}
 html.mobile-guide399 .image-viewer .image-scroll{min-width:0;overscroll-behavior:contain}
 html.mobile-guide399 .image-full366 .viewer-layout{display:block!important;grid-template-rows:none!important}
 html.mobile-guide399 .image-full366 .viewer-notes{display:none!important}
 #app .vendor-cart395 .cart395-item>.cart395-photo .cart395-no-photo{padding:6px;white-space:nowrap;font-size:12px}
 html.mobile-guide399 .locale-bar376{padding-bottom:12px}.locale-bar376 strong{font-size:20px}
 html.mobile-guide399 #localizedGuide376{padding:0}.guide-track376 summary{overflow-wrap:anywhere}
}
@media screen and (min-width:1025px){.guide-search399{display:none!important}}
@media print{.shopping-steps399,.shopping-back399,.guide-search399{display:none!important}.guide-filtered399{display:revert!important}}

/* Release 405: keep quantity fields in normal flow, one compact phone toolbar. */
@media screen and (max-width:1024px){
 html body #app .catalog395>header{min-height:52px!important;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left))!important;padding-top:max(4px,env(safe-area-inset-top))!important;gap:8px;flex-wrap:nowrap!important}
 html body .catalog395>header h2{font-size:17px!important;margin:0;line-height:1.3}
 html body .catalog395 .catalog395-detail{display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0;gap:12px;margin:8px 10px;padding:12px 14px 20px;scroll-padding:12px;overflow-y:auto;overflow-x:hidden;align-items:stretch}
 html body .catalog395 .catalog395-detail>*{flex-shrink:0;min-width:0}
 html body .catalog395 .catalog395-detail>.cart395-photo{height:92px;min-height:92px;max-height:92px}
 html body .catalog395 .catalog395-detail .cart395-photo img{height:92px!important}
 html body .catalog395 .catalog395-detail>h3{font-size:18px;margin:0;overflow-wrap:anywhere}
 html body .catalog395 .catalog395-detail>p{font-size:14px;margin:0;line-height:1.5}
 html body .catalog395 .catalog395-detail label{display:flex;flex-direction:column;gap:6px;line-height:1.5;min-width:0}
 html body .catalog395 .catalog395-detail>.cart395-primary{position:static!important;box-shadow:none;min-height:48px!important;margin:4px 0 0}
 html body .catalog395 .cart395-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;width:100%;max-width:280px;gap:6px}
 html body .catalog395 .cart395-quantity>button{width:44px!important;padding:0!important}
 html body .catalog395 .cart395-quantity>input{width:100%;min-width:0;height:46px}
 html body .catalog395 .catalog396-footer{position:static!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}
 html body .catalog395:has(.catalog395-detail:not(dialog):not([hidden])) .catalog396-footer{display:none}
 html body .catalog395 .catalog395-filters{position:sticky!important;top:0!important;padding:10px 12px;grid-template-columns:minmax(0,1fr);gap:8px}
 html body .catalog395 .catalog396-chips{padding:0 12px 10px}
 html body #app>header{position:relative!important;min-height:52px!important;padding:4px 12px!important;padding-top:max(4px,env(safe-area-inset-top))!important;gap:8px!important;box-sizing:border-box;flex-wrap:nowrap!important}
 html body #app>header .brand img{height:28px!important;width:80px!important}
 html body #app>header :is(#mobileMenu277,#mobileAccount277){height:44px!important;width:44px!important;min-width:44px;padding:0!important}
 html body #app .vr-editor-header{position:static!important;min-height:0;margin-bottom:8px;gap:8px}
 html body #app .shopping-steps399{margin:8px 0;gap:4px}
 html body #app .shopping-steps399 button{padding:6px 3px;font-size:12px;border-radius:7px}
}
@media screen and (max-width:1024px) and (max-height:500px){
 html body .catalog395 .catalog395-detail>.cart395-photo{display:none}
 html body .catalog395 .catalog395-detail{gap:10px}
}

.catalog396-category-bar{display:flex;align-items:center;gap:4px;background:#fff;padding:0 8px}.catalog396-category-bar .catalog396-chips{flex:1;min-width:0;padding-left:0;padding-right:0}.catalog396-category-bar .catalog396-category-arrow{flex:0 0 40px;min-height:44px;padding:0;border:0;background:transparent;color:#214c60;font-size:18px;box-shadow:none}

.catalog396-category-bar .catalog396-chips{scrollbar-width:none}.catalog396-category-bar .catalog396-chips::-webkit-scrollbar{display:none}

.catalog395-browse{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.catalog395 .catalog395-filters{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.catalog396-category-bar{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.catalog396-category-bar .catalog396-chips{flex:1 1 0;min-width:0}.catalog396-view-controls{display:flex;gap:6px;flex-wrap:wrap}.catalog396-view-controls button{min-height:36px!important;padding:5px 9px;font-size:12px}.catalog396-view-controls button[aria-pressed=true]{border-color:#b94e27;background:#fff3eb;color:#a44020}.catalog395[data-catalog-view=list] .catalog395-results{grid-template-columns:1fr}.catalog395[data-catalog-view=list] .catalog395-product{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center}.catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo{aspect-ratio:auto;width:64px;height:64px}.catalog395[data-catalog-view=cards][data-catalog-size=small] .catalog395-product>.cart395-photo{max-height:76px}.catalog395[data-catalog-view=cards][data-catalog-size=small] .catalog395-product>span{padding:8px;font-size:12px}.catalog395[data-catalog-view=cards][data-catalog-size=small] .catalog395-product strong{font-size:13px}
@media screen and (min-width:1025px){html[data-compact442] .catalog395:has(.catalog395-browse:not([hidden])){width:min(1400px,96vw);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}html[data-compact442] .catalog395[data-catalog-view=cards][data-catalog-size=small]:has(.catalog395-browse:not([hidden])){width:min(1000px,94vw)}.catalog395[data-catalog-view=cards] .catalog395-results{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.catalog395[data-catalog-view=cards][data-catalog-size=small][data-catalog-view=cards] .catalog395-results{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}

@media (pointer:coarse){.catalog396-view-controls button{min-height:44px!important}}

/* One large picker footprint; list rows keep specification and quantity alongside identity. */
.catalog395-product .catalog396-identity,.catalog395-product .catalog396-spec{display:flex;flex-direction:column;gap:5px;min-width:0}.catalog395-product .catalog396-stock{display:none}.catalog395-product .catalog396-open{border:0;background:transparent;box-shadow:none;padding:0;min-height:36px;text-align:left;color:#a44020}.catalog396-quick{display:none}
.catalog395[data-catalog-view=list] .catalog396-stock{display:block}.catalog395[data-catalog-view=list] .catalog396-quick{display:flex;align-items:end;gap:8px;padding:12px}.catalog396-quick label{display:grid;gap:5px;font-size:12px;min-width:0}.catalog396-quick input{width:88px;min-width:0}.catalog396-quick .cart395-primary{font-size:12px;padding:10px!important;white-space:normal}
@media screen and (min-width:761px){
 html body .catalog395[data-catalog-view=list] .catalog395-product{grid-template-columns:64px minmax(0,1fr) 210px;gap:8px}
 html body .catalog395[data-catalog-view=list] .catalog395-product>span{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(70px,.7fr);align-items:center;gap:14px;padding:12px}
 .catalog395[data-catalog-view=list] .catalog396-open{display:none}
}
@media screen and (max-width:760px){.catalog395[data-catalog-view=list] .catalog396-quick{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #e5e8ec}.catalog395[data-catalog-view=list] .catalog395-product>span{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog395[data-catalog-view=list] .catalog396-identity{grid-column:1/-1}.catalog395[data-catalog-view=list] .catalog396-open{display:none}}
@media screen and (min-width:1025px){
 html[data-compact442] .catalog395,html[data-compact442] .catalog395[data-catalog-view=cards][data-catalog-size=small]:has(.catalog395-browse:not([hidden])){width:min(1600px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
 html[data-compact442] .catalog395:has(.catalog395-browse:not([hidden])){width:min(1600px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
 html body .catalog395 .catalog395-detail{flex:1;min-height:0;overflow:auto;grid-template-columns:minmax(200px,1fr) minmax(250px,1fr);align-content:start;gap:16px 28px}
 html body .catalog395 .catalog395-detail>button:first-child{grid-column:1/-1}
 html body .catalog395 .catalog395-detail>.cart395-photo{grid-column:1;grid-row:2/7;height:360px;max-height:none}
 html body .catalog395 .catalog395-detail>.cart395-photo img{height:100%!important;max-height:420px;object-fit:contain}
 html body .catalog395 .catalog395-detail>:not(button:first-child):not(.cart395-photo){grid-column:2}
}

@media screen and (min-width:1025px){html[data-compact442] .catalog395{zoom:1.176470588235294}}

/* Compact list density, preserving full descriptions and touch targets. */
.catalog395[data-catalog-view=list] .catalog395-results{gap:6px}
html body .catalog395[data-catalog-view=list] .catalog395-product{gap:6px;border-radius:9px}
html body .catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo{width:44px;height:44px;min-height:0}
html body .catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo img{padding:3px}
html body .catalog395[data-catalog-view=list] .catalog396-identity,html body .catalog395[data-catalog-view=list] .catalog396-spec{gap:2px}
html body .catalog395[data-catalog-view=list] .catalog396-quick{padding:6px 8px;gap:6px;align-items:center}
html body .catalog395[data-catalog-view=list] .catalog396-quick label{display:flex;align-items:center;gap:6px;font-size:12px}
html body .catalog395[data-catalog-view=list] .catalog396-quick input{width:76px;min-height:44px;height:44px;padding:6px;font-size:16px}
html body .catalog395[data-catalog-view=list] .catalog396-quick button{min-height:44px;padding:6px 9px!important;line-height:1.25}
@media screen and (min-width:761px){
 html body .catalog395[data-catalog-view=list] .catalog395-product{grid-template-columns:44px minmax(0,1fr) 250px}
 html body .catalog395[data-catalog-view=list] .catalog395-product>span{padding:6px 8px;gap:10px}
}
@media screen and (max-width:760px){
 html body .catalog395[data-catalog-view=list] .catalog395-product{grid-template-columns:44px minmax(0,1fr);align-items:start}
 html body .catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo{margin:8px 0 0 6px}
 html body .catalog395[data-catalog-view=list] .catalog395-product>span{padding:7px 8px 0;gap:4px 8px;line-height:1.35}
 html body .catalog395[data-catalog-view=list] .catalog396-spec{flex-direction:row;flex-wrap:wrap;gap:2px 6px}
 html body .catalog395[data-catalog-view=list] .catalog396-quick{grid-column:2;border:0;padding:0 8px 7px;justify-content:flex-end}
 html body .catalog395[data-catalog-view=list] .catalog396-quick label{font-size:0;gap:0}
 html body .catalog395[data-catalog-view=list] .catalog396-quick button{max-width:120px}
}

/* Size control belongs to image cards only; list density is independent. */
.catalog396-view-controls button[hidden]{display:none!important}
@media screen and (min-width:1025px){html body .catalog395[data-catalog-view=list] .catalog395-product{min-height:56px;height:auto;padding:2px 6px}html body .catalog395[data-catalog-view=list] .catalog396-quick input{height:32px;min-height:32px}html body .catalog395[data-catalog-view=list] .catalog396-quick button{min-height:32px;white-space:nowrap}html body .catalog395[data-catalog-view=list] .catalog395-product>span{font-size:13px;padding:4px 8px}html body .catalog395[data-catalog-view=list] .catalog395-product strong{font-size:13px}}

/* /assets/interface404.a2a219e6e2d616a5.css */
.password-wrap404{position:relative;display:block;width:100%;min-width:0}.password-wrap404>input{box-sizing:border-box;width:100%;padding-right:56px!important}.password-wrap404>.password-eye404{position:absolute!important;inset:auto 3px auto auto;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#36596b!important;border-radius:8px;box-shadow:none!important;cursor:pointer;touch-action:manipulation}.password-eye404:focus-visible{outline:2px solid var(--theme-brand,#147d89)!important;outline-offset:-3px}.password-eye404 svg{pointer-events:none}
/* Inventory screen only. Printing, drawings and other workspaces keep their own scale. */
@media screen and (min-width:1025px){
 body.inventory-screen404 #app>header .brand{gap:14px}
 body.inventory-screen404 #app>header .brand>div>small{font-size:15px;line-height:1.5}
 body.inventory-screen404 #app>.content{max-width:none;padding:20px 26px;min-width:0}
 body.inventory-screen404 #app>.content>.topline{margin:0 0 12px;padding:0 0 12px;align-items:center;gap:12px}
 body.inventory-screen404 #app>.content>.topline h1{font-size:26px!important}
 body.inventory-screen404 #app .stock-view{min-width:0}
 body.inventory-screen404 #app .stock-view>.panel:has(.stock-shortages282){padding:0 16px!important;margin-bottom:12px}
 body.inventory-screen404 #app .stock-shortages282>summary{padding:12px 0;font-size:14px}
 body.inventory-screen404 #app .stock-view>.cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:12px 0}
 body.inventory-screen404 #app .stock-click-card .stock-card-filter{min-height:76px;padding:10px 14px;padding-right:48px;font-size:14px;line-height:1.4}
 body.inventory-screen404 #app .stock-click-card .stock-card-filter strong{font-size:25px;margin-top:4px}
 body.inventory-screen404 #app .stock-view>.toolbar{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px!important;padding:16px!important;margin-bottom:16px!important;align-items:center!important;box-shadow:none}
 body.inventory-screen404 #app .stock-view>.toolbar :is(input,select,button){min-height:40px;font-size:14px;line-height:1.4}
 body.inventory-screen404 #app .stock-view>.toolbar>input#search{grid-column:span 4;width:100%;min-width:0;max-width:none}
 body.inventory-screen404 #app .stock-view>.toolbar>:is(.unified-choice,.quantity-picker){grid-column:span 3;width:100%;max-width:none;min-width:0}
 body.inventory-screen404 #app .stock-view>.toolbar>.unified-choice:has(#category){grid-column:span 2}
 body.inventory-screen404 #app .stock-view>.toolbar>.quantity-picker>input{width:100%;min-width:0;max-width:none}
 body.inventory-screen404 #app .stock-view>.toolbar>.inventory-date-range{grid-column:1/span 8;display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
 body.inventory-screen404 #app .stock-view>.toolbar .inventory-date{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}
 body.inventory-screen404 #app .stock-view>.toolbar input[type=date]{width:150px;padding:8px 10px}
 body.inventory-screen404 #app .stock-view>.toolbar .width-reset286{margin-inline-start:0}
 body.inventory-screen404 #app .stock-view>.toolbar>#exportInventoryNow{grid-column:9/span 2;width:100%}
 body.inventory-screen404 #app .stock-view>.toolbar>.m377-toggle[data-kind=actions]{grid-column:11/span 2;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:40px!important;margin:0;width:100%;font-size:14px}
 body.inventory-screen404 #app .stock-view>.toolbar>.m377-secondary-action{grid-column:span 3}
 body.inventory-screen404 #app .stock-view>.toolbar:not(.m377-actions-open)>.m377-secondary-action{display:none!important}
 body.inventory-screen404 #app .stock-view>.toolbar>.width-reset286>button{width:100%}
 body.inventory-screen404 #app .stock-view>.tablewrap{height:var(--inventory-table-height,360px);max-height:none;min-height:260px;overflow:auto;overscroll-behavior:contain;border-radius:10px;scroll-padding-top:48px}
 body.inventory-screen404 #app .stock-view>.tablewrap table{min-width:1500px;width:100%;border-collapse:separate;border-spacing:0}
 body.inventory-screen404 #app .stock-view>.tablewrap th{font-size:13px;line-height:1.5;padding:13px 12px;position:sticky;top:0;z-index:3;border-bottom:1px solid var(--theme-border,#bdcfd9)}
 body.inventory-screen404 #app .stock-view>.tablewrap td{font-size:14px;line-height:1.55;padding:9px 12px;min-height:44px;font-weight:400}
 body.inventory-screen404 #app .stock-view>.tablewrap td.num{font-variant-numeric:tabular-nums;font-weight:600}
 body.inventory-screen404 #app .stock-view>.tablewrap :is(th,td):first-child{position:sticky;left:0;z-index:2;background:var(--theme-card,#fff);box-shadow:3px 0 5px #1733480c}
 body.inventory-screen404 #app .stock-view>.tablewrap th:first-child{z-index:5;background:var(--theme-soft,#edf3f7)}
 body.inventory-screen404 #app .stock-view>.tablewrap tbody tr:nth-child(even)>td:first-child{background:var(--theme-bg,#f8fbfc)}
 body.inventory-screen404 #app .stock-view>.tablewrap tbody tr:hover>td{background:var(--theme-bg,#eef7f8)}
 body.inventory-screen404 #app .stock-view>.tablewrap tbody tr:hover>td.bad{background:#fff0e7}
 body.inventory-screen404 #app .stock-view>.tablewrap :is(th,td):nth-last-child(2){right:112px;min-width:120px;background:var(--theme-soft,#edf7f5);box-shadow:-3px 0 5px #1733480c}
 body.inventory-screen404 #app .stock-view>.tablewrap :is(th,td):last-child{right:0;min-width:112px;background:var(--theme-soft,#edf7f5)}
 body.inventory-screen404 #app .stock-view>.tablewrap th:nth-last-child(-n+2){z-index:5}
 body.inventory-screen404 #app .stock-view>.tablewrap td.bad{background:#fff0e7}
 body.inventory-screen404 #app .stock-view>.tablewrap td.material-id-cell{font-weight:600}
 body.inventory-screen404 #app .stock-view>.tablewrap .material-id-content{gap:10px}
 body.inventory-screen404 #app .stock-view>.tablewrap .material-id-content img{width:44px;height:32px;object-fit:contain}
 body.inventory-screen404 #app nav{scrollbar-width:thin}
}
@media screen and (min-width:1025px) and (max-width:1399px){body.inventory-screen404 #app .stock-view>.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.password-eye404{display:none!important}}

/* shared-experience407.css */
/* One shared surface for both account types. Permissions are supplied by the original adapters. */
html body .shared-home407 .hero{border-radius:16px;overflow:hidden}
html body .shared-home407 .intro{height:128px;min-height:0;padding:24px}
html body .shared-home407 .cards{min-height:clamp(360px,calc(100dvh - 310px),800px)!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));border-radius:16px}
html body .shared-home407 .cards .card{min-height:220px;touch-action:manipulation}
.home407-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.home407-shortcuts button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border:1px solid var(--theme-border,#dce4e7);border-radius:14px;background:var(--theme-card,#fff);color:var(--theme-ink,#244555);text-align:left;font-size:16px;min-height:76px}.home407-shortcuts b{color:#b64923;font-size:23px}
html body .vendor-cart395{--cart-accent:#b94e27;background:var(--theme-bg,#f7f8fa);border:1px solid var(--theme-border,#e0e6ea);border-radius:18px;padding:22px;min-width:0}
html body :is(#app,#modal) .vendor-cart395 .cart395{display:block}
html body :is(#app,#modal) .vendor-cart395>:is(.vr-inline-entry,#vrLines,.request377-steps,.request377-intro,.request377-empty){display:none!important}
html body :is(#app,#modal) .vendor-cart395>h3,html body :is(#app,#modal) .vendor-cart395>p.muted{display:none!important}
html body :is(#app,#modal) .vendor-cart395 .cart395-items{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
html body :is(#app,#modal) .vendor-cart395 .cart395-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;padding:16px;border:1px solid var(--theme-border,#e2e6e9);background:var(--theme-card,#fff);border-radius:14px;min-width:0;align-items:start}
html body .cart395-item>.cart395-photo{height:76px;min-height:76px;border-radius:10px;overflow:hidden}.cart395-item>.cart395-photo img{height:76px!important;object-fit:contain!important}
.cart395-item>div{min-width:0}.cart395-item strong,.cart395-item p{overflow-wrap:anywhere}.cart395-item p{margin:6px 0;line-height:1.5}.cart395-item small{display:block;color:var(--theme-muted,#657987);font-size:13px;line-height:1.5}
.cart395-item .cart395-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;max-width:250px;margin:10px 0;gap:6px}.cart395-item .cart395-quantity input{width:100%;min-width:0}.cart395-item .cart395-quantity button{padding:0!important;min-height:44px}
.cart407-note{display:grid;gap:6px;font-size:13px;margin:12px 0}.cart407-note input{width:100%;min-width:0;box-sizing:border-box;min-height:44px}
.cart407-processing{margin-top:12px;border-top:1px solid var(--theme-border,#e1e8eb);padding-top:10px;font-size:13px}.cart407-processing summary{cursor:pointer;font-weight:650;padding:6px 0}.cart407-processing label{display:grid;gap:6px;margin:10px 0}.cart407-processing input,.cart407-processing select{box-sizing:border-box;width:100%;min-width:0;min-height:44px}
html body #app .shopping-steps399{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.shopping-steps399 button{min-height:44px;border:1px solid var(--theme-border,#dce4e8);border-radius:10px;background:var(--theme-card,#fff);color:var(--theme-muted,#607786);padding:9px}.shopping-steps399 button[aria-current=step]{border-color:#b94e27;background:#fff3ec;color:#a44020;font-weight:700}
html body :is(#app,#modal) .vendor-cart395[data-cart-stage=cart]>.request377-details,html body :is(#app,#modal) .vendor-cart395[data-cart-stage=cart]>.grid,html body :is(#app,#modal) .vendor-cart395[data-cart-stage=cart]>.actions:not(.request377-save){display:none!important}
html body :is(#app,#modal) .vendor-cart395[data-cart-stage=checkout] .cart395>button{display:none!important}
html body :is(#app,#modal) .vendor-cart395 .request377-save{position:static!important;margin:20px 0 0!important;padding:16px 0 0!important;display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--theme-border,#dbe4e9);background:transparent;box-shadow:none}
.vendor-cart395 .cart395>button{width:100%;margin:10px 0 16px}.vendor-cart395 .cart395-safe{font-size:13px;color:var(--theme-muted,#617987);line-height:1.6}.vendor-cart395 .cart395-empty{border:1px dashed var(--theme-border,#d3dadf);background:var(--theme-card,#fff);text-align:center;padding:28px 16px;border-radius:12px;color:var(--theme-muted,#6a7f8a)}
.shopping-back399{display:none}.vendor-cart395[data-cart-stage=checkout] .shopping-back399{display:block}
html body dialog.material-photo-dialog.photo407[open]{display:flex;flex-direction:column;width:min(1120px,94vw);height:min(880px,92dvh);max-width:94vw;max-height:92dvh;padding:0!important;border:0;border-radius:18px;background:#101923;color:#f6f8fa;overflow:hidden;box-sizing:border-box}
.photo407::backdrop{background:#061019dd;backdrop-filter:blur(4px)}
html body .photo407>.photo407-header{position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;padding:8px 16px;border-bottom:1px solid #ffffff20;flex-shrink:0;background:#17232f;color:inherit;min-height:56px;box-sizing:border-box}
.photo407-header h2{font-size:16px;line-height:1.4;margin:0;overflow-wrap:anywhere;min-width:0;max-height:3em;overflow:auto}.photo407 .photo-close{min-width:44px;width:44px;min-height:44px;height:44px;border:0;border-radius:50%;background:#ffffff15;color:white;font-size:28px;line-height:1;padding:0;flex-shrink:0}
html body .photo407 .photo-stage{display:block;position:relative;flex:1 1 0;min-height:100px;overflow:hidden;margin:0}
html body .photo407 .photo-main{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto;background:#101923;border-radius:0;box-sizing:border-box;touch-action:pan-x pan-y pinch-zoom}
html body .photo407 .photo-main img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;flex-shrink:0}
html body .photo407 .photo-main.photo407-zoomed{align-items:flex-start;justify-content:flex-start}.photo407 .photo-main.photo407-zoomed img{transform-origin:top left!important;margin:0}
html body .photo407 .photo-stage>button{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#142332c9;color:white;font-size:22px;box-shadow:none}.photo407 .photo-prev{left:12px}.photo407 .photo-next{right:12px}.photo407 .photo-stage>button:disabled{opacity:.25}
.photo407-toolbar{display:flex;align-items:center;justify-content:center;gap:10px;padding:4px 12px;flex-shrink:0;border-top:1px solid #ffffff18}.photo407-toolbar button{border:1px solid #ffffff30;background:#ffffff0e;color:#fff;border-radius:9px;min-width:44px;min-height:40px;padding:5px 10px}.photo407-toolbar span{font-size:13px;min-width:48px;text-align:center}
html body .photo407 .photo-position{font-size:12px;line-height:1.5;margin:4px 16px;color:#cad6e0;overflow-wrap:anywhere;max-height:3em;overflow:auto;flex-shrink:0}
html body .photo407 .photo-thumbnails{display:flex;gap:8px;overflow-x:auto;margin:8px 16px;min-height:0;max-height:64px;flex-shrink:0}.photo407 .photo-thumb{flex:0 0 64px;height:60px;padding:2px;background:#263540;border:1px solid #ffffff30;border-radius:8px;min-height:0!important;box-sizing:border-box}.photo407 .photo-thumb img{width:100%;height:100%;object-fit:contain}.photo407 .photo-thumb[aria-current=true]{outline:2px solid #ffa775;outline-offset:-2px}.photo407 .photo-message{font-size:13px;max-height:3em;overflow:auto;margin:4px 16px;color:#ffd6b6;flex-shrink:0}.photo407 .photo-message:empty{display:none}
.photo407-tools{background:white;color:#214657;max-height:38%;overflow:auto;padding:10px 16px;flex-shrink:0;border-top:1px solid #dbe4e9}.photo407-tools summary{cursor:pointer;font-size:14px;font-weight:650;min-height:30px;line-height:30px}.photo407-tools .photo-edit-actions{margin:8px 0}.photo407-tools button{min-height:44px}.photo407>.photo-more{align-self:center;background:transparent;color:#dae7f0;border:1px solid #ffffff30;border-radius:8px;padding:6px 14px;margin-bottom:8px;min-height:36px!important}
@media screen and (max-width:1024px){
 html body .shared-home407 .intro{height:100px;padding:18px}.home407-shortcuts{gap:8px;margin:12px 0}.home407-shortcuts button{padding:14px 12px;font-size:15px;min-height:64px}
 html body .shared-home407 .cards{grid-template-columns:1fr;min-height:0!important}.shared-home407 .cards .card{min-height:150px!important;border-bottom:1px solid #ffffff40!important}.shared-home407 .cards .card:last-child{border-bottom:0!important}
 html body :is(#app,#modal) .vendor-cart395{padding:14px;border-radius:14px;padding-bottom:16px!important}.vendor-cart395 .vr-editor-header h2{font-size:19px!important;line-height:1.4;margin:0}.vendor-cart395 .vr-editor-header{gap:10px}.vendor-cart395 .vr-editor-header button{flex-shrink:0}
 html body :is(#app,#modal) .vendor-cart395 .cart395-items{grid-template-columns:minmax(0,1fr)}html body :is(#app,#modal) .vendor-cart395 .cart395-item{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}.cart395-item>.cart395-photo{height:64px!important;min-height:64px!important}.cart395-item>.cart395-photo img{height:64px!important}
 html body :is(#app,#modal) .vendor-cart395 .cart395>h3{font-size:19px;margin:16px 0 8px}.cart395-hint{font-size:13px;line-height:1.5;color:var(--theme-muted,#617a87)}.cart407-note{font-size:13px}.cart407-note input{font-size:16px!important}
 html body :is(#app,#modal) .vendor-cart395[data-cart-stage] .request377-save{position:static!important;bottom:auto!important;z-index:auto;padding:14px 0 0!important}.request377-save #vrSave{flex:1 1 100%;width:100%;min-height:48px}
 html body :is(#app,#modal) .vendor-cart395.cart395-original-rows>#vrLines{display:none!important}.vendor-cart395 .request377-details{grid-template-columns:minmax(0,1fr)!important;padding:14px!important;margin:12px 0}
 html body .vr-home>.table-wrap,html body .vr-home>.table-wrap table,html body .vr-home>.table-wrap tbody{display:block;width:100%;min-width:0;border:0;overflow:visible;background:transparent}.vr-home>.table-wrap thead{display:none}.vr-home>.table-wrap tbody tr{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:14px;margin:10px 0;border:1px solid var(--theme-border,#dce4e8);border-radius:14px;background:var(--theme-card,#fff)}.vr-home>.table-wrap td{display:block;min-width:0;border:0;padding:0;overflow-wrap:anywhere}.vr-home>.table-wrap td:first-child{grid-row:1/5;grid-column:1}.vr-home>.table-wrap td:nth-child(2){grid-column:2/4;font-weight:750;font-size:16px}.vr-home>.table-wrap td:nth-child(3),.vr-home>.table-wrap td:nth-child(4){grid-column:2/4;color:var(--theme-muted,#5a7280);font-size:14px}.vr-home>.table-wrap td:nth-child(5){grid-column:2}.vr-home>.table-wrap td:nth-child(6){grid-column:3;color:#a54a24;font-size:13px}.vr-home>.table-wrap td:last-child{grid-column:2/4;display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.vr-home>.table-wrap td[colspan]{grid-column:1/-1;grid-row:auto;text-align:center;padding:24px 0}
 html body dialog.material-photo-dialog.photo407[open]{position:fixed;inset:0;width:100%!important;max-width:100%!important;height:var(--mobile-visible-height,100dvh)!important;max-height:var(--mobile-visible-height,100dvh)!important;margin:0!important;border-radius:0!important;overflow:hidden!important;padding:0!important}
 html body .photo407>.photo407-header{padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));padding-top:max(6px,env(safe-area-inset-top));min-height:56px}.photo407-header h2{font-size:15px}.photo407-toolbar button{min-height:44px}.photo407 .photo-thumbnails{margin-bottom:calc(8px + env(safe-area-inset-bottom))!important;max-height:60px!important}.photo407-tools{max-height:42%;padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
@media print{.home407-shortcuts,.photo407,.cart395,.shopping-steps399{display:none!important}html body :is(#app,#modal) .vendor-cart395>#vrLines{display:block!important}}

.request-readonly407>#vrLines{display:none!important}.request-summary407 .cart395-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.request-summary407 .cart395-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#dce5ea);border-radius:14px;padding:14px;min-width:0}.request-summary407 h3{margin:16px 0 8px;font-size:19px}.request407-print{margin:20px 0;border:1px solid #dce5ea;border-radius:12px;background:white;padding:14px}.request407-print>summary{cursor:pointer;font-weight:650}.vr-home>.table-wrap td:nth-child(5):before{content:'品項 · '}.vr-home .request-summary407 td:before{content:none}html:lang(en) .vr-home>.table-wrap td:nth-child(5):before{content:'Items · '}html:lang(es) .vr-home>.table-wrap td:nth-child(5):before{content:'Artículos · '}@media print{.request-summary407{display:none!important}.request-readonly407>#vrLines{display:block!important}}

html body #app>header .brand{min-width:80px;align-items:center}html body #app>header .brand-home291{display:inline-flex!important;align-items:center;justify-content:center;min-width:80px;width:80px;height:44px;padding:0!important;border:0;background:transparent;flex:none;box-shadow:none}html body #app>header .brand-home291 img{display:block!important;visibility:visible!important;opacity:1!important;width:80px!important;height:28px!important;max-width:80px!important;object-fit:contain}.request-summary407{display:block!important}
@media print{html body dialog.material-photo-dialog.photo407[open],html body .request-summary407{display:none!important}}

@media screen and (min-width:1025px) and (hover:hover) and (pointer:fine){.shared-home407 .home407-shortcuts{display:none}}

.movement-original-entry{display:none!important}.movement-cart .cart395{display:block}.movement-cart [data-movement-kind]{width:auto;min-width:160px;margin:8px 0}.movement-cart #vrSave{min-height:44px}

/* Keep the safety statement legible and use gold only for the small accent. */
@media screen {
  html body #app > header .core-value294 {
    text-shadow: none;
  }

  html body #app > header .core-value294 > span {
    position: relative;
  }

  html body #app > header .core-value294 > span::after { content: none; display: none; }
}

/* A single shared logo size across home and every application page. */
@media screen{html body #app>header .brand-home291{width:140px;min-width:140px;height:52px}html body #app>header .brand-home291 img{width:140px!important;max-width:140px!important;height:52px!important}}
@media screen and (max-width:1024px){html body #app>header .brand-home291{width:120px;min-width:120px;height:44px}html body #app>header .brand-home291 img{width:120px!important;max-width:120px!important;height:44px!important}}

/* Show the existing request table during approval. */
.vendor-cart395 > .approval-list-toolbar { display: none; }
.vendor-cart395[data-cart-stage="checkout"] > .approval-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 12px;
}
.approval-list-toolbar button { min-height: 44px; }
@media screen {
  html body #app .vendor-cart395[data-cart-stage="checkout"].approval-list-active > .cart395 { display: none !important; }
  html body #app .vendor-cart395[data-cart-stage="checkout"].approval-list-active > #vrLines { display: block !important; overflow-x: auto; }
}
#vrLines .approval-select-cell { min-width: 62px; text-align: center; }
#vrLines .approval-select-cell input { width: 18px; height: 18px; }
#vrLines input[data-issue] { min-height: 44px; font-size: 16px; }

.approval-editor .cart395-item { position: relative; }
.approval-editor .approval-card-pick {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--theme-card,#fff);
}
.approval-editor .approval-card-pick input { width: 18px; height: 18px; }
.approval-editor .approval-card-quantity { display: grid; gap: 4px; margin-block: 8px; }
.approval-editor .approval-card-quantity input { width: min(100%, 104px); min-height: 44px; font-size: 16px; }
.approval-editor[data-cart-stage="cart"] :is(.approval-card-pick, .approval-card-quantity) { display: none; }

@media screen and (max-width: 1024px) {
  html body #app .approval-editor.approval-list-active > #vrLines {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  #app .approval-editor #vrLines table { display: table; min-width: 830px; border-collapse: collapse; }
  #app .approval-editor #vrLines thead { display: table-header-group; }
  #app .approval-editor #vrLines tbody { display: table-row-group; }
  #app .approval-editor #vrLines tr { display: table-row; }
  #app .approval-editor #vrLines th,
  #app .approval-editor #vrLines td {
    display: table-cell;
    padding: 8px;
    border-bottom: 1px solid var(--theme-border,#dce5ea);
    vertical-align: middle;
  }
  #app .approval-editor #vrLines td::before { display: none; }
  #app .approval-editor #vrLines .approval-select-cell input {
    width: 18px !important;
    height: 18px;
    min-height: 18px;
  }
  #app .approval-editor #vrLines input[data-issue] { width: 88px !important; }
}
#app .approval-editor .approval-card-pick input {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  accent-color: var(--theme-brand,#16747a);
}
#app .approval-editor .approval-card-pick { border: 1px solid var(--theme-border,#dce5ea); }
#app .approval-editor .approval-card-quantity input { font-family: inherit; }

#app .approval-editor[data-cart-stage="checkout"] .approval-card-pick {
  z-index: 2;
  inset-block-start: 8px;
  inset-inline-start: 8px;
}
#app .approval-editor[data-cart-stage="checkout"] .cart395-item > .cart395-photo { margin-block-start: 42px; }

/* On review cards, use separate grid cells for the checkbox and thumbnail. */
#app .approval-editor[data-cart-stage="checkout"] .cart395-item {
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 36px auto;
  align-items: start;
  gap: 4px 12px;
}
#app .approval-editor[data-cart-stage="checkout"] .approval-card-pick {
  position: static;
  grid-area: 1 / 1;
  width: 40px;
  height: 36px;
  border: 0;
  background: transparent;
}
#app .approval-editor[data-cart-stage="checkout"] .cart395-item > .cart395-photo {
  grid-area: 2 / 1;
  margin: 0;
}
#app .approval-editor[data-cart-stage="checkout"] .cart395-item > div:last-child { grid-area: 1 / 2 / span 2; }
.approval-card-summary { display: none; }
#app .approval-editor[data-cart-stage="checkout"] .approval-card-summary {
  display: block;
  margin: 6px 0;
  font-size: .875em;
}
#app .approval-editor[data-cart-stage="checkout"] .cart395-item :is(.cart395-quantity, .cart407-note, .cart407-processing, button[data-approval-edit]),
#app .approval-editor[data-cart-stage="checkout"] .cart395-item > div:last-child > small:nth-child(4) { display: none; }
#app .approval-editor[data-cart-stage="checkout"] .approval-card-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
}
#app .approval-editor[data-cart-stage="checkout"] .approval-card-quantity input { width: min(88px, 48%); }
.approval-card-remark {
  display: block;
  margin-block-start: 3px;
  overflow-wrap: anywhere;
}

/* desktop-compact443.css */
/* Desktop density only. No zoom, mobile or print overrides. */
@media screen and (min-width:1025px){
 #app{--desktop-sidebar-width:196px}
 html[lang=en] #app{--desktop-sidebar-width:244px}
 #app>nav{width:var(--desktop-sidebar-width);padding:12px 10px}
 #app>.content{margin-left:var(--desktop-sidebar-width);padding:16px 20px}
 #app>nav button{min-height:34px;padding:7px 10px;margin:2px 0;font-size:13px;line-height:1.35}
 #app>nav .system-links button{min-height:36px;padding:8px 10px}
 #app>nav .nav-category364,#app>nav .wire-nav-heading{padding:10px 8px 4px;margin-top:5px;font-size:11px}
 body.inventory-screen404 #app>.content{padding:14px 20px}
 body.inventory-screen404 #app>.content>.topline{margin-bottom:8px;padding-bottom:8px}
 body.inventory-screen404 #app>.content>.topline h1{font-size:23px!important}
 body.inventory-screen404 #app .stock-view>.panel:has(.stock-shortages282){margin-bottom:8px;padding:0 12px!important}
 body.inventory-screen404 #app .stock-shortages282>summary{padding:8px 0;font-size:13px}
 body.inventory-screen404 #app .stock-view>.cards{gap:8px;margin:8px 0;align-items:stretch}
 body.inventory-screen404 #app .cards .stock-click-card{min-height:0;padding:0}
 body.inventory-screen404 #app .cards .stock-click-card .stock-card-filter{min-height:60px!important;padding:7px 10px!important;padding-right:42px!important;font-size:13px;line-height:1.2}
 body.inventory-screen404 #app .stock-click-card .stock-card-filter strong{font-size:22px;margin:3px 0 0;line-height:1.15}
 body.inventory-screen404 #app .stock-click-card .card-settings{padding:3px 5px;font-size:10px;min-height:24px}
 body.inventory-screen404 #app .stock-view>.toolbar{padding:10px!important;gap:8px!important;margin-bottom:10px!important}
 body.inventory-screen404 #app .stock-view>.toolbar :is(input,select,button){min-height:32px!important;padding:6px 9px;font-size:13px;line-height:1.3}
 body.inventory-screen404 #app .stock-view>.toolbar .inventory-date-range{gap:7px}
 body.inventory-screen404 #app .stock-view>.toolbar input[type=date]{width:136px;padding:6px 8px}
 body.inventory-screen404 #app .stock-view>.tablewrap th{padding:8px 10px;font-size:12px;line-height:1.3}
 body.inventory-screen404 #app .stock-view>.tablewrap td{padding:6px 10px;font-size:13px;line-height:1.35}
 body.inventory-screen404 #app .stock-view>.tablewrap td img{max-height:32px;max-width:42px;object-fit:contain}
}
@media screen and (min-width:1025px){
 body.inventory-screen404 #app .stock-view>.pagination{padding:0!important;margin-top:8px!important;gap:10px;font-size:12px;min-height:32px}
 body.inventory-screen404 #app .stock-view>.pagination button{min-height:32px!important;padding:5px 10px!important;font-size:13px}
}

@media screen and (min-width:1025px){
 body.inventory-screen404 #app .stock-view>.tablewrap .material-id-content{gap:8px}
 body.inventory-screen404 #app .stock-view>.tablewrap .material-id-content>span{min-width:0;overflow-wrap:anywhere}
}
@media screen and (min-width:1025px){
 body.inventory-screen404 #app>.content{position:relative}
 body.inventory-screen404 #app>.content>.topline>.muted{margin-left:auto;margin-right:255px;font-size:11px}
 body.inventory-screen404 #app .stock-view>.panel:has(.stock-shortages282){position:absolute;top:14px;right:160px;z-index:7;margin:0!important;padding:0 10px!important;width:auto;max-width:calc(100% - 190px);box-shadow:0 2px 8px #1733480a}
 body.inventory-screen404 #app .stock-shortages282>summary{white-space:nowrap;padding:8px 0;font-size:12px}
 body.inventory-screen404 #app .stock-view>.panel:has(>.stock-shortages282[open]){
   position:static;width:100%;max-width:none;box-sizing:border-box;margin:0 0 8px!important
 }
 body.inventory-screen404 #app .stock-view>.cards{grid-template-columns:repeat(6,minmax(0,1fr))!important;margin-top:4px}
 body.inventory-screen404 #app .stock-view>.toolbar{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(145px,1fr) auto auto auto!important;gap:7px!important;padding:8px!important}
 body.inventory-screen404 #app .stock-view>.toolbar>input#search{grid-column:auto}
 body.inventory-screen404 #app .stock-view>.toolbar>.unified-choice:has(#category),body.inventory-screen404 #app .stock-view>.toolbar>.unified-choice:has(#stockStatus){grid-column:auto}
 body.inventory-screen404 #app .stock-view>.toolbar>#exportInventoryNow{grid-column:5;width:auto;grid-row:1}
 body.inventory-screen404 #app .stock-view>.toolbar>.m377-toggle[data-kind=actions]{grid-column:6;grid-row:1;width:auto;min-height:32px!important}
 body.inventory-screen404 #app .stock-view>.toolbar>.m377-toggle[data-kind=filters]{display:inline-flex!important;grid-column:4;grid-row:1;white-space:nowrap;align-items:center;justify-content:center}
 body.inventory-screen404 #app .stock-view>.toolbar:not(.m377-filters-open)>.quantity-picker:has(#materialPrefix),body.inventory-screen404 #app .stock-view>.toolbar:not(.m377-filters-open)>.inventory-date-range{display:none!important}
 body.inventory-screen404 #app .stock-view>.toolbar.m377-filters-open>.quantity-picker:has(#materialPrefix){grid-row:2;grid-column:1/3;width:100%;display:block}
 body.inventory-screen404 #app .stock-view>.toolbar.m377-filters-open>.inventory-date-range{grid-row:2;grid-column:3/-1;display:flex}
 body.inventory-screen404 #app .stock-view>.toolbar .m377-secondary-action{grid-column:span 2}
}

/* compact-interface445.css */
/* Shared compact inventory and picker; original table remains available. */
.compact442-controls,.compact442-expand{display:none}
@media screen and (max-width:1024px){
 html[data-compact442] #app :is(.stock-view>.cards,#vendorStockCards>.cards){display:flex!important;overflow-x:auto;gap:8px;margin:12px 0;max-width:100%;padding:2px 0 8px;scroll-snap-type:x proximity}
 html[data-compact442] #app :is(.stock-view>.cards,#vendorStockCards>.cards)>.card{flex:0 0 135px;min-height:82px;padding:12px!important;scroll-snap-align:start}
 html[data-compact442] #app :is(.stock-view>.cards,#vendorStockCards>.cards)>.card strong{font-size:22px;margin:6px 0 0}
 html[data-compact442] #app .compact442-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 8px;font-size:12px;color:var(--theme-muted,#6d808b)}
 html[data-compact442] #app .compact442-controls button{min-height:44px;font-size:13px;padding:6px 12px;background:var(--theme-card,#fff);touch-action:manipulation}
 html[data-compact442] #app .compact442-wrapper:has(table.compact442-cards){border:0;background:transparent;overflow:visible!important;max-height:none!important;height:auto!important}
 html[data-compact442] #app table.compact442-cards,html[data-compact442] #app table.compact442-cards>tbody{display:block;width:100%!important;min-width:0!important;max-width:100%!important}
 html[data-compact442] #app table.compact442-cards colgroup,html[data-compact442] #app table.compact442-cards>thead{display:none}
 html[data-compact442] #app table.compact442-cards>tbody>tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;align-items:start;align-content:start;padding:12px!important;gap:8px 12px!important;margin-bottom:8px!important;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#dce4e9);border-radius:14px;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td{display:block;position:static!important;grid-row:auto!important;white-space:normal!important;min-width:0!important;max-width:none!important;width:auto!important;border:0!important;padding:0!important;box-shadow:none!important;background:transparent!important;overflow-wrap:anywhere;font-size:14px;line-height:1.4!important;height:auto!important;min-height:0!important;text-align:left!important;box-sizing:border-box}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td:before{content:attr(data-compact442-label);display:block;color:var(--theme-muted,#81919b);font-size:10px;margin:0 0 3px;line-height:1.3}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td:first-child{grid-column:1/-1;padding-right:76px!important;min-height:38px!important;display:flex;align-items:center;font-weight:700}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td:first-child:before{display:none}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[data-compact442-secondary]{display:none}
 html[data-compact442] #app table.compact442-cards>tbody>tr.compact442-expanded>td[data-compact442-secondary]{display:block}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[data-compact442-actions]:not(:first-child){grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[data-compact442-stock]{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;padding-top:8px!important;border-top:1px solid #edf1f4!important;font-weight:700}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[data-compact442-stock]:before{margin:0;font-size:11px;font-weight:400}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[data-compact442-stock]:after{content:attr(data-compact442-unit);font-size:12px;font-weight:400}
 html[data-compact442] #app table.compact442-cards>tbody>tr>td[colspan]{display:block;grid-column:1/-1;text-align:center!important}
 html[data-compact442] #app table.compact442-cards .compact442-expand{position:absolute;top:10px;right:10px;display:inline-flex;min-height:36px!important;padding:5px 9px!important;font-size:12px;font-weight:500;touch-action:manipulation}
 html[data-compact442] #app table.compact442-cards .material-id-content{gap:8px;min-width:0}
 html[data-compact442] #app table.compact442-cards .material-id-content>span{min-width:0;overflow-wrap:anywhere}
 html[data-compact442] #app table.compact442-cards .material-id-content :is(img,button[data-material-photo]){width:38px!important;height:30px!important;min-height:30px!important;object-fit:contain}
 html[data-compact442] #app .compact442-wrapper:has(table:not(.compact442-cards)){overflow:auto!important}
}
@media screen and (min-width:1025px){
 html[data-compact442] .catalog395{width:min(640px,94vw);height:auto;max-height:calc(100dvh - 48px);border-radius:16px}
 html[data-compact442] .catalog395>header{position:relative;min-height:56px;padding:8px 16px}
 html[data-compact442] .catalog395>header h2{font-size:18px}
 html[data-compact442] .catalog395:has(.catalog395-detail:not(dialog):not([hidden])){height:fit-content;min-height:0;margin:auto;align-content:start}
 html[data-compact442] .catalog395:has(.catalog395-detail:not(dialog):not([hidden])) .catalog396-footer{display:none}
 html[data-compact442] .catalog395 .catalog395-detail{display:grid;grid-template-columns:140px minmax(0,1fr);align-content:start;gap:10px 16px;margin:12px;padding:14px;min-height:0;overflow:auto;flex:0 1 auto}
 html[data-compact442] .catalog395 .catalog395-detail>button:first-child{grid-column:1/-1;min-height:36px;padding:2px 0}
 html[data-compact442] .catalog395 .catalog395-detail>.cart395-photo{grid-column:1;grid-row:2/6;height:140px;min-height:140px;max-height:140px;align-self:start}
 html[data-compact442] .catalog395 .catalog395-detail>.cart395-photo img{height:140px!important;width:100%!important}
 html[data-compact442] .catalog395 .catalog395-detail>h3{grid-column:2;font-size:18px;margin:0}
 html[data-compact442] .catalog395 .catalog395-detail>p{grid-column:2;margin:0;font-size:14px;line-height:1.5}
 html[data-compact442] .catalog395 .catalog395-detail>label:first-of-type{grid-column:2}
 html[data-compact442] .catalog395 .catalog395-detail>label:last-of-type,html[data-compact442] .catalog395 .catalog395-detail>.cart395-primary{grid-column:1/-1}
 html[data-compact442] .catalog395 .catalog395-detail label{gap:5px;font-size:13px}
 html[data-compact442] .catalog395 .catalog395-detail>.cart395-primary{min-height:44px;padding:10px 16px!important}
}
@media print{.compact442-controls,.compact442-expand{display:none!important}}

/* shared-layout447.css */
/* One account-neutral visual system; permissions and actions remain in existing code. */
@media screen and (min-width:1025px){
 #app>.content:where(main){padding:14px 20px;min-width:0;max-width:none}
 #app > .content>.topline{margin:0 0 8px;padding:0 0 8px;gap:10px;align-items:center}
 #app > .content>.topline h1{font-size:23px!important;margin:0;line-height:1.35}
 #app > .content>.topline:has(#vendorTitle){min-height:43px}
 #app > .content>.topline:has(#vendorTitle)+#vendorTools:empty,#app > .content>#message:empty{display:none}
 #app > :where(.content) :is(.toolbar,:where(#vendorTools,.vr-toolbar,.movement-filters)):not(:where(dialog *,.shipment-preview *,.ship-page *)){gap:8px;align-items:center;margin-bottom:10px}
 #app > :where(.content) :is(.toolbar,:where(#vendorTools,.vr-toolbar,.movement-filters)):not(:where(dialog *,.shipment-preview *,.ship-page *)) :is(input:not([type=checkbox]):not([type=radio]),select,button){min-height:32px;padding:6px 9px;font-size:13px;line-height:1.3}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap)){border:1px solid var(--theme-border,#d9e3ea);border-radius:10px;background:white;overflow:auto}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table{border-collapse:separate;border-spacing:0}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table>thead>tr>th{padding:8px 10px!important;font-size:12px!important;line-height:1.35;background:var(--theme-soft,#edf3f7);color:var(--text,#25485f);border-bottom:1px solid var(--theme-border,#d9e3ea)}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table>tbody>tr>td{padding:8px 10px!important;font-size:13px!important;line-height:1.4;border-bottom:1px solid #e8eef2}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table>tbody>tr>td button:not(.material-photo-button):not(.compact442-expand){min-height:30px;padding:5px 9px;font-size:12px;line-height:1.35}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table>tbody>tr:nth-child(even){background:#f8fbfc}
 #app > :where(.content) :is(.tablewrap,:where(.table-wrap,.ep-tablewrap)):not(:where(dialog *,.shipment-preview *,.ship-page *,#vrLines *,#vrLines,.gantt *,.gantt-wrap *,.gantt-wrap))>table>tbody>tr:hover{background:#eef7f8}
 #app > .content .pagination{padding:0!important;margin-top:8px!important;gap:10px;font-size:12px;min-height:32px}
 #app > .content .pagination button{min-height:32px;padding:5px 10px;font-size:13px}
 /* Both inventory adapters share the same density and ordering. */
 #app.aucan-inventory447 #vendorStockCards>.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:4px 0 8px}
 #app.aucan-inventory447 #vendorStockCards .card{padding:7px 10px;font-size:13px;line-height:1.2;min-height:63px}
 #app.aucan-inventory447 #vendorStockCards .card>strong{font-size:22px;margin:3px 0 0;line-height:1.15}
 #app.aucan-inventory447 #vendorStockCards .card>small{display:none}
 #app.aucan-inventory447 #vendorTools{display:flex;flex-wrap:wrap;gap:7px;padding:8px;border:1px solid var(--theme-border,#d9e3ea);border-radius:10px;background:var(--theme-card,#fff);margin:0 0 10px}
 #app.aucan-inventory447 #vendorTools>input#search{flex:2 1 180px;width:auto;min-width:120px}
 #app.aucan-inventory447 #vendorTools>:is(.unified-choice,.quantity-picker,select){flex:1 1 130px;width:auto;min-width:110px}
 #app.aucan-inventory447 #vendorTools>button{flex:0 0 auto;width:auto;white-space:nowrap}
 #app.aucan-inventory447 #body>.tablewrap{height:var(--shared-list-height447,360px);max-height:none;min-height:240px}
 #app.aucan-inventory447 .material-id-cell{min-width:0}
 #app.aucan-inventory447 table:not(.resizable-inventory) .material-id-cell{min-width:310px}
 #app.aucan-inventory447 .material-id-content{gap:8px!important}
 #app.aucan-inventory447 .material-photo-button{width:44px;min-height:32px;height:32px;padding:0;flex:0 0 44px}
 #app.aucan-inventory447 .material-photo-button img{width:38px;height:28px;max-width:38px;max-height:28px;object-fit:contain}
}
@media screen and (min-width:1025px){
 #app.aucan-inventory447 #vendorTools>input#materialPrefix{flex:1 1 130px;width:auto;min-width:100px}
 #app.aucan-inventory447 #vendorTools>input,#app.aucan-inventory447 #vendorTools>select{max-width:none}
 #app.aucan-inventory447 .material-id-cell{white-space:normal;overflow-wrap:normal}
 #app.aucan-inventory447 .material-id-content>span{min-width:0;overflow-wrap:normal;word-break:normal;white-space:normal}
 #app.aucan-inventory447 .material-id-content>img{width:38px!important;height:28px!important;object-fit:contain}
}

/* subpage-compact448.css */
/* Shared subpage controls: presentation only, never changes visibility or permissions. */
@media screen and (min-width:1025px){
 #app .content :is(.ep-filters,.history-filters,.vr-filters){gap:8px;padding:10px;margin-block:8px 12px;align-items:end}
 #app .content :is(.ep-filters,.history-filters,.vr-filters) label{font-size:12px;line-height:1.35;gap:4px}
 #app .content :is(.ep-filters,.history-filters,.vr-filters) :is(input:not([type=checkbox]):not([type=radio]),select,button){min-height:32px;padding:6px 9px;font-size:13px;line-height:1.3}
 #app .content .panel:not(:has(canvas,svg,iframe)){padding:12px;margin-block:10px}
 #app .content :is(h2,h3){line-height:1.4}
 #app .content h2{font-size:19px;margin-block:8px 10px}
 #app .content h3{font-size:16px;margin-block:8px}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)):not(:has(iframe,canvas,.photo-stage,.photo-viewer,.ship-page,.shipment-preview)){padding:18px;border-radius:12px;max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:13px;min-height:32px;padding:6px 9px;box-sizing:border-box}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)) h2{font-size:19px;margin:0 0 12px}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)) .grid{gap:10px}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)) .actions{gap:8px;margin-top:12px;flex-wrap:wrap}
}
/* Constrain ordinary form dialogs on small screens without shrinking touch targets. */
@media screen and (max-width:1024px){
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)):not(:has(iframe,canvas,.photo-stage,.photo-viewer,.ship-page,.shipment-preview)){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;overflow:auto}
 :is(dialog#modal,dialog#formDialog,dialog:not([id]):has(table)) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
}

/* quantity-overlay459.css */
html body dialog.catalog459-quantity:not([open]){display:none!important}html body dialog.catalog459-quantity[open]{display:grid!important;position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:auto;max-height:calc(100dvh - 48px);min-height:0;padding:20px;overflow:auto;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d4dfe5);border-radius:16px;box-shadow:0 18px 70px #132f4055;grid-template-columns:120px minmax(0,1fr);gap:10px 18px;align-content:start;box-sizing:border-box;zoom:1}html body dialog.catalog459-quantity::backdrop{background:rgba(22,42,52,.25)}html body .catalog395 dialog.catalog459-quantity>button:first-child{grid-column:1/-1;justify-self:end}html body .catalog395 dialog.catalog459-quantity>.cart395-photo{grid-column:1;grid-row:2/5;width:120px;height:120px;max-height:120px}html body .catalog395 dialog.catalog459-quantity>:not(button:first-child):not(.cart395-photo){grid-column:2}html body .catalog395 dialog.catalog459-quantity h3,html body .catalog395 dialog.catalog459-quantity p{margin:0}html body .catalog395 dialog.catalog459-quantity>.cart395-primary{grid-column:1/-1}@media(max-width:600px){html body dialog.catalog459-quantity[open]{grid-template-columns:72px minmax(0,1fr);padding:14px;gap:8px 12px}html body .catalog395 dialog.catalog459-quantity>.cart395-photo{width:72px;height:72px}html body .catalog395 dialog.catalog459-quantity>label{grid-column:1/-1}}
/* Same picker shell; soft red border denotes request review, not an error. */
html body dialog.catalog395.catalog460-review{border:2px solid #e9aeb1!important;box-shadow:0 0 0 3px #fbeaec,0 18px 60px #18333d33}html body dialog.catalog460-review>.cart395{margin:0;padding:16px 20px;overflow:auto;min-height:0;flex:1}html body dialog.catalog460-review>.cart395 .cart395-items{display:grid;grid-template-columns:1fr;gap:8px}html body dialog.catalog460-review>.catalog460-next{margin:10px 20px;align-self:flex-end}html body dialog.catalog395>.catalog460-next[hidden],html body dialog.catalog460-review>.catalog395-browse[hidden],html body dialog.catalog460-review>.catalog396-footer[hidden]{display:none!important}@media(max-width:600px){html body dialog.catalog460-review>.cart395{padding:12px}}

html body dialog.catalog395.catalog460-review{width:var(--cart-review-width)!important;height:var(--cart-review-height)!important;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box}

html body .vr-filter461 .vr-default461{display:flex;align-items:center;gap:6px;font-size:12px;white-space:normal;margin:0;align-self:end;min-height:32px}html body .vr-filter461 .vr-default461 input{width:15px!important;height:15px!important;min-height:0!important;flex:0 0 15px;margin:0}html body .vr-filter461 .vr-search{min-width:0;width:auto;max-width:none}html body .vr-search-row:has(>.actions:only-child){margin-top:4px;justify-content:flex-end}@media(min-width:1025px){html body .vr-filter-grid.vr-filter461{display:grid;grid-template-columns:minmax(200px,1fr) minmax(250px,1.4fr) minmax(180px,1fr);gap:8px 14px}html body .vr-filter461>:first-child{grid-column:1;grid-row:1}html body .vr-filter461>.vr-search{grid-column:2;grid-row:1}html body .vr-filter461>.vr-default461{grid-column:3;grid-row:1}html body .vr-filter461>.vr-date-actions{grid-column:3;grid-row:3;justify-content:flex-end}html body .vr-filter461>label:not(:first-child):not(.vr-search):not(.vr-default461){grid-row:2}html body .vr-filter-card:has(.vr-filter461){position:relative}html body .vr-filter-card:has(.vr-filter461) .vr-search-row{position:absolute;left:16px;bottom:12px}}

html body .vr-filter461>label:has(.vr-date-inputs){position:relative}html body .vr-filter461 .vr-date-actions{position:absolute;right:0;top:-3px;display:flex;gap:4px}html body .vr-filter461 .vr-date-actions button{min-height:22px!important;height:22px;padding:1px 7px!important;font-size:11px}html body .vr-filter-card:has(.vr-filter461) .vr-search-row{position:static;margin-top:4px;display:flex;justify-content:flex-end}
html body dialog.catalog459-quantity[open]{height:fit-content!important;min-height:0!important;grid-auto-rows:max-content}

html body dialog.catalog395.catalog460-review>.cart395{display:block!important}html body dialog.catalog395.catalog460-review>.cart395>.cart395-items{display:grid!important}

@media screen and (min-width:1025px){html body #app .inventory-table462>.tablewrap{height:var(--inventory-table-height,360px)!important;max-height:none!important;min-height:260px;overflow:auto}}
@media screen and (min-width:1025px){html body #app.aucan-inventory447 #body.stock-view>.tablewrap,html body #app .stock-view>.tablewrap{height:var(--inventory-table-height,360px)!important;max-height:none!important}}

html body .vr-filter461>.vr-project463{display:flex;flex-direction:column;gap:3px;min-width:0}html body .vr-filter461>.vr-project463>.vr-default461{align-self:flex-start;min-height:18px;margin:0}html body .vr-filter461>.vr-project463>label:not(.vr-default461){display:block;margin:0}html body .vr-filter461>.vr-search{align-self:end}

/* Keep the request's project selector and default option on the same line. */
#app .request-project-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
}
#app .request-project-field > label:first-child { min-width: 0; }
#app .request-project-field > .request-project-default {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  max-width: 10em;
  margin: 0;
  font-size: .875em;
  line-height: 1.3;
}
#app .request-project-default input[type="checkbox"] {
  flex: none;
  width: 16px !important;
  height: 16px;
  min-height: 16px !important;
  margin: 0;
}

/* Keep each material thumbnail beside its selector in the approval table. */
#app #vrLines .request-line-material {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
#app #vrLines .request-line-material > :is(.unified-choice, select) {
  flex: 1 1 0;
  min-width: 0;
}
#app #vrLines .request-line-material > .material-photo-button {
  order: -1;
  flex: 0 0 auto;
  margin: 0;
}

html body .vr-filter461 > .vr-project463 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
}
html body .vr-filter461 > .vr-project463 > label:not(.vr-default461) {
  display: block;
  min-width: 0;
  margin: 0;
}
html body .vr-filter461 > .vr-project463 > .vr-default461 {
  align-self: end;
  min-height: 36px;
  max-width: 11em;
  margin: 0;
  line-height: 1.3;
}

/* Keep list filters and document selection controls together. */
html body .vr-filter461 > .vr-project463 {
  position: relative;
  display: block;
}
html body .vr-filter461 > .vr-project463 > .vr-default461 {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 40%;
  min-height: 18px;
  max-width: 60%;
  white-space: nowrap;
  font-size: clamp(10px, 1vw, 12px);
}
html body .vr-filter461 > .vr-project463:lang(es) > .vr-default461,
html body .vr-filter461 > .vr-project463:lang(en) > .vr-default461 {
  inset-inline-start: auto;
  inset-inline-end: 0;
  max-width: 75%;
}
.vr-filter-card > .vr-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.vr-filter-card > .vr-filter-actions > .vr-selection-actions {
  display: flex;
  gap: 6px;
  margin: 0;
}
@media screen and (min-width: 1025px) {
  html body #app > header .brand { flex-basis: auto; }
  html body #app > header .brand > div { max-width: none; }
  html body #app > header .brand > div > small { white-space: nowrap; }
}

#moveForm .move-project-group { min-width: 0; }
#moveForm .move-project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
#moveForm .move-project-heading label { margin: 0; line-height: 1.3; }
#moveForm .move-project-heading .move-project-default {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 11em;
  font-size: .875em;
}
#moveForm .move-project-default input {
  width: 15px !important;
  height: 15px;
  min-height: 15px !important;
  flex: 0 0 15px;
  margin: 0;
}

#moveForm .move-project-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
}

/* The quantity dialog is a separate overlay above the material picker. */
html body dialog.catalog395-detail.catalog459-quantity[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  margin: 0 !important;
  transform: translate(-50%, -50%);
}

/* Keep movement review smaller than the full material picker. */
html body dialog.catalog395.catalog460-review {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
  width: min(940px, calc(100vw - 24px)) !important;
  height: fit-content !important;
  max-height: calc(100dvh - 36px);
}
html body dialog.catalog460-review > header {
  padding: 10px 16px;
}
html body dialog.catalog460-review > .cart395 {
  flex: 0 1 auto;
  padding: 12px 16px;
}
html body dialog.catalog460-review > .cart395 > h3 {
  margin: 0 0 6px;
}
html body dialog.catalog460-review :is(.cart395-hint, .cart395-safe) {
  margin: 6px 0 10px;
}
html body dialog.catalog460-review > .cart395 > button {
  width: auto;
  margin: 0 0 10px;
  min-height: 44px;
}
html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
}
html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > .cart395-photo {
  width: 56px;
  height: 56px !important;
  min-height: 56px !important;
}
html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > .cart395-photo img {
  height: 56px !important;
}
html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart395-quantity {
  margin: 4px 0;
}
@media screen and (min-width: 1025px) {
  html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(156px, .8fr) minmax(0, 1fr) max-content;
    grid-template-rows: repeat(4, auto);
    column-gap: 12px;
    align-items: center;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > :is(strong, p, small) {
    grid-column: 1;
    margin: 0;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > small:last-of-type {
    grid-area: 1 / 2;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-quantity {
    grid-area: 2 / 2 / span 3;
    grid-template-columns: 44px minmax(56px, 1fr) 44px;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart407-note { grid-area: 1 / 3 / span 4; }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > button {
    grid-area: 1 / 4 / span 4;
    min-height: 44px;
    white-space: nowrap;
  }
}

@media screen and (max-width: 1024px) {
  html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 8px;
    align-items: center;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > :is(strong, p, small, .cart407-note) {
    grid-column: 1 / -1;
    margin: 0;
  }
  html body  :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart395-quantity {
    grid-template-columns: 44px minmax(32px, 1fr) 44px;
    gap: 4px;
    margin: 2px 0;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > button {
    grid-column: 2;
    grid-row: var(--cart-control-row, 5);
    min-height: 44px;
    padding-inline: 8px;
  }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart407-note { grid-row: calc(var(--cart-control-row, 5) + 1); }
}

@media screen and (max-width: 380px) {
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart395-quantity { grid-column: 1 / -1; }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart407-note { grid-column: 1; }
   :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > button {
    grid-row: calc(var(--cart-control-row, 5) + 1);
    align-self: end;
  }
}

.movement-cart dialog.catalog460-review { --cart-control-row: 6; }
@media screen and (min-width: 1025px) {
  html body :is(#app, #modal) :is(.vendor-cart395[data-cart-stage="cart"], dialog.catalog460-review) > .cart395 > .cart395-items {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Keep request-specific approval details accessible without stretching the row. */
html body :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart407-processing {
  grid-column: 1 / -1;
  grid-row: calc(var(--cart-control-row, 5) + 2);
  margin: 2px 0 0;
  padding-block: 4px 0;
}
@media screen and (max-width: 1024px) {
  html body :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item > div:last-child > :is(p, small) {
    margin: 0;
    line-height: 1.35;
  }
  html body :is(dialog.catalog460-review, .vendor-cart395[data-cart-stage="cart"]) .cart395-item .cart407-note {
    gap: 3px;
    margin: 0;
  }
}

/* Put the tool filter above its document actions in the third column. */
@media screen and (min-width: 1025px) {
  html body .vr-filter-card:has(> .vr-filter461) {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(250px, 1.4fr) minmax(180px, 1fr);
    gap: 8px 14px;
  }
  html body .vr-filter-card > .vr-filter461 { display: contents; }
  html body .vr-filter461 > label:has(#vrFilterTool) {
    grid-column: 3;
    grid-row: 1;
  }
  html body .vr-filter-card:has(> .vr-filter461) > .vr-filter-actions {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    margin-top: 0;
  }
}

/* Inventory overview only: keep underlying column indexes and source data intact. */
#app .stock-view > .tablewrap > table > thead > tr > th:nth-child(7),
#app .stock-view > .tablewrap > table > thead > tr > th:nth-child(9),
#app .stock-view > .tablewrap > table > tbody > tr > td:nth-child(7),
#app .stock-view > .tablewrap > table > tbody > tr > td:nth-child(9),
#app .inventory-table462 > .tablewrap > table > thead > tr > th:nth-child(7),
#app .inventory-table462 > .tablewrap > table > thead > tr > th:nth-child(9),
#app .inventory-table462 > .tablewrap > table > tbody > tr > td:nth-child(7),
#app .inventory-table462 > .tablewrap > table > tbody > tr > td:nth-child(9){display:none!important}

/* Keep both inventory totals aligned when column widths change. */
@media screen and (min-width:1025px){
body.inventory-screen404 #app :is(.stock-view,.inventory-table462)>.tablewrap :is(th,td):nth-last-child(2){right:var(--inventory-safety-width,112px)!important}
body.inventory-screen404 #app :is(.stock-view,.inventory-table462)>.tablewrap td:nth-last-child(-n+2){position:sticky;z-index:2;background:var(--theme-soft,#edf7f5)}
body.inventory-screen404 #app :is(.stock-view,.inventory-table462)>.tablewrap :is(th,td):last-child{right:0}
body.inventory-screen404 #app :is(.stock-view,.inventory-table462)>.tablewrap th:nth-last-child(-n+2){z-index:5}
body.inventory-screen404 #app :is(.stock-view,.inventory-table462)>.tablewrap td.bad{background:#fff0e7}
}

/* Shipment paper layout: larger rows and type within the existing A4 landscape page. */
.ship-page .ship-table th{font-size:12px;white-space:nowrap;padding:1mm .6mm}
.ship-page .ship-table td,.ship-page .ship-table td.ship-tool{font-size:13px;height:6mm;line-height:1.2;padding:.7mm .6mm;white-space:nowrap;word-break:normal;overflow:hidden}
.ship-cell-text{display:block;width:100%;white-space:nowrap;transform-origin:left center}
.ship-page .ship-trip,.ship-page .ship-meta{font-size:13px;white-space:nowrap}
.ship-page .signature{font-size:12px}
.ship-page .ship-footer{font-size:11px}
@media print{#local-assistant-button,#local-assistant,.assistant-avatar,.assistant-cat{display:none!important;visibility:hidden!important}}

/* Larger shipment writing areas, using the A4 landscape printable height. */
.ship-page .ship-table td,.ship-page .ship-table td.ship-tool{font-size:15px;height:6.4mm;line-height:1.15}
.ship-page .ship-table th{font-size:13px}
.ship-page .ship-trip,.ship-page .ship-meta{font-size:14px}
.ship-page .signature{height:30mm;font-size:14px;position:relative}
.ship-page .signature span{position:absolute;bottom:2mm;left:2mm;margin:0;font-size:11px}
@media print{@page shipment-note{size:A4 landscape;margin:5mm 8mm}.ship-page{page:shipment-note;height:199mm}}

/* Inactive inventory remains auditable without being available for new issues. */
.inactive-toggle541{display:flex;align-items:center;gap:6px;white-space:nowrap}.inactive-toggle541 input{width:auto;min-height:0}.inactive-row541 td{color:var(--theme-muted,#626a73)!important;background:var(--theme-soft,#f0f1f3)!important}.inactive-badge541{display:block;color:var(--theme-muted,#626a73);font-size:11px;white-space:normal}

/* size601: text size chosen in the header (desktop). Standard is the 85% desktop scale, Large is full size. Print keeps its own size. */
@media screen and (max-width:1024px){html body{zoom:1}}
@media screen and (min-width:1025px){html[data-size601=l] body{zoom:1}html[data-size601=l]{--f584-z:1}html[data-compact442][data-size601=l] .catalog395{zoom:1}
/* Side menu: larger text at the 85% scale, same menu width. */
html body #app nav button{font-size:16px!important;line-height:1.3!important;padding-left:8px!important;padding-right:6px!important;font-weight:600!important}
html body #app nav .home-guide-entry{font-size:16px!important;padding-left:8px!important;padding-right:6px!important}
html body #app nav .nav-category364{font-size:14px!important}
html body #app nav .system-nav-label{font-size:14px!important;color:var(--theme-muted,#6b6f73)!important}
html[data-size601=l] body #app nav button,html[data-size601=l] body #app nav .home-guide-entry{font-size:15px!important}
html:is([data-head601="1"],[data-head601="2"],[data-head601="3"],[data-head601="4"]) #app>header .core-value294{display:none!important}
html:is([data-head601="2"],[data-head601="3"],[data-head601="4"]) #app>header .brand small{display:none!important}
html:is([data-head601="3"],[data-head601="4"]) #app>header :is(.size601 summary b,.account-controls>small){display:none!important}
html:is([data-head601="3"],[data-head601="4"]) #app>header .palette297 summary::after{content:none!important}
html[data-head601="4"] #app>header .account-controls>.pill{display:none!important}
}
@media screen{
html body header .size601{position:relative;flex:none}
html body header .size601 summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 10px;border:1px solid var(--theme-border,#d8e1e8);border-radius:8px;background:var(--theme-card,#fff);color:var(--theme-ink,#203e42);cursor:pointer;font-size:13px;line-height:1;white-space:nowrap;box-sizing:border-box}
html body header .size601 summary::-webkit-details-marker{display:none}
html body header .size601 summary span{font-size:19px;font-weight:700;line-height:1}
html body header .size601 summary b{font-weight:500}
html body header .size601 .sizes601{position:absolute;z-index:120;top:calc(100% + 6px);right:0;width:230px;padding:6px;border-radius:12px;background:var(--theme-card,#fff);box-shadow:0 6px 24px #10233940;display:grid;gap:2px}
html body header .size601 .sizes601 button{display:flex!important;align-items:baseline;justify-content:space-between;gap:20px;width:100%;min-height:44px;margin:0;padding:6px 12px!important;border:0!important;border-radius:8px;background:transparent!important;box-shadow:none!important;color:var(--theme-ink,#203e42)!important;font-weight:400;text-align:left}
html body header .size601 .sizes601 button[aria-pressed=true]{background:var(--theme-soft,#e6f1f1)!important;font-weight:700}
html body header .size601 .sizes601 button:hover{background:var(--theme-soft,#f0f4f5)!important}
html body header .size601 .sizes601 [data-size601=s] .n601{font-size:14px}html body header .size601 .sizes601 [data-size601=l] .n601{font-size:18px}
html body header .size601 .sizes601 p{margin:4px 0 2px;padding:8px 12px;border-top:1px solid var(--theme-border,#e3e9ea);font-size:13px;line-height:1.6;color:var(--theme-muted,#4d6168)}
html body header .size601 .sizes601 small{display:inline!important;margin:0;font-size:13px;color:var(--theme-muted,#5b6f76)}
}
@media screen and (min-width:1025px){
html:is([data-head601="1"],[data-head601="2"],[data-head601="3"],[data-head601="4"]) #app>header .core-value294{display:none!important}
html:is([data-head601="2"],[data-head601="3"],[data-head601="4"]) #app>header .brand small{display:none!important}
html:is([data-head601="3"],[data-head601="4"]) #app>header :is(.size601 summary b,.palette297 summary::after,.account-controls>small){display:none!important}
html:is([data-head601="3"],[data-head601="4"]) #app>header .palette297 summary::after{content:none!important}
html[data-head601="4"] #app>header .account-controls>.pill{display:none!important}
}
@media screen and (max-width:1024px){html body header .size601{display:none!important}}
@media print{.size601{display:none!important}}
/* paper609: delivery note and cutting sheet keep their own paper colours on screen, whatever the theme */
@media screen{
html body .ship-page .ship-table,html body .cut496 .paper table{background:transparent!important}
html body .ship-page .ship-table th{background:#e3eef4!important;color:#25485f!important;border-color:#a9bdcd!important}
html body .ship-page .ship-table td{border-color:#c7d4de!important}
html body .cut496 .paper>small{color:#637789!important}
html body .shipment-preview{background:#fff!important}
}
@media screen and (max-width:1024px){html body #app header.mobile-account-open .account-controls:has(.palette297[open]){overflow:visible}html body header .dots297 button{width:44px;min-width:44px}html body header .dots297 button::before{width:24px;height:24px}}
/* nav611: left menu - main pages carry an icon and a solid current state; sub pages sit under quiet group titles with a tinted current row */
@media screen and (min-width:1025px){
html body #app#app>nav{padding:10px 8px 14px!important;gap:0!important;scrollbar-width:thin;scrollbar-color:var(--theme-border,#d5dee5) transparent}
html body #app#app>nav .system-links{display:flex!important;flex-direction:column;gap:2px!important;margin:0 0 8px!important;padding:0 0 10px!important;border-bottom:1px solid var(--theme-border,#dce5eb)!important}
html body #app#app>nav button,html body #app#app>nav .home-guide-entry{position:relative;display:flex!important;align-items:center;gap:8px;width:100%!important;margin:0!important;border:0!important;border-radius:8px!important;box-shadow:none!important;outline-offset:-2px!important;text-align:left;text-decoration:none;text-wrap:balance;transition:background-color .12s ease}
html body #app#app>nav button{transition:none}
html body #app#app>nav .system-links button{min-height:38px!important;padding:6px 6px 6px 9px!important;background:transparent!important;color:var(--theme-ink,#243b53)!important;font-weight:600!important}
html body #app#app>nav .system-links button::before,html body #app#app>nav .home-guide-entry::before,html body #app#app>nav>button[data-tab=help]::before{content:"";flex:none;width:18px;height:18px;background:currentColor;opacity:.72;-webkit-mask:var(--i611) center/contain no-repeat;mask:var(--i611) center/contain no-repeat}
html body #app#app>nav [data-system=engineering]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M5 20V9l7-5 7 5v11M9 20v-6h6v6'/%3E%3C/svg%3E")}
html body #app#app>nav [data-system=warehouse]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 8-4 8 4v9l-8 4-8-4ZM4 8l8 4 8-4M12 12v9'/%3E%3C/svg%3E")}
html body #app#app>nav [data-system=quality]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v6c0 4-3.5 7-7 9-3.5-2-7-5-7-9V6ZM9 12l2 2 4-4'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links [data-admin-page]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.5 2.700-6 6-6 1.200 0 2.3.3 3.200.9M18 14.5v1.3m0 4.400v1.3m3.100-5.3-1.100.6m-4 2.400-1.100.6m6.200 0-1.100-.6m-4-2.400-1.100-.6'/%3E%3Ccircle cx='18' cy='18' r='2.200'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links [data-shared-page]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h2m4 0h10M4 12h2m4 0h10M4 18h2m4 0h10'/%3E%3C/svg%3E")}
html body #app#app>nav :is(.home-guide-entry,[data-tab=help]){--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10 5 7 4.5 4 5v13c3-.5 6 0 8 1.5 2-1.5 5-2 8-1.5V5c-3-.5-6 0-8 1.5Zm0 0v13'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links button:not(.active):hover,html body #app#app>nav>button:not(.active):hover,html body #app#app>nav .home-guide-entry:hover{background:var(--theme-soft,#eef4f7)!important}
html body #app#app>nav .system-links button.active,html body #app#app>nav:has(>button[data-admin-page].active) .system-links [data-admin-page=home]{background:var(--theme-accent,#117580)!important;color:#fff!important}
html body #app#app>nav .system-links button.active::before,html body #app#app>nav:has(>button[data-admin-page].active) .system-links [data-admin-page=home]::before{opacity:1}
html body #app#app>nav .system-nav-label{display:none!important}
html body #app#app>nav .nav-category364{margin:6px 0 0!important;padding:8px 12px 3px!important;border:0!important;font-weight:500!important;line-height:1.35;letter-spacing:0!important;color:var(--theme-muted,#5d747d)!important}
html body #app#app>nav .system-links+.nav-category364,html body #app#app>nav .system-nav-label+.nav-category364{margin-top:0!important}
html body #app#app>nav>button{min-height:34px!important;padding:5px 5px 5px 12px!important;background:transparent!important;color:var(--theme-ink,#243b53)!important;font-weight:500!important}
html body #app#app>nav>button.active{background:var(--theme-soft,#e3f0f2)!important;color:var(--theme-accent,#117580)!important;font-weight:700!important}
html body #app#app>nav>button.active::after{content:"";position:absolute;left:3px;top:8px;bottom:8px;width:3px;border-radius:2px;background:var(--theme-accent,#117580)}
html body #app#app>nav>.home-guide-entry,html body #app#app>nav>button[data-tab=help]{margin-top:10px!important;min-height:38px!important;padding:6px 6px 6px 9px!important;color:var(--theme-ink,#243b53)!important;font-weight:500!important;line-height:1.3!important}
html body #app#app>nav>.vendor-guide371{order:9}
html body #app#app>nav .foot{margin-top:12px!important;border-top:1px solid var(--theme-border,#dce5eb);padding:12px 9px 0!important}
html body #app#app>nav .foot button{width:auto!important;justify-content:center;padding:4px 12px!important;min-height:32px!important;border:1px solid var(--theme-border,#dce5eb)!important;background:var(--theme-card,#fff)!important}
}
@media screen and (min-width:1025px) and (prefers-reduced-motion:reduce){html body #app#app>nav button{transition:none}}

/* nav612: phone and tablet menu - main pages as icon tiles, sub pages in columns under group titles */
@media screen and (max-width:1024px){
body.mobile-menu-open #app#app>nav{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:4px 8px!important;padding:12px 12px 14px!important;align-content:start;grid-auto-rows:min-content}
html body #app#app>nav>:is(.system-links,.nav-category364,.home-guide-entry,button[data-tab=help],.foot){grid-column:1/-1}
html body #app#app>nav .system-links{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.36fr) repeat(2,minmax(0,1fr));gap:6px!important;margin:0 0 4px!important;padding:0 0 12px!important;border-bottom:1px solid var(--theme-border,#dce5eb)!important}
html body #app#app>nav .system-links:not(:has(>:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}
html body #app#app>nav .system-links:has(>:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
html body #app#app>nav button,html body #app#app>nav .home-guide-entry{position:relative;margin:0!important;border:0!important;box-shadow:none!important;text-wrap:balance;text-align:left}
html body #app#app>nav .system-links button{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-height:66px!important;padding:11px 3px 8px!important;border-radius:12px!important;background:var(--theme-bg,#f2f6f8)!important;color:var(--theme-ink,#243b53)!important;font-size:13px!important;font-weight:600!important;line-height:1.25!important;text-align:center!important}
html body #app#app>nav .system-links button::before,html body #app#app>nav .home-guide-entry::before,html body #app#app>nav>button[data-tab=help]::before{content:"";flex:none;width:22px;height:22px;background:currentColor;opacity:.8;-webkit-mask:var(--i611) center/contain no-repeat;mask:var(--i611) center/contain no-repeat}
html body #app#app>nav [data-system=engineering]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M5 20V9l7-5 7 5v11M9 20v-6h6v6'/%3E%3C/svg%3E")}
html body #app#app>nav [data-system=warehouse]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 8-4 8 4v9l-8 4-8-4ZM4 8l8 4 8-4M12 12v9'/%3E%3C/svg%3E")}
html body #app#app>nav [data-system=quality]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v6c0 4-3.5 7-7 9-3.5-2-7-5-7-9V6ZM9 12l2 2 4-4'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links [data-admin-page]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.5 2.700-6 6-6 1.200 0 2.3.3 3.200.9M18 14.5v1.3m0 4.400v1.3m3.100-5.3-1.100.6m-4 2.400-1.100.6m6.200 0-1.100-.6m-4-2.400-1.100-.6'/%3E%3Ccircle cx='18' cy='18' r='2.200'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links [data-shared-page]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h2m4 0h10M4 12h2m4 0h10M4 18h2m4 0h10'/%3E%3C/svg%3E")}
html body #app#app>nav :is(.home-guide-entry,[data-tab=help]){--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10 5 7 4.5 4 5v13c3-.5 6 0 8 1.5 2-1.5 5-2 8-1.5V5c-3-.5-6 0-8 1.5Zm0 0v13'/%3E%3C/svg%3E")}
html body #app#app>nav .system-links button.active,html body #app#app>nav:has(>button[data-admin-page].active) .system-links [data-admin-page=home],html body #app#app>nav:has(>button[data-admin-page]):has(>button[data-shared-page].active) .system-links [data-admin-page=home]{background:var(--theme-accent,#117580)!important;color:#fff!important}
html body #app#app>nav .system-links button.active::before{opacity:1}
html body #app#app>nav .system-nav-label{display:none!important}
html body #app#app>nav .nav-category364{margin:6px 0 0!important;padding:6px 4px 2px!important;border:0!important;font-size:13px!important;font-weight:500!important;line-height:1.3;letter-spacing:0!important;color:var(--theme-muted,#5d747d)!important}
html body #app#app>nav>button{display:flex!important;align-items:center;min-height:44px!important;padding:8px 8px 8px 14px!important;border-radius:10px!important;background:var(--theme-bg,#f2f6f8)!important;color:var(--theme-ink,#243b53)!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important}
html body #app#app>nav>button.active{background:var(--theme-soft,#e3f0f2)!important;color:var(--theme-accent,#117580)!important;font-weight:700!important}
html body #app#app>nav>button.active::after{content:"";position:absolute;left:5px;top:12px;bottom:12px;width:3px;border-radius:2px;background:var(--theme-accent,#117580)}
html body #app#app>nav>.home-guide-entry,html body #app#app>nav>button[data-tab=help]{display:flex!important;align-items:center;gap:8px;order:9;min-height:44px!important;margin-top:8px!important;padding:8px 8px 8px 14px!important;border-radius:10px!important;background:transparent!important;color:var(--theme-ink,#243b53)!important;font-size:14px!important;font-weight:500!important;text-decoration:none}
html body #app#app>nav>:is(.home-guide-entry,[data-tab=help])::before{width:18px!important;height:18px!important}
}
@media screen and (max-width:767px){html:not([lang^=zh]) body #app#app>nav .system-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:not([lang^=zh]) body #app#app>nav .system-links button{flex-direction:row;justify-content:flex-start;gap:9px;min-height:52px!important;padding:8px 10px!important;text-align:left!important}}
@media screen and (min-width:1025px){html body #app#app>nav:has(>button[data-admin-page]):has(>button[data-shared-page].active) .system-links [data-admin-page=home]{background:var(--theme-accent,#117580)!important;color:#fff!important}}
@media screen and (max-width:359px){html body #app#app>nav .system-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* notice614: material update notice - fixed title and footer, the list takes the rest; on a phone every change is a card, old value above new */
@media screen{
html body dialog.material-notice-dialog[open]{display:flex!important;flex-direction:column;box-sizing:border-box;width:min(820px,calc(100vw - 32px))!important;max-width:none!important;max-height:min(760px,calc(100dvh - 40px))!important;margin:auto!important;padding:0!important;overflow:hidden!important;border:1px solid var(--theme-border,#dce5eb)!important;border-radius:16px!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#243b53)!important}
html body dialog.material-notice-dialog h2{flex:none;margin:0!important;padding:16px 20px 14px!important;border-bottom:1px solid var(--theme-border,#dce5eb);font-size:20px!important;line-height:1.3!important;color:inherit!important}
html body dialog.material-notice-dialog .material-notice-list{flex:1 1 auto;min-height:0;max-height:none!important;overflow:hidden auto!important;overscroll-behavior:contain;padding:0 20px!important}
html body dialog.material-notice-dialog article{padding:14px 0 16px!important;border-bottom:1px solid var(--theme-border,#dce5eb)!important}
html body dialog.material-notice-dialog article:last-child{border-bottom:0!important}
html body dialog.material-notice-dialog h3{margin:0 0 2px!important;font-size:16px!important;line-height:1.35!important;color:inherit!important;overflow-wrap:anywhere}
html body dialog.material-notice-dialog article>small{display:block;margin:0 0 10px;font-size:12px;color:var(--theme-muted,#5d747d)!important}
html body dialog.material-notice-dialog article>p{margin:0 0 8px!important;font-size:13px;color:var(--theme-muted,#5d747d)}
html body dialog.material-notice-dialog .tbl570-meta{display:none!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570{table-layout:fixed;width:100%!important;min-width:0!important}
html body dialog.material-notice-dialog:not(#a#b#c) :is(th,td):first-child{width:24%}
html body dialog.material-notice-dialog:not(#a#b#c) :is(th,td){text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
html body dialog.material-notice-dialog td:nth-child(2){color:var(--theme-muted,#5d747d)!important}
html body dialog.material-notice-dialog .notice-more{flex:none;width:auto!important;min-height:44px!important;margin:0!important;padding:8px 20px!important;border:0!important;border-top:1px solid var(--theme-border,#dce5eb)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--theme-accent,#117580)!important;font-size:14px!important;font-weight:600!important;text-align:center!important}
html body dialog.material-notice-dialog .notice-error{flex:none;margin:0!important;padding:0 20px}
html body dialog.material-notice-dialog .notice-error:not(:empty){padding:8px 20px}
html body dialog.material-notice-dialog footer{flex:none;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px!important;align-items:center;padding:12px 20px 14px!important;border-top:1px solid var(--theme-border,#dce5eb);background:var(--theme-bg,#f2f6f8)}
html body dialog.material-notice-dialog footer label{grid-column:1;min-height:32px;margin:0!important;font-size:14px!important;color:inherit!important}
html body dialog.material-notice-dialog footer input[type=checkbox]{flex:none;width:20px!important;height:20px!important;min-height:0!important;margin:0!important;accent-color:var(--theme-accent,#117580)}
html body dialog.material-notice-dialog footer small{grid-column:1;min-width:0!important;padding-left:28px;font-size:12px!important;line-height:1.4;color:var(--theme-muted,#5d747d)!important}
html body dialog.material-notice-dialog footer small br{display:none}
html body dialog.material-notice-dialog footer .notice-close{grid-column:2;grid-row:1/span 2;width:auto!important;min-width:112px;min-height:44px!important;margin:0!important;border:0!important;border-radius:10px!important;box-shadow:none!important;font-size:15px!important;font-weight:600!important}
}
@media screen and (max-width:767px){
html body dialog.material-notice-dialog[open]{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important}
html body dialog.material-notice-dialog h2{padding:14px 16px 12px!important;font-size:18px!important}
html body dialog.material-notice-dialog .material-notice-list{padding:0 16px!important}
html body dialog.material-notice-dialog:not(#a#b#c) .tablewrap.tablewrap{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;max-height:none!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570,html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody{display:block!important;width:100%!important;min-width:0!important;background:transparent!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 thead{display:none!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px;margin:0 0 8px!important;padding:10px 12px!important;border:0!important;border-radius:10px!important;background:var(--theme-bg,#f2f6f8)!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody tr:last-child{margin-bottom:0!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td{position:static!important;display:grid!important;grid-template-columns:max-content minmax(0,1fr);gap:10px;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;line-height:1.45!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;text-align:left!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(1){display:block!important;margin-bottom:2px!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(1) *{font-size:13px!important;font-weight:600!important;color:var(--theme-ink,#243b53)!important;white-space:normal!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(2){font-weight:400!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(3){color:var(--theme-accent,#117580)!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(n+2)::before{display:block!important;min-width:56px;font-size:13px;font-weight:400;color:var(--theme-muted,#5d747d)}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(2)::before{content:"修改前"!important}
html body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(3)::before{content:"修改後"!important}
html[lang^=en] body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(2)::before{content:"Before"!important}
html[lang^=en] body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(3)::before{content:"After"!important}
html[lang^=es] body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(2)::before{content:"Antes"!important}
html[lang^=es] body dialog.material-notice-dialog:not(#a#b#c) table.tbl570.tbl570 tbody td:nth-child(3)::before{content:"Después"!important}
html body dialog.material-notice-dialog footer{grid-template-columns:minmax(0,1fr);padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px))!important}
html body dialog.material-notice-dialog footer .notice-close{grid-column:1;grid-row:auto;width:100%!important;min-height:46px!important;margin-top:8px!important}
}
/* gantt631: engineering dates in the machine plan dialog */
.eng-dates631{border:1px solid var(--theme-border,#d8dee4);border-radius:8px;padding:10px 12px;margin:0 0 12px;background:var(--theme-soft,#f4f7f8)}.eng-dates631 h3{margin:0 0 6px;font-size:15px}.eng-dates631 dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 14px;margin:0}.eng-dates631 dt{color:var(--theme-muted,#5f6b73)}.eng-dates631 dd{margin:0;font-weight:600;overflow-wrap:anywhere}

/* gantt631 v5 (2026-11-26 design pass): spreadsheet Gantt in the site colour.
   One hue for planned work (status = fill strength + words), ink header bands, hairline grid, red today line. */
.gt631{
  --gt-accent:var(--theme-accent,#336caf);
  --gt-ink:var(--theme-ink,#243b53);
  --gt-muted:var(--theme-muted,#596a7c);
  --gt-card:var(--theme-card,#fff);
  --gt-soft:var(--theme-soft,#e1ecfa);
  --gt-line:var(--theme-border,#c8d5e4);
  --gt-grid:color-mix(in srgb,var(--gt-line) 55%,transparent);
  --gt-done:color-mix(in srgb,var(--gt-accent) 52%,var(--gt-card));
  --gt-todo:color-mix(in srgb,var(--gt-accent) 12%,var(--gt-card));
  --gt-hover:color-mix(in srgb,var(--gt-accent) 6%,var(--gt-card));
  --gt-now:#d23f31;
  --gt-pon:#1d7f4e;
  color:var(--gt-ink);
}
.gt631:focus{outline:none}.gt631:focus-visible{outline:2px solid var(--gt-accent);outline-offset:3px;border-radius:10px}

/* toolbar + legend */
.gt631-bar2{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:2px 0 8px}
.gt631-count{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.gt631-sp{flex:1 1 auto}
.gt631-seg{display:inline-flex}
.gt631 .gt631-seg button{margin:0;border-radius:0;min-height:32px;min-width:40px;padding:4px 12px;font-weight:600;background:var(--gt-card);color:var(--gt-ink);border:1px solid var(--gt-line)}
.gt631 .gt631-seg button+button{border-left:0}
.gt631 .gt631-seg button:first-child{border-radius:8px 0 0 8px}.gt631 .gt631-seg button:last-child{border-radius:0 8px 8px 0}
.gt631 .gt631-seg button[aria-pressed=true]{background:var(--gt-accent);border-color:var(--gt-accent);color:#fff}
.gt631-legend{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;margin:0 0 10px;font-size:12.5px;color:var(--gt-muted)}
.gt631-key{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.gt631-key em{font-style:normal;font-weight:700;color:var(--gt-ink);font-variant-numeric:tabular-nums}
.gt631-sw{display:inline-block;width:18px;height:10px;border-radius:2px;box-sizing:border-box}
.gt631-sw-todo{background:var(--gt-todo);border:1px solid var(--gt-accent)}
.gt631-sw-active{background:var(--gt-accent)}
.gt631-sw-done{background:var(--gt-done)}
.gt631-sw-tbc{border:1px dashed var(--gt-accent);background:linear-gradient(to right,var(--gt-todo),transparent)}
.gt631-sw-now{width:2px;height:14px;border-radius:0;background:var(--gt-now)}
.gt631-note{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:#fff4e0;color:#6b4300;font-size:13px}
.gt631-hint{display:block;margin:6px 2px 0;font-size:12px;color:var(--gt-muted)}
.gt631-hint kbd{font:inherit;font-weight:600;padding:0 4px;border:1px solid var(--gt-line);border-radius:4px;background:var(--gt-card)}

/* table frame */
.gt631-scroll{overflow:auto;max-height:calc(100vh - 230px);min-height:320px;border:1px solid var(--gt-line);border-radius:10px;background:var(--gt-card);overscroll-behavior-x:contain}
.gt631-t{border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.3}
.gt631 .gt631-t th,.gt631 .gt631-t td{padding:0;border:0;border-bottom:1px solid var(--gt-grid);background:var(--gt-card);white-space:nowrap;vertical-align:middle}
.gt631 .gt631-t tbody tr:hover>*{background:var(--gt-hover)}

/* header: ink bands like the spreadsheet (month / week / day) */
.gt631 .gt631-t thead th{position:sticky;top:0;z-index:3;background:var(--gt-ink);color:#fff;font-weight:600;font-size:12.5px;text-align:center;border-bottom:0}
.gt631 .gt631-t thead th.gt631-fix{z-index:5;height:48px;border-right:1px solid rgba(255,255,255,.14)}
.gt631 .gt631-t thead th.gt631-c0{text-align:left;padding-left:14px!important}
.gt631 .gt631-t thead th.gt631-tl{text-align:left}

/* frozen task table */
.gt631-fix{position:sticky;z-index:2;box-sizing:border-box;text-align:center;padding:0 6px!important;border-right:1px solid var(--gt-grid)}
.gt631 th.gt631-fix[scope=row]{text-align:left;font-weight:400;padding:4px 10px 4px 14px!important}
.gt631-id{display:flex;align-items:center;gap:6px;min-width:0}
.gt631 th.gt631-fix[scope=row] button{all:unset;box-sizing:border-box;cursor:pointer;font-weight:700;font-size:13.5px;color:var(--gt-ink);border-radius:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.gt631 th.gt631-fix[scope=row] button:hover{color:var(--gt-accent);text-decoration-color:currentColor}
.gt631 th.gt631-fix[scope=row] button:focus-visible{outline:2px solid var(--gt-accent);outline-offset:2px}
.gt631-loc{display:block;color:var(--gt-muted);font-size:11.5px;line-height:15px;overflow:hidden;text-overflow:ellipsis}
.gt631-loc:empty{display:none}
.gt631-last{border-right:1px solid var(--gt-line)!important;box-shadow:6px 0 8px -6px rgba(20,30,40,.28)}
.gt631-d{font-variant-numeric:tabular-nums;font-size:12.5px;color:var(--gt-ink)}
.gt631-d-mpc,.gt631-d-pon{color:var(--gt-muted)}
.gt631-q{color:var(--gt-muted);font-weight:700}
.gt631-mob{display:none}
.gt631-odd{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--gt-now);color:#fff;font-size:11px;font-weight:800;line-height:1;flex:none}

/* status: same fill language as the bars, always with the word */
.gt631-st{display:inline-block;min-width:48px;box-sizing:border-box;padding:2px 8px;border-radius:999px;font-weight:600;font-size:12px;line-height:16px;text-align:center}
.gt631-st-todo{background:var(--gt-todo);color:var(--gt-ink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gt-accent) 45%,transparent)}
.gt631-st-active{background:var(--gt-accent);color:#fff}
.gt631-st-done{background:var(--gt-done);color:var(--gt-ink)}

/* timeline header */
.gt631-tl{padding:0!important;text-align:left}
.gt631-mo,.gt631-wk{position:relative;height:24px}
.gt631-mo span,.gt631-wk span{position:absolute;top:0;height:100%;line-height:24px;padding-left:6px;box-sizing:border-box;overflow:hidden;overflow:clip;white-space:nowrap}
.gt631-mo span{font-weight:700;font-size:12.5px;border-left:1px solid rgba(255,255,255,.4);padding-left:0}
.gt631-mo b{position:sticky;left:calc(var(--gt-fw) + 1px);display:inline-block;padding:0 8px;font-weight:inherit}
.gt631-wk{background:rgba(255,255,255,.07)}
.gt631-wk span{font-size:11px;font-weight:500;color:rgba(255,255,255,.82);border-left:1px solid rgba(255,255,255,.16);font-variant-numeric:tabular-nums}
.gt631-wk span.now{color:#fff;font-weight:700}
.gt631 .gt631-wk .gt631-tp{z-index:1;left:0;top:3px;height:18px;line-height:18px;padding:0 7px;border:0;border-radius:9px;background:var(--gt-now);color:#fff;font-size:11px;font-weight:700;transform:translateX(-50%);overflow:visible}
.gt631-dy{position:relative;height:20px;background:rgba(255,255,255,.04)}
.gt631-dy span{position:absolute;top:0;height:20px;line-height:20px;text-align:center;font-size:10.5px;color:rgba(255,255,255,.78);box-sizing:border-box;border-left:1px solid rgba(255,255,255,.1);overflow:hidden;font-variant-numeric:tabular-nums}
.gt631-dy span.we{color:rgba(255,255,255,.5)}
.gt631-dy span.now{background:var(--gt-now);color:#fff;font-weight:700}
.gt631.gt-dense .gt631-dy{display:none}
.gt631:not(.gt-dense) .gt631-wk .gt631-tp{display:none}
.gt631.gt-dense .gt631-wk span.now{color:transparent}

/* lanes: week hairlines, weekend tint only when zoomed to days, month rules */
.gt631-lane{position:relative;z-index:0;cursor:grab;background-image:repeating-linear-gradient(to right,transparent 0 calc(var(--d) * 7 - 1px),var(--gt-grid) calc(var(--d) * 7 - 1px) calc(var(--d) * 7))}
.gt631:not(.gt-dense) .gt631-lane{background-image:repeating-linear-gradient(to right,transparent 0 calc(var(--d) * 7 - 1px),var(--gt-line) calc(var(--d) * 7 - 1px) calc(var(--d) * 7)),repeating-linear-gradient(to right,transparent 0 calc(var(--d) * 5),color-mix(in srgb,var(--gt-soft) 55%,transparent) calc(var(--d) * 5) calc(var(--d) * 7))}
.gt631-scroll.gt-drag,.gt631-scroll.gt-drag .gt631-lane{cursor:grabbing;user-select:none}
.gt631-ml{position:absolute;top:0;bottom:0;width:0;border-left:1px solid var(--gt-line)}
.gt631-today{position:absolute;top:0;bottom:0;z-index:1;pointer-events:none}
.gt631-today::after{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 1px);width:2px;background:var(--gt-now)}
.gt631:not(.gt-dense) .gt631-today{background:color-mix(in srgb,var(--gt-now) 8%,transparent)}

/* bars */
.gt631-bar{position:absolute;z-index:2;height:18px;border-radius:4px;box-sizing:border-box;min-width:6px;cursor:pointer;overflow:hidden;overflow:clip;container-type:inline-size;font-size:11px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.gt631-bar:not(.gt631-stg){top:calc(50% - 9px)}
/* the dates stick just right of the frozen columns while a long bar runs under them */
.gt631-bar b{position:sticky;left:calc(var(--gt-fw) + 2px);display:inline-block;padding:0 7px;white-space:nowrap;font-weight:inherit}
@container (max-width:68px){.gt631-bar b{display:none}}
.gt631-b-active{background:var(--gt-accent);color:#fff}
.gt631-b-done{background:var(--gt-done);color:var(--gt-ink)}
.gt631-b-todo{background:var(--gt-todo);color:var(--gt-ink);box-shadow:inset 0 0 0 1px var(--gt-accent)}
.gt631-tbc{color:var(--gt-ink);border:1px dashed var(--gt-accent);background:linear-gradient(to right,var(--gt-todo) 35%,transparent)}
.gt631-tbc-finish{border-right:0;border-radius:4px 0 0 4px}
.gt631-tbc-start{border-left:0;border-radius:0 4px 4px 0;background:linear-gradient(to left,var(--gt-todo) 35%,transparent);text-align:right}
.gt631-bar:hover{filter:brightness(.94)}
.gt631-stg{height:8px;border-radius:2px}

/* milestones: ◆ MPC T0 in ink, ● powered on in green, ringed so they read on top of a bar */
.gt631-mk{position:absolute;z-index:3;top:50%;width:0;height:0;cursor:pointer}
.gt631-sym{display:inline-block;box-sizing:border-box;flex:none}
.gt631-mk .gt631-sym{position:absolute;left:0;top:0;transform:translate(-50%,-50%)}
.gt631-dia{width:11px;height:11px;background:var(--gt-ink);border:2px solid var(--gt-card);box-shadow:0 0 0 1px var(--gt-ink);transform:rotate(45deg)}
.gt631-mk .gt631-dia{transform:translate(-50%,-50%) rotate(45deg)}
.gt631-pon{width:12px;height:12px;border-radius:50%;background:var(--gt-pon);border:2px solid var(--gt-card);box-shadow:0 0 0 1px var(--gt-pon)}
.gt631-mk::before{content:"";position:absolute;left:-10px;top:-12px;width:20px;height:24px}
.gt631-empty{position:sticky;left:calc(var(--gt-fw) + 12px);display:inline-block;line-height:44px;padding-left:12px;font-size:12px;color:var(--gt-muted)}
#engRows .gt631 ~ .pagination{display:none}

/* 1024-class screens: keep tool, status and dates frozen; milestones stay on the chart */
@media(max-width:1180px){
  .gt631{--gt-fw:348px!important}
  .gt631 .gt631-c4,.gt631 .gt631-c5{display:none}
  .gt631 .gt631-lastm{border-right:1px solid var(--gt-line)!important;box-shadow:6px 0 8px -6px rgba(20,30,40,.28)}
  .gt631 .gt631-t thead th.gt631-lastm{border-right-color:rgba(255,255,255,.14)!important}
}
/* phone: only the tool column stays frozen; status and dates sit under the tool name */
@media(max-width:760px){
  .gt631{--gt-fw:132px!important}
  .gt631-t{font-size:12px}
  .gt631 .gt631-fix:not(.gt631-c0){display:none}
  .gt631 .gt631-c0{min-width:132px!important;max-width:132px!important;box-shadow:6px 0 8px -6px rgba(20,30,40,.28);border-right:1px solid var(--gt-line)!important}
  .gt631 th.gt631-fix[scope=row]{padding:5px 8px 5px 10px!important}
  .gt631 .gt631-t thead th.gt631-c0{padding-left:10px!important}
  .gt631-mob{display:block;font-size:11px;line-height:16px;margin-top:2px;color:var(--gt-muted);overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
  .gt631-mob .gt631-st{min-width:0;padding:0 6px;font-size:10.5px;line-height:15px}
  .gt631-loc{font-size:11px;line-height:14px}
  .gt631-lane{min-height:62px}
  .gt631-empty{line-height:62px}
  .gt631-hint{display:none}
  .gt631-legend{gap:4px 12px;font-size:12px}
  .gt631-scroll{max-height:calc(100vh - 200px)}
  .gt631 .gt631-seg button{min-height:36px}
}
/* gantt635: words next to the milestone marks (owner: not small icons only) */
.gt631-mkt{position:absolute;left:9px;top:50%;transform:translateY(-50%);font-size:10.5px;font-weight:700;line-height:14px;color:var(--theme-ink,#24323d);background:color-mix(in srgb,var(--theme-card,#fff) 88%,transparent);padding:0 3px;border-radius:3px;white-space:nowrap;pointer-events:none}
.gt631.gt-dense .gt631-mkt{display:none}
/* gantt636: Notion-like light look (owner: no dark fills with white text) */
#engRows .gt631{--n-text:#37352f;--n-muted:rgba(55,53,47,.62);--n-line:rgba(55,53,47,.10);--n-grid:rgba(55,53,47,.06);--n-hover:rgba(55,53,47,.035);--n-red:#e03e3e;color:var(--n-text);font-size:14px}
#engRows .gt631-scroll{border:1px solid var(--n-line);border-radius:10px;background:#fff;box-shadow:none}
#engRows .gt631 .gt631-t th,#engRows .gt631 .gt631-t td{background:#fff;border-color:var(--n-line);border-bottom:1px solid var(--n-line)}
#engRows .gt631 .gt631-t tbody tr:hover>*{background:#fbfbfa}
#engRows .gt631 .gt631-t thead th,#engRows .gt631 .gt631-t thead th.gt631-tl,#engRows .gt631 .gt631-t thead th.gt631-fix{background:#fff!important;color:var(--n-muted)!important;font-weight:500;font-size:12.5px;border-bottom:1px solid var(--n-line)}
#engRows .gt631 .gt631-t thead th.gt631-fix{text-align:left;padding-left:10px}
#engRows .gt631 .gt631-mo span,#engRows .gt631 .gt631-wk span,#engRows .gt631 .gt631-dy span{color:var(--n-muted);border-color:var(--n-grid);background:transparent}
#engRows .gt631 .gt631-mo b,#engRows .gt631 .gt631-mo span{color:var(--n-text);font-weight:600;font-size:13px}
#engRows .gt631 .gt631-dy span.we{background:rgba(55,53,47,.03);color:rgba(55,53,47,.45)}
#engRows .gt631 .gt631-dy span.now{background:transparent;color:#fff;position:absolute}
#engRows .gt631 .gt631-dy span.now::before{content:"";position:absolute;left:50%;top:50%;width:20px;height:20px;transform:translate(-50%,-50%);border-radius:50%;background:#fde4e2;z-index:-1}
#engRows .gt631 .gt631-dy span.now{color:var(--n-red);font-weight:700;z-index:0}
#engRows .gt631 .gt631-wk span.now,#engRows .gt631 .gt631-wk .gt631-tp{background:#fde4e2!important;color:var(--n-red)!important;border-radius:4px}
#engRows .gt631 .gt631-today{background:transparent!important;border:0!important}
#engRows .gt631 .gt631-today::after{display:block;width:2px;left:calc(50% - 1px);background:#e03e3e!important}
#engRows .gt631 .gt631-lane{background-image:repeating-linear-gradient(to right,transparent 0 calc(var(--d) - 1px),var(--n-grid) calc(var(--d) - 1px) var(--d))!important}
#engRows .gt631.gt-dense .gt631-lane{background-image:repeating-linear-gradient(to right,transparent 0 calc(var(--d) * 7 - 1px),var(--n-line) calc(var(--d) * 7 - 1px) calc(var(--d) * 7))!important}
#engRows .gt631 .gt631-ml{border-left:1px solid #e3e2df!important;background:transparent!important}
/* tool column */
#engRows .gt631 th.gt631-fix[scope=row]{padding-left:10px}
#engRows .gt631 th.gt631-fix[scope=row] button{color:var(--n-text);font-weight:600;font-size:14px}
#engRows .gt631 th.gt631-fix[scope=row] button:hover{color:var(--n-text);background:var(--n-hover);text-decoration:none;border-radius:4px}
#engRows .gt631 .gt631-loc{color:var(--n-muted);font-size:12px}
#engRows .gt631 .gt631-d{color:var(--n-text);font-weight:500}
#engRows .gt631 .gt631-last{border-right:1px solid var(--n-line)!important;box-shadow:none}
/* status tags: soft colour, dark text (Notion select style) */
#engRows .gt631 .gt631-st{border-radius:4px;padding:1px 7px;font-weight:500;font-size:12.5px;border:0}
#engRows .gt631 .gt631-st-done{background:#dbeddb;color:#1c3829}
#engRows .gt631 .gt631-st-active{background:#d3e5ef;color:#183347}
#engRows .gt631 .gt631-st-todo{background:#e9e8e5;color:#37352f}
/* bars: light cards with the tool name, dark text */
#engRows .gt631 .gt631-bar{height:26px;border-radius:6px;border:1px solid rgba(55,53,47,.14);box-shadow:0 1px 2px rgba(15,15,15,.06);color:var(--n-text)!important;text-align:left;padding:0 8px;line-height:24px;font-size:12.5px}
#engRows .gt631 .gt631-bar b{font-weight:400}
#engRows .gt631 .gt631-bn{font-weight:600}
#engRows .gt631 .gt631-bd{color:var(--n-muted);margin-left:4px}
#engRows .gt631 .gt631-b-done{background:#e8f2e8}
#engRows .gt631 .gt631-b-active{background:#e3eef5;border-color:rgba(24,51,71,.22)}
#engRows .gt631 .gt631-b-todo{background:#f4f3f1}
#engRows .gt631 .gt631-tbc{background:#fff;border:1px dashed rgba(55,53,47,.35)}
#engRows .gt631 .gt631-bar:hover{box-shadow:0 2px 6px rgba(15,15,15,.12)}
/* milestones as small labelled chips */
#engRows .gt631 .gt631-mkt{background:#fff;color:var(--n-text);border:1px solid var(--n-line);border-radius:4px;font-weight:500}
/* toolbar: quiet text buttons like Notion */
#engRows .gt631 .gt631-seg button{background:#fff;color:var(--n-text);border-color:var(--n-line);font-weight:500}
#engRows .gt631 .gt631-seg button[aria-pressed=true]{background:rgba(55,53,47,.08);color:var(--n-text);border-color:var(--n-line)}
#engRows .gt631 .gt631-tbl{background:#fff;color:var(--n-muted);border:1px solid var(--n-line);border-radius:6px;min-height:32px;padding:4px 10px;font-weight:500}
#engRows .gt631 .gt631-tbl[aria-pressed=false]{color:var(--n-text);background:rgba(55,53,47,.06)}
#engRows .gt631 .gt631-legend,#engRows .gt631 .gt631-hint{color:var(--n-muted)}
#engRows .gt631 .gt631-sw-done{background:#dbeddb;border:0}#engRows .gt631 .gt631-sw-active{background:#d3e5ef;border:0}#engRows .gt631 .gt631-sw-todo{background:#e9e8e5;border:0}
/* hide-table mode: only the tool column stays */
#engRows .gt631.gt-notable .gt631-fix:not(.gt631-c0){display:none}
#engRows .gt631.gt-notable .gt631-c0{border-right:1px solid var(--n-line)!important}
/* gantt640: phone — one-line toolbar, shorter rows, narrower tool column */
@media(max-width:760px){
  #engRows .gt631{--gt-fw:116px!important}
  #engRows .gt631 .gt631-c0{min-width:116px!important;max-width:116px!important}
  #engRows .gt631 th.gt631-fix[scope=row]{padding:4px 6px 4px 8px!important;vertical-align:middle}
  #engRows .gt631 th.gt631-fix[scope=row] button{min-height:0!important;padding:0!important;margin:0!important;font-size:13.5px;line-height:18px}
  #engRows .gt631 .gt631-loc{font-size:11px;line-height:14px;white-space:nowrap}
  #engRows .gt631 .gt631-mob{white-space:nowrap;margin-top:1px;font-size:11px;line-height:16px}
  #engRows .gt631 .gt631-lane{min-height:54px}
  #engRows .gt631 .gt631-empty{line-height:54px}
  #engRows .gt631 .gt631-legend,#engRows .gt631 .gt631-tbl{display:none}
  #engRows .gt631 .gt631-bar2{flex-wrap:nowrap;gap:6px}
  #engRows .gt631 .gt631-count{font-size:13px;white-space:nowrap}
  #engRows .gt631 .gt631-seg button{min-height:34px;min-width:34px;padding:4px 8px}
  #engRows .gt631 .gt631-bar{height:24px;line-height:22px;font-size:11.5px;padding:0 6px}
}

/* GANTT B2 #365: local visual polish; existing data and feature gates unchanged. */
#engRows .gt631{
  --n-text:var(--au-text,var(--theme-ink,#25313f));
  --n-muted:var(--au-muted,#465366);
  --n-line:var(--au-border,#d4dce5);
  --n-grid:var(--au-line,#e7edf3);
  color:var(--n-text);
  min-width:0;
  max-width:100%;
}
#engRows .gt631 .gt631-scroll{border-radius:12px;overscroll-behavior-x:contain;scrollbar-gutter:stable}
#engRows .gt631 .gt631-t thead th.gt631-c0{z-index:7}
#engRows .gt631 .gt631-t tbody th.gt631-c0{z-index:3}
#engRows .gt631 .gt631-today::after{width:3px}
#engRows .gt631 .gt631-st-done{border-inline-start:2px solid #426a54}
#engRows .gt631 .gt631-st-active{border-inline-start:2px solid #416581}
#engRows .gt631 .gt631-st-todo{border-inline-start:2px dotted #586171}
#engRows .gt631 .gt631-bar.gt631-b-todo{border-inline-start:2px dotted #586171}
#engRows .gt631 .gt631-bar.gt631-b-active{border-inline-start:2px solid #416581}
#engRows .gt631 .gt631-bar.gt631-b-done{border-inline-start:2px solid #426a54}
#engRows .gt631 :is(.gt631-tbl,.gt631-seg button):focus-visible,
#engRows .gt631:focus-visible{outline:2px solid var(--gt-accent,#284b73);outline-offset:2px}
@media(max-width:760px){
  #engRows .gt631 .gt631-bar2{flex-wrap:wrap;gap:6px 10px}
  #engRows .gt631 .gt631-legend{display:flex;flex-wrap:wrap;row-gap:5px}
  #engRows .gt631 .gt631-tbl{display:inline-flex;align-items:center;min-height:44px;max-width:100%;white-space:normal}
  #engRows .gt631 .gt631-seg{max-width:100%;flex-wrap:wrap}
  #engRows .gt631.gt-notable{--gt-fw:0px!important}
  #engRows .gt631.gt-notable .gt631-c0{display:none}
  #engRows .gt631 .gt631-seg button{min-height:44px;min-width:44px}
  html body #app #body #engRows .gt631 th.gt631-fix[scope=row] button[data-eng-plan]{min-height:44px!important;white-space:normal}
  #engRows .gt631 .gt631-mob{white-space:normal;overflow-wrap:anywhere}
  #engRows .gt631 .gt631-loc{white-space:normal;overflow-wrap:anywhere}
}
/* GANTT-MOBILE-FIX: date button for a row whose bar is off screen; "start date not set" in words */
.gt631 .gt631-off{position:absolute;top:50%;transform:translateY(-50%);z-index:9;box-sizing:border-box;max-width:220px;min-height:28px;padding:3px 9px;border:1px solid var(--n-line,#d4dce5);border-radius:999px;background:#fff;color:var(--n-text,#25313f);font-family:inherit;font-weight:600;font-size:12px;line-height:20px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;box-shadow:0 1px 3px rgba(15,15,15,.1)}
.gt631 .gt631-off.gt631-off-r{transform:translate(-100%,-50%)}
/* GANTT-SWIPE-1204: sticky strip over the visible lane (wire() sets the three variables only when they change) */
.gt631 .gt631-offw{position:sticky;left:var(--gt-offl,0px);z-index:9;display:block;width:var(--gt-lw,0px);height:100%;pointer-events:none}
.gt631 .gt631-offw>.gt631-off{left:var(--gt-inset,6px);width:max-content;pointer-events:auto}
.gt631 .gt631-offw>.gt631-off.gt631-off-r{left:calc(100% - var(--gt-inset,6px))}
.gt631 .gt631-off[hidden],.gt631 .gt631-offw:not([data-side=l],[data-side=r]),.gt631 .gt631-offw:not([data-side=r]) .gt631-or,.gt631 .gt631-offw[data-side=r] .gt631-ol{display:none}
.gt631 .gt631-off:hover{background:#f4f6f8}
.gt631 .gt631-off:focus-visible{outline:2px solid var(--gt-accent,#284b73);outline-offset:2px}
.gt631 .gt631-d .gt631-nostart{display:inline-block;white-space:normal;font-size:11px;line-height:13px;font-weight:600}
.gt631 .gt631-mob .gt631-nostart{color:#8a4b12;font-weight:600}
@media(max-width:760px){.gt631 .gt631-off{min-height:32px;max-width:170px;font-size:11.5px}}

/* GANTT-FILTER (2026-11-30): status + MPC T0 filter row above the legend; same quiet look as the toolbar. */
.gt631 tbody tr[hidden],.gt631-filter [hidden]{display:none!important}
#engRows .gt631 .gt631-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 8px}
#engRows .gt631 .gt631-fst button{min-width:64px}
#engRows .gt631 .gt631-fst button[aria-pressed=true]{background:rgba(55,53,47,.08);font-weight:600}
#engRows .gt631 .gt631-fst button[aria-pressed=true]::before{content:"\2713";margin-inline-end:4px}
#engRows .gt631 .gt631-fst button[aria-pressed=false]{color:var(--n-muted);text-decoration:line-through;text-decoration-color:rgba(55,53,47,.35)}
#engRows .gt631 .gt631-fld{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--n-muted);white-space:nowrap}
#engRows .gt631 .gt631-fld select,#engRows .gt631 .gt631-nin{min-height:32px;margin:0;padding:4px 8px;border:1px solid var(--n-line);border-radius:6px;background:#fff;color:var(--n-text);font:inherit;font-size:13px}
#engRows .gt631 .gt631-nin{width:5.5em}
#engRows .gt631 .gt631-clr{min-height:32px;margin:0;padding:4px 10px;border:1px solid var(--n-line);border-radius:6px;background:#fff;color:var(--n-text);font-weight:500}
#engRows .gt631 .gt631-clr:disabled{color:var(--n-muted);opacity:.6;cursor:default}
#engRows .gt631 .gt631-fnote{font-size:12px;color:var(--n-muted)}
#engRows .gt631 :is(.gt631-fld select,.gt631-nin,.gt631-clr):focus-visible{outline:2px solid var(--gt-accent,#284b73);outline-offset:2px}
#engRows .gt631 .gt631-none td{padding:14px 12px;color:var(--n-muted);background:#fff}
#engRows .gt631 .gt631-nonebox{position:sticky;left:12px;display:inline-block}
@media(max-width:760px){
  #engRows .gt631 .gt631-filter{gap:6px 8px}
  #engRows .gt631 .gt631-fst{flex-wrap:nowrap;max-width:100%}
  #engRows .gt631 .gt631-fst button{min-height:44px;min-width:44px;padding:4px 10px}
  #engRows .gt631 .gt631-fld select,#engRows .gt631 .gt631-nin,#engRows .gt631 .gt631-clr{min-height:44px;font-size:16px}
  #engRows .gt631 .gt631-fnote{flex-basis:100%}
}
/* GANTT-FILTER r3: the app turns <select> into .unified-choice (input + ▼ toggle); give the ▼ toggle 44x44 on touch layouts, like visual-c1 does elsewhere */
@media screen and (max-width:1024px){
  html body #app #engRows .gt631 .gt631-filter .unified-choice{min-height:44px}
  html body #app #engRows .gt631 .gt631-filter .unified-choice>input{min-height:44px!important;padding-right:44px!important}
  html body #app #engRows .gt631 .gt631-filter .unified-choice>.quantity-toggle{min-height:44px!important;height:44px!important;min-width:44px!important;width:44px!important}
}
/* /assets/ux555.1afc135e34bdcc71.css */
.ux555-request-actions{width:330px;min-width:330px}.ux555-action-slot{display:flex;align-items:center;gap:6px;min-height:40px}.ux555-request-menu{position:relative;flex:0 0 40px;width:40px}.ux555-request-menu>summary{list-style:none;cursor:pointer;text-align:center;font-size:24px;border:1px solid var(--theme-border,#cbd8df);border-radius:6px;height:36px}.ux555-request-menu>summary::-webkit-details-marker{display:none}.ux555-request-menu[open]>div{position:absolute;z-index:40;right:0;width:230px;padding:12px;border:1px solid var(--theme-border,#cbd8df);border-radius:8px;background:var(--theme-card,#fff);box-shadow:0 4px 20px #0002}.ux555-request-menu small{white-space:normal;color:var(--theme-muted,#64748b)}.ux555-request-menu button:disabled{color:var(--theme-muted,#64748b)}@media(max-width:600px){.ux555-request-actions{width:290px;min-width:290px}}
.ux555-navigation{position:fixed;bottom:0;z-index:900;background:var(--theme-bg,#f5f7fa);padding:28px;overflow:auto}.ux555-skeleton{display:grid;gap:18px}.ux555-skeleton i{display:block;height:64px;border-radius:10px;background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0);background-size:200% 100%;animation:ux555-pulse 1.4s infinite}.ux555-skeleton i:first-child{width:45%;height:32px}.ux555-skeleton i:nth-child(2){height:110px}@keyframes ux555-pulse{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.ux555-skeleton i{animation:none}}

.ux555-movements{table-layout:fixed!important;width:100%!important;min-width:0!important}.ux555-movements th,.ux555-movements td{white-space:normal!important;overflow-wrap:anywhere;padding:8px 6px!important;font-size:12px}.ux555-movements [hidden]{display:none!important}.ux555-material-name{display:block;color:var(--theme-muted,#64748b);margin-top:4px}.ux555-movements [data-movement-column555=select]{width:38px}.ux555-movements [data-movement-column555=material]{width:15%}.ux555-movements [data-movement-column555=spec]{width:16%}.ux555-movements [data-movement-column555=actions]{width:15%}.ux555-movements button{padding:4px 6px;font-size:12px;max-width:100%;white-space:normal}.ux555-column-picker{position:relative;margin-left:auto}.ux555-column-picker>summary{cursor:pointer;padding:8px;border:1px solid var(--theme-border,#cbd8df);border-radius:6px}.ux555-column-picker>div{position:absolute;right:0;background:var(--theme-card,#fff);padding:14px;z-index:30;min-width:220px;box-shadow:0 4px 18px #0002}.ux555-column-picker label{display:flex;gap:8px;padding:6px}.ux555-column-picker input{width:auto}@media(max-width:600px){.ux555-movements{min-width:1000px!important}}

.stock-view .cards .card{position:relative;min-height:180px;color:var(--theme-ink,#334155)!important}.stock-view .cards .card strong{display:block!important;font-size:30px!important;line-height:1.25!important;font-weight:700!important;color:var(--theme-accent,#0f766e)!important;margin:14px 0 8px!important;font-variant-numeric:tabular-nums}.stock-view .cards .card strong small{font-size:12px}.stock-view .stock-card-filter{display:flex;flex-direction:column;text-align:left;align-items:flex-start}.stock-view .stock-card-filter>span:first-child,.stock-view .stock-card-filter>strong:first-of-type{width:100%}.ux555-unit-details{font-size:12px;margin-top:8px}.ux555-unit-details>summary{cursor:pointer;color:var(--theme-muted,#475569)}.ux555-unit-details p{margin:6px 0;overflow-wrap:anywhere}
.stock-view .cards>.card{height:138px!important;min-height:138px!important}.stock-view .cards .stock-card-filter{position:static!important;height:100%!important;min-height:0!important}.stock-view .cards .stock-card-filter>span:first-child{position:absolute;left:10px;top:12px;width:calc(100% - 20px);padding-right:45px;font-size:12px;line-height:18px}.stock-view .cards .card strong{position:absolute!important;left:10px;top:47px;margin:0!important}.stock-view .cards .stock-card-filter>small{display:block!important;position:absolute;left:10px;top:87px;font-size:10px;line-height:14px}.stock-view .cards .stock-card-hint{display:none!important}.stock-view .cards .ux555-unit-details{position:absolute;left:10px;bottom:6px;margin:0}.stock-view .cards .ux555-unit-details[open]{z-index:30;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#cbd8df);padding:8px;max-width:250px}
.ux555-column-picker>div{max-height:60vh;overflow-y:auto}

#vendorStockCards .cards>.card{position:relative;height:138px!important;min-height:138px!important;color:var(--theme-ink,#334155)!important}#vendorStockCards .card>span:first-child{position:absolute;top:12px;left:10px;right:10px;line-height:18px;font-size:12px}#vendorStockCards .card>strong{position:absolute;top:47px;left:10px;margin:0!important;font-size:30px!important;line-height:1.25!important;font-weight:700!important;color:var(--theme-accent,#0f766e)!important;font-variant-numeric:tabular-nums}#vendorStockCards .card>small{position:absolute;left:10px;top:87px;display:block!important;font-size:10px;line-height:14px}#vendorStockCards .ux555-unit-details{position:absolute;left:10px;bottom:6px;margin:0}#vendorStockCards .ux555-unit-details[open]{z-index:30;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#cbd8df);padding:8px}
/* HOTFIX-8555 (owner 11/30, iPhone): on phones the six contractor stock cards sat in one sideways-scrolling row with no hint (the
   third card looked cut off), and every part of a card was absolutely placed in a fixed 138px box, so the unit-details line overlapped
   the caption and, when opened, covered the big number. Phones and tablets (also a phone turned sideways, 844 wide): columns that all
   fit, and each card's title, number, caption and unit details stacked in normal flow (details open downward, nothing covered).
   Desktop (>1024) unchanged. */
@media screen and (max-width:1024px){
  /* as many columns as fit (3 on a 390 phone, 6 on a phone turned sideways or a tablet), never a hidden sideways scroll */
  html body #app #vendorStockCards>.cards.cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(108px,1fr))!important;gap:8px!important;overflow:visible!important;scroll-snap-type:none!important;padding:0!important}
  html body #app #vendorStockCards>.cards>.card.card{flex:none!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;padding:10px!important}
  html body #app #vendorStockCards>.cards>.card.card>*{position:static!important;inset:auto!important;margin:0!important;max-width:100%!important;overflow-wrap:anywhere}
  html body #app #vendorStockCards>.cards>.card.card>strong{font-size:24px!important;line-height:1.15!important}
  html body #app #vendorStockCards>.cards>.card.card>small{font-size:11px!important;line-height:1.35!important}
  html body #app #vendorStockCards>.cards>.card.card .ux555-unit-details[open]{padding:6px!important;border-radius:6px}
  /* request "…" menu: on phone cards the 230px floating menu opened leftwards off the screen and the card clipped it, so Delete
     could not be tapped. On phones and tablets it opens under the buttons, inside the card: the card grows by the menu height
     (measured in /assets/mobile584.190aa961f8fc88d3.mjs), the buttons do not move and nothing is clipped. */
  html body #app .ux555-action-slot{position:relative!important}
  html body #app .ux555-action-slot:has(>.ux555-request-menu[open]){margin-bottom:calc(var(--menu8555,64px) + 8px)!important}
  html body #app .ux555-action-slot>.ux555-request-menu[open]{position:static!important}
  html body #app .ux555-action-slot>.ux555-request-menu[open]>div{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:0!important;bottom:auto!important;width:auto!important;max-width:none!important;z-index:30!important;box-sizing:border-box;padding:10px!important}
  html body #app .ux555-request-menu[open]>div button{min-height:44px}
}
/* HOTFIX-8555 next (design review polish) */
@media screen and (max-width:1024px){
  /* "…" is the same 44px as "查看" next to it (was 36px, its top edge sat 4px higher) */
  html body #app .ux555-action-slot>.ux555-request-menu>summary{height:44px!important;min-height:44px!important;width:44px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important}
  html body #app .ux555-action-slot{align-items:flex-start!important} /* top-aligned: the <details> box is 52px around its 44px summary */
  /* the opened menu is not a box inside the card any more (no frame around the framed button) */
  html body #app .ux555-action-slot>.ux555-request-menu[open]>div{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
  /* contractor category cards: titles wrap to 1–3 lines; the title takes the free height so big numbers line up across a row */
  html body #app #vendorStockCards>.cards>.card.card>span:first-child{flex:1 0 auto!important}
}
/* a real Delete (request-lifecycle546 marks it) reads as a danger action, every width */
html body #app [data-request-menu-body] button[data-danger8555]{color:#b42318!important;border-color:#e3a39c!important;background:#fff6f5!important}

/* inventory-kpi562.css */
@media screen {
 .stock-view .cards>.card:has(.stock-card-filter[aria-pressed="true"]){background:var(--theme-bg,#eff7f7)!important;border:2px solid var(--theme-brand,#136568)!important}
 .stock-view .cards>.card:has(.stock-card-filter[aria-pressed="true"]) .stock-card-filter{background:transparent!important}
 .inventory-result562{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0;font-size:14px;color:var(--theme-muted,#475569)}
 .inventory-result562 button{background:transparent;border:0;padding:4px;color:var(--theme-accent,#136568);text-decoration:underline;cursor:pointer}
}

/* /assets/inventory565.c73c9ad5c5cf5e02.css */
@font-face {
  font-family: 'InventoryInter565';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts565/font-0.918379d4b140cf23.ttf) format('truetype');
}
@font-face {
  font-family: 'InventoryInter565';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts565/font-1.dab9a59430c681d7.ttf) format('truetype');
}
@font-face {
  font-family: 'InventoryTC565';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts565/font-2.d0148eb8194a295b.ttf) format('truetype');
}
@font-face {
  font-family: 'InventoryTC565';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts565/font-3.57478b3874aa3dd2.ttf) format('truetype');
}

/* Owner-approved inventory mockup. Scope all overrides to this screen. */
@media screen {
html body:has(.inv565) {background:var(--theme-bg,#f7f8fa);color:var(--theme-ink,#1c2430)}
html body #app>.content:has(.inv565){padding:24px!important;min-width:0;background:var(--theme-bg,#f7f8fa);font:14px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif;font-variant-numeric:tabular-nums}
html body #app .inv565-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin:0 0 20px!important;padding:0!important;border:0!important;flex-wrap:wrap}
html body #app .inv565-head h1{font-size:22px!important;font-weight:600!important;margin:0!important;color:var(--theme-ink,#1c2430)}
html body #app .inv565-head [data-updated-at]{display:block!important;font-size:12px!important;color:var(--theme-muted,#6b7380)!important;margin:4px 0 0!important}
html body #app .inv565-head>.muted,html body #app .inv565-head>[data-material-notices]{display:none!important}
html body #app .inv565-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
html body #app :is(.inv565,.inv565-head) button,html body #app .inv565-columns>summary{height:32px!important;min-height:32px!important;padding:0 14px!important;border-radius:8px!important;border:1px solid var(--theme-border,#e6e8ec)!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#1c2430)!important;font:500 13px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif!important;box-shadow:none!important;white-space:nowrap;cursor:pointer}
html body #app .inv565-head button.primary{background:var(--theme-accent,#18384b)!important;border-color:var(--theme-brand,#18384b)!important;color:#fff!important}
html body #app .inv565-actions .inactive-toggle541{display:inline-flex!important;align-items:center;gap:8px;height:32px;padding:0 12px;border:1px solid var(--theme-border,#e6e8ec);border-radius:8px;background:var(--theme-card,#fff);font-size:13px;font-weight:500;white-space:nowrap;margin:0!important}
html body #app .inv565-actions input{position:absolute;opacity:0;width:1px;height:1px}
html body #app .inv565-actions .sw{width:28px;height:16px;border-radius:8px;background:#d4d8de;position:relative;flex:none}
html body #app .inv565-actions .sw:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--theme-card,#fff)}
html body #app .inv565-actions input:checked+.sw{background:var(--theme-accent,#18384b)}
html body #app .inv565-actions input:checked+.sw:after{left:14px}
html body #app .inv565-actions .badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#fff4ed;color:#c2410c;font-size:12px;font-weight:600;margin-left:6px}
html body #app #body.inv565>.cards{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important;padding:0!important;overflow:visible!important}
html body #app #body.inv565>.cards>.card{display:block!important;height:auto!important;min-height:0!important;min-width:0!important;padding:0!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:10px!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;overflow:hidden!important}
html body #app #body.inv565>.cards>.card:has([aria-pressed=true]){border:1px solid var(--theme-brand,#18384b)!important;box-shadow:0 0 0 3px #eef4f7!important}
html body #app #body.inv565>.cards>.card .stock-card-filter{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important;padding:8px 12px!important;position:static!important;height:auto!important;width:100%!important;min-height:0!important;border:0!important;background:transparent!important;white-space:normal!important;text-align:left!important}
html body #app #body.inv565>.cards>.card .stock-card-filter>span:first-child{position:static!important;padding:0!important;width:auto!important;flex:1;min-width:0;color:var(--theme-muted,#6b7380)!important;font-size:12px!important;line-height:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #app #body.inv565>.cards>.card .stock-card-filter>strong{position:static!important;display:block!important;margin:0!important;font-size:20px!important;line-height:30px!important;font-weight:600!important;color:var(--theme-ink,#1c2430)!important;letter-spacing:-.01em;width:auto!important}
html body #app #body.inv565>.cards>.card[data-inventory-preset565="1"] strong{color:#b45309!important}
html body #app #body.inv565>.cards>.card[data-inventory-preset565="2"] strong{color:#c2410c!important}
html body #app #body.inv565>.cards :is(small,.stock-card-hint,.card-settings,.ux555-unit-details){display:none!important}
html body #app #body.inv565 .inv565-bar{display:flex!important;gap:8px!important;align-items:center!important;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;padding:10px!important;margin:0 0 12px!important;min-width:0}
html body #app #body.inv565 .inv565-search{position:relative;flex:1;min-width:100px}
html body #app #body.inv565 .inv565-search svg{position:absolute;left:11px;top:8px}
html body #app #body.inv565 .inv565-search input{height:32px!important;min-height:32px!important;width:100%!important;max-width:none!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;padding:0 12px 0 34px!important;font:inherit!important;background:var(--theme-card,#fff)!important}
html body #app #body.inv565 .inv565-bar>:is(.unified-choice,select){width:150px!important;min-width:150px!important;max-width:190px!important;flex:0 0 150px!important;margin:0!important}
html body #app #body.inv565 .inv565-bar>.unified-choice{position:relative;height:32px!important;min-height:32px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;background:var(--theme-card,#fff)}
html body #app #body.inv565 .inv565-bar>.unified-choice>input[role=combobox]{height:30px!important;min-height:30px!important;width:100%!important;padding:0 30px 0 12px!important;font:inherit!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #app #body.inv565 .inv565-bar>.unified-choice>.quantity-toggle{position:absolute;right:0;top:0;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;background:transparent!important}
html body #app #body.inv565 .inv565-bar :is(select,.unified-choice-trigger){height:32px!important;min-height:32px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;padding:0 12px!important;font:inherit!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#1c2430)!important}
html body #app #body.inv565 .ghost{border-color:transparent!important;background:transparent!important;color:var(--theme-muted,#6b7380)!important}
html body #app #body.inv565 .inv565-advanced{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;margin-bottom:12px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px}
html body #app #body.inv565 [hidden]{display:none!important}
html body #app #body.inv565 .inventory-result562{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--theme-muted,#6b7380);font-size:12px;margin:0 2px 8px}
html body #app #body.inv565 .inventory-result562 .chip{height:24px!important;min-height:24px!important;padding:0 10px!important;border:0!important;border-radius:12px!important;background:var(--theme-soft,#eef4f7)!important;color:var(--theme-ink,#18384b)!important;font-size:12px!important;text-decoration:none}
html body #app .inv565-inactive-note{margin-left:auto}
html body #app #body.inv565>.tablewrap{background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:12px 12px 0 0!important;overflow:auto!important;max-height:var(--inventory-table-height,650px)!important;width:100%!important;max-width:100%!important;margin:0!important;box-shadow:none!important}
html body #app #body.inv565 .inv565-table{display:table!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;font:inherit!important}
html body #app #body.inv565 .inv565-table :is(th,td){display:table-cell!important;position:static!important;left:auto!important;right:auto!important;min-width:0!important;width:auto!important;max-width:none!important;border-left:0!important;border-right:0!important;white-space:normal!important;overflow-wrap:anywhere;box-shadow:none!important;text-align:left;vertical-align:middle;color:var(--theme-ink,#1c2430);background:var(--theme-card,#fff)!important;line-height:21px!important}
html body #app #body.inv565 .inv565-table th{font-size:12px!important;font-weight:600!important;color:var(--theme-muted,#6b7380)!important;padding:8px 12px!important;border-bottom:1px solid var(--theme-border,#e6e8ec)!important;background:var(--theme-bg,#fafbfc)!important;white-space:nowrap!important}
html body #app #body.inv565 .inv565-table td{font-weight:400!important;padding:9px 12px!important;border-bottom:1px solid #f0f1f3!important;font-size:13px!important}
html body #app #body.inv565 .inv565-table tr:last-child td{border-bottom:0!important}
html body #app #body.inv565 .inv565-table [hidden]{display:none!important}
html body #app #body.inv565 .inv565-table :is(th,td):not([hidden]){display:table-cell!important}
html body #app #body.inv565 .inv565-table [hidden]{display:none!important}
html body #app #body.inv565 .inv565-table [data-inventory565=material]{width:27%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=category]{width:10%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=spec]{width:20%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=unit]{width:6%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=received],html body #app #body.inv565 .inv565-table [data-inventory565=issued]{width:8%!important;text-align:right!important}
html body #app #body.inv565 .inv565-table [data-inventory565=balance]{width:11%!important;text-align:right!important}
html body #app #body.inv565 .inv565-table [data-inventory565=safety]{width:10%!important;text-align:right!important}
html body #app #body.inv565 .inv565-table td:is([data-inventory565=received],[data-inventory565=issued],[data-inventory565=safety]){color:var(--theme-muted,#9aa1ab)!important}
html body #app #body.inv565 .inv565-table td.bad{color:#c2410c!important;font-weight:600}
html body #app .inv565-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#c2410c;margin-right:6px}
html body #app #body.inv565 .inv565-table .material-id-content{display:flex!important;align-items:center;gap:10px;font-weight:600!important;white-space:normal!important}
html body #app #body.inv565 .inv565-table [data-material-photo]{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;flex:none;border-radius:6px!important;background:var(--theme-soft,#eef0f3)!important}
html body #app #body.inv565 .inv565-table .material-id-content>span{min-width:0}
html body #app #body.inv565 .inv565-table .inv565-names{font-size:12px!important;color:var(--theme-muted,#6b7380)!important;font-weight:400!important;line-height:18px}
html body #app #body.inv565 .inv565-table .tag{display:inline-block;font-size:12px;padding:2px 8px;border-radius:6px;background:var(--theme-bg,#f2f4f6);color:var(--theme-muted,#4b5563)}
html body #app #body.inv565 .inv565-row-details{font-size:11px;margin-left:42px;color:var(--theme-muted,#6b7380)}
html body #app #body.inv565 .inv565-row-details>summary{cursor:pointer;list-style:none}
html body #app #body.inv565 .inv565-row-details:not([open]){height:0;position:relative;top:3px;opacity:0}
html body #app #body.inv565 tr:hover .inv565-row-details,html body #app #body.inv565 .inv565-row-details:focus-within{opacity:1}
html body #app #body.inv565 :is(.compact442-controls,.m377-toggle){display:none!important}
html body #app #body.inv565>.panel:has(.stock-shortages282){position:static!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important}
html body #app #body.inv565 .stock-shortages282>summary{display:none!important}
html body #app #body.inv565>.panel:has(.stock-shortages282:not([open])){display:none!important}
html body #app #body.inv565 .inv565-columns>div{display:flex;gap:8px;flex-wrap:wrap;padding:12px}
html body #app .inv565-columns label{display:flex;align-items:center;gap:6px}
html body #app .inv565-columns input{width:auto}
@media(max-width:900px){
html body #app>.content:has(.inv565){padding:16px!important;margin-left:0!important;width:100%!important;max-width:100%!important}
html body #app #body.inv565>.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app #body.inv565 .inv565-bar{flex-wrap:wrap}
html body #app #body.inv565 .inv565-search{flex-basis:100%}
html body #app #body.inv565 .inv565-bar>:is(.unified-choice,select){flex:1 1 44%!important;min-width:0!important;width:44%!important;max-width:none!important}
html body #app #body.inv565 .inv565-table [data-inventory565=category],html body #app #body.inv565 .inv565-table [data-inventory565=received],html body #app #body.inv565 .inv565-table [data-inventory565=issued]{display:none!important}
html body #app #body.inv565 .inv565-table :is(th,td):is([data-inventory565=category],[data-inventory565=received],[data-inventory565=issued]){display:none!important}
html body #app #body.inv565 .inv565-table :is(th,td){padding:9px 5px!important;font-size:11px!important;white-space:normal!important}
html body #app #body.inv565 .inv565-table [data-inventory565=material]{width:32%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=spec]{width:25%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=unit]{width:9%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=balance],html body #app #body.inv565 .inv565-table [data-inventory565=safety]{width:17%!important}
html body #app #body.inv565 .inv565-table .material-id-content{gap:4px!important;align-items:flex-start!important}
html body #app #body.inv565 .inv565-table .inv565-names{font-size:12px!important}
html body #app #body.inv565 .inv565-table th{font-size:12px!important}
html body #app #body.inv565>.tablewrap{max-height:650px!important}
html body #app #body.inv565 .inv565-row-details{margin-left:0;opacity:1}
html body #app .inv565-actions{gap:8px;width:100%}
html body #app .inv565-head .inv565-actions button,html body #app .inv565-head .inactive-toggle541{font-size:11px!important;padding:0 8px!important}
}
}

/* fix581: 庫存總覽 — brand column, frozen header + material column, resizable columns, Excel-style filter menus */
html body #app #body.inv565 .inv565-table [data-inventory565=material]{width:24%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=category]{width:8%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=brand]{width:9%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=spec]{width:18%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=unit]{width:5%!important}
html body #app #body.inv565 .inv565-table :is([data-inventory565=received],[data-inventory565=issued]){width:7%!important}
html body #app #body.inv565 .inv565-table :is([data-inventory565=balance],[data-inventory565=safety]){width:11%!important}
html body #app #body.inv565 .inv565-table thead th{position:sticky!important;top:0!important;z-index:4;background:var(--theme-bg,#fafbfc)!important;box-shadow:0 1px 0 #e6e8ec!important;overflow:visible}
html body #app #body.inv565 .inv565-table tbody td[data-inventory565=material]{position:sticky!important;left:0!important;z-index:2;background:var(--theme-card,#fff)!important;box-shadow:2px 0 3px #0000000d!important}
html body #app #body.inv565 .inv565-table thead th[data-inventory565=material]{left:0!important;z-index:6;box-shadow:2px 1px 3px #0000000d!important}
html body #app #body.inv565 .inv565-table .inv581-th{display:flex;align-items:center;gap:4px;min-width:0}
html body #app #body.inv565 .inv565-table .inv581-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html body #app #body.inv565 .inv565-table :is([data-inventory565=received],[data-inventory565=issued],[data-inventory565=balance],[data-inventory565=safety]) .inv581-th{justify-content:flex-end}
html body #app #body.inv565 .inv565-table .inv581-filter{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px!important;height:20px!important;min-width:20px!important;min-height:0!important;padding:0!important;border:1px solid var(--theme-border,#d9dee4)!important;border-radius:4px!important;background:var(--theme-card,#fff)!important;color:var(--theme-muted,#6b7380)!important;cursor:pointer;box-shadow:none!important}
html body #app #body.inv565 .inv565-table .inv581-filter:hover{border-color:var(--theme-brand,#0f766e)!important;color:var(--theme-accent,#0f766e)!important}
html body #app #body.inv565 .inv565-table .inv581-filter.on{background:var(--theme-accent,#0f766e)!important;border-color:var(--theme-brand,#0f766e)!important;color:#fff!important}
html body #app #body.inv565 .inv565-table .inv581-grip{position:absolute;top:0;right:0;width:14px;height:100%;cursor:col-resize;z-index:7;touch-action:none}
html body #app #body.inv565 .inv565-table .inv581-grip::after{content:"";position:absolute;top:6px;bottom:6px;right:0;width:2px;border-radius:1px;background:#d9dee4}
html body #app #body.inv565 .inv565-table .inv581-grip:hover::after,html body.inv581-resizing #app #body.inv565 .inv565-table .inv581-grip.active::after{background:var(--theme-accent,#0f766e);width:3px;top:0;bottom:0}
html body.inv581-resizing,html body.inv581-resizing *{cursor:col-resize!important;user-select:none!important}
html body #app #body.inv565 .inv581-clear{white-space:nowrap}
html body #app #body.inv565 .inv581-pop{position:fixed;z-index:1000;width:280px;display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d9dee4);border-radius:10px;box-shadow:0 10px 30px #0f172a26;font-size:13px;color:var(--theme-ink,#1c2430);overflow:hidden}
html body #app #body.inv565 .inv581-pop-title{font-weight:600;font-size:12px;color:var(--theme-muted,#6b7380);padding:0 2px}
html body #app #body.inv565 .inv581-pop>button[data-sort]{text-align:left;justify-content:flex-start;height:30px!important;min-height:0!important;padding:0 8px!important;background:var(--theme-card,#fff)!important;border:0!important;box-shadow:none!important;font-weight:400!important;color:var(--theme-ink,#1c2430)!important}
html body #app #body.inv565 .inv581-pop>button[data-sort]:hover{background:var(--theme-bg,#f2f4f6)!important}
html body #app #body.inv565 .inv581-cond{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center;border-top:1px solid #eef0f3;padding-top:6px}
html body #app #body.inv565 .inv581-cond>span{grid-column:1/-1;font-size:12px;color:var(--theme-muted,#6b7380)}
html body #app #body.inv565 .inv581-cond :is(select,input){height:30px!important;min-height:0!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:0 6px!important}
html body #app #body.inv565 .inv581-cond input[hidden]{display:none!important}
html body #app #body.inv565 .inv581-q{height:30px!important;min-height:0!important;width:100%!important;box-sizing:border-box}
html body #app #body.inv565 .inv581-list{flex:1 1 auto;min-height:80px;max-height:260px;overflow:auto;border:1px solid var(--theme-border,#e6e8ec);border-radius:6px;padding:4px 0}
html body #app #body.inv565 .inv581-list label{display:flex!important;align-items:center;gap:6px;padding:3px 8px;cursor:pointer;white-space:nowrap;font-weight:400!important}
html body #app #body.inv565 .inv581-list label[hidden]{display:none!important}
html body #app #body.inv565 .inv581-list label:hover{background:var(--theme-bg,#f5f7f9)}
html body #app #body.inv565 .inv581-list label>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
html body #app #body.inv565 .inv581-list label>small{color:var(--theme-muted,#9aa1ab);font-size:11px}
html body #app #body.inv565 .inv581-list input{width:auto!important;min-height:0!important;margin:0}
html body #app #body.inv565 .inv581-all{border-bottom:1px solid #eef0f3;font-weight:600!important}
html body #app #body.inv565 .inv581-foot{display:flex;gap:6px;align-items:center}
html body #app #body.inv565 .inv581-foot>span{flex:1}
html body #app #body.inv565 .inv581-foot>button{height:30px!important;min-height:0!important;padding:0 10px!important;white-space:nowrap}
@media(max-width:900px){html body #app #body.inv565 .inv565-table [data-inventory565=brand]{width:14%!important}html body #app #body.inv565 .inv565-table [data-inventory565=material]{width:28%!important}html body #app #body.inv565 .inv565-table [data-inventory565=spec]{width:20%!important}html body #app #body.inv565 .inv565-table [data-inventory565=unit]{width:8%!important}html body #app #body.inv565 .inv565-table :is([data-inventory565=balance],[data-inventory565=safety]){width:15%!important}}

html body #app #body.inv565 .inv565-table thead th{padding-right:18px!important}
html body #app #body.inv565 .inv565-table tbody tr:is(:hover,:focus-within) td[data-inventory565=material]{z-index:3}
html body #app #body.inv565 .inv565-table tbody td[data-inventory565=material]:has(.inv565-row-details[open]){z-index:3}
html body #app #body.inv565 .inv565-table td.inv581-toggle{cursor:pointer}
html body #app #body.inv565 .inv565-table td.inv581-toggle:hover .material-id-content>span>:first-child{color:var(--theme-accent,#0f766e)}
html body #app #body.inv565 .inv565-row-details>summary{display:none!important}
html body #app #body.inv565 .inv565-row-details:not([open]){display:none!important}
html body #app #body.inv565 .inv565-row-details[open]{opacity:1!important;height:auto!important;position:static!important;margin:6px 0 0 42px;padding:6px 10px;background:var(--theme-bg,#f7f9fa);border-radius:6px;cursor:default}
html body #app #body.inv565 .inv565-row-details[open] p{margin:2px 0}
html body #app #body.inv565 .inv565-table [data-inventory565=unit]{width:6%!important}
html body #app #body.inv565 .inv565-table [data-inventory565=spec]{width:17%!important}
/* INV-FOCUS-1203 (owner 12/03 「這怪怪的」): inventory overview cards. The filter button inside a card draws no focus ring of its own (a mouse click left
 a smaller ring inside the selected card = double frame); keyboard focus (:focus-visible) rings the whole card, 2px accent, 2px out. */
html body #app .cards>.card>.stock-card-filter:focus{outline:2px solid transparent!important;outline-offset:0!important}
html body #app .cards>.card:has(>.stock-card-filter:focus-visible){outline:2px solid var(--theme-accent,#126c78)!important;outline-offset:2px!important}
@media (forced-colors:active){html body #app .cards>.card>.stock-card-filter:focus{outline-style:none!important}}
/* INV-FOCUS-1203 r3 (owner 12/03 「一起改一起上」): vendor stock cards (div[tabindex=0][role=button], no inner button) get the same keyboard ring as the staff cards. Mouse click draws none already. */
html body #app #vendorStockCards>.cards>.card:focus-visible{outline:2px solid var(--theme-accent,#126c78)!important;outline-offset:2px!important}

/* table-layout569.css */
/* Only movement and request tables; inventory styling is untouched. */
#body .tx569-scroll{max-width:100%;min-width:0;overflow:auto;isolation:isolate}
#body table.tx569-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
#body table.tx569-table th,#body table.tx569-table td{box-sizing:border-box;padding:9px 6px!important;font-size:12px!important;vertical-align:middle!important;word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important;border:0!important;border-bottom:1px solid var(--theme-border,#e8ecf0)!important}
#body table.tx569-table th{color:var(--theme-muted,#64748b)!important;background:var(--theme-bg,#fafbfc)!important;font-size:12px!important;font-weight:500!important;white-space:nowrap!important;overflow:visible!important}
#body .tx569-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
#body .tx569-table td small,#body .tx569-table td strong,#body .tx569-table td span{white-space:nowrap!important}
#body .tx569-table [data-movement-column555=select]{width:40px!important;min-width:40px!important;max-width:40px!important;text-align:center}
#body .tx569-table [data-movement-column555=date]{width:158px!important;white-space:nowrap!important}
#body .tx569-table [data-movement-column555=date] small{font-size:12px;color:var(--theme-muted,#64748b);white-space:nowrap!important}
#body .tx569-table [data-movement-column555=tool]{width:66px!important;white-space:nowrap!important}
#body .tx569-table [data-movement-column555=company]{width:100px!important}
#body .tx569-table [data-movement-column555=material]{width:auto!important;min-width:160px}
#body .tx569-table [data-movement-column555=material]>strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
#body .tx569-table .ux555-material-name{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:var(--theme-muted,#64748b);margin-top:3px;white-space:nowrap!important}
#body .tx569-table [data-movement-column555=spec]{width:clamp(190px,17vw,340px)!important}
#body.v596-home .tx569-table :is([data-movement-column555=received],[data-movement-column555=issued]){width:86px!important}
#body .tx569-table [data-movement-column555=remarks]{width:100px!important}
#body .tx569-table [data-movement-column555=received],#body .tx569-table [data-movement-column555=issued],#body .tx569-table [data-movement-column555=balance]{width:106px!important;text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
#body .tx569-table [data-movement-column555=actions]{width:218px!important;overflow:visible!important;white-space:nowrap!important}
#body .tx569-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;white-space:nowrap!important}
#body .tx569-actions button,#body .tx569-menu button{height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:12px!important;line-height:20px!important;white-space:nowrap!important;max-width:none!important;flex-shrink:0!important}
html body #app #body table.tx569-table .tx569-actions button,html body #app #body .tx569-menu button{height:28px!important;min-height:28px!important;max-height:28px!important;padding:3px 6px!important;font-size:12px!important;line-height:20px!important;white-space:nowrap!important}
#body .tx569-actions .pill{white-space:nowrap!important;font-size:12px;padding:3px 5px!important;flex-shrink:0}
#body .tx569-menu{position:fixed;margin:0;padding:6px;border:1px solid var(--theme-border,#d8dfe5);border-radius:6px;background:var(--panel,var(--theme-card,#fff));color:inherit;box-shadow:0 4px 16px #0002;min-width:180px}
#body .tx569-menu:popover-open{display:flex;flex-direction:column;gap:4px}
#body table.tx569-request{table-layout:auto!important}
#body .tx569-request td{white-space:nowrap!important;max-width:260px}
#body #vrLines .tx569-request th:nth-child(2),#body #vrLines .tx569-request td:nth-child(2){width:30%;min-width:200px;max-width:320px}
#body .tx569-request th:has(input[type=checkbox]),#body .tx569-request td:has(>input[type=checkbox]){width:40px!important}
@media(max-width:1099px){
 #body table.ux555-movements.tx569-table{min-width:1250px!important;display:table!important}
 #body table.tx569-table thead{display:table-header-group!important}
 #body table.tx569-table tbody{display:table-row-group!important}
 #body table.tx569-table tr{display:table-row!important}
 #body table.tx569-table th,#body table.tx569-table td{display:table-cell!important}
 #body table.tx569-table [hidden]{display:none!important}
 #body table.tx569-table td::before{display:none!important}
 #body .tx569-table [data-movement-column555=select]{position:sticky!important;left:0;z-index:3;background:var(--panel,var(--theme-card,#fff))}
 #body .tx569-table [data-movement-column555=date]{position:sticky!important;left:40px;z-index:3;background:var(--panel,var(--theme-card,#fff));box-shadow:2px 0 3px #0001}
 #body .tx569-table:has([data-movement-column555=select][hidden]) [data-movement-column555=date],#body .tx569-table:not(:has([data-movement-column555=select])) [data-movement-column555=date]{left:0}
 #body table.tx569-request{min-width:1000px!important}
}

/* /assets/table570.16a3d5970fbfbb89.css */
/* Shared list presentation. Business rendering, column order and events stay in their owners. */
@media screen {
html body #app,html body #body,html body main.content{min-width:0;max-width:100%;box-sizing:border-box}
html body :is(#app #body,#portal,dialog) .tbl570-scroll{box-sizing:border-box;max-width:100%;min-width:0;overflow:auto!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:12px!important;background:var(--theme-card,#fff)!important;isolation:isolate}
html body :is(#app #body,#portal,dialog) table.tbl570{width:100%!important;min-width:max-content!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important;background:var(--theme-card,#fff)!important;color:var(--text,var(--theme-ink,#1c2430));font-family:InventoryInter565,InventoryTC565,system-ui,sans-serif;font-variant-numeric:tabular-nums}
/* #414: material-sheet browsing keeps the Latin face; the independent print template is unchanged. */
html body :is(#app #body,#portal,dialog) #docWorkspace #sheetRows table.tbl570{font-family:InventoryInter565,"Microsoft JhengHei","PingFang TC","Noto Sans CJK TC",system-ui,sans-serif}
html body :is(#app #body,#portal,dialog) table.tbl570 tr{display:table-row!important;background:var(--theme-card,#fff)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 thead{display:table-header-group!important}
html body :is(#app #body,#portal,dialog) table.tbl570 tbody{display:table-row-group!important}
html body :is(#app #body,#portal,dialog) table.tbl570 th,html body :is(#app #body,#portal,dialog) table.tbl570 td{display:table-cell!important;box-sizing:border-box;vertical-align:middle!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;border:0!important;border-bottom:1px solid #f0f1f3!important;max-width:420px;min-width:min-content!important}
html body :is(#app #body,#portal,dialog) table.tbl570 th{padding:10px 12px!important;font-size:12px!important;font-weight:600!important;color:var(--theme-muted,#6b7380)!important;background:var(--theme-bg,#fafbfc)!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 td{padding:9px 12px!important;font-size:13px!important;line-height:1.5!important}
html body :is(#app #body,#portal,dialog) table.tbl570 :is(td,th) :is(span,strong,small,a){word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important}
html body :is(#app #body,#portal,dialog) table.tbl570 td.tbl570-number.bad::before{content:'●';display:inline!important;color:var(--danger,#b73d3d);font-size:9px;margin-right:5px}
html body :is(#app #body,#portal,dialog) table.tbl570 [hidden]{display:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 th br{display:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 th>div[style*="position:relative"]{margin-right:48px}
html body :is(#app #body,#portal,dialog) table.tbl570 tbody tr:last-child td{border-bottom:0!important}
html body :is(#app #body,#portal,dialog) table.tbl570 tbody tr:hover,html body :is(#app #body,#portal,dialog) table.tbl570 tbody tr:hover td{background:var(--theme-bg,#fafbfc)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 td::before{display:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-identity{min-width:160px!important;max-width:300px;font-weight:600}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-identity small,html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-identity .muted,html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-identity .ux555-material-name{display:block!important;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;font-size:12px!important;font-weight:400!important;color:var(--theme-muted,#6b7380)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-number{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-number small{color:var(--theme-muted,#6b7380);font-size:12px}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-check{width:40px!important;min-width:40px!important;max-width:40px!important;padding:9px 8px!important;text-align:center!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-actions{white-space:nowrap!important;overflow:visible!important;max-width:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-actions button,html body .tbl570-menu button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:none!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:3px 6px!important;font-size:12px!important;line-height:20px!important;white-space:nowrap!important;vertical-align:middle!important;margin:0 2px!important;flex-shrink:0!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-actions br{display:none!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-actions>.actions{display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .tag,html body :is(#app #body,#portal,dialog) table.tbl570 .pill{display:inline-block!important;padding:2px 7px!important;border-radius:4px!important;font-size:11px!important;font-weight:500!important;line-height:18px!important;background:var(--theme-soft,#f0f1f3)!important;color:var(--theme-muted,#6b7380)!important;border:0!important;white-space:nowrap!important}
html body :is(#app #body,#portal,dialog) table.tbl570 [data-tbl570-state=pending]{background:var(--warn-bg,#fff5db)!important;color:var(--warn,#946d16)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 :is([data-tbl570-state=approved],[data-tbl570-state=active]){background:var(--success-bg,#eaf5ee)!important;color:var(--success,#287044)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 [data-tbl570-state=rejected],html body :is(#app #body,#portal,dialog) table.tbl570 [data-tbl570-state=cancelled]{background:var(--danger-bg,#fceeee)!important;color:var(--danger,#b73d3d)!important}
html body .tbl570-menu{position:fixed;margin:0;padding:6px;border:1px solid var(--theme-border,#e6e8ec);border-radius:8px;background:var(--panel,var(--theme-card,#fff));color:var(--text,var(--theme-ink,#1c2430));box-shadow:0 4px 16px #0002}
html body .tbl570-menu:popover-open{display:flex;flex-direction:column;gap:4px}
html body .tbl570-meta{font-size:12px;color:var(--theme-muted,#6b7380);margin:10px 0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
html body .tbl570-old-count{display:none!important}
html body .tbl570-main{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
html body :is(#app #body,#portal,dialog) table.tbl570 td[colspan]{text-align:center;font-weight:400;color:var(--theme-muted,#6b7380)}
html body .tbl570-list{border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;background:var(--theme-card,#fff);overflow:hidden;padding:0;list-style:none}
html body .tbl570-list>li{padding:9px 12px;border-bottom:1px solid #f0f1f3;word-break:normal;overflow-wrap:normal}
html body .tbl570-list>li:hover{background:var(--theme-bg,#fafbfc)}
html body #returnRows.tbl570-list{margin:10px 0;font-family:InventoryInter565,InventoryTC565,system-ui,sans-serif}
html body #returnRows.tbl570-list>.tbl570-list-row{padding:9px 12px!important;border:0!important;border-bottom:1px solid #f0f1f3!important;font-size:13px;word-break:normal;overflow-wrap:normal;background:var(--theme-card,#fff)}
html body #returnRows.tbl570-list>.tbl570-list-row:hover{background:var(--theme-bg,#fafbfc)}
html body #returnRows .tbl570-return-identity{font-weight:600;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #returnRows .tbl570-list-row>p:nth-child(2){font-size:12px;color:var(--theme-muted,#6b7380);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #returnRows .tag{display:inline-block;font-size:11px;font-weight:500;color:var(--theme-muted,#6b7380);background:var(--theme-soft,#f0f1f3);border-radius:4px;padding:2px 7px}
html body #returnRows .tbl570-list-row button{height:28px;min-height:28px;max-height:28px;white-space:nowrap;padding:3px 6px;font-size:12px}
html body #returnRows:not(:has(section)){text-align:center;color:var(--theme-muted,#6b7380);padding:12px}
html body #returnRows [data-tbl570-state=pending]{background:var(--warn-bg,#fff5db);color:var(--warn,#946d16)}
html body #returnRows [data-tbl570-state=approved]{background:var(--success-bg,#eaf5ee);color:var(--success,#287044)}
html body #returnRows :is([data-tbl570-state=rejected],[data-tbl570-state=cancelled]){background:var(--danger-bg,#fceeee);color:var(--danger,#b73d3d)}
html body :is(#app #body,#portal,dialog) table.tbl570 td.tbl570-identity:not(.tbl570-actions){overflow:hidden!important;text-overflow:ellipsis}
html body :is(#app #body,#portal,dialog) table.tbl570 .material-id-content{min-width:0!important;max-width:100%!important;width:100%}
html body :is(#app #body,#portal,dialog) table.tbl570 .material-id-content>span{display:flex;align-items:center;flex-wrap:wrap;min-width:0;overflow:hidden;max-width:100%}
html body :is(#app #body,#portal,dialog) table.tbl570 .material-id-content>span>.tbl570-main{flex:1 1 auto;min-width:0}
html body :is(#app #body,#portal,dialog) table.tbl570 .material-id-content>span>:not(.tbl570-main){flex-shrink:0}
html body :is(#app #body,#portal,dialog) table.tbl570 .material-id-content>span>small{flex:0 0 100%;min-width:0;max-width:100%!important;overflow:hidden;text-overflow:ellipsis}
html body #app #vendorTools{display:flex!important;flex-wrap:wrap!important;gap:8px;min-width:0;max-width:100%;box-sizing:border-box}
/* spec604: use the whole column, on as many lines as it needs. */
html body table.tbl570 .tbl570-spec{display:block;max-width:100%;overflow:visible;white-space:normal!important;line-height:1.35}
html body #app #body table.tx569-table td[data-movement-column555=spec] .tbl570-spec{white-space:normal!important;overflow-wrap:anywhere!important}
html body #app #body table.tx569-table :is(th,td)[data-movement-column555=spec]{min-width:190px!important;max-width:none!important;text-overflow:clip!important}
html body #app #body table.tx569-table td[data-movement-column555=material] .ux555-material-name{display:block!important;max-width:none!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;line-height:1.35!important}
html body #app #body table.tx569-table td:is([data-movement-column555=spec],[data-movement-column555=material]){white-space:normal!important}
html body .tbl570-empty-list::after{content:attr(data-tbl570-empty-label);display:block;box-sizing:border-box;width:100%;padding:16px 12px;text-align:center;color:var(--theme-muted,#6b7380);font-size:13px;white-space:nowrap;transform:translateX(var(--tbl570-empty-shift,0px))}
html body :is(#app #body,#portal,dialog) table.tbl570 td.tbl570-empty-source{height:0!important;padding:0!important;font-size:0!important;line-height:0!important;border:0!important;visibility:hidden!important}
html body #app #vendorTools>input{flex:1 1 100%;width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box}
html body #app #vendorTools>.unified-choice{flex:1 1 140px;min-width:0!important;max-width:100%;box-sizing:border-box}
html body #app #vendorTools>:is(label,button){max-width:100%;box-sizing:border-box}
@media(max-width:767px){
 html body #app #body.inv565 .inv565-table{min-width:1000px!important}
 html body #app #body.inv565 .inv565-table :is(th,td){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 html body #app #body.inv565 .inv565-table [data-inventory565=material]{position:sticky!important;left:0!important;z-index:3;background:var(--theme-card,#fff)!important;box-shadow:2px 0 3px #0001!important}
 html body #app #body.inv565 .inv565-table th[data-inventory565=material]{background:var(--theme-bg,#fafbfc)!important;z-index:4}
 html body #app #body.inv565 .inv565-table .inv565-names{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
 html body .content,html body #body{min-width:0!important;max-width:100%!important}
 html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-sticky{position:sticky!important;left:0;z-index:2;background:var(--theme-card,#fff)!important;max-width:180px!important;min-width:140px!important;box-shadow:2px 0 3px #0001}
 html body :is(#app #body,#portal,dialog) table.tbl570 th.tbl570-sticky{background:var(--theme-bg,#fafbfc)!important;z-index:3}
 html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-identity small{max-width:160px}
 html body :is(#app #body,#portal,dialog) table.tbl570 .tbl570-sticky[data-movement-column555=date]{left:40px!important}
 html body :is(#app #body,#portal,dialog) table.tbl570:has([data-movement-column555=select][hidden]) [data-movement-column555=date],html body :is(#app #body,#portal,dialog) table.tbl570:not(:has([data-movement-column555=select])) [data-movement-column555=date]{left:0!important}
 html body dialog{box-sizing:border-box;max-width:calc(100vw - 20px)!important;min-width:0!important}
}
}

/* fix581: editable page number, same pager on every page */
#app .pagination .page-jump581-label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
#app .pagination input.page-jump581{width:3.6em;height:24px;min-height:24px;padding:0 4px;border:1px solid var(--theme-border,#cfd8dc);border-radius:6px;text-align:center;font:inherit;background:var(--theme-card,#fff);-moz-appearance:textfield}
#app .pagination input.page-jump581::-webkit-outer-spin-button,#app .pagination input.page-jump581::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* fix581: picker rows keep labels and buttons on one line (no 數/量 stacking, no clipped 加入進出庫清單) */
html body .catalog396-quick label{white-space:nowrap;flex:none}
html body .catalog396-quick :is(button,.cart395-primary){white-space:nowrap!important;flex:none;height:auto;min-height:32px;overflow:visible}
html body .catalog395 .catalog396-quick label{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;word-break:keep-all!important;writing-mode:horizontal-tb!important;flex:none!important;min-width:max-content!important}
@media (min-width:701px){html body .catalog395[data-catalog-view=list] .catalog395-product{grid-template-columns:44px minmax(0,1fr) max-content!important}html body .catalog395 .catalog396-quick{width:auto!important;min-width:max-content!important;flex-wrap:nowrap!important}}

/* fix581: picking-slip preview presented like 材料出貨單 (panel + buttons right, white sheet, no grey frame) */
html body #app .pick-actions581{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e1e8ec);border-radius:12px;padding:12px 16px;margin:0 0 8px}
html body #app .pick-actions581>#vrPickCount{margin-right:auto;font-size:13px;color:var(--theme-muted,#526b77)}
html body #app .pick-preview581{border:1px solid var(--theme-border,#e1e8ec);border-radius:12px;margin-top:8px}

/* fix581: shared column tools (材料目錄 / 進出庫) — frozen header + left columns, filter menus, resize */
html body #app #body .tablewrap:has(>table.cols581){max-height:650px!important;overflow:auto!important}
html body #app #body table.cols581 thead th{position:sticky!important;top:0!important;z-index:4;background:var(--theme-bg,#fafbfc)!important;box-shadow:0 1px 0 #e6e8ec!important;overflow:visible}
html body #app #body table.cols581 thead th:has(.inv581-th){padding-right:18px!important}
html body #app #body table.cols581 .col581-frozen{position:sticky!important;z-index:2;background:var(--theme-card,#fff)!important}
html body #app #body table.cols581 thead th.col581-frozen{z-index:6!important;background:var(--theme-bg,#fafbfc)!important}
html body #app #body table.cols581 .col581-frozen-last{box-shadow:2px 0 3px #0000000d!important}
html body #app #body table.cols581 tbody tr:is(:hover,:focus-within) .col581-frozen{z-index:3}
html body #app #body table.cols581 :is([data-col581=opening],[data-col581=safety],[data-movement-column555=received],[data-movement-column555=issued],[data-movement-column555=balance]) .inv581-th{justify-content:flex-end}
html body #app #body .inv581-more{margin:4px 8px;font-size:11px;color:var(--theme-muted,#9aa1ab)}
html body #app #body table.cols581 .inv581-th{display:flex;align-items:center;gap:4px;min-width:0}
html body #app #body table.cols581 .inv581-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html body #app #body table.cols581 .inv581-filter{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px!important;height:20px!important;min-width:20px!important;min-height:0!important;padding:0!important;border:1px solid var(--theme-border,#d9dee4)!important;border-radius:4px!important;background:var(--theme-card,#fff)!important;color:var(--theme-muted,#6b7380)!important;cursor:pointer;box-shadow:none!important}
html body #app #body table.cols581 .inv581-filter:hover{border-color:var(--theme-brand,#0f766e)!important;color:var(--theme-accent,#0f766e)!important}
html body #app #body table.cols581 .inv581-filter.on{background:var(--theme-accent,#0f766e)!important;border-color:var(--theme-brand,#0f766e)!important;color:#fff!important}
html body #app #body table.cols581 .inv581-grip{position:absolute;top:0;right:0;width:14px;height:100%;cursor:col-resize;z-index:7;touch-action:none}
html body #app #body table.cols581 .inv581-grip::after{content:"";position:absolute;top:6px;bottom:6px;right:0;width:2px;border-radius:1px;background:#d9dee4}
html body #app #body table.cols581 .inv581-grip:hover::after,html body.inv581-resizing #app #body table.cols581 .inv581-grip.active::after{background:var(--theme-accent,#0f766e);width:3px;top:0;bottom:0}
html body #app #body .inv581-clear{white-space:nowrap}
html body #app #body .inv581-pop{position:fixed;z-index:1000;width:280px;display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d9dee4);border-radius:10px;box-shadow:0 10px 30px #0f172a26;font-size:13px;color:var(--theme-ink,#1c2430);overflow:hidden}
html body #app #body .inv581-pop-title{font-weight:600;font-size:12px;color:var(--theme-muted,#6b7380);padding:0 2px}
html body #app #body .inv581-pop>button[data-sort]{text-align:left;justify-content:flex-start;height:30px!important;min-height:0!important;padding:0 8px!important;background:var(--theme-card,#fff)!important;border:0!important;box-shadow:none!important;font-weight:400!important;color:var(--theme-ink,#1c2430)!important}
html body #app #body .inv581-pop>button[data-sort]:hover{background:var(--theme-bg,#f2f4f6)!important}
html body #app #body .inv581-cond{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center;border-top:1px solid #eef0f3;padding-top:6px}
html body #app #body .inv581-cond>span{grid-column:1/-1;font-size:12px;color:var(--theme-muted,#6b7380)}
html body #app #body .inv581-cond :is(select,input){height:30px!important;min-height:0!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:0 6px!important}
html body #app #body .inv581-cond input[hidden]{display:none!important}
html body #app #body .inv581-q{height:30px!important;min-height:0!important;width:100%!important;box-sizing:border-box}
html body #app #body .inv581-list{flex:1 1 auto;min-height:80px;max-height:260px;overflow:auto;border:1px solid var(--theme-border,#e6e8ec);border-radius:6px;padding:4px 0}
html body #app #body .inv581-list label{display:flex!important;align-items:center;gap:6px;padding:3px 8px;cursor:pointer;white-space:nowrap;font-weight:400!important}
html body #app #body .inv581-list label[hidden]{display:none!important}
html body #app #body .inv581-list label:hover{background:var(--theme-bg,#f5f7f9)}
html body #app #body .inv581-list label>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
html body #app #body .inv581-list label>small{color:var(--theme-muted,#9aa1ab);font-size:11px}
html body #app #body .inv581-list input{width:auto!important;min-height:0!important;margin:0}
html body #app #body .inv581-all{border-bottom:1px solid #eef0f3;font-weight:600!important}
html body #app #body .inv581-foot{display:flex;gap:6px;align-items:center}
html body #app #body .inv581-foot>span{flex:1}
html body #app #body .inv581-foot>button{height:30px!important;min-height:0!important;padding:0 10px!important;white-space:nowrap}
html body #app #body table.cols581 td.inv581-toggle{cursor:pointer}
html body #app #body table.cols581 td.inv581-toggle:hover .material-id-content>span>:first-child{color:var(--theme-accent,#0f766e)}

/* fix581: 材料目錄 / 進出庫 tables share the 庫存總覽 look (weights, sizes, tags, photos, header) */
html body #app #body table.cols581 thead th{font-size:12px!important;font-weight:600!important;color:var(--theme-muted,#6b7380)!important;padding:8px 18px 8px 12px!important;line-height:21px!important;border-bottom:1px solid var(--theme-border,#e6e8ec)!important;border-left:0!important;border-right:0!important;vertical-align:middle!important}
html body #app #body table.cols581 thead th .inv581-filter{box-sizing:border-box!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:0!important;max-height:20px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:0!important}
html body #app #body table.cols581 tbody td{font-size:13px!important;font-weight:400!important;color:var(--theme-ink,#1c2430);padding-top:9px!important;padding-bottom:9px!important;border-bottom:1px solid #f0f1f3!important;border-left:0!important;border-right:0!important}
html body #app #body table.cols581 tbody td :is(strong,b,.tbl570-main){font-weight:600!important}
html body #app #body table.cols581 tbody td small{font-size:12px!important;font-weight:400!important;color:var(--theme-muted,#6b7380)!important}
html body #app #body table.cols581 tbody td .ux555-material-name{font-size:12px!important;font-weight:400!important;color:var(--theme-muted,#6b7380)!important}
html body #app #body table.cols581 tbody td .tag{display:inline-block;font-size:12px!important;font-weight:400!important;padding:2px 8px!important;border-radius:6px!important;background:var(--theme-bg,#f2f4f6)!important;color:var(--theme-muted,#4b5563)!important;border:0!important}
html body #app #body table.cols581 tbody td [data-material-photo]{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;padding:0!important;border-radius:6px!important;background:var(--theme-soft,#eef0f3)!important;border:0!important;flex:none}
html body #app #body table.cols581 tbody td .material-id-content{display:flex!important;align-items:center;gap:10px}
html body #app #body table.cols581 tbody td.tbl570-number{font-weight:400!important}
html body #app #body table.cols581 tbody td:is([data-col581=safety],[data-movement-column555=received],[data-movement-column555=issued]){color:var(--theme-muted,#9aa1ab)!important}
html body #app #body table.cols581 tbody tr:last-child td{border-bottom:0!important}
html body #app #body table.cols581 .inv581-grip::after{background:var(--theme-soft,#e6e8ec)!important;width:1px!important}
html body #app #body table.cols581 .inv581-grip:hover::after,html body.inv581-resizing #app #body table.cols581 .inv581-grip.active::after{background:var(--theme-accent,#0f766e)!important;width:3px!important}
html body #app #body.inv565 .inv565-table .inv581-grip::after{background:var(--theme-soft,#e6e8ec);width:1px}html body #app #body table.cols581 :is(th,td)[data-col581=material]{width:170px!important;min-width:150px!important;max-width:220px!important}
html body #app #body table.cols581 tbody td[data-col581=unit]{color:var(--theme-ink,#1c2430)!important;text-align:center!important}
html body #app #body table.cols581 thead th[data-col581=unit] .inv581-th{justify-content:center}
html body #app #body table.cols581 tbody td:not([data-movement-column555=material]):not([data-col581=material]) :is(strong,b,.tbl570-main){font-weight:400!important}
html body #app #body table.cols581 tbody td .tbl570-spec{font-weight:400!important;color:var(--theme-ink,#1c2430)!important}
html body #app #body table.cols581 tbody td[data-movement-column555=material] .ux555-material-name{display:block}html body #app #body table.cols581:has(th[data-col581]){min-width:100%!important;width:100%!important}
html body #app #body table.cols581 :is(th,td)[data-col581]:not([data-col581=material]){min-width:0!important}
html body #app #body table.cols581 td[data-col581=spec]{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
html body #app #body table.cols581 td[data-col581=name]{min-width:120px!important;white-space:normal!important}html body #app #body table.cols581 :is(.col581-frozen,.col581-frozen-last,.tbl570-sticky){box-shadow:none!important;border-right:0!important}
html body #app #body .col581-scrolled>table.cols581 .col581-frozen-last{box-shadow:2px 0 3px #0000000d!important}
/* fix581: 共用選單 page — consistent settings rows, access panel not stretched */
html body #app .cancel-policy-controls #requestRetentionDays{width:100px!important;flex:0 0 100px!important;min-width:0!important}
html body #app .cancel-policy-controls .settings581-status{margin-left:8px;font-size:13px;color:var(--theme-accent,#0f766e)}
html body #app .settings581-split{align-items:start!important}
html body #app .settings581-access .actions{justify-content:flex-start!important;flex-wrap:wrap;gap:8px}
html body #app .panel h2 small{font-size:12px;font-weight:400;color:var(--theme-muted,#6b7380);margin-left:6px}

/* COLS-ALL (/assets/cols701.ff0a8b89ecbf037e.mjs): every other list gets the 庫存總覽 resize grip only (same look as cols581 grips, no other cols581 styling) */
html body #app table.cols701 .inv581-grip{position:absolute;top:0;right:0;width:14px;height:100%;cursor:col-resize;z-index:7;touch-action:none}
html body #app table.cols701 .inv581-grip::after{content:"";position:absolute;top:6px;bottom:6px;right:0;width:1px;border-radius:1px;background:var(--theme-soft,#e6e8ec)}
html body #app table.cols701 .inv581-grip:hover::after,html body.inv581-resizing #app table.cols701 .inv581-grip.active::after{background:var(--theme-accent,#0f766e);width:3px;top:0;bottom:0}
/* sop583.css */
/* Quality › SOP (sop583). Scoped to .sop583 so existing pages are unaffected. */
.sop583{--sop-navy:var(--theme-accent,#18384b);--sop-teal:var(--theme-accent,#176670);--sop-line:var(--theme-border,#e6e8ec);--sop-soft:var(--theme-bg,#f2f4f6);--sop-text:var(--theme-ink,#1c2430);--sop-muted:var(--theme-muted,#6b7380);color:var(--sop-text)}
.sop583 .muted{color:var(--sop-muted)}
.sop583 .mono{font-family:ui-monospace,Consolas,monospace}
.sop583 .grow{flex:1}
.sop583 button{font:inherit;border:1px solid var(--sop-line);background:var(--theme-card,#fff);border-radius:8px;padding:7px 14px;cursor:pointer;color:var(--sop-text)}
.sop583 button.primary{background:var(--sop-navy);border-color:var(--sop-navy);color:#fff}
.sop583 button.link{border:0;background:none;padding:2px 6px;color:var(--theme-ink,#134074);text-decoration:underline}
.sop583 button.danger{color:#b42318}
.sop583 button:disabled{opacity:.55;cursor:not-allowed}
.sop583 input,.sop583 select,.sop583 textarea{font:inherit;border:1px solid var(--sop-line);border-radius:8px;padding:7px 9px;background:var(--theme-card,#fff);color:var(--sop-text);box-sizing:border-box}
.sop583 textarea{width:100%;resize:vertical}
.sop583 input:disabled,.sop583 textarea:disabled{background:var(--theme-bg,#f8fafc);color:var(--sop-text)}
.sop-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.sop-head h2{margin:4px 0;font-size:22px;color:var(--sop-navy)}
.sop-head p{margin:2px 0}
.sop-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.sop-toolbar input{flex:1;min-width:200px}
.sop-msg{padding:8px 12px;border-radius:8px;background:#e6f6f4;color:#0b5f58;margin:8px 0}
.sop-msg.bad{background:#fef3f2;color:#b42318}
.sop-table{width:100%;border-collapse:collapse;background:var(--theme-card,#fff)}
.sop-table th,.sop-table td{border-bottom:1px solid var(--theme-border,#e4e7ec);padding:9px 10px;text-align:left;vertical-align:top}
.sop-table th{background:var(--sop-soft);font-weight:600;font-size:13px}
.sop-table tr[data-open]{cursor:pointer}
.sop-table tr[data-open]:hover,.sop-table tr[data-open]:focus{background:#f5f8ff;outline:none}
.sop-table textarea{min-width:150px}
.sop583 .tablewrap{overflow-x:auto}
.sop-pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--theme-soft,#eef2f6);color:var(--theme-ink,#344054);white-space:nowrap}
.sop-draft,.sop-rejected{background:#fffaeb;color:#93370d}
.sop-in_review,.sop-submitted{background:#eff8ff;color:#175cd3}
.sop-approved{background:#ecfdf3;color:#067647}
.sop-superseded,.sop-obsolete{background:#f2f4f7;color:#667085}
.sop-tabs{display:flex;gap:4px;border-bottom:2px solid var(--theme-border,#e4e7ec);margin:10px 0 14px;overflow-x:auto}
.sop-tabs button{border:0;border-radius:8px 8px 0 0;background:none;padding:9px 16px;white-space:nowrap}
.sop-tabs button.active{background:var(--sop-navy);color:#fff}
.sop-card{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e4e7ec);border-radius:12px;padding:14px 16px;margin-bottom:12px}
.sop-card h3{margin:0 0 10px;font-size:16px;color:var(--sop-navy)}
.sop-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.sop-field{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-weight:600;font-size:13px}
.sop-field input,.sop-field textarea{font-weight:400;font-size:14px}
.sop-missing{color:#b54708;font-weight:400}
.sop-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:start;border-bottom:1px dashed var(--theme-border,#e4e7ec);padding-top:6px}
.sop-step{border:1px solid var(--theme-border,#e4e7ec);border-left:4px solid var(--sop-teal);border-radius:8px;padding:10px 12px;margin-bottom:10px}
.sop-step-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.sop-langbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px;position:sticky;top:0;background:var(--theme-card,#fff);padding:8px 0;z-index:2}
.sop-langbar button.active{background:var(--sop-teal);border-color:var(--sop-teal);color:#fff}
.sop-note{min-width:200px}
.sop-info{background:#eff8ff;color:#175cd3;padding:9px 12px;border-radius:8px;margin-bottom:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sop-confirm{background:#fffaeb;border-color:#fedf89}
.sop-inline{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13px}
.sop-upload{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.sop-files{list-style:none;padding:0;margin:0}
.sop-files li{padding:6px 0;border-bottom:1px solid #f2f4f7}
.sop-kind{display:inline-block;min-width:52px;font-size:12px;background:var(--sop-soft);border-radius:6px;padding:1px 6px;text-align:center}
.sop-actions,.sop-export{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.sop-dialog-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.45);display:grid;place-items:center;z-index:1000;padding:16px}
.sop-dialog{background:var(--theme-card,#fff);border-radius:14px;padding:20px;width:min(440px,100%);display:flex;flex-direction:column;gap:10px;font-family:inherit}
.sop-dialog h3{margin:0;color:var(--theme-ink,#0b2545)}
.sop-dialog label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:13px}
.sop-dialog input{font:inherit;border:1px solid var(--theme-border,#d0d5dd);border-radius:8px;padding:8px}
.sop-dialog button{font:inherit;border:1px solid var(--theme-border,#d0d5dd);background:var(--theme-card,#fff);border-radius:8px;padding:7px 14px;cursor:pointer}
.sop-dialog button.primary{background:var(--theme-accent,#0b2545);border-color:var(--theme-brand,#0b2545);color:#fff}
.sop-dialog .sop-msg{padding:6px 10px;border-radius:8px;background:#fef3f2;color:#b42318}
/* phase 1: viewer, banner, side-by-side languages, photos */
.sop-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.sop-banner{background:#eff8ff;color:#175cd3;border:1px solid #b2ddff;border-radius:10px;padding:10px 14px;margin:6px 0 10px}
.sop-banner-review{background:#fffaeb;color:#93370d;border-color:#fedf89}
.sop-return{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-ink,#344054)}
.sop-banner-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.sop-banner-row input{flex:1;min-width:200px}
.sop-viewbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sop-dl-more{display:inline-flex;flex-wrap:wrap;gap:2px}
.sop-dl-hint{flex-basis:100%}
.sop-preview{background:var(--theme-soft,#e9eef3);border-radius:12px;padding:12px}
.sop-frame{width:100%;min-height:600px;border:0;background:var(--theme-card,#fff);border-radius:8px;display:block}
.sop-preview-wait.bad{color:#b42318}
.sop-tri{font-weight:600}
.sop-label{font-weight:600;font-size:13px;display:block;margin-bottom:4px}
.sop-tri-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sop-tri-cols label{display:flex;flex-direction:column;gap:2px;font-weight:400}
.sop-tri-cols input,.sop-tri-cols textarea{width:100%;font-size:14px}
.sop-lt{font-size:11px;color:var(--sop-muted);font-weight:600}
.sop-row-block{border-bottom:1px dashed var(--theme-border,#e4e7ec);padding:6px 0 4px;margin-bottom:6px}
.sop-media-row{margin-bottom:12px}
.sop-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sop-slot{display:flex;flex-direction:column;gap:4px;align-items:flex-start;background:var(--sop-soft);border-radius:8px;padding:6px}
.sop-thumb{width:100%;max-width:180px;height:120px;object-fit:contain;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e4e7ec);border-radius:6px}
.sop-thumb-none{display:flex;align-items:center;justify-content:center;color:var(--sop-muted);font-size:12px}
.sop-thumb-bad{outline:2px solid #b42318}
.sop-file-name{font-size:13px;word-break:break-all}
.sop-upbtn{display:inline-block;border:1px solid var(--sop-line);background:var(--theme-card,#fff);border-radius:8px;padding:4px 10px;cursor:pointer;font-size:13px;font-weight:400}
.sop-upbtn:has(input:disabled){opacity:.55;cursor:not-allowed}
.sop-photos{margin-top:6px}
.sop-photo{border:1px solid var(--theme-border,#e4e7ec);border-radius:8px;padding:6px;margin-bottom:6px}
.sop-photo.is-ng{border-color:#f3c6c2;background:#fef3f2}
.sop-photo-head{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.sop-add-photo{margin-top:2px}
@media (max-width:700px){.sop-row{grid-template-columns:1fr}.sop-head h2{font-size:19px}.sop-langbar .sop-note{min-width:0;width:100%}.sop-tri-cols,.sop-slots{grid-template-columns:1fr}}
/* folders round: same look as the inventory page (/assets/inventory565.c73c9ad5c5cf5e02.css) */
@media screen {
html body:has(#sop583Root){background:var(--theme-bg,#f7f8fa)}
html body #app>.content:has(#sop583Root){padding:24px!important;min-width:0;background:var(--theme-bg,#f7f8fa);font:14px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif;font-variant-numeric:tabular-nums}
html body #app>.content:has(#sop583Root)>.topline{display:none!important}
html body .sop583{font:14px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif;font-variant-numeric:tabular-nums}
html body .sop583 .sop-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 20px;padding:0}
html body .sop583 .sop-head h1{font-size:22px!important;font-weight:600!important;line-height:1.5!important;margin:0!important;color:var(--theme-ink,#1c2430)!important;letter-spacing:0}
html body .sop583 .sop-head p{font-size:12px!important;color:var(--theme-muted,#6b7380)!important;margin:4px 0 0!important;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
html body .sop583 .sop-head button.link{display:block;padding:0!important;margin:0 0 4px!important}
html body .sop583 button:not(.link):not(.sop-stat){height:auto!important;min-height:32px!important;padding:4px 14px!important;border-radius:8px!important;border:1px solid var(--theme-border,#e6e8ec)!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#1c2430)!important;font:500 13px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif!important;box-shadow:none!important}
html body .sop583 button.primary:not(.link):not(.sop-stat),html body .sop583 .sop-langbar button.active{background:var(--theme-accent,#18384b)!important;border-color:var(--theme-brand,#18384b)!important;color:#fff!important}
html body .sop583 button.danger:not(.link):not(.sop-stat){color:#b42318!important}
html body .sop583 button.link{border:0!important;background:none!important;box-shadow:none!important;min-height:0!important;height:auto!important;padding:2px 6px!important;color:var(--theme-accent,#176670)!important;text-decoration:underline;font:500 13px/1.5 InventoryInter565,InventoryTC565,system-ui,sans-serif!important}
html body .sop583 button.link.danger{color:#b42318!important}
html body .sop583 .sop-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 12px}
html body .sop583 .sop-stat{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px;min-width:0;width:auto!important;height:auto!important;min-height:48px!important;margin:0!important;padding:8px 12px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:10px!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;color:var(--theme-ink,#1c2430)!important;text-align:left;font:inherit!important;cursor:pointer}
html body .sop583 .sop-stat[aria-pressed=true]{border-color:var(--theme-brand,#18384b)!important;box-shadow:0 0 0 3px #eef4f7!important}
html body .sop583 .sop-stat:focus-visible,html body .sop583 tr[data-open]:focus-visible{outline:2px solid var(--theme-brand,#176670);outline-offset:1px}
html body .sop583 .sop-stat>span{flex:1;min-width:0;display:flex;align-items:center;gap:6px;color:var(--theme-muted,#6b7380);font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .sop583 .sop-stat-folder>span{color:var(--theme-ink,#18384b);font-weight:600;font-size:14px}
html body .sop583 .sop-folder-icon{flex:none;color:var(--theme-accent,#176670)}
html body .sop583 .sop-stat>strong{font-size:20px;line-height:30px;font-weight:600}
html body .sop583 .sop-toolbar{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;padding:10px;margin:0 0 12px;min-width:0}
html body .sop583 .sop-search{position:relative;flex:1;min-width:100px}
html body .sop583 .sop-search svg{position:absolute;left:11px;top:8px;color:var(--theme-muted,#6b7380);pointer-events:none}
html body .sop583 .sop-search input{width:100%!important;max-width:none!important;padding:0 12px 0 34px!important}
html body .sop583 .sop-toolbar :is(input,select){height:32px!important;min-height:32px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;font:inherit!important;background-color:var(--theme-card,#fff);margin:0!important;box-shadow:none}
html body .sop583 .sop-toolbar>select{flex:0 0 150px!important;width:150px!important;padding:0 12px!important}
html body .sop583 .sop-toolbar>.unified-choice{flex:0 0 150px!important;width:150px!important;min-width:150px!important;margin:0!important;position:relative;height:32px!important;min-height:32px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;background:var(--theme-card,#fff)}
html body .sop583 .sop-toolbar>.unified-choice>input{height:30px!important;min-height:30px!important;width:100%!important;border:0!important;padding:0 30px 0 12px!important;background:transparent!important}
html body .sop583 .sop-toolbar>.unified-choice>button{position:absolute;right:0;top:0;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border:0!important;background:transparent!important}
html body .sop583 .sop-count{font-size:12px!important;margin:0 2px 8px!important}
html body .sop583 :is(.sop-tablewrap,.tablewrap){background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;overflow:auto;width:100%;max-width:100%;margin:0;box-shadow:none}
html body .sop583 .sop-table{width:100%!important;border-collapse:collapse!important;background:var(--theme-card,#fff);font:inherit!important}
html body .sop583 .sop-table th{font-size:12px!important;font-weight:600!important;color:var(--theme-muted,#6b7380)!important;padding:8px 12px!important;border:0!important;border-bottom:1px solid var(--theme-border,#e6e8ec)!important;background:var(--theme-bg,#fafbfc)!important;white-space:nowrap;text-align:left}
html body .sop583 .sop-table td{font-size:13px!important;padding:9px 12px!important;border:0!important;border-bottom:1px solid #f0f1f3!important;color:var(--theme-ink,#1c2430);vertical-align:middle;text-align:left;line-height:21px}
html body .sop583 .sop-table tbody tr:last-child td{border-bottom:0!important}
html body .sop583 .sop-table .c-name{width:46%}
html body .sop583 .sop-table td.c-name b{display:block;font-weight:600}
html body .sop583 .sop-table td.c-name span{display:block;font-size:12px;color:var(--theme-muted,#6b7380);line-height:18px}
html body .sop583 .sop-table .c-time{text-align:right!important;white-space:nowrap}
html body .sop583 .sop-table td.c-time{color:var(--theme-muted,#6b7380)!important}
html body .sop583 .sop-table td.sop-none{text-align:center!important;color:var(--theme-muted,#6b7380)!important;padding:24px!important}
html body .sop583 .sop-tag{display:inline-block;font-size:12px;padding:2px 8px;border-radius:6px;background:var(--theme-bg,#f2f4f6);color:var(--theme-muted,#4b5563);white-space:nowrap}
html body .sop583 .sop-card,html body .sop583 .sop-step{border-color:var(--theme-border,#e6e8ec);border-radius:12px}
html body .sop583 .sop-step{border-left:3px solid var(--theme-brand,#176670)}
html body .sop583 .sop-card h3{font-size:15px!important;font-weight:600!important;color:var(--theme-ink,#1c2430)!important;margin:0 0 10px!important}
html body .sop583 .sop-preview{background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec)}
html body .sop583 .sop-tabs{display:inline-flex;gap:0;border:1px solid var(--theme-border,#e6e8ec);background:var(--theme-bg,#f2f4f6);border-radius:10px;padding:3px;margin:0 0 12px;max-width:100%}
html body .sop583 .sop-tabs button:not(.link):not(.sop-stat){border:0!important;background:transparent!important;border-radius:8px!important}
html body .sop583 .sop-tabs button.active:not(.link):not(.sop-stat){background:var(--theme-accent,#18384b)!important;color:#fff!important}
html body .sop583 button:disabled{opacity:.55!important}
html body .sop583 .sop-inline{white-space:nowrap;flex-direction:row!important}
html body .sop583 .sop-inline select,html body .sop583 .sop-inline .unified-choice{width:170px!important;min-width:170px!important}
html body .sop583 .sop-langbar{display:flex!important;flex-wrap:nowrap;gap:8px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;padding:10px;margin:0 0 12px}
html body .sop583 .sop-langbar .grow{display:none}
html body .sop583 .sop-langbar input.sop-note{flex:1 1 auto!important;width:auto!important;min-width:120px!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important}
html body .sop583 .sop-langbar button{flex:none;width:auto!important;margin:0!important}
html body .sop583 .sop-table td{font-weight:400!important}
}
@media (max-width:900px){
html body #app>.content:has(#sop583Root){padding:16px!important}
html body .sop583 .sop-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .sop583 .sop-toolbar{flex-wrap:wrap}
html body .sop583 .sop-search{flex-basis:100%}
html body .sop583 .sop-toolbar>:is(select,.unified-choice){flex:1 1 100%!important;width:100%!important}
html body .sop583 .sop-table :is(th,td):is(:nth-child(4),.c-time){display:none!important}
html body .sop583 .sop-head{align-items:flex-start;flex-wrap:wrap}
html body .sop583 .sop-langbar{flex-wrap:wrap}
}
.sop-dialog select{font:inherit;border:1px solid var(--theme-border,#d0d5dd);border-radius:8px;padding:8px;background:var(--theme-card,#fff)}
/* intuitive round: big folders, photo cards, progress bar, button groups */
@media screen{
html body .sop583 .sop-search-big{position:relative;margin:0 0 14px}
html body .sop583 .sop-search-big svg{left:16px;top:15px;width:18px;height:18px}
html body .sop583 .sop-search-big input{height:48px!important;min-height:48px!important;font-size:16px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:12px!important;background:var(--theme-card,#fff)!important;padding:0 16px 0 44px!important;margin:0!important;box-shadow:none!important}
html body .sop583 .sop-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
html body .sop583 button.sop-tile:not(.link):not(.sop-stat){display:flex!important;align-items:center;gap:18px;width:auto!important;min-height:112px!important;margin:0!important;padding:18px 24px!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:14px!important;background:var(--theme-card,#fff)!important;text-align:left;white-space:normal!important;box-shadow:none!important}
html body .sop583 button.sop-tile:hover{border-color:var(--theme-brand,#176670)!important}
html body .sop583 button.sop-tile[aria-pressed=true]:not(.link):not(.sop-stat){border:2px solid var(--theme-brand,#176670)!important;background:var(--theme-soft,#eaf4f4)!important}
html body .sop583 .sop-tile .sop-folder-icon{width:52px;height:52px;flex:none;padding:10px;border-radius:14px;background:var(--theme-soft,#eaf4f4);color:var(--theme-accent,#176670);box-sizing:border-box}
html body .sop583 .sop-tile[aria-pressed=true] .sop-folder-icon{background:var(--theme-accent,#176670);color:#fff}
html body .sop583 .sop-tile-text{flex:1;min-width:0;display:flex;flex-direction:column}
html body .sop583 .sop-tile-text b{font-size:22px;font-weight:600;line-height:1.4}
html body .sop583 .sop-tile-text small{display:block!important;font-size:13px;color:var(--theme-muted,#6b7380);font-weight:400}
html body .sop583 .sop-tile-num{flex:none;text-align:right}
html body .sop583 .sop-tile-num strong{font-size:30px;font-weight:600;line-height:1.2}
html body .sop583 .sop-tile-num small{display:inline!important;margin-left:4px;font-size:13px;color:var(--theme-muted,#6b7380);font-weight:400}
html body .sop583 .sop-tile-num em{display:block;margin-top:2px;font-style:normal;font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px;background:#fff4ed;color:#c2410c;white-space:nowrap}
html body .sop583 .sop-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
html body .sop583 button.sop-chip:not(.link):not(.sop-stat){width:auto!important;margin:0!important;border-radius:18px!important;min-height:36px!important;padding:4px 16px!important;font-size:14px!important}
html body .sop583 .sop-chip b{margin-left:4px;color:var(--theme-muted,#6b7380);font-weight:600}
html body .sop583 button.sop-chip[aria-pressed=true]:not(.link):not(.sop-stat){background:var(--theme-accent,#18384b)!important;border-color:var(--theme-brand,#18384b)!important;color:#fff!important}
html body .sop583 .sop-chip[aria-pressed=true] b{color:#fff}
html body .sop583 .sop-docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
html body .sop583 .sop-doc{display:flex;flex-direction:column;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:14px;overflow:hidden;cursor:pointer}
html body .sop583 .sop-doc:hover{border-color:var(--theme-brand,#176670);box-shadow:0 2px 10px #18384b1f}
html body .sop583 :is(.sop-doc,.sop-tile,.sop-chip,.sop-seg button):focus-visible{outline:2px solid var(--theme-brand,#176670)!important;outline-offset:2px}
html body .sop583 .sop-cover{position:relative;aspect-ratio:1;max-height:320px;background:var(--theme-soft,#eaf4f4);display:grid;place-items:center;overflow:hidden}
html body .sop583 .sop-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
html body .sop583 .sop-doc-icon{width:48px;height:48px;color:var(--theme-accent,#176670)}
html body .sop583 .sop-doc-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
html body .sop583 .sop-doc h3{margin:0!important;font-size:17px!important;font-weight:600!important;line-height:1.4!important;color:var(--theme-ink,#1c2430)!important;overflow-wrap:anywhere}
html body .sop583 .sop-doc p{margin:0!important}
html body .sop583 .sop-doc-meta{font-size:12px!important;color:var(--theme-muted,#6b7380)!important}
html body .sop583 .sop-doc-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
html body .sop583 .sop-docs .sop-none{grid-column:1/-1;text-align:center;padding:32px!important;margin:0}
html body .sop583 .sop-pill{font-size:13px}
html body .sop583 .sop-flow{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;padding:12px 16px;margin:0 0 12px}
html body .sop583 .sop-flow ol{display:flex;align-items:center;list-style:none;margin:0!important;padding:0!important}
html body .sop583 .sop-flow li{display:flex;align-items:center;gap:8px;margin:0!important;font-size:14px;color:var(--theme-muted,#6b7380)}
html body .sop583 .sop-flow li+li:before{content:"";width:44px;height:2px;background:#d4d8de;margin:0 10px}
html body .sop583 .sop-flow li i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--theme-soft,#eef0f3);color:var(--theme-muted,#6b7380);font-style:normal;font-size:13px;font-weight:600}
html body .sop583 .sop-flow li.done i{background:#176670;color:#fff}
html body .sop583 .sop-flow li.now{color:var(--theme-ink,#1c2430);font-weight:600}
html body .sop583 .sop-flow li.now i{background:#b45309;color:#fff}
html body .sop583 .sop-flow li.done{color:#176670;font-weight:600}
html body .sop583 .sop-flow p{flex:1;margin:0!important;font-size:14px!important;color:var(--theme-ink,#1c2430);min-width:180px}
html body .sop583 .sop-viewbar{display:flex!important;flex-direction:column;align-items:stretch;gap:10px}
html body .sop583 .sop-view-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body .sop583 .sop-view-row>b{flex:none;min-width:64px;font-size:14px;font-weight:600}
html body .sop583 .sop-view-row .sop-dl-hint{flex-basis:auto}
html body .sop583 .sop-view-row .sop-dl-more{gap:8px}
html body .sop583 .sop-seg{display:inline-flex;border:1px solid var(--theme-border,#e6e8ec);background:var(--theme-bg,#f2f4f6);border-radius:10px;padding:3px;flex-wrap:wrap}
html body .sop583 .sop-seg button:not(.link):not(.sop-stat){border:0!important;background:transparent!important;width:auto!important;margin:0!important;min-height:34px!important;min-width:76px}
html body .sop583 .sop-seg button[aria-pressed=true]:not(.link):not(.sop-stat){background:var(--theme-accent,#176670)!important;color:#fff!important}
html body .sop583 .sop-btn-icon{width:15px;height:15px;vertical-align:-2px;margin-right:6px}
html body .sop583 .sop-view-row button{width:auto!important;margin:0!important}
}
@media (max-width:700px){
html body .sop583 .sop-tiles{gap:10px}
html body .sop583 button.sop-tile:not(.link):not(.sop-stat){flex-direction:column;align-items:flex-start;gap:8px;padding:14px!important}
html body .sop583 .sop-tile-text small{display:none!important}
html body .sop583 .sop-tile-num{text-align:left}
html body .sop583 .sop-flow li+li:before{width:14px;margin:0 6px}
html body .sop583 .sop-docs{grid-template-columns:1fr}
}
.sop-pick{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sop-pick legend{font-weight:600;font-size:13px;padding:0;margin-bottom:4px}
.sop-dialog label.sop-pick-tile{position:relative;flex-direction:row;align-items:center;gap:10px;border:1px solid var(--theme-border,#e6e8ec);border-radius:12px;padding:14px;cursor:pointer;font-size:16px}
.sop-pick-tile input{position:absolute;opacity:0;width:1px!important;height:1px!important}
.sop-pick-tile .sop-folder-icon{width:30px;height:30px;color:var(--theme-accent,#176670);flex:none}
.sop-dialog label.sop-pick-tile:has(input:checked){border-color:var(--theme-brand,#176670);background:var(--theme-soft,#eaf4f4);box-shadow:0 0 0 1px var(--theme-brand,#176670)}
.sop-dialog label.sop-pick-tile:has(input:focus-visible){outline:2px solid var(--theme-brand,#176670);outline-offset:2px}
/* page head: back, folder and title */
html body .sop583 .sop-head-main{min-width:0;flex:1 1 320px}
html body .sop583 .sop-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}
html body .sop583 .sop-crumb button:not(.link):not(.sop-stat){display:inline-flex!important;align-items:center;width:auto!important;min-height:36px!important;margin:0!important;padding:4px 14px!important;font-size:14px!important;max-width:100%}
html body .sop583 .sop-crumb button.sop-back:not(.link):not(.sop-stat){gap:6px;padding-left:10px!important;color:var(--theme-accent,#176670)!important;font-weight:600!important}
html body .sop583 .sop-crumb button:not(.link):not(.sop-stat):hover{border-color:var(--theme-brand,#176670)!important;background:var(--theme-bg,#f3f8f8)!important}
html body .sop583 .sop-crumb button:focus-visible{outline:2px solid var(--theme-brand,#176670);outline-offset:2px}
html body .sop583 .sop-nav-icon{width:16px;height:16px;flex:none;stroke-width:2}
html body .sop583 .sop-where{display:inline-flex;align-items:center;gap:8px;min-height:36px}
html body .sop583 .sop-crumb button.sop-where:not(.link):not(.sop-stat){gap:8px;padding-left:10px!important}
html body .sop583 .sop-where .sop-folder-icon{width:18px;height:18px}
html body .sop583 .sop-where .sop-tag{padding:0;background:none;font-size:14px;color:var(--theme-ink,#1c2430)}
html body .sop583 .sop-where em{font-style:normal;font-weight:600;color:var(--theme-accent,#176670);border-left:1px solid var(--theme-border,#dfe4e8);padding-left:10px;margin-left:2px}
html body .sop583 .sop-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
html body .sop583 .sop-head .sop-title p{margin:0!important;font-size:14px!important;color:var(--theme-muted,#4b5563)!important}
html body .sop583 .sop-head:has(.sop-title){align-items:flex-end}
@media (max-width:700px){html body .sop583 .sop-crumb button:not(.link):not(.sop-stat){min-height:44px!important}html body .sop583 .sop-head:has(.sop-title){align-items:flex-start}}
.sop-dialog .sop-move-name{margin:0;font-weight:600}
.sop-dialog button:disabled{opacity:.5;cursor:not-allowed}
/* quality overview: SOP entry card */
html body #app .sop-entry583 .sop-entry583-go{display:flex;gap:10px;flex-wrap:wrap;width:100%;margin-top:auto}
html body #app .system-cards .sop-entry583 .sop-entry583-go button{flex:1 1 90px;min-height:44px;margin:0;font-size:15px;font-weight:600}
html body #app .sop-entry583 .sop-entry583-go button.primary{background:var(--theme-accent,#176670);border-color:var(--theme-brand,#176670);color:#fff}

/* qc620.css */
/* Quality > QC forms (qc620). Scoped to .qc620. */
.qc620{color:var(--theme-ink,#1c2430)}
.qc620 .grow{flex:1 1 180px;min-width:0}
.qc620 .muted{color:var(--theme-muted,#5d747d)}
.qc620 h2{margin:0 0 4px;font-size:20px;line-height:1.3}
.qc620 h3{margin:0 0 10px;font-size:16px}
.qc620 button{min-height:44px}
.qc620 :is(input,select,textarea){box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--theme-border,#c6d4df);border-radius:8px;padding:8px 10px;background:var(--theme-card,#fff);color:inherit}
.qc620 :is(input[type=checkbox],input[type=radio]){width:20px;min-height:0;height:20px;margin:0;flex:none}
.qc620 label{display:flex;flex-direction:column;gap:4px;font-size:14px}
.qc-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:12px}
.qc-bar>h2{align-self:center;margin:0}
.qc620 .qc-check{flex-direction:row;align-items:center;gap:8px;margin-bottom:10px}
.qc-sticky{position:sticky;top:0;z-index:4;align-items:center;padding:8px 0;background:var(--theme-bg,#f3f6f8)}
.qc-sticky .grow{display:flex;flex-direction:column;line-height:1.35}
.qc-state{font-size:14px;color:var(--theme-muted,#5d747d)}
.qc-state.warn{color:#9a4a00;font-weight:700}
.qc-msg{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:var(--theme-soft,#e3f0f2)}
.qc-msg.bad{background:#fdecea;color:#8c1d18}
.qc-msg[hidden]{display:none}
.qc-draw{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 12px;font-size:14px;overflow-wrap:anywhere}
.qc-draw:empty{display:none}
.qc-warn{color:#9a4a00}
.qc-page-head p{margin:4px 0 14px;line-height:1.5}
.qc-nav{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;padding:18px;margin-bottom:16px;background:var(--theme-card,#fff);border:1px solid var(--theme-border,#d8e3e9);border-radius:12px}
.qc-nav>label{flex:0 1 260px;min-width:210px;font-weight:600}
.qc-seg3{display:flex;flex-wrap:wrap;gap:8px}
.qc-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}
.qc-tools input{flex:0 1 320px}
.qc-cell{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.qc-chips{display:flex;flex-wrap:wrap;gap:8px}
.qc-dialog.wide{width:min(1000px,calc(100vw - 32px));max-height:86vh;overflow:auto}
.qc-box{margin:8px 0;padding:8px 12px;border:1px solid var(--theme-border,#d8e3e9);border-radius:10px}
.qc-box summary{cursor:pointer;min-height:32px;line-height:32px}
.qc-set>h2{margin-bottom:10px}
.qc-seg{display:flex}
.qc-seg button{border-radius:0;margin:0}
.qc-seg button:first-child{border-radius:8px 0 0 8px}.qc-seg button:last-child{border-radius:0 8px 8px 0;border-left:0}
.qc620 [aria-pressed=true]:not(.qc-v){background:var(--theme-accent,#126c78);border-color:var(--theme-accent,#126c78);color:#fff!important}
.qc-set>p{margin:0 0 10px}
.qc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.qc-tiles button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;text-align:left;font-weight:400}
.qc-tiles b{font-size:16px}.qc-tiles small{color:var(--theme-muted,#5d747d);line-height:1.4}
.qc-empty{padding:32px 12px;text-align:center}
.qc-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.qc-create>:is(fieldset,section,p,.qc-actions){grid-column:1/-1;margin:0}
.qc-create fieldset{border:1px solid var(--theme-border,#c6d4df);border-radius:8px;padding:10px 12px}
.qc-kinds{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.qc620 .qc-kinds label{flex-direction:row;align-items:center;gap:8px;min-height:40px}
.qc-circuits table{width:100%;border-collapse:collapse;font-size:14px}
.qc-circuits :is(td,th){padding:7px 8px;border-bottom:1px solid var(--theme-border,#e0e8ed);text-align:left;overflow-wrap:anywhere}
.qc-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:12px}
.qc-blank{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;font-size:14px}
.qc620 .qc-file{position:relative;display:inline-flex;flex-direction:row;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--theme-border,#c6d4df);border-radius:8px;background:var(--theme-card,#fff);font-weight:700;cursor:pointer}
.qc-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.qc-file:focus-within{outline:2px solid var(--theme-accent,#126c78);outline-offset:2px}
.qc-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.qc-fields.two{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}
.qc-group{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
.qc-group>span{font-size:14px;color:var(--theme-muted,#5d747d)}
.qc-cells{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.qc-cells label{font-size:13px}
.qc-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-width:420px}
.qc620 [data-fillna]{margin-top:10px}
.qc-item p{margin:0 0 10px;line-height:1.5}
.qc-fill{max-width:960px}
.qc-fill .panel{margin-bottom:12px}
.qc-hist{margin:0;padding:0;list-style:none;max-height:60vh;overflow:auto}
.qc-hist li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:9px 0;border-bottom:1px solid var(--theme-border,#e0e8ed)}
.qc-dialog{width:min(520px,calc(100vw - 32px));border:0;border-radius:14px;padding:20px;background:var(--theme-card,#fff)}
.qc-dialog::backdrop{background:rgba(10,25,35,.45)}
.qc620 .qc-radio{flex-direction:row;align-items:center;gap:10px;padding:10px 0}
.qc-radio span{display:flex;flex-direction:column}.qc-radio small{color:var(--theme-muted,#5d747d)}
/* the sheet: always black on white */
.qc-scroll{overflow-x:auto;padding-bottom:8px}
.qc-page{position:relative;container-type:inline-size;width:100%;min-width:760px;max-width:1080px;margin:0 auto 16px;background:#fff;color:#111;border:1px solid #c6d4df;overflow:hidden;font-family:Arial,"Microsoft JhengHei",sans-serif}
.qc-page.wide{max-width:1400px;min-width:980px}
.qc-page>img{position:absolute;inset:0;width:100%;height:100%}
.qc-page>*{position:absolute;box-sizing:border-box}
.qc620 .qc-v{min-height:0;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;color:#0a2a8c;font:400 calc(var(--fs) / var(--w) * 100cqw)/1.15 Arial,"Microsoft JhengHei",sans-serif;white-space:nowrap;overflow:hidden;display:flex;align-items:center;box-shadow:none}
.qc620 .qc-v.mid{justify-content:center;text-align:center}
.qc620 textarea.qc-v,.qc620 .qc-v.area{display:block;white-space:pre-wrap;resize:none;line-height:1.35}
.qc620 .qc-v.wrap{overflow-wrap:anywhere;text-align:center;line-height:1.15!important}
.qc620 .qc-page input.qc-v,.qc620 .qc-page textarea.qc-v,.qc620 .qc-page button.qc-v{background:rgba(38,132,255,.06)}
.qc620 .qc-page .qc-v:is(input,textarea,button):hover{background:rgba(38,132,255,.16)}
.qc620 .qc-page .qc-v:is(input,textarea,button):focus{background:#fffbe0;outline:2px solid #126c78;outline-offset:-1px}
.qc-page:not(.has-img):not(.ink) .qc-v{box-shadow:0 0 0 1px #8a949b!important}
/* site-wide phone and tablet input styles must not reach the sheet */
.qc620 .qc-page.qc-page .qc-v.qc-v.qc-v.qc-v:is(input,textarea,button){min-height:0!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;font-size:calc(var(--fs) / var(--w) * 100cqw)!important;line-height:1.15!important;font-weight:400!important;color:#0a2a8c!important;background:rgba(38,132,255,.06)!important}
.qc620 .qc-page.qc-page .qc-v.qc-v.qc-v.qc-v:is(input,textarea,button):focus{background:#fffbe0!important}
.qc-page:not(.has-img):not(.ink) .qc-v.led{box-shadow:none!important}
.qc-pre{display:flex;align-items:center;font-size:calc(var(--fs) / var(--w) * 100cqw);color:#333;pointer-events:none;z-index:1}
.qc-page:not(.has-img):not(.ink) .qc-pre{box-shadow:none}
.qc620 [data-t]{text-transform:uppercase}
.qc-cap,.qc-sign,.qc-band,.qc-title{display:flex;align-items:center;justify-content:center;text-align:center;white-space:pre-line;font-size:calc(var(--fs,15) / var(--w) * 100cqw);line-height:1.15;color:#222;pointer-events:none}
.qc-cap{box-shadow:0 0 0 1px #8a949b;padding:0 .2cqw}
.qc-cap.left{justify-content:flex-start;text-align:left}.qc-cap.top{align-items:flex-start;padding-top:.3cqw}.qc-cap.nob{box-shadow:none;justify-content:flex-end;padding-right:.4cqw;white-space:nowrap}
.qc-band{flex-direction:column;background:#dfe7ec;box-shadow:0 0 0 1px #8a949b}.qc-band b{font-size:1.7cqw}.qc-band small{font-size:1cqw;color:#222}
.qc-title{flex-direction:column;align-items:flex-start}.qc-title b{font-size:1.9cqw;line-height:1.2}.qc-title small{font-size:1cqw;color:#444}
.qc-sign{color:#9aa4ab;font-size:1.35cqw;box-shadow:0 0 0 1px #8a949b}.qc-sign.line{justify-content:flex-start;color:#222;font-size:1.05cqw;box-shadow:none;border-bottom:1px solid #444}
.qc-foot{left:2.5%;bottom:.7%;font-size:.78cqw;color:#555}
.qc-print{display:none}
@media(max-width:760px){.qc-nav{padding:12px;gap:10px}.qc-nav>label,.qc-tools input{flex:1 1 100%}.qc-seg3{width:100%}.qc-seg3 button{flex:1}
.qc-machines thead{display:none}.qc620 table.qc-machines,.qc-machines tbody,.qc-machines tr,.qc-machines td{display:block!important;width:auto!important}
.qc-machines tr{padding:12px;margin-bottom:10px;border:1px solid var(--theme-border,#d8e3e9)!important;border-radius:12px;background:var(--theme-card,#fff)}
.qc620 .qc-machines td{padding:3px 0!important;border:0!important;text-align:left!important;min-height:0}
.qc-machines td:nth-child(1),.qc-machines td:nth-child(2){display:inline-block!important;margin-right:12px}
.qc-machines td button{margin:0}}
@media(max-width:760px){.qc-page,.qc-page.wide{min-width:0}.qc-create{grid-template-columns:minmax(0,1fr)}.qc-bar>label{flex:1 1 100%}.qc-bar>.primary{flex:1 1 100%}.qc-sticky{gap:6px}.qc-sticky .grow{flex:1 1 60%}.qc-sticky>button,.qc-sticky>.qc-seg{flex:1 1 auto}.qc-seg button{flex:1}.qc-sticky>button.primary{flex:1 1 auto}.qc-cells{grid-template-columns:repeat(3,minmax(0,1fr))}.qc-fields.two{grid-template-columns:minmax(0,1fr)}.qc-choice{max-width:none}}
@media print{
html.qc620-printing,html.qc620-printing body{margin:0!important;padding:0!important;background:#fff!important}
html.qc620-printing body>*:not(#qc620print){display:none!important}
html.qc620-printing #qc620print{display:block!important}
#qc620print .qc-page{width:8.5in;height:11in;min-width:0;max-width:none;margin:0;border:0;break-after:page;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#qc620print .qc-page.wide{width:11in;height:8.5in}
#qc620print .qc-page:last-child{break-after:auto}
#qc620print .qc-page:not(.has-img)>*{translate:var(--dx,0) var(--dy,0)}
#qc620print .qc-v{color:#000}
}

/* qc634 drawing revision check, Excel export */
.qc-rev{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 12px;padding:10px 12px;border-radius:8px;border-left:6px solid #7b8791;background:#eef1f3;color:#2f3b44;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.qc-rev.ok{border-left-color:#1e7b34;background:#e7f4ea;color:#14532d}
.qc-rev.check{border-left-color:#c25e00;background:#fff1e0;color:#6e3400}
.qc-rev.unknown,.qc-rev.loading{border-left-color:#7b8791;background:#eef1f3;color:#2f3b44}
.qc-rev>b{flex:none}.qc-rev>small{flex:0 1 auto;opacity:.85}.qc-rev>.grow{flex:1 1 220px}
.qc-dialog .qc-rev{margin:4px 0 8px}
.qc-conflict{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fdecea;color:#8c1d18;font-size:14px}
.qc-conflict[hidden]{display:none}.qc-conflict>span{flex:1 1 240px}
.qc-rhead{right:2.5%;top:.5%;max-width:95%;font-size:.78cqw;color:#333;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.qc-rev>button,.qc-conflict>button{flex:1 1 100%}}

/* qc626 create preview */
.qc-create[hidden],.qc-preview[hidden]{display:none}.qc-preview>h2{margin:0 0 4px}.qc-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.qc-tabs button{min-height:36px}

/* qc-defects642.css */
/* qc642: QC defect log and statistics. Light surfaces, dark text; status is always written as a word. */
.qd642{--qd-text:#37352f;--qd-muted:rgba(55,53,47,.62);--qd-line:rgba(55,53,47,.12)}
.qd642 .qd-counts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0 12px;color:var(--qd-muted)}
.qd642 .qd-counts b{color:var(--qd-text);font-size:16px;margin-left:4px;font-variant-numeric:tabular-nums}
.qd642 .qd-list{display:grid;gap:10px}
.qd642 .qd-card{background:var(--theme-card,#fff);border:1px solid var(--qd-line);border-left:4px solid #d3d1cb;border-radius:8px;padding:10px 12px}
.qd642 .qd-s-open{border-left-color:#e3a14a}.qd642 .qd-s-fixed{border-left-color:#5b9bd5}.qd642 .qd-s-verified{border-left-color:#6aae6a}.qd642 .qd-s-void{opacity:.75}
.qd642 .qd-card header{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 10px;padding:0;margin:0;border:0;background:none;min-height:0;position:static;box-shadow:none}
.qd642 .qd-no{font-variant-numeric:tabular-nums;color:var(--qd-text)}
.qd642 .qd-tag,.qd642 .qd-cat,.qd642 .qd-sev{display:inline-block;padding:1px 8px;border-radius:4px;font-size:12.5px;line-height:20px;color:var(--qd-text);background:#efeeec}
.qd642 .qd-tag-open{background:#fbe9d2;color:#5c3b0b}.qd642 .qd-tag-fixed{background:#d9e8f5;color:#183347}.qd642 .qd-tag-verified{background:#dbeddb;color:#1c3829}.qd642 .qd-tag-void{background:#ecebe8;color:#55524c}
.qd642 .qd-sev-critical{background:#fde2e0;color:#7a1d16;font-weight:600}.qd642 .qd-sev-major{background:#fbf3db;color:#5c4a0b}.qd642 .qd-sev-minor{background:#eeeeec}
.qd642 .qd-desc{margin:8px 0 4px;font-size:15px;color:var(--qd-text);white-space:pre-wrap;overflow-wrap:anywhere}
.qd642 .qd-meta{margin:2px 0;font-size:12.5px;color:var(--qd-muted)}
.qd642 .qd-card .qc-actions{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.qd642 .qd-form{margin:0 0 12px}
.qd642 .qd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.qd642 .qd-grid label{display:grid;gap:4px}
.qd642 .qd-grid .qd-wide{grid-column:1/-1}
.qd642 .qd-sev-pick{grid-column:1/-1;border:1px solid var(--qd-line);border-radius:8px;padding:8px 12px;display:flex;flex-wrap:wrap;gap:6px 18px}
.qd642 .qd-sev-pick label{display:inline-flex;align-items:center;gap:6px}
.qd642 .qd-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.qd642 .qd-filters select,.qd642 .qd-filters input{min-height:36px}
.qd642 .qd-filters select{width:auto;flex:0 1 210px;max-width:100%}
.qd642 .qd-filters input{flex:1 1 200px}
.qd642 .qd-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:0 0 12px}
.qd642 .qd-stat{background:var(--theme-card,#fff);border:1px solid var(--qd-line);border-radius:8px;padding:10px 12px;display:grid;gap:2px}
.qd642 .qd-stat span{font-size:12.5px;color:var(--qd-muted)}
.qd642 .qd-stat b{font-size:24px;color:var(--qd-text);font-variant-numeric:tabular-nums}
.qd642 .qd-stat-void b{font-size:16px}
.qd642 .qd-table td,.qd642 .qd-table th{text-align:center;font-variant-numeric:tabular-nums}
.qd642 .qd-table th[scope=row]{text-align:left}
.qc620 .qc-page-head .qd-stats-btn{float:right;margin-left:12px}
.qd642-dialog textarea{width:100%;box-sizing:border-box}
.qd642-dialog .qd-hist{padding-left:20px;display:grid;gap:8px;max-height:60vh;overflow:auto}
@media(max-width:760px){
  .qd642 .qd-grid{grid-template-columns:minmax(0,1fr)}
  .qd642 .qd-card .qc-actions button{flex:1 1 auto}
  .qd642 .qd-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .qc620 .qc-page-head .qd-stats-btn{float:none;margin:0 0 8px}
}
/* v3: grades, analysis charts, category list */
.qd642 .qd-sev-A{background:#e7e1f5;color:#2f1f5c;font-weight:600}.qd642 .qd-sev-B{background:#efebf8;color:#3d2f6b}.qd642 .qd-sev-C{background:#f4f2f9;color:#4a4458}
.qd642 .qd-hint{font-size:12.5px;line-height:1.4}
.qd642 .qd-f{display:grid;gap:2px;font-size:12.5px;color:var(--qd-muted)}
.qd642 .qd-filters{align-items:end}
.qd642 .qd-filters .qd-f select{min-width:120px;width:auto;max-width:100%}
.qd642 .qd-stat-a b{color:#2f1f5c}
.qd642 .qd-sub{margin:0 0 10px;font-size:12.5px}
.qd642 .qd-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.qd642 .qd-chart{margin:0;min-width:0}
.qd642 .qd-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.qd642 .qd-chart-head h3{margin:0;font-size:15px}
.qd642 .qd-chart-head input{min-height:34px;flex:0 1 240px}
.qd642 .qd-tbl{min-height:30px;padding:2px 10px;font-size:12.5px}
.qd642 .qd-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:2px 0 6px;font-size:12.5px;color:var(--qd-text)}
.qd642 .qd-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.qd642 .qd-svg{display:block;width:100%;height:auto;overflow:visible}
.qd642 .qd-svg .qd-gl{stroke:rgba(55,53,47,.09);stroke-width:1}.qd642 .qd-svg .qd-base{stroke:rgba(55,53,47,.3)}
.qd642 .qd-svg text{font-family:inherit;fill:var(--qd-muted)}.qd642 .qd-svg .qd-ax{font-size:12px}.qd642 .qd-svg .qd-lab{font-size:13px;fill:var(--qd-text)}.qd642 .qd-svg .qd-val{font-size:13px;fill:var(--qd-text);font-variant-numeric:tabular-nums}
.qd642 .qd-svg .qd-hit{cursor:pointer}
.qd642{position:relative}
.qd642 .qd-tip{position:absolute;z-index:5;pointer-events:none;max-width:320px;background:#fff;color:var(--qd-text);border:1px solid var(--qd-line);border-radius:6px;box-shadow:0 2px 10px rgba(15,15,15,.12);padding:6px 10px;font-size:12.5px;line-height:1.4}
.qd642 .qd-heat td{padding:0}
.qd642 .qd-cell{all:unset;display:block;width:100%;min-height:32px;line-height:32px;text-align:center;cursor:pointer;color:var(--qd-text);font-variant-numeric:tabular-nums}
.qd642 .qd-cell:focus-visible{outline:2px solid #5b9bd5;outline-offset:-2px}
.qd642 .qd-cat-list{display:grid;gap:8px}
.qd642 .qd-cat-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;background:var(--theme-card,#fff);border:1px solid var(--qd-line);border-radius:8px;padding:10px 12px}
.qd642 .qd-cat-main{min-width:0;flex:1 1 auto}
.qd642 .qd-cat-row .qc-actions{flex:0 0 auto;display:flex;gap:6px;margin:0}
@media(max-width:760px){.qd642 .qd-cat-row{flex-direction:column}.qd642 .qd-cat-row .qc-actions{width:100%}.qd642 .qd-cat-row .qc-actions button{flex:1 1 0}}
.qd642 .qd-retired{color:var(--qd-muted)}
@media(max-width:760px){
  .qd642 .qd-charts{grid-template-columns:minmax(0,1fr)}
  .qd642 .qd-filters .qd-f{flex:1 1 45%}
  .qd642 .qd-filters .qd-f select{width:100%}
  .qd642 .qd-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.qd642 .qd-card header{display:flex!important;grid-template-columns:none!important}
.qd642 .qd-card header>*{flex:0 0 auto;width:auto!important;max-width:100%;white-space:nowrap}

@media(max-width:760px){
  .qd642 .qd-list{grid-template-columns:minmax(0,1fr)}
  .qd642 .qd-list .qd-card,.qd642 .qd-form{min-width:0;max-width:100%}
  .qd642 .qd-card .qc-actions button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  /* The mobile app shell styles every header under #app; restore card-only wrapping. */
  #app .qd642 .qd-card > header{
    position:static!important;height:auto!important;min-height:0!important;
    z-index:auto!important;padding:0!important;gap:6px 10px!important;flex-wrap:wrap!important;
    box-sizing:border-box;max-width:100%;
  }
  #app .qd642 .qd-card > header>*{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
  dialog.qd642-dialog{box-sizing:border-box;max-width:calc(100vw - 16px)}
}

/* QCB659 defect board */
.qd642 .qd-filters .qd-check{display:inline-flex;flex-direction:row;flex:0 0 auto;align-items:center;gap:6px;min-height:36px;white-space:nowrap}
.qd642 .qd-filters .qd-check input{flex:none;width:18px;height:18px;min-height:0;margin:0;display:inline-block}
.qd642 .qd-board .qd-board-toggle{min-width:32px;min-height:32px;padding:0 6px}
.qd642 .qd-board .qd-board-tool{font-weight:600}
.qd642 .qd-board .qd-board-nos{text-align:left;font-size:.9em;white-space:nowrap}
.qd642 .qd-board .qd-board-a{color:var(--bad,#b42318)}
.qd642 .qd-board-detail>td{text-align:left;padding:4px 8px 12px 40px;background:var(--panel-2,rgba(0,0,0,.03))}
.qd642 .qd-board-items{border:1px solid var(--line,#d0d5dd);border-radius:8px;background:var(--panel,#fff);overflow:hidden}
.qd642 .qd-bi-list{list-style:none;margin:0;padding:0}
.qd642 .qd-bi{display:grid;grid-template-columns:11.5em 4.5em minmax(0,1.4fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,.7fr) 6.5em minmax(0,3fr);gap:8px;align-items:center;padding:8px 12px;border-top:1px solid var(--line,#d0d5dd);text-align:left}
.qd642 .qd-bi-head{border-top:0;font-weight:600;font-size:.9em;color:var(--muted,#667085)}
.qd642 .qd-bi.qd-s-void{opacity:.6}
.qd642 .qd-bi,.qd642 .qd-bi *{white-space:normal!important}
.qd642 .qd-bi>span{min-width:0;overflow-wrap:anywhere}
.qd642 .qd-bi .qd-bi-no b{white-space:nowrap!important}
.qd642 .qd-bi .qd-cat,.qd642 .qd-bi .qd-tag{max-width:100%;overflow:visible;text-overflow:clip;height:auto}
.qd642 .qd-bi .qd-tag,.qd642 .qd-bi .qd-cat{white-space:normal;display:inline-block;max-width:100%}
.qd642 .qd-bi-no b{font-variant-numeric:tabular-nums;white-space:nowrap}
.qd642 .qd-bi-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.qd642 .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:760px){
  .qd642 .qd-board-detail>td{padding:4px 4px 10px}
  .qd642 .qd-board-items{position:sticky;left:0;max-width:calc(100vw - 72px)}
  .qd642 .qd-bi{display:flex;flex-wrap:wrap;gap:4px 12px;border-top:0;border-bottom:1px solid var(--line,#d0d5dd)}
  .qd642 .qd-bi.qd-bi-head{display:none}
  .qd642 .qd-bi .qd-bi-no{flex-basis:100%}
  .qd642 .qd-bi .qd-board-desc{flex-basis:100%}
  .qd642 .qd-bi>span:nth-child(5) .qd-bi-label,.qd642 .qd-bi>span:nth-child(6) .qd-bi-label,.qd642 .qd-bi>span:nth-child(7) .qd-bi-label{position:static;width:auto;height:auto;overflow:visible;clip:auto;color:var(--muted,#667085);margin-right:4px}
}
/* flow584.css */
/* flow584: one-page movement, request and approval layouts (screen only). */
:root{--f584-z:1;--f584-accent:var(--theme-accent,#176670);--f584-line:var(--theme-border,#c9d9dc);--f584-soft:var(--theme-soft,#eaf4f4);--f584-ink:var(--theme-ink,#203e42)}
@media screen and (min-width:1025px){:root{--f584-z:.85}}
@media screen{
html body .f584-seg{display:inline-flex;gap:0;margin:0;padding:3px;border-radius:10px;background:var(--f584-soft);border:1px solid var(--f584-line);width:auto}
html body .f584-seg button,html body .f584-seg button[data-movement-kind]{width:auto;min-width:92px;min-height:38px;margin:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--f584-ink);font-size:15px;font-weight:600;padding:6px 18px}
html body .f584-seg button.primary{background:var(--f584-accent);color:#fff}
html body #app .f584-request .f584-head,html body .f584-head{display:flex;align-items:center;justify-content:flex-start!important;gap:14px;padding:14px 20px;margin:0;border-bottom:1px solid var(--f584-line)}
html body .f584-head h2{margin:0;font-size:21px;line-height:1.3;white-space:nowrap}
html body .f584-x{margin-left:auto;min-width:42px;min-height:42px;padding:0;font-size:16px}
/* fields */
html body .f584-fields.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 14px;padding:14px 20px;margin:0;border:0;border-radius:0;background:var(--theme-bg,#f6f9fa);border-bottom:1px solid var(--f584-line);align-items:start}
html body .f584-fields>*{min-width:0;margin:0;grid-column:auto}
html body .f584-fields :is(label,.field>label){font-size:13px;font-weight:600}
html body .f584-fields :is(input:not([type=checkbox]),select){width:100%;min-height:42px;height:42px;font-size:15px;box-sizing:border-box}
html body .f584-fields .move-project-heading{display:flex;justify-content:space-between;gap:6px}
html body .f584-fields :is(.move-project-default,.request-project-default){font-size:12px;font-weight:400;opacity:.8;white-space:nowrap;margin:0}
html body .f584-fields .request-project-field{display:flex;flex-direction:column;gap:4px}
html body #moveForm .f584-fields .move-project-hint{display:none!important}
html body .f584-fields .move-project-heading label[for]{font-size:13px;font-weight:600}
html body .f584-fields .request-project-field{position:relative}
html body .f584-fields .request-project-field>:not(.request-project-default){width:100%;min-width:0}
html body .f584-fields .request-project-default{position:absolute;right:0;top:0;display:flex;align-items:center;gap:4px;line-height:1.3}
html body .f584-fields .request-project-default input{width:15px;height:15px;min-height:0;margin:0}
html body .f584-fields .is-missing :is(input,select){border-color:#c0392b!important;box-shadow:0 0 0 2px #c0392b33}
/* workbench */
html body .flow584 .f584-work{display:grid!important;grid-template-columns:minmax(340px,4fr) minmax(0,7fr);gap:0;min-height:0;margin:0}
html body .f584-pick{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--f584-line);background:var(--theme-card,#fff)}
html body .f584-pick-top{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:8px;padding:14px 16px 10px}
html body .f584-pick-top h3{grid-column:1/-1;margin:0;font-size:16px}
html body .f584-pick-top :is(input,select){min-height:42px;height:42px;font-size:15px;width:100%;box-sizing:border-box;margin:0}
html body .f584-pick-hint{margin:0 16px 8px;padding:8px 12px;border-radius:8px;background:var(--f584-soft);font-size:14px}
html body .f584-pick-hint.is-error{background:#fdecea;color:#8f2519}
html body .f584-pick-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 8px 8px}
html body .f584-pick-row{display:grid;grid-template-columns:minmax(0,1fr) 62px 70px 66px;gap:8px;align-items:center;padding:7px 8px;border-bottom:1px solid var(--theme-border,#e8eef0);border-radius:6px}
html body .f584-pick-row:hover{background:var(--theme-bg,#f5f9fa)}
html body .f584-pick-row.is-added{background:var(--f584-soft)}
html body .f584-pick-text{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 8px;min-width:0}
html body .f584-pick-text strong{font-size:15px}
html body .f584-pick-text span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .f584-pick-text small{grid-column:1/-1;font-size:13px;color:var(--theme-muted,#5d747d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .f584-pick-stock{text-align:right;line-height:1.25}
html body .f584-pick-stock b{display:block;font-size:15px;font-variant-numeric:tabular-nums}
html body .f584-pick-stock small{font-size:12px;color:var(--theme-muted,#5d747d)}
html body .f584-pick-row input{width:100%;min-height:38px;height:38px;margin:0;padding:4px 6px;text-align:center;font-size:15px;box-sizing:border-box}
html body .f584-add{min-height:38px;padding:4px 6px;margin:0;font-size:14px;font-weight:600;color:var(--f584-accent);border-color:var(--f584-accent);background:var(--theme-card,#fff);width:100%}
html body .f584-pick-row.is-added .f584-add{background:transparent;font-weight:500}
html body .f584-more{width:100%;margin:8px 0}
html body .f584-none{padding:24px;text-align:center;color:var(--theme-muted,#5d747d)}
html body .f584-equipment{margin:0;padding:10px 16px;border-top:1px solid var(--f584-line);background:var(--theme-bg,#f6f9fa);font-size:14px;max-height:45%;overflow:auto;flex:none}
html body .f584-equipment summary{cursor:pointer;font-weight:600}
/* document items */
html body .f584-doc{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--theme-card,#fff)}
html body .f584-doc-head{display:flex;align-items:center;gap:12px;padding:14px 18px 8px}
html body .f584-doc-head h3{margin:0;font-size:16px}
html body .f584-doc-head .cart395-primary{display:none;margin-left:auto}
html body .f584-rowhead,html body .f584-row{display:grid;grid-template-columns:48px minmax(130px,1.5fr) 120px 176px minmax(100px,1fr) 42px;gap:12px;align-items:center;padding:8px 18px}
html body .f584-rowhead{font-size:13px;color:var(--theme-muted,#5d747d);border-bottom:1px solid var(--f584-line);padding-block:6px}
html body .flow584 .cart395-items{display:flex!important;flex-direction:column;flex-wrap:nowrap;flex:1 1 auto;min-height:0;overflow-y:auto;gap:0}
html body .f584-row{border-bottom:1px solid var(--theme-border,#e8eef0);flex:none}
html body .f584-row.is-new{animation:f584new 1.6s ease-out}
html body .f584-row.is-added617{animation:f584new 2s ease-out;animation-delay:var(--added617-delay,0ms)}
html body .f584-pick{position:relative}
html body .f584-pick-ok{position:absolute;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:2;max-width:calc(100% - 32px);width:max-content;margin:0;padding:10px 16px;border-radius:10px;background:#12303b;color:#fff;font-size:15px;line-height:1.4;pointer-events:none;opacity:0}
html body .f584-pick-ok.is-on{opacity:1}
@keyframes f584new{from{background:var(--f584-soft)}to{background:transparent}}
html body .f584-row .cart395-photo,html body .f584-photo{width:48px;height:48px;min-height:0;border-radius:8px;overflow:hidden;background:var(--theme-soft,#eef2f4);display:grid;place-items:center}
html body :is(.f584-row .cart395-photo,.f584-photo) img{width:100%!important;height:48px!important;max-height:48px;object-fit:contain;padding:2px;box-sizing:border-box}
html body :is(.f584-row .cart395-photo,.f584-photo) .material-photo-button{display:block!important;width:48px!important;height:48px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:11px!important;overflow:hidden}
html body .f584-row .cart395-no-photo{padding:2px!important;font-size:11px!important}
html body .f584-name strong{display:block;font-size:15px}
html body .f584-name span{display:block;font-size:14px;line-height:1.35}
html body .f584-name small{display:block;font-size:13px;color:var(--theme-muted,#5d747d);overflow-wrap:anywhere;line-height:1.35}
html body .f584-stock-line{display:inline-flex;gap:6px;align-items:baseline;font-variant-numeric:tabular-nums;font-size:15px;white-space:nowrap}
html body .f584-stock-line i{font-style:normal;color:var(--theme-muted,#8aa0a8)}
html body .is-low{color:#b3261e!important}
html body .f584-short{display:block;width:max-content;margin-top:2px;padding:1px 8px;border-radius:99px;background:#fdecea;color:#8f2519;font-size:12px}
html body .f584-row .cart395-quantity{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:4px;margin:0;max-width:none;width:100%}
html body .f584-row .cart395-quantity :is(button,input){min-height:40px;height:40px;margin:0;padding:2px!important;font-size:16px;text-align:center;width:100%;box-sizing:border-box}
html body .f584-row .unit556{font-size:12px!important}
html body .f584-row .unit556 strong{margin:2px 6px 0 0!important}
html body .f584-row>input{width:100%;min-height:40px;height:40px;margin:0;font-size:15px;box-sizing:border-box}
html body .f584-remove{min-width:40px;width:40px;min-height:40px;padding:0;margin:0;color:#8f2519;border-color:transparent;background:transparent;box-shadow:none;font-size:16px}
html body .f584-remove:hover{background:#fdecea}
html body .f584-empty{padding:56px 24px;text-align:center;color:var(--theme-muted,#5d747d);font-size:15px;line-height:1.8}
html body .f584-row .f584-issued{display:block;font-size:12px;color:var(--theme-muted,#5d747d)}
/* footer */
html body .f584-foot{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--f584-line);background:var(--theme-card,#fff);margin:0}
html body .f584-count{font-size:15px;font-weight:600;margin-right:auto}
html body .f584-foot .f584-error{margin:0;color:#8f2519;font-size:14px;flex:1 1 auto;text-align:right}
html body .f584-foot .f584-error:empty{display:none}
html body .f584-foot button{min-height:46px;margin:0;padding:8px 20px;font-size:15px;width:auto;flex:none!important;max-width:none}
html body .f584-foot #vrSave,html body .f584-foot #vrConfirm{background:var(--f584-accent)!important;border-color:var(--f584-accent)!important;color:#fff;min-width:170px;font-weight:700}
html body .f584-foot .f584-wait{opacity:.55}
html body .f584-foot label{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;white-space:nowrap}
html body .f584-foot label input{min-height:44px;height:44px;width:170px;margin:0;font-size:15px}
/* movement dialog */
html body #modal.f584-modal[open]{display:flex!important;flex-direction:column;box-sizing:border-box;width:min(1640px,calc(96vw / var(--f584-z)));max-width:none;height:calc(94dvh / var(--f584-z));max-height:none!important;padding:0;overflow:hidden}
html body #modal.f584-modal .f584-form{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin:0}
html body #modal.f584-modal .flow584{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html body #modal.f584-modal .flow584>.panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--theme-card,#fff)}
html body #modal.f584-modal .f584-work{flex:1 1 auto}
html body #modal.f584-modal .flow584 :is(.vr-editor-header,.movement-cart-error),html body #modal.f584-modal #movePrimaryActions{display:none!important}
html body #modal.f584-modal .f584-fields{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
/* request page */
html body #app .f584-request.panel{width:auto;max-width:none!important;margin:0!important;padding:0!important;border-radius:14px;overflow:clip;background:var(--theme-card,#fff)}
html body #app .f584-request .f584-head .f584-seg{margin-left:8px}
html body #app .f584-request .f584-head #vrHistory,html body #app .f584-request .f584-head>[data-lifecycle546]{margin:0}
html body #app .f584-request .f584-head #vrHistory{margin-left:auto}
html body #app .f584-request .f584-head:not(:has(#vrHistory))>[data-lifecycle546=action]{margin-left:auto}
html body #app .f584-request .f584-head small[data-lifecycle546]{display:none!important}
html body #app .f584-request .f584-head #vrBack{margin:0;flex:none;order:0}
html body #app .f584-request :is(#vrLines,.vr-inline-entry,.approval-list-toolbar){display:none!important}
html body #app .f584-request .f584-work{height:calc((100dvh - 330px) / var(--f584-z));min-height:440px}
html body #app .f584-request .f584-foot{position:sticky;bottom:0;z-index:3;box-shadow:0 -6px 16px #16384410}
html body .f584-tab[hidden]{display:none!important}
html body .f584-pill{padding:3px 12px;border-radius:99px;font-size:13px;font-weight:600;background:var(--theme-soft,#eef2f4);color:var(--theme-muted,#41565f);white-space:nowrap}
html body .f584-pill[data-status=pending]{background:#fff3d6;color:#7a5200}
html body .f584-pill[data-status=partial]{background:#e3f0fb;color:#1c5687}
html body .f584-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 20px;margin:0;padding:14px 20px;background:var(--theme-bg,#f6f9fa);border-bottom:1px solid var(--f584-line)}
html body .f584-facts dt{font-size:13px;color:var(--theme-muted,#5d747d);margin:0}
html body .f584-facts dd{font-size:15px;font-weight:600;margin:2px 0 0;overflow-wrap:anywhere}
html body .f584-warn{margin:12px 20px 0;padding:10px 14px;border-radius:8px;background:#fff3d6;color:#7a5200;font-size:14px}
html body .f584-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 20px}
html body .f584-bar button{min-height:40px;margin:0;font-size:14px;width:auto}
html body .f584-picked{margin-left:auto;font-size:15px;font-weight:600}
html body .f584-tablewrap{padding:0 20px 12px;overflow-x:auto}
html body .f584-table{width:100%;border-collapse:collapse;table-layout:auto;min-width:0}
html body .f584-table th{font-size:13px;font-weight:600;color:var(--theme-muted,#5d747d);text-align:left;padding:8px 10px;border-bottom:1px solid var(--f584-line);background:var(--theme-card,#fff);white-space:nowrap}
html body .f584-table td{padding:8px 10px;border-bottom:1px solid var(--theme-border,#e8eef0);font-size:15px;vertical-align:middle;text-align:left}
html body .f584-table td.n,html body .f584-table td.n b{font-size:15px!important}
html body .f584-table .n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
html body .f584-table .n .f584-short{margin-left:auto}
html body .f584-table .c{width:46px;text-align:center;padding:0}
html body .f584-table .q{width:140px}
html body .f584-check{display:grid;place-items:center;min-height:48px;cursor:pointer;margin:0}
html body .f584-table input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--f584-accent)}
html body .f584-table .q input{width:110px;min-height:42px;height:42px;margin:0;text-align:center;font-size:16px}
html body .f584-table .unit556{display:inline-block!important;margin-left:6px}
html body .f584-what{display:flex;gap:12px;align-items:center;min-width:220px}
html body .f584-what strong{display:block;font-size:15px}
html body .f584-what span{font-size:14px}
html body .f584-what small{display:block;font-size:13px;color:var(--theme-muted,#5d747d)}
html body .f584-photo{flex:none}
html body .f584-table tbody tr{cursor:pointer}
html body .f584-table tbody tr.is-picked{background:color-mix(in srgb,var(--f584-soft) 45%,var(--theme-card,#fff));box-shadow:inset 3px 0 0 var(--f584-accent)}
html body .f584-table tbody tr.is-done{opacity:.55;cursor:default}
html body .f584-done{font-size:13px;color:var(--theme-muted,#41565f)}
html body .f584-remark{max-width:220px;overflow-wrap:anywhere}
/* request list */
html body .f584-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
html body .f584-chips button{min-height:40px;margin:0;padding:6px 16px;border-radius:99px;font-size:15px;width:auto;box-shadow:none}
html body .f584-chips button b{margin-left:6px;font-variant-numeric:tabular-nums}
html body .f584-chips button[aria-pressed=true]{background:var(--f584-accent);border-color:var(--f584-accent);color:#fff}
html body .f584-actions{display:flex;gap:8px;align-items:center}
html body .f584-actions>button{min-height:38px;margin:0;width:auto;white-space:nowrap}
html body .vr-home td[data-status584=pending] *,html body .vr-home td[data-status584=pending]{color:#7a5200}
html body .vr-home td[data-status584=pending] .pill,html body .vr-home td[data-status584=pending]>span{background:#fff3d6!important}
html body .vr-home td[data-status584=partial] *,html body .vr-home td[data-status584=partial]{color:#1c5687}
html body .f584-tool{display:block;font-size:12px;color:var(--theme-muted,#5d747d)}
}
@media screen{
html body #app .f584-fields .request-project-field .request-project-default{position:absolute;right:0;top:0;min-height:0!important;height:18px;padding:0!important;margin:0!important;width:auto!important;transform:none}
html body #app .f584-fields .request-project-field{display:block;padding:0!important}
html body #app .f584-fields .request-project-field>label:not(.request-project-default){display:block;width:100%;margin:0}
html body .f584-fields>label{display:block}
html body .f584-tablewrap table.f584-table{border:1px solid var(--f584-line);border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden}
html body .f584-tablewrap table.f584-table thead th{background:var(--theme-bg,#f6f9fa)}
html body .f584-tablewrap table.f584-table tbody tr:last-child td{border-bottom:0}
html body .f584-tablewrap table.f584-table tbody tr:hover:not(.is-done):not(.is-picked){background:var(--theme-bg,#f7fafb)}
html body #modal.f584-modal .f584-head h2{align-self:center;margin:0!important}
html body .f584-chips button[aria-pressed=true],html body .f584-chips button[aria-pressed=true] b{color:#fff!important}
html body #app#app#app .vr-home td[data-status584=pending] span.tag{background:#fff3d6!important;color:#7a5200!important}
html body #app#app#app .vr-home td[data-status584=partial] span.tag{background:#e3f0fb!important;color:#1c5687!important}
html body #app#app#app .vr-home td[data-status584=done] span.tag{background:#e6f2eb!important;color:#2c5d45!important}
}
@media screen{
/* picker: photos and sliding categories */
html body .flow584 .f584-work{grid-template-columns:minmax(400px,5fr) minmax(0,7fr)}
html body .f584-pick-top{grid-template-columns:minmax(0,1fr);padding-bottom:6px}
html body .f584-cats{display:flex;align-items:center;gap:2px;min-width:0;margin:0 -6px}
html body .f584-cats .f584-arrow{flex:0 0 36px;width:36px;min-width:36px;min-height:42px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--f584-accent);font-size:15px}
html body .f584-cats .f584-arrow:disabled{opacity:.25}
html body .f584-chips-row{flex:1 1 0;min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 2px;cursor:grab;touch-action:pan-x;user-select:none}
html body .f584-chips-row:active{cursor:grabbing}
html body .f584-chips-row::-webkit-scrollbar{display:none}
html body .f584-chips-row button{flex:none;width:auto;min-height:38px;margin:0;padding:5px 15px;border-radius:99px!important;border:1px solid var(--f584-line);background:var(--theme-card,#fff);box-shadow:none;font-size:14px;white-space:nowrap;color:var(--f584-ink)}
html body .f584-chips-row button[aria-pressed=true]{background:var(--f584-accent);border-color:var(--f584-accent);color:#fff;font-weight:700}
html body .f584-pick-row{grid-template-columns:68px minmax(0,1fr) 60px 64px 66px;gap:10px;padding:6px 8px;min-height:80px}
html body .f584-pick-row .cart395-photo{width:68px;height:68px;min-height:0;border-radius:9px;overflow:hidden;background:var(--theme-soft,#eef2f4);display:grid;place-items:center;margin:0}
html body .f584-pick-row .cart395-photo .material-photo-button{display:block!important;width:68px!important;height:68px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:11px!important;overflow:hidden;cursor:zoom-in}
html body .f584-pick-row .cart395-photo img{width:100%!important;height:68px!important;max-height:68px;object-fit:contain;padding:3px;box-sizing:border-box}
html body .f584-pick-row .cart395-no-photo{padding:2px!important;font-size:12px!important}
html body .f584-pick-text{grid-template-columns:minmax(0,1fr)}
html body .f584-pick-text small{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.3}
/* larger photos in the document and approval lists */
html body .f584-rowhead,html body .f584-row{grid-template-columns:64px minmax(120px,1.5fr) 120px 170px minmax(90px,1fr) 42px}
html body .f584-row .cart395-photo,html body .f584-photo,html body :is(.f584-row .cart395-photo,.f584-photo) .material-photo-button{width:64px!important;height:64px!important}
html body :is(.f584-row .cart395-photo,.f584-photo) img{height:64px!important;max-height:64px}
html body .f584-row .material-photo-button,html body .f584-photo .material-photo-button{cursor:zoom-in}
html body .f584-fields :is(.move-project-default,.request-project-default){max-width:64%;overflow:hidden;text-overflow:ellipsis}
}
@media screen{
html body .f584-head .f584-back.f584-back{order:-1;flex:none;width:auto;min-width:86px;min-height:42px;margin:0;padding:6px 16px;font-size:15px}
html body #modal.f584-modal:has(#vrSave:disabled) .f584-head{pointer-events:none;opacity:.6}
/* required fields */
html body #moveForm[data-intent=issue].f584-form .f584-fields label[for=mproject]::before,html body #moveForm[data-intent=issue].f584-form .f584-fields label[for=mcompany]::before,html body #app .f584-request .f584-fields label[for=vrCompany]::before,html body #app .f584-request .f584-fields .request-project-field>label:not(.request-project-default)::before{content:"*";color:#b3261e;font-weight:700;margin-right:3px;float:left}
/* start screen */
html body .f584-empty{display:grid;justify-items:center;gap:14px;padding:48px 24px}
html body .f584-empty strong{font-size:17px;color:var(--f584-ink)}
html body .f584-steps{margin:0;padding:0;list-style:none;counter-reset:s;display:grid;gap:10px;text-align:left}
html body .f584-steps li{counter-increment:s;display:flex;align-items:center;gap:10px;font-size:15px;color:var(--theme-muted,#41565f)}
html body .f584-steps li::before{content:counter(s);display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:var(--f584-soft);color:var(--f584-accent);font-weight:700;font-size:14px}
/* the helper cat never covers the submit button */
html body:has(#app .f584-request) #local-assistant-button{bottom:calc(96px + env(safe-area-inset-bottom))}
/* request list start */
html body .vr-home .f584-start{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px}
html body .vr-home .f584-start .f584-chips{margin:0}
html body .vr-home .f584-start .vr-top-actions{margin:0 0 0 auto}
html body .vr-home .f584-note{margin:0 0 10px;font-size:13px}
html body .vr-home .f584-note summary{cursor:pointer;color:var(--theme-muted,#5d747d);width:max-content}
html body .vr-home .f584-note p{margin:6px 0 0}
}
@media screen and (min-width:1025px){
/* receipts & issues start: main action first, export and columns share one line */
html body .m377-actions{align-items:center}
html body .m377-actions [data-action=addMove]{order:-2;min-height:44px;font-size:15px;padding-inline:20px}
html body .m377-actions:has([data-action=addMove]) #search{order:-1;flex:1 1 260px}
html body .m377-actions [data-return-new=customer]{margin-left:8px;position:relative}
html body .movement-export{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
html body .movement-export>:not(.movement-export-actions){order:-1;flex:1 1 300px;margin:0}
html body .movement-export>.movement-export-actions{margin:0 0 0 auto}
}
@media screen and (min-width:1025px) and (max-width:1300px){
html body .f584-rowhead,html body .f584-row{grid-template-columns:56px minmax(100px,1.4fr) 100px 150px minmax(70px,1fr) 40px;gap:8px}
html body .flow584 .f584-work{grid-template-columns:minmax(380px,5fr) minmax(0,7fr)}
}
@media screen and (max-width:1024px){
html body #modal.f584-modal[open]{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;margin:0;border:0;border-radius:0;overflow-y:auto!important;display:block!important}
html body #modal.f584-modal .f584-form,html body #modal.f584-modal .flow584,html body #modal.f584-modal .flow584>.panel{display:block}
html body .f584-head{padding:10px 14px;gap:8px;flex-wrap:wrap}
html body .f584-head h2{font-size:18px}
html body .f584-fields.grid,html body #modal.f584-modal .f584-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px;gap:10px}
html body .f584-fields.grid>:first-child,html body #modal.f584-modal .f584-fields>:first-child{grid-column:1/-1}
html body .f584-fields :is(input:not([type=checkbox]),select){min-height:46px;height:46px;font-size:16px}
html body .flow584 .f584-work,html body #app .f584-request .f584-work{display:block!important;height:auto;min-height:0}
html body .f584-pick{display:none!important}
html body .f584-doc-head{padding:12px 14px}
html body .f584-doc-head .cart395-primary{display:block!important;width:auto!important;min-height:46px;margin:0 0 0 auto!important;padding:8px 18px!important;background:var(--f584-accent)!important;border-color:var(--f584-accent)!important;color:#fff;border-radius:10px}
html body .f584-rowhead{display:none}
html body .f584-row{grid-template-columns:48px minmax(0,1fr) auto 42px;grid-template-areas:"p n s x" "q q r r";gap:8px 12px;padding:12px 14px}
html body .f584-row>.cart395-photo{grid-area:p}html body .f584-row>.f584-name{grid-area:n}html body .f584-row>.f584-stock{grid-area:s;text-align:right}html body .f584-row>.f584-qty{grid-area:q}html body .f584-row>input{grid-area:r;min-height:46px;height:46px;font-size:16px}html body .f584-row>.f584-remove,html body .f584-row>.f584-gap{grid-area:x}
html body .f584-row .cart395-quantity{grid-template-columns:46px minmax(64px,1fr) 46px}
html body .f584-row .cart395-quantity :is(button,input){min-height:46px;height:46px}
html body .f584-foot{position:sticky;bottom:0;z-index:3;padding:10px 14px calc(10px + env(safe-area-inset-bottom));flex-wrap:wrap;box-shadow:0 -6px 16px #16384414}
html body .f584-foot #vrSave,html body .f584-foot #vrConfirm{flex:1 1 150px!important;min-height:50px}
html body .f584-foot .f584-count{flex:1 1 100%}
html body .f584-foot .f584-error{flex:1 1 100%;text-align:left}
html body .f584-foot label input{width:150px}
html body #app .f584-request.panel{padding:0!important;border-radius:12px}
html body #app .f584-request .f584-head .f584-seg{order:5;width:100%;margin:0}
html body #app .f584-request .f584-head .f584-seg button{flex:1}
html body .f584-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px}
html body .f584-bar{padding:10px 14px}html body .f584-bar button{flex:1 1 auto;min-height:44px}html body .f584-picked{flex:1 1 100%;margin:0}
html body .f584-tablewrap{padding:0 14px 10px;overflow:visible}
html body .f584-table,html body .f584-table tbody{display:block!important;width:100%}html body .f584-table thead{display:none!important}
html body .f584-table tbody tr{display:grid!important;grid-template-columns:40px repeat(3,minmax(0,1fr));gap:6px 10px;padding:12px 8px;border:1px solid var(--f584-line);border-radius:12px;margin-bottom:10px}
html body .f584-table tbody td{display:block;border:0;padding:0;min-width:0;width:auto!important}
html body .f584-table td:nth-child(1){grid-column:1;grid-row:1}html body .f584-table td:nth-child(2){grid-column:2/-1;grid-row:1}
html body .f584-table td.n{text-align:left}html body .f584-table td.n::before{content:attr(data-label);display:block;font-size:12px;color:var(--theme-muted,#5d747d)}
html body .f584-table td:nth-child(3){grid-column:2}html body .f584-table td:nth-child(6){grid-column:2/4}html body .f584-table td:nth-child(7){grid-column:4;text-align:right}
html body .f584-table td:nth-child(8){grid-column:2/-1}html body .f584-table td:nth-child(8):empty{display:none}
html body .f584-table .n .f584-short{margin:2px 0 0}
html body .f584-table .q input{width:100%;min-height:46px}
html body .f584-what{min-width:0}
html body:has(#app .f584-request) #mobileWork278{display:none!important}
html body #app .f584-request.f584-request.panel.panel{padding:0!important;overflow:clip}
html body #app .f584-request .f584-head.f584-head{padding:10px 14px!important;min-height:0}
html body #modal.f584-modal.f584-modal[open]{padding:0!important;border-radius:0!important}
html body #modal.f584-modal .f584-head h2{flex:1}
html body #modal.f584-modal .f584-head .f584-x{order:1;margin:0}
html body #modal.f584-modal .f584-head .f584-seg{order:2;width:100%}
html body #modal.f584-modal .f584-head .f584-seg button{flex:1}
html body .f584-row{grid-template-columns:64px minmax(80px,1fr) auto 42px!important}
html body .f584-row>.f584-qty{min-width:170px}
html body .f584-row{grid-template-areas:"p n s x" "q q q q" "r r r r"!important}
html body .f584-row .f584-short{margin-left:auto}
html body .f584-row .unit556{margin-left:2px}
html body .f584-row .cart395-quantity{max-width:230px}
html body .f584-row>.f584-qty{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body .f584-tablewrap table.f584-table{border:0;border-radius:0;overflow:visible}
html body .f584-table tbody tr.is-picked{border-color:var(--f584-accent)}
html body .f584-foot label{flex:1 1 100%;justify-content:space-between}
html body .f584-foot label input{width:auto;flex:1;max-width:200px}
html body .f584-chips button{padding:6px 12px;font-size:14px}
html body #modal.f584-modal .f584-head h2{flex:1}
html body .vr-home .f584-start .vr-top-actions{flex:1 1 100%;margin:0}
html body .f584-empty{padding:28px 16px}
html body #modal.f584-modal .f584-head{position:sticky;top:0;z-index:4;background:var(--theme-card,#fff)}
}
/* dup590: duplicate issue reminder */
@media screen{
html body dialog.dup590[open]{display:flex!important;flex-direction:column;position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:fit-content;max-height:min(86dvh,760px);padding:0!important;border:0;border-top:5px solid #c47a12;border-radius:14px;background:var(--theme-card,#fff);color:var(--f584-ink);overflow:hidden;box-shadow:0 24px 80px #112f4a55}
html body dialog.dup590::backdrop{background:#14304488}
html body .dup590>.dup590-head{padding:18px 22px 14px;flex:none;border-bottom:1px solid var(--f584-line);display:block;margin:0;background:#fff8ec;position:static}
html body .dup590 h3{margin:0 0 4px;font-size:20px;line-height:1.3}
html body .dup590 p{margin:0;font-size:15px;line-height:1.5}
html body .dup590 .dup590-who{font-weight:600}
html body .dup590-list{overflow:auto;min-height:0;flex:1 1 auto;padding:0 22px}
html body .dup590-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:14px 0;margin:0;border-bottom:1px solid var(--f584-line)}
html body .dup590-row:last-child{border-bottom:0}
html body .dup590-mat{display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;min-width:0}
html body .dup590-mat strong{font-size:16px}
html body .dup590-mat span{font-size:15px}
html body .dup590-mat small{flex:1 1 100%;font-size:13px;color:var(--theme-muted,#56707a);overflow-wrap:anywhere}
html body .dup590-now{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
html body .dup590-now b{font-size:20px}
html body .dup590-now :is(small,span){font-size:14px;color:var(--theme-muted,#56707a)}
html body .dup590-past{grid-column:1/-1;list-style:none;margin:0;padding:8px 12px;border-radius:8px;background:#fff3dc;display:grid;gap:4px}
html body .dup590-past li{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:4px 12px;font-size:15px;margin:0}
html body .dup590-past .dup590-qty{font-weight:700;color:#8a4b00;text-align:right}
html body .dup590-past .dup590-doc{overflow-wrap:anywhere}
html body .dup590-past .dup590-more{display:block;color:var(--theme-muted,#56707a)}
html body .dup590>.dup590-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 22px;margin:0;border-top:1px solid var(--f584-line);background:var(--theme-card,#fff);position:static}
html body .dup590>.dup590-foot label{flex:1 1 260px;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;min-height:44px;margin:0;cursor:pointer}
html body .dup590>.dup590-foot input{width:22px;height:22px;min-height:0;margin:0;flex:none}
html body .dup590>.dup590-foot button{min-height:44px;width:auto;margin:0;padding:8px 20px;font-size:15px}
html body dialog.dup590>.dup590-foot button.primary.primary{background:var(--f584-accent)!important;border-color:var(--f584-accent)!important;color:#fff!important}
html body .dup590>.dup590-foot button.primary:disabled{opacity:.45;cursor:not-allowed}
}
@media screen and (max-width:600px){
html body dialog.dup590[open]{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}
html body .dup590>.dup590-head{padding:14px 16px 12px}
html body .dup590-list{padding:0 16px}
html body .dup590-past li{grid-template-columns:minmax(0,1fr) auto}
html body .dup590-past .dup590-doc{grid-row:2;grid-column:1}
html body .dup590-past .dup590-qty{grid-row:1/span 2;grid-column:2;align-self:center}
html body .dup590>.dup590-foot{padding:12px 16px}
html body .dup590>.dup590-foot label{flex:1 1 100%}
html body .dup590>.dup590-foot button{flex:1 1 0;padding:8px 10px}
}

/* /assets/mobile584.77996ac00f97d9f7.css */
/* mobile584: phone and tablet layout for movements, requests and approval. */
.f584-fold,.f584-done-pick,.f584-unit,.f584-viewswitch,.f584-pick-label{display:none}
@media screen and (max-width:1024px){
/* header */
html body #modal.f584-modal .f584-head.f584-head,html body #app .f584-request .f584-head.f584-head{padding:8px 12px!important;gap:8px;flex-wrap:wrap}
html body .f584-head .f584-back.f584-back{min-width:44px;width:44px;min-height:44px;padding:0;font-size:20px}
html body .f584-head .f584-back span{display:none}
html body .f584-head h2{font-size:17px!important;flex:0 1 auto!important;min-width:0}
html body #modal.f584-modal .f584-head .f584-seg{order:2;width:auto!important;margin-left:auto}
html body #modal.f584-modal .f584-head .f584-seg button{min-width:72px;min-height:40px;padding:4px 14px}
html body #app .f584-request .f584-head .f584-seg{order:6;width:100%}
html body #app .f584-request .f584-head .f584-seg button{min-height:42px}
html body #app .f584-request .f584-head #vrHistory,html body #app .f584-request .f584-head>[data-lifecycle546=action]{min-height:38px;padding:4px 12px;font-size:13px}
html body #app .f584-request .f584-head .f584-pill{padding:2px 9px;font-size:12px}
html body:has(#app .f584-request) main.content>.topline{display:none!important}
html body:has(#app .f584-request) main.content{padding:8px 8px 24px!important}
/* document fields */
html body .f584-fold{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:6px 14px;border:0;border-bottom:1px solid var(--f584-line);border-radius:0;background:var(--theme-bg,#f6f9fa);box-shadow:none;text-align:left;font-size:14px;color:var(--f584-ink)}
html body .f584-fold-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
html body .f584-fold-mark{flex:none;color:var(--f584-accent);font-size:13px}
html body .f584-fields.grid.f584-collapsed{display:none!important}
html body .f584-fields.grid.grid,html body #modal.f584-modal .f584-fields.grid{gap:8px 10px;padding:10px 12px}
html body .f584-fields label:has(#vrDocument),html body #moveForm.f584-form .f584-fields .field:has(#mdocument){display:none!important}
html body .f584-fields :is(input:not([type=checkbox]),select){min-height:44px!important;height:44px!important}
html body #moveForm .f584-fields .move-project-heading label[for]{flex:0 0 auto!important}
html body #moveForm .f584-fields .move-project-heading .move-project-default{flex:0 1 auto!important;max-width:none!important;min-width:0}
html body .f584-doc-head .cart395-primary{white-space:nowrap}
html body .f584-doc-head h3{min-width:0;flex:1 1 auto}
html[lang^=es] body .f584-doc-head .cart395-primary{font-size:14px!important;padding:8px 12px!important}
html body .f584-bar button{line-height:1.2}
/* items */
html body .f584-doc-head{padding:10px 12px!important}
html body .f584-doc-head h3{font-size:15px}
html body .f584-row.f584-row{grid-template-columns:56px 92px minmax(0,1fr) 40px!important;grid-template-areas:"p n n x" "p s s s" "q q r r"!important;gap:3px 10px!important;padding:10px 12px!important;align-items:start!important}
html body .f584-row.f584-row>:is(.f584-qty,input){margin-top:6px!important}
html body .f584-row .cart395-photo,html body .f584-row .material-photo-button{width:56px!important;height:56px!important}
html body .f584-row .cart395-photo img{height:56px!important;max-height:56px}
html body .f584-row>.f584-stock{text-align:left!important;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body .f584-row .f584-short{margin:0!important}
html body .f584-name small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html body .f584-name strong,html body .f584-name span{font-size:14px;line-height:1.3}
html body .f584-stock-line{flex-wrap:nowrap;font-size:14px;gap:5px}
html body .f584-unit{display:inline;font-size:12px;color:var(--theme-muted,#5d747d);font-weight:400}
html body .f584-row>.f584-qty{display:block!important;min-width:0!important;width:158px}
html body .f584-row .cart395-quantity{grid-template-columns:44px minmax(0,1fr) 44px!important;max-width:158px!important}
html body .f584-row .cart395-quantity :is(button,input){min-height:44px!important;height:44px!important}
html body .f584-row .unit556 strong{display:none!important}
html body .f584-row .unit556{min-height:0;line-height:1.2!important;padding-left:2px}
html body .f584-row>input{min-height:44px!important;height:44px!important;font-size:16px;width:100%!important;align-self:start}
html body .f584-remove{width:40px;min-width:40px;min-height:40px}
html body .f584-empty{padding:22px 14px;gap:10px}
/* footer: one line of facts, one big button */
html body .f584-foot.f584-foot{padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;gap:8px}
html body .f584-foot .f584-count{flex:1 1 auto!important;font-size:14px}
html body .f584-foot label{flex:0 0 auto!important;gap:6px;font-size:13px}
html body .f584-foot label input{width:146px!important;flex:none!important;min-height:42px;height:42px}
html body .f584-foot #vrSave,html body .f584-foot #vrConfirm{flex:1 1 100%!important;min-height:48px}
html body .f584-edit-foot .f584-count,html body #modal.f584-modal .f584-foot .f584-count{flex:0 1 auto!important}
html body .f584-tab[data-tab584=edit] .f584-foot #vrSave,html body #modal.f584-modal .f584-foot #vrSave{flex:1 1 180px!important}
/* picker sheet */
html body .f584-picking>.f584-pick{display:flex!important;position:fixed;inset:0;z-index:60;width:auto;height:100dvh;border:0;background:var(--theme-card,#fff)}
html body .f584-pick-top{grid-template-columns:minmax(0,1fr) auto!important;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 4px}
html body .f584-pick-top h3{grid-column:1!important;align-self:center;font-size:17px}
html body .f584-done-pick{display:block;min-height:44px;margin:0;padding:6px 18px;font-size:15px;font-weight:700;background:var(--f584-accent);border-color:var(--f584-accent);color:#fff;width:auto}
html body .f584-pick-top>input,html body .f584-pick-top>.f584-cats{grid-column:1/-1}
html body .f584-pick-top input{min-height:46px!important;height:46px!important;font-size:16px!important}
html body .f584-chips-row button{min-height:42px}
html body .f584-cats .f584-arrow{flex-basis:30px;width:30px;min-width:30px}
html body .f584-pick-hint{margin:0 12px 6px}
html body .f584-pick-list{padding:0 6px calc(12px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body .f584-pick-row.f584-pick-row{grid-template-columns:64px minmax(0,1fr) 58px 66px;grid-template-areas:"p t t t" "p s q a";gap:4px 8px;padding:8px 6px;min-height:0}
html body .f584-pick-row>.cart395-photo{grid-area:p;width:64px!important;height:72px!important;align-self:center}
html body .f584-pick-row>.cart395-photo .material-photo-button{width:64px!important;height:72px!important}
html body .f584-pick-row>.cart395-photo img{height:72px!important;max-height:72px!important}
html body .f584-pick-text{grid-area:t;grid-template-columns:auto minmax(0,1fr)!important}
html body .f584-pick-text small{grid-column:1/-1;-webkit-line-clamp:1!important}
html body .f584-pick-stock{grid-area:s;display:flex;align-items:center;gap:5px;text-align:left}
html body .f584-pick-label{display:inline;font-style:normal;font-size:12px;color:var(--theme-muted,#5d747d)}
html body .f584-pick-row>input{grid-area:q;min-height:44px!important;height:44px!important;font-size:16px!important}
html body .f584-pick-row>.f584-add{grid-area:a;min-height:44px}
html.f584-sheet-open #mobileWork278,html.f584-sheet-open #local-assistant-button{display:none!important}
html.f584-sheet-open body{overflow:hidden}
html body .f584-equipment{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
/* approval */
html body .f584-facts.f584-facts{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 10px;padding:8px 12px}
html body .f584-facts>div:nth-child(-n+2){grid-column:span 3}
html body .f584-facts>div:nth-child(n+3){grid-column:span 2}
html body .f584-facts dt{font-size:11px}html body .f584-facts dd{font-size:13px;margin:0}
html body .f584-bar.f584-bar{padding:8px 12px;gap:6px}
html body .f584-bar button{min-height:42px!important;padding:4px 8px;font-size:13px;flex:1 1 0}
html body .f584-picked{font-size:13px}
html body .f584-tablewrap.f584-tablewrap{padding:0 12px 8px}
html body .f584-table.f584-table tbody tr{grid-template-columns:38px minmax(0,.8fr) minmax(0,1.5fr) minmax(0,124px)!important;grid-template-areas:"c w w w" "c o s q" "c m m m";gap:4px 8px!important;padding:8px 10px 8px 4px!important;margin-bottom:8px!important}
html body .f584-table.f584-table tbody td{grid-column:auto!important;grid-row:auto!important}
html body .f584-table.f584-table td:nth-child(1){grid-area:c!important;align-self:stretch}html body .f584-table.f584-table td:nth-child(1) .f584-check{height:100%}
html body .f584-table.f584-table td:nth-child(2){grid-area:w!important}
html body .f584-table.f584-table td:nth-child(3),html body .f584-table.f584-table td:nth-child(4){display:none}
html body .f584-table.f584-table td:nth-child(5){grid-area:o!important;align-self:center}html body .f584-table.f584-table td:nth-child(6){grid-area:s!important;align-self:center}
html body .f584-table.f584-table td:nth-child(7){grid-area:q!important;display:flex;align-items:center;justify-content:flex-end;gap:4px}
html body .f584-table.f584-table td:nth-child(8){grid-area:m!important;font-size:13px}
html body .f584-table.f584-table tr:not(.x) td:nth-child(4):not(.is-zero){display:block;grid-area:m!important;font-size:13px}
html body .f584-table.f584-table tr:not(.x) td:nth-child(4):not(.is-zero)::before{display:inline;margin-right:4px}
html body .f584-table .q input{width:84px!important;min-height:44px!important;height:44px!important}
html body .f584-what{gap:10px}
html body .f584-what>div:last-child{min-width:0;flex:1 1 0}html body .f584-table.f584-table .f584-what :is(strong,span,small){white-space:normal!important;overflow-wrap:anywhere}html body .f584-table.f584-table .f584-what{min-width:0!important;max-width:100%;overflow:hidden}html body .f584-what small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html body .f584-what .f584-photo,html body .f584-what .material-photo-button{width:52px!important;height:52px!important}html body .f584-what .f584-photo img{height:52px!important;max-height:52px}
/* status chips slide instead of wrapping */
html body .vr-home .f584-start{gap:8px}
html body .vr-home .f584-start .f584-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%;padding-bottom:2px}
html body .vr-home .f584-start .f584-chips::-webkit-scrollbar{display:none}
html body .vr-home .f584-chips button{flex:none;min-height:42px}
html body .vr-home .f584-start .vr-top-actions{display:grid;grid-template-columns:auto 1fr;gap:8px}
html body .vr-home .f584-start .vr-top-actions button{min-height:46px}
}
@media screen and (max-width:767px){
html body #app .f584-viewswitch.f584-viewswitch{display:block;width:auto!important;height:34px!important;min-height:34px!important;margin:-30px 0 8px auto!important;padding:2px 12px!important;font-size:13px!important;position:relative;z-index:1}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody tr{margin:0!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements){margin:0!important;border-spacing:0!important}
html body #modal.f584-modal .f584-head .f584-seg button{min-width:60px}
/* lists become cards */
html:not(.f584-tableview) body #app #body#body .tbl570-scroll:has(>:is(table.ux555-movements,table.tx569-request)){border:0!important;background:transparent!important;overflow:visible!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) :is(thead,colgroup){display:none!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody{display:grid!important;gap:8px;width:100%!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody tr{display:grid!important;width:100%!important;height:auto!important;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#dfe7ea)!important;border-radius:12px;padding:10px 12px;box-sizing:border-box}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody tr>td{display:block!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;white-space:normal!important;overflow:visible!important;text-align:left!important;font-size:14px!important;line-height:1.4!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody tr>td :is(strong,small,span){max-width:100%!important}
:is(html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request,html:not(.f584-tableview) body #app #body#body table.ux555-movements) tbody tr>td[colspan]{grid-column:1/-1!important;grid-area:auto!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request tbody tr{grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"c d s" "c o n" "c a a";gap:4px 10px}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(1){grid-area:c}html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(2){grid-area:d}html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(2) small{display:none!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(3){grid-area:o}html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(4){display:none!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5){grid-area:n;text-align:right!important;color:var(--theme-muted,#5d747d);font-size:13px!important}html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5)::after{content:" 項"!important;display:inline!important}
html[lang^=en]:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5)::after,html[lang^=es]:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5)::after{content:""!important}html[lang^=en]:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5)::before{content:"Items "!important;display:inline!important}html[lang^=es]:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(5)::before{content:"Art. "!important;display:inline!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(6){grid-area:s;justify-self:end}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(7){grid-area:a;padding-top:6px!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(7) .f584-actions>button{min-height:42px!important;height:42px!important;max-height:none!important;padding:4px 14px!important;font-size:14px!important;flex:1 1 auto}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request td:nth-child(7) summary{min-height:42px!important;height:42px!important;max-height:none!important;min-width:44px;display:grid;place-items:center}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr{grid-template-columns:30px minmax(0,1fr) auto;grid-template-areas:"c m b" "c p p" "c o t" "c d d" "c r r" "c a a";gap:3px 10px}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=select]{grid-area:c}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=material]{grid-area:m;font-weight:600}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=spec]{grid-area:p;font-size:13px!important;color:var(--theme-muted,#5d747d)}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=spec] .tbl570-spec{max-width:100%!important;white-space:normal!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=company]{grid-area:o}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=company] br:first-child{display:none}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=tool]{grid-area:t;text-align:right!important;font-weight:600}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=date]{grid-area:d;color:var(--theme-muted,#5d747d);font-size:13px!important}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=date] br{display:none}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=date] small{display:inline!important;margin-left:8px}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=remarks] br:first-child{display:none}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=remarks]:empty{display:none!important}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=remarks]{grid-area:r;font-size:13px!important;color:var(--theme-muted,#5d747d)}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=received],html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=issued],html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=balance]{grid-area:b;justify-self:end;text-align:right!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=balance]{align-self:end;font-size:12px!important;color:var(--theme-muted,#5d747d);padding-top:22px!important}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=balance]::before{content:"庫存 "!important;display:inline!important;font-weight:inherit;color:inherit}
html[lang^=en] body #app #body#body table.ux555-movements td[data-movement-column555=balance]::before{content:"Stock "!important;display:inline!important;font-weight:inherit;color:inherit}html[lang^=es] body #app #body#body table.ux555-movements td[data-movement-column555=balance]::before{content:"Exist. "!important;display:inline!important;font-weight:inherit;color:inherit}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=received]{color:#177245!important;font-weight:700;font-size:16px!important}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=received]::before{content:"+"!important;display:inline!important;font-weight:inherit;color:inherit}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=issued]{color:#9a4a12!important;font-weight:700;font-size:16px!important}html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=issued]::before{content:"−"!important;display:inline!important;font-weight:inherit;color:inherit}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td.f584-nil.f584-nil.f584-nil{display:none!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=actions]{grid-area:a;padding-top:6px!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=actions] .tx569-actions{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=actions] button{min-height:38px!important;height:38px!important;max-height:none!important;padding:4px 14px!important;font-size:13px!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td[data-movement-column555=spec]{font-size:13px!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td[data-movement-column555=date]{font-size:13px!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td[data-movement-column555=remarks]{font-size:13px!important;color:var(--theme-muted,#5d747d)!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td:is([data-movement-column555=received],[data-movement-column555=issued],[data-movement-column555=balance],[data-movement-column555=tool]){text-align:right!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td:is([data-movement-column555=received],[data-movement-column555=issued]){font-size:16px!important}
html:not(.f584-tableview) body #app #body#body table.ux555-movements tbody tr>td[data-movement-column555=balance]{font-size:12px!important;padding-top:24px!important}
html:not(.f584-tableview) body #app #body#body .vr-home table.tx569-request tbody tr>td[data-status584]{color:var(--theme-muted,#41565f)!important;font-weight:600;font-size:13px!important;text-align:right!important}
}

@media screen and (max-width:767px){
/* card lists are never clipped by the table's own scroll box */
html:not(.f584-tableview) body #app #body#body .tbl570-scroll:has(>:is(table.ux555-movements,table.tx569-request)),html:not(.f584-tableview) body #app #body#body.inv565 .tablewrap:has(>table.inv565-table){max-height:none!important;height:auto!important;overflow:visible!important;border:0!important;background:transparent!important;border-radius:0!important}
/* the pager and last card stay clear of the bottom dock */
html body:has(#mobileWork278):not(:has(#app .f584-request)) main.content{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}
/* narrow frozen column in every table, so most of the width can slide */
html body :is(#app #body,#portal,dialog) table.tbl570.tbl570 .tbl570-sticky{min-width:92px!important;max-width:118px!important;width:118px!important}
html body :is(#app #body,#portal,dialog) table.tbl570.tbl570 .tbl570-sticky :is(strong,small,span,.tbl570-main){max-width:100px!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
html body #app #body#body table.cols581 :is(th,td)[data-col581=material]{width:118px!important;min-width:100px!important;max-width:118px!important}
html body #app #body#body table.cols581 td[data-col581=material] .material-photo-button{display:none!important}
html body #app #body#body table.ux555-movements :is(th,td)[data-movement-column555=date]{width:112px!important;min-width:96px!important;max-width:112px!important;white-space:normal!important}
html body #app #body#body table.ux555-movements td[data-movement-column555=date] small{overflow-wrap:anywhere!important;white-space:normal!important}
/* phone table with photos (owner 12/01 「庫存總覽表格沒照片喔」「員工廠商都要同步…有辨識度高的圖片可以看是必要的」;
   design expert spec team/results/NEXT-48BF/phone-table/SPEC.md): frozen material column 184 = 8 + photo 52 + 8 + text 108 + 8,
   row 68; stock and safety stock come right after it (/assets/inventory565.5413d0ca2a203626.mjs) so 184 + 96 + 76 fits 390 without sliding */
html.f584-tableview body #app #body#body.inv565 table.inv565-table :is(th,td)[data-inventory565=material]{width:184px!important;min-width:184px!important;max-width:184px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material]{padding:8px!important;vertical-align:middle!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content{display:flex!important;align-items:center!important;gap:8px!important;max-width:none!important;min-width:0!important;width:auto!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>span{min-width:0!important;max-width:108px!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;white-space:normal!important;overflow-wrap:break-word!important;font-variant-numeric:tabular-nums} /* a code wider than 108 breaks after a hyphen instead of running under the next column (goldfish review); usual codes stay on one line */
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .inv565-names{max-width:108px!important;margin-top:0!important;font-size:12px!important;line-height:16px!important;font-weight:400!important;color:var(--theme-muted,#475569)!important;white-space:normal!important;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
/* 52 x 52 photo, the whole picture (contain) on white in both themes, thin line, no shadow; the button opens the photo viewer */
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;max-height:52px!important;margin:0!important;padding:0!important;border:1px solid var(--theme-border,#d9dde3)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button>img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important}
/* no photo: same 52 frame in the track tone with a thin picture icon instead of the LOADING picture, so the row keeps its height */
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button:has(img.photo-placeholder){background:var(--theme-soft,#eef0f3)!important;border-color:transparent!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button>img.photo-placeholder{display:none!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button:has(img.photo-placeholder)::before{content:"";width:20px;height:20px;background:var(--theme-muted,#64748b);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.5'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center/contain no-repeat}
/* dark: the white photo frame is turned back to white with the page filter undone (visual-b1.css:179), so its photo is not turned twice */
html[data-aucan-theme=dark].f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button:not(:has(img.photo-placeholder)){filter:contrast(.90909) brightness(.89286) hue-rotate(180deg) invert(1) contrast(1.25)!important}
html[data-aucan-theme=dark].f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=material] .material-id-content>.material-photo-button:not(:has(img.photo-placeholder))>img{filter:none!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table{table-layout:auto!important;width:max-content!important;min-width:100%!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table col{width:auto!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table col:first-child{width:184px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=spec]{max-width:200px!important;white-space:normal!important}
/* stock 96 and safety 76; the unit follows the stock number (12px, muted) instead of its own column (lead 12/01 approved) */
html.f584-tableview body #app #body#body.inv565 table.inv565-table :is(th,td)[data-inventory565=balance]{width:96px!important;min-width:96px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table :is(th,td)[data-inventory565=safety]{width:76px!important;min-width:76px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table :is(th,td)[data-inventory565=unit]{display:none!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=balance][data-unit565]::after{content:" " attr(data-unit565);font-size:12px;font-weight:400;color:var(--theme-muted,#64748b)}
/* sliding stops on a column edge next to the frozen column, never half a column; the edge line shows only once slid */
html.f584-tableview body #app #body#body.inv565>.tablewrap{scroll-snap-type:x mandatory;scroll-padding-inline-start:184px}
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th:not([data-inventory565=material]){scroll-snap-align:start}
/* the last shown column is at least as wide as the sliding area (wrap 100vw - 34 minus the frozen 184), so it can also stop
   right next to the frozen column; the spare room stays inside that column, in the table's own colours (design review) */
html.f584-tableview body #app #body#body.inv565 table.inv565-table tr>:nth-last-child(1 of :not([hidden],[data-inventory565=category],[data-inventory565=received],[data-inventory565=issued],[data-inventory565=unit])){min-width:calc(100vw - 218px)!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th[data-inventory565=material]{padding-left:8px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=balance]{font-size:15px!important;font-weight:700!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table td[data-inventory565=safety][data-unit565]::after{content:" " attr(data-unit565);font-size:12px;font-weight:400;color:var(--theme-muted,#64748b)}
html.f584-tableview body #app #body#body.inv565 table.inv565-table [data-inventory565=material]{box-shadow:none!important}
html.f584-tableview body #app #body#body.inv565>.tablewrap.col581-scrolled table.inv565-table [data-inventory565=material]{box-shadow:inset -1px 0 0 var(--theme-border-strong,#938f8a)!important}
/* header: column widths are fixed on the phone, so no drag grip; the filter button loses its frame (lead 12/01) */
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th:not([data-inventory565=material]){padding-left:4px!important;padding-right:4px!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th .inv581-grip{display:none!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th .inv581-filter{position:relative!important;width:16px!important;min-width:16px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.f584-tableview body #app #body#body.inv565 table.inv565-table thead th .inv581-filter::after{content:"";position:absolute;inset:-14px -14px}
/* C (owner 12/01 「員工廠商都要同步，廠商對規格品名不熟…有辨識度高的圖片可以看是必要的」; same spec as the staff table):
   contractor stock table on phones. Rows are laid out as fixed-width flex rows so stock and safety stock can sit right after the
   frozen 184px material column (order), without changing the shared row builder; the 中文名稱 and 單位 columns are not repeated
   (the name is under the code, the unit follows the numbers). Columns (nth-child): 1 material, 2 category, 3 zh, 4 en, 5 brand,
   6 spec, 7 tool, 8 unit, 9 opening, 10 received, 11 issued, 12 stock, 13 safety. */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570{display:block!important;width:max-content!important;min-width:0!important;table-layout:auto!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570>:is(thead,tbody){display:block!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr{display:flex!important;align-items:stretch!important;width:max-content!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td){flex:none!important;box-sizing:border-box!important;min-width:0!important;max-width:none!important;white-space:normal!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(1){order:0;width:184px!important;min-width:184px!important;max-width:184px!important;position:sticky!important;left:0!important;z-index:3!important;background:var(--theme-card,#fff)!important;padding:8px!important;box-shadow:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(12){order:1;width:96px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(13){order:2;width:76px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(2){order:3;width:96px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(4){order:4;width:140px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(5){order:5;width:80px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(6){order:6;width:140px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(7){order:7;width:110px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(9){order:8;width:80px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(10){order:9;width:72px!important}
/* the last column fills the sliding width, so it can also stop right next to the frozen column */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):nth-child(11){order:10;width:max(72px,calc(100vw - 218px))!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tr>:is(th,td):is(:nth-child(3),:nth-child(8)){display:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:is(:nth-child(12),:nth-child(13))[data-unit8557]::after{content:" " attr(data-unit8557);font-size:12px;font-weight:400;color:var(--theme-muted,#64748b)}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(12){font-size:15px!important;font-weight:700!important}
/* material cell: 52 photo beside the code (13/600, breaks only after a hyphen when too long) and the name (12/16, two lines) */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content>span{min-width:0!important;max-width:108px!important;display:block!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .tbl570-main{display:block!important;max-width:108px!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;white-space:normal!important;overflow-wrap:break-word!important;-webkit-line-clamp:unset!important;overflow:visible!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content small{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;max-width:108px!important;font-size:12px!important;line-height:16px!important;color:var(--theme-muted,#475569)!important;white-space:normal!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content>img{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;max-height:52px!important;flex:none!important;object-fit:contain!important;box-sizing:border-box!important;border:1px solid var(--theme-border,#d9dde3)!important;border-radius:6px!important;background:#fff!important}
/* no photo: the same 52 frame in the track tone with a thin picture icon instead of the LOADING picture; it follows the dark theme */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content>img:not([data-cover]){content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Crect width='52' height='52' fill='%23eef0f3'/%3E%3Cg fill='none' stroke='%2364748b' stroke-width='1.5'%3E%3Crect x='16' y='18' width='20' height='16' rx='2'/%3E%3Ccircle cx='22' cy='23' r='1.5'/%3E%3Cpath d='m36 31-5-5-8 8'/%3E%3C/g%3E%3C/svg%3E")!important;object-fit:cover!important;border-color:transparent!important;background:transparent!important}
html[data-aucan-theme=dark].f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:nth-child(1) .material-id-content>img:not([data-cover]){filter:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td{padding-top:8px!important;padding-bottom:8px!important}
/* sliding stops on a column edge next to the frozen column; the edge line shows only once slid (/assets/vendor-colfilter8556.1b3e3eed2d3f6e6f.mjs) */
html.f584-tableview body:has(#vendorTitle) #app #body#body .tablewrap:has(>table.vcf8556){scroll-snap-type:x mandatory!important;scroll-padding-inline-start:184px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:not(:nth-child(1)){scroll-snap-align:start}
html.f584-tableview body:has(#vendorTitle) #app #body#body .tablewrap.edge8557>table.vcf8556.tbl570 tr>:is(th,td):nth-child(1){box-shadow:inset -1px 0 0 var(--theme-border-strong,#938f8a)!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th .inv581-grip{display:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th .inv581-filter{position:relative!important;width:16px!important;min-width:16px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th .inv581-filter::after{content:"";position:absolute;inset:-14px -14px}
/* design review: the frozen header stays above the sliding headers and shares their background; header labels on one line with
   4px sides (8px on the material column), so no label is cut; cells centred vertically, numbers right, a 4px gap before the unit */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th{background:var(--theme-soft,#eef2f5)!important;padding:6px 4px!important;vertical-align:middle!important}
/* Codex 12/01: the filter button's enlarged tap area (::after) grows up, down and to the left (over its own label), not to the
   right, and is clipped at its own header cell, so it never reaches another column and no header is wider than its column */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th{overflow:clip!important;overflow-clip-margin:0!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th .inv581-filter.inv581-filter::after{inset:-14px 0 -14px -24px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead tr>th:nth-child(1):nth-child(1){z-index:8!important;padding:6px 8px!important;background:var(--theme-soft,#eef2f5)!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th :is(.inv581-th,.inv581-label){white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th .inv581-th{display:inline-flex!important;align-items:center!important;gap:2px!important}
/* Codex 12/01: the stock and safety headers (96 / 76 px) may break inside their own column (Spanish "Existencias de seguridad"
   ran into the next column); the filter button moves under the words when they need the room; Spanish uses 12px there.
   zh / en labels fit on one line, so they look as before */
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:is(:nth-child(12),:nth-child(13)) .inv581-th{display:flex!important;flex-wrap:wrap!important;row-gap:0!important;max-width:100%!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:is(:nth-child(12),:nth-child(13)) .inv581-label{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important}
/* design review + Codex 12/01: in English / Spanish every header (the material column too) starts at the top; every header but the
   material one may wrap inside its own column (Specification / Opening stock ran past theirs) with the filter button after the last word */
html:is([lang^=es],[lang^=en]).f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead tr>th:not(:nth-child(3)):not(:nth-child(8)):not(#x){display:flex!important;align-items:flex-start!important;vertical-align:top!important}
html:is([lang^=es],[lang^=en]).f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:not(:nth-child(1)) .inv581-th{display:block!important;width:100%!important;padding-top:12px!important;font-size:12px!important;line-height:14px!important}
html:is([lang^=es],[lang^=en]).f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:not(:nth-child(1)) .inv581-label{display:inline!important;font-size:12px!important;line-height:14px!important;white-space:normal!important;overflow-wrap:break-word!important}
html:is([lang^=es],[lang^=en]).f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 thead th:not(:nth-child(1)) .inv581-filter.inv581-filter:not(#x):not(#y){display:inline-block!important;vertical-align:top!important;height:14px!important;min-height:0!important;max-height:14px!important;line-height:14px!important;width:12px!important;min-width:12px!important;margin-left:1px!important;margin-right:-4px!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tbody td:not(:nth-child(3)):not(:nth-child(8)){display:flex!important;align-items:center!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 tbody td.num:not(:nth-child(3)):not(:nth-child(8)){justify-content:flex-end!important}
html.f584-tableview body:has(#vendorTitle) #app #body#body table.vcf8556.tbl570 td:is(:nth-child(12),:nth-child(13))[data-unit8557]::after{margin-left:4px}
html:not(.f584-tableview) body #app #body#body table.ux555-movements td[data-movement-column555=company] small{display:block!important}
/* the switch sits in the result line of the inventory page */
html body #app #body#body .inventory-result562{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
html body #app #body#body .inventory-result562 .f584-viewswitch.f584-viewswitch{margin:0 0 0 auto!important;text-decoration:none!important}
/* inventory cards */
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table{display:block!important;width:100%!important;min-width:0!important;background:transparent!important;margin:0!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table :is(thead,colgroup){display:none!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody{display:grid!important;gap:8px}
/* CARD-SPEC 11/30: on phones the 庫存總覽 card grid below (192-208) is overridden by photo702.css (same rollback file as the photo rules) */ html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"m b" "p s" "k k";gap:3px 12px;margin:0!important;padding:10px 12px;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#dfe7ea)!important;border-radius:12px;height:auto!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td{position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important;white-space:normal!important;font-size:13px!important;line-height:1.4!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565]{display:none!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=material]{display:block!important;grid-area:m;font-size:15px!important;font-weight:700}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=material] .material-id-content{display:flex!important;align-items:center;gap:10px}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=material] .material-photo-button{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;min-height:56px!important;max-height:56px!important;margin:0!important;flex:none}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=material] .material-photo-button img{width:100%!important;height:56px!important;object-fit:contain}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=material] .inv565-names{max-width:none!important;white-space:normal!important;font-weight:400;font-size:13px!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]{display:block!important;grid-area:b;align-self:center;text-align:right!important;font-size:18px!important;font-weight:700;padding-bottom:0!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]::before{content:"現有庫存";display:block!important;font-size:11px;font-weight:400;color:var(--theme-muted,#5d747d)}
html[lang^=en]:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]::before{content:"On hand"}html[lang^=es]:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]::before{content:"Existencias"}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=spec]{display:block!important;grid-area:p;color:var(--theme-muted,#5d747d)!important;overflow-wrap:anywhere}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]{display:block!important;grid-area:s;text-align:right!important;color:var(--theme-muted,#5d747d)!important;font-size:12px!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"安全 ";display:inline!important}
html[lang^=en]:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"Safety "}html[lang^=es]:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"Seguridad "}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=unit]{display:block!important;grid-area:b;align-self:end;justify-self:end;transform:translateY(2px);font-size:12px!important;color:var(--theme-muted,#5d747d)!important;text-align:right!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr:has(>td[data-inventory565=unit])>td[data-inventory565=balance]{padding-bottom:16px!important}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=category]{display:block!important;grid-area:k;justify-self:start}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=tool]{display:block!important;grid-area:k;justify-self:end;text-align:right!important;font-weight:600;max-width:60%!important;overflow-wrap:anywhere}
html:not(.f584-tableview) body #app #body#body.inv565 table.inv565-table tbody tr>td.f584-nil.f584-nil.f584-nil{display:none!important}
}

/* phone605: request and movement forms on a phone (iPhone Safari draws date boxes and checkboxes its own way). */
@media screen and (max-width:767px){
html body .f584-fields input[type=date]{-webkit-appearance:none!important;appearance:none!important;display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 12px!important;line-height:42px!important;text-align:left!important;box-sizing:border-box!important}
html body .f584-fields input[type=date]::-webkit-date-and-time-value{margin:0;min-height:0;line-height:42px;text-align:left}
html body .f584-fields input[type=date]::-webkit-calendar-picker-indicator{margin:0}
html body .f584-request .f584-fields.grid.grid>label:has(#vrCompany),html body .f584-request .f584-fields.grid.grid>label:has(#vrTool){grid-column:1/-1!important}
html body .f584-fields .request-project-field{grid-column:1/-1!important}
html body .f584-fields .request-project-default{position:static!important;order:9;display:inline-flex!important;align-items:center!important;align-self:flex-start;gap:8px!important;min-height:34px;padding:2px 0;font-size:14px!important;line-height:1.3!important;opacity:1!important;white-space:normal!important;max-width:100%}
html body .f584-fields :is(.request-project-default,.move-project-default) input[type=checkbox]{-webkit-appearance:checkbox!important;appearance:auto!important;flex:none!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;border-radius:4px!important}
html body .f584-fields :is(input:not([type=checkbox]),select){font-size:16px!important}
html body .f584-fields #vrWarehouse{text-overflow:ellipsis;font-size:16px!important;padding-right:8px!important}
html body .f584-fields :is(.quantity-picker,.unified-choice){position:relative;width:100%;min-width:0}
html body .f584-request :is(.f584-done-pick,.f584-chips-row button[aria-pressed=true]),html body #modal.f584-modal :is(.f584-done-pick,.f584-chips-row button[aria-pressed=true]){color:#fff!important;-webkit-text-fill-color:#fff!important}
html body :is(.f584-request,#modal.f584-modal) input[type=number]{-moz-appearance:textfield;appearance:textfield}
html body :is(.f584-request,#modal.f584-modal) input[type=number]::-webkit-inner-spin-button,html body :is(.f584-request,#modal.f584-modal) input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html body .f584-fields .unified-choice input[type=search]::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
/* The cat never covers a form on a phone; it is back as soon as the form is closed. */
html body:has(#app .f584-request) #local-assistant-button{display:none!important}
}

/* phone606: every list page on a phone. Cards need html:not(.f584-tableview); the rest always applies below 768px. */
@media screen and (max-width:767px){
html:not(.f584-tableview) body #app #body#body#body .f606-wrap.f606-wrap{border:0!important;background:transparent!important;overflow:visible!important;max-height:none!important;padding:0!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important;margin:0!important;border:0!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards :is(thead,colgroup){display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-pick thead{display:block!important;background:transparent!important;margin-bottom:8px}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-pick thead tr{display:block!important;background:transparent!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-pick thead th{display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-pick thead th:has(input[type=checkbox]){display:flex!important;align-items:center;gap:10px;position:relative!important;left:auto!important;top:auto!important;width:auto!important;max-width:none!important;min-height:44px;padding:0 12px!important;border:1px solid var(--theme-border,#dfe7ea)!important;border-radius:12px;background:var(--theme-card,#fff)!important;text-align:left!important;font-size:14px!important;box-shadow:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-pick thead th:has(input[type=checkbox])::after{content:attr(data-f606)!important;display:inline!important;position:static!important;width:auto!important;height:auto!important;background:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;width:100%!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr:not([hidden]):not([style*="display: none"]):not([style*="display:none"]){display:grid!important;grid-template-columns:repeat(60,minmax(0,1fr));gap:6px 0;position:relative!important;width:100%!important;height:auto!important;margin:0!important;padding:12px!important;box-sizing:border-box;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#dfe7ea)!important;border-radius:12px;content-visibility:auto;contain-intrinsic-size:auto 170px}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id,html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td{display:block!important;grid-column:span 30;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere;text-align:left!important;font-size:14px!important;line-height:1.4!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td::before{content:attr(data-f606)!important;display:block!important;position:static!important;width:auto!important;height:auto!important;margin:0 0 1px!important;background:none!important;color:var(--theme-muted,#5d747d)!important;font-size:12px!important;font-weight:400!important;line-height:1.35!important;white-space:normal!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id{grid-column:1/-1!important;order:-1;font-size:16px!important;font-weight:600!important;padding-right:2px!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id::before,html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td[colspan]::before,html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-check::before,html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act::before,html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td[data-f606=""]::before{content:none!important;display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td :is(.tbl570-main,strong,small,.ux555-material-name){max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id :is(strong,.tbl570-main){font-size:16px!important;font-weight:600!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id small{font-size:13px!important;font-weight:400!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.tbl570-number{grid-column:var(--f606n,span 20);font-size:16px!important;font-weight:600!important;font-variant-numeric:tabular-nums}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-long{grid-column:1/-1}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td[colspan]{grid-column:1/-1!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-nil.f606-nil{display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-check{position:absolute!important;top:6px!important;left:4px!important;width:44px!important;height:44px!important;display:grid!important;place-items:center}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr:not([hidden]):not([hidden]):not([hidden]):not([hidden]):has(>td.f606-check){padding-left:50px!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act:not(.f606-id){grid-column:1/-1!important;order:9;display:flex!important;flex-wrap:wrap;gap:8px;padding-top:4px!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act:not(.f606-id)>:is(.actions,.tx569-actions){display:flex!important;flex-wrap:wrap!important;gap:8px;width:100%}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act button:not(.material-photo-button){height:auto!important;min-height:40px!important;max-height:none!important;min-width:64px!important;margin:0!important;padding:6px 16px!important;font-size:14px!important;line-height:1.3!important;white-space:normal!important}
/* table view: rows stay touchable */
html body #app #body table.tbl570 :is(.tbl570-actions button,td button):not(.material-photo-button):not(.inv581-filter){min-height:36px!important;max-height:none!important;font-size:13px!important}
/* text, boxes and small buttons */
html body #app #body#body table.tbl570 :is(.tag,.pill){font-size:12px!important}
html body #app #body :is(.tx569-menu,.tbl570-menu){max-height:60vh;overflow:auto}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.tbl570-number.bad::after{content:"●"!important;display:inline!important;margin-left:5px;color:var(--danger,#b73d3d);font-size:9px}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td:not(.f606-id):not(.tbl570-number) :is(strong,.tbl570-main){font-size:14px!important;font-weight:500!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td:not(.f606-id):not(.tbl570-number) small{font-size:13px!important;font-weight:400!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr:has(>.tbl570-empty-source){display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead{display:block!important;background:transparent!important;margin-bottom:8px;position:static!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead tr{display:flex!important;gap:6px;overflow-x:auto;scrollbar-width:none;background:transparent!important;padding-bottom:2px}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead th:not(:has(.inv581-filter)){display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead th:has(.inv581-filter){display:flex!important;flex:none;align-items:center;gap:4px;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:44px;padding:0 4px 0 12px!important;border:1px solid var(--theme-border,#dfe7ea)!important;border-radius:22px;background:var(--theme-card,#fff)!important;font-size:13px!important;white-space:nowrap!important;box-shadow:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead th br{display:none}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead th .inv581-filter{min-width:36px!important;min-height:40px!important;margin:0!important}
html body #app .topline .muted{font-size:12px!important}
html body #app #body input[type=checkbox]:not(.inactive-toggle541 input){min-width:20px;min-height:20px}
html body #app #body :is(button.ghost,button.quantity-toggle){min-height:40px}
html body #app #body .f584-viewswitch.f584-viewswitch{height:38px!important;min-height:38px!important}
html body #app :is(.unified-choice,.quantity-picker) input[type=search]::-webkit-search-cancel-button,html body dialog :is(.unified-choice,.quantity-picker) input[type=search]::-webkit-search-cancel-button,html body #app input[role=combobox]::-webkit-search-cancel-button{display:none!important;-webkit-appearance:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td:not(.f606-id):not(.tbl570-number){font-weight:500!important;padding-right:8px!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards.f606-filter thead th:has(.inv581-filter){flex-direction:row!important}
html body #app #body :is(input[type=checkbox]):not(.inactive-toggle541 input):not(.switch input){-webkit-appearance:checkbox!important;appearance:auto!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;border-radius:4px!important;box-shadow:none!important}
html body #app #body input[type=date]{-webkit-appearance:none!important;appearance:none!important;min-width:0!important;max-width:100%!important;min-height:44px!important;text-align:left!important;font-size:16px!important;box-sizing:border-box!important}
html body #app #body input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
html body #app #body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font-size:16px!important}
html body #app #body .reviews-tabs button.active,html body #app #body button[aria-pressed=true]:not(.f584-viewswitch):not(.ov1124 button){-webkit-text-fill-color:currentColor}
html body #app #body#body#body .ov1124 :is(button,summary):not([data-ov-x]){min-height:36px!important}
html body #app #body tbody th button{min-height:36px!important}
html:not(.f584-tableview) body #app #body#body#body :is(.table-wrap,.tablewrap):has(>.f606-wrap){max-height:none!important;overflow:visible!important;border:0!important;background:transparent!important}
html:not(.f584-tableview) body #app #body.inv565>.panel:has(.f606-cards){background:transparent!important;box-shadow:none!important}
html body dialog input[type=search]::-webkit-search-cancel-button{display:none!important;-webkit-appearance:none!important}
html body dialog#modal{overflow-x:hidden!important}
html body #app #body#body .review-categories button[aria-pressed=true],html body #app #body#body .review-categories button[aria-pressed=true] *{color:#fff!important}
html body #app #body#body#body.inv565 :is(#category-display,#stockStatus-display,#search){font-size:16px!important}
html body #app #body#body#body.inv565 button.ghost{min-height:40px!important}
html body #app #body#body#body.inv565 button.quantity-toggle{min-height:40px!important;min-width:40px!important}
html body #app #body .inactive-toggle541,html body #app .topline .inactive-toggle541,html body #app .inv565-demand{font-size:13px!important}
html body #app .topline :is(span,p,small).muted{font-size:12px!important}
html body #app #body#body#body .ov1124 .gt :is(th,td){padding-left:4px!important;padding-right:4px!important}
html body #app select:not(.choice-source):not([multiple]){-webkit-appearance:none!important;appearance:none!important;min-height:44px!important;padding-right:34px!important;border:1px solid var(--theme-border,#d5e0e4)!important;border-radius:10px!important;background:linear-gradient(45deg,transparent 50%,#33505c 50%) right 18px center/6px 6px no-repeat,linear-gradient(135deg,#33505c 50%,transparent 50%) right 12px center/6px 6px no-repeat,#fff!important;color:inherit}
html body #app #vendorStockCards .card small{font-size:12px!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-filter thead th *{white-space:nowrap!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act :is(.f584-actions,details){display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-act summary{min-height:40px!important;min-width:44px;display:grid;place-items:center}
html body #app #body#body#body .tbl570-empty-list>table{min-width:0!important;width:100%!important}
html body #app #body#body#body .tbl570-empty-list>table thead{display:none!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-filter thead th:has(.inv581-filter) :not(button):not(svg){display:inline-flex!important;align-items:center;gap:4px;width:auto!important;max-width:none!important;overflow:visible!important}
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-filter thead th.tbl570-sticky.tbl570-sticky{overflow:visible!important;max-width:none!important;flex:none!important}
html body #app #body .pagination{flex-wrap:wrap!important;max-width:100%}
html body #app .unified-choice>input{overflow:hidden!important;text-overflow:ellipsis!important}
}
/* phone607: laid out for iPhone 16 Safari, about 393x659 visible */
.f607-toggle{display:none}
@media screen and (max-width:767px){
html body #mobileWork278#mobileWork278{left:0!important;right:0!important;bottom:0!important;width:auto!important;margin:0!important;border:0!important;border-top:1px solid var(--theme-border,#d9e2e7)!important;border-radius:0!important;padding:2px 4px calc(2px + env(safe-area-inset-bottom,0px))!important;gap:0!important;background:var(--theme-card,#fff)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
html body #mobileWork278#mobileWork278 button{min-height:50px!important;padding:4px 2px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--theme-muted,#4d6572)!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #mobileWork278#mobileWork278 button::before{width:22px!important;height:22px!important;margin:0 auto 2px!important;background:currentColor!important;-webkit-mask:var(--i607) center/22px no-repeat;mask:var(--i607) center/22px no-repeat}
html body #mobileWork278#mobileWork278 [data-shortcut=home]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20h-5.5v-5.5h-5V20H4z'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=engineering]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Cpath d='M8 7h8M8 11h3M8 15h3m3 0 2 2 4-5'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=picking]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10M8 5l9 4'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-mobile-more]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1.5'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1.5'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1.5'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1.5'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 button.mobile-selected303{color:var(--theme-accent,#086f7c)!important;font-weight:700!important}
/* nothing sits under the bar */
html body:has(#mobileWork278):not(:has(#app .f584-request)) main.content.content{padding-bottom:calc(var(--mobile-dock-height,55px) + 24px)!important}
html body:has(#mobileWork278) :is(.mobile-request-save278,#app .request377-save:not(.vendor-cart395 *):not(body:has(#vendorTitle) *)){bottom:var(--mobile-dock-height,55px)!important}
html body:has(#mobileWork278) #notice{bottom:calc(var(--mobile-dock-height,55px) + 10px)!important}
html body:has(#mobileWork278):has(.mobile-request-save278) #notice{bottom:calc(var(--mobile-dock-height,55px) + 84px)!important}
html body #local-assistant-button#local-assistant-button:not([hidden]){width:60px!important;height:56px!important;min-height:44px!important;animation:none!important}
html body:has(#mobileWork278):not(:has(#app .f584-request)) #local-assistant-button#local-assistant-button:not([hidden]){right:8px!important;bottom:calc(var(--mobile-dock-height,55px) + 8px)!important}
/* top bar and page name */
html body #app>header.topbar,html body #app>header:has(#mobileMenu277){padding-top:max(4px,env(safe-area-inset-top))!important;padding-bottom:4px!important;min-height:0!important}
html.f607 body:not(:has(.aucan-home291)) #app>.content>.topline.topline{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:0 10px!important;align-items:center;margin:0 0 8px!important;padding:0 0 6px!important}
html.f607 body #app>.content>.topline.topline>*{margin:0!important}
html.f607 body #app>.content>.topline.topline>div:first-child{grid-column:1}
html.f607 body #app>.content>.topline.topline>span.muted{grid-column:1;grid-row:2;line-height:1.3}
html.f607 body #app>.content>.topline.topline>button{grid-column:2;grid-row:1/span 2;width:auto!important;min-height:38px!important;padding:4px 12px!important}
html.f607 body #app>.content>.topline.topline h1{font-size:20px!important;line-height:1.3!important}
html.f607 body #app>.content>.topline.topline.f607-dup,html.f607 body #app #body#body .f607-dup.f607-dup{display:none!important}
html body #app .content :is(.inv565-actions,.cards,.inv565-bar,.review-categories,.sop-chips,.vr-filter-actions,.f584-chips)::-webkit-scrollbar{display:none}
/* list toolbars: no box, one row for search, one for actions */
html.f607 body #app .content #body#body>.toolbar:not(.movement-filters){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;gap:8px!important;margin:0 0 8px!important}
html.f607 body #app .content #body#body>.toolbar.movement-filters:not(.m377-filters-open){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin:0 0 8px!important}
html.f607 body #app .content #body#body>.toolbar:has(#systemStaffSearch)>#systemStaffSearch{flex:1 1 150px!important;width:auto!important;min-width:0!important}
html.f607 body #app .content #body#body>.toolbar:has(#systemStaffSearch)>button{flex:none!important;width:auto!important}
html.f607 body #app .content #body#body .f607-fold:not(.f607-open)>.f607-f{display:none!important}
html.f607 body #app .content #body#body .f607-toggle.f607-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 100%;order:0;width:100%!important;max-width:100%;min-height:40px!important;margin:0!important;padding:4px 14px!important;border:1px solid var(--theme-border,#d5e0e4)!important;border-radius:10px!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#17384a)!important;font-size:14px!important;font-weight:500!important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.f607 body #app .content #body#body .f607-toggle.f607-toggle::after{content:"";flex:none;width:8px;height:8px;margin-top:-4px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
html.f607 body #app .content #body#body .f607-open>.f607-toggle.f607-toggle::after{margin-top:4px;transform:rotate(-135deg)}
html.f607 body #app .content #body#body .material-filters.f607-fold{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 8px!important}
html.f607 body #app .content #body#body .material-filters.f607-fold>:is(label:first-child,.f607-toggle){grid-column:1/-1!important}
html:not(.f584-tableview) body.f607-has-filters:not(.f607-filters-open) #app #body#body#body table.f606-cards.f606-cards.f606-filter.f606-filter thead th:has(.inv581-filter):not(:has(input[type=checkbox])){display:none!important}
/* notes: one line until tapped */
html.f607 body #app .content #body#body .f607-note.f607-note{cursor:pointer;margin:0 0 8px!important}
html.f607 body #app .content #body#body .info.f607-note.f607-note{padding:8px 12px!important}
html.f607 body #app .content #body#body .f607-note.f607-note:not(.f607-open){white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.f607 body #app .content #body#body .f607-note.f607-note:not(.f607-open) br{display:none}
/* receipts and issues */
html.f607 body #app .content #body#body.v596-home .v596-head{margin:0 0 8px!important}
html.f607 body #app .content #body#body.v596-home .v596-bar button{min-height:40px!important}
html.f607 body #app .content #body#body.v596-home:not(:has(>.m377-actions-open))>.movement-export{display:none!important}
html.f607 body #app .content #body#body .movement-export{margin:0 0 8px!important}
html.f607 body #app .content #body#body .movement-export-actions{margin:0!important;justify-content:flex-start!important}
/* stock overview */
/* requests */
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;margin-bottom:8px!important}
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;justify-content:flex-start!important}
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions :is(button,.vr-selection-actions){flex:none!important;white-space:nowrap!important}
/* review: all first, one line */
html.f607 body #app .content #body#body .review-categories{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;gap:8px!important;margin:0 0 8px!important;padding:0!important;max-width:100%}
html.f607 body #app .content #body#body .review-categories>button{flex:none!important;white-space:nowrap!important;min-height:40px!important}
html.f607 body #app .content #body#body .review-categories>button:is([data-category=""],[data-category=all],[data-review-category=""],[data-review-category=all]){order:-1}
/* SOP list */
html body #app .content .sop583 .sop-head{margin-bottom:8px!important}
html body #app .content .sop583 .sop-tiles.sop-tiles{gap:8px!important;margin:8px 0!important}
html body #app .content .sop583 .sop-tiles.sop-tiles button.sop-tile.sop-tile:not(.link):not(.sop-stat){flex-direction:row!important;align-items:center!important;gap:10px!important;min-height:56px!important;padding:8px 12px!important}
html body #app .content .sop583 .sop-tile .sop-folder-icon{width:36px!important;height:36px!important;padding:7px!important;border-radius:10px!important}
html body #app .content .sop583 .sop-tile .sop-tile-text b{font-size:16px!important}
html body #app .content .sop583 .sop-tile .sop-tile-num strong{font-size:20px!important}
html body #app .content .sop583 .sop-chips.sop-chips{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;margin:0 0 8px!important;padding:2px 0!important;max-width:100%}
html body #app .content .sop583 .sop-chips.sop-chips>button{flex:none!important;white-space:nowrap!important;min-height:40px!important}
html body #app .content .sop583 .sop-docs.sop-docs{gap:8px!important}
html body #app .content .sop583 .sop-doc.sop-doc{flex-direction:row!important;min-height:112px}
html body #app .content .sop583 .sop-doc .sop-cover.sop-cover{position:relative;flex:0 0 112px;width:112px;height:auto!important;min-height:112px}
html body #app .content .sop583 .sop-doc .sop-cover.sop-cover img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center}
html body #app .content .sop583 .sop-doc .sop-doc-body{flex:1;min-width:0;padding:10px 12px!important;gap:4px!important;justify-content:center}
html body #app .content .sop583 .sop-doc .sop-doc-body h3{font-size:16px!important}
/* home: three systems and two shortcuts on one screen */
html body #app#app .aucan-home291.shared-home407 :is(.intro,.hero,.hero>.photo){height:84px!important;min-height:0!important}
html body #app#app .aucan-home291.shared-home407 .intro{padding:14px 18px!important}
html body #app#app .aucan-home291.shared-home407 .sectiontitle{margin:10px 0 8px!important}
html body #app#app .aucan-home291.shared-home407 .cards button.card[data-system]{min-height:104px!important;height:auto!important;padding:12px 18px!important;flex-direction:row!important;align-items:center!important;gap:14px}
html body #app#app .aucan-home291.shared-home407 .cards .card .cardtop{width:auto!important;flex:none}
html body #app#app .aucan-home291.shared-home407 .cards .card .cardbody{flex:1;min-width:0;width:auto!important;margin:0!important}
/* equipment rows: one strong line, the rest quiet */
html:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr>td.f606-id>:is(div,span,small,p):not(:first-child){font-size:13px!important;font-weight:400!important;color:var(--theme-muted,#5d747d)}
html.f607 body #app .content #body#body .m377-secondary-action.inv581-clear.inv581-clear{display:inline-flex!important}
html.f607 body #app .content #body#body .ep123>.ep-head.ep-head{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px!important;margin:0 0 8px!important;padding:6px 8px!important}
html.f607 body #app .content #body#body .ep123>.ep-head.ep-head h2{flex:none;margin:0!important;font-size:18px!important;white-space:nowrap}
html.f607 body #app .content #body#body .ep123>.ep-head.ep-head .ep-nav{flex:1;min-width:0;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;gap:6px!important;margin:0!important}
html.f607 body #app .content #body#body .ep123>.ep-head.ep-head .ep-nav button{flex:none!important;white-space:nowrap!important;padding:4px 10px!important;margin:0!important}
html body #app nav .system-nav-label.system-nav-label{color:var(--theme-muted,#5d747d)!important;font-weight:600!important}
html[lang^=es] body #mobileWork278#mobileWork278 button{padding:4px 0!important;font-size:11px!important;letter-spacing:-.02em}
/* stock overview, first screen: nothing cut off, nothing to swipe */
html.f607 body #app>.content>.topline.inv565-head.inv565-head.inv565-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto!important;gap:8px!important;align-items:center;margin-bottom:8px!important}
html.f607 body #app>.content>.topline.inv565-head.inv565-head>div:first-child{grid-column:1/3!important;grid-row:1}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions{display:contents!important}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>*{width:auto!important;min-width:0!important;min-height:44px!important;height:auto!important;margin:0!important;padding:6px 8px!important;font-size:12px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.35;box-sizing:border-box}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>button:not(.inv565-demand):not(#exportInventoryNow){grid-column:3;grid-row:1}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>#exportInventoryNow{grid-column:4;grid-row:1}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>.inactive-toggle541{grid-column:1/3;grid-row:2}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>.inv565-demand{grid-column:3/-1;grid-row:2;display:flex!important;flex-wrap:wrap;justify-content:center}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions :is(.badge,.sw){flex-shrink:0}
html.f607 body #app .content #body#body.inv565>.cards.cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:0 0 8px!important}
html.f607 body #app .content #body#body.inv565>.cards.cards>.card{min-width:0!important;width:auto!important}
html.f607 body #app .content #body#body.inv565>.cards.cards>.card .stock-card-filter.stock-card-filter{flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;height:auto!important;min-height:52px!important;padding:4px 6px!important}
html.f607 body #app .content #body#body.inv565>.cards.cards>.card .stock-card-filter>span:first-child{flex:none!important;width:100%!important;max-width:100%;font-size:12px!important;line-height:18px!important;letter-spacing:-.05em;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
html.f607 body #app .content #body#body.inv565>.cards.cards>.card .stock-card-filter>strong{font-size:18px!important;line-height:24px!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;margin:0 0 6px!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>*{margin:0!important;width:auto!important;min-width:0!important;max-width:none!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar .inv565-search.inv565-search{grid-column:1/3;display:flex!important;align-items:center;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;background:transparent!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar .inv565-search>#search{height:40px!important;min-height:40px!important;margin:0!important;width:100%!important;background:var(--theme-card,#fff)!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice{grid-row:2;height:40px!important;min-height:40px!important;display:flex!important;align-items:center}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice>input[role=combobox]{height:38px!important;min-height:38px!important;line-height:38px!important;padding:0 20px 0 8px!important;letter-spacing:-.04em}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice>.quantity-toggle{height:38px!important;min-height:38px!important;min-width:30px!important;width:30px!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost{height:40px!important;padding:0 10px!important;background:var(--theme-card,#fff)!important;border:1px solid var(--theme-border,#e6e8ec)!important;border-radius:8px!important;white-space:nowrap!important;grid-column:3;grid-row:2}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost~button.ghost{grid-row:1}
html.f607 body #app .content #body#body.inv565 .inv565-bar .inv565-search>svg{top:50%!important;transform:translateY(-50%)!important}
html.f607:not([lang^=zh]) body #app>.content>.topline.inv565-head.inv565-head.inv565-head{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.f607:not([lang^=zh]) body #app>.content>.topline.inv565-head.inv565-head>div:first-child{grid-column:1/-1!important}
html.f607:not([lang^=zh]) body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>*{grid-column:auto!important;grid-row:auto!important;overflow:hidden;text-overflow:ellipsis}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar{grid-template-columns:minmax(0,1fr) auto auto!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar .inv565-search.inv565-search{grid-column:1!important;grid-row:1}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost.ghost{grid-column:2;grid-row:1;padding:0 8px!important;font-size:13px!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost.ghost~button.ghost.ghost{grid-column:3;grid-row:1}
html.f607 body #app .content #body#body .unified-choice.f607-chipped.f607-chipped{display:none!important}
html.f607 body #app .content #body#body .f607-chips{grid-column:1/-1;display:flex!important;flex-wrap:nowrap;gap:8px;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -12px!important;padding:0 12px!important;min-width:0!important;max-width:none!important}
html.f607 body #app .content #body#body .f607-chips::-webkit-scrollbar{display:none}
html.f607 body #app .content #body#body .f607-chips>button{flex:none!important;width:auto!important;min-height:40px!important;margin:0!important;padding:4px 14px!important;border:1px solid var(--theme-border,#d5e0e4)!important;border-radius:20px!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#17384a)!important;font-size:14px!important;font-weight:500!important;white-space:nowrap!important;box-shadow:none!important}
html.f607 body #app .content #body#body .f607-chips>button[aria-pressed=true]{background:var(--theme-accent,#18384b)!important;border-color:var(--theme-brand,#18384b)!important;color:#fff!important;-webkit-text-fill-color:#fff}
html.f607 body #app .content #body#body .f607-chips.f607-chips{flex:1 1 100%;width:auto!important;max-width:none!important;box-sizing:border-box}
html.f607 body #app .content #body#body :is(.panel,label,.field,.material-filters,.vr-filter-card) .f607-chips.f607-chips{margin:0!important;padding:0!important;max-width:100%!important;min-width:0!important;contain:inline-size}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.f607-chips.f607-chips{grid-column:1/-1}
html.f607 body #app .content #body#body>.toolbar.f607-fold>*{order:2}
html.f607 body #app .content #body#body>.toolbar.f607-fold>:is(#search,.f607-chips){order:0}
html.f607 body #app .content #body#body>.toolbar.f607-fold>.f607-toggle.f607-toggle{order:2;flex:0 1 auto!important;width:auto!important;min-height:44px!important}
html.f607 body #app .content #body#body .material-filters.f607-fold>:is(label:has(.f607-chips),.material-filter-actions){grid-column:1/-1!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice.f607-chipped.f607-chipped{display:none!important}
html.f607 body #app .content #body#body>.toolbar.f607-fold>.primary{order:1}
html.f607 body #app .content #body#body>.toolbar.f607-fold>:is(span,small,.muted):not(.f607-chips){order:3}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.f607-chips.f607-chips{margin:0 -12px!important;padding:0 12px!important}
html.f607 body #app .content #body#body>.movement-filters.movement-filters>:has(.f607-chips){flex:1 1 100%!important;width:100%!important;max-width:100%!important}
}

/* phone609: hierarchy and finish on phones. One filled action, tinted secondary actions, quiet cards, status colours already used by the calendar. */
@media screen and (max-width:767px){
html.f607 body{--f609-shadow:0 1px 2px rgb(23 40 60/.06),0 2px 10px rgb(23 40 60/.05)}
/* top bar: drawn icons instead of text glyphs */
html body #app>header :is(#mobileMenu277,#mobileAccount277){position:relative;font-size:0!important;color:var(--theme-ink,#243b53)!important;background:transparent!important}
html body #app>header :is(#mobileMenu277,#mobileAccount277)::before{content:"";position:absolute;inset:0;background:currentColor;-webkit-mask:var(--i609) center/24px no-repeat;mask:var(--i609) center/24px no-repeat}
html body #app>header #mobileMenu277{--i609:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E")}
html body #app>header #mobileAccount277{--i609:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h9M18 8h2M4 16h2M11 16h9'/%3E%3Ccircle cx='15.5' cy='8' r='2.5'/%3E%3Ccircle cx='8.5' cy='16' r='2.5'/%3E%3C/svg%3E")}
/* page name */
html.f607 body:not(:has(.aucan-home291)) #app>.content>.topline.topline.topline{border-bottom:0!important;padding-bottom:2px!important}
html.f607 body #app>.content>.topline.topline>button:not(.primary){border:0!important;background:var(--theme-soft,#e1ecfa)!important;color:var(--theme-accent,#336caf)!important;font-weight:600!important;border-radius:19px!important}
/* cards */
html.f607:not(.f584-tableview) body #app #body#body#body :is(table.f606-cards.f606-cards,table.ux555-movements.ux555-movements,table.tx569-request.tx569-request) tbody tr{border:0!important;border-radius:14px!important;box-shadow:var(--f609-shadow)!important;background:var(--theme-card,#fff)!important}
html.f607:not(.f584-tableview) body #app #body#body#body.inv565 table.inv565-table tbody tr{border:0!important;border-radius:14px!important;box-shadow:var(--f609-shadow)!important}
html.f607:not(.f584-tableview) body #app #body#body#body :is(table.f606-cards.f606-cards,table.ux555-movements.ux555-movements,table.tx569-request.tx569-request) tbody{gap:10px!important}
/* actions inside cards: tinted, no outline */
html.f607:not(.f584-tableview) body #app #body#body#body :is(table.f606-cards.f606-cards td.f606-act,table.ux555-movements.ux555-movements td,table.tx569-request.tx569-request td) :is(button:not(.primary):not(.material-photo-button):not(.danger),summary){border:0!important;border-radius:10px!important;background:var(--theme-bg,#f0f5fa)!important;color:var(--theme-ink,#243b53)!important;font-weight:500!important;box-shadow:none!important}
html.f607:not(.f584-tableview) body #app #body#body#body :is(table.f606-cards.f606-cards td.f606-act,table.ux555-movements.ux555-movements td,table.tx569-request.tx569-request td) button:disabled{opacity:.55!important}
html.f607:not(.f584-tableview) body #app #body#body#body :is(table.f606-cards.f606-cards td.f606-act,table.ux555-movements.ux555-movements td,table.tx569-request.tx569-request td) button.primary{border:0!important;border-radius:10px!important;font-weight:600!important;box-shadow:none!important}
/* check boxes */
html.f607 body #app #body#body input[type=checkbox]:not(.inactive-toggle541 input):not(.switch input){-webkit-appearance:none!important;appearance:none!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border:1.5px solid color-mix(in srgb,var(--theme-ink,#243b53) 38%,transparent)!important;border-radius:7px!important;background:var(--theme-card,#fff) center/16px no-repeat!important;box-shadow:none!important}
html.f607 body #app #body#body input[type=checkbox]:checked:not(.inactive-toggle541 input):not(.switch input){border-color:var(--theme-accent,#336caf)!important;background:var(--theme-accent,#336caf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.3l3.3 3.2L14 5.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat!important}
html.f607 body #app #body#body input[type=checkbox]:indeterminate:not(.inactive-toggle541 input):not(.switch input){border-color:var(--theme-accent,#336caf)!important;background:linear-gradient(var(--theme-accent,#336caf),var(--theme-accent,#336caf)) center/10px 2px no-repeat var(--theme-card,#fff)!important}
html.f607 body #app #body#body input[type=checkbox]:disabled:not(.inactive-toggle541 input):not(.switch input){opacity:.45}
/* count line */
html.f607 body #app #body#body#body .f584-viewswitch.f584-viewswitch{border:0!important;background:transparent!important;color:var(--theme-accent,#336caf)!important;font-weight:600!important;padding:0 2px!important;box-shadow:none!important}
/* secondary controls above lists */
html.f607 body #app .content #body#body :is(.toolbar,.vr-top-actions,.vr-filter-actions,.movement-export-actions,.review-categories)>:is(button,summary):not(.primary):not([aria-pressed=true]):not(.f607-toggle):not(.danger){border-color:transparent!important;background:var(--theme-soft,#e1ecfa)!important;color:var(--theme-ink,#243b53)!important;font-weight:500!important;box-shadow:none!important}
html.f607 body #app .content #body#body :is(.toolbar,.vr-top-actions) button.primary{border:0!important;font-weight:600!important;box-shadow:none!important}
html.f607 body #app .content #body#body .f607-chips.f607-chips>button:not([aria-pressed=true]){border-color:transparent!important;box-shadow:inset 0 0 0 1px var(--theme-border,#c8d5e4)!important;font-weight:400!important}
html.f607 body #app .content #body#body .f607-chips.f607-chips>button[aria-pressed=true]{border-color:transparent!important;font-weight:600!important}
/* ---- requests ---- */
html.f607 body #app .content #body#body .vr-home .f584-start.f584-start{display:grid!important;gap:10px!important;margin:0 0 10px!important}
html.f607 body #app .content #body#body .vr-home .f584-chips.f584-chips{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:none;margin:0 -12px!important;padding:1px 12px!important}
html.f607 body #app .content #body#body .vr-home .f584-chips.f584-chips>button{flex:none!important;display:inline-flex!important;align-items:center;gap:6px;min-height:38px!important;margin:0!important;padding:4px 14px!important;border:0!important;border-radius:19px!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#243b53)!important;font-size:14px!important;font-weight:400!important;white-space:nowrap!important;box-shadow:inset 0 0 0 1px var(--theme-border,#c8d5e4)!important}
html.f607 body #app .content #body#body .vr-home .f584-chips.f584-chips>button[aria-pressed=true]{background:var(--theme-accent,#336caf)!important;color:#fff!important;font-weight:600!important;box-shadow:none!important}
html.f607 body #app .content #body#body .vr-home .f584-chips.f584-chips>button b{min-width:20px;padding:0 6px;border-radius:10px;background:var(--theme-soft,#e1ecfa);color:var(--theme-accent,#336caf);font-size:12px!important;font-weight:600;line-height:20px;text-align:center}
html.f607 body #app .content #body#body .vr-home .f584-chips.f584-chips>button[aria-pressed=true] b{background:rgb(255 255 255/.22);color:#fff}
html.f607 body #app .content #body#body .vr-home .vr-top-actions.vr-top-actions{display:flex!important;gap:8px!important;margin:0!important}
html.f607 body #app .content #body#body .vr-home .vr-top-actions.vr-top-actions>#vrNew{order:-1;flex:1!important;min-height:46px!important;border-radius:12px!important;font-size:16px!important}
html.f607 body #app .content #body#body .vr-home .vr-top-actions.vr-top-actions>#vrReload{flex:none!important;min-height:46px!important;border-radius:12px!important;padding:4px 14px!important;font-size:14px!important}
html.f607 body #app .content #body#body .vr-home .f584-note.f584-note{margin:0 0 8px!important;color:var(--theme-muted,#596a7c);font-size:13px}
html.f607 body #app .content #body#body .vr-home .vr-filter-card #mobileRequestFilters303{width:100%!important;min-height:44px!important;border:0!important;border-radius:12px!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#243b53)!important;font-size:14px!important;font-weight:500!important;box-shadow:inset 0 0 0 1px var(--theme-border,#c8d5e4)!important}
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions{gap:0 18px!important;margin-top:2px!important}
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions .vr-selection-actions{gap:18px!important}
html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions button.vr-none,html.f607 body #app .content #body#body .vr-home .vr-filter-card.vr-filter-card>.vr-filter-actions button:not(.primary):not(.vr-none){min-height:40px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--theme-accent,#336caf)!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request tbody tr:not(:has(>[colspan])){grid-template-columns:30px minmax(0,1fr) auto!important;gap:2px 8px!important;padding:14px!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(2) strong{color:var(--theme-ink,#243b53)!important;font-size:16px!important;font-weight:600!important;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(3){color:var(--theme-ink,#243b53)!important;font-size:15px!important;font-weight:400!important;line-height:1.45!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(3) small{display:block!important;color:var(--theme-muted,#596a7c)!important;font-size:13px!important;font-weight:400!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(5){font-size:14px!important;font-weight:400!important;font-variant-numeric:tabular-nums}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584] .tag{display:inline-flex!important;align-items:center;gap:6px;min-height:24px;padding:0 10px!important;border:0!important;border-radius:12px!important;font-size:13px!important;font-weight:600!important;background:#eef0f2!important;color:#4a565e!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584] .tag::before{content:""!important;display:block!important;position:static!important;width:7px!important;height:7px!important;border-radius:50%;background:currentColor!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=done] .tag{background:#e6f2eb!important;color:#2c5d45!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=partial] .tag{background:#e3f0fb!important;color:#1c5687!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=pending] .tag{background:#fff1d2!important;color:#7a4a00!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7):not([colspan]){grid-column:1/-1!important;margin:10px 0 0!important;padding:0!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7) :is(.tx569-actions,.f584-actions){display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;margin:0!important;padding:0!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7) .f584-actions>button{flex:1 1 0!important;min-width:0!important;margin:0!important;white-space:nowrap!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7) .f584-actions>details{flex:none!important;margin:0!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7) summary{width:44px!important}
html.f607 body #app #body#body#body .vr-home .tbl570-empty-list.tbl570-empty-list>table{display:none!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request tbody tr:not(:has(>[colspan])){grid-template-areas:"c d s" "c o o" "a a a"!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(2) strong{white-space:nowrap!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(3){padding-right:56px!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(5){grid-area:o!important;align-self:start;justify-self:end;line-height:1.45!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td:nth-child(7):not([colspan]){grid-area:a!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584] .tag{padding:0 8px!important;gap:5px;font-size:12px!important}
html.f607:not(.f584-tableview) body #app #body#body#body table.f606-cards.f606-cards tbody tr:not([hidden]):not([hidden]):not([hidden]):not([style*="display: none"]):not([style*="display:none"]){border:0!important}
html.f607 body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>:not(#exportInventoryNow){border:0!important;background:var(--theme-soft,#e1ecfa)!important;box-shadow:none!important}
html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost.ghost{border:0!important;background:var(--theme-soft,#e1ecfa)!important;color:var(--theme-ink,#243b53)!important}
html.f607:not([lang^=zh]):not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request tbody tr:not(:has(>[colspan])):not([hidden]){grid-template-areas:"c d d" "c o o" "c s s" "a a a"!important}
html.f607:not([lang^=zh]):not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584][data-status584]{justify-self:start!important;text-align:left!important;margin-top:4px!important}
}
@media screen and (max-width:380px){
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request tbody tr:not(:has(>[colspan])):not([hidden]){grid-template-areas:"c d d" "c o o" "c s s" "a a a"!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584][data-status584]{justify-self:start!important;text-align:left!important;margin-top:4px!important}
}
/* phone613: request form on a phone - default-project tick sits on the label row, one clean arrow per field, one surface */
@media screen and (max-width:767px){
html body:has(#app .f584-request) #app main.content.content.content>.topline{display:none!important}
html body #app .f584-request .f584-head.f584-head{padding:4px 12px 4px 4px!important;gap:2px;min-height:52px}
html body #app .f584-request .f584-head .f584-back.f584-back{border:0!important;background:transparent!important;box-shadow:none!important;font-size:22px;color:var(--theme-ink,#243b53)!important}
html body #app .f584-request .f584-head h2{font-size:18px!important}
html body #app .f584-request :is(.f584-fold,.f584-fields.grid.grid){background:var(--theme-card,#fff)!important;border-radius:0!important}
html body #app .f584-request .f584-fold[aria-expanded=true]{border-bottom:0!important}
html body #app .f584-request .f584-fold-text{font-size:15px}
html body #app .f584-request .f584-fields.grid.grid{gap:12px 8px;padding:2px 12px 14px;grid-template-columns:minmax(0,142fr) minmax(0,201fr)}
html body #app .f584-request .f584-fields.grid>label,html body #app .f584-request .f584-fields .request-project-field>label:not(.request-project-default){font-size:14px!important;font-weight:600!important;line-height:20px!important;color:var(--theme-ink,#243b53)}
html body #app .f584-request .f584-fields.grid label>:is(.quantity-picker,.unified-choice,input:not([type=checkbox])){margin-top:5px!important}
html body #app#app .f584-request .f584-fields .request-project-field .request-project-default{position:absolute!important;right:0!important;top:-9px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;width:auto!important;max-width:68%!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;overflow:visible!important;font-size:14px!important;font-weight:400!important;line-height:1.2!important;white-space:nowrap!important;opacity:1!important}
html body #app#app .f584-request .f584-fields .request-project-default input[type=checkbox]{width:20px!important;height:20px!important;transform:none!important;top:auto!important;position:static!important;accent-color:var(--theme-accent,#117580)}
html body .f584-fields :is(.quantity-picker,.unified-choice) .quantity-toggle.quantity-toggle{top:0!important;right:0!important;bottom:0!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0 10px 10px 0!important;background:transparent!important;box-shadow:none!important;font-size:0!important;color:var(--theme-muted,#5d747d)!important}
html body .f584-fields :is(.quantity-picker,.unified-choice) .quantity-toggle.quantity-toggle::after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:currentColor;-webkit-mask:var(--c613) center/contain no-repeat;mask:var(--c613) center/contain no-repeat;--c613:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
html body .f584-fields :is(.quantity-picker,.unified-choice)>input{padding-right:46px!important;text-overflow:ellipsis}
html body #app .f584-request .f584-fields :is(#vrWarehouse,#vrNeeded){padding:0 8px!important}
html body #app .f584-request .f584-fields input:not([type=checkbox]){font-weight:400!important}
html body #modal.f584-modal{color:var(--theme-ink,#243b53)}
html body #modal.f584-modal :is(.f584-fold,.f584-fields.grid.grid){background:var(--theme-card,#fff)!important}
html body #modal.f584-modal .f584-fold[aria-expanded=true]{border-bottom:0!important}
html body #modal.f584-modal .f584-head .f584-back.f584-back{border:0!important;background:transparent!important;box-shadow:none!important}
html body #modal.f584-modal .f584-fields label{color:var(--theme-ink,#243b53)!important}
html body .f584-fields :is(input,select):focus{outline-color:var(--theme-accent,#36a7ad)!important}
html body #app .f584-request .f584-fields #vrWarehouse{letter-spacing:-.45px}
html:not([lang^=zh]) body #app#app .f584-request .f584-fields .request-project-field .request-project-default{white-space:normal!important;top:-13px!important;font-size:13px!important;line-height:1.15!important;max-width:60%!important}
}
@media screen and (max-width:384px){html body #app .f584-request .f584-fields.grid.grid>label:is(:has(#vrWarehouse),:has(#vrNeeded)){grid-column:1/-1!important}}
/* phone616: engineering overview on a phone - one surface, title then actions, view tabs slide without anything on top of them */
@media screen and (max-width:767px){
html body #app#app#app .content .ep123.ov-shell.ov-shell{border:1px solid var(--theme-border,#dce5eb)!important;border-radius:16px!important;background:var(--theme-card,#fff)!important;padding:0 14px 18px!important;overflow:clip}
html body #app#app#app .content .ep123.ov-shell>.ep-head.ep-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:center;gap:10px!important;margin:0!important;padding:14px 0 12px!important;border:0!important;background:transparent!important}
html body #app#app#app .content .ep123.ov-shell>.ep-head h2{flex:1 1 100%!important;width:100%!important;max-width:none!important;margin:0!important;font-size:19px!important;line-height:1.3!important;text-align:left}
html body #app#app#app .content .ep123.ov-shell>.ep-head>.ep-nav.ep-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;flex:1 1 100%!important;width:100%!important;max-width:none!important;margin:0!important;overflow:visible!important}
html body #app#app#app .content .ep123.ov-shell>.ep-head>.ep-nav:not(#a#b#c#d) button{width:100%!important;min-width:0!important;min-height:42px!important;margin:0!important;padding:4px 6px!important;border:0!important;border-radius:10px!important;background:var(--theme-soft,#eef4f7)!important;box-shadow:none!important;color:var(--theme-ink,#243b53)!important;font-size:14px!important;font-weight:600!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;text-wrap:balance}
html body #app#app #ov1124 .vt{margin:0 -14px 14px!important;padding:0 0 0 10px!important;gap:2px;scroll-padding:0 52px 0 12px;border-block:1px solid var(--theme-border,#e9e9e7)}
html body #app#app #ov1124 .vt button{min-height:46px!important;padding:0 11px!important;border-radius:0!important;background:transparent!important;font-size:15px!important}
html body #app#app #ov1124 .vt button.on{color:var(--theme-accent,#117580)!important;font-weight:700!important;box-shadow:inset 0 -3px 0 var(--theme-accent,#117580)!important}
html body #app#app #ov1124 .vt [data-ov=ly]{position:static!important;border:0!important}
html body #app#app #ov1124 .vt [data-ov=filter]{position:sticky!important;right:0!important;flex:none!important;width:46px!important;min-width:46px!important;padding:0!important;justify-content:center;background:var(--theme-card,#fff)!important;border-left:1px solid var(--theme-border,#e9e9e7)!important;box-shadow:6px 0 0 var(--theme-card,#fff)!important}
html body #app#app #ov1124 .co{gap:10px;margin:0 0 16px!important;padding:12px 14px!important;border-radius:12px!important;font-size:14px;line-height:1.6}
html body #app#app #ov1124 .tb2{margin-inline:-14px;padding-inline:10px}
html body #app#app #ov1124 h2{margin-left:0!important}
html body #app#app #ov1124 .gt{margin-inline:-14px;padding-inline:0}
html body #app#app #ov1124 .gt :is(th,td):first-child{padding-left:14px!important}
html body #app#app #ov1124 .bd :has(>table):not(.gt):not(td){margin-inline:-14px;max-width:none}
html body #app#app #ov1124 .kb{margin-inline:-14px;padding-inline:14px!important;scroll-padding-inline:14px}
html body #app#app #ov1124 .cd.h:has(.cal){margin-inline:-8px}
html body #app#app#app .content .ep123.ov-shell>.ep-head.ep-head{z-index:1}
}
/* 486: preserve full mobile search and dock names, and reveal overflow in inventory filter rows. */
@media screen and (max-width:767px){
 html.f607 body #app .content #body#body.inv565 .inv565-bar>.f486-chip-hint{grid-column:1/-1;margin:-2px 0 3px;font-size:12px;line-height:1.35;color:var(--theme-ink,#17384a)}
 html.f607 body #app .content #body#body.inv565 .inv565-bar>.f486-chip-hint[hidden]{display:none!important}
 html body #mobileWork278#mobileWork278 button[data-shortcut=engineering]{white-space:normal;overflow-wrap:normal;text-overflow:clip;text-wrap:balance}
}
@media screen and (max-width:480px){
 html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar .inv565-search.inv565-search{grid-column:1/-1!important;grid-row:1}
 html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice{grid-row:2}
 html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost.ghost,
 html.f607 body #app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost.ghost~button.ghost.ghost{grid-row:2}
}
/* HOTFIX-8555: staff category cards (PIU / AC BOX / BREAKER) show the caption "共 N 項材料" like the contractor cards (OWNER_UI_DECISIONS:
   小字＝該類啟用材料總項數); the other staff cards keep their compact look */
html body #app #body.inv565>.cards>.card:is([data-inventory-preset565="3"],[data-inventory-preset565="4"],[data-inventory-preset565="5"]) .stock-card-filter>small,html body #app .cards>.card:is([data-inventory-preset565="3"],[data-inventory-preset565="4"],[data-inventory-preset565="5"]) .stock-card-filter small{display:block!important;position:static!important;order:99!important;font-size:12px!important;line-height:1.3!important;color:var(--theme-muted,#5d747d)!important;margin-top:2px!important}
/* the compact staff card is a fixed 67px box with overflow hidden: let the three category cards grow so the caption is visible */
html body #app #body.inv565>.cards>.card:is([data-inventory-preset565="3"],[data-inventory-preset565="4"],[data-inventory-preset565="5"]){height:auto!important;max-height:none!important;overflow:visible!important}
html body #app #body.inv565>.cards>.card.card:is([data-inventory-preset565="3"],[data-inventory-preset565="4"],[data-inventory-preset565="5"])>.stock-card-filter.stock-card-filter{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
/* HOTFIX-8555: contractor phone filters use the staff tap-button rows (/assets/mobile584.190aa961f8fc88d3.mjs vendorChips8555); same look, 44px touch height */
@media (max-width:767px){
 html body #app #vendorTools>select.v8555-chipped{display:none!important}
 html body #app #vendorTools>.v8555-chips{display:flex!important;flex:1 1 100%!important;grid-column:1/-1;flex-wrap:nowrap;gap:8px;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0!important;padding:0!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
 html body #app #vendorTools>.v8555-chips::-webkit-scrollbar{display:none}
 /* right edge fades out like the staff rows (a cut-off chip reads as "swipe for more"); the end padding lets the last chip scroll fully into view */
 html body #app #vendorTools>.v8555-chips{padding-right:32px!important;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
 html body #app #vendorTools>.v8555-chips>button{flex:none!important;width:auto!important;min-height:44px!important;margin:0!important;padding:4px 14px!important;border:0!important;border-radius:22px!important;box-shadow:inset 0 0 0 1px var(--theme-border,#c8d5e4)!important;background:var(--theme-card,#fff)!important;color:var(--theme-ink,#17384a)!important;font-size:14px!important;font-weight:400!important;white-space:nowrap!important}
 html body #app #vendorTools>.v8555-chips>button[aria-pressed=true]{background:var(--theme-accent,#18384b)!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff;font-weight:600!important}
 html body #app #vendorTools>.f486-chip-hint{flex:1 1 100%;grid-column:1/-1;margin:-2px 0 3px;font-size:12px;line-height:1.35;color:var(--theme-ink,#17384a)}
 html body #app #vendorTools>.f486-chip-hint[hidden]{display:none!important}
}
/* HOTFIX-8555 next: shipment document (owner 11/25 exception; lead 12/01: the paper must show the data in full). A TOOL ID /
   LOCATION or Remarks cell that does not fit wraps COMPLETELY inside its cell at 11px — nothing cut, no ellipsis; column widths
   unchanged. The row grows; /assets/mobile584.190aa961f8fc88d3.mjs hides the same height of empty filler rows on that page, so the page height stays and
   no single row is pushed onto a new page (a page with no filler rows left grows and flows to a new page naturally). */
html body .ship-page .ship-table td.ship-wrap8555,html body .ship-page .ship-table td.ship-wrap8555 *{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;overflow:visible!important}
html body .ship-page .ship-table td.ship-wrap8555{font-size:11px!important;line-height:1.2!important;height:auto!important;max-height:none!important;padding-top:.5mm!important;padding-bottom:.5mm!important;vertical-align:middle!important;text-align:left!important}
html body .ship-page .ship-table td.ship-wrap8555 .ship-cell-text{display:inline!important;max-height:none!important}
html body .ship-page .ship-table tr.ship-fill8555{display:none!important}
html body .ship-page.ship-tight8555 .ship-table td{height:auto!important;padding-top:.15mm!important;padding-bottom:.15mm!important}
html body .ship-page.ship-tight8555 .ship-table td.ship-wrap8555{line-height:1.1!important}
html body .ship-page.ship-tight8555 .ship-meta{padding-top:1mm!important;padding-bottom:1mm!important}
html body .ship-page.ship-tight8555 .ship-signs{margin-top:2mm!important}
/* a page whose rows no longer fit the fixed print height would be clipped on paper: it grows and flows onto the next page instead */
html body .ship-page.ship-grow8555{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
@media print{html body .ship-page.ship-grow8555{height:auto!important;break-inside:auto!important;page-break-inside:auto!important}}
html body .ship-page .ship-table tr{break-inside:avoid;page-break-inside:avoid}
/* HOTFIX-8555 next: ONE summary-card style for staff and contractor on phones (OWNER_UI_DECISIONS 員工端與廠商端同一套;
   design: team/results/HOTFIX-8555/next/DESIGN-CARDS.md). Big number first so a row always lines up, title under it (max 3 lines),
   caption only on PIU / AC BOX / BREAKER and pinned to the bottom. Staff box = .card (its .stock-card-filter button fills it);
   contractor box = .card itself. Counting and click-to-filter are unchanged. */
@media screen and (max-width:767px){
  html body #app#app#app#app #body.inv565>.cards.cards,html body #app#app#app#app #vendorStockCards>.cards.cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;overflow:visible!important;padding:0!important}
  html body #app#app#app#app #body.inv565>.cards>.card.card,html body #app#app#app#app #vendorStockCards>.cards>.card.card{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:auto!important;min-height:44px!important;max-height:none!important;overflow:hidden!important;margin:0!important;padding:10px 10px 12px!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:12px!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;box-sizing:border-box!important;width:auto!important;min-width:0!important}
  html body #app#app#app#app #body.inv565>.cards>.card.card>.stock-card-filter.stock-card-filter{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;width:100%!important;gap:0!important}
  /* one font for both sides (staff inherited a page web font, contractor the app font) */
  html body #app#app#app#app :is(#body.inv565>.cards>.card>.stock-card-filter,#vendorStockCards>.cards>.card)>:is(strong,span,small){font-family:system-ui,-apple-system,"Segoe UI","PingFang TC","Microsoft JhengHei",sans-serif!important;font-synthesis:none!important}
  /* big number */
  html body #app#app#app#app :is(#body.inv565>.cards>.card>.stock-card-filter,#vendorStockCards>.cards>.card)>strong{order:1!important;position:static!important;display:block!important;margin:0!important;font-size:26px!important;line-height:1.1!important;font-weight:700!important;font-variant-numeric:tabular-nums!important;color:var(--theme-accent,#2f6fb3)!important}
  /* title: up to 3 lines, whole words */
  html body #app#app#app#app :is(#body.inv565>.cards>.card>.stock-card-filter,#vendorStockCards>.cards>.card)>span:first-of-type{order:2!important;flex:none!important;position:static!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;margin:4px 0 0!important;padding:0!important;width:auto!important;font-size:13px!important;line-height:1.3!important;font-weight:500!important;color:var(--theme-ink,#1f2937)!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;white-space:normal!important}
  /* caption: category cards only, pinned to the bottom */
  html body #app#app#app#app :is(#body.inv565>.cards>.card>.stock-card-filter,#vendorStockCards>.cards>.card)>small{order:3!important;position:static!important;margin:auto 0 0!important;padding-top:6px!important;font-size:12px!important;line-height:1.3!important;font-weight:400!important;color:var(--theme-muted,#5d747d)!important}
  html body #app#app#app#app #vendorStockCards>.cards>.card:nth-child(-n+3)>small{display:none!important}
  /* WebKit centres a <button>'s content vertically: on cards without a caption the free space goes under the title so the number stays at the top */
  html body #app#app#app#app #body.inv565>.cards>.card:not([data-inventory-preset565="3"]):not([data-inventory-preset565="4"]):not([data-inventory-preset565="5"])>.stock-card-filter>span:first-of-type{margin-bottom:auto!important}
  html body #app#app#app#app #body.inv565>.cards>.card:not([data-inventory-preset565="3"]):not([data-inventory-preset565="4"]):not([data-inventory-preset565="5"]) .stock-card-filter>small{display:none!important}
  /* filtering: inner 2px accent line + light accent tint (no size change); title semi-bold */
  html body #app#app#app#app #vendorStockCards>.cards>.card.card.card.card[aria-pressed=true],html body #app#app#app#app #body.inv565.inv565>.cards.cards>.card.card.card.card:has(>.stock-card-filter[aria-pressed=true]){box-shadow:inset 0 0 0 2px var(--theme-accent,#2f6fb3)!important;border-color:var(--theme-accent,#2f6fb3)!important;background:color-mix(in srgb,var(--theme-accent,#2f6fb3) 10%,var(--theme-card,#fff))!important}
  html body #app#app#app#app #vendorStockCards>.cards.cards>.card.card.card.card[aria-pressed=true]>span:first-of-type,html body #app#app#app#app #body.inv565.inv565>.cards.cards>.card.card>.stock-card-filter.stock-card-filter[aria-pressed=true]>span:first-of-type{font-weight:600!important}
}
@media screen and (min-width:430px) and (max-width:767px){
  html body #app#app#app#app #body.inv565>.cards.cards,html body #app#app#app#app #vendorStockCards>.cards.cards{gap:10px!important}
}

/* photo594.css */
/* photo594: 照片對照表 */
iframe.pt594-frame{position:fixed;left:-10000px;top:0;width:794px;height:1123px;border:0;visibility:hidden}
@media screen{
html body dialog.pt594:not(.catalog395):not(.image-viewer):not(.photo399-viewer){width:calc((100vw - 32px)/var(--f584-z,1))!important;max-width:1760px!important;height:calc((100dvh - 32px)/var(--f584-z,1))!important;max-height:none!important;margin:auto;padding:0!important;box-sizing:border-box;border:1px solid var(--theme-border,#c9d9dc);border-radius:14px;background:#fff;color:var(--theme-ink,#203e42);overflow:hidden!important}
html body dialog.pt594[open]{display:flex;flex-direction:column}
html body dialog.pt594::backdrop{background:rgba(15,40,50,.45)}
html body .pt594-head{flex:none;display:block;padding:16px 20px 12px;border-bottom:1px solid var(--theme-border,#c9d9dc);background:var(--theme-card,#fff)}
html body .pt594-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body .pt594-top h2{margin:0;font-size:20px;line-height:1.3}
html body .pt594-count{font-size:14px;color:var(--theme-muted,#56707a)}
html body .pt594-space{flex:1}
html body .pt594-top button{min-height:40px;width:auto;margin:0;padding:6px 16px;font-size:15px}
html body .pt594-top button.pt594-print{background:var(--theme-accent,#176670)!important;border-color:var(--theme-accent,#176670)!important;color:#fff!important}
html body .pt594-top button.pt594-print:disabled{opacity:.5}
html body .pt594-bar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,280px) auto;gap:10px;margin-top:12px;align-items:center}
html body .pt594-bar :is(input,select){width:100%;min-width:0;min-height:40px;height:40px;margin:0;font-size:15px;box-sizing:border-box}
html body .pt594-seg{display:inline-flex;padding:3px;border:1px solid var(--theme-border,#c9d9dc);border-radius:10px;background:var(--theme-soft,#eaf4f4)}
html body .pt594-seg button{min-height:34px;width:auto;margin:0;padding:4px 14px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:inherit;font-size:14px;font-weight:600;white-space:nowrap}
html body .pt594-seg button.on{background:var(--theme-accent,#176670);color:#fff}
html body .pt594-msg{margin:10px 0 0;font-size:14px;color:var(--theme-muted,#56707a)}
html body .pt594-msg.bad{color:#a32b1c}
html body .pt594-body{flex:1;min-height:0;overflow:auto;padding:4px 20px 24px;overscroll-behavior:contain}
html body .pt594-body h3{position:sticky;top:0;z-index:1;margin:0 0 10px;padding:12px 0 6px;background:var(--theme-card,#fff);border-bottom:2px solid var(--theme-brand,#176670);font-size:16px}
html body .pt594-body section+section{margin-top:18px}
html body .pt594-body h3 small{font-weight:400;color:var(--theme-muted,#56707a)}
html body .pt594-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
html body .pt594-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:8px;border:1px solid var(--theme-border,#c9d9dc);border-radius:10px;background:var(--theme-card,#fff);text-align:center;overflow-wrap:anywhere;content-visibility:auto;contain-intrinsic-size:160px 220px}
html body .pt594-card button.pt594-photo[data-material-photo]{position:relative;display:block;width:100%!important;max-width:none!important;height:120px!important;min-height:120px!important;margin:0 0 6px!important;padding:0!important;border:0!important;border-radius:8px!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;cursor:zoom-in}
html body .pt594-card button.pt594-photo img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;border-radius:8px}
html body .pt594-card button.pt594-photo:not([data-none=""]){background:var(--theme-bg,#f2f5f6)!important}
html body .pt594-card button.pt594-photo img.photo-placeholder{display:none!important}
html body .pt594-card button.pt594-photo:not([data-none=""])::after{content:attr(data-none);position:absolute;inset:0;display:grid;place-items:center;font-size:14px;font-weight:400;color:var(--theme-muted,#7a8d94)}
html body .pt594-card b{font-size:14px}
html body .pt594-card .nm{font-size:13px;font-weight:600;line-height:1.35}
html body .pt594-card small{font-size:12px;line-height:1.35;color:var(--theme-muted,#56707a)}
html body .pt594-empty{padding:40px 0;text-align:center;color:var(--theme-muted,#56707a)}
html.viewer-output-blocked body .pt594-print{display:none!important}
}
@media screen and (max-width:760px){
html body dialog.pt594:not(.catalog395):not(.image-viewer):not(.photo399-viewer){width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0;border-radius:0!important}
html body .pt594-head{padding:12px 14px 10px}
html body .pt594-bar{grid-template-columns:1fr 1fr}
html body .pt594-bar .pt594-q{grid-column:1/-1}
html body .pt594-seg button{padding:4px 8px;flex:1}
html body .pt594-space{display:none}
html body .pt594-count{width:100%}
html body .pt594-top h2{width:100%;font-size:18px}
html body .pt594-top .pt594-print{flex:1}
html body .pt594-body{padding:0 14px 24px}
html body .pt594-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* photo702.css */
/* photo702 (owner 11/30 「手機版應該是大圖吧??怎麼變那麼小」 and 「應該是大圖吧? 浪費很多空間」): on phones, list cards show the
   material photo large on top of the card, but only when there IS a photo; rows without a photo keep a small thumbnail so no
   space is wasted. Tapping a photo still opens the existing viewer. Phones only (<=767px) and only in card view; the table view
   and desktop keep the small thumbnail. Display only. Rollback = remove the <link> to this file in index.html.
   Card view only everywhere (html:not(.f584-tableview)), incl. 庫存總覽: Codex #536 found the table view picking up the large photo.
   "Has a photo": employee lists render <button.material-photo-button> whose <img> loses .photo-placeholder once a cover loads;
   the contractor portal renders <img data-cover=...> (/assets/vendor-material401.b4aaf6816a898a72.js). */
@media (max-width:767px){
  /* ---- employee lists drawn by table570 as cards (material catalog, ...) and 庫存總覽 (inventory565) ---- */
  html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards td.tbl570-sticky:has(.material-id-content){max-width:none!important;width:auto!important;min-width:0!important;grid-column:1 / -1!important}
  html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards td.tbl570-sticky :is(.material-id-content,.material-id-content :is(strong,small,span,.tbl570-main)){max-width:none!important}
  /* CARD-SPEC (owner 11/30 「卡片可可以把空白調整一下 照片我要實際大小不要留白」; design expert spec
     team/results/CARD-DESIGN-EXPERT/SPEC.md §4-5). Earlier version: the column rule used a nested :has() (not allowed, so the whole
     rule was dropped and the code was squeezed into one character per line) and the photo sat in a fixed 180px grey box.
     Now: photo on top at its real aspect ratio (full card width, height auto, at most 60vh, no grey box); code + name on one wrapping
     line; compact spacing from the shared --vb-* tokens. Only single-level :has() is used. */
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content:has(>.material-photo-button>img:not(.photo-placeholder)){
    display:flex!important;width:100%!important;flex-direction:column!important;align-items:stretch!important;gap:var(--vb-space-sm,8px)!important}
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>.material-photo-button:not(:has(img.photo-placeholder)){
    display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;flex:none!important;background:transparent!important;border:0!important;border-radius:var(--vb-radius,8px)!important;overflow:hidden}
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>.material-photo-button:not(:has(img.photo-placeholder)) img{
    display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:60vh!important;object-fit:contain!important;margin:0 auto!important;background:transparent!important}
  /* code + name: one line that wraps as a whole, never one character per line */
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>span{
    display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;column-gap:var(--vb-space-sm,8px)!important;row-gap:var(--vb-space-xs,4px)!important;
    min-width:0!important;width:100%!important;overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important}
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>span>:is(strong,.tbl570-main){
    white-space:nowrap!important;flex:none!important;font-size:var(--vb-fs-h3,16px)!important;font-weight:700!important;max-width:none!important}
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>span :is(.inv565-names,small){
    flex:1 1 12em!important;min-width:0!important;max-width:none!important;overflow:visible!important;white-space:normal!important;
    font-size:var(--vb-fs-md,14px)!important;font-weight:400!important;color:var(--theme-muted,#596a7c)!important}
  /* no photo yet: 44px thumbnail left of the code.
     display is set here on purpose (Codex #538): mobile584.css:173 hides the catalog photo button on phones, and the cover loader
     (/assets/employee-app.331adb696c99c2c5.js Zi, getClientRects filter) only fills buttons that are rendered, so a hidden placeholder was never replaced by
     the real photo on first load. Showing the placeholder lets the loader paint it; the rule above then makes it the large photo. */
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>.material-photo-button:has(img.photo-placeholder){
    display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;
    width:var(--vb-touch-h,44px)!important;height:var(--vb-touch-h,44px)!important;min-width:var(--vb-touch-h,44px)!important;min-height:var(--vb-touch-h,44px)!important;
    max-width:var(--vb-touch-h,44px)!important;max-height:var(--vb-touch-h,44px)!important;flex:none!important;border-radius:var(--vb-radius-sm,6px)!important;background:var(--theme-soft,#e1ecfa)!important}
  :is(html:not(.f584-tableview) body #app #body#body#body#body:not(.inventory-table462) table.f606-cards,html:not(.f584-tableview) body #app #body#body#body#body.inv565 .inv565-table) td .material-id-content>.material-photo-button:has(img.photo-placeholder) img{width:100%!important;height:100%!important;object-fit:contain!important}

  /* 庫存總覽 card grid (overrides mobile584.css:192-208 with higher weight, so rollback stays one file):
     material (photo, code + name) / on hand + unit / safety stock / spec / category + tool, all left-aligned, compact */
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr{
    grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"m m" "b u" "s s" "p p" "k k"!important;
    gap:var(--vb-space-xs,4px) var(--vb-space-sm,8px)!important;padding:var(--vb-space-md,12px)!important;height:auto!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]{
    grid-area:b!important;align-self:end!important;justify-self:start!important;text-align:left!important;font-size:var(--vb-fs-h1,24px)!important;font-weight:700!important;
    line-height:1.15!important;padding:var(--vb-space-xs,4px) 0 0!important;font-variant-numeric:tabular-nums}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=balance]::before{font-size:var(--vb-fs-xs,12px)!important;color:var(--theme-muted,#596a7c)!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=unit]{
    grid-area:u!important;align-self:end!important;justify-self:start!important;transform:none!important;padding-bottom:3px!important;
    font-size:var(--vb-fs-sm,13px)!important;color:var(--theme-muted,#596a7c)!important;text-align:left!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr:has(>td[data-inventory565=unit])>td[data-inventory565=balance]{padding-bottom:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]{
    grid-area:s!important;text-align:left!important;justify-self:start!important;font-size:var(--vb-fs-sm,13px)!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"安全庫存 "!important}
  html[lang^=en]:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"Safety stock "!important}
  html[lang^=es]:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=safety]::before{content:"Stock de seguridad "!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table tbody tr>td[data-inventory565=spec]{
    grid-area:p!important;padding-top:var(--vb-space-xs,4px)!important;font-size:var(--vb-fs-sm,13px)!important;overflow-wrap:break-word!important}
  html:not(.f584-tableview) body #app #body#body#body#body.inv565 table.inv565-table td[data-inventory565=balance] .inv565-dot{width:10px;height:10px;margin-right:var(--vb-space-sm,8px);vertical-align:middle}

  /* ---- contractor portal inventory cards (#body is itself .inventory-table462). Merged from the contractor-SOP session's
     vinv-photo (design docs/aucan2/design-vinv-photo.md). Columns come from /assets/warehouse-views285.eb099e49d39587f0.js inventoryGrid (13 fixed):
     1 id+photo, 2 category, 3 zh, 4 en, 5 brand, 6 spec, 7 tool, 8 unit, 9 opening, 10 received, 11 issued, 12 balance, 13 safety.
     7 (tool) and 9 (opening) stay hidden as on desktop. The id line shows the code only; zh and en come from columns 3 and 4,
     so a missing English name or an inactive material (no combined name line) never hides or repeats a name. ---- */
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr:not([hidden]):not([style*="display: none"]):not([style*="display:none"]){grid-template-columns:44px repeat(3,minmax(0,1fr))!important;grid-template-areas:"ph id id id" "ph zh zh zh" "ph en en en" "ph sp sp sp" "ph bl un un" "ct br br br" "rc is sf sf"!important;grid-auto-flow:row!important;column-gap:12px!important;row-gap:1px!important;align-items:start!important;contain-intrinsic-size:auto 150px!important}
  /* with a photo: the photo goes on top, full card width */
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr:not([hidden]):not([style*="display: none"]):not([style*="display:none"]):has(img[data-cover]){grid-template-columns:auto auto minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"ph ph ph ph" "id id id id" "zh zh zh zh" "en en en en" "bl un . ." "sf sf sf sf" "sp sp sp sp" "ct br rc is"!important;contain-intrinsic-size:auto 420px!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1),html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) .material-id-content{display:contents!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) .material-id-content>img{grid-area:ph!important;width:44px!important;height:44px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;background:var(--theme-soft,#e1ecfa)!important;border:0!important;border-radius:var(--vb-radius-sm,6px)!important;align-self:start!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) .material-id-content>img[data-cover]{width:100%!important;height:auto!important;max-height:60vh!important;object-fit:contain!important;margin:0 0 var(--vb-space-sm,8px)!important;background:transparent!important;border:0!important;border-radius:var(--vb-radius,8px)!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) .material-id-content>span{grid-area:id!important;min-width:0}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) .material-id-content>span .tbl570-main{font-size:var(--vb-fs-h3,16px)!important;font-weight:700!important;line-height:1.25!important;max-width:none!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(1) small[data-business-field=identity-secondary]{display:none!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(7),:nth-child(9)){display:none!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(2){grid-area:ct!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(3){grid-area:zh!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(4){grid-area:en!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(5){grid-area:br!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(6){grid-area:sp!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(8){grid-area:un!important;align-self:end!important;justify-self:start!important;padding-bottom:3px!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr:has(img[data-cover])>td:nth-child(8){justify-self:start!important;align-self:end!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(10){grid-area:rc!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(11){grid-area:is!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(12){grid-area:bl!important;align-self:end!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr:has(img[data-cover])>td:nth-child(12){justify-self:start!important;text-align:left!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(13){grid-area:sf!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(3),:nth-child(4)):not(:empty){display:block!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(3),:nth-child(4),:nth-child(6),:nth-child(8))::before{display:none!important;content:none!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(3),html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(3) *{font-size:14px!important;font-weight:600!important;line-height:1.3!important;padding:0!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(4),:nth-child(6),:nth-child(8)),html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(4),:nth-child(6),:nth-child(8)) *{font-size:12.5px!important;font-weight:400!important;line-height:1.3!important;color:var(--theme-muted,#5d747d)!important;padding-top:0!important;padding-bottom:0!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:nth-child(12){font-size:24px!important;font-weight:700!important;line-height:1.1!important;padding-top:4px!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(2),:nth-child(5),:nth-child(10),:nth-child(11),:nth-child(13)),html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(2),:nth-child(5),:nth-child(10),:nth-child(11),:nth-child(13)) *{font-size:12px!important;font-weight:500!important;line-height:1.3!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(2),:nth-child(5),:nth-child(10),:nth-child(11),:nth-child(13)){padding-top:6px!important}
  html:not(.f584-tableview) body #app #body#body#body.inventory-table462 table.f606-cards.f606-cards tbody tr>td:is(:nth-child(2),:nth-child(5),:nth-child(10),:nth-child(11),:nth-child(12),:nth-child(13))::before{font-size:10.5px!important;font-weight:400!important}
}

/* photo704.css */
/* photo704 LIST-PHOTO (owner 11/30 「清單不太可以 圖還是太小比例不對」): material photos in the desktop / tablet lists
   (庫存總覽 inv565, 材料目錄 cols581, contractor inventory 462) at their real aspect ratio in a 4:3 frame:
   tablets 768-1024 64x48, desktop >1024 80x60.
   Design: team/results/LIST-PHOTO/DESIGN.md (v2, after the egm-design review). Display only; >=768px only, so the phone
   cards (photo702) and the phone table view (photo hidden, mobile584.css:173/177) are untouched.
   Rollback = remove the <link> to this file in index.html.
   Overrides (higher weight + !important): inventory565.css:92 and table570.css:155 (32x32 boxes), table570.css:162
   (catalog material column max 220), app.css:141 (flex 0 0 54px), app.css:1418-1419 (aucan-inventory447 44x32 / 38x28),
   vendor-material401.js:15 (inline 1px border on the contractor <img>).
   "Has a photo": employee button without img.photo-placeholder; contractor <img data-cover>. Single-level :has() only. */
@media (min-width:768px){
  /* ---- employee: 庫存總覽 + 材料目錄, with a photo: 64x48 frame, photo contained, no grey box ---- */
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:not(:has(img.photo-placeholder)){
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:64px!important;height:48px!important;min-width:64px!important;max-width:64px!important;min-height:48px!important;max-height:48px!important;
    flex:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;overflow:hidden;
    box-shadow:none!important /* the default button shadow turns into a grey smear behind the photo in the dark theme */}
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:not(:has(img.photo-placeholder))>img{
    display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important}
  /* no photo: same frame width so the column lines up, but only 32 high so the row does not grow */
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:has(img.photo-placeholder){
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:64px!important;height:32px!important;min-width:64px!important;max-width:64px!important;min-height:32px!important;max-height:32px!important;
    flex:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:var(--theme-soft,#eef0f3)!important;overflow:hidden}
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:has(img.photo-placeholder)>img{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  /* 材料目錄: room for the 64 frame + code; a dragged width (inline !important, inventory-ui581.mjs:83) still applies between min and max */
  html body #app #body#body#body table.cols581 :is(th,td)[data-col581=material]{width:220px!important;min-width:200px!important;max-width:360px!important}

  /* ---- contractor inventory (#body is .inventory-table462): <img> straight in .material-id-content ---- */
  html body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img[data-cover]{
    width:64px!important;height:48px!important;min-width:64px!important;max-width:64px!important;min-height:48px!important;max-height:48px!important;
    flex:none!important;object-fit:contain!important;border:0!important;border-radius:6px!important;background:transparent!important}
  html body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img:not([data-cover]){
    width:64px!important;height:32px!important;min-width:64px!important;max-width:64px!important;min-height:32px!important;max-height:32px!important;
    flex:none!important;object-fit:contain!important;border:0!important;border-radius:6px!important;background:var(--theme-soft,#eef0f3)!important}
  html body #app #body#body#body.inventory-table462 table :is(th,td):first-child{min-width:170px!important}
}
/* tablets (768-1024, Codex #540): a 64-wide placeholder took 32px from the name beside it, so at 1024 the inventory name
   wrapped to two lines and a row without a photo grew 65 -> 76. Here the placeholder keeps its earlier size (employee 32 wide,
   height from the site touch rule = 44; contractor 54x38), so rows without a photo are exactly as before. */
@media (min-width:768px) and (max-width:1024px){
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:has(img.photo-placeholder){
    width:32px!important;min-width:32px!important;max-width:32px!important}
  html body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img:not([data-cover]){
    width:54px!important;min-width:54px!important;max-width:54px!important;height:38px!important;min-height:38px!important;max-height:38px!important}
}
/* dark theme: the placeholder picture is not a photo, so it follows the page filter (turns dark) instead of being turned back
   to its light original by the media rule in visual-b1.css; otherwise it is the brightest thing in the row (egm-design review) */
@media (min-width:768px){
  html[data-aucan-theme=dark] :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button>img.photo-placeholder,
  html[data-aucan-theme=dark] body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img:not([data-cover]){filter:none!important}
}
/* desktop (>1024, the site zooms ~0.85 here): 80x60 (no photo 80x32), about 68x51 on screen at 1280 (egm-design review) */
@media (min-width:1025px){
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:not(:has(img.photo-placeholder)),
  html body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img[data-cover]{
    width:80px!important;height:60px!important;min-width:80px!important;max-width:80px!important;min-height:60px!important;max-height:60px!important}
  :is(html body #app #body#body#body.inv565 table.inv565-table,html body #app #body#body#body table.cols581) td .material-id-content>.material-photo-button:has(img.photo-placeholder),
  html body #app #body#body#body.inventory-table462 table tbody td .material-id-content>img:not([data-cover]){
    width:80px!important;min-width:80px!important;max-width:80px!important}
  html body #app #body#body#body table.cols581 :is(th,td)[data-col581=material]{width:240px!important;min-width:220px!important}
}

/* pick8556.css */
/* HOTFIX pick panel (owner 12/01, OWNER_UI_DECISIONS 挑選物料面板; design review 12/02)
   1. Cards / List sits on the top row: [title][Cards|List][Close]; only the title may shrink (up to two lines), the toggle never wraps.
   2. Phone list view: photo beside the details, quantity row as a full-width bottom row of the card.
   3. Selected state that reads in light and dark: filled #18384b + white text (+ check mark on the view / size toggles), bound to aria-pressed. */

/* 1. top row */
html body dialog.catalog395>header{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
html body dialog.catalog395>header>h2{flex:1 1 auto!important;min-width:0!important;margin:0!important;font-size:18px!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body dialog.catalog395>header>.pick8556-view{display:inline-flex!important;flex:none!important;flex-wrap:nowrap!important;gap:0!important;margin:0!important;padding:0!important;border:1px solid #9fb4c4;border-radius:10px;overflow:hidden;width:auto!important;grid-column:auto!important}
html body dialog.catalog395>header>.pick8556-view>button{min-height:44px!important;height:44px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;font-size:14px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important;flex:none!important;width:auto!important;min-width:0!important}
html body dialog.catalog395>header>.pick8556-view>button+button{border-left:1px solid #9fb4c4!important}
html body dialog.catalog395>header>button:last-child{flex:none!important;white-space:nowrap!important}
/* A2 (owner 12/01, chose 甲): [title][Large | Small | List][✕] in one row at 390 in all three languages (design expert spec):
   segments 44 high, 14px, 6px sides; no right-hand balance spacer in the header; the close button is a 44 x 44 ✕ */
html body dialog.catalog395>header>.pick8556-view>button{padding:0 6px!important}
html body dialog.catalog395>header>.pick8556-view>button::before{width:.8em!important}
html body dialog.catalog395>header>.pick8556-view>button::after{width:0!important}
html body dialog.catalog395>header>button.pick8557-close{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;font-size:18px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
/* design review: "#app h2{20px!important}" (app.css, phone) out-weighed the 16px title, so this rule carries an id weight too; the title keeps its room (min-width 0) and
   only a single word longer than its box may break, so it is never pushed under the segments; a little air after the check mark */
@media screen and (max-width:767px){html body :is(#app,body) dialog.catalog395.catalog395>header>h2{font-size:16px!important;line-height:1.2!important;min-width:0!important;overflow-wrap:break-word!important}}
@media screen and (max-width:380px){html body dialog.catalog395>header>.pick8556-view>button{padding:0 4px!important}html body :is(#app,body) dialog.catalog395.catalog395>header>h2{font-size:15px!important}}
html body dialog.catalog395>header>.pick8556-view>button::before{margin-right:2px}
/* the filter row keeps only Large / Small (shown in card view); empty in list view */
html body dialog.catalog395 .catalog395-filters>.catalog396-view-controls:not(:has(button:not([hidden]))){display:none!important}

/* 3. selected state */
html body dialog.catalog395 [data-catalog-kind]{background:#fff!important;color:#18384b!important;border-color:#9fb4c4!important}
html body dialog.catalog395 [data-catalog-kind][aria-pressed=true]{background:#18384b!important;color:#fff!important;border-color:#18384b!important}
html body dialog.catalog395 [data-catalog-kind]::before{content:"\2713\FE0E";display:inline-block;width:.9em;visibility:hidden;font-weight:700}
/* design review: the reserved check width is balanced by an equal spacer on the right, so the label stays centred in both states */
html body dialog.catalog395 [data-catalog-kind]::after{content:"";display:inline-block;width:.9em}
html body dialog.catalog395 [data-catalog-kind][aria-pressed=true]::before{visibility:visible}
html body dialog.catalog395 .catalog396-chips>button[aria-pressed=true]{background:#18384b!important;color:#fff!important;border-color:#18384b!important}

/* 2. phone list view */
@media screen and (max-width:767px){
  html body dialog.catalog395[data-catalog-view=list] .catalog395-results{gap:8px!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog395-product.catalog395-product{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;grid-template-areas:"img txt" "q q"!important;align-items:start!important;gap:6px 10px!important;padding:8px 10px!important;min-height:0!important;height:auto!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo{grid-area:img!important;width:52px!important;height:52px!important;min-height:0!important;margin:0!important;align-self:start!important}
  /* details: "ID  name" on one line, then "spec · unit · stock" flowing on the next line(s); nothing is cut */
  html body dialog.catalog395[data-catalog-view=list] .catalog395-product>span{grid-area:txt!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;gap:2px 10px!important;padding:0!important;min-width:0!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-identity{display:block!important;flex:1 1 100%!important;margin:0!important;min-width:0!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-identity>strong{display:inline!important;font-size:16px!important;line-height:1.3!important;margin-right:8px!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-identity>span{display:inline!important;font-size:15px!important;line-height:1.3!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-spec{display:contents!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-spec>small,html body dialog.catalog395[data-catalog-view=list] .catalog396-stock{font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere!important;margin:0!important;text-align:left!important;justify-self:auto!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick{grid-area:q!important;grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;padding:6px 0 0!important;border-top:1px solid #e5e8ec!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick>label{display:flex!important;flex:1 1 150px!important;align-items:center!important;gap:6px!important;min-width:0!important;margin:0!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick input{flex:1 1 70px!important;min-width:60px!important;width:auto!important;font-size:16px!important;min-height:44px!important}
  /* the "Requested quantity" words stay as the input's accessible name; on the phone list they take no width */
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick .pick8556-qty{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick>.cart395-primary{flex:none!important;min-height:44px!important;white-space:nowrap!important}
}
/* owner 12/01 「我的帳號也沒辦法改圖片清單」 (design review): the request cart follows the chooser's photo rule, so a material
   without a photo shows "no photo" in the cart too instead of the LOADING picture; the photo frame uses the same neutral tone.
   Only where the new chooser is used: the employee request (.req8557, set in vendor-cart399.mjs; not the movement or contractor cart).
   Owner 12/01 「員工的電腦版改回來」: phones only again; tablets and desktop are back to the old picker and its cart (as 8b58) */
@media screen and (max-width:767px){
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo{position:relative;background:var(--theme-soft,#eef0f3)!important;grid-template-columns:100%!important;grid-template-rows:100%!important} /* one full cell, so a tall photo's button still fills the frame */
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo img.photo-placeholder{display:none!important}
/* B (design review 12/01): on touch screens a site rule made the photo button 64 x 64 inside the 56 frame (shifted 4 px), so
   photos were cut on both sides and the photo-count badge fell outside; the button now fills the frame exactly, the photo is whole
   (contain) on white with a thin line, the badge sits inside the bottom-right corner; dark keeps the frame white like the phone table */
html body #app section.cart395.f584-work.req8557.req8557 .cart395-items .cart395-photo>.material-photo-button{flex:1 1 100%!important;align-self:stretch!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo>.material-photo-button>img:not(.photo-placeholder){display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;object-fit:contain!important;border:0!important;background:transparent!important}
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo .photo-count{position:absolute!important;right:3px!important;bottom:3px!important;left:auto!important;top:auto!important;margin:0!important}
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo:not(:has(img.photo-placeholder)){background:#fff!important;border:1px solid var(--theme-border,#d9dde3)!important;box-sizing:border-box!important}
html[data-aucan-theme=dark] body section.cart395.f584-work.req8557 .cart395-items .cart395-photo:not(:has(img.photo-placeholder)){filter:contrast(.90909) brightness(.89286) hue-rotate(180deg) invert(1) contrast(1.25)!important}
html[data-aucan-theme=dark] body section.cart395.f584-work.req8557 .cart395-items .cart395-photo:not(:has(img.photo-placeholder)) img{filter:none!important}
html body section.cart395.f584-work.req8557 .cart395-items .cart395-photo:has(img.photo-placeholder)::after{content:var(--cart-no-photo);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1.2;color:var(--theme-muted,#64748b);text-align:center}
/* A3 (owner 12/01), phones only since the desktop revert: the employee request chooses in the shared dialog, so its old
   side-by-side picker is not shown, the "+ choose" button is shown and the cart takes the whole width */
html body section.cart395.f584-work.req8557>aside.f584-pick{display:none!important}
html body section.cart395.f584-work.req8557 .f584-doc-head .cart395-primary{display:inline-flex!important;align-items:center;justify-content:center}
html body section.cart395.f584-work.req8557.req8557{grid-template-columns:minmax(0,1fr)!important}
}
/* design review 12/02: the add button keeps even side padding (long English / Spanish text wraps inside it instead of touching
   the edge), and the 52px no-photo tile shows its words on one line */
@media screen and (max-width:767px){
  html body dialog.catalog395[data-catalog-view=list] .catalog396-quick>.cart395-primary{padding:6px 14px!important;white-space:normal!important;line-height:1.15!important;max-width:55%!important;text-align:center!important}
  html body dialog.catalog395[data-catalog-view=list] .catalog395-product>.cart395-photo .cart395-no-photo{font-size:11px!important;line-height:1.2!important;word-break:keep-all!important;writing-mode:horizontal-tb!important;text-align:center!important;padding:0 2px!important}
}
/* owner 12/01 「需求車沒顯示扣後」: the shared cart card (contractor and employee phones) shows stock -> after, like the employee cart */
html body .cart395-items .cart395-item .cart395-stock8557{display:block;color:var(--theme-ink,#243b53)!important;font-size:14px!important;line-height:20px!important}
html body .cart395-items .cart395-item .cart395-stock8557 b{font-weight:700}
html body .cart395-items .cart395-item .cart395-stock8557 b.is-low{color:var(--theme-danger,#b42318)}
/* owner 12/01 「當然要顯示扣後 但不是實際扣」: the phone picker's stock line uses the same stock -> after look */
html body dialog.catalog395 .catalog396-stock8557 b{font-weight:700}
html body dialog.catalog395 .catalog396-stock8557 b.is-low{color:var(--theme-danger,#b42318)}
/* fix list v2 F1: on phones the big and small picture views show the stock line too (/assets/app.27cc2a6eaef48712.css / /assets/mobile-unified399.c11b9f584fc69d90.css hide it outside the list view) */
@media screen and (max-width:767px){html body dialog.catalog395 .catalog395-product .catalog396-stock.catalog396-stock8557{display:block}}
/* owner 12/01 「員工手機跟廠商手機一模一樣」: the request editor with the shared contractor cart hides the bottom bar on phones, as the
   contractor one always did (app.css: body:has(#vendorTitle):has(.request377)) and the old employee one-page request did */
@media screen and (max-width:767px){html body:has(#app .panel.vendor-cart395) #mobileWork278{display:none!important}}

/* views596.css */
/* views596: week, month and chart overview on the receipts and issues page */
@media screen{
html body .v596-home,html body .v596-detail{--k-pending:#a66500;--k-partial:#2a74bd;--k-planned:#c9638f;--k-done:#2d8550;--k-empty:#75818a;--k-line:var(--theme-border,#dbe5e7);--k-ink:var(--theme-ink,#203e42);--k-mute:var(--theme-muted,#5b6f76);--k-accent:var(--theme-accent,#176670);--k-soft:var(--theme-soft,#eef5f5)}
html body [data-stage=pending]{--k:var(--k-pending);--kt:#7a4a00;--kb:#fff1d2}
html body [data-stage=partial]{--k:var(--k-partial);--kt:#1c5687;--kb:#e3f0fb}
html body [data-stage=planned]{--k:var(--k-planned);--kt:#8b2e5c;--kb:#fbe8f0}
html body [data-stage=done]{--k:var(--k-done);--kt:#2c5d45;--kb:#e6f2eb}
html body [data-stage=emergency]{--k:var(--k-pending);--kt:#7a4a00;--kb:#fff1d2}
html body [data-stage=central]{--k:var(--k-partial);--kt:#1c5687;--kb:#e3f0fb}
html body [data-stage=micu]{--k:var(--k-done);--kt:#2c5d45;--kb:#e6f2eb}
html body [data-stage=system]{--k:#7a6ad8;--kt:#4a3da0;--kb:#ecebfb}
html body [data-stage=other]{--k:var(--k-empty);--kt:#4a565e;--kb:#eef0f2}
html body .v596-co.kind::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:3px;background:var(--k)}
html body [data-stage=empty]{--k:var(--k-empty);--kt:#4a565e;--kb:#eef0f2}
html body .v596-home.v596-on>:is(.movement-export,.tbl570-meta,.f584-viewswitch,.tablewrap,.pagination){display:none!important}
html body .v596-home.v596-on>.movement-filters>.field:has(:is(#moveFrom,#moveTo,#moveDirection)){display:none!important}
html body .v596-home.v596-on :is(#cancelSelected,.m377-secondary-action,.m377-actions>.m377-toggle){display:none!important}
html body .v596-home.v596-on>.toolbar{margin-bottom:10px!important;padding-top:10px!important;padding-bottom:10px!important}
html body .v596-head button:focus:not(:focus-visible){outline:0!important;box-shadow:none!important}
@media(min-width:1025px){
html body .v596-home>.v596-head{margin:0 0 10px!important;min-height:44px;align-items:center}
html body .v596-home>.toolbar{margin:0 0 10px!important;padding:10px 16px!important;min-height:0!important}
html body .v596-home>.m377-actions{display:flex!important;flex-wrap:wrap;gap:8px!important;align-items:center!important}
html body .v596-home>.m377-actions>*{margin:0!important}
html body .v596-home>.m377-actions>#search{flex:1 1 90px!important;min-width:90px!important;width:auto!important}
html body .v596-home>.movement-filters{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr)) auto!important;gap:8px 12px!important;align-items:end!important}
html body .v596-home.v596-on>.movement-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto!important}
@media(max-width:1180px){html[data-size601=l] body .v596-home:not(.v596-on)>.movement-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html body .v596-home>.movement-filters>*{min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;flex:none!important}
html body .v596-home>.movement-filters>label,html body .v596-home>.movement-filters>.field{display:flex!important;flex-direction:column!important;gap:6px!important;justify-content:flex-end!important}
html body .v596-home>.movement-filters>label,html body .v596-home>.movement-filters>.field>label{font-size:13px!important;font-weight:400!important;line-height:17px!important;color:var(--k-ink)!important;margin:0!important;padding:0!important}
html body .v596-home>.movement-filters :is(input:not(.choice-source),.unified-choice){width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
html body .v596-home>.movement-filters input[type=date]{height:32px!important;min-height:32px!important}
html body .v596-home>.movement-filters>#resetMovementFilters{align-self:end;justify-self:start;white-space:nowrap}
}
html body .v596-head{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:0 0 12px}
html body .v596-bar{display:inline-flex;max-width:100%;padding:3px;border:1px solid var(--k-line);border-radius:10px;background:var(--k-soft);box-sizing:border-box}
html body .v596-bar[hidden],html body .v596-view[hidden]{display:none!important}
html body .v596-bar button{min-height:36px!important;width:auto;margin:0;padding:3px 18px!important;border:0!important;border-radius:8px;background:transparent!important;box-shadow:none!important;color:var(--k-ink)!important;font-size:15px;font-weight:600;white-space:nowrap}
html body .v596-bar button[aria-pressed=true]{background:var(--k-accent)!important;color:#fff!important}
html body .v596-view{color:var(--k-ink)}
html body .v596-view button:focus-visible,html body .v596-head button:focus-visible{outline:3px solid var(--k-accent)!important;outline-offset:2px}
html body .v596-period{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;margin:2px 0 14px}
html body .v596-step{display:flex;align-items:center;gap:6px}
html body .v596-step h3{margin:0;min-width:124px;text-align:center;font-size:21px;line-height:1.2;font-variant-numeric:tabular-nums}
html body .v596-view .v596-step button{width:auto;min-width:40px;min-height:40px;margin:0;padding:2px 12px;border:1px solid var(--k-line)!important;border-radius:9px;background:var(--theme-card,#fff)!important;box-shadow:none!important;color:var(--k-ink)!important;font-size:20px;line-height:1}
html body .v596-view .v596-step .v596-today{margin-left:6px;font-size:15px}
html body .v596-sum{display:flex;flex-wrap:wrap;gap:4px}
html body .v596-view button.v596-stat{display:inline-flex;align-items:center;gap:7px;width:auto;min-height:40px;margin:0;padding:4px 12px;border:1px solid transparent!important;border-radius:9px;background:transparent!important;box-shadow:none!important;color:var(--k-ink)!important;font-size:14px;font-weight:400}
html body .v596-stat b{font-size:20px;line-height:1;font-variant-numeric:tabular-nums;color:var(--kt,inherit)}
html body .v596-view button.v596-stat[data-stage]::before{content:"";align-self:center;width:10px;height:10px;border-radius:3px;background:var(--k)}
html body .v596-view button.v596-stat:hover{border-color:var(--k-line)!important}
html body .v596-view button.v596-stat[aria-pressed=true]{border-color:var(--k-accent)!important;background:var(--theme-card,#fff)!important}
html body .v596-warn{margin:0 0 12px;padding:10px 14px;border-radius:9px;background:#fbe9e6;color:#86241a;font-size:14px}
html body .v596-foot{margin:16px 0 0;font-size:13px;line-height:1.7;color:var(--k-mute)}
html body .v596-view button.v596-link{display:inline;width:auto;min-height:28px;margin:0;padding:2px 4px;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--k-accent)!important;font-size:13px;font-weight:600;text-decoration:underline}
html body .v596-meter{display:block;width:100%;height:6px;border-radius:3px;background:var(--theme-soft,#e9eeee);overflow:hidden}
html body .v596-meter>span{display:flex;gap:2px;height:100%}
html body .v596-meter i{flex:1 1 0;min-width:3px;background:var(--k)}
html body .v596-meter.wide{height:14px;border-radius:4px;background:transparent}
html body .v596-meter.wide>span{border-radius:4px;overflow:hidden}
/* week strip */
html body .v596-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr)) minmax(0,.8fr);border:1px solid var(--k-line);border-radius:12px 12px 0 0;background:var(--theme-card,#fff);overflow:hidden}
html body .v596-view button.v596-d{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:auto;min-width:0;min-height:112px;margin:0;padding:12px 14px 10px;border:0!important;border-left:1px solid var(--k-line)!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;color:var(--k-ink)!important;text-align:left;font-weight:400;cursor:pointer}
html body .v596-view button.v596-d:first-child{border-left:0!important}
html body .v596-view button.v596-d:hover{background:var(--k-soft)!important}
html body .v596-view button.v596-d[aria-pressed=true]{background:var(--k-soft)!important;border-bottom-color:var(--k-accent)!important}
html body .v596-dtop{display:flex;justify-content:space-between;gap:6px;font-size:14px}
html body .v596-d .v596-date{color:var(--k-mute);font-variant-numeric:tabular-nums}
html body .v596-d.today .v596-date{padding:0 8px;border-radius:99px;background:var(--k-accent);color:#fff}
html body .v596-d b{font-size:28px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
html body .v596-d.none b{color:var(--theme-muted,#6f7d82);font-weight:400}
html body .v596-d small{min-height:18px;font-size:13px;line-height:18px;color:#7a4a00}
html body .v596-d.today small{font-weight:600}
html body .v596-d.all{background:var(--theme-bg,#fbfcfc)!important}
html body .v596-d.all small{color:var(--k-mute);font-weight:400}
html body .v596-strip+.v596-table{border-top:0;border-radius:0 0 12px 12px}
/* document table */
html body .v596-table{margin:0 0 14px;padding:4px 18px 10px;border:1px solid var(--k-line);border-radius:12px;background:var(--theme-card,#fff)}
html body .v596-cap{display:flex;align-items:baseline;gap:12px;padding:12px 0 6px}
html body .v596-cap h4{margin:0;font-size:17px}
html body .v596-cap>span{color:var(--k-mute);font-size:14px}
html body .v596-cap .v596-link{margin-left:auto!important}
html body .v596-view .v596-tr{display:grid;grid-template-columns:minmax(150px,1.15fr) minmax(110px,1fr) minmax(130px,1.2fr) 74px minmax(190px,1.5fr);gap:14px;align-items:center;width:100%;min-height:44px;margin:0;padding:8px 6px;border:0!important;border-top:1px solid var(--theme-border,#eaf0f1)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--k-ink)!important;text-align:left;font-size:14px;font-weight:400;line-height:1.4;box-sizing:border-box}
html body .v596-view button.v596-tr{cursor:pointer}
html body .v596-view button.v596-tr:hover{background:var(--k-soft)!important}
html body .v596-view .v596-th{min-height:0;padding:4px 6px;border-top:0!important;color:var(--k-mute)!important;font-size:13px}
html body .v596-tr b{font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body .v596-tr>span{min-width:0;overflow-wrap:anywhere}
html body .v596-tool{color:var(--k-mute)}
html body .v596-n{font-variant-numeric:tabular-nums}
html body .v596-st{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
html body .v596-tag{display:inline-block;padding:2px 10px;border-radius:6px;background:var(--kb);color:var(--kt);font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap}
html body .v596-note{font-size:13px;color:#1c5687}
html body .v596-late{font-size:13px;font-weight:700;color:#a32b1c}
html body .v596-empty{margin:0;padding:22px 6px;color:var(--k-mute);font-size:14px}
html body .v596-fold{margin:0 0 12px;border:1px solid var(--k-line);border-radius:12px;background:var(--theme-card,#fff);overflow:hidden}
html body .v596-fold.late{border-color:#e6b9b1}
html body .v596-view button.v596-foldhead{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;margin:0;padding:6px 18px;border:0!important;border-radius:0!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;color:var(--k-ink)!important;text-align:left;font-size:15px;font-weight:400}
html body .v596-fold.late .v596-foldhead b{color:#a32b1c}
html body .v596-foldhead i{margin-left:auto;font-style:normal;font-size:14px;color:var(--k-accent);text-decoration:underline}
html body .v596-fold .v596-table{margin:0;border:0;border-top:1px solid var(--k-line);border-radius:0}
html body .v596-fold .v596-cap{display:none}
/* month */
html body .v596-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-bottom:14px;border:1px solid var(--k-line);border-radius:12px;background:var(--theme-card,#fff);overflow:hidden}
html body .v596-dow{padding:9px 12px;font-size:14px;font-weight:600;color:var(--k-mute)}
html body .v596-month .v596-cell{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:auto;min-width:0;min-height:116px;margin:0;padding:8px 12px;border:0!important;border-top:1px solid var(--k-line)!important;border-left:1px solid var(--k-line)!important;border-radius:0!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;color:var(--k-ink)!important;text-align:left;font-size:13px;font-weight:400;opacity:1;box-sizing:border-box}
html body .v596-month .v596-cell:nth-child(7n+1){border-left:0!important}
html body .v596-month .v596-cell.out{color:#b3bec2!important;background:var(--theme-bg,#fafbfb)!important}
html body .v596-month button.v596-cell:not(:disabled):hover,html body .v596-month .v596-cell[aria-pressed=true]{background:var(--k-soft)!important}
html body .v596-month .v596-cell[aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--k-accent)!important}
html body .v596-ctop{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:2px}
html body .v596-cell .v596-date{font-size:14px;color:var(--k-mute);font-variant-numeric:tabular-nums}
html body .v596-cell.today .v596-date{padding:0 8px;border-radius:99px;background:var(--k-accent);color:#fff}
html body .v596-ctop b{font-size:20px;line-height:1;font-variant-numeric:tabular-nums}
html body .v596-top{display:flex;justify-content:space-between;gap:6px;color:var(--k-mute);line-height:1.45}
html body .v596-top>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .v596-open{margin-top:auto;color:#7a4a00;font-weight:600}
html body .v596-open .short{display:none}
/* chart */
html body .v596-panel{margin:0 0 14px;padding:14px 18px;border:1px solid var(--k-line);border-radius:12px;background:var(--theme-card,#fff)}
html body .v596-panel>h4{margin:0 0 10px;font-size:17px}
html body .v596-cols{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px}
html body .v596-view button.v596-col{display:flex;flex-direction:column;gap:4px;align-items:stretch;width:auto;min-width:0;min-height:0;margin:0;padding:0 0 4px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important;color:var(--k-ink)!important;font-weight:400;opacity:1}
html body .v596-view button.v596-col[aria-pressed=true]{background:var(--k-soft)!important;border-bottom-color:var(--k-accent)!important}
html body .v596-plot{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:132px}
html body .v596-plot em{font-style:normal;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
html body .v596-stack{display:flex;flex-direction:column;gap:2px;width:70%;max-width:26px;min-width:12px;min-height:0;flex:none;border-radius:4px 4px 0 0;overflow:hidden}
html body .v596-stack i{flex:1 1 0;min-height:3px;background:var(--k)}
html body .v596-col .v596-date{text-align:center;font-size:12px;color:var(--k-mute);font-variant-numeric:tabular-nums}
html body .v596-col.today .v596-date{border-radius:99px;background:var(--k-accent);color:#fff}
html body .v596-view .v596-rr{display:grid;grid-template-columns:minmax(120px,200px) minmax(120px,1fr) repeat(var(--n),76px) 64px;gap:12px;align-items:center;width:100%;min-height:42px;margin:0;padding:6px;border:0!important;border-top:1px solid var(--theme-border,#eaf0f1)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--k-ink)!important;text-align:left;font-size:14px;font-weight:400;box-sizing:border-box}
html body .v596-view button.v596-rr:hover,html body .v596-view button.v596-rr[aria-pressed=true]{background:var(--k-soft)!important}
html body .v596-view .v596-rr.v596-th{min-height:0;border-top:0!important}
html body .v596-rr .num{text-align:right;font-variant-numeric:tabular-nums}
html body .v596-rr .num[data-stage]{color:var(--kt)}
html body .v596-rr .num.zero{color:var(--theme-muted,#6f7d82)}
html body .v596-name{overflow-wrap:anywhere}
html body .v596-picked{margin:6px 0 10px;background:var(--theme-bg,#fbfcfc)}
/* window */
html body .v596-detail{font-family:inherit;color:var(--k-ink)}
html body #modal:has(.v596-detail),html body #modal .v596-detail :is(h2,h3,p,b,span,em,button){font-family:system-ui,"Noto Sans TC","Microsoft JhengHei",sans-serif}
html body .v596-detail h2{margin:0 0 8px;font-size:21px}
html body .v596-detail p{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin:0}
html body .v596-detail h3{margin:18px 0 4px;font-size:15px}
html body .v596-lines>div{display:grid;grid-template-columns:minmax(110px,230px) minmax(0,1fr) auto;gap:14px;padding:9px 0;border-top:1px solid var(--theme-border,#eaf0f1);font-size:14px;overflow-wrap:anywhere}
html body .v596-lines b{font-weight:600}
html body .v596-lines em{font-style:normal;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
html body .v596-detail .actions{margin-top:18px}
}
@media screen and (max-width:1100px){
html body .v596-view button.v596-d{padding:10px 8px 8px;min-height:104px}
html body .v596-dtop{flex-direction:column;gap:0}
html body .v596-d.today .v596-date{align-self:flex-start}
html body .v596-view .v596-tr{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 60px minmax(0,1.2fr);gap:10px}
html body .v596-month .v596-cell{padding:6px 8px}
html body .v596-view .v596-rr{grid-template-columns:minmax(0,130px) minmax(60px,1fr) repeat(var(--n),56px) 48px;gap:8px}
}
@media screen and (max-width:760px){
html body .v596-head .v596-bar{display:flex;flex:1 1 100%}
html body .v596-head .v596-bar[hidden]{display:none}
html body .v596-bar button{flex:1 1 0;min-height:44px!important;padding:3px 4px!important}
html body .v596-step{width:100%}
html body .v596-step h3{flex:1;min-width:0;font-size:19px}
html body .v596-view .v596-step button,html body .v596-view button.v596-stat{min-height:44px}
html body .v596-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
html body .v596-view button.v596-d{min-height:96px;border-top:1px solid var(--k-line)!important}
html body .v596-view button.v596-d:nth-child(-n+4){border-top:0!important}
html body .v596-view button.v596-d:nth-child(4n+1){border-left:0!important}
html body .v596-d b{font-size:24px}
html body .v596-table{padding:4px 12px 8px}
html body .v596-th{display:none!important}
html body .v596-view .v596-tr{grid-template-columns:minmax(0,1fr) max-content;gap:2px 10px;padding:10px 2px!important}
html body .v596-tr>b{grid-column:1;grid-row:1}
html body .v596-tr .v596-st{grid-column:1/-1;grid-row:4}
html body .v596-tr .v596-n{grid-column:2;grid-row:1;text-align:right}
html body .v596-tr .v596-co{grid-column:1/-1;grid-row:2}
html body .v596-tr .v596-tool{grid-column:1/-1;grid-row:3}
html body .v596-tr .v596-tool:empty{display:none}
html body .v596-dow{padding:8px 0;text-align:center;font-size:13px}
html body .v596-month .v596-cell{min-height:74px;padding:4px;gap:3px;align-items:stretch}
html body .v596-ctop{flex-direction:column;align-items:center;gap:2px;margin:0}
html body .v596-cell :is(.v596-top){display:none}
html body .v596-open{margin:0;text-align:center;font-size:12px;line-height:1.3;white-space:nowrap}
html body .v596-open .long{display:none!important}
html body .v596-open .short{display:inline}
html body .v596-month button.v596-cell{padding:4px!important}
html body .v596-cols{grid-auto-columns:30px;overflow-x:auto;padding-bottom:4px}
html body .v596-view .v596-rr{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:10px 2px!important}
html body .v596-rr .v596-name{grid-column:1;grid-row:1}
html body .v596-rr>b.num{grid-column:2;grid-row:1}
html body .v596-rr .v596-meter{grid-column:1/-1;grid-row:2}
html body .v596-view button.v596-rr{display:flex;flex-wrap:wrap}
html body .v596-rr .v596-name{flex:1 1 60%}
html body .v596-rr>b.num{order:1}
html body .v596-rr .v596-meter{order:2;flex:1 1 100%}
html body .v596-rr .num[data-stage]{order:3;font-size:13px}
html body .v596-rr .num[data-stage]::before{content:attr(data-label) " ";color:var(--k-mute)}
html body .v596-rr .num.zero{display:none}
html body .v596-lines>div{grid-template-columns:minmax(0,1fr) auto}
html body .v596-lines span{grid-column:1/-1;grid-row:2}
}
@media print{html body :is(.v596-head,.v596-view){display:none!important}}

/* ./admin-paid653.css */
.ap653{display:grid;gap:1rem;max-width:92rem;margin:auto;padding:1rem;color:var(--text,#17243a)}
.ap653 h1,.ap653 h2,.ap653 h3,.ap653 p{margin:0}
.ap653 h1{font-size:clamp(1.35rem,4vw,2rem)}
.ap653 h2{font-size:1.15rem}
.ap653 section,.ap653 form,.ap653 article{background:var(--card,#fff);border:1px solid var(--border,#c6d1e0);border-radius:.7rem;padding:.85rem;min-width:0}
.ap653 section,.ap653 article{display:grid;gap:.65rem}
.ap653 .ap653-row{display:flex;align-items:center;justify-content:space-between;gap:.55rem;flex-wrap:wrap}
.ap653 .ap653-metrics,.ap653 .ap653-list,.ap653 form{display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13.6rem),1fr))}
.ap653 .ap653-metrics div{background:var(--panel,#f0f4fa);border-radius:.5rem;padding:.65rem;min-width:0}
.ap653 .ap653-metrics span,.ap653 label span{display:block;font-size:.86rem}
.ap653 .ap653-metrics strong{font-size:1.15rem;word-break:break-word}
.ap653 .ap653-metrics div:first-child strong{font-size:1.65rem}
.ap653 label{display:grid;gap:.25rem;min-width:0}
.ap653 input:not([type=checkbox]),.ap653 select{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border,#9faec2);border-radius:.35rem;padding:.45rem;font:inherit;color:inherit;background:var(--card,#fff)}
.ap653 button{font:inherit;min-height:2.5rem;padding:.3rem .7rem;border:1px solid var(--border,#8ea1b7);border-radius:.4rem;background:var(--panel,#edf3fc);color:inherit;cursor:pointer}
.ap653 button:disabled{opacity:.55;cursor:default}
.ap653 :focus-visible{outline:2px solid var(--accent,#326dc5);outline-offset:2px}
.ap653 .ap653-wide{grid-column:1/-1}
.ap653 p,.ap653 article{overflow-wrap:anywhere}
.ap653 .ap653-state{min-height:1.3rem}
.ap653 [data-error=true]{color:var(--danger,#9f2020)}
.ap653 progress{width:100%;height:.7rem}
.ap653 [hidden]{display:none !important}
/* COLS-ALL: the page header already shows the title, so the second h1 is hidden on screen but kept for screen readers */
.ap653>.ap653-row>h1{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.ap653>.ap653-row:has(>h1){justify-content:flex-end}
/* COLS-ALL: grid children may shrink, so a wide table scrolls inside its own box instead of widening the section */
.ap653 section>*{min-width:0}
/* COLS-ALL: on phones the lists are cards; long cell text (e.g. "See AI controls for metered usage") wraps instead of widening the page */
@media (max-width:767px){.ap653 .vb1-table td{white-space:normal!important;overflow-wrap:anywhere}}
/* /assets/visual-b1.657463f9f19265fd.css */
/* visual-b1: visual refresh batch 1. Rollback = remove the <link> to this file in index.html.
   Scope: shared number/radius tokens, sidebar active state, AI & paid services page (.ap653) and the AI quota block inside it.
   The home page and the colour themes are not changed. No dark theme values in this batch. */
:root{--vb-navy:#173348;--vb-red:#c8323f;--vb-mono:ui-monospace,"Cascadia Mono",Consolas,"SFMono-Regular",monospace;--vb-radius:8px;
  --vb-line:var(--theme-border,#d5dde6);--vb-soft:var(--theme-soft,#eef3f8);--vb-card:var(--theme-card,#fff);--vb-ink:var(--theme-ink,#243b53);--vb-muted:var(--theme-muted,#596a7c);
  /* VISUAL-B3 S0 (UI-EXPERT-TOKENS 2.2): shared scale; no screen change by itself */
  --vb-radius-sm:6px;--vb-radius-lg:12px;--vb-radius-pill:999px;
  --vb-space-xs:4px;--vb-space-sm:8px;--vb-space-md:12px;--vb-space-lg:16px;--vb-space-xl:24px;
  --vb-fs-xs:12px;--vb-fs-sm:13px;--vb-fs-md:14px;--vb-fs-h3:16px;--vb-fs-h2:20px;--vb-fs-h1:24px;
  --vb-control-h:36px;--vb-control-h-sm:30px;--vb-touch-h:44px;
  --vb-shadow-card:0 2px 8px #1733480a;--vb-shadow-pop:0 8px 24px #213e5026;
  --vb-accent-bar:var(--theme-brand,#3979c5);
  --vb-ok-bg:#e5f3ed;--vb-ok-ink:#277057;--vb-warn-bg:#fff0df;--vb-warn-ink:#a5590b;
  --vb-danger-bg:#ffe9e9;--vb-danger-ink:#ac3440;--vb-info-bg:#e3f0fb;--vb-info-ink:#1c5687;
  --vb-amber:#b45309}

/* numbers line up in every table */
#app table td{font-variant-numeric:tabular-nums}

/* sidebar: active page = soft background, navy text, red marker (instead of a solid fill) */
@media screen{
  html #app nav button.active,html[data-aucan-theme] #app nav button.active{position:relative;background:var(--vb-soft);color:var(--vb-navy);font-weight:700;box-shadow:inset 3px 0 0 var(--vb-red);border-color:transparent}
  html #app nav button.active small,html[data-aucan-theme] #app nav button.active small,html[data-aucan-theme] #app nav button.active :is(.muted,small){color:var(--vb-muted)}
  html #app nav button.active svg{color:var(--vb-red)}
}

/* ---------- AI & paid services page ---------- */
.ap653 .vb1-num{font-family:var(--vb-mono);font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap}
.ap653 .vb1-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ap653 .vb1-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.ap653 .vb1-kpis .vb1-kpi{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--vb-line);border-radius:var(--vb-radius);background:var(--vb-card);min-width:0}
.ap653 .vb1-kpis .vb1-kpi span{font-size:12px;color:var(--vb-muted)}
.ap653 .vb1-kpis .vb1-kpi strong{font-size:18px;color:var(--vb-ink)}
.ap653 .vb1-kpis .vb1-kpi[data-metric=remaining]{border-color:color-mix(in srgb,var(--vb-navy) 35%,var(--vb-line));box-shadow:inset 0 3px 0 var(--vb-navy)}
.ap653 .vb1-kpis .vb1-kpi[data-metric=remaining] strong{font-size:22px}
.ap653 .vb1-gauge{width:100%;height:8px;margin-top:10px}
.ap653 .vb1-notes p{margin:4px 0 0;font-size:12px;color:var(--vb-muted)}
.ap653 .vb1-empty{margin:0;font-size:13px;color:var(--vb-muted)}
.ap653 .vb1-tablewrap{overflow-x:auto;border:1px solid var(--vb-line);border-radius:var(--vb-radius);background:var(--vb-card)}
.ap653 table.vb1-table{width:100%;border-collapse:collapse;font-size:13px;margin:0}
.ap653 .vb1-table th{background:var(--vb-soft);color:var(--vb-muted);font-size:12px;font-weight:600;text-align:left;padding:7px 10px;border-bottom:1px solid var(--vb-line);white-space:nowrap}
.ap653 .vb1-table td{padding:7px 10px;border-bottom:1px solid var(--vb-line);vertical-align:middle;min-width:0}
.ap653 .vb1-table tbody tr:last-child td{border-bottom:0}
.ap653 .vb1-table tbody tr:hover td{background:color-mix(in srgb,var(--vb-soft) 55%,transparent)}
.ap653 .vb1-table tr[data-voided=true] td{color:var(--vb-muted)}
.ap653 .vb1-table .vb1-n{text-align:right}
.ap653 .vb1-table .vb1-strong{font-weight:600;color:var(--vb-ink)}
.ap653 .vb1-sub{display:block;font-weight:400;font-size:11.5px;color:var(--vb-muted);max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ap653 .vb1-sort{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:4px;color:inherit;font:inherit}
.ap653 .vb1-sort::after{content:"\2195";opacity:.35;font-size:11px}
.ap653 th[aria-sort] .vb1-sort{color:var(--vb-ink)}
.ap653 th[aria-sort=descending] .vb1-sort::after{content:"\25BC";opacity:1;color:var(--vb-red)}
.ap653 th[aria-sort=ascending] .vb1-sort::after{content:"\25B2";opacity:1;color:var(--vb-red)}
.ap653 .vb1-sort:focus-visible{outline:2px solid var(--theme-accent,#336caf);outline-offset:2px}
.ap653 .vb1-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap;background:var(--vb-soft);color:var(--vb-muted)}
.ap653 .vb1-pill[data-state=active]{background:#e3f2ea;color:#2b7655}
.ap653 .vb1-pill[data-state=reported]{background:#e3edf8;color:#2f6aa9}
.ap653 .vb1-actions{white-space:nowrap;text-align:right}
.ap653 .vb1-actions button{min-height:30px;padding:3px 10px;font-size:12.5px;margin-left:4px}
.ap653 .vb1-sum{display:flex;justify-content:space-between;margin:8px 2px 0;font-size:13px;color:var(--vb-muted)}
.ap653 .vb1-sum strong{color:var(--vb-ink)}
@media (max-width:1100px){.ap653 .vb1-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* AI quota block: sections that only say "no data" become small boxes that sit side by side.
   Only these six sections; log, history, budget and providers keep their full layout. */
.ap653 .aiq641{flex-direction:row;flex-wrap:wrap;align-items:flex-start}
.ap653 .aiq641>*{flex:1 1 100%;min-width:0}
.ap653 .aiq641 .aiq641-pair{display:contents}
.ap653 .aiq641 .aiq641-pair>.aiq641-section{flex:1 1 360px}
.ap653 .aiq641 section.aiq641-section:is([data-aiq641-section=daily],[data-aiq641-section=model],[data-aiq641-section=role],[data-aiq641-section=users],[data-aiq641-section=alerts],[data-aiq641-section=pending]):has(>.aiq641-section-head+.aiq641-empty:last-child){flex:1 1 180px;display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:var(--vb-soft);border-style:dashed;box-shadow:none}
.ap653 .aiq641 section.aiq641-section:is([data-aiq641-section=daily],[data-aiq641-section=model],[data-aiq641-section=role],[data-aiq641-section=users],[data-aiq641-section=alerts],[data-aiq641-section=pending]):has(>.aiq641-section-head+.aiq641-empty:last-child) h2{font-size:13px}
.ap653 .aiq641 section.aiq641-section:is([data-aiq641-section=daily],[data-aiq641-section=model],[data-aiq641-section=role],[data-aiq641-section=users],[data-aiq641-section=alerts],[data-aiq641-section=pending]):has(>.aiq641-section-head+.aiq641-empty:last-child) .aiq641-empty{font-size:12px}
.ap653 .aiq641 .aiq641-money,.ap653 .aiq641 .aiq641-value,.ap653 .aiq641 .aiq641-month b{font-family:var(--vb-mono);font-variant-numeric:tabular-nums}

/* phone: tables become two-line cards using each cell's data-label */
@media (max-width:767px){
  .ap653 .vb1-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ap653 .vb1-kpis .vb1-kpi[data-metric=remaining]{grid-column:1/-1}
  .ap653 .vb1-kpis .vb1-kpi strong,.ap653 .vb1-kpis .vb1-kpi[data-metric=remaining] strong{font-size:16px}
  .ap653 .vb1-tablewrap{border:0;background:transparent;overflow:visible}
  .ap653 .vb1-table thead{display:none}
  .ap653 .vb1-table,.ap653 .vb1-table tbody{display:block}
  .ap653 .vb1-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 12px;margin-bottom:8px;border:1px solid var(--vb-line);border-radius:var(--vb-radius);background:var(--vb-card)}
  .ap653 .vb1-table td{display:flex;justify-content:space-between;gap:10px;padding:0;border:0;font-size:12.5px;grid-column:1/-1}
  .ap653 .vb1-table td::before{content:attr(data-label);color:var(--vb-muted);font-size:11.5px;flex:none}
  .ap653 .vb1-table td.vb1-strong{grid-column:1;font-size:14px;display:block}
  .ap653 .vb1-table td.vb1-strong::before,.ap653 .vb1-table td.vb1-actions::before{content:none}
  .ap653 .vb1-table td.vb1-actions{justify-content:flex-end;margin-top:4px}
  .ap653 .vb1-table td.vb1-actions button{min-height:44px}
  .ap653 .vb1-sub{max-width:none;white-space:normal}
  /* charges on phone: line 1 item + amount, line 2 date · service · doc no · doc kind, line 3 status + buttons */
  .ap653 .vb1-table tr[data-charge]{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px}
  .ap653 .vb1-table tr[data-charge] td{display:block;flex:0 0 auto;font-size:11.5px;color:var(--vb-muted)}
  .ap653 .vb1-table tr[data-charge] td::before{content:none}
  .ap653 .vb1-table tr[data-charge] td[data-col=item]{order:1;flex:1 1 60%;font-size:14px;color:var(--vb-ink)}
  .ap653 .vb1-table tr[data-charge] td[data-col=raw_amount]{order:2;font-size:14px;font-weight:700;color:var(--vb-ink)}
  .ap653 .vb1-table tr[data-charge] td[data-col=charged_at]{order:3}
  .ap653 .vb1-table tr[data-charge] td:is([data-col=service_id],[data-col=doc_no],[data-col=doc_kind]){order:4}
  .ap653 .vb1-table tr[data-charge] td:is([data-col=service_id],[data-col=doc_no],[data-col=doc_kind])::before{content:"\00B7";margin-right:8px}
  .ap653 .vb1-table tr[data-charge] td[data-col=charged_at]{flex-basis:auto}
  .ap653 .vb1-table tr[data-charge] td.vb1-actions{order:6;margin:4px 0 0 auto}
  .ap653 .vb1-table tr[data-charge] td[data-col=status]:not(.vb1-actions){order:5;flex-basis:100%;margin-top:2px}
  .ap653 .vb1-table tr[data-charge] td[data-col=status]:not(.vb1-actions):has(+.vb1-actions:not(:empty)){flex-basis:auto;margin-top:4px}
}

/* sort select: phones only (table headers are hidden there) */
.ap653 .vb1-sortpick{display:none}
@media (max-width:767px){
  .ap653 .vb1-sortpick{display:flex;align-items:center;gap:8px;margin:0 0 8px}
  .ap653 .vb1-sortpick span{font-size:12.5px;color:var(--vb-muted);white-space:nowrap}
  .ap653 .vb1-sortpick select{flex:1;min-height:44px;min-width:0}
}

/* Dark theme (theme picker "深色 / Dark / Oscuro").
   Many existing rules hard-code white backgrounds (196 of them), so dark mode inverts lightness on the root element and
   turns hues back with hue-rotate; photos, logos, drawing previews and video are inverted back so they look normal.
   The filter sits on <html>, which does not create a containing block, so fixed and sticky elements keep working.
   Screen only: printing and PDF export stay light. */
@media screen{
  html[data-aucan-theme=dark]{filter:invert(.9) hue-rotate(180deg);background:#fff;color-scheme:light}
  html[data-aucan-theme=dark] :is(img,video,canvas,picture,iframe,object,embed,svg image,[data-photo],[style*="background-image"]){filter:invert(1) hue-rotate(180deg)}
  html[data-aucan-theme=dark] :is(img,canvas) :is(img,canvas){filter:none}
  html[data-aucan-theme=dark] dialog.drawing-preview449:is(:modal,:fullscreen) :is(canvas,img,svg image){filter:none}
  html[data-aucan-theme=dark] body #app .content #ov1124 :is(.faint,.sub2,.dw > span){color:#606060!important}
  html[data-aucan-theme=dark] .rr386 .rr-step > .rr-number{color:#606060}
  html[data-aucan-theme=dark] body #app #body table.tbl570 .tx569-actions > .pill[data-tx-saved-contrast]{color:#606060!important}
  /* home entry cards: the photo is a CSS background, so the whole block is turned back and looks exactly like the light theme */
  html[data-aucan-theme=dark] .aucan-home291 .cards{filter:invert(1) hue-rotate(180deg)}
  html[data-aucan-theme=dark] .aucan-home291 .cards :is(img,video,canvas,picture,svg image,[style*="background-image"]){filter:none}
  html[data-aucan-theme=dark] .theme-switch button,html[data-aucan-theme=dark] .palette297 [data-color]{filter:invert(1) hue-rotate(180deg)}
}
@media print{html[data-aucan-theme=dark]{filter:none!important}html[data-aucan-theme=dark] *{filter:none!important}}
/* Codex #535 (all themes): on tablets the open "account & appearance" panel lives in the page header (z-index 40), and the
   engineering overview's own <header class="ep-head"> gets the same z-index 40 from a shared rule; being later in the page it
   painted over the colour picker, so its buttons could not be clicked. While the panel is open the page header goes on top. */
html body #app>header.mobile-account-open{z-index:60!important}
/* #375 Shared legible muted ink on the existing light surfaces before inversion. */
@media screen{
  html[data-aucan-theme=dark]{--aucan-dark-paper-ink:#4d5158;--theme-accent:#18384b}
  html[data-aucan-theme=dark] body #app .content #engRows .gt631 .gt631-tbl,
  html[data-aucan-theme=dark] body #app #body table.tbl570 > thead > tr > th,
  html[data-aucan-theme=dark] body #app #body table.tbl570 > tbody > tr > td.tbl570-number:not([style*="color"]):not([data-severity]):not(.danger):not(.warn),
  html[data-aucan-theme=dark] body #app #body.inv565 table.inv565-table td:is([data-inventory565=received],[data-inventory565=issued],[data-inventory565=safety]),
  html[data-aucan-theme=dark] body #app #body table.tbl570 td > .tag:not([data-severity]):not(.danger):not(.warn),
  html[data-aucan-theme=dark] body #app #body table.tbl570 .tx569-actions > .pill[data-tx-saved-contrast]{
    color:var(--aucan-dark-paper-ink)!important
  }
}
/* #385: muted labels on surfaces already inverted only in the optional screen dark theme. */
@media screen {
  html[data-aucan-theme=dark] body #app .content #engRows .gt631 {
    --n-muted:var(--aucan-dark-paper-ink);
    --gt-muted:var(--aucan-dark-paper-ink);
  }
  html[data-aucan-theme=dark] body #app .content #engRows .gt631 .gt631-dy span.we:not(.now),
  html[data-aucan-theme=dark] body #app .content #ov1124 .ct.num,
  html[data-aucan-theme=dark] body #app .content #ov1124 .eg .gh > em.num,
  html[data-aucan-theme=dark] body #app .content .topline > .muted[data-updated-at] {
    color:var(--aucan-dark-paper-ink)!important;
  }
  /* DARK-SIDEBAR: the last low-contrast texts of the 55-page dark scan (calendar day numbers incl. other-month days,
     table footer labels in 工程總覽) */
  html[data-aucan-theme=dark] body #app .content #ov1124 .cal .dy .dn,
  html[data-aucan-theme=dark] body #app .content #ov1124 tfoot small {
    color:var(--aucan-dark-paper-ink)!important;opacity:1!important;
  }
  /* owner 11/30: in the dark theme the sidebar is dark too. Its LOGO is inverted once with the page (not turned back),
     so the navy lettering reads light on the dark sidebar while the red keeps its hue. */
  html[data-aucan-theme=dark] body #app>nav .nav-brand-d1 img,html[data-aucan-theme=dark] body #app .brand-home291 img{filter:none}
  /* owner 11/30 「深色主題整體字體要不要改成白一點」: a little brightness and contrast after the inversion makes text whiter
     (most text colours are hard-coded per component, so a shared ink variable would barely change anything). */
  html[data-aucan-theme=dark]{filter:invert(.9) hue-rotate(180deg) brightness(1.12) contrast(1.1)}
  /* owner 11/30 「你要上線也要連手機版的深色主題改好」 — phone / tablet dark pass:
     1. photos and other media undo the whole page filter (incl. the brightness/contrast above), so they show their real colours:
        the page applies invert(.9) hue-rotate brightness contrast; media apply the exact inverse first (each step is invertible
        on the 10%-90% range the page filter produces). */
  html[data-aucan-theme=dark] :is(img,video,canvas,picture,iframe,object,embed,svg image,[data-photo],[style*="background-image"]),
  html[data-aucan-theme=dark] .aucan-home291 .cards,
  html[data-aucan-theme=dark] .theme-switch button,html[data-aucan-theme=dark] .palette297 [data-color]{filter:contrast(.90909) brightness(.89286) hue-rotate(180deg) invert(1) contrast(1.25)}
  /* 2. modal dialogs and open popovers are painted in the top layer, which the page filter on <html> does not reach: without this
        they stay light inside the dark theme. They get the same filter themselves (their media are turned back by rule 1). */
  html[data-aucan-theme=dark] :is(dialog:modal,:popover-open):not(.material-photo-dialog,.drawing-preview449){filter:invert(.9) hue-rotate(180deg) brightness(1.12) contrast(1.1)}
  /* 3. the photo viewer and drawing preview are dark by design and are not filtered, so their pictures must not be turned either */
  html[data-aucan-theme=dark] dialog:is(.material-photo-dialog,.drawing-preview449) :is(img,video,canvas,picture,svg image,[data-photo],[style*="background-image"]){filter:none!important}
  /* 4. gantt "clear filters" text on its light chip */
  html[data-aucan-theme=dark] body #app .content #engRows .gt631 .gt631-clr{color:#2e3238!important}
}

/* Shared light-theme text contrast. Keep Dark, print and the current layout out of this ruleset. */
@media screen {
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) {
    --auc-light-readable-muted:#5c554b;
    --auc-light-emphasis-ink:#9e2531;
    --auc-light-danger-fill:#a32c39;
    --auc-light-on-fill:#fff;
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app .ap653 .aiq641 button.aiq641-kill.danger-fill:not(:disabled),
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app .aiq641 button.aiq641-kill.danger-fill:not(:disabled) {
    color:var(--auc-light-on-fill)!important;
    background-color:var(--auc-light-danger-fill);
    border-color:var(--auc-light-danger-fill);
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app #engRows .gt631 .gt631-dy span.we:not(.now) {
    color:var(--auc-light-readable-muted);
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app #engRows .gt631 .gt631-dy span.now {
    color:var(--auc-light-emphasis-ink);
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app #engRows .gt631 .gt631-wk span.now {
    color:var(--auc-light-emphasis-ink)!important;
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app .qd642 :is(.qd-counts > span,.qd-stat > span,.qd-f > span,.qd-f .unified-choice > input:not(:disabled)) {
    color:var(--auc-light-readable-muted);
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app #ov1124 .dn em {
    color:var(--auc-light-on-fill)!important;
    background-color:var(--auc-light-danger-fill)!important;
  }
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app :is(input,textarea):not(:disabled)::placeholder {
    color:var(--auc-light-readable-muted);
    opacity:1;
  }
}

/* Weekend cue complements the existing text/ground contrast without geometry changes. */
@media screen {
  html:is(:not([data-aucan-theme]),[data-aucan-theme=yellow],[data-aucan-theme=green],[data-aucan-theme=blue],[data-aucan-theme=pink],[data-aucan-theme=copper]) body #app #engRows .gt631 .gt631-dy span.we {
    text-decoration-line:underline;
    text-decoration-style:dotted;
    text-decoration-color:currentColor;
    text-underline-offset:2px;
    text-decoration-thickness:1px;
  }
}

/* #508 specialist engineering summary, visual-b1 tokens and local roles only. */
.a06-progress>.a06-head{display:flex;position:static;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;padding:0;border:0;color:var(--vb-ink);background:none;box-shadow:none}
.a06-progress>.a06-head :is(h2,p){margin:0}.a06-progress .a06-date{color:var(--vb-muted)}
.a06-progress .a06-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0}
.a06-progress .a06-metric{display:flex;flex-direction:column;justify-content:space-between;gap:4px;padding:8px 10px;border:1px solid var(--vb-line);border-radius:var(--vb-radius);background:var(--vb-card);min-width:0}
.a06-progress .a06-metric h3{margin:0;color:var(--vb-muted);font-size:.81rem;line-height:1.35;overflow-wrap:anywhere}
.a06-progress .a06-metric>span{color:var(--vb-ink);font:700 1.25rem var(--vb-mono);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.a06-progress .a06-folds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.a06-progress .a06-fold{border:1px solid var(--vb-line);border-radius:var(--vb-radius);background:var(--vb-card);color:var(--vb-ink);min-width:0}
.a06-progress .a06-fold[open]{grid-column:1/-1}
.a06-progress .a06-fold summary{padding:9px 10px;min-block-size:44px;cursor:pointer;overflow-wrap:anywhere}
.a06-progress .vb2-count{margin-inline-start:8px;font-variant-numeric:tabular-nums}
.a06-progress .a06-items{list-style:none;margin:0;padding:3px 10px 10px;max-height:min(320px,50vh);overflow:auto}
.a06-progress .a06-chips{display:flex;flex-wrap:wrap;gap:6px}
.a06-progress .a06-items li{max-width:100%;padding:3px 6px;overflow-wrap:anywhere}
.a06-progress .a06-chips li{background:var(--vb-soft);border-radius:var(--vb-radius)}
.a06-progress .a06-late-list li{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:8px;border-bottom:1px solid var(--vb-line)}
.a06-progress .a06-items button{max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}
.a06-progress :is(summary,button):focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:620px){.a06-progress .a06-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.a06-progress .a06-metric[data-a06=rate]{grid-column:1/-1}.a06-progress .a06-folds{grid-template-columns:minmax(0,1fr)}}

/* ./visual-b2.css */
/* visual-b2: visual refresh batch 2 (department pages closer to the approved mock). CSS only.
   Rollback = remove the <link> to this file in index.html.
   Every rule is limited to department pages (#app has a nav with data-scroll-scope other than "home"), so the home page does not change.
   Desktop nav rules live in min-width:1025px like the existing nav611 rules; tablet/phone menus are not touched. */

@media screen and (min-width:1025px){
  /* logo top-left a little larger on department pages (header only, home page excluded) */
  html body #app#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home]))>header .brand-home291 img{height:38px!important;width:auto!important;max-width:none!important}

  /* department switch = one bordered block around the systems only ([data-system] and the admin button).
     The non-admin "廠商與選單" button ([data-shared-page]) sits below the block as a plain row, so it does not look like a fourth system.
     The block is drawn on the buttons (first one: top edge, last one: bottom edge), not on the container. Colours come from the theme. */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links{gap:0!important;margin:2px 0 10px!important;padding:0 0 10px!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]){min-height:42px!important;border-radius:0!important;border-left:1px solid var(--theme-border,#dce5eb)!important;border-right:1px solid var(--theme-border,#dce5eb)!important;background:var(--theme-card,#fff)!important;box-shadow:inset 0 0 0 4px var(--theme-card,#fff)!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]):not(:is([data-system],[data-admin-page])~*){border-top:1px solid var(--theme-border,#dce5eb)!important;border-radius:10px 10px 0 0!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]):not(:has(~:is([data-system],[data-admin-page]))){border-bottom:1px solid var(--theme-border,#dce5eb)!important;border-radius:0 0 10px 10px!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]):not(:is([data-system],[data-admin-page])~*):not(:has(~:is([data-system],[data-admin-page]))){border-radius:10px!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]).active,
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]):has(>button[data-admin-page].active) .system-links [data-admin-page=home],
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]):has(>button[data-admin-page]):has(>button[data-shared-page].active) .system-links [data-admin-page=home]{background:var(--theme-accent,#117580)!important;color:#fff!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]):not(.active):hover{background:var(--theme-soft,#eef4f7)!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>[data-shared-page]{margin-top:10px!important;min-height:38px!important;border-radius:8px!important}

  /* category headings: small, bold, spaced like the mock; a thin rule above each group */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-category364{position:relative;margin:12px 0 2px!important;padding:8px 10px 3px!important;font-size:13px!important;font-weight:700!important;letter-spacing:.06em!important;color:var(--theme-muted,#5d747d)!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-category364::before{content:"";position:absolute;left:10px;right:10px;top:0;border-top:1px solid var(--theme-border,#dce5eb)}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links+.nav-category364{margin-top:4px!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links+.nav-category364::before{content:none}
  html:not([lang^=zh]) body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-category364{text-transform:uppercase;letter-spacing:.1em!important;font-size:12px!important}
}

@media screen{
  /* page title. (r3: the English system line above the title was removed - on engineering and quality the title is already
     the system name, so the name showed twice. It can come back once titles show the sub-page name, which needs JS.) */
  html body #app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) > .content>.topline h1{font-weight:700!important;letter-spacing:.01em}

  /* faint grid behind department pages (fills the window even when the page is short) */
  html body:has(>#app>nav[data-scroll-scope]:not([data-scroll-scope=home])),
  html body #app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) > .content{--vb2-grid:color-mix(in srgb,var(--theme-ink,#243b53) 4.5%,transparent);background-image:linear-gradient(var(--vb2-grid) 1px,transparent 1px),linear-gradient(90deg,var(--vb2-grid) 1px,transparent 1px);background-size:24px 24px;background-attachment:fixed}

  /* numbers in summary cards: mono, aligned */
  html body #app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .cards .card strong{font-family:var(--vb-mono,ui-monospace,Consolas,monospace);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
}

/* department overview cards (.system-cards: quality overview, engineering/warehouse preview cards):
   title -> one line of text -> same-size button at the bottom; "已開放 / Available" pill in the top-right corner;
   the small repeated subtitle under the title is hidden; the banner above the cards becomes one quiet line.
   Layout only: no text or behaviour changes. */
@media screen{
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards{align-items:stretch!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel:has(>.pill)>h2{padding-right:88px}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>h2{margin:0 0 6px!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>h2+small{display:none!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>p{flex:1 1 auto;margin:0 0 16px!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>.sop-entry583-go{display:flex!important;margin:auto 0 0!important;width:100%}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>.sop-entry583-go>button{flex:1 1 auto!important;width:100%!important;min-height:44px!important;margin:0!important;font-size:15px!important;font-weight:600!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.system-cards>section.panel>.pill{position:absolute!important;top:16px;right:16px;margin:0!important}
  html body #app#app:has(>nav:is([data-scroll-scope=quality],[data-scroll-scope=engineering],[data-scroll-scope=warehouse])) #body>.info:has(+.system-cards){margin:0 0 4px!important;padding:0 2px!important;border:0!important;background:none!important;box-shadow:none!important;font-size:13px!important;color:var(--theme-muted,#5d747d)!important}
}

/* inventory summary cards: label on top, big number below (desktop) */
@media screen and (min-width:1025px){
  html body.inventory-screen404 #app#app:has(>nav[data-scroll-scope=warehouse]) #body.inv565>.cards>.card.stock-click-card .stock-card-filter{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:2px;min-height:74px!important;text-align:left}
  html body.inventory-screen404 #app#app:has(>nav[data-scroll-scope=warehouse]) #body.inv565>.cards>.card.stock-click-card .stock-card-filter>span:first-child{order:1;font-size:12.5px;color:var(--theme-muted,#5d747d)}
  html body.inventory-screen404 #app#app:has(>nav[data-scroll-scope=warehouse]) #body.inv565>.cards>.card.stock-click-card .stock-card-filter>strong{order:2;font-size:27px!important;line-height:1.1!important;margin:2px 0 0!important;color:var(--theme-ink,#243b53)}
  html body.inventory-screen404 #app#app:has(>nav[data-scroll-scope=warehouse]) #body.inv565>.cards>.card.stock-click-card .stock-card-filter>small,
  html body.inventory-screen404 #app#app:has(>nav[data-scroll-scope=warehouse]) #body.inv565>.cards>.card.stock-click-card .stock-card-filter>.stock-card-hint{order:3}
}

/* ./visual-b3.css */
/* visual-b3: batch B of the UI spec (UI-SPEC-claude.md, UI-EXPERT-TOKENS-claude.md S1-S4). CSS only, screen only.
   Uses the --vb-* variables added to /assets/visual-b1.657463f9f19265fd.css :root. Rollback = remove the <link> to this file in index.html.
   Each override copies the specificity of the rule it replaces, so nothing else changes. Print is untouched.
   Shared element rules (button, .pill, .info) are wrapped in :where(...) so they only apply on department pages (home and header unchanged)
   while keeping the specificity of the rule they replace. */
@media screen{

/* ---------- S1 entry cards (.system-cards>.panel: quality overview, admin overview, engineering/warehouse preview) ---------- */
/* colours follow the theme; desktop top bar = inset shadow (no extra height), the old 3px #4d8fa5 border-top is removed */
#app#app .content :is(.system-cards>.panel){border:1px solid var(--vb-line)!important;border-radius:var(--vb-radius-lg)!important;background:var(--vb-card)}
@media (min-width:1025px){
  #app#app .content .system-cards>.panel{border-top:1px solid var(--vb-line)!important;box-shadow:inset 0 3px 0 var(--vb-accent-bar),var(--vb-shadow-card)!important}
}
/* UPACK U6（主管 11/30 代決）：平板／手機的色條也放在頂部，和電腦版一樣（原本 app.css:712、mobile-unified399 的左側色條改回一般框線） */
@media (max-width:1024px){
  html body #app#app .content .system-cards>.panel{border:1px solid var(--vb-line)!important;border-radius:var(--vb-radius-lg)!important;box-shadow:inset 0 3px 0 var(--vb-accent-bar),var(--vb-shadow-card)!important}
}

/* admin overview cards: same structure as the quality overview (title -> one line -> full-width button at the bottom) */
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards{align-items:stretch!important}
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards>section.panel{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards>section.panel>h2{margin:0 0 6px!important}
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards>section.panel>p{flex:1 1 auto;margin:0 0 16px!important}
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards>section.panel>button{width:100%!important;margin:auto 0 0!important;min-height:40px;white-space:normal}
@media (min-width:1100px){html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>.system-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* admin intro line: one quiet line (same as the quality overview hint) */
html body #app#app:has(>nav[data-scroll-scope^=admin]) #body>p.muted:first-child{margin:0 0 4px;font-size:13px;color:var(--vb-muted)}
/* admin read-only feature switches: was an unstyled <dl> (browser indent) -> two aligned columns, state as a status pill */
html body #app#app #body section[data-flag-readout] dl{display:grid;grid-template-columns:max-content max-content;gap:6px 16px;align-items:center;margin:8px 0 0}
html body #app#app #body section[data-flag-readout] dt{color:var(--vb-ink);font-weight:600}
html body #app#app #body section[data-flag-readout] dd{margin:0;justify-self:start;padding:2px 8px;border-radius:var(--vb-radius-pill);font-size:var(--vb-fs-xs);font-weight:600;line-height:18px;background:var(--vb-soft);color:var(--vb-muted)}
html body #app#app #body section[data-flag-readout] dd[data-flag-state=on]{background:var(--vb-ok-bg);color:var(--vb-ok-ink)}

/* ---------- S2 buttons (content area only; heights untouched so tables, toolbars and the 44px touch size stay) ---------- */
/* :where keeps specificity equal to app.css:3 "button", so every component rule (chips, segments, gantt chips, sort headers) still wins */
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) button{border-radius:var(--vb-radius);font-weight:600}
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) button.danger{color:var(--auc-light-danger-fill,#a32c39)}
/* disabled = soft ground, muted text, full opacity (app.css:270 only did this when a colour theme attribute was set) */
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) button:disabled{opacity:1;background:var(--vb-soft);color:var(--vb-muted);border-color:var(--vb-line)}
html body #app:where(:has(>nav[data-scroll-scope]:not([data-scroll-scope=home]))) .content button.primary:disabled{background:var(--vb-soft)!important;color:var(--vb-muted)!important;border-color:var(--vb-line)!important;opacity:1}
/* tablet/phone: app.css:666 set 10px on the same selector */
@media (max-width:1024px){html body #app:where(:has(>nav[data-scroll-scope]:not([data-scroll-scope=home]))) .content button{border-radius:var(--vb-radius)}}

/* ---------- S3 status labels (pill shape; table570 grey tags are NOT changed - owner decision pending) ---------- */
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) .pill{padding:2px 8px;border-radius:var(--vb-radius-pill);font-size:var(--vb-fs-xs);font-weight:600;line-height:18px;background:var(--vb-ok-bg);color:var(--vb-ok-ink)}
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) .pill.warn{background:var(--vb-warn-bg);color:var(--vb-warn-ink)}
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) .pill.red{background:var(--vb-danger-bg);color:var(--vb-danger-ink)}
/* UPACK U7（主管 11/30 代決）：表格裡的狀態標籤恢復顏色（table570.css:31 把表格內 .tag/.pill 都刷成灰色）。
   只有狀態才上色：.pill.warn/.pill.red 與 data-tbl570-state（待審核、已核准／啟用、已拒絕／已取消）；分類等一般文字維持灰色。
   選擇器沿用 table570 的前綴並加 !important（本檔在 /assets/table570.16a3d5970fbfbb89.css 之後載入）。 */
html body :is(#app #body,#portal,dialog) table.tbl570 .pill.warn,
html body :is(#app #body,#portal,dialog) table.tbl570 [data-tbl570-state=pending]{background:var(--vb-warn-bg)!important;color:var(--vb-warn-ink)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 :is([data-tbl570-state=approved],[data-tbl570-state=active]){background:var(--vb-ok-bg)!important;color:var(--vb-ok-ink)!important}
html body :is(#app #body,#portal,dialog) table.tbl570 .pill.red,
html body :is(#app #body,#portal,dialog) table.tbl570 :is([data-tbl570-state=rejected],[data-tbl570-state=cancelled]){background:var(--vb-danger-bg)!important;color:var(--vb-danger-ink)!important}
/* one "pending" orange instead of two (#7a5200 / #7a4a00) */
html body .f584-pill[data-status=pending]{background:var(--vb-warn-bg);color:var(--vb-warn-ink)}
html body .f584-pill[data-status=partial]{background:var(--vb-info-bg);color:var(--vb-info-ink)}
html body #app#app#app .vr-home td[data-status584=pending] span.tag{background:var(--vb-warn-bg)!important;color:var(--vb-warn-ink)!important}
html body #app#app#app .vr-home td[data-status584=partial] span.tag{background:var(--vb-info-bg)!important;color:var(--vb-info-ink)!important}
html body #app#app#app .vr-home td[data-status584=done] span.tag{background:var(--vb-ok-bg)!important;color:var(--vb-ok-ink)!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=done] .tag{background:var(--vb-ok-bg)!important;color:var(--vb-ok-ink)!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=partial] .tag{background:var(--vb-info-bg)!important;color:var(--vb-info-ink)!important}
html.f607:not(.f584-tableview) body #app #body#body#body .vr-home table.tx569-request.tx569-request td[data-status584=pending] .tag{background:var(--vb-warn-bg)!important;color:var(--vb-warn-ink)!important}
html body [data-stage=pending],html body [data-stage=emergency]{--kt:var(--vb-warn-ink);--kb:var(--vb-warn-bg)}
html body [data-stage=partial],html body [data-stage=central]{--kt:var(--vb-info-ink);--kb:var(--vb-info-bg)}
html body [data-stage=done],html body [data-stage=micu]{--kt:var(--vb-ok-ink);--kb:var(--vb-ok-bg)}

/* ---------- S4 banners ---------- */
/* note (page explanation): soft ground, 3px brand left edge, 8px corners */
:where(#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) .content) .info{padding:var(--vb-space-md) var(--vb-space-lg);background:var(--vb-soft);border-left:3px solid var(--vb-accent-bar);border-radius:var(--vb-radius);font-size:var(--vb-fs-sm);line-height:1.7}
#app:where(:has(>nav[data-scroll-scope]:not([data-scroll-scope=home]))) .content #body>.info{border-radius:var(--vb-radius);padding:var(--vb-space-md) var(--vb-space-lg);font-size:var(--vb-fs-sm);line-height:1.7}
@media (max-width:1024px){html body #app:where(:has(>nav[data-scroll-scope]:not([data-scroll-scope=home]))) .content .info{padding:var(--vb-space-md) var(--vb-space-lg)!important;border-radius:var(--vb-radius)!important;line-height:1.7}}
/* msg (result of an action): semantic ground + dark text, no left edge */
.qc-msg{padding:10px 12px;border-radius:var(--vb-radius);background:var(--vb-info-bg);color:var(--vb-info-ink)}
.qc-msg.bad{background:var(--vb-danger-bg);color:var(--vb-danger-ink)}
.sop-msg{padding:10px 12px;border-radius:var(--vb-radius);background:var(--vb-ok-bg);color:var(--vb-ok-ink)}
.sop-msg.bad,.sop-dialog .sop-msg{background:var(--vb-danger-bg);color:var(--vb-danger-ink)}
.sop-banner{background:var(--vb-info-bg);color:var(--vb-info-ink);border:1px solid color-mix(in srgb,var(--vb-info-ink) 22%,transparent);border-radius:var(--vb-radius);padding:10px 12px}
.sop-banner-review{background:var(--vb-warn-bg);color:var(--vb-warn-ink);border-color:color-mix(in srgb,var(--vb-warn-ink) 25%,transparent)}
html body .f584-pick-hint{border-radius:var(--vb-radius)}
html body .f584-pick-hint.is-error{background:var(--vb-danger-bg);color:var(--vb-danger-ink)}
.aiq641-message{padding:10px 12px;border-radius:var(--vb-radius);background:var(--vb-info-bg);color:var(--vb-info-ink)}

/* ---------- inventory overview cards (UI-EXPERT-OVERVIEWS 2.3) ---------- */
/* labels wrap instead of "…"; warning numbers use the shared colours; selected card uses the theme colour.
   The "點選篩選清單 / Filter list" hint stays hidden: its text is mixed Chinese/English in en and es. A hover ground shows the card is clickable. */
html body #app #body.inv565>.cards>.card .stock-card-filter>span:first-child{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
html body #app #body.inv565>.cards>.card[data-inventory-preset565="1"] strong{color:var(--vb-amber)!important}
html body #app #body.inv565>.cards>.card[data-inventory-preset565="2"] strong{color:var(--vb-danger-ink)!important}
html body #app #body.inv565>.cards>.card:has([aria-pressed=true]){border:1px solid var(--theme-accent,#18384b)!important;box-shadow:inset 0 3px 0 var(--theme-accent,#18384b)!important}
html body #app #body.inv565>.cards>.card .stock-card-filter{cursor:pointer}
html body #app #body.inv565>.cards>.card:not(:has([aria-pressed=true])):hover{background:var(--vb-soft)!important}
/* phone: English/Spanish cards in 2 columns (3 were ~110px wide), normal letter spacing, header buttons wrap instead of "…" */
html.f607:not([lang^=zh]) body #app .content #body#body.inv565>.cards.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.f607 body #app .content #body#body.inv565>.cards.cards>.card .stock-card-filter>span:first-child{letter-spacing:normal}
html.f607:not([lang^=zh]) body #app>.content>.topline.inv565-head.inv565-head .inv565-actions>*{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}

}

/* ./visual-c1.css */
/* visual-c1: batch C of the UI spec - phone and tablet (UI-EXPERT-MOBILE-claude.md sections 2-3). CSS only, screen only.
   Breakpoints: phone <=767, tablet 768-1024 (drawer + bottom bar), desktop >1024 (sidebar). Rollback = remove the <link> in index.html.
   Not touched: engineering overview statistics (Codex #508), overview1124.mjs, engineering-timeline197.mjs, any JS breakpoint. */
@media screen and (max-width:1024px){
  /* bottom bar: same height on every page, one line per label, selected item gets a 3px top line (not only colour) */
  html body #mobileWork278#mobileWork278 button{height:52px!important;min-height:52px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-wrap:nowrap}
  html body #mobileWork278#mobileWork278 button[data-shortcut=engineering]{white-space:nowrap!important;text-wrap:nowrap}
  html[lang^=es] body #mobileWork278#mobileWork278 button{font-size:11.5px!important;letter-spacing:0!important;padding:4px 1px!important}
  html body #mobileWork278#mobileWork278 button.mobile-selected303{font-weight:600!important;box-shadow:inset 0 3px 0 var(--theme-accent,#086f7c)!important;border-radius:0 0 10px 10px!important}
  /* gantt off-screen date buttons: 44px touch height */
  .gt631 .gt631-off{min-height:44px}
  /* touch targets on tablet too (768-1024 uses the drawer and the bottom bar, so it is a touch layout) */
  html body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content #body#body#body :is(button,summary,[role=button]):not(.quantity-toggle):not([hidden]){min-height:44px!important}
  html body #app#app>.content>.topline button{min-height:44px!important}
  html body #app#app#app .content .ep123.ov-shell>.ep-head>.ep-nav:not(#a#b#c#d) button{min-height:44px!important}
}
@media screen and (min-width:768px) and (max-width:1024px){
  /* tablet: dropdown fields and their arrow button 44px (phone has its own rules above) */
  html body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content #body#body#body .unified-choice{min-height:44px}
  html body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content #body#body#body .unified-choice>input{min-height:44px!important}
  html body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content #body#body#body .unified-choice>.quantity-toggle{min-height:44px!important;min-width:44px!important}
}
@media screen and (max-width:767px){
  /* ---- touch targets: at least 44px (UI-EXPERT-MOBILE E1-E9) ---- */
  html.f607 body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content #body#body#body :is(button,summary,[role=button]):not(.quantity-toggle):not([hidden]){min-height:44px!important}
  html.f607 body #app#app>.content>.topline.topline>button{min-height:44px!important}
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar .inv565-search.inv565-search,
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar .inv565-search>#search,
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice{height:44px!important;min-height:44px!important}
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice>input[role=combobox]{height:42px!important;min-height:42px!important;line-height:42px!important;padding-right:44px!important;letter-spacing:normal}
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar.inv565-bar>.unified-choice>.quantity-toggle{height:42px!important;min-height:42px!important;width:44px!important;min-width:44px!important}
  html.f607 body #app#app .content #body#body.inv565 .inv565-bar.inv565-bar>button.ghost{height:44px!important}

  /* ---- first screen, inventory (C2, C3, F1): one swipe hint for both chip rows, the second row shows a fading right edge;
     6 summary cards stay 3 columns in every language (2 columns made 3 rows), number on top, label below, normal letter spacing ---- */
  html.f607 body #app .content #body#body.inv565 .inv565-bar>.f486-chip-hint~.f486-chip-hint{display:none!important}
  html.f607 body #app .content #body#body.inv565 .inv565-bar>.f607-chips{-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  html.f607 body #app#app .content #body#body.inv565>.cards.cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html.f607 body #app#app .content #body#body.inv565>.cards.cards>.card .stock-card-filter.stock-card-filter{min-height:48px!important}
  html.f607 body #app#app .content #body#body.inv565>.cards.cards>.card .stock-card-filter>strong{order:1}
  html.f607 body #app#app .content #body#body.inv565>.cards.cards>.card .stock-card-filter>span:first-child{order:2;letter-spacing:normal!important;line-height:1.3!important}

  /* ---- entry cards on phone: tighter gaps (2.5) ---- */
  html body #app#app:where(:has(>nav:not([data-scroll-scope=home]))) .content .system-cards{gap:12px!important}
}
/* tablet 768-1024: the bottom bar is shown there too (/assets/mobile-work278.f9099ab9ce47f8f0.js uses 1024), so it gets the same phone bar style
   instead of the old floating style from mobile-unified399.css. Rules below are copied from /assets/mobile584.77996ac00f97d9f7.css phone607. */
@media screen and (min-width:768px) and (max-width:1024px){
  html body #mobileWork278#mobileWork278{left:0!important;right:0!important;bottom:0!important;width:auto!important;margin:0!important;border:0!important;border-top:1px solid var(--theme-border,#d9e2e7)!important;border-radius:0!important;padding:2px 4px calc(2px + env(safe-area-inset-bottom,0px))!important;gap:0!important;background:var(--theme-card,#fff)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
  html body #mobileWork278#mobileWork278 button{min-height:50px!important;padding:4px 2px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--theme-muted,#4d6572)!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #mobileWork278#mobileWork278 button::before{width:22px!important;height:22px!important;margin:0 auto 2px!important;background:currentColor!important;-webkit-mask:var(--i607) center/22px no-repeat;mask:var(--i607) center/22px no-repeat}
  html body #mobileWork278#mobileWork278 [data-shortcut=home]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20h-5.5v-5.5h-5V20H4z'/%3E%3C/svg%3E")}
  html body #mobileWork278#mobileWork278 [data-shortcut=engineering]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Cpath d='M8 7h8M8 11h3M8 15h3m3 0 2 2 4-5'/%3E%3C/svg%3E")}
  html body #mobileWork278#mobileWork278 [data-shortcut=picking]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10M8 5l9 4'/%3E%3C/svg%3E")}
  html body #mobileWork278#mobileWork278 [data-mobile-more]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1.5'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1.5'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1.5'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1.5'/%3E%3C/svg%3E")}
  html body #mobileWork278#mobileWork278 button.mobile-selected303{color:var(--theme-accent,#086f7c)!important;font-weight:700!important}
  html body:has(#mobileWork278):not(:has(#app .f584-request)) main.content.content{padding-bottom:calc(var(--mobile-dock-height,55px) + 24px)!important}
  html body:has(#mobileWork278) :is(.mobile-request-save278,#app .request377-save:not(.vendor-cart395 *):not(body:has(#vendorTitle) *)){bottom:var(--mobile-dock-height,55px)!important}
  html body:has(#mobileWork278) #notice{bottom:calc(var(--mobile-dock-height,55px) + 10px)!important}
  html body:has(#mobileWork278):has(.mobile-request-save278) #notice{bottom:calc(var(--mobile-dock-height,55px) + 84px)!important}
  html body #local-assistant-button#local-assistant-button:not([hidden]){width:60px!important;height:56px!important;min-height:44px!important;animation:none!important}
  html body:has(#mobileWork278):not(:has(#app .f584-request)) #local-assistant-button#local-assistant-button:not([hidden]){right:8px!important;bottom:calc(var(--mobile-dock-height,55px) + 8px)!important}
}

/* UPACK follow-up (owner 11/30 phone screenshot): the per-system dock shortcuts added in UPACK had no icon, so the mask was empty
   and they showed as solid squares. Same icon mechanism (--i607) and weight as the existing shortcuts; all widths. */
html body #mobileWork278#mobileWork278 [data-shortcut=eng-overview]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='5' rx='1.5'/%3E%3Crect x='13' y='11' width='7' height='9' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=eng-gantt]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 7h7M9 12h9M6 17h6'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=wh-inventory]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l8-4 8 4-8 4zM4 8v8l8 4 8-4V8M12 12v8'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=v-inventory]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l8-4 8 4-8 4zM4 8v8l8 4 8-4V8M12 12v8'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=qc-forms]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 3h6v3H9zM8.5 11h7M8.5 15h4'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=qc-board]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3 20h18zM12 10v4M12 17.5v.01'/%3E%3C/svg%3E")}
html body #mobileWork278#mobileWork278 [data-shortcut=v-requests]{--i607:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8.5 8h7M8.5 12h7M8.5 16h4'/%3E%3C/svg%3E")}

/* /assets/visual-d1.9a5adc624153e656.css */
/* visual-d1: left sidebar per the approved mock (owner 11/28 and 11/30): logo + OPERATIONS on top, the four systems as a 2x2 switch
   with short names, a wider sidebar, current page = soft ground + left bar. Desktop (>1024) department pages only; home, tablet and
   phone menus are unchanged. Markup: /assets/employee-app.331adb696c99c2c5.js adds .nav-brand-d1 and .sys-long/.sys-short; short names come from the locale
   ("工程 / Engineering", "物料與倉庫 / Warehouse", "品質 / Quality", "後台 / Admin"). Rollback = remove the <link>; the full names show again. */

/* everywhere except the desktop sidebar: full names only, no brand block (tablet/phone drawer has the header logo) */
#app>nav .sys-short,#app>nav .nav-brand-d1{display:none}
/* HOTFIX-8555 (owner 11/30, iPhone): on the contractor side the brand block is a <button> (vendor-app.js:67), and the phone/tablet
   menu forces the sidebar buttons visible, so with the menu open the logo showed at its natural size (about 1774x887) and filled the
   screen. Phone and tablet keep it hidden; the picture also gets a size cap in case anything shows the block again. */
@media screen and (max-width:1024px){html body #app#app#app#app>nav .nav-brand-d1{display:none!important}}
html body #app>nav .nav-brand-d1 img{max-width:100%;max-height:58px;height:auto}
/* /assets/crumb-d1.45ac598b97a120ce.mjs parts are shown only when it marks <html data-crumb-d1> (desktop department pages) */
.crumb-d1,.lang-seg-d1,.eyebrow-d1{display:none}
@media screen and (min-width:1025px){
  /* header: path on the left (where the logo was), 中 / EN / ES instead of the language list */
  html[data-crumb-d1] body #app>header{position:relative}
  html[data-crumb-d1] body #app>header .crumb-d1{display:flex;align-items:center;gap:8px;position:absolute;left:24px;top:50%;transform:translateY(-50%);max-width:44%;white-space:nowrap;overflow:hidden;font-size:15px;font-weight:600;color:var(--theme-muted,#5d747d)}
  html[data-crumb-d1] body #app>header .crumb-d1 crumb-item{display:inline-block;line-height:1.3;white-space:nowrap}
  html[data-crumb-d1] body #app>header .crumb-d1 crumb-item[aria-current]{color:var(--theme-ink,#243b53);font-weight:700}
  html[data-crumb-d1] body #app>header .crumb-d1 crumb-sep{color:var(--theme-border,#b8c4cf)}
  html[data-crumb-d1] body #app>header .language-switch{display:none!important}
  html[data-crumb-d1] body #app>header .lang-seg-d1{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--theme-border,#dce5eb);border-radius:var(--vb-radius,8px);background:var(--theme-soft,#eef4f7)}
  html[data-crumb-d1] body #app>header .lang-seg-d1 button{min-height:32px;min-width:40px;padding:0 10px;border:0;border-radius:var(--vb-radius-sm,6px);background:transparent;color:var(--theme-muted,#5d747d);font-weight:600;box-shadow:none}
  html[data-crumb-d1] body #app>header .lang-seg-d1 button[aria-pressed=true]{background:var(--theme-card,#fff);color:var(--theme-ink,#243b53);box-shadow:0 1px 2px rgba(15,23,42,.12)}
  html[data-crumb-d1] body #app>header .lang-seg-d1 button:focus-visible{outline:2px solid var(--theme-accent,#117580);outline-offset:1px}
  /* title area: small English line, then the page title; the duplicate system subtitle under it is hidden */
  html[data-crumb-d1] body #app>.content>.topline .eyebrow-d1{display:block;margin:0 0 2px;font-family:var(--vb-mono,ui-monospace,Consolas,monospace);font-size:12.5px;font-weight:600;letter-spacing:.2em;color:var(--theme-accent,#2f5f8f)}
  html[data-crumb-d1] body #app>.content>.topline h1{font-size:26px!important;font-weight:700!important}
  html[data-crumb-d1] body #app>.content>.topline h1[data-title-d1]+small{display:none!important}
}

@media screen and (min-width:1025px){
  /* wider sidebar on department pages */
  html body #app#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])){--desktop-sidebar-width:232px}

  /* logo + OPERATIONS at the top of the sidebar; the header keeps its controls, its own logo is hidden on these pages */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-brand-d1{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:4px 4px 12px;padding:4px 6px 14px;border-bottom:1px solid var(--theme-border,#dce5eb)}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-brand-d1 img{display:block;height:58px;width:auto;max-width:100%;object-fit:contain;object-position:left center}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .nav-brand-d1 span{font-family:var(--vb-mono,ui-monospace,Consolas,monospace);font-size:12px;font-weight:600;letter-spacing:.24em;color:var(--theme-muted,#5d747d)}
  html body #app#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) header .brand,
  html body #app#app:has(>nav[data-scroll-scope]:not([data-scroll-scope=home])) header .brand *{visibility:hidden!important}

  /* 2x2 system switch with short names */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;margin:0 0 6px!important;padding:0 0 12px!important;border-bottom:1px solid var(--theme-border,#dce5eb)!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]){justify-content:center!important;min-height:40px!important;padding:6px 4px!important;border:1px solid var(--theme-border,#dce5eb)!important;border-radius:var(--vb-radius,8px)!important;background:var(--theme-card,#fff)!important;box-shadow:none!important;text-align:center!important;font-size:14px!important;font-weight:600!important;line-height:1.25!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page])::before{display:none!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]) .sys-long,
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]) small{display:none!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]) .sys-short{display:inline}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]).active,
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]):has(>button[data-admin-page].active) .system-links [data-admin-page=home],
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]):has(>button[data-admin-page]):has(>button[data-shared-page].active) .system-links [data-admin-page=home]{background:var(--theme-accent,#117580)!important;border-color:var(--theme-accent,#117580)!important;color:#fff!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>:is([data-system],[data-admin-page]):not(.active):hover{background:var(--theme-soft,#eef4f7)!important}
  /* non-admin "廠商與選單" stays a plain row under the switch, full width */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]) .system-links>[data-shared-page]{grid-column:1/-1;margin-top:4px!important}

  /* current page: soft ground + left bar in the theme colour (one consistent marker) */
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home])>button.active{background:var(--theme-soft,#e3f0f2)!important;color:var(--theme-ink,#243b53)!important;font-weight:700!important;box-shadow:inset 3px 0 0 var(--theme-accent,#117580)!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home])>button.active::after{content:none!important}
  html body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home])>button{padding-left:14px!important}
}

/* D2（騰億 11/30「排版跟 PDF 不一樣」）：電腦版部門頁的骨架照 PDF——
   側欄從畫面最上面到最下面，LOGO 在最頂；頁首只在右邊內容區上方，只放路徑、中／EN／ES 與帳號區；
   標語與其他頁首圖案在部門頁不顯示（首頁不變）；工程總覽卡片內重複的「工程總覽」大字隱藏，旁邊按鈕保留。 */
@media screen and (min-width:1025px){
  html[data-crumb-d1] body #app#app#app>nav[data-scroll-scope]:not([data-scroll-scope=home]){top:0!important;bottom:0!important;height:auto!important;z-index:5!important;border-right:1px solid var(--theme-border,#dce5eb)}
  html[data-crumb-d1] body #app#app>header{margin-left:var(--desktop-sidebar-width,232px)!important;justify-content:flex-end!important;min-height:64px;box-sizing:border-box}
  html[data-crumb-d1] body #app#app>header>*:not(.crumb-d1):not(.account-controls){display:none!important}
  /* 路徑放回頁首的正常排版：只用右邊按鈕剩下的寬度，太長時各段以「…」縮短，不會蓋到中／EN／ES */
  html[data-crumb-d1] body #app#app>header{justify-content:space-between!important;flex-wrap:nowrap!important;gap:16px}
  html[data-crumb-d1] body #app#app>header .crumb-d1{position:static!important;transform:none!important;flex:1 1 auto;min-width:0;max-width:none!important;margin-left:28px;overflow:hidden;font-size:16px!important}
  html[data-crumb-d1] body #app#app>header .crumb-d1 crumb-item{min-width:0;overflow:hidden;text-overflow:ellipsis}
  html[data-crumb-d1] body #app#app>header .crumb-d1 crumb-item[aria-current]{flex:0 1 auto}
  html[data-crumb-d1] body #app#app>header .account-controls{flex:0 0 auto}
  html[data-crumb-d1] body #app#app .content .ep123>.ep-head>h2{display:none!important}
}

/* VENDOR-UI（主管 11/30「我不要員工跟廠商改成兩版」）：廠商端套用同一套新介面。廠商側欄由 /assets/vendor-app.55a544ecd2f6ce29.js 標上 data-scroll-scope="vendor"。 */
.vendor-who703{display:none}
@media screen and (min-width:1025px){
  /* 側欄 LOGO 是按鈕（點了回廠商首頁，因為頁首的 LOGO 在新介面隱藏了），外觀和員工端的 LOGO 區一樣 */
  html body #app#app#app>nav[data-scroll-scope=vendor] .nav-brand-d1{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;width:auto!important;min-height:0!important;margin:4px 4px 8px!important;padding:4px 6px 12px!important;border:0!important;border-bottom:1px solid var(--theme-border,#dce5eb)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
  html body #app#app#app>nav[data-scroll-scope=vendor] .nav-brand-d1::before{content:none!important}
  html body #app#app#app>nav[data-scroll-scope=vendor] .nav-brand-d1:focus-visible{outline:2px solid var(--theme-accent,#117580)!important;outline-offset:2px!important}
  /* 「廠商專區＋公司名」：代替員工端的系統切換（廠商只有一個系統） */
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-who703{display:flex;flex-direction:column;gap:2px;margin:0 0 6px;padding:8px 12px;border:1px solid var(--theme-border,#dce5eb);border-radius:var(--vb-radius,8px);background:var(--theme-card,#fff)}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-who703 b{font-size:14px;color:var(--theme-accent,#117580)}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-who703 small{font-size:12.5px;color:var(--theme-muted,#5d747d);overflow-wrap:anywhere}
  /* 公司名稱已顯示在側欄「廠商專區」框內，電腦版頁首不重複，讓路徑有空間 */
  html[data-crumb-d1] body #app#app:has(>nav[data-scroll-scope=vendor])>header .account-controls>small{display:none!important}
  /* 廠商頁的標題直接放在 .topline 裡（員工端外面多包一層），英文小標要自成一行、標題靠左 */
  html[data-crumb-d1] body #app#app:has(>nav[data-scroll-scope=vendor])>.content>.topline:has(>.eyebrow-d1){display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:flex-end!important}
  html[data-crumb-d1] body #app#app:has(>nav[data-scroll-scope=vendor])>.content>.topline>.eyebrow-d1{flex:0 0 100%}
}
@media screen and (max-width:1024px){
  /* 手機與平板：廠商頁不帶 html.f607，所以另外補觸控 44px（內容區與工具列；首頁以外的廠商頁都適用） */
  html body #app#app:has(>nav[data-scroll-scope=vendor]) :is(.content,#vendorTools) :is(button,summary,[role=button],select,input:not([type=checkbox]):not([type=radio]):not([type=hidden])):not(.quantity-toggle):not([hidden]){min-height:44px!important}
}
/* HOTFIX-8555 batch 2 (owner 11/30): language menu = flag + country code (full names stay in the opened list, /assets/presentation376.68d09323eea62313.js);
   colour picker = Day / Night switch (/assets/theme297.ebb061ff542260bd.js). Both 44px tall, 15px text, 10px corners, one border colour, staff and contractor. */
html body .language-switch.lang8555{position:relative!important;display:inline-flex!important;align-items:center!important;gap:6px!important;height:44px!important;min-height:44px!important;width:auto!important;max-width:none!important;padding:0 28px 0 10px!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;background:var(--theme-card,#fff)!important;box-sizing:border-box!important;font-size:15px!important;line-height:1!important;flex:none!important}
html body .language-switch.lang8555::after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--theme-muted,#475569);pointer-events:none}
html body .language-switch.lang8555>span:first-child{display:inline-flex!important;align-items:center!important;width:26px!important;height:18px!important;font-size:0!important;flex:none!important}
html body .language-switch.lang8555>span:first-child svg{width:26px!important;height:18px!important;border-radius:3px}
@media screen{html[data-aucan-theme=dark] body .language-switch svg.country376{filter:invert(1) hue-rotate(180deg)}} /* flags keep their real colours under the dark-theme page filter */
html body .language-switch.lang8555>.lang-code8555{font-size:15px;font-weight:600;letter-spacing:.02em;color:var(--theme-ink,#1f2937)}
/* HOTFIX-8555 batch 3 (owner 11/30 「語言變成國家的簡稱」 replaces the earlier 中/EN/ES header buttons of 1f62acef): desktop
   department and contractor headers use the same flag + code menu as phones; the crumb-d1 segment buttons are hidden */
html[data-crumb-d1] body #app>header .language-switch.language-switch.lang8555{display:inline-flex!important}
html[data-crumb-d1] body #app>header .lang-seg-d1.lang-seg-d1{display:none!important}
html body .language-switch.lang8555>select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;cursor:pointer;font-size:16px!important;-webkit-appearance:none;appearance:none}
html body .daynight8555{display:inline-flex!important;align-items:stretch!important;height:44px!important;flex:none!important;border:1px solid var(--theme-border,#cbd8df);border-radius:10px;overflow:hidden;background:var(--theme-card,#fff);box-sizing:border-box}
html body .daynight8555>button{height:auto!important;min-height:0!important;min-width:56px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--theme-ink,#1f2937)!important;font-size:15px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important}
html body .daynight8555>button+button{border-left:1px solid var(--theme-border,#cbd8df)!important}
html body .daynight8555>button[aria-pressed=true]{background:var(--theme-accent,#2f6fb3)!important;color:#fff!important}
/* colour picker kept (owner 12/01) next to Day / Night: same 44px box */
html body .theme-language>.palette297{flex:none!important;height:44px!important;position:relative}
/* colour button label: same text as the other controls (was 12px grey) */
@media screen and (max-width:1024px){html body #app>header .theme-language>.palette297>summary::after{font-size:15px!important;font-weight:600!important;color:var(--theme-ink,#1f2937)!important}}
html body #app .theme-language>.palette297>summary,html body .theme-language>.palette297>summary{height:44px!important;min-height:44px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 12px!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;font-size:15px!important;line-height:1!important}
@media screen and (max-width:1024px){
  /* phone / tablet account panel: the dot list opened leftwards off the screen; open it under the button, inside the screen */
  html body #app>header .account-controls .theme-language{position:relative!important}
  html body #app>header .account-controls .theme-language>.palette297{position:static!important}
  html body #app>header .account-controls .palette297>.dots297{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;width:auto!important;max-width:none!important;box-sizing:border-box!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:4px!important;z-index:40}
  /* the panel grows while the colour dots are open, so they never cover the identity row or spill under the panel */
  html body #app>header .account-controls .theme-language:has(>.palette297[open]){margin-bottom:84px!important}
  /* layout that does not jump: language on its own row, Day / Night and colour together on the next row */
  html body #app>header .account-controls .theme-language.theme-language{display:grid!important;grid-template-columns:auto auto!important;grid-template-areas:"lang lang" "dn pal"!important;justify-content:start!important;align-items:center!important}
  html body #app>header .account-controls .theme-language>.language-switch{grid-area:lang;justify-self:start}
  html body #app>header .account-controls .theme-language>.daynight8555{grid-area:dn}
  html body #app>header .account-controls .theme-language>.palette297{grid-area:pal}
  html body #app>header .account-controls .theme-language>:not(.language-switch):not(.daynight8555):not(.palette297){grid-column:1/-1}
  /* phone / tablet account panel: every control the same height, text size, corners and border */
  html body #app>header .account-controls .theme-language{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;height:auto!important;width:100%!important}
  html body #app>header .account-controls>button,html body #app>header .account-controls>:not(.theme-language) button{height:44px!important;min-height:44px!important;padding:0 16px!important;font-size:15px!important;font-weight:600!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;line-height:1!important}
  /* identity tag: same height, text size, corners and border as the controls (OWNER_UI_DECISIONS 設定面板) */
  html body #app>header .account-controls>.pill{display:inline-flex!important;align-items:center!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:0 14px!important;font-size:15px!important;line-height:1!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important}
  html body #app>header .account-controls>small{font-size:15px!important;line-height:1.3!important}
}
/* HOTFIX-8555 batch 3 (OWNER_UI_DECISIONS 設定面板: one text size, one height >=44px, same corners and border): desktop header —
   colour label, text-size button, identity tag, change password and sign out match language and Day/Night (44px, 15px, 10px
   corners, one border). display is not set here, so the crowded-header rules (data-head601) can still hide parts. */
@media screen and (min-width:1025px){
  html body #app>header .theme-language>.palette297>summary::after{font-size:15px!important;font-weight:600!important;color:var(--theme-ink,#1f2937)!important}
  html body #app>header .theme-language>.size601>summary{height:44px!important;min-height:44px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 12px!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;font-size:15px!important;font-weight:600!important;line-height:1!important}
  html body #app>header .theme-language>.size601>summary b{font-size:15px!important;font-weight:600!important}
  html body #app>header .account-controls>.pill{display:inline-flex!important;align-items:center!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:0 14px!important;font-size:15px!important;line-height:1!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important}
  html body #app>header .account-controls>button,html body #app>header .account-controls>:not(.theme-language) button{height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:0 16px!important;font-size:15px!important;font-weight:600!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;line-height:1!important}
  /* staff show the signed-in name next to the identity tag: same box as the other controls (the crowded-header rule may still hide it) */
  html body #app>header .account-controls>small{display:inline-flex!important;align-items:center!important;height:44px!important;box-sizing:border-box!important;padding:0 12px!important;font-size:15px!important;font-weight:600!important;line-height:1!important;color:var(--theme-ink,#1f2937)!important;border:1px solid var(--theme-border,#cbd8df)!important;border-radius:10px!important;white-space:nowrap!important}
  html body #app>header .account-controls>.pill{font-weight:600!important}
  html body #app>header .theme-language>.palette297>summary::after{line-height:1!important;transform:none!important}
}
/* HOTFIX-8555 next (design review polish) */
/* selected colour dot: a two-ring mark (card colour, then ink) that shows on light and on dark; the old dark outline vanished at night */
html body .dots297 button[aria-pressed=true]::before{outline:0!important;box-shadow:0 0 0 2px var(--theme-card,#fff),0 0 0 4px var(--theme-ink,#1f2937)!important}
@media screen and (min-width:1025px){
  /* no header button carries its own shadow (Sign out had one in light mode); the signed-in name uses the buttons' weight */
  html body #app>header .account-controls>button,html body #app>header .account-controls>:not(.theme-language) button{box-shadow:none!important}
  html body #app>header .account-controls>small,html body #app>header .account-controls>small *{font-weight:600!important}
  /* breadcrumb keeps a readable width (it shrank to nothing at ~1100px). If the header then overflows, the existing
     crowded-header steps (theme297 fit -> data-head601 1..4) hide the text-size label, colour label and identity tag first. */
  html[data-crumb-d1] body #app#app>header .crumb-d1.crumb-d1{min-width:150px!important;flex:1 1 auto!important}
  /* the current page never shrinks; parent levels give way first (ellipsis), and in a crowded header only the current page shows */
  html[data-crumb-d1] body #app#app>header .crumb-d1 crumb-item[aria-current]{flex:0 0 auto!important;max-width:100%!important}
  html[data-crumb-d1] body #app#app>header .crumb-d1 crumb-item:not([aria-current]){flex:0 1 auto!important;min-width:1.5em!important}
  html[data-crumb-d1]:is([data-head601="3"],[data-head601="4"]) body #app#app>header .crumb-d1 :is(crumb-item:not([aria-current]),crumb-sep){display:none!important}
}
/* owner 12/02 (OWNER_UI_DECISIONS 語言選單): three buttons "flag + TW / US / ES" side by side, same box as Day / Night
   (44px, 15px, one border, selected = filled accent); the dropdown and the older 中/EN/ES buttons stay hidden */
html body .language-switch.language-switch.lang8556,html[data-crumb-d1] body #app>header .language-switch.language-switch.lang8556{display:none!important}
html body .lang-seg-d1.lang-seg-d1{display:none!important}
html body .lang-seg8556{display:inline-flex!important;align-items:stretch!important;height:44px!important;flex:none!important;border:1px solid var(--theme-border,#cbd8df);border-radius:10px;overflow:hidden;background:var(--theme-card,#fff);box-sizing:border-box}
html body .lang-seg8556>button{display:inline-flex!important;align-items:center!important;gap:6px!important;height:auto!important;min-height:0!important;min-width:44px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--theme-ink,#1f2937)!important;font-size:15px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
html body .lang-seg8556>button+button{border-left:1px solid var(--theme-border,#cbd8df)!important}
html body .lang-seg8556>button>b{font-weight:600;letter-spacing:.02em}
html body .lang-seg8556 svg.country376{width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px #193a5026;flex:none}
html body .lang-seg8556>button[aria-pressed=true]{background:var(--theme-accent,#2f6fb3)!important;color:#fff!important}
html body .lang-seg8556>button[aria-pressed=true] svg.country376{box-shadow:0 0 0 1px #fff}
html body .lang-seg8556>button:focus-visible{outline:2px solid var(--theme-accent,#117580);outline-offset:-2px}
@media screen{html[data-aucan-theme=dark] body .lang-seg8556 svg.country376{filter:invert(1) hue-rotate(180deg)}}
@media screen and (max-width:1024px){html body #app>header .account-controls .theme-language>.lang-seg8556{grid-area:lang;justify-self:start}}
/* owner 12/02 (騰億:「設定語言 主題顏色跟字體的比例可以小一點」「應該是我想要有質感一點」), spec by the design expert:
   fewer borders, hierarchy from tone and grouping. Segmented controls = light track + filled capsule for the selected part;
   colour and text size are quiet ghost buttons; the identity tag is a small pill and the name plain text; sign-out is set apart.
   Desktop header in three groups [language] | [Day/Night, colour, text size] | [identity, name, sign-out].
   Phone / tablet account panel keeps every control at 44px (touch rule). */
@media screen and (min-width:1025px){
  html body #app#app>header .account-controls{gap:6px!important;align-items:center!important}
  html body #app#app>header .theme-language{gap:6px!important;align-items:center!important}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555){height:32px!important;padding:2px!important;gap:0!important;border:0!important;border-radius:8px!important;background:#eef1f5!important;overflow:visible!important;box-shadow:none!important}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555)>button{position:relative;height:28px!important;min-height:28px!important;min-width:0!important;padding:0 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#475569!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555)>button+button{border-left:0!important}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555)>button+button::before{content:"";position:absolute;left:0;top:7px;width:1px;height:14px;background:#d5dbe3}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555)>button:is([aria-pressed=true],[aria-pressed=true]+button)::before{display:none}
  html body :is(#app#app>header,#app#app .login-language) :is(.lang-seg8556,.daynight8555)>button[aria-pressed=true]{background:#1e293b!important;color:#fff!important;font-weight:600!important;box-shadow:0 1px 2px rgba(15,23,42,.12)!important}
  html body :is(#app#app>header,#app#app .login-language) .lang-seg8556>button{gap:6px!important}
  html body :is(#app#app>header,#app#app .login-language) .lang-seg8556 svg.country376{width:16px!important;height:12px!important;border-radius:2px!important;box-shadow:0 0 0 1px rgba(0,0,0,.08)!important}
  html body :is(#app#app>header,#app#app .login-language) .lang-seg8556>button[aria-pressed=true] svg.country376{box-shadow:0 0 0 1px rgba(255,255,255,.35)!important}
  /* group 2 starts at Day / Night: a 1x20 hairline 12px to its left */
  html body #app#app>header .theme-language>.daynight8555{margin-left:25px!important}
  html body #app#app>header .theme-language>.daynight8555::before{content:"";position:absolute;left:-13px;top:6px;width:1px;height:20px;background:#e2e8f0}
  html body #app#app>header .theme-language>.daynight8555{position:relative!important}
  /* colour and text size: quiet ghost buttons */
  html body #app#app>header .theme-language>:is(.palette297,.size601){height:32px!important}
  html body #app#app>header .theme-language>:is(.palette297,.size601)>summary{height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#334155!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important}
  html body #app#app>header .theme-language>:is(.palette297,.size601)>summary:hover{background:#eef1f5!important}
  html body #app#app>header .theme-language>.palette297>summary::after{font-size:13px!important;font-weight:500!important;color:#334155!important}
  html body #app#app>header .theme-language>.size601>summary b{font-size:13px!important;font-weight:600!important}
  /* group 3: identity pill, plain name, ghost buttons; hairline before the group */
  html body #app#app>header .account-controls>.pill{position:relative;height:22px!important;min-height:22px!important;margin-left:25px!important;padding:0 8px!important;border:0!important;border-radius:999px!important;background:#e7f3ec!important;color:#1f6b45!important;font-size:12px!important;font-weight:600!important;line-height:22px!important}
  html body #app#app>header .account-controls>.pill::before{content:"";position:absolute;left:-13px;top:1px;width:1px;height:20px;background:#e2e8f0}
  html body #app#app>header .account-controls>small{height:auto!important;padding:0 2px!important;border:0!important;background:transparent!important;color:#475569!important;font-size:13px!important;font-weight:500!important}
  html body #app#app>header .account-controls>small *{font-weight:500!important}
  html body #app#app>header .account-controls>button,html body #app#app>header .account-controls>:not(.theme-language) button{height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#334155!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important}
  html body #app#app>header .account-controls>button:hover,html body #app#app>header .account-controls>:not(.theme-language) button:hover{background:#eef1f5!important}
  html body #app#app>header .account-controls :is(#logout,[data-action=logout]){color:#64748b!important}
  html body #app#app>header .account-controls :is(#logout,[data-action=logout]):hover{color:#b42318!important}
}
@media screen and (max-width:1024px){
  /* language: full-width track, three equal parts; Day / Night and colour share the next row */
  html body #app>header .account-controls .theme-language.theme-language{grid-template-columns:1fr 1fr!important;justify-content:stretch!important;gap:10px!important;width:100%!important}
  html body #app>header .account-controls .theme-language>.lang-seg8556{justify-self:stretch!important;width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important}
  html body :is(.lang-seg8556,.daynight8555){height:48px!important;padding:2px!important;gap:0!important;border:0!important;border-radius:12px!important;background:#eef1f5!important;overflow:visible!important;box-shadow:none!important}
  html body :is(.lang-seg8556,.daynight8555)>button{position:relative;height:44px!important;min-height:44px!important;justify-content:center!important;padding:0 10px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#475569!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important}
  html body :is(.lang-seg8556,.daynight8555)>button+button{border-left:0!important}
  html body :is(.lang-seg8556,.daynight8555)>button+button::before{content:"";position:absolute;left:0;top:15px;width:1px;height:14px;background:#d5dbe3}
  html body :is(.lang-seg8556,.daynight8555)>button:is([aria-pressed=true],[aria-pressed=true]+button)::before{display:none}
  html body :is(.lang-seg8556,.daynight8555)>button[aria-pressed=true]{background:#1e293b!important;color:#fff!important;font-weight:600!important;box-shadow:0 1px 2px rgba(15,23,42,.12)!important}
  html body .lang-seg8556 svg.country376{width:20px!important;height:15px!important;border-radius:2px!important;box-shadow:0 0 0 1px rgba(0,0,0,.08)!important}
  html body #app>header .account-controls .theme-language>.daynight8555{display:grid!important;grid-template-columns:1fr 1fr!important;justify-self:stretch!important}
  html body #app>header .account-controls .theme-language>.palette297{justify-self:stretch!important;height:48px!important}
  html body #app .theme-language>.palette297>summary,html body .theme-language>.palette297>summary{height:48px!important;min-height:48px!important;width:100%!important;justify-content:center!important;padding:0 12px!important;border:0!important;border-radius:12px!important;background:#f4f6f9!important;font-size:14px!important;font-weight:500!important}
  html body #app>header .theme-language>.palette297>summary::after{font-size:14px!important;font-weight:500!important}
  /* account: hairline above, identity pill and name on one line, then list rows */
  html body #app>header .account-controls>.pill{height:24px!important;min-height:24px!important;margin-top:14px!important;padding:0 10px!important;border:0!important;border-radius:999px!important;background:#e7f3ec!important;color:#1f6b45!important;font-size:13px!important;font-weight:600!important}
  html body #app>header .account-controls>small{margin-top:14px!important;font-size:14px!important;font-weight:500!important;color:#475569!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  html body #app>header .account-controls>button,html body #app>header .account-controls>:not(.theme-language) button{width:100%!important;height:48px!important;min-height:48px!important;justify-content:flex-start!important;text-align:left!important;padding:0 4px!important;border:0!important;border-top:1px solid #e2e8f0!important;border-radius:0!important;background:transparent!important;color:#1f2937!important;font-size:15px!important;font-weight:500!important;box-shadow:none!important}
  html body #app>header .account-controls :is(#logout,[data-action=logout]){color:#b42318!important}
}
/* night = whole-page invert: shadows would turn into glows, so drop them and keep a hairline instead */
@media screen{
  html[data-aucan-theme=dark] body :is(.lang-seg8556,.daynight8555)>button[aria-pressed=true]{box-shadow:0 0 0 1px rgba(0,0,0,.10)!important}
}
/* design review 12/02: breadcrumb parents are never squeezed to a few letters ("A.. / M.."): each keeps at least ~4.5 characters; past that
   the current page would be cut, which the existing crowded-header steps (data-head601 3-4) answer by showing only the current page; the motto gives
   way first below 1280px */
@media screen and (min-width:1025px){
  html[data-crumb-d1] body #app#app>header .crumb-d1 crumb-item:not([aria-current]){flex:0 1 auto!important;min-width:4.5em!important}
}
@media screen and (min-width:1025px) and (max-width:1279px){
  html body #app#app>header .core-value294{display:none!important}
}
/* the breadcrumb decides from its own width: below ~21em only the current page shows (always whole), above it the parents
   appear with at least ~4.5em each */
@media screen and (min-width:1025px){
  html[data-crumb-d1] body #app#app>header .crumb-d1.crumb-d1{container-type:inline-size}
  @container (max-width:21em){
    html[data-crumb-d1] body #app#app>header .crumb-d1 :is(crumb-item:not([aria-current]),crumb-sep){display:none!important}
  }
}
/* owner 12/01 「我要跟員工的手機版的更多按鈕出現的排版一樣」: the contractor menu on phones (<=767) = the employee one: icon tiles on top
   (/assets/vendor-app.55a544ecd2f6ce29.js), a line, then only the current group's pages; the old lone "home" button is not shown there; desktop unchanged */
.vendor-tiles8557{display:none}
@media screen and (min-width:768px){html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557.vendor-tiles8557{display:none!important}} /* Codex 12/01: phones only, tablets / desktop unchanged */
@media screen and (max-width:767px){
  html:is([lang^=en],[lang^=es]) body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>button:nth-child(3){grid-column:1/-1!important} /* English / Spanish tiles sit two per row (as the employee ones), so the third takes the whole row */
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557{display:grid!important;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid var(--theme-border,#dce5eb)}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>[data-g8557=start]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M5 20V9l7-5 7 5v11M9 20v-6h6v6'/%3E%3C/svg%3E")}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>[data-g8557=drawings]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6ZM9 11h7M9 15h7M9 19h4'/%3E%3C/svg%3E")}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>[data-g8557=stock]{--i611:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8 8-4 8 4v9l-8 4-8-4ZM4 8l8 4 8-4M12 12v9'/%3E%3C/svg%3E")}
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>button.is-on8557{background:var(--theme-accent,#117580)!important;color:#fff!important} /* the employee .system-links button.active look */
  html body #app#app#app>nav[data-scroll-scope=vendor] .vendor-tiles8557>button.is-on8557::before{opacity:1}
  html body #app#app#app>nav[data-scroll-scope=vendor]>button[data-section=home]{display:none!important}
  html body #app#app#app>nav[data-scroll-scope=vendor]:is([data-g8557=start],[data-g8557=stock])>:is(.nav-category364[data-g703=drawings],button[data-section=drawings]){display:none!important}
  html body #app#app#app>nav[data-scroll-scope=vendor]:is([data-g8557=start],[data-g8557=drawings])>:is(.nav-category364[data-g703=stock],button[data-section=inventory],button[data-section=requests],button[data-section=shipments],button[data-warehouse-layout]){display:none!important}
}

/* ./charts700.css */
/* charts700 (CHARTS-PDF): colours and layout for /assets/charts700.b1b2b0dc18a72f74.mjs and the blocks that use it. Rollback = remove the <link> in index.html. */
.ch700{display:block;overflow:visible}
.ch700 .ch700-track{stroke:var(--vb-line,#d5dde6);fill:var(--vb-soft,#eef3f8)}
.ch700-ring .ch700-track{fill:none}
.ch700 .ch700-tick{fill:var(--vb-ink,#243b53);opacity:.6}
.ch700 .ch700-axis{fill:var(--vb-line,#d5dde6)}
.ch700-accent{--ch700:var(--vb-accent-bar,#3979c5)}.ch700-ok{--ch700:var(--vb-ok-ink,#277057)}.ch700-warn{--ch700:var(--vb-warn-ink,#a5590b)}
.ch700-danger{--ch700:var(--vb-danger-ink,#ac3440)}.ch700-info{--ch700:var(--vb-info-ink,#1c5687)}
.ch700-ring .ch700-fill{stroke:var(--ch700)}
.ch700-bar .ch700-fill,.ch700-cols .ch700-fill{fill:var(--ch700)}
.ch700-ring{width:40px;height:40px;flex:none}.ch700-bar{width:100%;height:8px}.ch700-cols{width:100%;height:90px}

/* engineering overview: ring on the two share tiles, stage bars below the tiles */
.a06-metric.ch700-has{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}
.a06-metric.ch700-has>h3{grid-column:1}.a06-metric.ch700-has>span{grid-column:1}.a06-metric.ch700-has>svg{grid-column:2;grid-row:1 / span 2}
.a06-stages700{margin:12px 0 4px;display:grid;gap:8px}
.a06-stages700>h3{margin:0;font-size:var(--vb-fs-sm,13px);color:var(--vb-muted,#596a7c);font-weight:600}
.a06-stage700{display:grid;grid-template-columns:minmax(7em,auto) minmax(0,1fr) auto;align-items:center;column-gap:10px;font-size:var(--vb-fs-sm,13px)}
.a06-stage700>b{font-weight:600;color:var(--vb-ink,#243b53)}
.a06-stage700>span{font-variant-numeric:tabular-nums;color:var(--vb-ink,#243b53);white-space:nowrap}
.a06-stage700 .late700{color:var(--vb-danger-ink,#ac3440);font-weight:600}

/* AI & paid services: budget bar and daily chart */
.ap700-budget{display:grid;gap:4px;margin:6px 0 10px}
/* the ticked bar carries the same share (as text and aria-label), so the older <progress> stays in the DOM but is not drawn twice */
.ap653 progress.vb1-gauge:has(+ .ap700-budget){display:none}
.ap700-budget>p{margin:0;font-variant-numeric:tabular-nums;color:var(--vb-ink,#243b53);font-size:var(--vb-fs-sm,13px)}
.ap700-daily{display:grid;gap:6px;margin:8px 0 12px;padding:12px;border:1px solid var(--vb-line,#d5dde6);border-radius:var(--vb-radius,8px);background:var(--vb-card,#fff)}
.ap700-daily>h3{margin:0;font-size:var(--vb-fs-sm,13px)}
.ap700-daily>p{margin:0;font-size:var(--vb-fs-xs,12px);color:var(--vb-muted,#596a7c);font-variant-numeric:tabular-nums}
.ap700-axis{display:flex;justify-content:space-between;font-size:var(--vb-fs-xs,12px);color:var(--vb-muted,#596a7c);font-variant-numeric:tabular-nums}
.ap700-daily table{border-collapse:collapse;font-size:var(--vb-fs-xs,12px);font-variant-numeric:tabular-nums}
.ap700-daily td,.ap700-daily th{padding:3px 10px 3px 0;text-align:left}.ap700-daily td+td,.ap700-daily th+th{text-align:right}

@media (max-width:767px){
  .ch700-ring{width:36px;height:36px}.ch700-cols{height:72px}
  .a06-stage700{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}
  .a06-stage700>svg{grid-column:1 / -1;grid-row:2}
}

/* /assets/mobile-eng-b1.0fdfd2b0747ac801.css */
/* 手機版工程管理 第一批小改（MOBILE-ENG-UX-20261203 第一批）。只在手機寬度（≤767px）生效；電腦版不受影響。
   退回：拿掉 index.html 的 mobile-eng-b1.css／mobile-eng-b1.mjs 兩行。不新增顏色：只用線上既有變數與 DESIGN_QUALITY 的浮層陰影。 */
@media (max-width:767px){
/* B1-1 工程總覽「機台進度」側面板：頁首左側 ✕＋機台名黏在頂端；「套用變更」列黏在底部 */
html body #app .content .ov1124.ov1124 .pk.on{padding:0 16px!important}
html body #app .content .ov1124.ov1124 .pk .bar{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0 -16px!important;padding:0 16px 0 4px!important;min-height:56px!important;background:var(--theme-card,#fff)!important;border-bottom:1px solid var(--theme-border,#e9e9e7)!important}
html body #app .content .ov1124.ov1124 .pk .bar button{font-size:0!important;width:44px!important;height:44px!important;min-width:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html body #app .content .ov1124.ov1124 .pk .bar button::before{content:'✕'!important;font-size:18px!important;color:var(--theme-ink,#37352f)!important}
html body #app .content .ov1124.ov1124 .pk .bar[data-b1-title]::after{content:attr(data-b1-title)!important;font-size:18px!important;font-weight:600!important;color:var(--theme-ink,#37352f)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body #app .content .ov1124.ov1124 .pk .bar[data-b1-title]+h2{display:none!important}
html body #app .content .ov1124.ov1124 .pk .bar+h2+.pr,html body #app .content .ov1124.ov1124 .pk .bar+.pr{margin-top:12px!important}
html body #app .content .ov1124.ov1124 .pk .pd{position:sticky!important;bottom:0!important;margin:20px -16px 0!important;border-radius:0!important;border-width:1px 0 0!important;box-shadow:none!important;padding:8px 16px calc(8px + env(safe-area-inset-bottom))!important}
html body #app .content .ov1124.ov1124 .pk .pd b{flex:1 1 100%!important;font-size:15px!important}
html body #app .content .ov1124.ov1124 .pk .pd button{flex:1 1 0!important;min-height:44px!important;font-size:15px!important}
html body #app .content .ov1124.ov1124 .pk .pd button.go1{order:2!important}

/* B1-2 工程總覽篩選：「篩選（n）」鈕＋面板內每個篩選一排按鈕（overview1124.mjs 只在手機畫 .b1c） */
html body #app#app #ov1124#ov1124 .vt [data-ov=filter]{position:sticky!important;right:0!important;z-index:6!important;flex:none!important;width:auto!important;min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 12px!important;background:var(--theme-card,#fff)!important;white-space:nowrap!important}
html body #app#app #ov1124#ov1124 .vt{scroll-padding-inline-end:96px!important}
html body #app .content .ov1124.ov1124 .vt [data-ov=filter] .b1n{font-size:15px!important}
html body #app#app #ov1124#ov1124 .vt [data-ov=filter][aria-pressed=true]{color:var(--theme-accent,#336caf)!important;border-color:var(--theme-accent,#336caf)!important}
html body #app .content .ov1124.ov1124 .fb .b1c{display:block!important;flex:1 1 100%!important;min-width:0!important;margin:0 0 4px!important}
html body #app .content .ov1124.ov1124 .fb .b1l{display:block!important;margin:0 0 4px!important;font-size:13px!important;color:var(--theme-muted,#787774)!important}
html body #app .content .ov1124.ov1124 .fb .b1r{display:flex!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;margin:0 -12px!important;padding:0 12px 2px!important}
html body #app .content .ov1124.ov1124 .fb .b1r::-webkit-scrollbar{display:none!important}
html body #app .content .ov1124.ov1124 .fb .b1r>button{flex:none!important;min-height:44px!important;padding:0 14px!important;border:1px solid var(--theme-border,#e9e9e7)!important;border-radius:999px!important;background:var(--theme-card,#fff)!important;font-size:15px!important;white-space:nowrap!important}
html body #app .content .ov1124.ov1124 .fb .b1r>button[aria-pressed=true]{background:var(--theme-accent,#336caf)!important;border-color:var(--theme-accent,#336caf)!important;color:#fff!important}
html body #app .content .ov1124.ov1124 .fb .cl{min-height:44px!important}

/* B1-3 甘特 MPC T0、材料表專案與機台篩選、已核准材料表專案、QC 專案：沿用既有手機按鈕列（mobile584 的 .f607-chips），只把這幾頁補到 44 高 */
html.f607 body #app .content #body#body :is(.gt631-filter,.doc-navigation,#docContent>.toolbar,.approved-toolbar,.qc-nav) .f607-chips.f607-chips>button{min-height:44px!important;font-size:15px!important}
html.f607 body #app .content #body#body .gt631-filter label.gt631-fld:not([hidden]):not([style*=none]):has(>.f607-chips){flex:1 1 100%!important;width:100%!important;min-width:0!important;display:grid!important;gap:4px!important}

/* B1-1 甘特圖「五項工程進度」視窗（共用 #modal，只限有 #engPlanForm 時）：頁首 ✕＋標題黏頂、返回／儲存黏底 */
html body #modal:has(#engPlanForm){padding:0 16px!important}
html body #modal:has(#engPlanForm)>h2:focus:not(:focus-visible){outline:none!important}
html body #modal:has(#engPlanForm)>h2:focus-visible{outline:2px solid var(--theme-accent,currentColor);outline-offset:-2px}
html body #modal:has(#engPlanForm)>h2{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0 -16px!important;padding:6px 16px 6px 4px!important;min-height:56px!important;box-sizing:border-box!important;background:var(--theme-card,#fff)!important;border-bottom:1px solid var(--theme-border,#e9e9e7)!important;font-size:18px!important}
html body #modal:has(#engPlanForm) .b1-x{flex:none!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:18px!important;color:inherit!important}
html body #modal #engPlanForm>.actions{position:sticky!important;bottom:0!important;z-index:2!important;display:flex!important;gap:8px!important;margin:16px -16px 0!important;padding:8px 16px calc(8px + env(safe-area-inset-bottom))!important;background:var(--theme-card,#fff)!important;border-top:1px solid var(--theme-border,#e9e9e7)!important}
html body #modal #engPlanForm>.actions>button{flex:1 1 0!important;min-height:44px!important;margin:0!important;font-size:15px!important}

/* B1-4 已核准材料表唯讀（mobile-eng-b1.mjs 加 .b1-locked 與 .b1-ro） */
html body #docContent .b1-ro{display:grid;gap:8px;margin:0 0 12px;padding:12px;border:1px solid var(--theme-border,#dce6ed);border-radius:var(--vb-radius-lg);background:var(--theme-card,#fff)}
/* 金魚第二輪：第一行狀態標籤「已核准 V版本」（DESIGN_QUALITY 成功標籤），第二行 13 號說明 */
html body #docContent .b1-ro .b1-tag{justify-self:start;display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:#E7F5EC;color:#166534;font-size:12px;font-weight:500;line-height:20px;white-space:nowrap}
html body #docContent .b1-ro p{margin:0;font-size:13px;line-height:18px;color:var(--theme-muted,#5b7078)}
html body #docContent .b1-ro button{width:100%;min-height:44px;margin:0;font-size:15px}
html body #docContent.b1-locked :is(#rerunPortOCR,#saveSheet,.doc-approval,button[data-b1-lock]){display:none!important}

/* B1-5 文字：辨識規則頁尾的內部版號、卡片內重複的「AUCAN · 工程管理」不顯示；工程人員管理說明顯示全文（不截斷） */
html body .rr386 .rr-note .b1-paid,html body .rr386 .rr-note br:has(+.b1-paid){display:none!important}
html body .rr386 .rr-eyebrow{display:none!important}
html body #app .a06-head{flex-wrap:wrap!important;row-gap:4px!important}
html body #app .a06-head>h2{flex:1 1 100%!important;white-space:nowrap!important}
html body #app .a06-head>.a06-date{flex:1 1 100%!important;margin:0!important}
html.f607 body #app .content #body#body:has(#systemStaffRows) .f607-note.f607-note:not(.f607-open){white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

/* B1-6 浮層統一（mobile-eng-b1.mjs 加 .b1-ovl／data-b1-kind 與右上 .b1-x2）：遮罩沿用 #modal::backdrop 的顏色，陰影用 DESIGN_QUALITY 浮層陰影 */
html body dialog.b1-ovl{box-shadow:0 8px 24px rgba(15,23,42,.12),0 0 0 1px rgba(15,23,42,.06)!important}
html body dialog.b1-ovl[data-b1-kind=cable]{inset:0!important;margin:auto!important;width:calc(100vw - 24px)!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important;box-shadow:0 8px 24px rgba(15,23,42,.12),0 0 0 1px rgba(15,23,42,.06),0 0 0 100vmax rgba(17,34,51,.467)!important}
/* 金魚第二輪：對照表頁首與另兩個浮層一致＝卡片底色、標題 18、✕ 44×44 透明無框無陰影 */
html body dialog#cableReferenceDialog.b1-ovl[data-b1-kind=cable] .reference-drag{background:transparent!important;border:0!important;box-shadow:none!important;margin:0 0 8px!important;padding:0!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html body dialog#cableReferenceDialog.b1-ovl[data-b1-kind=cable] .reference-drag h2{margin:0!important;padding:0!important;background:transparent!important;font-size:18px!important;line-height:24px!important}
html body dialog#cableReferenceDialog.b1-ovl[data-b1-kind=cable] .reference-drag button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0 -8px 0 0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;font-size:18px!important;color:inherit!important}
html body dialog.b1-ovl[data-b1-kind=cable] #closeCableReference,html body dialog.b1-ovl .b1-shut{display:none!important}
html body dialog.b1-ovl[data-b1-kind=cable] #printCableReference{background:var(--theme-accent,#336caf)!important;border-color:var(--theme-accent,#336caf)!important;color:#fff!important;min-height:44px!important}
html body dialog.b1-ovl>.b1-x2{position:absolute!important;top:4px!important;right:4px!important;z-index:3!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:18px!important;color:inherit!important}
html body dialog.b1-ovl:has(>.b1-x2)>h2{padding-right:44px!important}
html body dialog.b1-ovl[data-b1-kind=archive] #archiveStart{background:var(--theme-accent,#336caf)!important;border-color:var(--theme-accent,#336caf)!important;color:#fff!important;width:100%!important;min-height:44px!important;margin:0!important}
html body :is(#b1-v#b1-v,dialog.b1-ovl[data-b1-kind=versions]) table.tbl570.tbl570{min-width:0!important;width:100%!important}
html body :is(#b1-v#b1-v,dialog.b1-ovl[data-b1-kind=versions]) table.tbl570.tbl570 :is(td,th),html body :is(#b1-v#b1-v,dialog.b1-ovl[data-b1-kind=versions]) table.tbl570.tbl570 :is(td,th) :is(span,strong,small,a){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body :is(#b1-v#b1-v,dialog.b1-ovl[data-b1-kind=versions]) table.tbl570.tbl570 :is(.tag,.pill){white-space:nowrap!important}
/* 夜間主題：浮層陰影改用 DESIGN_QUALITY 夜間規格（遮罩保留） */
html[data-aucan-theme=dark] body dialog.b1-ovl{box-shadow:0 0 0 1px rgba(0,0,0,.10)!important}
html[data-aucan-theme=dark] body dialog.b1-ovl[data-b1-kind=cable]{box-shadow:0 0 0 1px rgba(0,0,0,.10),0 0 0 100vmax rgba(17,34,51,.467)!important}

/* B1-7a 線材管理實測頁（wire225.html 也載入本檔）：輸入框 44 高、字 16；「儲存實測並交倉庫」實心主鈕、滿寬、黏在底部。主色用 /assets/style.261ed278bcb46696.css 既有 button.primary 的色（該頁沒有主題變數） */
/* 該頁 /assets/style.261ed278bcb46696.css 有 body{zoom:.85}，所以尺寸除以 .85，畫面上才是 44 高、16 字（iOS 不放大頁面） */
html body #lengths input[type=number]{height:calc(44px / .85)!important;min-height:calc(44px / .85)!important;font-size:calc(16px / .85)!important;width:100%!important;max-width:none!important;padding:0 10px!important;box-sizing:border-box!important}
html body #lengths>button:last-child{position:sticky!important;bottom:0!important;z-index:2!important;display:block!important;width:100%!important;min-height:calc(44px / .85)!important;margin:12px 0 0!important;padding:0 16px calc(env(safe-area-inset-bottom))!important;background:var(--theme-accent,#126c78)!important;border-color:var(--theme-accent,#126c78)!important;color:#fff!important;font-size:calc(15px / .85)!important;font-weight:600!important}
/* B1-7b 登錄與批次：勾選框所在整格可點（mobile-eng-b1.mjs 代點勾選框），勾選框外觀不變 */
html body #app .content .ov1124.ov1124 td:has(>input.pickb){min-width:44px!important;height:44px!important;cursor:pointer!important}
}

/* ./page-unify1204.css */
/* PAGE-UNIFY-1204: material sheet page, phone only (<=767px). Desktop is unchanged.
   Design: team/results/SHEET-LAYOUT-1204/PAGE-UNIFY/設計稿-v2.md + 設計稿-v3-補充.md (goldfish PASS).
   No DOM order or text changes: the tool-list card is re-ordered with flex order and display:contents only. */
.pu1204-vars,:root{
  --pu-gap:var(--sp-2,8px);--pu-btn-h:var(--h-touch,44px);--pu-btn-fs:14px;
  --pu-label-fs:var(--fs-13,13px);--pu-value-fs:var(--fs-15,15px);--pu-muted:var(--theme-muted,#5d747d);--pu-line:var(--theme-border,#c9d6dd);--pu-card:var(--theme-card,#fff)
}
/* cable demand first cell: desktop keeps the original one-run text (.pu-full); the phone-only title / sub lines stay out of layout */
#docContent .pu-m{display:none}
@media (max-width:767px){
  /* ---- top of the page: the five page tabs become one swipeable row; batch actions stay in their own row ---- */
  html body #app #docWorkspace .doc-navigation{min-width:0!important;max-width:100%!important}
  html body #app #docWorkspace .doc-navigation .doc-nav-buttons{flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;gap:var(--pu-gap)!important;scrollbar-width:none;padding-bottom:2px;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  html body #app #docWorkspace .doc-navigation .doc-nav-buttons::-webkit-scrollbar{display:none}
  html body #app #docWorkspace .doc-navigation .doc-nav-buttons>button{flex:none!important;white-space:nowrap!important;min-height:var(--pu-btn-h)!important}
  html body #app #docWorkspace .doc-navigation>:is(#archiveOriginals,#batchDrawings){flex:1 1 calc(50% - var(--pu-gap))!important;min-width:0!important;min-height:var(--pu-btn-h)!important;white-space:normal!important}
  /* "add tool" and "cable reference" keep one full row each: side by side they leave one orphan character on a second line */
  html body #app #docWorkspace #docContent>.toolbar>:is(#newMachineSheet,[data-cable-reference]){flex:1 1 100%!important;min-width:0!important;min-height:var(--pu-btn-h)!important}

  /* ---- tool-list card: tool / location, then "單線圖 date · uploaded date", then one row of buttons, then the material sheet block ---- */
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr:not([hidden]):not([hidden]):not([hidden]):not([hidden]):not([style*="display: none"]):not([style*="display:none"]){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:var(--pu-gap)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td{flex:0 0 100%!important;grid-column:auto!important;order:2!important;margin:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(1){order:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(2){order:1!important}
  /* same card in every language: mobile584 picks the title cell by layout, which in es can be the material sheet cell */
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:is(:nth-child(1),:nth-child(2))::before{display:none!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(1){font-size:16px!important;font-weight:600!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(2):not(.f606-nil){font-size:var(--pu-label-fs)!important;font-weight:400!important;color:var(--pu-muted)!important;margin-top:-6px!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(4){font-size:var(--pu-value-fs)!important;font-weight:400!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(4)::before{content:attr(data-f606)!important;display:block!important;font-size:var(--pu-label-fs)!important;font-weight:400!important;color:var(--pu-muted)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(3):has(.drawing-date){display:contents!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(3):has(.drawing-date)::before{order:2!important;flex:0 0 auto!important;margin:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(3) .drawing-date{order:3!important;flex:0 0 auto!important;font-size:var(--pu-value-fs)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(3) .drawing-upload-time{order:4!important;flex:0 0 auto!important;margin:0!important;padding:0!important;font-size:var(--pu-label-fs)!important;color:var(--pu-muted)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(3):has(.drawing-date)::after{content:""!important;display:block!important;order:5!important;flex:0 0 100%!important;height:0!important;margin:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(5):has(button){display:contents!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(5):has(button)::before{display:none!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(5):not(:has(button)){display:none!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>:is(td:nth-child(3),td:nth-child(5)) button{order:6!important;flex:0 0 auto!important;margin:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr>td:nth-child(4){order:7!important;border-top:1px solid var(--pu-line)!important;padding-top:var(--pu-gap)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr button,
  html:not(.f584-tableview) body #app #body#body#body#body #docContent table.f606-cards.f606-cards.f606-cards:has([data-demand]) tbody tr button{min-height:var(--pu-btn-h)!important;height:auto!important;padding:6px 14px!important;font-size:var(--pu-btn-fs)!important;font-weight:600!important;line-height:1.3!important}
  /* "versions" uses the same outlined look as the other two buttons in the row */
  html:not(.f584-tableview) body #app #body#body#body#body #sheetRows table.f606-cards.f606-cards.f606-cards tbody tr button[data-machine-versions]{background:var(--pu-card)!important;border:1px solid var(--pu-line)!important;color:inherit!important}

  /* ---- cable demand card: same title structure as the tool card (tool, then floor / circuit on its own line) and the same buttons ---- */
  html:not(.f584-tableview) body #app #body#body#body#body #docContent table.f606-cards.f606-cards.f606-cards:has([data-demand]) tbody tr>td:first-child .pu-full{display:none!important}
  html:not(.f584-tableview) body #app #body#body#body#body #docContent table.f606-cards.f606-cards.f606-cards:has([data-demand]) tbody tr>td:first-child .pu-t{display:block!important;font:inherit!important;color:inherit!important;margin:0!important}
  html:not(.f584-tableview) body #app #body#body#body#body #docContent table.f606-cards.f606-cards.f606-cards:has([data-demand]) tbody tr>td:first-child .pu-sub{display:block!important;font-size:var(--pu-label-fs)!important;font-weight:400!important;color:var(--pu-muted)!important}
  html:not(.f584-tableview) body #app #body#body#body#body #docContent table.f606-cards.f606-cards.f606-cards:has([data-demand]) tbody tr [data-demand]{background:var(--pu-card)!important;border:1px solid var(--pu-line)!important;color:inherit!important}

  /* ---- drawing history list (dialog; phones do not turn dialog tables into cards): one block per version ---- */
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) table{display:block!important;min-width:0!important;width:100%!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) thead{display:none!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) :is(tbody,tr){display:block!important;width:100%!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) table{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) tr{padding:12px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--pu-line)!important;background:transparent!important;box-shadow:none!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) tr:last-child{border-bottom:0!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) td{display:block!important;position:static!important;width:auto!important;max-width:none!important;padding:2px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) td button:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) td:is(:nth-child(2),:nth-child(3)){font-size:var(--pu-label-fs)!important;color:var(--pu-muted)!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) td:nth-child(4){display:flex!important;gap:var(--pu-gap)!important;padding-top:6px!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) td:nth-child(4) button{min-height:var(--pu-btn-h)!important;padding:6px 16px!important}
  html body dialog:is(dialog,#pu#pu#pu):has([data-history-preview]) .tablewrap{overflow:hidden!important;max-height:none!important;padding:0!important;border:1px solid var(--pu-line)!important;border-radius:12px!important;background:var(--pu-card)!important;box-shadow:none!important}
}
