:root{font-family:Inter,system-ui,Arial,sans-serif;color:#161616;background:#f4f5f7}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1500px;margin:auto;padding:24px}.appHeader{background:#fff;border:1px solid #e3e6ea;border-radius:16px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 3px 14px rgba(15,23,42,.05)}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brandLogo{width:64px;height:64px;object-fit:contain;flex:0 0 auto}.brandCopy{min-width:0}.brandEyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7a8088;margin-bottom:3px}.top{display:flex;justify-content:flex-end;gap:12px;align-items:center;flex-wrap:wrap}.title{font-size:27px;font-weight:800;line-height:1.1;color:#111827}.sub{color:#666;font-size:13px}.controls{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(6,minmax(125px,1fr));gap:10px;margin:20px 0}.controls.vendor{grid-template-columns:minmax(220px,1.8fr) repeat(5,minmax(125px,1fr))}.controls input,.controls select,button,.statusEdit{padding:11px 12px;border:1px solid #d7dbe0;border-radius:9px;background:white}.kpis{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;margin-bottom:16px}.kpi{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px}.kpi b{font-size:24px}.kpi span{display:block;color:#777;font-size:12px;margin-top:4px}.kpiClickable{cursor:pointer;position:relative;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.kpiClickable:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,23,42,.08);border-color:#cbd3dc}.kpiClickable:focus-visible{outline:3px solid rgba(36,99,169,.22);outline-offset:2px}.kpiDrillHint{font-size:10px!important;font-weight:800;color:#2463a9!important;min-height:12px}.amountDueBreakdown{display:none;background:#fff;border:1px solid #d9e1ea;border-radius:14px;padding:14px;margin:-4px 0 16px;box-shadow:0 7px 24px rgba(15,23,42,.06)}.amountDueBreakdown.on{display:block}.amountDueBreakdownHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.amountDueBreakdownHead>b,.amountDueBreakdownHead b{font-size:15px}.amountDueBreakdownHead button{padding:5px 9px;font-size:18px;line-height:1;cursor:pointer}.amountDueBreakdownRows{display:grid;gap:8px}.dueVendorCard{display:grid;grid-template-columns:minmax(170px,1.5fr) repeat(4,minmax(105px,1fr));gap:10px;align-items:center;padding:10px 11px;border:1px solid #edf0f2;border-radius:10px;background:#fafbfc}.dueVendorName{font-weight:800;min-width:0;overflow-wrap:anywhere}.dueVendorMetric span{display:block;color:#777;font-size:10px;margin-bottom:2px}.dueVendorMetric b{font-size:13px}.dueVendorMetric.due b{font-size:15px}.dueVendorMetric.credit b{color:#24713b}.dueVendorMetric.negative b{color:#9b1c1c}.amountDueBreakdownTotal{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f2;font-size:12px;color:#666}.amountDueBreakdownTotal b{font-size:15px;color:#161616}.avgOpenTrend{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.avgOpenTrendHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.avgOpenTrendTitle{font-size:15px;font-weight:800}.avgOpenTrendMeta{text-align:right;white-space:nowrap}.avgOpenTrendMeta b{display:block;font-size:20px;line-height:1.05}.avgOpenTrendMeta span{display:block;color:#777;font-size:11px;margin-top:3px}.avgOpenTrendChart{width:100%;height:180px;margin-top:8px;overflow:hidden}.avgOpenTrendChart svg{width:100%;height:100%;display:block}.avgOpenTrendGrid{stroke:#e8ebef;stroke-width:1}.avgOpenTrendLine{fill:none;stroke:#161616;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.avgOpenTrendArea{fill:#161616;opacity:.055}.avgOpenTrendHover{fill:transparent;stroke:transparent}.avgOpenTrendAxis{fill:#747b84;font-size:10px}.avgOpenTrendLatest{fill:#161616;stroke:#fff;stroke-width:2}.avgOpenTrendFoot{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#777;font-size:11px;margin-top:2px;flex-wrap:wrap}.avgOpenTrendEmpty{height:150px;display:grid;place-items:center;color:#777;font-size:12px;background:#fafbfc;border-radius:9px;margin-top:8px}@media(max-width:700px){.avgOpenTrendHead{align-items:flex-start}.avgOpenTrendChart{height:160px}}.productMix{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.productMixHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}.productMixTitle{font-size:15px;font-weight:800}.productMixRight{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;justify-content:flex-end}.productMixMetrics{display:flex;gap:6px;flex-wrap:wrap}.productMixMetric{padding:6px 9px;font-size:11px;font-weight:700;cursor:pointer}.productMixMetric.active{background:#161616;color:#fff;border-color:#161616}.productMixMeta{text-align:right;white-space:nowrap}.productMixMeta b{display:block;font-size:17px;line-height:1.05}.productMixMeta span{display:block;color:#777;font-size:11px;margin-top:3px}.productMixChart{width:100%;max-height:430px;overflow:auto;margin-top:10px}.productMixChart svg{width:100%;min-width:620px;display:block}.productMixBarBg{fill:#f0f2f4}.productMixBar{fill:#161616;opacity:.82}.productMixLabel{fill:#374151;font-size:11px;font-weight:700}.productMixValue{fill:#111827;font-size:11px;font-weight:700}.productMixEmpty{height:150px;display:grid;place-items:center;color:#777;font-size:12px;background:#fafbfc;border-radius:9px}.productMixFoot{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#777;font-size:11px;margin-top:5px;flex-wrap:wrap}@media(max-width:700px){.productMixRight{width:100%;justify-content:space-between}.productMixMeta{text-align:left}.productMixChart svg{min-width:560px}}.paymentCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.paymentHeader{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.paymentHeader b{font-size:16px}.paymentHeaderRight{display:flex;align-items:center;gap:10px}.paymentToggle{padding:7px 10px;font-size:12px;cursor:pointer}.paymentAdd{padding:7px 10px;font-size:12px;cursor:pointer}.paymentEntry{display:none;background:#fafbfc;border:1px solid #e3e6ea;border-radius:10px;padding:12px;margin:0 0 12px}.paymentEntry.on{display:block}.paymentEntryGrid{display:grid;grid-template-columns:1.1fr 1.2fr 1.8fr .8fr;gap:10px}.paymentEntry label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.paymentEntry input,.paymentEntry select{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.paymentEntryActions{display:flex;align-items:center;gap:8px;margin-top:10px}.paymentCard.collapsed #paymentList,.paymentCard.collapsed #paymentEntry{display:none}.paymentCard.collapsed .paymentHeader{margin-bottom:0}.paymentTableWrap{overflow:auto}.payments{width:100%;border-collapse:collapse}.payments th,.payments td{padding:8px 10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:13px}.payments th{font-size:12px;color:#5d636b;background:#fafbfc}.payments td:last-child,.payments th:last-child{text-align:right}.paymentActions{display:flex;gap:4px;justify-content:flex-end;align-items:center}.paymentActions button{padding:5px 8px;border-radius:7px;font-size:11px;line-height:1.1;min-height:26px}.paymentEmpty{color:#777;font-size:13px;padding:6px 0}.accountSummary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px}.accountSummaryItem{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:12px}.accountSummaryItem b{display:block;font-size:20px}.accountSummaryItem span{display:block;color:#777;font-size:11px;margin-top:3px}.journalAmountPositive{font-weight:800}.journalAmountCredit{font-weight:800;color:#24713b}.journalStatus{display:inline-block;padding:3px 7px;border-radius:999px;font-size:11px;font-weight:800}.journalStatus.pending{background:#fff4d6;color:#8a5a00}.journalStatus.approved{background:#e9f7ed;color:#246b36}.journalStatus.rejected{background:#fdeaea;color:#9b1c1c}.journalNote{font-size:11px;color:#666;margin:8px 0 0}.journalVendorName{font-weight:700}.journalActions{display:flex;gap:4px;flex-wrap:wrap}.journalActions button{padding:5px 7px;border-radius:7px;font-size:11px}.journalFormVendorReadOnly{padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#f4f5f7;font-weight:700}@media(max-width:900px){.accountSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.accountSummaryItem:last-child{grid-column:1/-1}}.tablewrap{overflow:auto;background:white;border:1px solid #e3e6ea;border-radius:12px}.orders{width:100%;border-collapse:collapse;min-width:1040px}.orders th{position:sticky;top:0;background:#fafbfc;text-align:left;font-size:12px;color:#5d636b;padding:10px;border-bottom:1px solid #e4e7eb}.orders td{padding:10px;border-bottom:1px solid #edf0f2;vertical-align:middle;font-size:13px}.shopifyOrderLine{margin-top:4px;font-size:11px;line-height:1.25}.shopifyOrderLine a{color:#2463a9;text-decoration:none;font-weight:700}.shopifyOrderLine a:hover{text-decoration:underline}.orders tbody tr:nth-child(odd){background:#fff}.orders tbody tr:nth-child(even){background:#f3f8fd}.orders tbody tr:nth-child(odd):hover{background:#fafcff}.orders tbody tr:nth-child(even):hover{background:#eaf4fc}.orders tr.dueSoonRow{background:#fff0f0!important}.orders tr.dueSoonRow:hover{background:#ffe8e8!important}.thumb{width:72px;height:72px;object-fit:contain;background:#f1f3f5;border-radius:8px;cursor:zoom-in}.noimg{width:72px;height:72px;border-radius:8px;background:#eef0f2;color:#999;display:grid;place-items:center;font-size:11px}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef1f4;font-size:12px;white-space:nowrap}.statusEdit{min-width:145px;padding:7px 9px}.saveState{display:block;font-size:11px;color:#777;margin-top:4px;min-height:14px}.saveState.err{color:#9b1c1c}.saveState.ok{color:#24713b}.rush{font-weight:700}.rushOrderNo{display:inline-flex;align-items:center;gap:5px}.rushOrderNo::after{content:'🔥';font-size:13px;line-height:1;transform:translateY(-1px)}.orderNoWrap{display:inline-flex;align-items:center;gap:5px}.overdueOrderNo::after{content:'❗';font-size:13px;line-height:1;transform:translateY(-1px)}.rushCell{position:relative;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill=%27%23ff8a00%27 fill-opacity=%270.22%27 d=%27M35.8 5.2c2.4 8.7-1.4 12.9-5.8 17.6-4.2 4.5-8.9 9.7-8.9 19.2 0 10.4 7.9 17.7 18.2 17.7S57 52.8 57 40.6c0-13.7-9.2-20.8-13.7-25.2-3.1-3-5.6-5.5-7.5-10.2z%27/%3E%3Cpath fill=%27%23ff3b30%27 fill-opacity=%270.2%27 d=%27M34.7 28.8c1.7 5.8-1.1 8.4-3.5 10.8-2.1 2.1-4.1 4.1-4.1 8 0 5.9 4.5 10.2 10.3 10.2 6.1 0 11-4.8 11-12.1 0-7.7-5-11.9-7.7-14.5-1.7-1.6-3-3-4-5.8-1.1 1.2-1.7 2.2-2 3.4z%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:20px 20px}.overdue{font-weight:700;text-decoration:underline}.agewarn{font-weight:700}.late{font-weight:700}.approvalBadge{display:inline-flex;align-items:center;gap:5px;margin:0;padding:3px 7px;border:1px solid #e1e5e9;border-radius:999px;font-size:10px;line-height:1.2;font-weight:750;background:#f7f8f9;color:#5f6670;white-space:nowrap}.approvalBadge .approvalDot{width:6px;height:6px;border-radius:50%;background:#a8afb8;flex:0 0 auto}.approvalBadge.approved{background:#eef8f1;border-color:#d7eadc;color:#246b36}.approvalBadge.approved .approvalDot{background:#36a052}.approvalBadge.pending{background:#fff8e8;border-color:#f1e2b9;color:#835c08}.approvalBadge.pending .approvalDot{background:#d79b1d}.approvalBadge.issue{background:#fff0f0;border-color:#efcccc;color:#9b1c1c}.approvalBadge.issue .approvalDot{background:#cf3838}.approvalBadge.none{background:#f7f8f9;border-color:#e5e7eb;color:#777}.orderApprovalStack{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:5px;max-width:210px}.modal{display:none;position:fixed;inset:0;background:#000b;z-index:10;align-items:center;justify-content:center;padding:30px}.modal img{max-width:92vw;max-height:92vh;background:white;border-radius:12px}.modal.on{display:flex}.vendorbox{display:none;margin:16px 0;background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:16px}.vendorbox.on{display:block}.vendorrow{display:grid;grid-template-columns:220px 1fr auto;gap:10px;align-items:center;margin-top:10px}.contactrow{display:grid;grid-template-columns:220px 1fr auto auto;gap:10px;align-items:center;margin-top:10px}.contactrow input[type=email]{width:100%;padding:10px;border:1px solid #d7dbe0;border-radius:8px}.smallstate{font-size:11px;color:#666;min-width:70px}.smallstate.ok{color:#24713b}.smallstate.err{color:#9b1c1c}.catalogDependencyState{font-size:12px;line-height:1.45}.catalogDependencyTitle{font-weight:800;margin-bottom:6px}.catalogDependencyList{margin:6px 0 0;padding-left:18px}.catalogDependencyList li{margin:4px 0}.catalogDependencyLink{padding:4px 7px;border-radius:6px;font-size:11px;text-align:left;cursor:pointer}.catalogDependencyMeta{color:#6b7280;margin-left:5px}.vendorrow input{width:100%;padding:10px;border:1px solid #d7dbe0;border-radius:8px;background:#fafbfc}.primary{background:#161616;color:white;border-color:#161616;cursor:pointer}.copy{cursor:pointer}.error{background:#fff3f3;border:1px solid #f0c8c8;border-radius:10px;padding:14px;color:#8b1c1c;margin:18px 0}.notice{background:#f4f8ff;border:1px solid #d7e5fb;border-radius:10px;padding:12px;margin:14px 0;font-size:13px;color:#35506e}.landing{max-width:720px;margin:80px auto;background:white;border:1px solid #e3e6ea;border-radius:14px;padding:24px}.landing code{word-break:break-all}.arcadeBuildCard{display:none;grid-column:1/-1;background:#f8fafc;border:1px solid #dce3ea;border-radius:12px;padding:14px;margin-top:2px}.arcadeBuildCard.on{display:block}.arcadeBuildHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.arcadeBuildTitle{font-size:15px;font-weight:800}.arcadeBuildGrid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}.arcadeBuildGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.arcadeBuildGrid input,.arcadeBuildGrid select,.arcadeBuildGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.arcadeBuildGrid textarea{min-height:70px;resize:vertical}.arcadeSpan2{grid-column:span 2}.arcadePlayerColors{display:none;grid-column:1/-1;border:1px solid #dce3ea;border-radius:10px;background:#fff;padding:12px}.arcadePlayerColors.on{display:block}.arcadePlayerColorsTitle{font-weight:800;font-size:13px;margin-bottom:3px}.arcadePlayerColorsHint{font-size:11px;color:#6b7280;margin-bottom:10px}.arcadePlayerColorGrid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.arcadePlayerColorRow{display:contents}.arcadePlayerCell{min-width:0}.arcadePlayerNum{font-weight:800;font-size:12px;display:flex;align-items:center}.arcadeColorChoice{display:flex;align-items:center;gap:8px}.arcadeColorChoice select{flex:1;min-width:0}.arcadeColorDot{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.22);box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.06);flex:0 0 auto;background:#fff}.bomPartImage{width:18px;height:18px;object-fit:contain;border:1px solid #d7dbe0;border-radius:4px;background:#fff;vertical-align:-4px;margin-right:3px;box-shadow:0 1px 2px rgba(0,0,0,.08)}.arcadeColorDot.clear{background:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0}.arcadeColorDot.empty{opacity:.28}.orderDetails{margin-top:6px;font-size:11px;color:#4b5563}.orderDetails>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:5px;font-weight:800;color:#374151;user-select:none}.orderDetails>summary::-webkit-details-marker{display:none}.orderDetails>summary::before{content:'▸';font-size:11px;transition:transform .15s ease}.orderDetails[open]>summary::before{transform:rotate(90deg)}.orderDetailsBody{margin-top:5px;padding:7px 9px;border-left:2px solid #dce3ea;background:#fafbfc;border-radius:0 7px 7px 0;min-width:180px;line-height:1.55}.orderDetailsRow{display:flex;justify-content:space-between;gap:14px}.orderDetailsRow span:first-child{color:#6b7280}.orderDetailsRow b{font-weight:700;color:#374151;text-align:right}@media(max-width:900px){.arcadePlayerColorGrid{grid-template-columns:1fr 1fr}.arcadePlayerColorRow{display:contents}}@media(max-width:550px){.arcadePlayerColorGrid{grid-template-columns:1fr}.arcadePlayerNum{margin-top:8px}}.bomSummary{margin-top:6px;font-size:11px;line-height:1.45;color:#4b5563}.bomDetails{margin-top:6px}.bomDetails>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:5px;font-weight:800;color:#374151;user-select:none}.bomDetails>summary::-webkit-details-marker{display:none}.bomDetails>summary::before{content:'▸';font-size:11px;transition:transform .15s ease}.bomDetails[open]>summary::before{transform:rotate(90deg)}.bomDetailsBody{margin-top:5px;padding:6px 8px;border-left:2px solid #dce3ea;background:#fafbfc;border-radius:0 7px 7px 0}.noteDetails{font-size:12px}.noteDetails>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#4b5563;user-select:none}.noteDetails>summary::-webkit-details-marker{display:none}.noteDetails>summary::before{content:'▸';font-size:11px;transition:transform .15s ease}.noteDetails[open]>summary::before{transform:rotate(90deg)}.noteDetailsBody{margin-top:5px;padding:6px 8px;border-left:2px solid #dce3ea;background:rgba(250,251,252,.8);border-radius:0 7px 7px 0;white-space:pre-wrap;max-width:320px}.artFileLink{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:12px;font-weight:700;text-decoration:none}.artFileLink:hover{text-decoration:underline}.bomTag{display:inline-flex;align-items:center;gap:4px;background:#eef3f7;border-radius:999px;padding:2px 6px;margin:2px 3px 2px 0;white-space:nowrap}.bomColorDot{width:9px;height:9px;border-radius:50%;border:1px solid rgba(0,0,0,.24);display:inline-block;flex:0 0 auto;background:#fff}.bomColorDot.clear{background:linear-gradient(45deg,#ddd 25%,transparent 25%),linear-gradient(-45deg,#ddd 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ddd 75%),linear-gradient(-45deg,transparent 75%,#ddd 75%);background-size:5px 5px;background-position:0 0,0 2.5px,2.5px -2.5px,-2.5px 0}.inventoryHint{font-size:10px;color:#6b7280;margin-top:4px;line-height:1.3}.inventoryHint.low{color:#a61b1b;font-weight:700}.inventoryHint.ok{color:#24713b}.arcadeInventoryStatus{grid-column:1/-1;border:1px solid #dce3ea;border-radius:10px;background:#fff;padding:10px 12px;font-size:11px;color:#4b5563}.arcadeInventoryStatus b{display:block;margin-bottom:5px}.arcadeInventoryStatus .invStatusTag{display:inline-block;border-radius:999px;background:#eef3f7;padding:3px 7px;margin:2px 4px 2px 0}.arcadeInventoryStatus .invStatusTag.low{background:#fff0f0;color:#a61b1b;font-weight:700}.arcadeInventoryStatus .invStatusTag.missing{background:#fff7e6;color:#8a5a00;font-weight:700}@media(max-width:900px){.arcadeBuildGrid{grid-template-columns:1fr 1fr}}@media(max-width:550px){.arcadeBuildGrid{grid-template-columns:1fr}.arcadeSpan2{grid-column:span 1}}@media(max-width:900px){.paymentEntryGrid{grid-template-columns:1fr 1fr}.controls,.controls.vendor{grid-template-columns:1fr 1fr}.kpis{grid-template-columns:1fr 1fr}.vendorrow,.contactrow{grid-template-columns:1fr}}@media(max-width:550px){.paymentEntryGrid{grid-template-columns:1fr}.wrap{padding:14px}.controls,.controls.vendor{grid-template-columns:1fr}.appHeader{align-items:flex-start;flex-direction:column;padding:14px}.brandLogo{width:54px;height:54px}.title{font-size:22px}.top{width:100%;justify-content:flex-start}}
.orderFormGrid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-top:14px}.orderLinesManager{background:#f8fafc;border:1px solid #dfe5eb;border-radius:12px;padding:12px}.orderLinesHead{display:flex;justify-content:space-between;gap:12px;align-items:center}.orderLinesTitle{font-weight:800}.orderLineTabs{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.orderLineTab{padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;cursor:pointer;background:#fff}.orderLineTab.active{background:#111827;color:#fff;border-color:#111827}.orderLineAdd{padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;cursor:pointer}.orderLineRemove{padding:6px 9px;font-size:11px;color:#9b1c1c;border-color:#efcaca;background:#fff}.orderLineMeta{font-size:11px;color:#6b7280;margin-top:7px}.lineEditorFlag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#eaf1fb;color:#245b94;font-size:10px;font-weight:800}.multiLineSummary{display:grid;gap:4px;margin-top:4px}.multiLineSummaryRow{font-size:11px;line-height:1.3;color:#4b5563}.multiLineSummaryRow b{color:#111827}.multiLineSummaryRow .lineVendor{color:#777}.multiLineBadge{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:999px;background:#edf2f7;font-size:10px;font-weight:800;color:#475569}@media(max-width:700px){.orderLinesHead{align-items:flex-start}.orderLineTabs{display:grid;grid-template-columns:1fr}.orderLineTab,.orderLineAdd{width:100%;text-align:left}.orderLineRemove{width:100%;margin-top:6px}}.orderField{display:flex;flex-direction:column;gap:5px}.orderField label{font-size:11px;font-weight:700;color:#5d636b;text-transform:uppercase;letter-spacing:.04em}.orderField input,.orderField select,.orderField textarea{width:100%;padding:10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff;font:inherit}.orderField textarea{min-height:82px;resize:vertical}.fieldHint{font-size:11px;color:#777;line-height:1.25}.span2{grid-column:span 2}.orderFormActions{display:flex;align-items:center;gap:10px;margin-top:14px}.danger{background:#fff5f5;border-color:#e4b8b8;color:#8d1d1d;cursor:pointer}.actionStack{display:flex;gap:5px;align-items:center;flex-wrap:nowrap}.actionStack button{width:30px;height:30px;padding:0;border-radius:8px;font-size:15px;line-height:1;min-height:30px;display:inline-grid;place-items:center;cursor:pointer;background:#fff;color:#3f4650}.actionStack button:hover{background:#f1f4f7;border-color:#bcc4ce}.actionStack button.danger{background:#fff7f7;color:#a32626}.actionStack button.danger:hover{background:#ffeaea;border-color:#d9a5a5}.actionIcon{font-family:Arial,sans-serif;font-weight:700}.actionStack .approvalAction{color:#216e3a}.actionStack .vendorMailAction{color:#315f94}.actionCell{min-width:132px}.actionCell .noteDetails{margin-top:7px;max-width:180px}.actionCell .noteDetails summary{font-size:11px;color:#5c6673}.actionCell .noteDetailsBody{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.orderHelp{font-size:12px;color:#666;margin-top:5px}.imageInputWrap{display:flex;gap:10px;align-items:center}.newImagePreview{width:96px;height:96px;object-fit:contain;border-radius:10px;background:#f1f3f5;border:1px solid #e3e6ea;display:none}.newImagePreview.on{display:block}.imageUploadCard{grid-column:1/-1;border:2px dashed #cfd5dc;border-radius:12px;padding:14px;background:#fafbfc;display:flex;align-items:center;gap:14px}.imageUploadCopy{flex:1}.imageUploadTitle{font-weight:800;font-size:13px;margin-bottom:3px}.imageUploadHint{font-size:12px;color:#666}.imageChoose{display:inline-block;margin-top:9px;padding:10px 14px;border-radius:9px;background:#161616;color:#fff;font-weight:700;cursor:pointer}.imageChoose input{position:absolute;left:-9999px}.imageFileName{font-size:12px;color:#555;margin-top:7px}.artPreviewWrap{margin-top:8px;display:none;gap:10px;align-items:flex-start;flex-direction:column}.artPreviewWrap.on{display:flex}.artPreviewImg{width:120px;height:120px;object-fit:contain;border:1px solid #e3e6ea;border-radius:10px;background:#f7f8fa}.artPreviewMeta{font-size:12px;color:#666;display:flex;flex-direction:column;gap:6px}@media(max-width:900px){.orderFormGrid{grid-template-columns:1fr 1fr}}@media(max-width:550px){.orderFormGrid{grid-template-columns:1fr}.span2{grid-column:span 1}}.masterTabs{display:none;gap:8px;margin:16px 0;flex-wrap:wrap}.masterTabs.on{display:flex}.masterTabs button{cursor:pointer}.masterTabs button.active{background:#161616;color:#fff;border-color:#161616}.pageSection{display:none}.pageSection.on{display:block}#timePage.vendorView> :not(#vendorClockCard):not(.dailyLogManager){display:none!important}.kpiToolbar,.timeToolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.kpiToolbar select,.timeToolbar select,.timeToolbar input{padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.timeCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.timeCardHead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.timeForm{display:none;background:#fafbfc;border:1px solid #e3e6ea;border-radius:10px;padding:12px;margin-bottom:12px}.timeForm.on{display:block}.timeGrid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}.timeGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.timeGrid input,.timeGrid select,.timeGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.timeGrid textarea{min-height:68px;resize:vertical}.timeActions{display:flex;gap:8px;align-items:center;margin-top:10px}.timeTableWrap{overflow:auto}.timeTable{width:100%;border-collapse:collapse;min-width:760px}.timeTable th,.timeTable td{padding:8px 10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:13px}.timeTable th{font-size:12px;color:#5d636b;background:#fafbfc}.timeClockShell{max-width:720px;margin:30px auto;background:#fff;border:1px solid #e3e6ea;border-radius:16px;padding:22px}.vendorClockCard{display:none;background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.vendorClockCard.on{display:block}.vendorClockHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.vendorClockToggle{padding:7px 10px;font-size:12px;cursor:pointer;white-space:nowrap}.vendorClockBody{display:block}.vendorClockCard.collapsed .vendorClockBody{display:none}.vendorClockCard.collapsed .vendorClockHead{margin-bottom:0}.vendorClockGrid{display:grid;grid-template-columns:minmax(180px,1.4fr) 1fr auto;gap:10px;align-items:end}.vendorClockGrid select{width:100%;padding:10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.vendorClockStatus{padding:10px 12px;background:#f8fafc;border:1px solid #e3e6ea;border-radius:9px;min-height:44px;font-size:13px}.vendorClockActions{display:flex;gap:8px;flex-wrap:wrap}.vendorClockTotals{display:flex;gap:18px;margin-top:10px;font-size:12px;color:#666;align-items:center;flex-wrap:wrap}.vendorClockTotals b{font-size:18px;color:#161616;margin-right:4px}@media(max-width:800px){.vendorClockGrid{grid-template-columns:1fr}.vendorClockActions button{flex:1}}.timeClockButtons{display:flex;gap:10px;margin:16px 0}.timeClockButtons button{flex:1;min-height:54px;font-size:17px;font-weight:800}.clockStatus{padding:12px;border-radius:10px;background:#f5f7f9;margin:12px 0}.clockTotals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clockTotal{border:1px solid #e3e6ea;border-radius:10px;padding:12px}.clockTotal b{font-size:24px}.clockLinkBox{display:none;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.clockLinkBox.on{display:flex}.clockLinkBox input{flex:1;min-width:260px;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px}@media(max-width:900px){.timeGrid{grid-template-columns:1fr 1fr}}@media(max-width:550px){.timeGrid{grid-template-columns:1fr}.clockTotals{grid-template-columns:1fr}}
.inventoryToolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.inventoryToolbar input,.inventoryToolbar select{padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.inventoryCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.inventoryGrid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}.inventoryGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.inventoryGrid input,.inventoryGrid select,.inventoryGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.inventoryGrid textarea{min-height:68px;resize:vertical}.inventoryImageField{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e1e5ea;border-radius:10px;background:#fff}.inventoryImagePreview{width:86px;height:70px;object-fit:contain;border:1px solid #e0e4e8;border-radius:8px;background:#f7f8fa;display:none}.inventoryImagePreview.on{display:block}.inventoryImageThumb{width:54px;height:54px;object-fit:contain;border:1px solid #e0e4e8;border-radius:7px;background:#f7f8fa;cursor:zoom-in;display:block}.inventoryNoImage{width:54px;height:54px;border:1px dashed #d5dae0;border-radius:7px;background:#fafbfc;color:#9aa1a9;display:grid;place-items:center;font-size:10px;text-align:center;line-height:1.1}.inventoryImageUnavailable{width:54px;height:54px;border:1px dashed #d9b7b7;border-radius:7px;background:#fff8f8;color:#9b4c4c;display:grid;place-items:center;font-size:9px;text-align:center;line-height:1.15}.inventoryForm{display:none;background:#fafbfc;border:1px solid #e3e6ea;border-radius:10px;padding:12px;margin-bottom:12px}.inventoryForm.on{display:block}.inventoryLow{font-weight:800;color:#9b1c1c}.inventoryTable{width:100%;border-collapse:collapse;min-width:1000px}.inventoryTable th,.inventoryTable td{padding:8px 10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:13px}.inventoryTable th{font-size:12px;color:#5d636b;background:#fafbfc}.inventoryActions{display:flex;gap:5px;flex-wrap:nowrap;align-items:center}.inventoryActions button{width:30px;height:30px;padding:0;border-radius:8px;font-size:15px;line-height:1;min-height:30px;display:inline-grid;place-items:center;cursor:pointer;background:#fff;color:#3f4650}.inventoryActions button:hover{background:#f1f4f7;border-color:#bcc4ce}.inventoryActions button.danger{background:#fff7f7;color:#a32626}.inventoryActions button.danger:hover{background:#ffeaea;border-color:#d9a5a5}.inventoryActions .invDuplicate{color:#315f94}.inventoryActions .invAdjust{color:#7a5410}.inventoryKpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}@media(max-width:900px){.inventoryGrid{grid-template-columns:1fr 1fr}.inventoryKpis{grid-template-columns:1fr 1fr}}@media(max-width:550px){.inventoryGrid{grid-template-columns:1fr}.inventoryKpis{grid-template-columns:1fr}}
.iconBtn{width:30px;height:30px;padding:0!important;border-radius:7px!important;display:inline-grid;place-items:center;font-size:15px;line-height:1;cursor:pointer;background:#fff}.iconBtn:hover{background:#f3f6f9}.iconBtn.primary{background:#161616;color:#fff;border-color:#161616}.iconBtn.danger{color:#9b1c1c}.iconBtn[disabled]{opacity:.45;cursor:not-allowed}
.shopifyCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:16px;margin:0 0 16px}.shopifyHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.shopifyActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shopifyStatus{margin:14px 0;padding:12px;border:1px solid #e3e6ea;border-radius:10px;background:#fafbfc;font-size:13px}.shopifyStatus.ok{background:#effaf2;border-color:#c9e8d1;color:#246b36}.shopifyStatus.warn{background:#fff8e6;border-color:#ead59d;color:#72510a}.shopifyStatus.err{background:#fff3f3;border-color:#efcaca;color:#8b1c1c}.shopifyTableWrap{overflow:auto;border:1px solid #e3e6ea;border-radius:10px}.shopifyTable{width:100%;border-collapse:collapse;min-width:1180px}.shopifyTable th,.shopifyTable td{padding:9px 10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:12px;vertical-align:middle}.shopifyTable th{background:#fafbfc;color:#5d636b;font-size:11px;position:sticky;top:0;z-index:1}.shopifyTable select{width:100%;min-width:140px;padding:7px 8px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.shopifyThumb{width:46px;height:46px;object-fit:contain;border:1px solid #e3e6ea;border-radius:7px;background:#f7f8fa}.shopifyNoImg{width:46px;height:46px;display:grid;place-items:center;border:1px solid #e3e6ea;border-radius:7px;background:#f7f8fa;color:#999;font-size:9px;text-align:center}.shopifyOrderMeta{color:#6b7280;font-size:11px;margin-top:3px}.shopifySku{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#4b5563}.shopifyTag{display:inline-block;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;background:#eef1f4;color:#4b5563;white-space:nowrap}.shopifyTag.good{background:#e9f7ed;color:#246b36}.shopifyTag.warn{background:#fff5d9;color:#8a5a00}.shopifyTag.bad{background:#fff0f0;color:#9b1c1c}.shopifyProperties{margin-top:4px;color:#6b7280;font-size:10px;max-width:260px;white-space:normal}.shopifyHelp{margin:12px 0;font-size:12px;color:#5f6772;line-height:1.45}.sourceBadge{display:inline-block;padding:2px 6px;border-radius:999px;background:#eef5ff;color:#315f94;font-size:10px;font-weight:800}.unassignedText{color:#8a5a00;font-weight:700}

.catalogCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:14px;margin:0 0 16px}.catalogHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}.catalogActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.catalogActions select{padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.catalogForm{display:none;background:#fafbfc;border:1px solid #e3e6ea;border-radius:10px;padding:12px;margin-bottom:12px}.catalogForm.on{display:block}.catalogGrid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.catalogGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.catalogGrid input,.catalogGrid select,.catalogGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.catalogGrid textarea{min-height:68px;resize:vertical}.catalogSpan2{grid-column:span 2}.catalogTableWrap{overflow:auto}.catalogTable{width:100%;border-collapse:collapse;min-width:820px}.catalogTable th,.catalogTable td{padding:8px 10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:13px;vertical-align:middle}.catalogTable th{font-size:12px;color:#5d636b;background:#fafbfc}.catalogThumb{width:34px;height:34px;object-fit:contain;border:1px solid #d7dbe0;border-radius:6px;background:#fff;cursor:zoom-in}.catalogNoImage{width:34px;height:34px;border:1px solid #e3e6ea;border-radius:6px;background:#f6f7f8;color:#999;display:grid;place-items:center;font-size:9px;text-align:center}.catalogImagePreview{width:84px;height:84px;object-fit:contain;border:1px solid #d7dbe0;border-radius:8px;background:#fff;display:none}.catalogImagePreview.on{display:block}.modelLine{margin-top:4px;font-size:11px;color:#5c6673}.modelLine b{color:#303843}.catalogSourceNote{margin-top:8px;font-size:12px;color:#5d636b;background:#f4f8ff;border:1px solid #d7e5fb;border-radius:9px;padding:9px 10px}@media(max-width:900px){.catalogGrid{grid-template-columns:1fr 1fr}}@media(max-width:550px){.catalogGrid{grid-template-columns:1fr}.catalogSpan2{grid-column:span 1}}

.arcadeChoiceImage{width:20px;height:20px;object-fit:contain;border:1px solid #d7dbe0;border-radius:5px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08);flex:0 0 auto}.arcadeChoiceImage[hidden]{display:none}.catalogGroupRow td,.inventoryGroupRow td{background:#eaf2f9!important;color:#29465f;font-size:11px!important;font-weight:800!important;letter-spacing:.04em;text-transform:uppercase;border-top:1px solid #d5e2ee;border-bottom:1px solid #d5e2ee;padding:7px 10px!important}.catalogGroupRow .groupCount,.inventoryGroupRow .groupCount{font-weight:600;color:#718096;margin-left:7px;text-transform:none;letter-spacing:0}.imageRemoveBtn{padding:6px 9px!important;border-radius:7px!important;font-size:11px!important;color:#9b1c1c;background:#fff7f7!important;border-color:#e7c7c7!important;cursor:pointer}.imageRemoveBtn:hover{background:#ffecec!important}.catalogImageControls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.catalogSortControl{min-width:120px}.catalogTable tbody tr:not(.catalogGroupRow):hover,.inventoryTable tbody tr:not(.inventoryGroupRow):hover{background:#fafcff}

.systemActivity{position:fixed;right:14px;bottom:14px;left:auto;top:auto;transform:translateY(12px) scale(.97);transform-origin:bottom right;z-index:10000;width:315px;max-width:calc(100vw - 24px);padding:0;background:linear-gradient(180deg,rgba(6,12,24,.98),rgba(12,20,38,.98));color:#d9ffe8;border:2px solid #40f99b;border-radius:14px;box-shadow:0 0 0 2px rgba(64,249,155,.14),0 0 30px rgba(64,249,155,.18),0 22px 70px rgba(0,0,0,.46);opacity:0;visibility:hidden;pointer-events:none;overflow:hidden;transition:opacity .18s ease,transform .18s ease,visibility .18s}.systemActivity::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(180deg,rgba(255,255,255,.045) 0 2px,transparent 2px 5px);mix-blend-mode:screen;opacity:.35;pointer-events:none}.systemActivity::after{content:'';position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);pointer-events:none}.systemActivity.on{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.systemActivityInner{position:relative;padding:10px 12px 10px}.systemActivityTopline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;font:700 9px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;letter-spacing:.15em;text-transform:uppercase;color:#6dffb4}.systemActivityChip{padding:3px 6px;border:1px solid rgba(109,255,180,.35);border-radius:999px;background:rgba(109,255,180,.08);box-shadow:0 0 0 1px rgba(109,255,180,.08) inset}.systemActivityRow{display:flex;align-items:center;gap:9px}.systemActivityIcon{width:34px;height:34px;flex:0 0 auto;border-radius:8px;border:2px solid rgba(109,255,180,.42);background:linear-gradient(180deg,rgba(7,16,28,.96),rgba(18,27,45,.96));display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 0 16px rgba(64,249,155,.12)}.systemActivityIcon::before{content:'▲';font:900 16px/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;color:#78ffbf;text-shadow:0 0 8px rgba(120,255,191,.55);animation:systemPulse .55s steps(2,end) infinite}.systemActivityCopy{min-width:0}.systemActivityText{font:800 13px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 0 10px rgba(64,249,155,.22)}.systemActivitySub{font-size:10px;color:rgba(217,255,232,.74);margin-top:3px}.systemActivityGame{margin-top:8px;padding:6px;border-radius:12px;border:1px solid rgba(109,255,180,.17);background:linear-gradient(180deg,#050a13,#081224)}.systemActivityArena{position:relative;height:66px;border-radius:9px;overflow:hidden;border:1px solid rgba(109,255,180,.14);background:radial-gradient(circle at 12% 22%,rgba(255,255,255,.9) 0 1px,transparent 1.5px),radial-gradient(circle at 33% 58%,rgba(255,255,255,.72) 0 1px,transparent 1.5px),radial-gradient(circle at 71% 18%,rgba(255,255,255,.82) 0 1px,transparent 1.5px),radial-gradient(circle at 88% 63%,rgba(255,255,255,.62) 0 1px,transparent 1.5px),linear-gradient(180deg,#02050a,#07101f 70%,#0a1830)}.systemActivityArena::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 0 48%,rgba(80,255,178,.035) 49% 51%,transparent 52%);background-size:100% 18px;animation:systemStars 1.6s linear infinite;pointer-events:none}.gameEnemy{position:absolute;top:8px;width:20px;height:13px;background:#ff5d9e;clip-path:polygon(18% 0,82% 0,100% 40%,78% 40%,88% 100%,58% 72%,50% 100%,42% 72%,12% 100%,22% 40%,0 40%);filter:drop-shadow(0 0 5px rgba(255,93,158,.55));animation:enemyBob .72s steps(2,end) infinite}.gameEnemy.e1{left:23%;animation-delay:-.1s}.gameEnemy.e2{left:46%;background:#ffd85c;filter:drop-shadow(0 0 5px rgba(255,216,92,.52));animation-delay:-.32s}.gameEnemy.e3{left:69%;background:#7ed7ff;filter:drop-shadow(0 0 5px rgba(126,215,255,.52));animation-delay:-.54s}.gameFormation{position:absolute;inset:0;animation:formationSweep 2.8s ease-in-out infinite alternate}.gamePlayer{position:absolute;left:50%;bottom:5px;width:25px;height:17px;transform:translateX(-50%);background:#65ffaf;clip-path:polygon(50% 0,61% 36%,88% 38%,100% 100%,66% 78%,50% 100%,34% 78%,0 100%,12% 38%,39% 36%);filter:drop-shadow(0 0 7px rgba(101,255,175,.62));animation:playerNudge 1.45s ease-in-out infinite alternate}.gameLaser{position:absolute;left:50%;bottom:23px;width:2px;height:14px;border-radius:2px;background:#fff06a;box-shadow:0 0 8px rgba(255,240,106,.9);animation:laserShot .72s linear infinite}.gameLaser.l2{margin-left:-16px;animation-delay:-.24s}.gameLaser.l3{margin-left:16px;animation-delay:-.48s}.gameBlast{position:absolute;top:19px;left:49%;width:12px;height:12px;transform:translate(-50%,-50%) scale(.1);opacity:0;background:conic-gradient(#fff 0 12.5%,#ffdf58 12.5% 25%,#ff6f61 25% 37.5%,transparent 37.5% 50%,#fff 50% 62.5%,#ffdf58 62.5% 75%,#ff6f61 75% 87.5%,transparent 87.5%);clip-path:polygon(50% 0,61% 34%,100% 18%,72% 50%,100% 82%,61% 66%,50% 100%,39% 66%,0 82%,28% 50%,0 18%,39% 34%);animation:blastPop 1.44s steps(2,end) infinite}.systemActivityHint{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:5px;font:700 8px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;letter-spacing:.13em;text-transform:uppercase;color:#91ffc9}.systemActivityBar{height:6px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden;margin-top:6px;border:1px solid rgba(109,255,180,.14)}.systemActivityBar::after{content:'';display:block;height:100%;width:48%;background:repeating-linear-gradient(90deg,#57ffab 0 12px,#2fe38f 12px 18px,#1e8f64 18px 21px);box-shadow:0 0 18px rgba(87,255,171,.35);animation:systemBar 1.05s linear infinite}.systemActivity.done{border-color:#61f2ff;color:#e4feff;box-shadow:0 0 0 2px rgba(97,242,255,.12),0 0 28px rgba(97,242,255,.18),0 22px 70px rgba(0,0,0,.46)}.systemActivity.done .systemActivityTopline{color:#8df5ff}.systemActivity.done .systemActivityChip{border-color:rgba(141,245,255,.35);background:rgba(141,245,255,.08)}.systemActivity.done .systemActivityIcon{border-color:rgba(141,245,255,.42);box-shadow:inset 0 0 16px rgba(97,242,255,.14)}.systemActivity.done .systemActivityIcon::before{content:'★';animation:none;font-size:20px;color:#8df5ff;text-shadow:0 0 12px rgba(141,245,255,.7)}.systemActivity.error{border-color:#ff8b8b;color:#fff0f0}.systemActivity.error .systemActivityTopline{color:#ffabab}.systemActivity.error .systemActivityChip{border-color:rgba(255,171,171,.35);background:rgba(255,171,171,.08)}.systemActivity.error .systemActivityIcon::before{content:'✕';animation:none;font-size:18px;color:#ffb0b0}.systemActivity.done .gameEnemy,.systemActivity.done .gameLaser,.systemActivity.error .gameLaser{animation-play-state:paused}.systemActivity.done .gamePlayer{filter:drop-shadow(0 0 10px rgba(141,245,255,.75));background:#8df5ff}.systemActivity.error .gamePlayer{background:#ff9f9f;filter:drop-shadow(0 0 8px rgba(255,159,159,.7))}.systemActivity.done .systemActivityBar::after,.systemActivity.error .systemActivityBar::after{width:100%;animation:none}.systemActivity.error .systemActivityBar::after{opacity:.62;background:repeating-linear-gradient(90deg,#ffaaaa 0 12px,#ff8787 12px 18px,#a34848 18px 21px)}@keyframes systemBar{0%{transform:translateX(-110%)}100%{transform:translateX(130%)}}@keyframes systemPulse{0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.72;filter:brightness(1.45)}}@keyframes formationSweep{0%{transform:translateX(-16px)}100%{transform:translateX(16px)}}@keyframes enemyBob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(3px) rotate(3deg)}}@keyframes playerNudge{0%{transform:translateX(-58%)}100%{transform:translateX(-42%)}}@keyframes laserShot{0%{transform:translateY(0);opacity:0}12%{opacity:1}80%{opacity:1}100%{transform:translateY(-43px);opacity:0}}@keyframes blastPop{0%,62%,100%{opacity:0;transform:translate(-50%,-50%) scale(.1) rotate(0)}66%{opacity:1;transform:translate(-50%,-50%) scale(1.35) rotate(20deg)}73%{opacity:.9;transform:translate(-50%,-50%) scale(.82) rotate(45deg)}80%{opacity:0;transform:translate(-50%,-50%) scale(1.55) rotate(80deg)}}@keyframes systemStars{0%{transform:translateY(-18px)}100%{transform:translateY(18px)}}@media(max-width:600px){.systemActivity{right:8px;bottom:8px;width:min(315px,calc(100vw - 16px));max-width:none}.systemActivityInner{padding:9px 10px}.systemActivityTopline{letter-spacing:.11em}.systemActivityText{font-size:12px}.systemActivityArena{height:62px}.systemActivityHint{font-size:8px;letter-spacing:.07em}}

@media(max-width:760px){
  body{padding-bottom:72px}.wrap{padding:10px 10px 82px}.appHeader{padding:11px 12px;border-radius:12px;gap:10px}.brand{gap:9px}.brandLogo{width:46px;height:46px}.brandEyebrow{font-size:9px}.title{font-size:20px}.sub{font-size:12px}.top{width:100%;gap:7px}.top button{flex:1 1 auto;min-height:42px;padding:9px 10px}.top label.sub{width:100%}
  .masterTabs.on{position:fixed;z-index:9500;left:0;right:0;bottom:0;margin:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;background:rgba(255,255,255,.97);border-top:1px solid #dfe4e9;box-shadow:0 -8px 22px rgba(15,23,42,.10);backdrop-filter:blur(10px)}.masterTabs button{flex:0 0 auto;min-width:76px;min-height:42px;padding:8px 10px;font-size:11px;font-weight:700}
  .controls,.controls.vendor{grid-template-columns:1fr;gap:8px;margin:12px 0}.controls input,.controls select,.orderFormGrid input,.orderFormGrid select,.orderFormGrid textarea,.paymentEntry input,.paymentEntry select,.timeGrid input,.timeGrid select,.timeGrid textarea,.inventoryGrid input,.inventoryGrid select,.inventoryGrid textarea,.catalogGrid input,.catalogGrid select,.catalogGrid textarea{font-size:16px}
  .kpiToolbar,.timeToolbar{align-items:stretch;gap:8px}.kpiToolbar>b,.timeToolbar>b{width:100%}.kpiToolbar select,.timeToolbar select,.timeToolbar input{width:100%;min-height:44px;font-size:16px}.kpis{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.kpi{padding:11px}.kpi b{font-size:20px}.kpi span{font-size:10px}.kpiDrillHint{font-size:9px!important}.amountDueBreakdown{margin:0 0 12px;padding:11px}.amountDueBreakdownHead{align-items:center}.dueVendorCard{grid-template-columns:1fr 1fr;gap:8px;padding:10px}.dueVendorName{grid-column:1/-1;padding-bottom:5px;border-bottom:1px solid #edf0f2}.dueVendorMetric{background:#fff;border:1px solid #edf0f2;border-radius:8px;padding:7px}.amountDueBreakdownTotal{justify-content:space-between;align-items:center}
  .avgOpenTrend,.productMix,.paymentCard,.timeCard,.inventoryCard,.catalogCard{border-radius:11px;padding:11px}.avgOpenTrendHead,.productMixHead,.paymentHeader,.timeCardHead,.catalogHead{align-items:flex-start;flex-direction:column}.productMixRight,.paymentHeaderRight,.catalogActions{width:100%;justify-content:flex-start}.productMixMetrics{width:100%}.productMixMetric{flex:1;min-height:40px}.productMixChart svg{min-width:500px}
  .orderFormGrid,.arcadeBuildGrid,.paymentEntryGrid,.timeGrid,.inventoryGrid,.catalogGrid{grid-template-columns:1fr!important}.span2,.arcadeSpan2,.catalogSpan2{grid-column:span 1!important}.orderFormActions,.paymentEntryActions,.timeActions{flex-wrap:wrap}.orderFormActions button,.paymentEntryActions button,.timeActions button{min-height:44px}.arcadePlayerColorGrid{grid-template-columns:1fr!important}
  .tablewrap{overflow:visible;background:transparent;border:0}.orders{display:block;min-width:0;width:100%;border-collapse:separate}.orders thead{display:none}.orders tbody{display:grid;gap:10px}.orders tbody tr{display:grid;width:100%;background:#fff!important;border:1px solid #dfe4e9;border-radius:13px;overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.04)}.orders tbody tr.dueSoonRow{border-color:#efb7b7;background:#fff7f7!important}.orders td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;align-items:start;width:100%;padding:8px 10px;border-bottom:1px solid #edf0f2;font-size:13px}.orders td:last-child{border-bottom:0}.orders td::before{content:attr(data-label);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#747b84;padding-top:2px}.orders td[data-label="Preview"]{display:block;padding:10px}.orders td[data-label="Preview"]::before{display:none}.orders td[data-label="Order #"]{background:#fafbfc}.orders td[data-label="Order #"] b{font-size:15px}.orders .thumb,.orders .noimg{width:66px;height:66px}.orders .statusEdit{width:100%;min-width:0;font-size:16px;min-height:44px}.orders .actionStack{justify-content:flex-start;gap:7px}.orders .actionStack button{min-width:42px;min-height:42px}.orders .orderDetailsBody,.orders .noteDetailsBody{min-width:0;max-width:none}.orders .rushCell{padding-right:38px!important}
  .paymentTableWrap,.timeTableWrap,.inventoryTableWrap,.catalogTableWrap,.shopifyTableWrap{overflow:auto;-webkit-overflow-scrolling:touch}.payments,.timeTable,.inventoryTable,.catalogTable,.shopifyTable{font-size:12px}.accountSummary{grid-template-columns:1fr 1fr;gap:8px}.accountSummaryItem{padding:10px}.accountSummaryItem b{font-size:17px}.paymentHeaderRight button,.catalogActions button,.catalogActions select{min-height:42px}.vendorClockGrid{grid-template-columns:1fr}.vendorClockActions button{flex:1;min-height:46px}.timeClockShell{margin:12px auto;padding:15px;border-radius:13px}.clockLinkBox input{min-width:0;width:100%}.inventoryControls{grid-template-columns:1fr!important}.inventoryKpis{grid-template-columns:1fr 1fr}.inventoryActions button{min-width:40px;min-height:40px}.catalogActions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.catalogActions select:first-child{grid-column:1/-1}.systemActivity{z-index:9800;bottom:76px!important}
}
@media(max-width:420px){.kpis{grid-template-columns:1fr 1fr}.dueVendorCard{grid-template-columns:1fr}.dueVendorName{grid-column:1}.accountSummary{grid-template-columns:1fr 1fr}.masterTabs button{min-width:72px}.orders td{grid-template-columns:92px minmax(0,1fr)}}

.potentialToggle{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid #d7dbe0;border-radius:10px;background:#fffaf0}.potentialToggle input{margin-top:3px;transform:scale(1.15)}.potentialToggle b{display:block;font-size:13px}.potentialToggle span{display:block;color:#777;font-size:11px;margin-top:3px}.tabCount{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:4px;border-radius:999px;background:#eef1f4;color:#374151;font-size:10px;font-weight:800}.masterTabs button.active .tabCount{background:#fff;color:#161616}.potentialCard{background:#fff;border:1px solid #e3e6ea;border-radius:14px;padding:14px}.potentialHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.potentialHead b{font-size:17px}.potentialTable{width:100%;border-collapse:collapse;min-width:900px}.potentialTable th,.potentialTable td{padding:10px;border-bottom:1px solid #edf0f2;text-align:left;font-size:13px;vertical-align:top}.potentialTable th{font-size:12px;color:#5d636b;background:#fafbfc}.potentialValue{font-weight:800}.potentialAwaiting{display:inline-block;padding:4px 8px;border-radius:999px;background:#fff4d6;color:#8a5a00;font-size:11px;font-weight:800}.potentialError{display:inline-block;padding:4px 8px;border-radius:999px;background:#fdeaea;color:#9b1c1c;font-size:11px;font-weight:800}.potentialDraft{display:inline-block;padding:4px 8px;border-radius:999px;background:#edf2f7;color:#475569;font-size:11px;font-weight:800}.actionStack .potentialSendAction{width:auto;height:30px;padding:0 10px;border-radius:8px;font-size:11px;line-height:1;font-weight:800;white-space:nowrap;color:#245b94;background:#f6f9fd;border-color:#c9d9eb}.actionStack .potentialSendAction:hover{background:#eaf2fb;border-color:#a9c2dc}.potentialActions{min-width:220px}@media(max-width:760px){.potentialHead{flex-direction:column}.potentialHead button{width:100%;min-height:44px}.potentialTable{min-width:0}.potentialTable thead{display:none}.potentialTable,.potentialTable tbody,.potentialTable tr,.potentialTable td{display:block;width:100%}.potentialTable tr{border:1px solid #e3e6ea;border-radius:12px;margin-bottom:10px;padding:8px 10px;background:#fff}.potentialTable td{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;border:0;padding:6px 0}.potentialTable td::before{content:attr(data-label);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#7a8088}.potentialTable .actionCell{display:block}.potentialTable .actionStack{justify-content:flex-start}.potentialToggle{grid-column:1/-1}}

.customerCard{background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:16px}.customerHead{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.customerHeadActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.customerSearch{min-width:260px;padding:10px 12px;border:1px solid #d7dbe0;border-radius:9px}.customerLayout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);gap:14px}.customerList{display:flex;flex-direction:column;gap:8px;max-height:720px;overflow:auto}.customerListItem{display:block;width:100%;text-align:left;padding:12px;border:1px solid #e3e6ea;border-radius:10px;background:#fff;cursor:pointer}.customerListItem:hover,.customerListItem.active{border-color:#111827;background:#f8fafc}.customerListItem b{display:block}.customerListMeta{display:flex;gap:9px;flex-wrap:wrap;margin-top:5px;color:#6b7280;font-size:11px}.customerDetail{border:1px solid #e3e6ea;border-radius:10px;background:#fafbfc;padding:14px;min-height:220px}.customerDetailTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.customerDetailActions{display:flex;gap:7px;flex-wrap:wrap}.customerKpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.customerMiniKpi{background:#fff;border:1px solid #e3e6ea;border-radius:9px;padding:10px}.customerMiniKpi b{font-size:18px;display:block}.customerMiniKpi span{color:#777;font-size:11px}.customerContactGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.customerContactCell{background:#fff;border:1px solid #e3e6ea;border-radius:9px;padding:9px}.customerContactCell span{display:block;color:#777;font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}.customerHistoryWrap{overflow:auto;background:#fff;border:1px solid #e3e6ea;border-radius:9px}.customerHistory{width:100%;border-collapse:collapse;min-width:700px}.customerHistory th,.customerHistory td{padding:8px 9px;border-bottom:1px solid #edf0f2;text-align:left;font-size:12px}.customerHistory th{background:#fafbfc;color:#5d636b}.customerForm{display:none;background:#fafbfc;border:1px solid #e3e6ea;border-radius:10px;padding:12px;margin-bottom:12px}.customerForm.on{display:block}.customerFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customerFormGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.customerFormGrid input,.customerFormGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.customerFormGrid textarea{min-height:76px;resize:vertical}.customerFormGrid .span2{grid-column:1/-1}.customerEmpty{padding:30px;text-align:center;color:#777}.customerOrderAccountHint{font-size:11px;color:#6b7280;margin-top:4px}.customerContactsSection{margin:14px 0}.customerContactsHead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.customerContactsList{display:flex;flex-direction:column;gap:7px}.customerContactRow{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(150px,1.4fr) minmax(110px,.9fr) auto;gap:9px;align-items:center;background:#fff;border:1px solid #e3e6ea;border-radius:9px;padding:9px}.customerContactRow.inactive{opacity:.62}.customerContactIdentity b{display:block}.customerContactIdentity span,.customerContactData span{font-size:10px;color:#777;display:block}.customerContactBadges{display:flex;gap:5px;flex-wrap:wrap;margin-top:3px}.customerContactActions{display:flex;justify-content:flex-end}.customerContactActions button{padding:6px 9px}.customerContactFormHint{font-size:11px;color:#6b7280;margin:0 0 9px}.customerContactChecks{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.customerContactChecks label{font-weight:600!important;color:#374151!important}.customerContactSelectHint{font-size:11px;color:#6b7280;margin-top:4px}@media(max-width:820px){.customerContactRow{grid-template-columns:1fr 1fr}.customerContactActions{justify-content:flex-start}.customerLayout{grid-template-columns:1fr}.customerList{max-height:340px}.customerKpis{grid-template-columns:repeat(2,1fr)}.customerContactGrid,.customerFormGrid{grid-template-columns:1fr}.customerFormGrid .span2{grid-column:auto}.customerSearch{min-width:0;width:100%}}@media(max-width:600px){.customerContactRow{grid-template-columns:1fr}.customerHeadActions{width:100%}.customerHeadActions button{flex:1}.customerDetailActions button{flex:1 1 46%}}
.potentialKpiPanel{background:#fff;border:1px solid #d9e1ea;border-radius:14px;padding:14px;margin:0 0 16px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.potentialKpiHead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.potentialKpiTitle{font-size:16px;font-weight:800}.potentialKpiScope{font-size:11px;font-weight:800;color:#2463a9;background:#eef5fd;border:1px solid #d8e7f7;border-radius:999px;padding:6px 9px;white-space:nowrap}.potentialKpiCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.potentialKpiCard{background:#f8fafc;border:1px solid #e3e8ee;border-radius:11px;padding:12px}.potentialKpiCard b{display:block;font-size:22px}.potentialKpiCard span{display:block;color:#6b7280;font-size:11px;margin-top:3px}.potentialProductHead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-top:12px;border-top:1px solid #edf0f2;margin-bottom:8px}.potentialProductSummary{overflow:auto}.potentialProductTable{min-width:540px}.potentialProductRow{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(90px,.7fr));gap:10px;align-items:center;padding:9px 10px;border-bottom:1px solid #edf0f2;font-size:12px}.potentialProductRow:last-child{border-bottom:0}.potentialProductHeader{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;background:#fafbfc;border-radius:8px}.potentialProductRow>span:not(:first-child){text-align:right}.potentialProductName{font-weight:800;color:#111827}.potentialProductName small{display:block;font-weight:500;color:#9b6a16;margin-top:2px}.potentialProductEmpty{padding:18px;text-align:center;color:#777;font-size:12px;background:#fafbfc;border-radius:9px}@media(max-width:700px){.potentialKpiHead{flex-direction:column}.potentialKpiCards{grid-template-columns:1fr 1fr}.potentialKpiScope{white-space:normal}.potentialProductSummary{overflow:visible}.potentialProductTable{min-width:0}.potentialProductHeader{display:none}.potentialProductRow{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px;border:1px solid #e5e9ee;border-radius:9px;padding:10px}.potentialProductName{grid-column:1/-1;padding-bottom:6px;border-bottom:1px solid #edf0f2}.potentialProductRow>span:not(:first-child){text-align:left}.potentialProductRow>span:not(:first-child)::before{content:attr(data-label);display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#7a8088;margin-bottom:2px}}
.resendApproval.isSending{cursor:wait;opacity:.72;pointer-events:none}.potentialSendAction.isSending{min-width:92px}
.actionStack .potentialApproveAction{width:auto;height:30px;padding:0 10px;border-radius:8px;font-size:11px;line-height:1;font-weight:800;white-space:nowrap;color:#1f6b3a;background:#f2faf4;border-color:#b9dec4}.actionStack .potentialApproveAction:hover{background:#e6f5ea;border-color:#93cba3}.potentialApproveAction.isApproving{cursor:wait;opacity:.72;pointer-events:none;min-width:104px}
.customerAccessChecks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px;border:1px solid #dfe4ea;border-radius:9px;background:#fff;max-height:210px;overflow:auto}.customerAccessChecks label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#374151;padding:5px 6px;border-radius:7px}.customerAccessChecks label:hover{background:#f6f8fa}.customerAccessChecks.disabled{opacity:.48;background:#f6f7f8}.customerAccessChecks input{width:auto;margin:0}.customerProductsSection{margin:14px 0;padding:12px;background:#fff;border:1px solid #e3e6ea;border-radius:9px}.customerProductsHead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.customerProductTags{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.customerProductTag{display:inline-flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #cfdceb;border-radius:9px;background:#f6f9fd}.customerProductTag b{font-size:12px;color:#1f4f82}.customerProductTag small{font-size:10px;color:#6b7280}.catalogAccessBadge{display:inline-block;margin-top:4px;padding:3px 6px;border-radius:999px;background:#eef5fd;color:#245b94;font-size:10px;font-weight:800}@media(max-width:700px){.customerAccessChecks{grid-template-columns:1fr}}

/* v127 customer classification + customer product thumbnails */
.customerFilter{min-width:130px;padding:10px 11px;border:1px solid #d7dbe0;border-radius:9px;background:#fff;color:#1f2937}
.customerFormGrid select{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}
.customerListTitle{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.customerListTitle b{margin-right:auto}
.customerClassBadge,.customerChannelBadge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.customerClassBadge{background:#eef5fd;color:#245b94}.customerChannelBadge{background:#f0f7f2;color:#27633a}
.customerShopifyIdText{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow-wrap:anywhere}
.customerProductCards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}.customerProductCard{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid #dbe2ea;border-radius:10px;background:#f9fbfd}.customerProductImageWrap{width:70px;height:58px;border-radius:8px;overflow:hidden;background:#eef1f4;display:flex;align-items:center;justify-content:center}.customerProductThumb{width:100%;height:100%;object-fit:cover;cursor:pointer;display:block}.customerProductNoImage{font-size:10px;color:#7b8188;text-align:center;padding:6px}.customerProductCopy{min-width:0}.customerProductCopy b{display:block;font-size:12px;color:#1f2937;overflow:hidden;text-overflow:ellipsis}.customerProductCopy small{display:block;color:#6b7280;font-size:10px;margin-top:2px}
@media(max-width:820px){.customerProductCards{grid-template-columns:1fr}.customerFilter{flex:1 1 140px}.customerHeadActions .customerSearch{flex:1 1 100%}}

.packagingPricingHint{margin-top:6px;padding:8px 10px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;line-height:1.4}.packagingPricingHint b{color:#111827}

/* v129 work orders + order-entry flow cleanup */
.orderFlowHeader{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;margin:8px 0 0;padding:11px 12px;border-top:1px solid #dfe5eb;background:linear-gradient(90deg,#f8fafc,#fff);border-radius:10px}.orderFlowHeader>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:999px;background:#111827;color:#fff;font-size:11px;font-weight:900}.orderFlowHeader b{display:block;font-size:13px;color:#111827}.orderFlowHeader small{display:block;margin-top:2px;color:#6b7280;font-size:11px;line-height:1.3}.orderFormGrid>.orderField,.orderFormGrid>.imageUploadCard{align-self:start}.orderFormGrid .orderField input:focus,.orderFormGrid .orderField select:focus,.orderFormGrid .orderField textarea:focus{outline:2px solid #cbdcf4;outline-offset:1px;border-color:#7ea3d1}.orderFormActions{position:sticky;bottom:0;z-index:8;padding:10px 12px;margin:14px -12px -12px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid #dfe5eb;border-radius:0 0 12px 12px}.vendorWorkOrderActions{display:flex;justify-content:flex-start;margin:0 0 7px}.vendorPrintWorkOrder{width:32px;height:32px;padding:0;border-radius:8px;display:inline-grid;place-items:center;font-size:16px;cursor:pointer;background:#fff;color:#334155}.vendorPrintWorkOrder:hover{background:#f1f5f9;border-color:#94a3b8}.actionStack .printWorkOrder{color:#4b5563}.actionStack .printWorkOrder:hover{background:#eef2f7}.orderFormGrid .orderLinesManager{grid-column:1/-1}.orderFormGrid .imageUploadCard{grid-column:1/-1}.orderFormGrid .arcadeBuildCard{grid-column:1/-1}
@media(max-width:700px){.orderFlowHeader{margin-top:6px;padding:10px}.orderFormActions{bottom:64px}.vendorWorkOrderActions{justify-content:flex-end}.vendorPrintWorkOrder{width:40px;height:40px;font-size:18px}}
.actionCell{min-width:172px}
/* v131: quick customer creation from Production/Potential order entry */
.customerAccountControl{display:flex;gap:8px;align-items:stretch}.customerAccountControl select{flex:1;min-width:0}.quickAddCustomer{white-space:nowrap;flex:0 0 auto;padding:8px 11px;font-weight:800}.quickCustomerPanel{display:none;margin-top:10px;padding:12px;border:1px solid #cfd8e3;border-radius:10px;background:#f8fafc;box-shadow:0 8px 24px rgba(15,23,42,.06)}.quickCustomerPanel.on{display:block}.quickCustomerHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.quickCustomerHead b{display:block;font-size:13px}.quickCustomerHead span{display:block;color:#6b7280;font-size:11px;margin-top:2px}.quickCustomerClose{border:0;background:transparent;font-size:20px;line-height:1;padding:2px 5px;color:#64748b}.quickCustomerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quickCustomerGrid .span2{grid-column:1/-1}.quickCustomerGrid label{display:block;font-size:11px;font-weight:700;color:#5d636b;margin-bottom:4px}.quickCustomerGrid input,.quickCustomerGrid select,.quickCustomerGrid textarea{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.quickCustomerGrid textarea{min-height:66px;resize:vertical}.quickCustomerActions{display:flex;gap:8px;align-items:center;margin-top:9px}.quickCustomerPanel .smallstate{margin-top:8px}@media(max-width:600px){.customerAccountControl{flex-direction:column}.quickAddCustomer{width:100%}.quickCustomerGrid{grid-template-columns:1fr}.quickCustomerGrid .span2{grid-column:auto}.quickCustomerActions button{flex:1}}

/* v134 formal quote workflow */
.potentialAccepted{display:inline-block;padding:4px 8px;border-radius:999px;background:#e8f7ed;color:#216b36;font-size:11px;font-weight:800}
.potentialChanges{display:inline-block;padding:4px 8px;border-radius:999px;background:#eaf2fb;color:#245b94;font-size:11px;font-weight:800}
.potentialResponse{max-width:260px;margin-top:5px;white-space:normal;line-height:1.35}
.actionStack .quotePrintAction{width:auto;height:30px;padding:0 10px;border-radius:8px;font-size:11px;line-height:1;font-weight:800;white-space:nowrap;color:#4b5563;background:#fff;border-color:#cfd6de}
.actionStack .quotePrintAction:hover{background:#f1f5f9;border-color:#94a3b8}
.actionStack .convertQuoteAction{width:auto;height:30px;padding:0 10px;border-radius:8px;font-size:11px;line-height:1;font-weight:800;white-space:nowrap}
.quoteOnlyField{align-self:start}

/* v134.3 - cleaner Arcade Inventory workspace */
.inventoryPageHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:18px 0 12px}.inventoryPageTitle{font-size:20px;font-weight:800;color:#232a31;line-height:1.2}.inventoryPageHeader .sub{margin-top:4px}.inventoryPageActions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.inventoryFilters{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(145px,.7fr)) auto;gap:10px;align-items:end;background:#fff;border:1px solid #e3e6ea;border-radius:12px;padding:12px;margin:0 0 12px}.inventoryFilters label,.inventorySearchField{display:grid;gap:5px;font-size:11px;font-weight:800;color:#69717a;letter-spacing:.02em}.inventoryFilters input,.inventoryFilters select{width:100%;padding:9px 10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff;color:#232a31}.inventorySearchField span{display:block}.inventoryClearFilters{min-height:38px;white-space:nowrap}.inventoryListSummary{grid-column:1/-1;font-size:11px;color:#7c858e;margin-top:-2px}.inventoryKpis{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:12px}.inventoryKpis .kpi{padding:11px 12px;min-width:0}.inventoryKpis .kpi b{font-size:20px}.inventoryKpis .kpi span{font-size:11px}.inventoryKpiAttention{cursor:pointer}.inventoryKpiAttention:hover{border-color:#d8b47c;background:#fffaf0}.inventoryKpiShortage{cursor:pointer;position:relative}.inventoryKpiShortage:hover,.inventoryKpiShortage.hasShortage{border-color:#e1c58b;background:#fffaf0}.inventoryKpiShortage.hasMissingCost{border-color:#e1aaaa;background:#fff6f6}.inventoryKpiSub{font-size:9.5px!important;line-height:1.25;color:#8a6b2f!important;min-height:23px}.inventoryKpiShortage.hasMissingCost .inventoryKpiSub{color:#9b4040!important}.inventoryTableWrap{overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid #edf0f2;border-radius:10px}.inventoryTableClean{min-width:860px}.inventoryTableClean th{position:sticky;top:0;z-index:2;padding:9px 10px;background:#f7f9fb;border-bottom:1px solid #e1e6eb}.inventoryTableClean td{padding:10px;vertical-align:middle}.inventoryTableClean th:nth-child(1){width:31%}.inventoryTableClean th:nth-child(2){width:21%}.inventoryTableClean th:nth-child(3){width:14%}.inventoryTableClean th:nth-child(4){width:14%}.inventoryTableClean th:nth-child(5){width:12%}.inventoryTableClean th:nth-child(6){width:8%}.inventoryPartWrap{display:flex;align-items:center;gap:10px;min-width:0}.inventoryPartCopy{min-width:0}.inventoryPartName{display:block;font-size:13px;line-height:1.25;color:#242b33;margin-bottom:5px}.inventoryPartMeta{display:flex;gap:5px 8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#78818b}.inventoryMetaTag{border:1px solid #dfe4e9;border-radius:999px;padding:2px 6px;background:#f8fafb}.inventoryMetaTag.muted{color:#7a5c22;background:#fff9eb;border-color:#ead9ad}.inventoryStockCell{display:grid;gap:6px}.inventoryStockTop{display:flex;align-items:center;gap:8px}.inventoryAvailable{font-size:18px;line-height:1}.inventoryAvailable.ok{color:#245c3c}.inventoryAvailable.warn{color:#8a5b0b}.inventoryAvailable.danger{color:#9b1c1c}.inventoryStockBadge{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:3px 7px;border:1px solid}.inventoryStockBadge.ok{color:#286144;background:#eff8f2;border-color:#cfe7d8}.inventoryStockBadge.warn{color:#7a5310;background:#fff8e9;border-color:#ead4a4}.inventoryStockBadge.danger{color:#982525;background:#fff1f1;border-color:#efcaca}.inventoryStockMeta{display:flex;gap:4px 10px;flex-wrap:wrap;font-size:10.5px;color:#737d87}.inventoryBomRule,.inventoryStackedMeta{display:grid;gap:3px;font-size:11px}.inventoryBomRule b,.inventoryStackedMeta b{font-size:12px;color:#353d46}.inventoryBomRule span,.inventoryStackedMeta span{color:#77818b}.inventoryMuted{color:#9aa2aa;font-size:11px}.inventoryOrderLink{display:inline-flex;align-items:center;justify-content:center;width:max-content;margin-top:3px;padding:4px 8px;border:1px solid #c8d7e8;border-radius:7px;background:#f4f8fc;color:#255c91!important;font-size:11px!important;font-weight:800;text-decoration:none}.inventoryOrderLink:hover{background:#eaf2fa;border-color:#9db9d5;color:#164a7d!important}
.inventoryInactiveRow{opacity:.72;background:#fcfcfd}.inventoryEmpty{text-align:center!important;padding:28px!important;color:#7e8790}.inventoryActivityCard{padding:0;overflow:hidden}.inventoryActivityCard summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer}.inventoryActivityCard summary::-webkit-details-marker{display:none}.inventoryActivityCard summary>span:first-child{display:grid;gap:2px}.inventoryActivityHint{font-size:11px;font-weight:700;color:#6f7882}.inventoryActivityCard[open] .inventoryActivityHint{font-size:0}.inventoryActivityCard[open] .inventoryActivityHint:after{content:'Hide activity';font-size:11px}.inventoryActivityBody{border-top:1px solid #edf0f2;padding:12px 14px 14px}.inventoryTableClean tbody tr.inventoryItemRow:hover{background:#fbfcfe}.inventoryTableClean tbody tr.inventoryGroupRow:hover{background:transparent}
@media(max-width:1100px){.inventoryFilters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(140px,1fr));}.inventoryFilters label:nth-of-type(3){grid-column:auto}.inventoryClearFilters{justify-self:start}.inventoryKpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.inventoryPageHeader{flex-direction:column}.inventoryPageActions{width:100%;justify-content:flex-start}.inventoryFilters{grid-template-columns:1fr}.inventoryListSummary{grid-column:1}.inventoryKpis{grid-template-columns:repeat(2,minmax(0,1fr))}.inventoryTableClean{min-width:760px}}

/* v136 - quote upgrade pricing, freight, and discount */
.quoteDiscountRow{display:grid;grid-template-columns:1.1fr .9fr;gap:8px}.quoteCommercialPreview{padding:10px 12px;border:1px solid #dbe3ec;border-radius:10px;background:#f8fafc}.quoteCommercialPreview>div{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.quoteCommercialPreview span{font-size:12px;color:#59636f}.arcadeQuotePricing{border:1px solid #d8e0e8;border-radius:10px;background:#fbfcfe;padding:12px}.arcadeQuotePricingHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:9px}.arcadeQuotePricingTotal{font-size:15px;font-weight:900;white-space:nowrap;color:#173f67}.arcadeQuotePricingRows{display:grid;gap:7px}.arcadePricingRow{display:grid;grid-template-columns:minmax(190px,1.65fr) minmax(105px,.65fr) minmax(95px,.55fr) minmax(125px,.8fr) minmax(76px,.45fr);gap:7px;align-items:center;padding:8px;border:1px solid #e3e8ed;border-radius:8px;background:#fff}.arcadePricingIdentity{min-width:0}.arcadePricingIdentity b{display:block;font-size:12px;overflow-wrap:anywhere}.arcadePricingIdentity span{display:block;color:#77818b;font-size:10px;margin-top:2px}.arcadePricingRow select,.arcadePricingRow input{width:100%;padding:7px 8px;border:1px solid #d7dbe0;border-radius:7px;background:#fff;font-size:11px}.arcadePricingAmount{text-align:right;font-size:12px;font-weight:900;color:#245c3c}.arcadeQuoteConfiguredPrice{margin-top:9px;padding-top:9px;border-top:1px solid #e2e8ef;font-size:11px;color:#59636f}.arcadeQuoteConfiguredPrice b{color:#111827}.arcadeQuoteConfiguredPrice span{color:#7a838d}.inventoryQuotePrice{margin-top:2px;font-size:10px!important;font-weight:700;color:#66717d!important}.inventoryQuotePrice.addon{color:#245b94!important}@media(max-width:900px){.arcadePricingRow{grid-template-columns:1fr 1fr}.arcadePricingIdentity{grid-column:1/-1}.arcadePricingAmount{text-align:left}}@media(max-width:600px){.quoteDiscountRow{grid-template-columns:1fr}.arcadeQuotePricingHead{display:block}.arcadeQuotePricingTotal{margin-top:6px}.arcadePricingRow{grid-template-columns:1fr}.arcadePricingIdentity{grid-column:auto}.arcadePricingAmount{text-align:left}}

/* v137 - quote document library and pre-send attachment review */
.quoteDocumentsCard{margin-top:16px}
.quoteDocumentForm{margin-bottom:14px}
.quoteDocumentsTable td{vertical-align:top}
.quoteAttachmentModal{position:fixed;inset:0;background:rgba(15,23,42,.58);display:none;align-items:center;justify-content:center;padding:20px;z-index:1200}
.quoteAttachmentModal.on{display:flex}
.quoteAttachmentDialog{width:min(720px,100%);max-height:min(820px,92vh);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 28px 80px rgba(15,23,42,.28);padding:20px}
.quoteAttachmentHead{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #e2e8f0;padding-bottom:12px;margin-bottom:12px}
.quoteAttachmentHead h2{margin:2px 0 4px;font-size:22px}
.quoteAttachmentClose{width:38px;height:38px;border-radius:50%;font-size:22px;line-height:1;padding:0}
.quoteAttachmentList{display:grid;gap:8px;margin:10px 0 14px}
.quoteAttachmentChoice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #dbe2ea;border-radius:10px;padding:10px 12px;background:#fff;cursor:pointer}
.quoteAttachmentChoice.suggested{border-color:#9fb5cf;background:#f8fbff}
.quoteAttachmentChoice input{width:18px;height:18px;margin:0}
.quoteAttachmentChoiceMain{display:flex;flex-direction:column;gap:2px;min-width:0}
.quoteAttachmentChoiceMain b{font-size:13px}
.quoteAttachmentChoiceMain small{color:#64748b;overflow-wrap:anywhere}
.quoteAttachmentChoiceMain em{font-size:11px;color:#235b3a;font-style:normal;font-weight:700}
.quoteAttachmentChoice>a{white-space:nowrap;font-size:12px}
.quoteAttachmentEmpty{padding:16px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;background:#f8fafc}
.quoteManualAttachment{border-top:1px solid #e2e8f0;padding-top:14px;margin-top:4px}
.quoteManualAttachment label{display:block;font-weight:800;margin-bottom:6px}
.quoteManualAttachment input{width:100%}
.quoteAttachmentActions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
@media(max-width:620px){.quoteAttachmentModal{padding:8px}.quoteAttachmentDialog{padding:14px;border-radius:10px}.quoteAttachmentChoice{grid-template-columns:auto minmax(0,1fr)}.quoteAttachmentChoice>a{grid-column:2}.quoteAttachmentActions{flex-direction:column}.quoteAttachmentActions button{width:100%}}

/* v137.1 compact workspace tabs */
.sectionSubTabs{display:flex;align-items:center;gap:6px;margin:14px 0 12px;padding:4px;width:max-content;max-width:100%;overflow:auto;background:#eef2f5;border:1px solid #dde3e8;border-radius:10px;-webkit-overflow-scrolling:touch}
.sectionSubTabs button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 12px;border:0;border-radius:7px;background:transparent;color:#626c76;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:none}
.sectionSubTabs button:hover{background:#f8fafb;color:#27313a}
.sectionSubTabs button.active{background:#fff;color:#1f2a33;box-shadow:0 1px 3px rgba(29,40,51,.12)}
.sectionTabCount{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#e7edf3;color:#66717c;font-size:10px;line-height:1}
.sectionSubTabs button.active .sectionTabCount{background:#eaf2fa;color:#275c8c}
.sectionTabCount:empty{display:none}
.sectionSubPanel{display:none}
.sectionSubPanel.on{display:block}
#catalogMainPanel>.catalogCard,#catalogDocumentsPanel>.catalogCard{margin-bottom:0}
#inventoryActivityPanel .inventoryActivityCard{margin-bottom:0}
#inventoryActivityPanel .inventoryActivityCard[open] .inventoryActivityHint{display:none}
@media(max-width:600px){.sectionSubTabs{width:100%}.sectionSubTabs button{flex:1;justify-content:center}.sectionSubTabs button{font-size:11px;padding:7px 9px}}

/* v138 inventory classification */
.inventoryMetaTag.role{color:#325d7b;background:#eef6fb;border-color:#c9ddea}
.inventoryCategoriesCard{padding:14px}
.inventoryCategoryHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.inventoryCategoryHead .sub{margin-top:3px;max-width:760px}
.inventoryCategoryForm{margin:0 0 12px}
.inventoryCategoryTableWrap{overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid #edf0f2;border-radius:10px}
.inventoryCategoryTable{min-width:680px}
.inventoryCategoryTable th:nth-child(1){width:42%}.inventoryCategoryTable th:nth-child(2){width:10%}.inventoryCategoryTable th:nth-child(3){width:14%}.inventoryCategoryTable th:nth-child(4){width:10%}.inventoryCategoryTable th:nth-child(5){width:12%}
@media(max-width:620px){.inventoryCategoryHead{flex-direction:column}.inventoryCategoryHead button{width:100%}}

/* v138.2 - simplified Arcade pricing editor */
.arcadeQuotePricing{padding:13px 14px;background:#fbfcfe}.arcadeQuotePricingHead{align-items:center;margin-bottom:10px}.arcadeQuotePricingHead .sub{max-width:650px}.arcadeQuotePricingTotal{padding:6px 10px;border-radius:999px;background:#eef5fb;border:1px solid #cfdeeb;font-size:12px;color:#204f7a}.arcadeQuotePricingRows{gap:10px}.arcadePricingGroup{border:1px solid #dde5ed;border-radius:10px;background:#fff;overflow:hidden}.arcadePricingGroupHead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;background:#f5f8fb;border-bottom:1px solid #e4eaf0}.arcadePricingGroupHead>div{display:grid;gap:1px}.arcadePricingGroupHead b{font-size:12px}.arcadePricingGroupHead span{font-size:10px;color:#75808c}.arcadePricingGroupHead strong{font-size:11px;color:#235b8e;white-space:nowrap}.arcadePricingGroupRows,.arcadePricingStandardRows{display:grid;gap:0}.arcadePricingRow{display:grid;grid-template-columns:minmax(185px,1.65fr) minmax(118px,.75fr) minmax(115px,.72fr) minmax(72px,.45fr);gap:8px;align-items:center;padding:9px 10px;border:0;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff}.arcadePricingRow:last-child{border-bottom:0}.arcadePricingIdentity b{font-size:12px}.arcadePricingIdentity span{font-size:10px;color:#7c8791}.arcadePricingTreatmentWrap,.arcadePricingChargeWrap{display:grid;gap:3px;margin:0}.arcadePricingTreatmentWrap>span,.arcadePricingChargeWrap>span,.arcadePricingAdvancedBody label>span,.arcadePricingCost>span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#8a949f}.arcadePricingRow select,.arcadePricingRow input{padding:7px 8px;font-size:11px}.arcadePricingMoneyInput{display:grid;grid-template-columns:auto 1fr;align-items:center;border:1px solid #d7dbe0;border-radius:7px;background:#fff;overflow:hidden}.arcadePricingMoneyInput>span{padding-left:8px;font-size:11px;color:#66717d}.arcadePricingMoneyInput input{border:0!important;border-radius:0!important;padding-left:4px!important;min-width:0}.arcadePricingChargeWrap small{font-size:9px;color:#7c8791}.arcadePricingRow:not(.isAddon) .arcadePricingChargeWrap{visibility:hidden}.arcadePricingAmount{font-size:11px;color:#52606d}.arcadePricingRow.isAddon .arcadePricingAmount{color:#245c3c}.arcadePricingAdvanced{grid-column:1/-1;margin-top:-2px}.arcadePricingAdvanced summary{display:inline-flex;align-items:center;gap:4px;cursor:pointer;font-size:9.5px;font-weight:800;color:#6d7782;user-select:none}.arcadePricingAdvanced summary:hover{color:#315b83}.arcadePricingAdvancedBody{display:flex;gap:12px;align-items:end;padding:7px 0 1px}.arcadePricingAdvancedBody label{display:grid;gap:3px;min-width:150px}.arcadePricingCost{display:grid;gap:1px;padding-bottom:3px}.arcadePricingCost b{font-size:11px}.arcadePricingCost small{font-size:9px;color:#7c8791}.arcadePricingStandardGroup{border:1px solid #e2e8ee;border-radius:10px;background:#fff;overflow:hidden}.arcadePricingStandardGroup>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;background:#fafbfc;cursor:pointer;list-style:none}.arcadePricingStandardGroup>summary::-webkit-details-marker{display:none}.arcadePricingStandardGroup>summary>span{display:grid;gap:1px}.arcadePricingStandardGroup>summary b{font-size:11px}.arcadePricingStandardGroup>summary small{font-size:9.5px;color:#7d8791}.arcadePricingStandardGroup>summary strong{font-size:10px;color:#6b7580}.arcadePricingStandardGroup[open]>summary{border-bottom:1px solid #e7ebef}.arcadePricingNoUpgrades,.arcadePricingEmpty{padding:11px;color:#75808b;font-size:11px}.arcadeQuoteConfiguredPrice{margin-top:10px;padding-top:10px}.arcadePricingTotals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.arcadePricingTotals>div{display:grid;gap:2px;padding:7px 9px;border:1px solid #e1e7ed;border-radius:8px;background:#fff}.arcadePricingTotals span{font-size:9.5px;color:#77818b}.arcadePricingTotals b{font-size:12px}.arcadePricingTotals .arcadePricingConfiguredTotal{border-color:#bfd3e6;background:#f4f9fd}.arcadePricingTotals .arcadePricingConfiguredTotal b{font-size:14px;color:#173f67}.arcadePricingCostDetails{margin-top:6px}.arcadePricingCostDetails summary{cursor:pointer;font-size:9.5px;font-weight:800;color:#77818b}.arcadePricingCostDetails>span{display:block;margin-top:5px;font-size:10px;color:#68737e}
@media(max-width:900px){.arcadePricingRow{grid-template-columns:minmax(160px,1.4fr) minmax(110px,.8fr) minmax(105px,.75fr) minmax(68px,.5fr)}.arcadePricingIdentity{grid-column:auto}.arcadePricingAmount{text-align:right}}
@media(max-width:650px){.arcadeQuotePricingHead{display:grid}.arcadeQuotePricingTotal{width:max-content}.arcadePricingRow{grid-template-columns:1fr 1fr}.arcadePricingIdentity{grid-column:1/-1}.arcadePricingAmount{text-align:right}.arcadePricingAdvanced{grid-column:1/-1}.arcadePricingTotals{grid-template-columns:1fr}.arcadePricingGroupHead{align-items:flex-start}.arcadePricingAdvancedBody{align-items:stretch;flex-direction:column}}

/* v139 - quantity-aware repeatable Arcade extras */
.arcExtraRows{display:grid;gap:7px;margin-top:5px}.arcExtraRow{display:grid;grid-template-columns:minmax(0,1fr) 82px 38px;gap:7px;align-items:end;padding:7px;border:1px solid #e0e6ec;border-radius:9px;background:#fff}.arcExtraRow select,.arcExtraRow input{width:100%;padding:8px 9px;border:1px solid #d7dbe0;border-radius:7px;background:#fff}.arcExtraQtyWrap{display:grid;gap:3px;margin:0}.arcExtraQtyWrap span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7a8590}.arcExtraRemove{padding:8px 0;min-height:36px;font-size:18px;line-height:1;color:#8a2525;background:#fff}.arcAddExtra{margin-top:7px;padding:8px 11px;font-size:11px;font-weight:800}.arcExtraEmpty{padding:8px 10px;border:1px dashed #d7dfe7;border-radius:8px;color:#74808b;font-size:11px;background:#fafbfc}@media(max-width:550px){.arcExtraRow{grid-template-columns:minmax(0,1fr) 72px 38px}}

/* v139.2 - aligned Arcade pricing columns */
.arcadePricingColumnHead{display:grid;grid-template-columns:minmax(210px,1.7fr) 128px 132px 92px;gap:12px;align-items:end;padding:7px 12px 5px;border-bottom:1px solid #e7edf2;background:#fbfcfd}.arcadePricingColumnHead span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;color:#89939d}.arcadePricingColumnHead span:last-child{text-align:right}.arcadePricingRow{grid-template-columns:minmax(210px,1.7fr) 128px 132px 92px;gap:12px;padding:9px 12px;align-items:center}.arcadePricingIdentity{padding-right:4px}.arcadePricingIdentity b{line-height:1.25}.arcadePricingIdentity span{line-height:1.3;margin-top:3px}.arcadePricingTreatmentWrap,.arcadePricingChargeWrap{min-width:0}.arcadePricingFieldLabel{display:none!important}.arcadePricingRow select,.arcadePricingRow input{height:34px;padding:6px 8px;font-size:11px;line-height:20px}.arcadePricingMoneyInput{height:34px}.arcadePricingMoneyInput>span{padding-left:9px}.arcadePricingChargeWrap small{height:12px;margin-top:2px;line-height:12px;text-transform:capitalize}.arcadePricingAmount{display:flex;justify-content:flex-end;align-items:center;min-height:34px;text-align:right}.arcadePricingAmount b{font-size:11px;white-space:nowrap}.arcadePricingRow.isAddon .arcadePricingAmount b{font-size:12px}.arcadePricingAdvanced{margin-top:0;padding-top:1px}.arcadePricingAdvanced summary{padding:1px 0 2px}.arcadePricingAdvancedBody{padding:8px 0 2px;border-top:1px dashed #edf1f4;margin-top:4px}.arcadePricingStandardRows .arcadePricingColumnHead{background:#fafbfc}.arcadePricingNoUpgrades{padding:12px}.arcadePricingGroupHead{padding:10px 12px}.arcadePricingStandardGroup>summary{padding:10px 12px}
@media(max-width:980px){.arcadePricingColumnHead,.arcadePricingRow{grid-template-columns:minmax(180px,1.45fr) 118px 124px 80px;gap:9px}}
@media(max-width:720px){.arcadePricingColumnHead{display:none}.arcadePricingRow{grid-template-columns:minmax(0,1fr) minmax(120px,.65fr);gap:8px 10px;align-items:end}.arcadePricingIdentity{grid-column:1/-1}.arcadePricingFieldLabel{display:block!important;font-size:9px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#8a949f!important;margin-bottom:3px}.arcadePricingChargeWrap{grid-column:1/2}.arcadePricingAmount{grid-column:2/3;display:grid;justify-items:end;align-items:end;min-height:0;padding-bottom:5px}.arcadePricingAdvanced{grid-column:1/-1}.arcadePricingRow:not(.isAddon) .arcadePricingChargeWrap{visibility:hidden}.arcadePricingAdvancedBody{align-items:stretch;flex-direction:column}.arcadePricingTreatmentWrap{grid-column:1/2}.arcadePricingRow.isAddon .arcadePricingTreatmentWrap{grid-column:1/2}.arcadePricingRow.isAddon .arcadePricingChargeWrap{grid-column:2/3}.arcadePricingRow.isAddon .arcadePricingAmount{grid-column:1/-1;display:flex;justify-content:space-between;padding:0}.arcadePricingRow.isAddon .arcadePricingAmount .arcadePricingFieldLabel{margin:0}.arcadePricingGroupHead{align-items:flex-start}}
@media(max-width:480px){.arcadePricingRow{grid-template-columns:1fr}.arcadePricingIdentity,.arcadePricingTreatmentWrap,.arcadePricingChargeWrap,.arcadePricingAmount,.arcadePricingAdvanced,.arcadePricingRow.isAddon .arcadePricingTreatmentWrap,.arcadePricingRow.isAddon .arcadePricingChargeWrap,.arcadePricingRow.isAddon .arcadePricingAmount{grid-column:1/-1}.arcadePricingAmount,.arcadePricingRow.isAddon .arcadePricingAmount{justify-content:space-between;justify-items:stretch;text-align:left;padding:0}.arcadePricingRow:not(.isAddon) .arcadePricingChargeWrap{display:none}.arcadePricingTotals{grid-template-columns:1fr}}


/* v139.3 - internal quote gross-margin reference */
.arcadePricingCostDetails{border-top:1px solid #e6ebef;padding-top:8px}.arcadePricingCostDetails[open]>summary{margin-bottom:8px}.arcadeMarginGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.arcadeMarginGrid section{display:grid;gap:0;border:1px solid #dfe6ec;border-radius:8px;background:#fff;overflow:hidden}.arcadeMarginGrid section>div{display:flex;justify-content:space-between;gap:12px;padding:5px 8px;border-top:1px solid #edf1f4;font-size:10px}.arcadeMarginGrid section>div:first-child{border-top:0}.arcadeMarginTitle{align-items:baseline;background:#f8fafc}.arcadeMarginTitle b{font-size:11px}.arcadeMarginTitle span{font-size:9px;color:#7a8590;text-align:right}.arcadeMarginGrid section>div>span{color:#68737e}.arcadeMarginGrid section>div>b{font-size:10.5px;color:#26323d;white-space:nowrap}.arcadeMarginEmphasis{background:#f4f9fd}.arcadeMarginEmphasis b{font-size:12px!important;color:#173f67!important}.arcadeMarginNote{margin-top:6px;font-size:9px;line-height:1.35;color:#7a8590}@media(max-width:650px){.arcadeMarginGrid{grid-template-columns:1fr}}

/* v140 catalog model pricing workspace */
.catalogModelPricingTools{margin:0 0 10px;padding:10px 12px;border:1px solid #d8e1ea;border-radius:10px;background:#f8fafc}
.catalogModelPricingTools[hidden]{display:none!important}
.catalogModelPricingSummary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.catalogModelPricingSummary b{font-size:13px}.catalogModelPricingSummary span{font-size:11px;color:#5d636b;padding:3px 7px;border-radius:999px;background:#fff;border:1px solid #e1e6eb}
.catalogBulkPricingControls{display:grid;grid-template-columns:minmax(230px,1fr) 120px auto auto auto;gap:7px;align-items:center}.catalogBulkPricingControls select,.catalogBulkPricingControls input{min-height:38px;padding:8px 9px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.catalogBulkPricingControls button{min-height:38px;white-space:nowrap}
.catalogPricingHelp{margin-top:7px;font-size:11px;color:#66717d;line-height:1.35}
.catalogTable .catalogSelectCol{width:34px;text-align:center;padding-left:6px;padding-right:6px}.catalogSelectCol input{width:16px;height:16px;margin:0}
.catalogTable .catalogModelRow td{vertical-align:middle}.catalogTable .catalogModelRow.pricingDirty{background:#fffdf3}.catalogTable .catalogModelRow.pricingDirty:hover{background:#fff9dc}
.catalogInlinePrice{display:grid;grid-template-columns:15px minmax(88px,120px);align-items:center;gap:3px}.catalogInlinePrice>span{font-size:12px;color:#6b7280;text-align:right}.catalogInlinePrice input{width:100%;min-width:88px;padding:7px 8px;border:1px solid #cfd5dc;border-radius:7px;background:#fff;font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.catalogInlinePrice input:focus{outline:none;border-color:#7fa7ca;box-shadow:0 0 0 2px rgba(57,111,158,.12)}
.catalogInheritedPrice,.catalogOverridePrice{display:block;margin-top:3px;font-size:9px;line-height:1.2;white-space:nowrap}.catalogInheritedPrice{color:#7b8490}.catalogOverridePrice{color:#365d7b;font-weight:700}.catalogModelMargin{min-width:88px}.catalogModelMargin b{display:block;font-size:13px;font-variant-numeric:tabular-nums}.catalogModelMargin small{display:block;margin-top:2px;color:#7b8490;font-size:9px;white-space:nowrap}.catalogMarginMissing{color:#9aa1a9}
@media(min-width:901px){.catalogTable:has(.catalogModelRow){min-width:1120px}.catalogTable:has(.catalogModelRow) th:nth-child(3){min-width:170px}.catalogTable:has(.catalogModelRow) th:nth-child(4){min-width:120px}.catalogTable:has(.catalogModelRow) th:nth-child(5){min-width:120px}}
@media(max-width:900px){.catalogBulkPricingControls{grid-template-columns:1fr 120px}.catalogBulkPricingControls button{width:100%}.catalogPricingHelp{font-size:10px}}
@media(max-width:550px){.catalogBulkPricingControls{grid-template-columns:1fr}.catalogBulkPricingControls select,.catalogBulkPricingControls input,.catalogBulkPricingControls button{width:100%}.catalogModelPricingSummary{align-items:flex-start}.catalogInlinePrice{grid-template-columns:14px minmax(96px,1fr)}}

/* v140.2 - unified production/quote gross-margin KPI coverage */
.kpi.marginPartial,.potentialKpiCard.marginPartial{border-color:#e3c88e;background:#fffaf0}.marginCoverageBreakdown{display:none;background:#fff;border:1px solid #d9e1ea;border-radius:14px;padding:14px;margin:-4px 0 16px;box-shadow:0 7px 24px rgba(15,23,42,.06)}.marginCoverageBreakdown.on{display:block}.marginCoverageHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.marginCoverageHead b{font-size:15px}.marginCoverageHead button{padding:5px 9px;font-size:18px;line-height:1;cursor:pointer}.marginCoverageRows{display:grid;gap:8px}.marginCoverageRow{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.5fr);gap:12px;align-items:center;padding:10px 11px;border:1px solid #edf0f2;border-radius:10px;background:#fafbfc}.marginCoverageRow>div{min-width:0}.marginCoverageRow span{display:block;color:#777;font-size:10px;margin-top:2px}.marginCoverageRow b{display:block;font-size:12px;overflow-wrap:anywhere}.marginCoverageEmpty{padding:14px;border:1px solid #dce8df;border-radius:10px;background:#f6fbf7;color:#46614d;font-size:12px}.marginCoverageTotal{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f2;color:#666;font-size:11px;flex-wrap:wrap}.marginCoverageTotal b{color:#9b5f14}.potentialKpiCard.kpiClickable{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.potentialKpiCard.kpiClickable:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,23,42,.08);border-color:#cbd3dc}.potentialKpiCard.kpiClickable:focus-visible{outline:3px solid rgba(36,99,169,.22);outline-offset:2px}
@media(max-width:700px){.marginCoverageBreakdown{margin:0 0 12px;padding:11px}.marginCoverageHead{align-items:center}.marginCoverageRow{grid-template-columns:1fr;gap:7px}.marginCoverageRow>div+div{padding-top:7px;border-top:1px solid #edf0f2}.marginCoverageTotal{align-items:flex-start}}

/* v141 quote receipt + progress */
.quoteProgress{min-width:210px;max-width:260px}.quoteProgressTrack{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;align-items:start}.quoteProgressStep{position:relative;display:grid;grid-template-rows:8px auto;gap:4px;min-width:0;color:#9aa2ad;font-size:9px;font-weight:700;text-align:center}.quoteProgressStep::before{content:"";position:absolute;left:-50%;right:50%;top:3px;height:2px;background:#e1e5ea;z-index:0}.quoteProgressStep:first-child::before{display:none}.quoteProgressStep i{display:block;width:8px;height:8px;border-radius:50%;margin:0 auto;background:#d8dde3;position:relative;z-index:1;box-shadow:0 0 0 2px #fff}.quoteProgressStep em{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quoteProgressStep.done{color:#315f43}.quoteProgressStep.done i{background:#3f8b5c}.quoteProgressStep.done::before{background:#8ec4a2}.quoteProgressStep.current i{box-shadow:0 0 0 3px #dff2e6}.quoteProgressCurrent{margin-top:6px;font-size:11px;font-weight:800;color:#374151}.quoteProgressAlert{margin-top:5px;font-size:10px;font-weight:800}.quoteProgressAlert.error{color:#9b1c1c}.quoteProgressAlert.changes{color:#245b94}.potentialTable td[data-label="Quote progress"]>.sub{margin-top:5px;line-height:1.3}.potentialTable th:nth-child(6){min-width:230px}@media(max-width:760px){.quoteProgress{max-width:none}.quoteProgressTrack{max-width:320px}.potentialTable th:nth-child(6){min-width:0}}
.inventorySizeRuleField{grid-column:span 2}.inventorySizeMulti{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;border:1px solid #d7dbe0;border-radius:8px;background:#fff;max-height:170px;overflow:auto}.inventorySizeChoice{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:7px 8px;border:1px solid #e4e8ec;border-radius:7px;background:#fafbfc;font-size:12px!important;font-weight:600!important;color:#3f4750!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}.inventorySizeChoice:hover{background:#f3f6f8;border-color:#cfd6dd}.inventorySizeChoice input{width:auto!important;margin:0;flex:0 0 auto}.inventorySizeChoice span{min-width:0;overflow-wrap:anywhere}.inventorySizeChoice small{font-size:9px;color:#9a6b23;text-transform:uppercase;letter-spacing:.04em}.inventorySizeChoice.inactive{background:#fff9ed;border-color:#ead9ad}.inventorySizeEmpty{grid-column:1/-1;padding:8px;color:#8a929b;font-size:11px;text-align:center}@media(max-width:700px){.inventorySizeRuleField{grid-column:span 1}.inventorySizeMulti{grid-template-columns:1fr}}


/* v141.5 Arcade build selector: compact, grouped, and easier to scan. */
.arcadeBuildCard{padding:16px 18px}.arcadeBuildHead{margin-bottom:10px}.arcadeBuildGrid{grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px;align-items:start}.arcadeBuildGrid>div{min-width:0}.arcadeBuildSection{grid-column:1/-1;display:flex;align-items:baseline;gap:9px;padding:8px 0 5px;margin-top:3px;border-bottom:1px solid #dfe5eb}.arcadeBuildSection:first-child{margin-top:0}.arcadeBuildSection b{font-size:12px;color:#111827}.arcadeBuildSection span{font-size:10px;color:#6b7280}.arcadeFieldCompact{grid-column:span 2}.arcadeFieldMedium{grid-column:span 3}.arcadeWide{grid-column:1/-1}.arcadeBuildGrid input[type=number]{max-width:96px}.arcadeBuildGrid .arcadePlayerColors,.arcadeBuildGrid .arcadeInventoryStatus{grid-column:1/-1}.arcadeBuildGrid .arcadeQuotePricing{grid-column:1/-1}.arcadeBuildGrid .arcExtraRows{max-width:920px}.arcadeBuildGrid textarea{min-height:62px}.arcadeBuildGrid #arcBuildNotes{max-width:920px}.arcadeBuildGrid #arcPlayerLayout,.arcadeBuildGrid #arcTrackballItem{max-width:250px}@media(max-width:1100px){.arcadeFieldCompact{grid-column:span 3}.arcadeFieldMedium{grid-column:span 4}}@media(max-width:760px){.arcadeBuildGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.arcadeBuildSection,.arcadeWide,.arcadePlayerColors,.arcadeInventoryStatus,.arcadeQuotePricing{grid-column:1/-1!important}.arcadeFieldCompact,.arcadeFieldMedium{grid-column:span 1}.arcadeBuildSection{display:block}.arcadeBuildSection span{display:block;margin-top:2px}.arcadeBuildGrid #arcPlayerLayout,.arcadeBuildGrid #arcTrackballItem{max-width:none}}@media(max-width:550px){.arcadeBuildGrid{grid-template-columns:1fr}.arcadeFieldCompact,.arcadeFieldMedium{grid-column:1/-1}.arcadeBuildGrid input[type=number]{max-width:120px}}

/* v141.6 inventory page: category tabs, compact editor tabs, and contained table scrolling. */
.inventoryQuickTabs{display:flex;align-items:center;gap:6px;margin:0 0 10px;padding:3px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.inventoryQuickTabs button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:32px;padding:6px 10px;border:1px solid #dde3e8;border-radius:999px;background:#fff;color:#56616c;font-size:11px;font-weight:800;white-space:nowrap}
.inventoryQuickTabs button span{display:inline-grid;place-items:center;min-width:21px;height:19px;padding:0 5px;border-radius:999px;background:#eef2f5;color:#65717b;font-size:10px}
.inventoryQuickTabs button:hover{background:#f7f9fb;border-color:#c9d2da}.inventoryQuickTabs button.active{background:#23313d;border-color:#23313d;color:#fff}.inventoryQuickTabs button.active span{background:rgba(255,255,255,.18);color:#fff}.inventoryQuickTabs button.attention:not(.active){border-color:#e2c991;background:#fff9ec;color:#80570d}.inventoryQuickTabs button.attention:not(.active) span{background:#f5e7c9;color:#80570d}
.inventoryItemFormTabs{display:flex;gap:5px;margin:0 0 10px;padding:4px;overflow:auto;background:#eef2f5;border:1px solid #dfe4e9;border-radius:9px;-webkit-overflow-scrolling:touch}
.inventoryItemFormTabs button{flex:0 0 auto;min-height:32px;padding:6px 10px;border:0;border-radius:6px;background:transparent;color:#626d78;font-size:11px;font-weight:800;white-space:nowrap;box-shadow:none}.inventoryItemFormTabs button:hover{background:#f9fafb;color:#27313a}.inventoryItemFormTabs button.active{background:#fff;color:#1f2a33;box-shadow:0 1px 3px rgba(29,40,51,.12)}
.inventoryItemFormPanel{display:none}.inventoryItemFormPanel.on{display:block}.inventoryGridTabbed{grid-template-columns:repeat(3,minmax(150px,1fr));align-items:start}.inventoryGridTabbed .inventorySizeRuleField,.inventoryGridTabbed .inventoryImageField,.inventoryGridTabbed>div[style*="grid-column:1/-1"]{grid-column:1/-1}.inventoryGridTabbed textarea{min-height:84px}
#inventoryPartsPanel>.inventoryCard{margin-bottom:8px}.inventoryTableWrap{max-height:62vh;overflow:auto}.inventoryTableClean th{top:0}.inventoryGroupRow td{position:sticky;top:34px;z-index:1;background:#f1f4f7!important;box-shadow:0 1px 0 #e0e5ea}.inventoryCard .inventoryTableClean td{padding-top:8px;padding-bottom:8px}
@media(max-width:900px){.inventoryGridTabbed{grid-template-columns:repeat(2,minmax(140px,1fr))}.inventoryTableWrap{max-height:58vh}}
@media(max-width:600px){.inventoryItemFormTabs{width:100%}.inventoryGridTabbed{grid-template-columns:1fr}.inventoryGridTabbed .inventorySizeRuleField,.inventoryGridTabbed .inventoryImageField,.inventoryGridTabbed>div[style*="grid-column:1/-1"]{grid-column:1}.inventoryTableWrap{max-height:64vh}.inventoryGroupRow td{top:33px}}

/* v141.7 inventory part-to-order drill-down. */
.inventoryPartLink{display:inline;padding:0;border:0;background:transparent;color:#244f75;font:inherit;font-weight:800;text-align:left;cursor:pointer;box-shadow:none;text-decoration:underline;text-decoration-color:#b9cad9;text-underline-offset:2px}
.inventoryPartLink:hover{color:#123b60;text-decoration-color:currentColor;background:transparent}.inventoryPartLink:focus-visible{outline:2px solid #79a7cc;outline-offset:3px;border-radius:3px}
.inventoryPartUsageModal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(21,29,37,.55);backdrop-filter:blur(2px)}.inventoryPartUsageModal.on{display:flex}
.inventoryPartUsageDialog{width:min(1040px,96vw);max-height:88vh;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #d9e0e6;border-radius:14px;box-shadow:0 24px 70px rgba(16,24,32,.28)}
.inventoryPartUsageHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px 14px;border-bottom:1px solid #e7ebef}.inventoryPartUsageEyebrow{font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#75818c}.inventoryPartUsageHead h3{margin:2px 0 3px;font-size:20px}.inventoryPartUsageClose{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;padding:0;border-radius:9px;font-size:22px;line-height:1}
.inventoryPartUsageSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 20px;background:#f7f9fb;border-bottom:1px solid #e5eaee}.inventoryPartUsageSummary>div{display:grid;gap:2px;padding:9px 11px;background:#fff;border:1px solid #e1e6eb;border-radius:9px}.inventoryPartUsageSummary span{font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#7c8792}.inventoryPartUsageSummary b{font-size:16px}.inventoryPartUsageSummary b.danger{color:#9c2e2e}
.inventoryPartUsageBody{overflow:auto;padding:16px 20px 20px}.inventoryUsageSection{display:grid;gap:9px}.inventoryUsageSectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.inventoryUsageSectionHead>div{display:grid;gap:2px}.inventoryUsageSectionHead b{font-size:13px}.inventoryUsageSectionHead span{font-size:10px;color:#74808b}.inventoryUsageSectionHead strong{font-size:11px;color:#315d82;white-space:nowrap}
.inventoryUsageTableWrap{overflow:auto;border:1px solid #e1e6eb;border-radius:10px}.inventoryUsageTable{width:100%;min-width:820px;border-collapse:collapse;font-size:11px}.inventoryUsageTable.compact{min-width:620px}.inventoryUsageTable th{position:sticky;top:0;z-index:1;padding:8px 9px;background:#f3f6f8;border-bottom:1px solid #dde3e8;color:#65717c;font-size:9px;text-transform:uppercase;letter-spacing:.04em;text-align:left}.inventoryUsageTable td{padding:9px;border-bottom:1px solid #edf0f3;vertical-align:top}.inventoryUsageTable tr:last-child td{border-bottom:0}.inventoryUsageTable td>span{display:block;margin-top:2px;font-size:9.5px;color:#7a858f}.inventoryUsageOrderLink{padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}
.inventoryUsageEmpty{display:grid;gap:3px;padding:16px;border:1px dashed #d7dee5;border-radius:10px;background:#fafbfc}.inventoryUsageEmpty b{font-size:12px}.inventoryUsageEmpty span{font-size:10px;color:#77828d}.inventoryUsageHistory{margin-top:14px;border-top:1px solid #e6eaee;padding-top:12px}.inventoryUsageHistory>summary{display:flex;align-items:center;gap:7px;width:max-content;cursor:pointer;font-size:11px;font-weight:800;color:#51606d}.inventoryUsageHistory>summary span{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:999px;background:#edf1f4;font-size:9px}.inventoryUsageHistory[open] .inventoryUsageTableWrap{margin-top:9px}
@media(max-width:700px){.inventoryPartUsageModal{padding:8px;align-items:flex-end}.inventoryPartUsageDialog{width:100%;max-height:92vh;border-radius:14px 14px 0 0}.inventoryPartUsageHead{padding:14px 14px 11px}.inventoryPartUsageSummary{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 14px}.inventoryPartUsageBody{padding:13px 14px 16px}.inventoryUsageSectionHead{align-items:flex-start;flex-direction:column;gap:4px}}

/* v141.9 inventory required-part dependencies. */
.inventoryDependencyField{grid-column:1/-1}
.inventoryDependencyHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:8px}.inventoryDependencyHead label{margin:0}
.inventoryDependencyRows{display:grid;gap:7px}.inventoryDependencyRow{display:grid;grid-template-columns:minmax(220px,1.5fr) 90px minmax(150px,.7fr) 38px;gap:7px;align-items:end;padding:8px;border:1px solid #e1e6eb;border-radius:8px;background:#fafbfc}.inventoryDependencyRow label{display:grid;gap:4px}.inventoryDependencyRow label>span{font-size:10px;font-weight:800;color:#69717a;text-transform:uppercase;letter-spacing:.03em}.inventoryDependencyRow select,.inventoryDependencyRow input{width:100%}.inventoryDependencyRemove{min-height:36px;padding:4px 8px}.inventoryDependencyEmpty{padding:12px;border:1px dashed #d5dce3;border-radius:8px;color:#7c8792;font-size:11px;background:#fff}.inventoryDependencySummary{margin-top:4px;padding-top:4px;border-top:1px solid #e8ecef;font-size:10px!important;line-height:1.35}.inventoryDependencySummary strong{color:#53606c}
@media(max-width:700px){.inventoryDependencyHead{display:grid}.inventoryDependencyRow{grid-template-columns:1fr 88px}.inventoryDependencyRow label:first-child{grid-column:1/-1}.inventoryDependencyRow label:nth-child(3){grid-column:1/-1}.inventoryDependencyRemove{grid-column:2}}

/* v141.11 quote list margin */
.quoteMarginValue{display:grid;gap:2px;min-width:132px;white-space:nowrap}.quoteMarginValue b{font-size:13px}.quoteMarginValue span{font-size:10px;color:#6b7280;font-weight:600}.quoteMarginValue.partial{opacity:.82}.potentialMargin{vertical-align:middle}

/* v141.13 Information Sheets */
.infoSheetsCard{display:grid;gap:14px}.infoSheetForm{display:none;border:1px solid #dfe4ea;border-radius:12px;background:#fff;padding:16px}.infoSheetForm.on{display:block}.infoSheetFormHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.infoSheetGrid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:12px}.infoSheetGrid .span2{grid-column:1/-1}.infoSheetGrid label,.infoSheetSection label{display:block;font-weight:700;margin-bottom:5px}.infoSheetGrid input,.infoSheetGrid select,.infoSheetGrid textarea{width:100%}.infoSheetSection{margin-top:16px;padding-top:14px;border-top:1px solid #e5e7eb}.infoSheetSectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.infoSheetProductRow{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(150px,1fr) minmax(150px,1fr) auto;gap:8px;margin-bottom:8px;align-items:center}.infoSheetProductRow select{min-width:0}.infoSheetDocuments{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}.infoSheetDocChoice{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.infoSheetDocChoice.suggested{border-color:#9fb8d6;background:#f7fbff}.infoSheetDocChoice span{display:grid;gap:2px}.infoSheetDocChoice small{color:#64748b}.infoSheetDocChoice em{font-size:11px;font-style:normal;font-weight:700;color:#355e87}.infoSheetActions{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}.infoSheetTableWrap{max-height:520px;overflow:auto}.infoSheetTable thead th{position:sticky;top:0;z-index:1;background:#f8fafc}.infoSheetError{max-width:260px;color:#9a3412;margin-top:4px}.badge.ok{background:#eaf8ef;color:#176b35}.customerNewInfoSheet{white-space:nowrap}
@media(max-width:760px){.infoSheetGrid{grid-template-columns:1fr}.infoSheetGrid .span2{grid-column:auto}.infoSheetProductRow{grid-template-columns:1fr}.infoSheetDocChoice{grid-template-columns:auto 1fr}.infoSheetDocChoice a{grid-column:2}.infoSheetTableWrap{max-height:none}}

/* v141.15 - compact quote dashboard actions */
.potentialActions{min-width:112px;width:112px;white-space:nowrap}
.quoteActionBar{display:flex;align-items:center;gap:4px;position:relative;min-width:0}
.quoteActionBar>button.quoteQuickAction,.quoteActionMenu>summary{width:28px;height:28px;min-width:28px;padding:0;border:1px solid #cfd6de;border-radius:7px;background:#fff;color:#3f4650;display:inline-grid;place-items:center;font-size:14px;line-height:1;cursor:pointer;box-sizing:border-box}
.quoteActionBar>button.quoteQuickAction:hover,.quoteActionMenu>summary:hover{background:#f1f4f7;border-color:#bcc4ce}
.quoteActionBar>.potentialSendAction{color:#245b94;background:#f6f9fd;border-color:#c9d9eb}
.quoteActionBar>.potentialSendAction:hover{background:#eaf2fb;border-color:#a9c2dc}
.quoteActionBar>.convertQuoteAction{color:#fff;background:#161616;border-color:#161616;font-size:16px}
.quoteActionBar>.convertQuoteAction:hover{background:#2d2d2d;border-color:#2d2d2d}
.quoteActionMenu{position:relative;margin:0;padding:0}
.quoteActionMenu>summary{list-style:none;font-size:18px;font-weight:800;padding-bottom:6px}
.quoteActionMenu>summary::-webkit-details-marker{display:none}
.quoteActionMenuPanel{display:none;position:absolute;z-index:25;right:0;top:34px;min-width:168px;padding:5px;background:#fff;border:1px solid #d7dde4;border-radius:9px;box-shadow:0 10px 30px rgba(15,23,42,.16)}
.quoteActionMenu[open] .quoteActionMenuPanel{display:grid;gap:2px}
.quoteActionMenuPanel button{width:100%;height:auto;min-height:32px;padding:7px 9px;border:0;border-radius:6px;background:#fff;color:#374151;display:flex;align-items:center;gap:8px;justify-content:flex-start;font-size:11px;font-weight:700;white-space:nowrap;text-align:left;cursor:pointer}
.quoteActionMenuPanel button:hover{background:#f3f5f7}
.quoteActionMenuPanel button span{display:inline-grid;place-items:center;width:20px;min-width:20px;font-weight:900;color:#667085}
.quoteActionMenuPanel button.danger{color:#9b1c1c}
.quoteActionMenuPanel button.danger:hover{background:#fff1f1}
.quoteActionMenuPanel button:disabled{opacity:.45;cursor:not-allowed;background:#fff}
.potentialTable th:last-child,.potentialTable td:last-child{width:112px;padding-left:7px;padding-right:7px}
@media(max-width:760px){.potentialActions{min-width:0;width:auto}.potentialTable th:last-child,.potentialTable td:last-child{width:auto}.quoteActionMenuPanel{left:0;right:auto}.quoteActionBar>button.quoteQuickAction,.quoteActionMenu>summary{width:36px;height:36px;min-width:36px}}
.potentialTable tbody tr:last-child .quoteActionMenuPanel{top:auto;bottom:34px}

/* v141.16 inline quote/order contact creation */
.customerContactControl select{flex:1;min-width:0}.customerContactControl .quickAddCustomer:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.customerContactControl{flex-direction:column}.customerContactControl .quickAddCustomer{width:100%}}

/* v141.18 - cleaner Information Sheets dashboard */
.infoSheetDashboardHead{align-items:center}.infoSheetHeadActions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.infoSheetArchiveToggle{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#5f6873;white-space:nowrap}.infoSheetArchiveToggle input{margin:0}.infoSheetTable{min-width:760px}.infoSheetTable th:nth-child(1){width:82px}.infoSheetTable th:nth-child(4){width:110px}.infoSheetTable .infoSheetActionsCell{width:112px;min-width:112px}.infoSheetMaterial{display:grid;gap:5px;max-width:430px}.infoSheetDocSummary{padding-top:4px;border-top:1px solid #edf0f2;line-height:1.45}.infoSheetDocSummary a{font-size:11px}.infoSheetArchivedRow{opacity:.7;background:#fafafa}.badge.archived{background:#eef0f3;color:#5e6670}.infoSheetTable tbody tr:last-child .quoteActionMenuPanel{top:auto;bottom:34px}
@media(max-width:760px){.infoSheetDashboardHead{align-items:stretch}.infoSheetHeadActions{width:100%;justify-content:space-between}.infoSheetHeadActions .primary{width:auto;min-height:40px}.infoSheetTable{min-width:0}.infoSheetTable .infoSheetActionsCell{width:auto;min-width:0}.infoSheetTable .quoteActionMenuPanel{left:0;right:auto}.infoSheetMaterial{max-width:none}}

/* v141.24 - manual production customer approval */
.orderDetailsDivider{border-top:1px solid #e5e7eb;margin:9px 0 7px}
.orderDetailsApproval{margin-top:10px;padding-top:9px;border-top:1px dashed #d7dbe0}
.orderDetailsApproval .manualCustomerApprove{width:100%;min-height:34px;font-weight:800}
.orderDetailsApproval .sub{margin-top:6px;line-height:1.35}

/* v141.30 - cleaner product-grouped Quote Documents library */
.quoteDocumentsCard{padding:16px}.quoteDocumentsHead{margin-bottom:8px}.quoteDocumentsHeaderActions{align-self:flex-start}.quoteDocumentsSourceNote{max-width:820px}.quoteDocumentsState{margin:0 0 8px}.quoteDocumentsState:empty{display:none}.quoteDocumentsToolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:10px 0 12px;border-bottom:1px solid #e8edf2}.quoteDocumentsStats{display:flex;align-items:center;gap:5px 6px;min-height:38px;flex-wrap:wrap;color:#6a7480;font-size:11px}.quoteDocumentsStats b{font-size:15px;color:#25303b}.quoteDocumentsStats i{width:1px;height:18px;background:#dce2e8;margin:0 3px}.quoteDocumentsFilters{display:flex;gap:8px;align-items:flex-end}.quoteDocumentsFilters label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#6b7480;text-transform:uppercase;letter-spacing:.04em}.quoteDocumentsFilters input,.quoteDocumentsFilters select{min-height:36px;border:1px solid #d7dde4;border-radius:8px;background:#fff;padding:7px 9px;font-size:12px;color:#29323b}.quoteDocumentsSearch input{width:min(290px,38vw)}.quoteDocumentForm{margin:12px 0 14px;border-color:#d9e2ec;background:#fbfcfe}.quoteDocumentFormTitle{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}.quoteDocumentFormTitle b{font-size:14px}.quoteDocumentFormTitle span{font-size:11px;color:#72808d}.quoteDocumentsGroups{display:grid;gap:12px;padding-top:12px}.quoteDocumentGroup{border:1px solid #e1e6eb;border-radius:11px;overflow:hidden;background:#fff}.quoteDocumentGroup.shared{border-style:dashed;background:#fbfcfe}.quoteDocumentGroupHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7f9fb;border-bottom:1px solid #e5e9ed}.quoteDocumentGroup.shared .quoteDocumentGroupHead{background:#f4f7fa}.quoteDocumentGroupEyebrow{display:block;font-size:9px;line-height:1.1;font-weight:900;color:#7a8591;text-transform:uppercase;letter-spacing:.08em;margin-bottom:2px}.quoteDocumentGroupHead h3{margin:0;font-size:14px;color:#26313b}.quoteDocumentGroupCount{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid #d9e0e7;border-radius:999px;background:#fff;color:#69737e;font-size:10px;font-weight:800;white-space:nowrap}.quoteDocumentRows{display:grid}.quoteDocumentRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf0f3}.quoteDocumentRow:last-child{border-bottom:0}.quoteDocumentRow:hover{background:#fbfcfd}.quoteDocumentRow.inactive{background:#fcfcfc;opacity:.72}.quoteDocumentMain{min-width:0}.quoteDocumentTitleLine{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.quoteDocumentTitleLine>b{font-size:13px;color:#252e37;overflow-wrap:anywhere}.quoteDocumentBadge{display:inline-flex;align-items:center;border:1px solid;border-radius:999px;padding:2px 6px;font-size:9px;line-height:1.2;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.quoteDocumentBadge.auto{color:#285f43;background:#f0f8f3;border-color:#cce4d5}.quoteDocumentBadge.manual{color:#586675;background:#f6f8fa;border-color:#dde3e9}.quoteDocumentBadge.inactive{color:#875622;background:#fff8ed;border-color:#ead3ad}.quoteDocumentMeta{display:flex;gap:5px 12px;align-items:center;flex-wrap:wrap;margin-top:5px;color:#76818c;font-size:10.5px}.quoteDocumentMeta span{position:relative}.quoteDocumentMeta span+span:before{content:'•';position:absolute;left:-8px;color:#bec5cc}.quoteDocumentNotes{margin-top:5px;color:#606c77;font-size:11px;line-height:1.35}.quoteDocumentRowActions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.quoteDocumentRowActions a,.quoteDocumentRowActions button{min-height:32px;padding:6px 9px;border-radius:7px;font-size:11px;font-weight:800}.quoteDocumentOpen{display:inline-flex;align-items:center;text-decoration:none;border:1px solid #cbd9e7;background:#f5f9fd;color:#245985}.quoteDocumentOpen:hover{background:#edf5fc}.quoteDocumentDelete{color:#8d3232;background:#fff;border-color:#e5c9c9}.quoteDocumentsEmpty{display:grid;place-items:center;gap:4px;min-height:120px;padding:24px;border:1px dashed #d8dfe6;border-radius:11px;background:#fafbfc;color:#737e89;text-align:center;font-size:12px}.quoteDocumentsEmpty b{font-size:14px;color:#46515c}.quoteDocumentsEmpty span{max-width:460px}.quoteDocumentsTable{display:none}
@media(max-width:760px){.quoteDocumentsToolbar{align-items:stretch;flex-direction:column}.quoteDocumentsFilters{display:grid;grid-template-columns:1fr 1fr}.quoteDocumentsSearch input{width:100%}.quoteDocumentRow{grid-template-columns:1fr}.quoteDocumentRowActions{justify-content:flex-start}.quoteDocumentRowActions a,.quoteDocumentRowActions button{flex:1;justify-content:center}.quoteDocumentFormTitle{display:grid;gap:2px}}
@media(max-width:520px){.quoteDocumentsFilters{grid-template-columns:1fr}.quoteDocumentsStats i{display:none}.quoteDocumentsStats{gap:4px 8px}.quoteDocumentRowActions{display:grid;grid-template-columns:1.4fr 1fr 1fr}}

/* v141.31 - compact Quotes dashboard filtering */
.quoteDashboardHead{align-items:flex-start}.quoteFilterBar{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(130px,1fr)) minmax(250px,1.35fr) auto;gap:8px;align-items:end;padding:11px 0 12px;border-top:1px solid #edf0f3;border-bottom:1px solid #e5e9ed;margin:10px 0 0}.quoteFilterBar>label{display:grid;gap:4px;min-width:0}.quoteFilterBar>label>span{font-size:9px;line-height:1;font-weight:900;color:#717b86;text-transform:uppercase;letter-spacing:.055em}.quoteFilterBar input,.quoteFilterBar select{width:100%;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #d6dce3;border-radius:7px;background:#fff;color:#26313b;font-size:11px;box-sizing:border-box}.quoteFilterBar input:focus,.quoteFilterBar select:focus{outline:2px solid rgba(45,104,166,.15);border-color:#9db7d2}.quoteFilterSearch input{min-width:210px}.quoteDateRange{display:grid;grid-template-columns:minmax(112px,1fr) auto minmax(112px,1fr);gap:5px;align-items:center}.quoteDateRange i{font-size:9px;font-style:normal;color:#8a949f;text-transform:uppercase;font-weight:800}.quoteFilterSummary{display:flex;align-items:center;gap:7px;min-height:34px;white-space:nowrap}.quoteFilterSummary span{font-size:10.5px;font-weight:800;color:#66717c}.quoteFilterSummary button{min-height:32px;padding:5px 8px;border:1px solid #d8dee5;border-radius:7px;background:#fff;color:#5c6670;font-size:10px;font-weight:800}.quoteFilterSummary button:hover{background:#f4f6f8}.quoteDashboardCard .tablewrap{margin-top:0}.quoteDashboardCard .potentialTable{margin-top:0}
@media(max-width:1180px){.quoteFilterBar{grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(130px,1fr))}.quoteDateFilter{grid-column:span 2}.quoteFilterSummary{justify-content:flex-end}}
@media(max-width:760px){.quoteFilterBar{grid-template-columns:1fr 1fr}.quoteFilterSearch,.quoteDateFilter,.quoteFilterSummary{grid-column:1/-1}.quoteDateRange{grid-template-columns:1fr auto 1fr}.quoteFilterSummary{justify-content:space-between}.quoteFilterSummary button{min-height:36px}.quoteDashboardHead{align-items:stretch}.quoteDashboardHead .primary{align-self:flex-start}}
@media(max-width:480px){.quoteFilterBar{grid-template-columns:1fr}.quoteFilterSearch,.quoteDateFilter,.quoteFilterSummary{grid-column:auto}.quoteDateRange{grid-template-columns:1fr}.quoteDateRange i{text-align:center}.quoteFilterSummary{align-items:stretch;flex-direction:column}.quoteFilterSummary button{width:100%}}

/* v141.32 - full mobile UX polish */
button,input,select,textarea{touch-action:manipulation}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid rgba(36,99,169,.2);outline-offset:2px}
.vendorbox,.customerForm,.inventoryForm,.catalogForm,.timeForm,.infoSheetForm,.quickCustomerPanel{scroll-margin-top:18px}

@media(max-width:760px){
  html{scroll-padding-bottom:88px}
  body{background:#eef1f4;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .wrap{max-width:none;padding:8px 8px calc(92px + env(safe-area-inset-bottom))}

  .appHeader{padding:10px;border-radius:12px;box-shadow:0 2px 10px rgba(15,23,42,.06)}
  .brand{width:100%;align-items:center}
  .brandCopy{flex:1}
  .brandLogo{width:44px;height:44px}
  .title{font-size:19px}
  .brandEyebrow{font-size:8.5px}
  .top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}
  .top button{width:100%;min-height:44px;font-size:12px;font-weight:800}
  .top label.sub{grid-column:1/-1;display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 10px;border:1px solid #e0e5ea;border-radius:9px;background:#f8fafc;color:#4f5964}
  .top label.sub input{width:18px;height:18px;margin:0}

  .masterTabs.on{scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain}
  .masterTabs.on::-webkit-scrollbar{display:none}
  .masterTabs button{scroll-snap-align:start;border-radius:10px;min-height:44px;padding:8px 11px}
  .masterTabs button.active{box-shadow:0 2px 8px rgba(17,24,39,.18)}

  .pageSection{min-width:0}
  .pageSection.on{animation:mobilePageIn .12s ease-out}
  @keyframes mobilePageIn{from{opacity:.75;transform:translateY(2px)}to{opacity:1;transform:none}}

  input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important;min-height:44px}
  textarea{line-height:1.4}
  button{min-height:42px}

  .vendorbox,.potentialCard,.customerCard,.inventoryCard,.catalogCard,.shopifyCard,.paymentCard,.timeCard,.avgOpenTrend,.productMix,.potentialKpiPanel{padding:11px;border-radius:12px;margin-bottom:10px}
  .vendorbox.on,.customerForm.on,.inventoryForm.on,.catalogForm.on,.timeForm.on,.infoSheetForm.on{box-shadow:0 4px 18px rgba(15,23,42,.05)}

  .potentialHead,.customerHead,.inventoryPageHeader,.catalogHead,.shopifyHead,.infoSheetFormHead,.timeCardHead,.paymentHeader,.vendorClockHead,.arcadeBuildHead{flex-direction:column!important;align-items:stretch!important;gap:9px!important}
  .customerHeadActions,.customerDetailActions,.inventoryPageActions,.catalogActions,.shopifyActions,.infoSheetHeadActions,.paymentHeaderRight,.vendorClockActions{width:100%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}
  .customerHeadActions .customerSearch,.inventoryPageActions input,.inventoryPageActions select,.catalogActions select:first-child,.shopifyActions .primary{grid-column:1/-1}
  .customerHeadActions button,.customerDetailActions button,.inventoryPageActions button,.catalogActions button,.shopifyActions button,.infoSheetHeadActions button,.paymentHeaderRight button,.vendorClockActions button{width:100%;min-height:44px}

  .controls,.inventoryToolbar,.kpiToolbar,.timeToolbar{gap:7px}
  .controls input,.controls select,.inventoryToolbar input,.inventoryToolbar select,.kpiToolbar input,.kpiToolbar select,.timeToolbar input,.timeToolbar select{width:100%;min-height:44px}
  .inventoryToolbar{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .inventoryToolbar input:first-child{grid-column:1/-1}

  .orderFormGrid,.arcadeBuildGrid,.paymentEntryGrid,.timeGrid,.inventoryGrid,.catalogGrid,.customerFormGrid,.quickCustomerGrid,.infoSheetGrid{grid-template-columns:1fr!important}
  .span2,.arcadeSpan2,.catalogSpan2,.customerFormGrid .span2,.quickCustomerGrid .span2,.infoSheetGrid .span2{grid-column:auto!important}
  .orderField{gap:6px}
  .orderField>label,.inventoryGrid label,.catalogGrid label,.timeGrid label,.customerFormGrid label,.quickCustomerGrid label,.infoSheetGrid label{font-size:10.5px}
  .fieldHint,.orderHelp,.customerOrderAccountHint,.customerContactSelectHint,.inventoryHint{font-size:11px;line-height:1.35}

  .orderLinesManager{padding:10px}
  .orderLinesHead{flex-direction:column;align-items:stretch}
  .orderLineTabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:6px;padding-bottom:2px}
  .orderLineTabs::-webkit-scrollbar{display:none}
  .orderLineTab,.orderLineAdd{width:auto!important;flex:0 0 auto!important;min-height:40px;text-align:left;white-space:nowrap}
  .orderLineRemove{width:100%;min-height:40px}

  .customerAccountControl,.customerContactControl,.imageInputWrap,.catalogImageControls{align-items:stretch;flex-direction:column}
  .customerAccountControl select,.customerContactControl select,.customerAccountControl button,.customerContactControl button{width:100%}
  .imageUploadCard,.inventoryImageField{align-items:flex-start;flex-direction:column}
  .imageUploadCopy{width:100%}
  .imageChoose{display:block;width:100%;text-align:center;min-height:44px}

  .orderFormActions,.paymentEntryActions,.timeActions,.quickCustomerActions,.quoteAttachmentActions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:40;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;margin:14px -11px -11px!important;padding:9px 11px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #dfe5ea;box-shadow:0 -6px 18px rgba(15,23,42,.08);backdrop-filter:blur(8px)}
  .orderFormActions button,.paymentEntryActions button,.timeActions button,.quickCustomerActions button,.quoteAttachmentActions button{width:100%;min-height:46px;font-weight:800}
  .orderFormActions .primary,.paymentEntryActions .primary,.timeActions .primary,.quickCustomerActions .primary,.quoteAttachmentActions .primary{order:-1}

  .tablewrap,.paymentTableWrap,.timeTableWrap,.inventoryTableWrap,.catalogTableWrap,.shopifyTableWrap,.customerHistoryWrap,.inventoryUsageTableWrap{overflow:visible!important;max-height:none!important;border:0!important;background:transparent!important}
  .mobileResponsiveTable{display:block!important;min-width:0!important;width:100%!important;border-collapse:separate!important;background:transparent!important}
  .mobileResponsiveTable thead{display:none!important}
  .mobileResponsiveTable tbody{display:grid!important;gap:9px!important;width:100%!important}
  .mobileResponsiveTable tbody tr{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #dce3e9!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 2px 7px rgba(15,23,42,.04)!important}
  .mobileResponsiveTable tbody tr.dueSoonRow{background:#fff8f8!important;border-color:#efc2c2!important}
  .mobileResponsiveTable tbody td{display:grid!important;grid-template-columns:minmax(96px,34%) minmax(0,1fr)!important;gap:9px!important;align-items:start!important;width:100%!important;max-width:none!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid #edf0f2!important;text-align:left!important;white-space:normal!important;overflow:visible!important;font-size:13px!important}
  .mobileResponsiveTable tbody td:last-child{border-bottom:0!important}
  .mobileResponsiveTable tbody td::before{content:attr(data-label);display:block;font-size:9.5px;font-weight:900;line-height:1.25;letter-spacing:.045em;text-transform:uppercase;color:#7a838d;padding-top:2px}
  .mobileResponsiveTable tbody td[data-label=""]::before,.mobileResponsiveTable tbody td[colspan]::before{display:none!important}
  .mobileResponsiveTable tbody td[colspan]{display:block!important;padding:12px!important;color:#6b7280!important}
  .mobileResponsiveTable tbody td[data-label="Actions"]{display:block!important;background:#fafbfc!important;padding:10px!important}
  .mobileResponsiveTable tbody td[data-label="Actions"]::before{margin-bottom:7px}
  .mobileResponsiveTable tbody td[data-label="Preview"]{display:block!important}
  .mobileResponsiveTable tbody td[data-label="Preview"]::before{display:none!important}
  .mobileResponsiveTable tbody tr.catalogGroupRow,.mobileResponsiveTable tbody tr.inventoryGroupRow{display:block!important;background:#eaf2f9!important;border-color:#d5e2ee!important;box-shadow:none!important}
  .mobileResponsiveTable tbody tr.catalogGroupRow td,.mobileResponsiveTable tbody tr.inventoryGroupRow td{display:block!important;background:#eaf2f9!important;border:0!important;padding:8px 10px!important;color:#29465f!important}
  .mobileResponsiveTable .statusEdit,.mobileResponsiveTable select{width:100%;min-width:0}
  .mobileResponsiveTable .thumb,.mobileResponsiveTable .noimg{width:64px;height:64px}

  .actionStack,.quoteActionBar,.paymentActions,.journalActions,.customerContactActions{width:100%;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:7px!important}
  .actionStack button,.quoteActionBar>button.quoteQuickAction,.quoteActionMenu>summary,.paymentActions button,.journalActions button,.customerContactActions button{min-width:42px!important;min-height:42px!important;height:42px!important}
  .actionStack button{width:42px}
  .quoteActionMenuPanel{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(74px + env(safe-area-inset-bottom))!important;top:auto!important;min-width:0!important;width:auto!important;max-height:55vh;overflow:auto;border-radius:12px;padding:7px;box-shadow:0 18px 55px rgba(15,23,42,.28)}
  .quoteActionMenuPanel button{min-height:44px;font-size:12px}

  .customerLayout{grid-template-columns:1fr!important;gap:10px}
  .customerList{max-height:250px;padding-right:0}
  .customerListItem{min-height:56px;padding:10px}
  .customerDetail{padding:11px;min-height:0}
  .customerKpis{grid-template-columns:1fr 1fr;gap:7px}
  .customerContactGrid{grid-template-columns:1fr!important}
  .customerContactRow{grid-template-columns:1fr!important}

  .inventoryQuickTabs,.inventoryItemFormTabs{scrollbar-width:none;overscroll-behavior-x:contain}
  .inventoryQuickTabs::-webkit-scrollbar,.inventoryItemFormTabs::-webkit-scrollbar{display:none}
  .inventoryQuickTabs button,.inventoryItemFormTabs button{min-height:38px}
  .inventoryKpis{grid-template-columns:1fr 1fr!important;gap:7px}
  .inventoryKpis .kpi{min-height:72px}

  .potentialKpiCards{grid-template-columns:1fr 1fr!important;gap:7px}
  .potentialProductRow{grid-template-columns:1fr!important;gap:5px;padding:9px}
  .potentialProductRow>span:not(:first-child){display:flex;justify-content:space-between;text-align:left!important}
  .potentialProductRow>span[data-label]::before{content:attr(data-label);font-size:9px;font-weight:900;text-transform:uppercase;color:#7a838d}

  .quoteFilterBar{padding:9px 0 10px;gap:7px}
  .quoteFilterBar input,.quoteFilterBar select{min-height:44px;font-size:16px}
  .quoteFilterSummary{min-height:44px}

  .quoteDocumentsCard{padding:11px}
  .quoteDocumentRow{padding:10px;gap:9px}
  .quoteDocumentRowActions a,.quoteDocumentRowActions button{min-height:42px}

  .productMixChart{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .productMixChart svg{min-width:520px}
  .avgOpenTrendChart{height:150px}

  .modal{padding:12px;align-items:center}
  .modal img{max-width:100%;max-height:calc(100vh - 24px);border-radius:10px}
  .systemActivity{bottom:calc(76px + env(safe-area-inset-bottom))!important}
}

@media(max-width:480px){
  .top{grid-template-columns:1fr}
  .top label.sub{grid-column:auto}
  .customerHeadActions,.customerDetailActions,.inventoryPageActions,.catalogActions,.shopifyActions,.infoSheetHeadActions,.paymentHeaderRight,.vendorClockActions{grid-template-columns:1fr!important}
  .customerHeadActions .customerSearch,.inventoryPageActions input,.inventoryPageActions select,.catalogActions select:first-child,.shopifyActions .primary{grid-column:auto}
  .inventoryToolbar{grid-template-columns:1fr}
  .inventoryToolbar input:first-child{grid-column:auto}
  .mobileResponsiveTable tbody td{grid-template-columns:minmax(84px,32%) minmax(0,1fr)!important;padding:8px 9px!important}
  .orderFormActions,.paymentEntryActions,.timeActions,.quickCustomerActions,.quoteAttachmentActions{grid-template-columns:1fr 1fr}
  .kpis,.inventoryKpis,.potentialKpiCards,.customerKpis,.accountSummary{grid-template-columns:1fr 1fr!important}
}

/* v141.34 per-line print tracking */
.linePrintedFlag{display:flex;width:max-content;align-items:center;gap:5px;margin-top:6px;padding:3px 7px;border:1px solid #d9dee5;border-radius:999px;background:#fff;color:#4b5563;font-size:10px;font-weight:800;line-height:1;cursor:pointer;user-select:none}.linePrintedFlag input{width:14px;height:14px;margin:0;accent-color:#111827;cursor:pointer}.linePrintedFlag:has(input:checked){background:#eef8f1;border-color:#b8d9c2;color:#245f36}.linePrintedFlag:has(input:disabled){opacity:.6;cursor:wait}@media(max-width:760px){.linePrintedFlag{min-height:32px;padding:5px 9px}.linePrintedFlag input{width:18px;height:18px}}

/* v141.36 - separate General Inventory for non-Arcade products */
.generalInventorySafetyNote{display:flex;gap:10px;align-items:flex-start;margin:10px 0 14px;padding:10px 12px;border:1px solid #d9dee6;border-radius:10px;background:#f8fafc;font-size:13px;line-height:1.4}.generalInventorySafetyNote b{white-space:nowrap}.generalInventorySafetyNote span{color:#5b6470}.generalInventoryTabs{margin:0 0 12px}.generalInventoryPane{display:none}.generalInventoryPane.on{display:block}.generalInventoryBomActions{justify-content:flex-end;margin:0 0 10px}.generalInventoryBomForm{margin-bottom:12px}.generalInventoryUsage{margin-top:12px}.generalInventoryUsage .inventoryPageHeader{margin-bottom:10px}.generalInventoryTable .genInvUsageBtn{padding:6px 9px}.generalInventoryTable .inventoryLow{font-weight:700}.generalInventoryBomTable td,.generalInventoryTable td{vertical-align:top}
@media(max-width:700px){.generalInventorySafetyNote{display:block}.generalInventorySafetyNote b{display:block;margin-bottom:4px}.generalInventoryTabs{overflow-x:auto;white-space:nowrap}.generalInventoryTabs button{min-width:max-content}.generalInventoryBomActions{justify-content:stretch}.generalInventoryBomActions button{width:100%}}

/* v141.37 - make General Inventory discoverable inside one Inventory workspace */
.inventorySystemSwitch{display:inline-flex;align-items:center;gap:4px;padding:4px;margin:0 0 12px;border:1px solid #d9e0e7;border-radius:12px;background:#f5f7f9}.inventorySystemSwitch button{min-height:36px;padding:7px 12px;border:0;border-radius:8px;background:transparent;color:#5b6470;font-weight:800;cursor:pointer}.inventorySystemSwitch button.active{background:#fff;color:#111827;box-shadow:0 1px 3px rgba(15,23,42,.12)}@media(max-width:550px){.inventorySystemSwitch{display:grid;grid-template-columns:1fr 1fr;width:100%}.inventorySystemSwitch button{width:100%;min-height:42px}}

/* Read-only Product BOM what-if simulation, including on small tablets/phones. */
#productBomOrderPreviewCard{min-width:0}
.orderAllocationPreviewFields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 10px}
.orderAllocationPreviewFields>div{min-width:0}
.orderAllocationPreviewFields select,.orderAllocationPreviewFields input{width:100%;max-width:100%;min-width:0}
.orderAllocationPreviewResult{min-height:66px;padding:12px;margin-top:14px;border:1px solid var(--line,#dae0e9);border-radius:9px;max-width:100%;overflow:hidden}
.orderAllocationPreviewStatus{margin-bottom:12px}
.orderAllocationPreviewStatus>b{display:block;margin-bottom:5px}
.orderAllocationPreviewAncestors{margin:16px 0 10px}
.orderAllocationPreviewAncestors>b{display:block;margin-bottom:8px}
.orderAllocationPreviewTable th,.orderAllocationPreviewTable td{min-width:90px;white-space:normal}
@media(max-width:900px){.orderAllocationPreviewFields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.orderAllocationPreviewFields{grid-template-columns:1fr}.orderAllocationPreviewResult{padding:8px}}

/* Product BOM Catalog sync control: clearly refresh newly saved products without a full inventory reload. */
.bomCatalogProductPicker{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.bomCatalogProductPicker select{flex:1 1 200px;min-width:0}
.bomCatalogProductPicker button{flex:0 0 auto;min-height:38px;white-space:nowrap}
#productBomCatalogStatus{margin-top:6px;min-height:16px}
@media(max-width:550px){.bomCatalogProductPicker button{width:100%}}

/* Manufacturing BOM: keep all four Inventory workspace destinations visible on mobile. */
.inventorySystemSwitch{flex-wrap:wrap;max-width:100%}
.inventorySystemSwitch button{white-space:normal;line-height:1.2}
@media(max-width:760px){
  .inventorySystemSwitch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .inventorySystemSwitch button{width:100%;min-width:0;min-height:44px;padding:8px 6px;text-align:center;justify-content:center}
}

/* v141.38 - private employee self-service dashboard */
.employeeDashboardOpen{display:inline-grid!important;place-items:center;text-decoration:none;color:#3f4650;border:1px solid #d7dbe0;background:#fff;border-radius:8px}.employeeDashboardOpen:hover{background:#f1f4f7;border-color:#bcc4ce}.employeeClockHistory{margin-top:18px;padding-top:16px;border-top:1px solid #e3e6ea}.employeeClockHistoryHead{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:8px}.employeeClockHistoryRows{display:grid;gap:7px}.employeeClockHistoryRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #e3e6ea;border-radius:10px;background:#fafbfc}.employeeClockHistoryRow span{display:flex;flex-direction:column;gap:2px}.employeeClockHistoryRow small{color:#6b7280;font-size:11px}.employeeClockHistoryRow strong{font-size:15px;white-space:nowrap}@media(max-width:550px){.employeeClockHistoryHead{display:block}.employeeClockHistoryHead .sub{display:block;margin-top:3px}.employeeClockHistoryRow{padding:10px}.timeClockShell{max-width:100%}}


/* v141.39 employee private-dashboard QR cards */
.employeeQrBtn{font-size:10px!important;font-weight:900;letter-spacing:-.03em}.employeeDashboardOpen{width:30px;height:30px;padding:0;border:1px solid #d7dbe0;border-radius:7px;display:inline-grid;place-items:center;text-decoration:none;color:#3f4650;background:#fff;font-size:15px;line-height:1}.employeeDashboardOpen:hover{background:#f3f6f9;border-color:#bcc4ce}.employeeQrModal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}.employeeQrDialog{position:relative;width:min(440px,100%);background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 70px rgba(15,23,42,.28);text-align:center}.employeeQrClose{position:absolute;right:12px;top:12px;width:34px;height:34px;padding:0;border-radius:9px;font-size:22px;line-height:1;background:#fff;cursor:pointer}.employeeQrBrand{font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#667085}.employeeQrDialog h3{font-size:24px;margin:10px 0 2px}.employeeQrSubtitle{font-size:13px;color:#667085}.employeeQrImage{width:min(310px,82vw);height:min(310px,82vw);margin:16px auto 10px;padding:8px;border:1px solid #e3e6ea;border-radius:14px;background:#fff}.employeeQrImage svg{display:block;width:100%;height:100%}.employeeQrDialog p{margin:8px auto 16px;max-width:350px;font-size:13px;line-height:1.45;color:#475467}.employeeQrActions{display:flex;gap:8px;justify-content:center}.employeeQrActions button{min-height:42px;padding:0 14px}.employeeQrSecurity{margin-top:13px;font-size:11px;color:#8a4b00;background:#fff8e7;border:1px solid #f2dfaa;border-radius:9px;padding:8px 10px}@media(max-width:520px){.employeeQrDialog{padding:20px 14px 16px}.employeeQrActions{display:grid;grid-template-columns:1fr}.employeeQrActions button{width:100%}}

.printVendorPackageModal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.72);z-index:40;align-items:flex-start;justify-content:center;padding:28px;overflow:auto}.printVendorPackageModal.on{display:flex}.printVendorPackageCard{width:min(920px,100%);background:#fff;border-radius:16px;border:1px solid #dbe2ea;box-shadow:0 24px 70px rgba(15,23,42,.28);padding:20px}.printVendorPackageHead{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:16px}.printVendorPackageHead h2{margin:3px 0 5px;font-size:22px}.printVendorClose{font-size:24px;line-height:1;padding:6px 10px;cursor:pointer}.printVendorGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.printVendorGrid label,.printVendorSectionHead label{display:block;font-size:11px;font-weight:800;color:#5d636b;margin-bottom:4px}.printVendorGrid input,.printVendorGrid select,.printVendorGrid textarea,.printVendorSectionHead select{width:100%;padding:10px;border:1px solid #d7dbe0;border-radius:8px;background:#fff}.pvSpan{grid-column:1/-1}.printVendorActions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.printVendorActions button{cursor:pointer}.printVendorPackageInfo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}.printVendorPackageInfo>div{padding:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px}.printVendorPackageInfo span{display:block;font-size:10px;color:#64748b;text-transform:uppercase;font-weight:800}.printVendorPackageInfo b{display:block;margin-top:3px;font-size:12px;overflow-wrap:anywhere}.printVendorEmailSection{display:none;border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}.printVendorEmailSection.on{display:block}.printVendorSectionHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:12px}.printVendorSectionHead>div:first-child b{display:block;font-size:16px}.printVendorSectionHead>div:first-child span{display:block;color:#64748b;font-size:12px;margin-top:2px}.printVendorSectionHead>div:last-child{min-width:180px}.printVendorEmailPreview{margin-top:12px;padding:10px 12px;border:1px solid #dbe2ea;border-radius:8px;background:#f8fafc;font-size:12px;color:#475569}@media(max-width:700px){.printVendorPackageModal{padding:10px}.printVendorGrid{grid-template-columns:1fr}.pvSpan{grid-column:1}.printVendorPackageInfo{grid-template-columns:1fr 1fr}.printVendorSectionHead{display:block}.printVendorSectionHead>div:last-child{margin-top:10px}.printVendorPackageCard{padding:14px}}

/* v141.41 - make print-vendor workflow unmistakable in the master order Actions column */
.actionStack .printVendorLabeled{width:auto;min-width:108px;padding:0 10px;grid-auto-flow:column;gap:6px;font-size:12px;font-weight:800;white-space:nowrap;background:#f8fafc;border-color:#b9c5d3;color:#1f4f7a}.actionStack .printVendorLabeled:hover{background:#eef5fb;border-color:#8da7c1}.actionStack .printVendorLabeled .actionIcon{font-size:14px}.actionStack .printVendorLabeled .actionText{display:inline}@media(max-width:700px){.orders .actionStack{flex-wrap:wrap}.orders .actionStack .printVendorLabeled{min-width:128px}}

/* v141.43 isolated piece-rate module */
.pieceRateShell{display:grid;gap:16px}.pieceRateHead,.pieceRateReviewHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.pieceRateGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pieceRateCard{background:#fff;border:1px solid #dbe2ea;border-radius:12px;padding:16px;min-width:0}.pieceRateCard h3{margin:0 0 12px}.pieceRateForm{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pieceRateForm label{display:grid;gap:5px;font-size:12px;font-weight:700}.pieceRateForm input,.pieceRateForm select{width:100%;padding:9px;border:1px solid #cfd8e3;border-radius:8px}.pieceRateForm .prSpan{grid-column:1/-1}.pieceRateForm .prCheck{display:flex;align-items:center;gap:8px}.pieceRateForm .prCheck input{width:auto}.pieceRateReview{grid-column:1/-1}.pieceRateSummary{margin:8px 0 12px;color:#475569}.employeePieceRate{margin-top:20px;border-top:1px solid #dbe2ea;padding-top:16px}.employeePieceAssignment{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #eef2f6}.employeePieceAssignment>div:first-child{display:grid;gap:3px}.employeePieceAssignment span,.employeePieceAssignment small{display:block;color:#64748b}.employeePieceSubmit{display:flex;gap:8px;align-items:center}.employeePieceSubmit input{width:82px;padding:9px;border:1px solid #cfd8e3;border-radius:8px}@media(max-width:900px){.pieceRateGrid{grid-template-columns:1fr}.pieceRateForm{grid-template-columns:1fr}.pieceRateForm .prSpan{grid-column:auto}.employeePieceAssignment{align-items:flex-start;flex-direction:column}}

.printLineStatus{width:max-content;max-width:100%;margin-top:6px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.25;border:1px solid #d9dee5;background:#f8fafc;color:#475569}.printLineStatus.sent{background:#eef8f1;border-color:#b8d9c2;color:#245f36}.printLineStatus.prepared{background:#fff8e8;border-color:#efd89b;color:#7a5a12}.printLineStatus.cancelled{background:#fff1f2;border-color:#fecdd3;color:#9f1239}.printLineStatus.acknowledged{background:#eef6ff;border-color:#bfd7f2;color:#1d4f7a}.printLineStatus span{margin-left:4px;font-weight:700;opacity:.85}@media(max-width:760px){.printLineStatus{white-space:normal}}

/* v141.59 vendor-managed General Inventory Product BOM visibility */
.vendorBomUsage{padding:4px 0}.vendorBomUsage+.vendorBomUsage{border-top:1px solid #eef2f6;margin-top:5px;padding-top:7px}.vendorBomUsage .sub{margin-top:2px;line-height:1.35}


/* v141.72 employee earnings snapshot */
.employeeEarningsSnapshot{margin-top:14px;padding:14px;border:1px solid #dbe2ea;border-radius:12px;background:#fff}.employeeEarningsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.employeeEarningsGrid>div{padding:11px;border:1px solid #e4e8ed;border-radius:10px;background:#f8fafc;display:grid;gap:3px}.employeeEarningsGrid span{font-size:11px;color:#64748b}.employeeEarningsGrid b{font-size:18px;color:#111827}.employeeEarningsNote{margin-top:10px;font-size:11px;line-height:1.45;color:#667085;background:#f8fafc;border-radius:8px;padding:9px 10px}@media(max-width:550px){.employeeEarningsGrid{grid-template-columns:1fr}}

/* v141.73 grouped KPI dashboard */
.kpiToolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin:18px 0 12px}.kpiToolbar>div:first-child{min-width:220px;flex:1}.kpiToolbar>div:first-child>b{font-size:18px}.kpiToolbar select{min-width:190px}.kpiGroups{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:16px}.kpiGroup{background:#fff;border:1px solid #e3e6ea;border-radius:14px;padding:14px;box-shadow:0 3px 14px rgba(15,23,42,.035)}.kpiGroupHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 2px 11px;border-bottom:1px solid #edf0f2;margin-bottom:11px}.kpiGroupHead b{display:block;font-size:15px;color:#1f2937}.kpiGroupHead span{display:block;font-size:11px;color:#737b84;margin-top:3px}.kpiGroupCards{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:9px}.kpiGroupCards .kpi{padding:12px;min-height:82px;display:flex;flex-direction:column;justify-content:flex-start}.kpiGroupCards .kpi b{font-size:22px;line-height:1.1}.kpiGroupCards .kpi span{font-size:11px;line-height:1.25}.kpiGroupCards .kpi small{display:block;color:#9299a1;font-size:9.5px;margin-top:3px}.kpiGroupCards .kpiAttention{border-color:#e9c5c5;background:#fff9f9}.kpiGroupCards .kpiAttention b{color:#9b2c2c}.kpiGroupCards .kpiEmphasis{border-color:#cddbeb;background:#f8fbff}.kpiInsightsGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.kpiInsightsGrid .avgOpenTrend,.kpiInsightsGrid .productMix{margin-bottom:16px}.masterKpiOnly{display:block}@media(max-width:1250px){.kpiGroupCards{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:900px){.kpiGroupCards{grid-template-columns:repeat(3,minmax(0,1fr))}.kpiInsightsGrid{grid-template-columns:1fr}}@media(max-width:600px){.kpiToolbar{align-items:stretch}.kpiToolbar select{width:100%;min-width:0}.kpiGroup{padding:11px}.kpiGroupCards{grid-template-columns:1fr 1fr;gap:7px}.kpiGroupCards .kpi{min-height:76px;padding:10px}.kpiGroupCards .kpi b{font-size:20px}.kpiGroupHead{margin-bottom:9px}}

/* v141.74 master header + navigation cleanup */
.masterHeaderActions{gap:8px}
.masterHeaderActions #addOrder{font-weight:800;white-space:nowrap}
.masterHeaderActions .headerSecondary{background:#f8fafc;color:#374151;white-space:nowrap}
.masterHeaderActions .activeOnlyToggle{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e2e7ec;border-radius:9px;background:#fafbfc;white-space:nowrap}
.masterHeaderActions .activeOnlyToggle input{margin:0}
.masterTabs{align-items:center}
.masterMoreNav{position:relative;flex:0 0 auto}
.masterMoreNav>summary{list-style:none;cursor:pointer;padding:11px 12px;border:1px solid #d7dbe0;border-radius:9px;background:#fff;font-size:13px;line-height:1.15;user-select:none;white-space:nowrap}
.masterMoreNav>summary::-webkit-details-marker{display:none}
.masterMoreNav>summary::after{content:'  ▾';font-size:10px;color:#6b7280}
.masterMoreNav.active>summary{background:#161616;color:#fff;border-color:#161616}
.masterMoreNav.active>summary::after{color:#fff}
.masterMoreMenu{position:absolute;z-index:9700;top:calc(100% + 8px);right:0;min-width:210px;display:grid;gap:5px;padding:8px;background:#fff;border:1px solid #dbe1e7;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.16)}
.masterMoreMenu button{width:100%;text-align:left;padding:9px 10px;font-size:12px;white-space:nowrap}
.masterMoreMenu button.active{background:#161616;color:#fff;border-color:#161616}
.inventorySystemSwitch{margin-top:2px}
@media(max-width:700px){
  .masterHeaderActions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%}
  .masterHeaderActions .activeOnlyToggle{grid-column:1/-1!important}
  .masterMoreNav>summary{min-height:44px;padding:10px 12px;font-size:11px;font-weight:700;border-radius:10px;display:flex;align-items:center}
  .masterMoreMenu{position:fixed;left:10px;right:10px;top:auto;bottom:66px;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;border-radius:14px}
  .masterMoreMenu button{min-height:44px;white-space:normal;text-align:center}
}

/* v141.75 - permanent Arcade machine serials */
.arcadeSerialLine{margin-top:4px;font-size:11px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}


/* v141.77 - dedicated Arcade Serial Registry */
.serialRegistryFilters{align-items:end}.serialRegistryKpis{margin-top:12px}.serialRegistryTable .serialNumberValue{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;letter-spacing:.02em;white-space:nowrap}.serialStatus{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid #cbd5e1;background:#f8fafc;font-size:10px;font-weight:800;white-space:nowrap}.serialStatus.active{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.serialStatus.complete{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.serialStatus.cancelled{border-color:#fecdd3;background:#fff1f2;color:#9f1239}@media(max-width:760px){.serialRegistryFilters{align-items:stretch}.serialRegistryTable .serialNumberValue{white-space:normal}}

/* v141.78 Weekly Objectives */
.weeklyObjectivesHead{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:4px 0 14px}.weeklyObjectivesActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.weeklyObjectivesActions input{padding:9px 10px;border:1px solid #cfd8e3;border-radius:8px;background:#fff}.weeklyObjectiveWeekLabel{font-size:14px;font-weight:800;color:#334155;margin:0 0 12px}.weeklyObjectiveKpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.weeklyObjectiveBlockedKpi{border-color:#eab8b8!important;background:#fff8f8!important}.weeklyObjectivesFilters{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto;gap:10px;align-items:end;margin-bottom:14px}.weeklyObjectivesFilters label{font-size:12px;font-weight:700;color:#475569}.weeklyObjectivesFilters select{width:100%;margin-top:5px;padding:9px;border:1px solid #cfd8e3;border-radius:8px;background:#fff}.weeklyObjectiveForm{display:none;border:1px solid #cfd8e3;border-radius:12px;background:#f8fafc;padding:14px;margin-bottom:16px}.weeklyObjectiveForm.on{display:block}.weeklyObjectiveFormGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.weeklyObjectiveFormGrid label{font-size:12px;font-weight:700;color:#475569}.weeklyObjectiveFormGrid input,.weeklyObjectiveFormGrid select,.weeklyObjectiveFormGrid textarea{width:100%;margin-top:5px;padding:9px 10px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;font:inherit}.weeklyObjectiveFormGrid textarea{min-height:84px;resize:vertical}.weeklyObjectiveSpan2{grid-column:span 2}.weeklyObjectivesBoard{display:grid;gap:14px}.weeklyObjectiveGroup{border:1px solid #dbe2ea;border-radius:12px;background:#f8fafc;overflow:hidden}.weeklyObjectiveGroupHead{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border-bottom:1px solid #dbe2ea;background:#fff}.weeklyObjectiveGroupHead b{font-size:14px}.weeklyObjectiveGroupHead span{min-width:24px;text-align:center;border-radius:999px;background:#e2e8f0;padding:3px 8px;font-size:11px;font-weight:800}.weeklyObjectiveGroup.blocked .weeklyObjectiveGroupHead{background:#fff5f5}.weeklyObjectiveCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px}.weeklyObjectiveCard{border:1px solid #d9e0e8;border-radius:10px;background:#fff;padding:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}.weeklyObjectiveCard.priorityCritical{border-left:4px solid #b42318}.weeklyObjectiveCard.priorityHigh{border-left:4px solid #d97706}.weeklyObjectiveCardTop{display:flex;justify-content:space-between;gap:8px;align-items:center}.weeklyObjectiveCardTop>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.weeklyObjectivePriority,.weeklyObjectiveOwner{font-size:10px;font-weight:800;border-radius:999px;padding:3px 7px;background:#eef2f7;color:#475569}.weeklyObjectivePriority.critical{background:#fee4e2;color:#b42318}.weeklyObjectivePriority.high{background:#fef0c7;color:#b54708}.weeklyObjectiveCard h3{font-size:15px;line-height:1.3;margin:10px 0 8px;color:#172033}.weeklyObjectiveEdit,.weeklyObjectiveCarry,.weeklyObjectiveOrderLink{font-size:11px;padding:5px 8px}.weeklyObjectiveOrderLink{border:0;background:transparent;color:#174ea6;padding-left:0;font-weight:800}.weeklyObjectiveMeta{font-size:11px;color:#64748b;margin:5px 0}.weeklyObjectiveNotes{font-size:12px;color:#475569;line-height:1.45;margin:8px 0;white-space:pre-wrap}.weeklyObjectiveProgress{margin:9px 0}.weeklyObjectiveProgress>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#64748b}.weeklyObjectiveProgressTrack{height:7px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin-top:5px}.weeklyObjectiveProgressTrack span{display:block;height:100%;background:#64748b;border-radius:999px}.weeklyObjectiveCardActions{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:10px}.weeklyObjectiveQuickStatus{min-width:0;flex:1;padding:7px;border:1px solid #cfd8e3;border-radius:7px;background:#fff}.weeklyObjectiveHistory{font-size:11px;color:#64748b}.weeklyObjectivesEmpty{text-align:center;color:#64748b;padding:30px}.weeklyObjectiveKpi{border:1px solid #cfd8e3;border-radius:12px;background:#fff;margin:0 0 14px;padding:12px}.weeklyObjectiveKpiHead{display:flex;justify-content:space-between;gap:12px;align-items:center}.weeklyObjectiveKpiHead>div{display:flex;gap:8px;align-items:baseline}.weeklyObjectiveKpiHead span{font-size:11px;color:#64748b}.weeklyObjectiveKpiCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.weeklyObjectiveKpiCards>div{border:1px solid #e2e8f0;border-radius:9px;padding:9px}.weeklyObjectiveKpiCards b{display:block;font-size:20px}.weeklyObjectiveKpiCards span{font-size:11px;color:#64748b}
@media(max-width:1000px){.weeklyObjectiveKpis{grid-template-columns:repeat(3,1fr)}.weeklyObjectiveCards{grid-template-columns:repeat(2,1fr)}.weeklyObjectiveFormGrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.weeklyObjectivesHead{display:block}.weeklyObjectivesActions{margin-top:10px}.weeklyObjectiveKpis{grid-template-columns:repeat(2,1fr)}.weeklyObjectivesFilters{grid-template-columns:1fr}.weeklyObjectiveCards{grid-template-columns:1fr}.weeklyObjectiveFormGrid{grid-template-columns:1fr}.weeklyObjectiveSpan2{grid-column:auto}.weeklyObjectiveKpiHead{display:block}.weeklyObjectiveKpiHead button{margin-top:8px}.weeklyObjectiveKpiCards{grid-template-columns:repeat(2,1fr)}}

/* v141.79 Weekly Objectives assignments */
.weeklyObjectiveEmployeeField>label{display:block;font-size:12px;font-weight:700;color:#475569;margin-bottom:5px}.weeklyObjectiveEmployeeChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:150px;overflow:auto;padding:8px;border:1px solid #cfd8e3;border-radius:8px;background:#fff}.weeklyObjectiveEmployeeChoice{display:flex!important;align-items:center;gap:7px;font-weight:600!important;padding:5px 6px;border-radius:6px;background:#f8fafc}.weeklyObjectiveEmployeeChoice input{width:auto!important;margin:0!important}.weeklyObjectiveEmployeeChoice small{color:#64748b;font-weight:500}@media(max-width:650px){.weeklyObjectiveEmployeeChoices{grid-template-columns:1fr}}

.employeeWeeklyObjectives{margin-top:20px;border:2px solid #cfd6df;border-radius:12px;padding:16px;background:#fff}.employeeObjectiveCount{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;margin-left:6px;border-radius:999px;background:#111;color:#fff;font-size:12px}.employeeObjectiveCard{padding:12px 0;border-bottom:1px solid #eef2f6}.employeeObjectiveCard:last-child{border-bottom:0}.employeeObjectiveTop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.employeeObjectiveTop span{font-size:11px;font-weight:700;background:#eef2f7;border-radius:999px;padding:3px 7px;white-space:nowrap}.employeeObjectiveCard small{display:block;color:#64748b;margin-top:4px}.employeeObjectiveNotes{margin-top:7px;color:#334155}@media(max-width:600px){.employeeWeeklyObjectives{display:block!important;margin-top:16px;padding:14px}.employeeObjectiveTop{flex-direction:column;gap:6px}.employeeObjectiveTop b{font-size:16px}.employeeObjectiveTop span{align-self:flex-start}}


/* v141.83 master mobile More menu visibility */
@media(max-width:700px){
  .masterTabs.on{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .masterMoreNav[open] .masterMoreMenu{position:fixed!important;z-index:12050!important;left:10px!important;right:10px!important;top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-height:60vh;max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;border-radius:14px;box-shadow:0 18px 55px rgba(15,23,42,.28)}
  .masterMoreNav[open]>summary{position:relative;z-index:12060}
}

/* v141.84 role-specific Help Center */
.helpWorkspaceHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:8px 0 14px}.helpFrameWrap{background:#fff;border:1px solid #dfe4ea;border-radius:16px;overflow:hidden;min-height:72vh}.helpFrame{display:block;width:100%;height:calc(100vh - 205px);min-height:680px;border:0;background:#f3f5f7}.employeeHelpButton{margin:14px 0 0;width:100%;min-height:44px;font-weight:800}.employeeHelpPanel{max-width:1080px;margin:12px auto}.employeeHelpPanelHead{display:flex;align-items:center;gap:12px;margin:0 0 10px}.employeeHelpPanelHead b{font-size:18px}.employeeHelpPanelHead button{min-height:40px}.employeeHelpPanel .helpFrame{height:calc(100vh - 92px);min-height:680px;border:1px solid #dfe4ea;border-radius:14px;overflow:hidden}
@media(max-width:760px){.helpFrameWrap{border-radius:12px;min-height:calc(100vh - 120px)}.helpFrame{height:calc(100vh - 126px);min-height:640px}.employeeHelpPanel{margin:0}.employeeHelpPanelHead{position:sticky;top:0;z-index:5;background:#f5f6f8;padding:8px 0}.employeeHelpPanel .helpFrame{height:calc(100vh - 58px);min-height:620px;border-radius:10px}}


/* v141.85 master mobile More menu portal - render outside the scrolling nav */
@media(max-width:700px){
  .masterMoreMenu.masterMoreMenuPortal{position:fixed!important;display:grid!important;visibility:visible!important;opacity:1!important;z-index:30000!important;left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:calc(100dvh - 92px)!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;border:1px solid #d7dde5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.35)!important;transform:none!important;clip:auto!important;clip-path:none!important;contain:none!important}
  .masterMoreMenu.masterMoreMenuPortal button{display:block!important;min-height:48px!important;width:100%!important;padding:10px 8px!important;white-space:normal!important;text-align:center!important;font-size:12px!important;font-weight:750!important;background:#fff}
  .masterMoreMenu.masterMoreMenuPortal button.active{background:#161616!important;color:#fff!important;border-color:#161616!important}
  html.masterMoreOpen body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}


/* Employee objective linked work orders */
.employeeObjectiveCard.hasWorkOrder{border-radius:10px;padding:12px;margin:4px 0;border:1px solid #dce3eb;background:#fbfcfe}.employeeObjectiveWorkOrder{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;min-height:40px;padding:8px 11px;border-radius:9px;background:#111827;color:#fff!important;text-decoration:none;font-size:12px;font-weight:800}.employeeObjectiveWorkOrder:hover{background:#263244}.employeeObjectiveWorkOrder:active{transform:translateY(1px)}@media(max-width:600px){.employeeObjectiveWorkOrder{display:flex;width:100%;min-height:46px;font-size:13px}}


/* v141.87 quote outcome management */
.quoteOutcomeSummary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.quoteOutcomeStat{border:1px solid #d8e0e8;border-radius:12px;background:#fff;padding:12px;text-align:left;min-height:72px}.quoteOutcomeStat span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.quoteOutcomeStat b{display:block;margin-top:4px;font-size:24px;color:#172033}.quoteOutcomeStat small{display:block;margin-top:2px;color:#64748b;font-size:10px}.quoteOutcomeStat[data-view]{cursor:pointer}.quoteOutcomeStat[data-view]:hover,.quoteOutcomeStat[data-view].active{border-color:#111827;box-shadow:0 0 0 1px #111827 inset}.quoteOutcomeStat.won b,.quoteOutcomeBadge.won{color:#067647}.quoteOutcomeStat.lost b,.quoteOutcomeBadge.lost{color:#b42318}.quoteOutcomeStat.rate{background:#f8fafc}.quoteOutcomeBadge{font-weight:800;margin-top:5px}.quoteRowWon{background:#fbfffc}.quoteRowLost{background:#fffafa;opacity:.88}.quoteProgressAlert.lost{background:#fee4e2;color:#b42318;border-color:#fecdca}.quoteProgress.isLost .quoteProgressCurrent{color:#b42318;font-weight:800}.quoteLostNote{color:#b42318!important;font-weight:800}.quoteLostAction{color:#b42318!important}.quoteFilterBar{align-items:end}@media(max-width:760px){.quoteOutcomeSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.quoteOutcomeStat{min-height:66px}.quoteOutcomeStat b{font-size:21px}}


/* v141.90 Customers navigation menu */
.customerNavMenu{position:relative;flex:0 0 auto}
.customerNavMenu>summary{list-style:none;cursor:pointer;padding:11px 12px;border:1px solid #d7dbe0;border-radius:9px;background:#fff;font-size:13px;line-height:1.15;user-select:none;white-space:nowrap}
.customerNavMenu>summary::-webkit-details-marker{display:none}
.customerNavMenu>summary::after{content:'  ▾';font-size:10px;color:#6b7280}
.customerNavMenu.active>summary{background:#161616;color:#fff;border-color:#161616}
.customerNavMenu.active>summary::after{color:#fff}
.customerNavMenuPanel{position:absolute;z-index:9700;top:calc(100% + 8px);left:0;min-width:220px;display:grid;gap:5px;padding:8px;background:#fff;border:1px solid #dbe1e7;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.16)}
.customerNavMenuPanel button{width:100%;text-align:left;padding:9px 10px;font-size:12px;white-space:nowrap}
.customerNavMenuPanel button.active{background:#161616;color:#fff;border-color:#161616}
@media(max-width:700px){
  .customerNavMenu>summary{min-height:44px;padding:10px 12px;font-size:11px;font-weight:700;border-radius:10px;display:flex;align-items:center}
  .customerNavMenuPanel.customerNavMenuPortal{position:fixed!important;display:grid!important;visibility:visible!important;opacity:1!important;z-index:30000!important;left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-width:none!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:12px!important;border:1px solid #d7dde5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.35)!important}
  .customerNavMenuPanel.customerNavMenuPortal button{display:block!important;min-height:48px!important;width:100%!important;padding:10px 8px!important;white-space:normal!important;text-align:center!important;font-size:12px!important;font-weight:750!important;background:#fff}
  .customerNavMenuPanel.customerNavMenuPortal button.active{background:#161616!important;color:#fff!important;border-color:#161616!important}
  html.customerNavOpen body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}


/* Master navigation groups: v141.92, navigation-only change. */
.agcNavGroup{position:relative;flex:0 0 auto}
.agcNavGroup>summary{list-style:none;cursor:pointer;padding:11px 12px;border:1px solid #d7dbe0;border-radius:9px;background:#fff;font-size:13px;line-height:1.15;user-select:none;white-space:nowrap}
.agcNavGroup>summary::-webkit-details-marker{display:none}
.agcNavGroup>summary::after{content:'  ▾';font-size:10px;color:#6b7280}
.agcNavGroup.active>summary{background:#161616;color:#fff;border-color:#161616}
.agcNavGroup.active>summary::after{color:#fff}
.agcNavGroupPanel{position:absolute;z-index:9700;top:calc(100% + 8px);left:0;min-width:220px;display:grid;gap:5px;padding:8px;background:#fff;border:1px solid #dbe1e7;border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.16)}
.agcNavGroupPanel button{display:block!important;width:100%;text-align:left;padding:9px 10px;font-size:12px;white-space:nowrap}
.agcNavGroupPanel button.active{background:#161616;color:#fff;border-color:#161616}
@media(max-width:700px){
 .agcNavGroup>summary{min-height:44px;padding:10px 12px;font-size:11px;font-weight:700;border-radius:10px;display:flex;align-items:center}
 .agcNavGroupPanel.agcNavGroupPortal{position:fixed!important;display:grid!important;visibility:visible!important;opacity:1!important;z-index:30000!important;left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:calc(100dvh - 92px)!important;overflow:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;border:1px solid #d7dde5!important;border-radius:16px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.35)!important}
 .agcNavGroupPanel.agcNavGroupPortal button{display:block!important;min-height:48px!important;width:100%!important;padding:10px 8px!important;white-space:normal!important;text-align:center!important;font-size:12px!important;font-weight:750!important}
 html.agcNavGroupOpen body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* v141.93: order activity selector */
.activeOnlyToggle{display:flex;align-items:center;gap:8px;white-space:nowrap}
.activeOnlyToggle select{max-width:190px;min-height:36px;padding:7px 28px 7px 10px;border:1px solid #d7dbe0;border-radius:9px;background:#fff;color:#111827;font:inherit;font-weight:650}
@media(max-width:700px){.masterHeaderActions .activeOnlyToggle{display:flex!important;justify-content:flex-end;flex-wrap:wrap}.activeOnlyToggle select{min-height:44px;max-width:100%}}

/* v141.95 employee objective completion */
.employeeObjectiveComplete{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;margin-left:8px;min-height:40px;padding:9px 12px;border:0;border-radius:9px;background:#166534;color:#fff;font-size:12px;font-weight:800;cursor:pointer}
.employeeObjectiveComplete:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.employeeObjectiveComplete{display:flex;margin:8px 0 0;width:100%;min-height:46px;font-size:13px}}


/* v141.96 - compact expandable production orders, desktop and mobile */
#ordersPage .orders{display:block;width:100%;min-width:0;border-collapse:separate}
#ordersPage .orders thead{display:none}
#ordersPage .orders tbody{display:grid;gap:7px}
#ordersPage .orders tbody tr.orderAccordionRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;background:#fff!important;border:1px solid #dfe4e9;border-radius:11px;overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.035)}
#ordersPage .orders tbody tr.orderAccordionRow.dueSoonRow{border-color:#efb7b7;background:#fff7f7!important}
#ordersPage .orders .orderAccordionRow td{display:block;min-width:0;width:auto;padding:9px 12px;border-bottom:1px solid #edf0f2;overflow-wrap:anywhere}
#ordersPage .orders .orderAccordionRow td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.35;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#747b84;margin-bottom:5px}
#ordersPage .orders .orderAccordionRow td[data-label="Order #"]{grid-column:1/-1;grid-row:1;padding:0!important;border-bottom:0;background:transparent}
#ordersPage .orders .orderAccordionRow td[data-label="Order #"]::before{display:none!important}
#ordersPage .orders .orderAccordionRow.orderCollapsed td:not([data-label="Order #"]){display:none!important}
#ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Actions"],
#ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Work Order / Notes"]{grid-column:1/-1}
#ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Preview"]{grid-column:auto;grid-row:auto;padding:9px 12px}
#ordersPage .orderRowToggle{display:block;width:100%;padding:10px 14px;cursor:pointer;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:inherit}
#ordersPage .orderRowToggle:hover{background:#f3f7fc}
#ordersPage .orderRowToggle:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
#ordersPage .orderCompactTop{display:flex;align-items:center;gap:12px;min-width:0}
#ordersPage .orderCompactNumber{font-weight:850;font-size:14px;white-space:nowrap}
#ordersPage .orderCompactStatus{margin-left:auto;font-size:11px;font-weight:750;border-radius:999px;border:1px solid #dbe2e9;background:#eef2f7;padding:3px 9px;white-space:normal}
#ordersPage .orderCompactChevron{font-size:19px;color:#526274;font-weight:800;flex:0 0 20px;text-align:center}
#ordersPage .orderCompactMain{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;margin-top:4px}
#ordersPage .orderCompactMain strong{font-size:13px;min-width:0;overflow-wrap:anywhere}
#ordersPage .orderCompactMain>span{font-size:12px;color:#596474;min-width:0;overflow-wrap:anywhere}
#ordersPage .orderCompactMeta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:4px;font-size:11px;color:#526274}
#ordersPage .orderCompactRush{font-weight:850;color:#b42318}
#ordersPage .orderAccordionRow.orderExpanded .orderRowToggle{background:#f5f8fc;border-bottom:1px solid #dfe4e9}
#ordersPage .orders .orderAccordionRow .thumb,#ordersPage .orders .orderAccordionRow .noimg{width:66px;height:66px}
@media(min-width:900px){
 #ordersPage .orderRowToggle{display:grid;grid-template-columns:130px minmax(240px,1.3fr) minmax(205px,1fr);gap:14px;align-items:center;min-height:48px;padding:9px 14px}
 #ordersPage .orderCompactMain,#ordersPage .orderCompactMeta{margin-top:0}
 #ordersPage .orderCompactStatus{margin-left:0}
 #ordersPage .orderCompactChevron{margin-left:auto}
 #ordersPage .orderCompactMain{display:flex;flex-wrap:wrap}
 #ordersPage .orderCompactMain strong{margin-right:0}
 #ordersPage .orderCompactMeta{justify-content:flex-end}
}
@media(max-width:700px){
 #ordersPage .orders tbody tr.orderAccordionRow{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-radius:11px}
 #ordersPage .orders .orderAccordionRow td{display:block!important;padding:9px 11px;border-bottom:1px solid #edf0f2}
 #ordersPage .orders .orderAccordionRow.orderCollapsed td:not([data-label="Order #"]){display:none!important}
 #ordersPage .orders .orderAccordionRow td[data-label="Order #"]{display:block!important;grid-column:1/-1}
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Preview"],
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Customer / Job"],
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Status"],
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Actions"],
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Work Order / Notes"]{grid-column:1/-1}
 #ordersPage .orderRowToggle{padding:12px}
 #ordersPage .orderCompactMain{display:block}
 #ordersPage .orderCompactMain strong{display:block;font-size:14px}
 #ordersPage .orderCompactMain>span{display:block;margin-top:3px}
 #ordersPage .orderCompactStatus{max-width:45%;text-align:center}
 #ordersPage .orders .orderAccordionRow .statusEdit{width:100%;min-height:44px}
}


/* v141.97: prevent compact order status from stacking vertically. */
#ordersPage .orderCompactTop{min-width:0;gap:8px}
#ordersPage .orderCompactStatus{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;min-width:max-content;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.35}
#ordersPage .orderCompactNumber{flex:0 0 auto}
@media(min-width:900px){
 #ordersPage .orderRowToggle{grid-template-columns:minmax(240px,1fr) minmax(200px,1.25fr) minmax(170px,.85fr)}
 #ordersPage .orderCompactTop{justify-content:flex-start}
 #ordersPage .orderCompactChevron{margin-left:auto}
}
@media(max-width:700px){
 #ordersPage .orderCompactTop{gap:7px}
 #ordersPage .orderCompactStatus{font-size:10px;padding:3px 7px}
}


/* v141.98: master production status controls, shown inside expanded order */
#ordersPage .masterStatusEdit{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
#ordersPage .masterStatusSelect{min-width:150px;max-width:100%;min-height:36px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;font-size:12px;font-weight:650}
#ordersPage .masterStatusSave{min-height:36px;padding:7px 12px;border:0;border-radius:8px;background:#111827;color:white;font-size:12px;font-weight:750;cursor:pointer}
#ordersPage .masterStatusSave:disabled{opacity:.45;cursor:default}
#ordersPage .masterStatusState{font-size:11px;color:#475467}
#ordersPage .masterStatusState.ok{color:#166534}
#ordersPage .masterStatusState.err{color:#b42318}
@media(max-width:700px){#ordersPage .masterStatusSelect{min-height:44px;flex:1 1 150px;font-size:16px}#ordersPage .masterStatusSave{min-height:44px}}

/* v141.99 manual employee objective email */
.weeklyObjectiveNotify{min-height:34px;padding:7px 10px;margin-left:6px;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;color:#243449;font-size:11px;font-weight:800;cursor:pointer}
.weeklyObjectiveNotify:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.weeklyObjectiveNotify{min-height:42px;margin-left:4px;margin-top:4px}}

/* v141.100: optional, consent-based employee objective text alerts */
.employeeSmsOptInLabel{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.45;color:#334155;padding:8px 0}
.employeeSmsOptInLabel input{width:18px;height:18px;flex:0 0 auto}
.weeklyObjectiveSms{min-height:34px;padding:7px 10px;margin-left:6px;border-radius:8px;border:1px solid #bed5e1;background:#eef7fc;color:#17445a;font-size:11px;font-weight:800;cursor:pointer}
.weeklyObjectiveSms:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.weeklyObjectiveSms{min-height:42px;margin-top:4px}}


/* v141.102 mobile order editor: separate work sections, large targets, persistent toolbar */
.mobileOrderToolbar{display:none}
@media(max-width:760px){
 body.mobileOrderEditing{overflow:hidden!important}
 body.mobileOrderEditing #orderBox.vendorbox.on{display:block!important;position:fixed!important;inset:0!important;z-index:12000!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;margin:0!important;padding:0 12px calc(30px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;background:#f5f7fa!important}
 #orderBox.on #mobileOrderToolbar{display:block;position:sticky;top:0;z-index:20;margin:0 -12px 14px;padding:calc(9px + env(safe-area-inset-top)) 12px 10px;background:#fff;border-bottom:1px solid #dce3eb;box-shadow:0 2px 9px rgba(15,23,42,.05)}
 #orderBox .mobileOrderToolbarTop{display:flex;align-items:center;justify-content:space-between;gap:8px}
 #orderBox .mobileOrderToolbarTop strong{font-size:16px;font-weight:850;min-width:0}
 #orderBox .mobileOrderToolbarActions{display:flex;flex-shrink:0;gap:7px}
 #orderBox .mobileOrderToolbarActions button{min-height:44px;min-width:63px;border-radius:9px;font-size:13px;font-weight:800;padding:9px 12px}
 #orderBox #mobileOrderClose{background:#f2f4f7;border:1px solid #d1d5db;color:#344054}
 #orderBox .mobileOrderSteps{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;margin-top:11px;padding:2px 0 4px}
 #orderBox .mobileOrderSteps button{flex:1 0 auto;min-width:0;min-height:40px;padding:8px 12px;border:1px solid #d7dfe9;border-radius:8px;background:#fff;color:#475467;font-size:12px;font-weight:800;white-space:nowrap}
 #orderBox .mobileOrderSteps button.active{color:#fff;background:#172a40;border-color:#172a40}
 #orderBox .mobileOrderSteps button[hidden]{display:none!important}
 #orderBox #mobileOrderFeedback{font-size:12px;font-weight:700}
 #orderBox #mobileOrderFeedback:empty{display:none}
 #orderBox #mobileOrderFeedback.err{padding:9px;color:#9b1c1c;background:#fff0ef;border-radius:8px;margin-top:7px}
 #orderBox #mobileOrderFeedback.ok{padding:9px;color:#176538;background:#ecf9f0;border-radius:8px;margin-top:7px}
 #orderBox.on>.orderFormGrid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin-top:0}
 #orderBox.on>.orderFormGrid>[data-mobile-order-step]:not(.mobileStepVisible){display:none!important}
 #orderBox.on>.orderFormGrid>.mobileStepVisible{grid-column:1/-1!important;min-width:0}
 #orderBox.on>.orderFormGrid .orderField{min-width:0}
 #orderBox.on>.orderFormGrid .orderField input:not([type=checkbox]),#orderBox.on>.orderFormGrid .orderField select,#orderBox.on>.orderFormGrid .orderField textarea{max-width:100%;min-width:0;min-height:46px;box-sizing:border-box;font-size:16px}
 #orderBox.on>.orderFormGrid .orderField textarea{min-height:100px}
 #orderBox.on .orderLinesManager{padding:10px;border-radius:10px}
 #orderBox.on .orderLineTabs{display:flex!important;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding:3px 0 7px}
 #orderBox.on .orderLineTab,#orderBox.on .orderLineAdd{flex:0 0 auto;width:auto!important;max-width:175px;min-height:42px;white-space:nowrap;text-align:center;font-size:12px}
 #orderBox.on .orderLinesHead{flex-wrap:wrap;gap:8px}
 #orderBox.on .orderFormActions{display:none!important}
 #orderBox.on .orderHelp{display:none!important}
 #orderBox.on #orderFormTitle,#orderBox.on #orderFormSubtitle{display:none}
}


/* Per-line vendor routing: touch-friendly controls in expanded order rows. */
#ordersPage .mobileVendorAssignment{display:flex;flex-direction:column;gap:7px;min-width:0}
#ordersPage .assignedVendorName{font-weight:650;overflow-wrap:anywhere}
#ordersPage .mobileVendorChange{align-self:flex-start;min-height:40px;padding:8px 12px;border:1px solid #cad5e2;border-radius:8px;background:#f8fafc;color:#1e3a5f;font-weight:700;cursor:pointer}
#ordersPage .mobileVendorEditor:not([hidden]){display:flex;flex-direction:column;gap:9px;min-width:0;padding:10px;border:1px solid #dae3ec;border-radius:10px;background:#f8fafc}
#ordersPage .mobileVendorEditor label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700}
#ordersPage .mobileVendorSelect{width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid #b8c7d7;border-radius:8px;background:white;color:#111827;font-size:16px}
#ordersPage .mobileVendorActions{display:flex;flex-wrap:wrap;gap:8px}
#ordersPage .mobileVendorActions button{min-height:44px;padding:9px 14px;border-radius:8px;cursor:pointer;font-weight:700}
#ordersPage .mobileVendorSave{background:#1e3a5f;color:white;border:1px solid #1e3a5f}
#ordersPage .mobileVendorCancel{background:white;color:#334155;border:1px solid #cbd5e1}
@media(max-width:700px){
 #ordersPage .orders .orderAccordionRow.orderExpanded td[data-label="Assigned To"]{grid-column:1/-1}
 #ordersPage .mobileVendorAssignment{width:100%}
}


/* v141.105: Monthly sales and vendor goal dashboards */
.salesGoalsMount{margin:0 0 18px}
.salesGoalsSection{background:linear-gradient(135deg,#f9fbff,#eef5fc);border:1px solid #dbe6f2;border-radius:15px;padding:16px;box-shadow:0 3px 14px #0b274511}
.salesGoalsHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:13px}
.salesGoalsHeading b{font-size:18px;color:#153656}
.salesGoalsControls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.salesGoalsControls input,.salesGoalsControls button{min-height:40px;border:1px solid #bdcddd;border-radius:9px;padding:8px 11px;background:#fff;color:#183552;font-weight:700}
.salesGoalsControls button{cursor:pointer;background:#1d4d79;color:#fff}
.salesGoalGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}
.salesGoalCard{background:white;border:1px solid #dce5ef;border-radius:12px;padding:14px;min-width:0}
.salesGoalCardHeading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-bottom:12px}
.salesGoalCardHeading strong{font-size:15px;color:#173452}
.salesGoalCardHeading span,.salesGoalOrderCount{font-size:11px;color:#64748b}
.salesGoalMetric{margin:12px 0}
.salesGoalMetricLine{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}
.salesGoalMetricLine strong{font-size:12px;color:#173452}
.salesGoalTrack{position:relative;height:13px;background:#e9eff6;border:1px solid #d8e3ee;border-radius:20px;overflow:hidden;margin-top:7px}
.salesGoalFill{height:100%;border-radius:20px;background:linear-gradient(90deg,#3186ba,#23a68a);transition:width .2s}
.salesGoalTargetMark{position:absolute;right:0;top:0;bottom:0;border-right:2px solid #1f4568}
.salesGoalMetricFoot{font-size:11px;color:#52667b;margin-top:5px}
.salesGoalOverlay{position:fixed;z-index:1100;inset:0;background:#0f2038a8;display:flex;align-items:center;justify-content:center;padding:12px}
.salesGoalDialog{background:white;color:#1e293b;border-radius:14px;width:min(100%,440px);padding:20px;box-shadow:0 20px 60px #0003;display:flex;flex-direction:column;gap:12px;max-height:90vh;overflow:auto}
.salesGoalDialog h3{margin:0;font-size:20px}
.salesGoalDialog label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:13px}
.salesGoalDialog input,.salesGoalDialog select{width:100%;min-height:44px;padding:9px;border-radius:8px;border:1px solid #c5d1df;font-size:16px;background:white;color:#111827}
.salesGoalDialogActions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.salesGoalDialogActions button{min-height:44px;padding:10px 15px;border-radius:8px;cursor:pointer}
@media(max-width:700px){.salesGoalsSection{padding:12px}.salesGoalGrid{grid-template-columns:minmax(0,1fr)}.salesGoalsControls{width:100%}.salesGoalsControls input{flex:1;min-width:0}}


/* Keep the Orders dashboard focused on the AGC dollar target only. */
.salesGoalsCompact{padding:12px 16px}
.salesGoalsCompact .salesGoalsHeading{align-items:center;margin-bottom:4px}
.salesGoalsShowAll{min-height:40px;padding:8px 12px;border:1px solid #b9d0e4;border-radius:9px;background:#fff;color:#174b79;font-weight:750;cursor:pointer}
.salesGoalsShowAll:hover{background:#eaf4fd}
.salesGoalsCompact .salesGoalMetric{margin:8px 0 0}
@media(max-width:700px){.salesGoalsCompact{padding:12px}.salesGoalsShowAll{width:100%}}


/* Orders dashboard: labeled controls and a disclosure that stays inside the order card. */
#ordersPage .orderActionBar{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:8px;min-width:0}
#ordersPage .orderActionBar button,#ordersPage .orderActionsMenu>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:44px;height:auto;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:600 13px/1.35 Arial,sans-serif;white-space:normal;cursor:pointer}
#ordersPage .orderActionBar button:hover,#ordersPage .orderActionsMenu>summary:hover{background:#f1f5f9;border-color:#94a3b8}
#ordersPage .orderActionBar button:focus-visible,#ordersPage .orderActionsMenu>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
#ordersPage .orderActionBar button:disabled{opacity:.6;cursor:wait}
#ordersPage .orderActionsMenu{min-width:0;max-width:100%}
#ordersPage .orderActionsMenu>summary{list-style:none;gap:8px}
#ordersPage .orderActionsMenu>summary::-webkit-details-marker{display:none}
#ordersPage .orderActionsMenu>summary::after{content:'▾';font-size:12px}
#ordersPage .orderActionsMenu[open]{flex-basis:100%}
#ordersPage .orderActionsMenu[open]>summary::after{content:'▴'}
#ordersPage .orderActionsPanel{display:grid;gap:6px;margin-top:8px;padding:10px;max-width:360px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}
#ordersPage .orderActionsPanel button{width:100%;justify-content:flex-start;text-align:left}
#ordersPage .orderActionsDanger{border-top:1px solid #e2e8f0;margin-top:4px;padding-top:8px}
#ordersPage .orderActionsDanger p{margin:0 0 8px;font-size:12px;color:#64748b}
#ordersPage .orderActionsDanger .danger{background:#fff5f5;border-color:#e4b8b8;color:#8d1d1d}
#ordersPage .orderFormActions button{min-height:44px;border-radius:8px;padding:10px 14px}
#printVendorPackageModal .printVendorClose{width:auto;min-width:64px;min-height:44px;padding:10px 14px;font-size:13px;line-height:1.35}

/* Work orders open as a scrollable preview; printing is a separate user action. */
.workOrderPreview{position:fixed;inset:0;width:min(1100px,96vw);height:94vh;height:94dvh;max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172a40;overflow:hidden}
.workOrderPreview::backdrop{background:#0f172aaa}
.workOrderPreviewCard{display:flex;flex-direction:column;height:100%;min-height:0}
.workOrderPreviewToolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:12px 16px;border-bottom:1px solid #dbe2ea;background:#f8fafc}
.workOrderPreviewToolbar h2{margin:0;font-size:17px;overflow-wrap:anywhere}
.workOrderPreviewToolbar>div{display:flex;gap:8px;flex-shrink:0}
.workOrderPreviewToolbar button{min-height:44px;min-width:64px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:14px;background:#fff;cursor:pointer}
.workOrderPreviewToolbar button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.workOrderPreviewToolbar button:disabled{opacity:.5;cursor:wait}
.workOrderPreviewState{flex:0 0 auto;margin:0;padding:8px 16px;font-size:12px;color:#64748b}
.workOrderPreviewFrame{display:block;flex:1 1 auto;min-height:0;width:100%;border:0;background:#fff}
@media(max-width:620px){.workOrderPreview{width:100%;height:100vh;height:100dvh;border:0;border-radius:0}.workOrderPreviewToolbar{padding:calc(10px + env(safe-area-inset-top)) 10px 10px;gap:8px}.workOrderPreviewToolbar h2{font-size:15px}.workOrderPreviewCard{padding-bottom:env(safe-area-inset-bottom)}}

/* Quotes follow the Orders action pattern, with acceptance and conversion kept distinct. */
#potentialPage .potentialActions{min-width:220px;width:auto;overflow:visible}
#potentialPage .quoteControls{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;min-width:0}
#potentialPage .quoteControls button,#potentialPage .quoteActionsDisclosure>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:44px;height:auto;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:600 13px/1.35 Arial,sans-serif;white-space:normal;cursor:pointer}
#potentialPage .quoteControls button:hover,#potentialPage .quoteActionsDisclosure>summary:hover{background:#f1f5f9;border-color:#94a3b8}
#potentialPage .quoteControls button:focus-visible,#potentialPage .quoteActionsDisclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
#potentialPage .quoteControls button:disabled{opacity:.5;cursor:default}
#potentialPage .quoteControls .primary{background:#161616;color:#fff;border-color:#161616}
#potentialPage .quoteActionsDisclosure{min-width:0;max-width:100%}
#potentialPage .quoteActionsDisclosure>summary{list-style:none;gap:8px}
#potentialPage .quoteActionsDisclosure>summary::-webkit-details-marker{display:none}
#potentialPage .quoteActionsDisclosure>summary::after{content:'▾';font-size:12px}
#potentialPage .quoteActionsDisclosure[open]{flex-basis:100%}
#potentialPage .quoteActionsDisclosure[open]>summary::after{content:'▴'}
#potentialPage .quoteActionsList{display:grid;gap:6px;margin-top:8px;padding:10px;max-width:360px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}
#potentialPage .quoteActionsList button{width:100%;justify-content:flex-start;text-align:left}
#potentialPage .quoteActionsList p{margin:0 0 8px;font-size:12px;color:#64748b}
#potentialPage .quoteActionsDanger{border-top:1px solid #e2e8f0;margin-top:4px;padding-top:8px}
#potentialPage .quoteActionsDanger .danger{background:#fff5f5;border-color:#e4b8b8;color:#8d1d1d;margin-bottom:8px}
@media(max-width:760px){#potentialPage .potentialActions{min-width:0}#potentialPage .quoteControls{width:100%}}

/* Shared presentation for Arcade and General Inventory; data handlers remain separate. */
.inventoryRecordActions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;min-width:0}
.inventoryRecordActions button,.inventoryActionsDisclosure>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:44px;height:auto;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:600 13px/1.35 Arial,sans-serif;white-space:normal;cursor:pointer;text-decoration:none}
.inventoryRecordActions button:hover,.inventoryActionsDisclosure>summary:hover{background:#f1f5f9;border-color:#94a3b8}
.inventoryRecordActions button:focus-visible,.inventoryActionsDisclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.inventoryRecordActions button:disabled{opacity:.5;cursor:default}
.inventoryActionsDisclosure{min-width:0;max-width:100%}
.inventoryActionsDisclosure>summary{list-style:none;gap:8px}
.inventoryActionsDisclosure>summary::-webkit-details-marker{display:none}
.inventoryActionsDisclosure>summary::after{content:'▾';font-size:12px}
.inventoryActionsDisclosure[open]{flex-basis:100%}
.inventoryActionsDisclosure[open]>summary::after{content:'▴'}
.inventoryActionsPanel{display:grid;gap:6px;margin-top:8px;padding:10px;max-width:300px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}
.inventoryActionsPanel button{width:100%;justify-content:flex-start;text-align:left}
.inventoryActionsDanger{border-top:1px solid #e2e8f0;padding-top:8px}
.inventoryActionsDanger p{margin:8px 0 0;font-size:12px;color:#64748b}
.inventoryActionsDanger .danger{background:#fff5f5;border-color:#e4b8b8;color:#8d1d1d}
#inventoryItemForm button,#inventoryAdjustForm button,#inventoryCategoryForm button,#generalInventoryItemForm button,#generalInventoryAdjustForm button,#generalInventoryBomForm button{min-height:44px}
#closeInventoryPartUsage,#closeGeneralInventoryUsage{width:auto;min-width:64px;min-height:44px;padding:10px 14px;font-size:13px;line-height:1.35}
@media(min-width:761px){.inventoryTableClean th:nth-child(6){width:220px}#inventoryBody>.inventoryItemRow>td:last-child,#generalInventoryBody>tr>td:last-child{min-width:220px}}

/* Customer and vendor directory controls share the record action pattern. */
.directoryRecordActions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;min-width:0}
.directoryRecordActions button,.directoryActionsDisclosure>summary,.directoryDetailClose{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:44px;height:auto;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:600 13px/1.35 Arial,sans-serif;white-space:normal;cursor:pointer}
.directoryRecordActions button:hover,.directoryActionsDisclosure>summary:hover{background:#f1f5f9;border-color:#94a3b8}
.directoryRecordActions button:focus-visible,.directoryActionsDisclosure>summary:focus-visible,.directoryDetailClose:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.directoryRecordActions button:disabled{opacity:.5;cursor:wait}
.directoryActionsDisclosure{min-width:0;max-width:100%}
.directoryActionsDisclosure>summary{list-style:none;gap:8px}
.directoryActionsDisclosure>summary::-webkit-details-marker{display:none}
.directoryActionsDisclosure>summary::after{content:'▾';font-size:12px}
.directoryActionsDisclosure[open]{flex-basis:100%}
.directoryActionsDisclosure[open]>summary::after{content:'▴'}
.directoryActionsPanel{display:grid;gap:6px;margin-top:8px;padding:10px;max-width:320px;border:1px solid #dbe2ea;border-radius:10px;background:#f8fafc}
.directoryActionsPanel button{width:100%;justify-content:flex-start;text-align:left}
.directoryViewHint{display:block;margin-top:8px;font-size:12px;font-weight:700;color:#245b94}
#customerForm button,#customerContactForm button,#vendorDirectoryForm button{min-height:44px}
.directoryDetailDialog{width:min(620px,94vw);max-height:90vh;max-height:90dvh;margin:auto;padding:0;border:1px solid #cbd5e1;border-radius:12px;color:#172a40;background:#fff;overflow:auto}
.directoryDetailDialog::backdrop{background:#0f172aaa}
.directoryDetailHeader{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #dbe2ea}
.directoryDetailHeader h2{font-size:18px;margin:0;overflow-wrap:anywhere}.directoryDetailClose{flex-shrink:0}
.directoryDetailFields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:20px}.directoryDetailFields>div:last-child{grid-column:1/-1}.directoryDetailFields dt{font-size:12px;color:#64748b;margin-bottom:4px}.directoryDetailFields dd{margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:761px){#vendorDirectoryBody>tr>td:last-child{min-width:220px}}
@media(max-width:760px){.customerDetailTop{flex-wrap:wrap}.directoryRecordActions{width:100%}.directoryDetailFields{grid-template-columns:1fr}#customerDetail{scroll-margin-top:16px}}

/* Consistent record controls for staff, accounting, catalog and documents. */
.remainingRecordActions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;min-width:150px}
.remainingRecordActions button,.remainingRecordActions a,.remainingActionsMenu>summary,.remainingLabeledButton{min-height:44px;width:auto;height:auto;padding:10px 14px;font-size:14px;line-height:1.3;border-radius:8px;white-space:normal}
.remainingRecordActions a{display:inline-flex;align-items:center;border:1px solid #cbd5e1;text-decoration:none}
.remainingActionsMenu{max-width:100%}
.remainingActionsMenu>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;border:1px solid #cbd5e1;background:#fff;color:#334155;font-weight:600}
.remainingActionsMenu>summary::-webkit-details-marker{display:none}
.remainingActionsMenu>summary::after{content:'▾';font-size:12px}
.remainingActionsMenu[open]>summary::after{content:'▴'}
.remainingActionsPanel{display:flex;flex-direction:column;gap:6px;position:static;margin-top:8px;padding:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;min-width:180px;max-width:100%}
.remainingActionsPanel button,.remainingActionsPanel a{display:flex;align-items:center;justify-content:flex-start;width:100%;text-align:left;margin:0}
.remainingRecordActions :is(button,a,summary):focus-visible,.remainingLabeledButton:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.remainingRecordActions button:disabled{opacity:.5;cursor:not-allowed}
.remainingRecordActions .actionIcon{font-size:inherit}
.quickCustomerClose,.quoteAttachmentClose,.employeeQrClose{min-width:64px;width:auto;min-height:44px;height:auto;padding:10px 12px;font-size:14px;border-radius:8px}
.employeeQrCard{padding-top:64px}
#pieceOperationList button,#pieceCompletionList button,#pieceCompletionList select,#weeklyObjectivesBoard select,#weeklyObjectivesBoard .weeklyObjectiveCarry,#objectivePrevWeek,#objectiveNextWeek,#refreshWeeklyObjectives{min-height:44px;padding:10px 14px}
@media(max-width:700px){.remainingRecordActions{min-width:0}.remainingActionsPanel{min-width:160px}.remainingActionsMenu[open]{flex-basis:100%}}
.headerActionSource{display:none!important}
.appHeader [hidden]{display:none!important}
.appHeader .brandCopy{min-width:0}
.appHeader #title{overflow-wrap:anywhere}
@media(max-width:700px){.masterHeaderActions{flex-wrap:wrap}.masterHeaderActions>button{min-height:44px;max-width:100%;white-space:normal}}


/* Order editor: desktop popup; preserve the existing fullscreen mobile editor. */
.orderEditorBackdrop{position:fixed;inset:0;z-index:11990;background:rgba(15,23,42,.62);backdrop-filter:blur(3px);display:none}
.orderEditorBackdrop.on{display:block}
body.orderEditorPopupOpen{overflow:hidden}
#orderBox.vendorbox.on{position:fixed;z-index:12000;inset:3vh auto auto 50%;transform:translateX(-50%);display:block;width:min(1120px,calc(100vw - 36px));max-height:94vh;max-height:94dvh;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0 20px 22px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;box-shadow:0 30px 100px rgba(15,23,42,.36);scroll-margin:0}
#orderBox .orderEditorPopupHeader{position:sticky;top:0;z-index:22;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 -20px 16px;padding:18px 20px 15px;background:#fff;border-bottom:1px solid #e2e8f0;border-radius:16px 16px 0 0}
#orderBox .orderEditorPopupHeading{min-width:0}
#orderBox .orderEditorPopupHeading>b{display:block;font-size:19px;color:#172a40}
#orderBox .orderEditorPopupHeading>.sub{margin-top:4px;line-height:1.4}
#orderBox .orderEditorPopupClose{flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #d5dce5;border-radius:10px;background:#f8fafc;color:#334155;font-size:19px;cursor:pointer}
#orderBox .orderEditorPopupClose:hover{background:#edf2f7}
#orderBox .orderFormGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
#orderBox .orderFormActions{position:sticky;bottom:-22px;z-index:21;display:flex;flex-wrap:wrap;gap:10px;margin:20px -20px 0;padding:14px 20px 18px;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -8px 20px rgba(15,23,42,.04)}
#orderBox .orderFormActions button{min-height:44px}
@media(min-width:761px) and (max-width:1050px){#orderBox .orderFormGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 #orderBox.vendorbox.on{inset:0!important;transform:none!important;width:100%!important;max-height:none!important;height:100dvh!important;padding:0 12px calc(30px + env(safe-area-inset-bottom))!important;border-radius:0!important}
 #orderBox .orderEditorPopupHeader{display:none}
 #orderBox .orderFormGrid{grid-template-columns:minmax(0,1fr)!important}
 #orderBox .orderFormActions{display:none!important}
}
/* Stock types organize general inventory without changing stock accounting. */

.vendorInventoryFilters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.vendorInventoryFilters label{display:grid;gap:5px;min-width:150px;font-size:13px}.vendorInventoryFilters label:first-child{flex:1;min-width:220px}.vendorInventoryFilters input,.vendorInventoryFilters select{width:100%;min-height:44px;padding:9px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff}.vendorInventoryEconomics{min-width:220px;display:grid;gap:5px}.vendorInventoryEconomics>div{display:flex;justify-content:space-between;gap:14px}.vendorInventoryEconomics span{color:#52687c;font-size:12px}.vendorInventoryEconomics b{white-space:nowrap}.vendorInventoryEconomics small{display:block;max-width:310px;line-height:1.4}#vendorInventoryEconomicsNote[hidden]{display:none}@media(max-width:700px){.vendorInventoryFilters label{flex:1;min-width:120px}.vendorInventoryFilters label:first-child{flex-basis:100%}.vendorInventoryEconomics{min-width:200px}}

.stockTypeTabs{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0;padding:5px;border:1px solid #dce3e9;border-radius:12px;background:#f4f7fa}.stockTypeTabs [role="tab"]{flex:0 0 auto;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;background:transparent;color:#52687c;font-weight:700;cursor:pointer}.stockTypeTabs [role="tab"][aria-selected="true"]{background:#17314a;border-color:#17314a;color:#fff}.stockTypeTabs [role="tab"]:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:700px){.stockTypeTabs{gap:4px}.stockTypeTabs [role="tab"]{padding:9px 11px;font-size:12px}}

/* Full-sized Manage Employee Time actions, including narrow mobile viewports. */
.vendorTimeHeaderActions{min-width:0;justify-content:flex-end;flex-wrap:wrap}
.vendorTimeHeaderActions button{white-space:nowrap}
@media(max-width:700px){.vendorTimeHeaderActions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vendorTimeHeaderActions button{width:100%;min-width:0;white-space:normal}}

/* Small line-image references in the shared master/vendor order summary. */
#ordersPage .orderCompactImages{display:inline-flex;align-items:center;gap:4px;min-width:0;flex:1 1 0;overflow:hidden}
#ordersPage .orderCompactImages .orderCompactThumb{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain;border:1px solid #dfe4e9;border-radius:5px;background:#fff}
#ordersPage .orderCompactImages .orderCompactThumb[hidden]{display:none}
#ordersPage .orderCompactImageMore{flex:0 0 auto;font-size:10px;font-weight:750;color:#526274;white-space:nowrap}

/* Expand the material-cost calculation without leaving the inventory list. */
.inventoryBomCostDetails{min-width:0;border:1px solid #dce3eb;border-radius:7px;background:#f8fafc}
.inventoryBomCostDetails>summary{display:flex;align-items:center;gap:8px;padding:9px 8px;min-height:40px;cursor:pointer;list-style:none}
.inventoryBomCostDetails>summary::-webkit-details-marker{display:none}
.inventoryBomCostDetails>summary::before{content:'▸';color:#52687c;flex:0 0 auto}
.inventoryBomCostDetails[open]>summary::before{content:'▾'}
.inventoryBomCostDetails>summary>b{margin-left:auto}
.inventoryBomCostDetails>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.inventoryBomCostBody{padding:0 8px 8px}
.inventoryBomCostBody>p{font-size:11px;line-height:1.4;color:#52687c;max-width:380px;margin:4px 0 8px}
.inventoryBomCostParts{display:grid;gap:8px;min-width:0;max-width:430px}
.inventoryBomCostPart{min-width:0;margin:0;border:1px solid #dce3eb;border-radius:8px;background:#fff;overflow:hidden}
.inventoryBomCostPart>div{display:grid;grid-template-columns:minmax(62px,30%) minmax(0,1fr);gap:10px;padding:8px;border-bottom:1px solid #edf0f2}
.inventoryBomCostPart>div:last-child{border-bottom:0}
.inventoryBomCostPart dt{margin:0;font-size:10px;font-weight:800;line-height:1.4;color:#667085;text-transform:uppercase;letter-spacing:.03em}
.inventoryBomCostPart dd{min-width:0;margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.inventoryBomCostPart dd>b{white-space:normal}
.inventoryBomCostPart dd>small{font-size:10px;color:#667085}
.inventoryBomCostTotal{display:flex;justify-content:space-between;gap:10px;margin-top:8px;padding:8px 0;border-top:2px solid #cbd5e1;font-size:12px}
.inventoryBomCostTotal>b:first-child{white-space:normal}

/* Quoted product composition */
.quotedProductMix{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center;gap:24px;padding:14px 18px;margin:12px 0 18px;border:1px solid #e2e8f0;border-radius:12px;background:#fbfcfe}.quotedProductPie{text-align:center}.quotedProductPie svg{display:block;width:100%;max-width:240px;height:auto;margin:auto}.quotedProductPie>span{display:block;margin-top:5px;color:#64748b;font-size:12px;font-weight:700}.quotedProductLegend>b{font-size:14px;color:#111827}.quotedProductLegend>p{font-size:12px;color:#64748b;margin:4px 0 12px}.quotedProductLegend ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}.quotedProductLegend li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:9px;align-items:center;min-width:0}.quotedProductSwatch{height:12px;width:12px;border-radius:3px}.quotedProductLabel{font-size:12px;font-weight:700;color:#334155;overflow-wrap:anywhere}.quotedProductLabel small{display:block;margin-top:3px;color:#64748b;font-size:11px;font-weight:400}.quotedProductLegend strong{font-size:13px;font-variant-numeric:tabular-nums;color:#111827}@media(max-width:1000px){.quotedProductLegend ul{grid-template-columns:1fr}}@media(max-width:600px){.quotedProductMix{grid-template-columns:minmax(0,1fr);gap:16px;padding:14px}.quotedProductPie{max-width:240px;margin:auto;width:100%}.quotedProductLegend ul{grid-template-columns:1fr}.quotedProductLegend li{padding:6px 0}}

