:root{color-scheme:light;--bg:#f6f7f9;--panel:#ffffff;--panel-soft:#f1f5f9;--text:#111827;--muted:#667085;--line:#d8dee8;--brand:#0f766e;--brand-dark:#115e59;--brand-soft:#e8f6f3;--brand-bright:#4ade80;--danger:#b42318;--warning:#b54708;--shadow:0 12px 30px rgba(15,23,42,0.08);--glass-surface:rgba(247,250,249,0.84);--glass-surface-soft:rgba(239,245,243,0.72);--glass-surface-strong:rgba(250,252,251,0.91);--glass-control:rgba(255,255,255,0.72);--glass-border:rgba(208,224,219,0.72);--glass-highlight:rgba(255,255,255,0.48);--glass-shadow:0 14px 34px rgba(2,9,7,0.16);--focus-ring:rgba(32,184,137,0.2)}.other-cost-editor{display:grid;grid-gap:9px;gap:9px;padding:12px;border:1px dashed var(--line);border-radius:7px}.other-cost-head,.other-cost-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.45fr) 40px;grid-gap:8px;gap:8px;align-items:center}.other-cost-head{grid-template-columns:1fr auto}.other-cost-row .icon-button{min-width:40px;min-height:40px}.factory-portal{min-height:100vh;padding:18px clamp(14px,3vw,42px) 48px}.factory-portal-head{position:-webkit-sticky;position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:12px 15px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-surface-strong);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.factory-portal-head>div{display:flex;align-items:center;gap:10px}.factory-portal-head span{display:grid;grid-gap:2px;gap:2px}.factory-portal-head small{color:var(--muted)}.factory-portal-body{width:min(1280px,100%);margin:22px auto 0}.factory-tabs{display:flex;gap:8px;margin-bottom:16px}.factory-tabs button{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:7px;background:var(--glass-surface);color:var(--muted)}.factory-tabs button.active{color:var(--text);border-color:var(--brand);background:var(--brand-soft)}.factory-tabs b{color:var(--brand-dark)}.factory-item-list,.factory-order-list{display:grid;grid-gap:12px;gap:12px}.factory-order-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--glass-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.factory-order-card>header{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px;border-bottom:1px solid var(--line)}.factory-order-card h2,.factory-order-card h3{margin:2px 0}.factory-item-info p,.factory-item-info small,.factory-order-card header span{color:var(--muted)}.factory-ack-badge{padding:7px 10px;border:1px solid var(--brand);border-radius:999px;color:var(--brand-dark)}.factory-item-list{padding:12px}.factory-item-row{display:grid;grid-template-columns:90px minmax(200px,1fr) auto minmax(230px,.8fr);grid-gap:14px;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--glass-surface-soft)}.factory-image-placeholder,.factory-item-row>img{width:90px;height:90px;object-fit:cover;border-radius:6px;background:var(--panel-soft);display:grid;place-items:center}.factory-item-info{display:grid;grid-gap:5px;gap:5px}.factory-item-info p{margin:0}.factory-item-status{display:flex;align-items:center;gap:6px;white-space:nowrap}.factory-item-status i{width:8px;height:8px;border-radius:50%}.factory-materials{display:grid;grid-gap:6px;gap:6px;padding-left:14px;border-left:1px solid var(--line)}.factory-materials div{display:grid;grid-gap:2px;gap:2px}.factory-materials small{color:var(--muted)}.expense-page,.profit-dashboard{display:grid;grid-gap:18px;gap:18px}.expense-page>header,.profit-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.expense-page h2,.profit-dashboard-head h2{margin:3px 0;font-size:27px}.expense-page p,.profit-dashboard-head p{margin:0;color:var(--muted)}.profit-dashboard-head label{width:180px;color:var(--muted)}.profit-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.profit-metric-grid article{min-height:138px;display:grid;align-content:space-between;grid-gap:8px;gap:8px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--glass-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.profit-metric-grid article>span,.profit-metric-grid label,.profit-metric-grid small{color:var(--muted)}.profit-metric-grid strong{font-size:28px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.profit-metric-grid label{display:flex;justify-content:space-between;gap:8px;align-items:center}.profit-metric-grid select{width:74px;min-height:30px;padding:4px 7px}.profit-chart-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr);grid-gap:12px;gap:12px}.profit-category-card,.profit-chart-card{min-height:360px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--glass-surface)}.profit-category-card header,.profit-chart-card header{display:flex;justify-content:space-between;align-items:center}.profit-category-card h3,.profit-chart-card h3{margin:0}.profit-category-card header span,.profit-chart-card header span{color:var(--muted)}.profit-bars{height:280px;display:flex;align-items:flex-end;gap:5px;padding-top:24px;border-bottom:1px solid var(--line)}.profit-bars>div{flex:1 1;min-width:8px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.profit-bars>div>span{width:min(26px,80%);min-height:3px;border-radius:4px 4px 1px 1px;background:#5c86ff}.profit-bars small{color:var(--muted);font-size:10px}.profit-bars p{margin:auto;color:var(--muted)}.profit-category-content{display:grid;grid-template-columns:170px 1fr;grid-gap:18px;gap:18px;align-items:center;min-height:290px}.profit-donut{width:170px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center}.profit-donut:before{content:"";grid-area:1/1;width:58%;aspect-ratio:1;border-radius:50%;background:var(--panel)}.profit-donut span{grid-area:1/1;z-index:1;display:grid;text-align:center;font-size:22px;font-weight:800}.profit-donut small{font-size:11px;color:var(--muted)}.profit-category-content ul{display:grid;grid-gap:9px;gap:9px;padding:0;margin:0;list-style:none}.profit-category-content li{display:grid;grid-template-columns:8px 1fr auto;grid-gap:7px;gap:7px;align-items:center}.profit-category-content li i{width:8px;height:8px;border-radius:50%}.expense-form{display:grid;grid-template-columns:160px 150px 150px minmax(220px,1fr) auto auto;grid-gap:10px;gap:10px;align-items:flex-end;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--glass-surface)}.expense-form label{display:grid;grid-gap:6px;gap:6px;color:var(--muted)}.expense-list{display:grid;grid-gap:8px;gap:8px}.expense-list article{display:grid;grid-template-columns:minmax(0,1fr) auto 40px 40px;grid-gap:10px;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:var(--glass-surface)}.expense-list article>div{display:grid;grid-gap:3px;gap:3px}.expense-list span{color:var(--muted)}.factory-management>form{display:grid;grid-template-columns:1fr 1fr auto;grid-gap:10px;gap:10px;align-items:end}.factory-management-list{display:grid;grid-gap:8px;gap:8px;margin-top:16px}.factory-management-list article{display:grid;grid-template-columns:1fr auto auto;grid-gap:14px;gap:14px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:7px}.factory-management-list article>div{display:grid;grid-gap:2px;gap:2px}@media (max-width:720px){.other-cost-row{grid-template-columns:minmax(0,1fr) 110px 40px}.factory-portal{padding:10px 10px 34px}.factory-portal-head{position:static}.factory-item-row{grid-template-columns:64px minmax(0,1fr);align-items:start}.factory-image-placeholder,.factory-item-row>img{width:64px;height:64px}.factory-item-status{grid-column:2}.factory-materials{grid-column:1/-1;padding:10px 0 0;border-left:0;border-top:1px solid var(--line)}.profit-dashboard-head{align-items:stretch;flex-direction:column}.profit-dashboard-head label{width:100%}.profit-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-metric-grid article{min-height:124px;padding:12px}.profit-metric-grid strong{font-size:21px}.profit-chart-grid{display:none}.expense-form{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-notes{grid-column:1/-1}.expense-list article{grid-template-columns:minmax(0,1fr) auto 36px 36px}.factory-management>form{grid-template-columns:1fr}}:root[data-theme=dark]{color-scheme:dark;--bg:#090d0c;--panel:#101514;--panel-soft:#171d1b;--text:#f2f7f4;--muted:#91a09a;--line:#2a3531;--brand:#20b889;--brand-dark:#8df0bc;--brand-soft:#18362d;--brand-bright:#a7f34b;--danger:#ff8077;--warning:#ffb454;--shadow:0 14px 30px rgba(0,0,0,0.24);--glass-surface:rgba(15,20,19,0.7);--glass-surface-soft:rgba(25,32,30,0.58);--glass-surface-strong:rgba(13,18,17,0.84);--glass-control:rgba(21,27,26,0.66);--glass-border:rgba(184,218,207,0.16);--glass-highlight:rgba(255,255,255,0.08);--glass-shadow:0 16px 38px rgba(0,0,0,0.28);--focus-ring:rgba(72,222,171,0.2)}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:#050908;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit}.loading-screen,.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-panel{width:min(440px,100%);background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:28px}.brand-mark{width:52px;height:52px;display:grid;place-items:center;background:#d9f5f1;color:var(--brand);border-radius:8px;margin-bottom:16px}.form-card h2,.login-panel h1,.panel-title h2,.topbar h1{margin:0;letter-spacing:0}.login-panel p,.panel-title p,.repair-card p{color:var(--muted);margin:8px 0 0;line-height:1.6}.stack{display:grid;grid-gap:14px;gap:14px;margin-top:20px}.field,.stack label{display:grid;grid-gap:7px;gap:7px;color:#344054;font-size:14px}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:10px 11px;min-height:40px}textarea{min-height:84px;resize:vertical}.material-unit-weight-field input[readonly]{cursor:not-allowed;color:var(--brand-dark);font-weight:700}.material-unit-weight-field small{color:var(--muted);font-size:12px}.customer-list button,.icon-button,.primary-button,.secondary-button,.tabs button{border:1px solid transparent;border-radius:6px;cursor:pointer}.primary-button{background:var(--brand);color:#fff;padding:10px 14px;font-weight:700}.primary-button:hover{background:var(--brand-dark)}.secondary-button{background:#eef2f7;color:#1f2937;padding:8px 12px}.danger-button{border:1px solid color-mix(in srgb,var(--danger) 55%,transparent);border-radius:6px;background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger);padding:9px 13px;font-weight:700;cursor:pointer}.danger-button.compact,.primary-button.compact,.secondary-button.compact{min-height:34px;padding:7px 10px;white-space:nowrap}button:disabled{cursor:not-allowed;opacity:.48}.form-error,.notice.error{color:var(--danger)}.hint-line{margin-top:12px;color:var(--muted);font-size:13px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.app-shell{min-height:100dvh;padding-left:64px}.app-main{min-width:0;min-height:100dvh;background:#fff}.icon-rail{position:fixed;inset:0 auto 0 0;z-index:40;width:64px;display:flex;flex-direction:column;align-items:center;gap:18px;background:#fff;border-right:1px solid #e5e7eb;padding:10px}.rail-brand,.rail-button{position:relative;width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border:0;border-radius:8px;background:transparent;color:#334155;cursor:pointer}.rail-brand{background:var(--brand);color:#fff}.rail-items{display:flex;flex:1 1;flex-direction:column;align-items:center;gap:6px}.rail-button:focus-visible,.rail-button:hover{background:#f1f5f4;color:var(--brand)}.rail-button.active{background:#d9f5f1;color:var(--brand-dark)}.rail-button.active:before{content:"";position:absolute;left:-10px;width:3px;height:24px;border-radius:0 3px 3px 0;background:var(--brand)}.rail-tooltip{position:absolute;left:54px;top:50%;z-index:50;width:max-content;max-width:140px;transform:translate(4px,-50%);opacity:0;pointer-events:none;border-radius:6px;background:#111827;color:#fff;padding:7px 9px;font-size:12px;line-height:1;transition:transform .15s ease-out,opacity .15s ease-out}.rail-button:focus-visible .rail-tooltip,.rail-button:hover .rail-tooltip{transform:translateY(-50%);opacity:1}.rail-button[aria-expanded=true] .rail-tooltip{opacity:0}.app-shell{padding-left:240px}:root[data-sidebar=collapsed] .app-shell{padding-left:64px}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:240px;overflow-x:hidden;overflow-y:auto;border-right:1px solid var(--line);background:var(--panel);padding:12px 10px}:root[data-sidebar=collapsed] .app-sidebar{width:64px}.sidebar-brand-row{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}.sidebar-brand,.sidebar-collapse,.sidebar-primary,.sidebar-section button{border:0;background:transparent;color:inherit;cursor:pointer}.sidebar-brand{min-width:0;display:flex;align-items:center;gap:9px;color:var(--text);padding:6px;font-weight:800}.sidebar-brand svg{flex:0 0 auto;color:var(--brand)}.sidebar-brand span{overflow:hidden;white-space:nowrap}.sidebar-collapse{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:6px;color:var(--muted)}.sidebar-collapse:focus-visible,.sidebar-collapse:hover{background:var(--panel-soft);color:var(--brand-dark)}.sidebar-navigation{display:grid;grid-gap:7px;gap:7px}.sidebar-group{min-width:0;display:grid;grid-gap:4px;gap:4px}.sidebar-primary{position:relative;min-width:0;min-height:38px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;border-radius:6px;color:var(--muted);padding:8px;text-align:left}.sidebar-group.active>.sidebar-primary,.sidebar-primary:focus-visible,.sidebar-primary:hover{background:var(--panel-soft);color:var(--brand-dark)}.sidebar-primary-label{overflow:hidden;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.sidebar-sections{display:grid;grid-gap:9px;gap:9px;padding:3px 0 5px 30px}.sidebar-group-chevron{transition:transform .16s ease-out}.sidebar-group.group-collapsed .sidebar-group-chevron{transform:rotate(-90deg)}.sidebar-group.group-collapsed .sidebar-sections{display:none}.sidebar-section{display:grid;grid-gap:2px;gap:2px}.sidebar-section>span{color:var(--muted);padding:4px 7px;font-size:10px;font-weight:700}.sidebar-section button{min-height:32px;overflow:hidden;border-radius:6px;color:var(--muted);padding:6px 8px;font-size:12px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.sidebar-section button.active,.sidebar-section button:focus-visible,.sidebar-section button:hover{background:var(--brand-soft,#e8f6f3);color:var(--brand-dark)}.app-sidebar .rail-tooltip{display:none}:root[data-sidebar=collapsed] .sidebar-brand-row{flex-direction:column;justify-content:center}:root[data-sidebar=collapsed] .sidebar-brand span,:root[data-sidebar=collapsed] .sidebar-group-chevron,:root[data-sidebar=collapsed] .sidebar-primary-label,:root[data-sidebar=collapsed] .sidebar-sections{display:none}:root[data-sidebar=collapsed] .sidebar-primary{width:44px;height:44px;display:grid;grid-template-columns:1fr;place-items:center;padding:0}:root[data-sidebar=collapsed] .sidebar-primary:focus-visible .rail-tooltip,:root[data-sidebar=collapsed] .sidebar-primary:hover .rail-tooltip{display:block;transform:translateY(-50%);opacity:1}.nav-backdrop{position:fixed;inset:0;z-index:25;border:0;background:rgba(15,23,42,.08);cursor:default}.nav-panel{position:fixed;top:0;bottom:0;z-index:35;width:240px;overflow-y:auto;background:#fff;border-right:1px solid #e5e7eb;box-shadow:10px 0 24px rgba(15,23,42,.08);padding:18px 14px;animation:nav-panel-in .16s ease-out}.nav-panel-secondary{left:64px}.nav-panel-tertiary{left:304px;z-index:34}@keyframes nav-panel-in{0%{transform:translateX(-8px);opacity:0}to{transform:translateX(0);opacity:1}}.nav-panel-head{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e5e7eb;padding:0 4px 14px;margin-bottom:10px}.nav-panel-head>div{display:grid;grid-gap:4px;gap:4px}.nav-panel-head span{color:var(--muted);font-size:12px}.nav-panel-head strong{font-size:18px}.mobile-panel-back,.panel-close{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:0;border-radius:6px;background:#f1f5f9;color:#334155;cursor:pointer}.panel-close{font-size:22px}.mobile-panel-back{display:none}.nav-panel-list{display:grid;grid-gap:5px;gap:5px}.nav-panel-list>button{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#334155;padding:10px;text-align:left;cursor:pointer}.nav-panel-list>button.active,.nav-panel-list>button:hover{background:#eef7f5;border-color:#c7e5e1;color:var(--brand-dark)}.operation-list button>span{display:grid;grid-gap:4px;gap:4px}.operation-list small{color:var(--muted);font-size:11px;line-height:1.35}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:20;min-height:78px;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(280px,1.4fr) minmax(180px,.7fr);align-items:center;grid-gap:20px;gap:20px;border-bottom:1px solid #e5e7eb;background:rgba(255,255,255,.98);padding:12px 28px}.page-heading{min-width:0;display:flex;align-items:center;gap:9px}.page-heading-copy{min-width:0}.page-back-button{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--text);padding:0;cursor:pointer}.page-back-button:focus-visible,.page-back-button:hover{border-color:var(--brand);color:var(--brand-dark)}.business-breadcrumb{min-width:0;display:flex;align-items:center;gap:3px;overflow:hidden}.business-breadcrumb span{display:block;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.business-breadcrumb svg{flex:0 0 auto;color:var(--muted)}.page-heading h1{margin:3px 0 0;overflow:hidden;font-size:22px;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.theme-toggle{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);color:var(--muted);cursor:pointer}.theme-toggle:focus-visible,.theme-toggle:hover{border-color:var(--brand);color:var(--brand-dark)}.global-search{position:relative;min-width:0;display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:8px;background:#f1f3f2;color:#64748b;padding:0 13px}.global-search:focus-within{border-color:#8ec9c1;background:#fff}.global-search input{min-height:44px;border:0;background:transparent;padding:0;outline:0}.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:45;max-height:min(520px,calc(100dvh - 110px));overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.14);padding:10px}.search-results section+section{border-top:1px solid #e5e7eb;margin-top:8px;padding-top:8px}.search-results h2{margin:2px 8px 5px;color:var(--muted);font-size:11px;font-weight:700}.search-results button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:6px;background:transparent;color:#1f2937;padding:9px 8px;text-align:left;cursor:pointer}.search-results button:hover{background:#f1f5f4}.search-results button span{min-width:0;display:grid;grid-gap:2px;gap:2px}.search-results button small,.search-results button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-empty,.search-results button small{color:var(--muted);font-size:12px}.search-empty{padding:18px;text-align:center}.account-menu{position:relative;justify-self:end}.account-menu summary{display:flex;align-items:center;gap:9px;border-radius:8px;padding:5px;cursor:pointer;list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:hover{background:#f1f5f4}.account-avatar{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:50%;background:#d9f5f1;color:var(--brand-dark);font-weight:700}.account-copy{min-width:0;display:grid;grid-gap:2px;gap:2px}.account-copy small,.account-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy small{color:var(--muted);font-size:11px}.account-menu[open] summary>svg{transform:rotate(90deg)}.account-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:45;width:178px;display:grid;grid-gap:3px;gap:3px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.14);padding:7px}.account-popover a,.account-popover button{display:flex;align-items:center;gap:9px;border:0;border-radius:6px;background:transparent;color:#334155;padding:9px;text-align:left;text-decoration:none;cursor:pointer}.account-popover a:hover,.account-popover button:hover{background:#f1f5f4}.content-area{min-width:0;padding:24px 28px 36px}.mobile-bottom-nav{display:none}.small-link,.user-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 11px;color:#334155;text-decoration:none}.icon-button{width:40px;height:40px;display:grid;place-items:center;background:#fff;border-color:var(--line)}.tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 16px}.tabs button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:#fff;border-color:var(--line);color:#334155;padding:10px 13px}.tabs button.active{background:var(--brand);border-color:var(--brand);color:#fff}.notice{background:#ecfdf3;border:1px solid #abefc6;color:#067647;border-radius:6px;padding:10px 12px;margin-bottom:14px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-bottom:18px}.overview-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.metric{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px}.metric span{display:block;color:var(--muted);font-size:13px}.metric strong{display:block;margin-top:8px;font-size:24px}.workspace-grid{display:grid;grid-template-columns:280px minmax(0,1fr);grid-gap:16px;gap:16px}.form-card,.main-panel,.sidebar-panel,.wide-card{background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:none}.main-panel,.sidebar-panel,.wide-card{padding:16px}.sidebar-panel h2{margin:0 0 12px}.customer-list{display:grid;grid-gap:8px;gap:8px}.customer-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--panel-soft);color:#1e293b;padding:11px;text-align:left}.customer-list button.selected{background:#d9f5f1;border-color:var(--brand)}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.order-band{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;scroll-margin-top:96px}.order-band.targeted{border-color:var(--brand);border-radius:6px;background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand);padding:14px}.order-head{display:flex;justify-content:space-between;gap:12px;color:var(--muted);margin-bottom:12px}.order-head div{display:grid;grid-gap:3px;gap:3px}.order-head strong{color:var(--text)}.order-head .order-head-actions{display:flex;align-items:center;gap:8px}.item-grid,.repair-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:12px;gap:12px}.item-card,.repair-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.image-placeholder,.item-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e2e8f0;display:grid;place-items:center;color:#64748b}.item-body,.repair-card{padding:12px}.item-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.item-title span{color:#fff;background:#475569;border-radius:999px;padding:4px 8px;font-size:12px;white-space:nowrap}.item-body p{color:var(--muted);line-height:1.5;min-height:42px}.material-lines,.mini-stats{display:flex;flex-wrap:wrap;gap:7px}.material-lines span,.mini-stats span{background:#f8fafc;border:1px solid var(--line);border-radius:999px;color:#475569;padding:5px 8px;font-size:12px}.material-lines{margin-top:8px}.quick-edit{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}.quick-edit summary{cursor:pointer;color:var(--brand);font-weight:700;font-size:13px}.quick-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin:10px 0}.quick-edit-grid label{display:grid;grid-gap:5px;gap:5px;color:#475569;font-size:12px}.quick-edit-grid input,.quick-edit-grid select,.quick-edit-grid textarea{min-height:34px;padding:7px 8px;font-size:13px}.quick-edit-wide{grid-column:1/-1}.material-edit{margin:0;padding:0;border:none}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.customer-info-grid{display:grid;grid-template-columns:320px minmax(0,1fr);grid-gap:16px;gap:16px;align-items:flex-start}.product-form-mode{transition:grid-template-columns .16s ease,gap .16s ease}.product-form-mode.directory-collapsed{grid-template-columns:0 minmax(0,1fr);gap:0}.customer-detail-panel,.customer-directory-panel{background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:none;padding:16px}.customer-directory-panel{display:grid;grid-gap:16px;gap:16px;min-width:0;overflow:hidden;transition:opacity .15s ease,transform .15s ease,padding .15s ease,border-width .15s ease}.product-form-mode.directory-collapsed>.customer-directory-panel{visibility:hidden;border-width:0;padding:0;opacity:0;pointer-events:none;transform:translateX(-8px)}.product-directory-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-directory-heading .panel-title{min-width:0;margin-bottom:0}.product-directory-expand,.product-directory-toggle{width:36px;height:36px;flex:0 0 36px}.product-directory-expand{margin-bottom:10px}.compact-form,.product-entry{display:grid;grid-gap:12px;gap:12px}.customer-info-list{border-top:1px solid var(--line);padding-top:14px}.customer-profile{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);grid-gap:16px;gap:16px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}.profile-label{display:block;color:var(--brand);font-weight:700;font-size:13px;margin-bottom:6px}.customer-profile h2,.section-head h2{margin:0}.customer-profile p,.product-card-body p,.section-head span{color:var(--muted);line-height:1.6;margin:6px 0 0}.profit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.customer-metrics{grid-template-columns:minmax(120px,180px)}.mobile-product-customer{display:none}.profit-summary .metric{box-shadow:none;padding:12px}.profit-summary .metric strong{font-size:18px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.product-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.cost-section,.image-paste-field,.product-form-grid .field:last-child,.product-images-field{grid-column:1/-1}.cost-section{display:grid;grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;padding:12px}.cost-section h3{margin:0;font-size:15px}.collapsible-cost-section{display:block}.collapsible-cost-section>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;cursor:pointer;list-style:none}.collapsible-cost-section>summary::-webkit-details-marker{display:none}.collapsible-cost-section>summary span{font-weight:700}.collapsible-cost-section>summary small{color:var(--muted)}.collapsible-cost-section>summary svg{transition:transform .16s ease}.collapsible-cost-section[open]>summary svg{transform:rotate(180deg)}.collapsible-cost-section[open]>.cost-grid{margin-top:12px}.cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.cost-total-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cost-total-row small,.cost-total-row span{background:#f8fafc;border:1px solid var(--line);border-radius:999px;color:#475569;padding:6px 9px;font-size:12px}.cost-total-row span{color:#111827;font-weight:700}.drop-zone{position:relative;display:grid;grid-gap:7px;gap:7px;border:1px dashed #a7b4c6;border-radius:8px;background:#f8fafc;color:#475569;padding:14px;cursor:default;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.drop-zone:focus-visible{border-color:var(--brand);outline:2px solid color-mix(in srgb,var(--brand) 28%,transparent);outline-offset:2px}.drop-zone strong{color:#111827}.drop-zone small{color:var(--muted)}.image-paste-label{color:inherit}.drop-zone .image-file-input{display:none}.image-file-button{width:max-content;min-height:34px;border:1px solid var(--line-strong);border-radius:6px;background:var(--panel-strong);color:var(--text);padding:7px 12px;font-weight:700;cursor:pointer}.image-file-button:focus-visible,.image-file-button:hover{border-color:var(--brand);color:var(--brand-dark)}.image-paste-target{position:absolute;top:10px;right:10px;border:1px solid color-mix(in srgb,var(--brand) 55%,transparent);border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);padding:3px 8px;font-size:11px;font-weight:700}.image-paste-toast{position:fixed;z-index:140;right:22px;bottom:22px;max-width:min(360px,calc(100vw - 32px));border:1px solid color-mix(in srgb,var(--brand) 48%,var(--line));border-radius:7px;background:var(--panel-strong);color:var(--text);box-shadow:var(--shadow);padding:11px 14px;font-size:13px;font-weight:700;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.viewer-image-trigger{cursor:zoom-in}.viewer-image-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:3px}body>.image-viewer-backdrop.image-viewer-backdrop{position:fixed;inset:0;z-index:1800;display:grid;place-items:center;background:rgba(2,6,9,.94);padding:18px}.image-viewer{width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);color:#f8fafc}.image-viewer-head{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto 42px;align-items:center;grid-gap:14px;gap:14px;padding:0 0 12px}.image-viewer-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-viewer-head span{color:#cbd5e1;font-size:13px;font-weight:700}.image-viewer-head button,.image-viewer-nav{display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);background:rgba(15,23,42,.76);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.image-viewer-head button{width:42px;height:42px;border-radius:50%}.image-viewer-stage{position:relative;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden}.image-viewer-stage img{display:block;width:auto;height:auto;max-width:calc(100vw - 124px);max-height:calc(100dvh - 94px);object-fit:contain;border-radius:6px;box-shadow:0 24px 80px rgba(0,0,0,.52)}.image-viewer-nav{position:absolute;top:50%;z-index:2;width:48px;height:64px;border-radius:8px;transform:translateY(-50%)}.image-viewer-nav.previous{left:4px}.image-viewer-nav.next{right:4px}.image-viewer-head button:hover,.image-viewer-nav:hover{border-color:color-mix(in srgb,var(--brand) 64%,white);background:rgba(15,118,110,.82)}@media (max-width:700px){.image-viewer-backdrop{padding:max(10px,env(safe-area-inset-top)) 8px max(10px,env(safe-area-inset-bottom))}.image-viewer-head{grid-template-columns:minmax(0,1fr) auto 38px;gap:9px;padding-inline:4px}.image-viewer-head button{width:38px;height:38px}.image-viewer-stage img{max-width:calc(100vw - 20px);max-height:calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.image-viewer-nav{width:42px;height:56px}}.image-preview-row,.product-tags,.thumb-strip{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.image-preview-row img{width:72px;height:72px;object-fit:cover;border:1px solid var(--line);border-radius:6px;background:#e2e8f0}.image-preview-item{position:relative;display:block}.image-preview-item button{position:absolute;top:4px;right:4px;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:5px;background:rgba(17,24,39,.78);color:#fff;padding:0;cursor:pointer}.sortable-image-list-shell{display:grid;grid-gap:8px;gap:8px}.sortable-image-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.sortable-image-item{position:relative;width:82px;height:82px;display:block;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);overflow:hidden;box-shadow:0 5px 14px rgba(0,0,0,.12)}.sortable-image-item.dragging{z-index:12;border-color:var(--brand);opacity:.72;box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 24%,transparent),0 12px 24px rgba(0,0,0,.24)}.sortable-image-item img{width:100%;height:100%;display:block;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sortable-image-handle,.sortable-image-remove{position:absolute;top:4px;width:25px;height:25px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:5px;background:rgba(8,15,14,.8);color:#f8fafc;padding:0}.sortable-image-handle{left:4px;cursor:-webkit-grab;cursor:grab;touch-action:none}.sortable-image-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.sortable-image-remove{right:4px;color:#ff8a86;cursor:pointer}.main-image-badge{position:absolute;left:5px;bottom:5px;border:1px solid color-mix(in srgb,var(--brand) 42%,transparent);border-radius:4px;background:rgba(8,15,14,.82);color:#7ce8c8;padding:2px 5px;font-size:10px;line-height:1.3;white-space:nowrap}.sortable-image-help{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.sortable-image-help .secondary-button{flex:0 0 auto}.profit-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:10px 12px;color:#334155}.profit-line strong,.profit-positive{color:#067647}.profit-negative{color:var(--danger)}.product-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-gap:12px;gap:12px;margin-top:18px}.product-card{display:grid;grid-template-columns:128px minmax(0,1fr);min-height:190px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.product-image{width:100%;height:100%;min-height:190px;object-fit:cover;background:#e2e8f0}.product-card-body{display:grid;grid-gap:8px;gap:8px;padding:12px}.product-tags span{background:#eef6f5;color:#0f766e;border:1px solid #b8dad6;border-radius:999px;padding:4px 8px;font-size:12px}.thumb-strip img{width:38px;height:38px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.profit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px;gap:7px}.profit-grid span{display:grid;grid-gap:3px;gap:3px;background:#f8fafc;border:1px solid var(--line);border-radius:6px;color:#667085;padding:7px;font-size:12px}.profit-grid strong{color:#111827;font-size:14px}.empty-state{border:1px dashed var(--line);border-radius:8px;color:var(--muted);padding:20px;text-align:center}.form-card{display:grid;grid-gap:12px;gap:12px;padding:16px;align-self:start}.form-card h2{font-size:18px}.wide-card{grid-column:1/-1}.table-wrap{overflow-x:auto}.business-list-page{display:grid;grid-gap:14px;gap:14px}.business-customer-groups,.customer-stats-rows{display:grid;grid-gap:12px;gap:12px}.business-customer-group,.customer-stats-row{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.business-customer-group>header{display:grid;grid-template-columns:minmax(140px,1fr) minmax(240px,.8fr);align-items:center;grid-gap:14px;gap:14px;border-bottom:1px solid var(--line);background:var(--panel-soft);padding:11px 14px}.business-customer-group h3,.customer-stats-row h3{overflow:hidden;margin:0;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.business-customer-group header dl,.customer-stats-row dl,.record-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-gap:8px;gap:8px;margin:0}.business-customer-group dt,.customer-stats-row dt,.record-metrics dt{color:var(--muted);font-size:11px}.business-customer-group dd,.customer-stats-row dd,.record-metrics dd{overflow:hidden;margin:3px 0 0;font-size:13px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.business-record-list{display:grid}.business-record-row{min-width:0;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(320px,1.6fr) auto;align-items:center;grid-gap:14px;gap:14px;border-bottom:1px solid var(--line);padding:11px 14px}.business-record-row:last-child{border-bottom:0}.record-identity{min-width:0;display:grid;grid-gap:4px;gap:4px}.record-identity small,.record-identity strong,.record-products{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-identity small,.record-products{color:var(--muted);font-size:12px}.material-record-row{grid-template-columns:minmax(160px,.65fr) minmax(420px,1.8fr)}.material-record-metrics{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))}.material-record-identity button{width:max-content;max-width:100%;overflow:hidden;border:0;background:transparent;color:var(--brand-dark);padding:0;font-size:12px;font-weight:700;text-align:left;text-overflow:ellipsis;white-space:nowrap}.material-record-identity button:focus-visible,.material-record-identity button:hover{text-decoration:underline}.record-editor{grid-column:1/-1}.material-history{border-top:1px solid var(--line);padding-top:9px}.material-history summary{width:max-content;color:var(--brand-dark);cursor:pointer;font-size:13px;font-weight:700}.material-history-list{display:grid;margin-top:9px;border:1px solid var(--line);border-radius:6px}.material-history-row{min-width:0;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1fr) minmax(140px,.8fr) auto;align-items:center;grid-gap:12px;gap:12px;border-bottom:1px solid var(--line);padding:9px 10px}.material-history-row:last-child{border-bottom:0}.material-history-row>span{min-width:0;display:grid;grid-gap:3px;gap:3px}.material-history-note,.material-history-row small{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.material-history-row dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0}.material-history-row dt{color:var(--muted);font-size:11px}.material-history-row dd{margin:2px 0 0;font-size:13px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.repair-record-row{grid-template-columns:minmax(170px,.8fr) minmax(320px,1.5fr) minmax(130px,.6fr)}.repair-ticket-row{width:100%;grid-template-columns:minmax(170px,.8fr) minmax(320px,1.5fr) minmax(130px,.6fr) 18px;border-inline:0;border-top:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.repair-ticket-row:focus-visible,.repair-ticket-row:hover{background:var(--brand-soft)}.repair-detail,.repair-ticket-form{min-width:0;display:grid;grid-gap:18px;gap:18px}.repair-ticket-form-head{border-bottom:1px solid var(--line)}.repair-ticket-basics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.repair-ticket-basics .field:last-child{grid-column:1/-1}.repair-draft-section{display:grid;grid-gap:12px;gap:12px;border-top:1px solid var(--line);padding-top:16px}.repair-detail-head,.repair-draft-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.repair-detail-copy h3,.repair-detail-head h2,.repair-draft-heading h2{margin:0}.repair-detail-copy p,.repair-detail-head p,.repair-draft-heading p{margin:4px 0 0;color:var(--muted)}.repair-detail-items,.repair-draft-list{display:grid;grid-gap:12px;gap:12px}.repair-draft-card{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:13px}.repair-draft-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.repair-draft-card>header button,.repair-image-previews button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;background:var(--panel-soft);color:var(--danger)}.repair-draft-card>header button:disabled{opacity:.35;cursor:not-allowed}.repair-draft-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:11px;gap:11px}.repair-draft-grid .field:last-child,.repair-draft-grid .field:nth-last-child(2),.repair-source-field{grid-column:span 2}.repair-returned-lock{margin-top:10px;border-left:3px solid var(--warning);background:color-mix(in srgb,var(--warning) 10%,transparent);color:var(--warning);padding:8px 10px;font-size:12px}.repair-detail-images,.repair-image-previews{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.repair-image-previews>span{position:relative}.repair-detail-images .image-placeholder,.repair-detail-images img,.repair-image-previews img{width:72px;height:72px;border:1px solid var(--line);border-radius:6px;object-fit:cover}.repair-image-previews button{position:absolute;top:3px;right:3px;width:24px;height:24px;background:rgba(9,13,12,.82)}.repair-ticket-submit{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:14px;color:var(--muted)}.repair-detail-head>div>span{color:var(--brand-dark);font-size:12px;font-weight:700}.repair-detail-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:1px;gap:1px;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:7px;background:var(--line)}.repair-detail-metrics div{background:var(--panel-soft);padding:11px 12px}.repair-detail-item dt,.repair-detail-metrics dt{color:var(--muted);font-size:12px}.repair-detail-item dd,.repair-detail-metrics dd{margin:4px 0 0;font-size:18px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.repair-detail-item{min-width:0;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.3fr) minmax(210px,.9fr) auto;align-items:center;grid-gap:16px;gap:16px;border-bottom:1px solid var(--line);padding:13px 0}.repair-detail-images{min-width:0;flex-wrap:nowrap;overflow-x:auto;margin-top:0}.repair-detail-images .image-placeholder,.repair-detail-images img{flex:0 0 64px;width:64px;height:64px}.repair-detail-copy{min-width:0}.repair-detail-copy>strong{display:block;margin-top:8px;color:var(--brand-dark)}.repair-detail-item>dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0}.repair-complete-box,.repair-completion-record,.repair-return-summary{display:grid;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);padding:12px}.repair-complete-box p,.repair-completion-record p,.repair-completion-record span,.repair-return-summary span{margin:0;color:var(--muted);font-size:13px}.repair-complete-box{grid-template-columns:minmax(180px,1fr) minmax(240px,1.4fr) auto;align-items:end}.customer-stats-row{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(520px,2fr);align-items:center;grid-gap:16px;gap:16px;padding:13px 14px}.settings-list-card{display:grid;grid-gap:12px;gap:12px}table{width:100%;border-collapse:collapse;min-width:760px}td,th{border-bottom:1px solid var(--line);text-align:left;padding:10px;vertical-align:top}th{color:#475569;background:#f8fafc;font-size:13px}.small-link{border-radius:6px;padding:6px 8px;width:max-content}.deduction-box{display:grid;grid-gap:8px;gap:8px;background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:10px}.deduction-row{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-gap:8px;gap:8px;align-items:center}.delivery-editor-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;background:rgba(0,0,0,.62);padding:20px}.delivery-editor{width:min(920px,100%);max-height:min(880px,calc(100vh - 40px));overflow-y:auto;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.38)}.delivery-editor-head{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:var(--panel);padding:16px 18px}.delivery-editor-head span{color:var(--muted);font-size:12px}.delivery-editor-head h2{margin:3px 0 0;font-size:22px}.delivery-editor-head>button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--text)}.delivery-editor form{display:grid;grid-gap:16px;gap:16px;padding:18px}.delivery-editor-grid{display:grid;grid-template-columns:1.4fr repeat(3,minmax(120px,.7fr));grid-gap:12px;gap:12px}.delivery-progress-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1px;gap:1px;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:6px;background:var(--line)}.delivery-progress-preview div{background:var(--panel-soft);padding:11px 12px}.delivery-progress-preview dt{color:var(--muted);font-size:12px}.delivery-progress-preview dd{margin:4px 0 0;font-size:19px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.delivery-deductions{display:grid;grid-gap:10px;gap:10px;border-block:1px solid var(--line);padding-block:14px}.delivery-deductions-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-deductions-head>div{display:grid;grid-gap:3px;gap:3px}.delivery-deduction-row>div span,.delivery-deductions-head span{color:var(--muted);font-size:12px}.delivery-deductions-head button,.material-history-row>button{border:1px solid var(--line);border-radius:5px;background:var(--panel-soft);color:var(--text);padding:7px 10px}.delivery-deduction-row{display:grid;grid-template-columns:minmax(150px,1.1fr) repeat(3,minmax(120px,.8fr));align-items:end;grid-gap:10px;gap:10px;border-top:1px solid var(--line);padding-top:10px}.delivery-deduction-row label,.delivery-deduction-row>div{min-width:0;display:grid;grid-gap:5px;gap:5px}.delivery-deduction-row label span{color:var(--muted);font-size:12px}.delivery-warning{display:grid;grid-gap:4px;gap:4px;border:1px solid color-mix(in srgb,var(--warning) 48%,transparent);border-radius:6px;background:color-mix(in srgb,var(--warning) 12%,transparent);color:var(--warning);padding:10px 12px;font-size:13px}.delivery-editor-actions{display:flex;justify-content:flex-end;gap:10px}.delivery-launcher{width:min(820px,100%);display:grid;grid-gap:14px;gap:14px}.delivery-launcher-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1px;gap:1px;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:6px;background:var(--line)}.delivery-launcher-progress div{background:var(--panel-soft);padding:10px}.delivery-launcher-progress dt{color:var(--muted);font-size:12px}.delivery-launcher-progress dd{margin:3px 0 0;font-size:18px;font-weight:700}.delivery-launcher>.primary-button{width:max-content;justify-self:end}.repair-line{display:grid;grid-template-columns:34px 1fr auto auto;grid-gap:8px;gap:8px;align-items:center;border-top:1px solid var(--line);padding:8px 0 0;margin-top:8px}.repair-line img{width:34px;height:34px;object-fit:cover;border-radius:6px}.assignment-row,.status-row{display:grid;grid-template-columns:180px 1fr;grid-gap:12px;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.assignment-row>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.check-label{display:inline-flex;align-items:center;gap:6px;margin-right:14px}.check-label input{width:auto;min-height:auto}.status-list{display:grid;grid-gap:8px;gap:8px}.status-row{grid-template-columns:1fr 80px 90px 90px 90px;align-items:center}.status-row label{display:inline-flex;gap:6px;align-items:center}.status-row input[type=checkbox]{min-height:auto;width:auto}.print-shell{background:#fff;min-height:100vh;padding:32px}.print-paper{max-width:820px;margin:0 auto;border:1px solid #111827;padding:28px}.print-head{display:flex;justify-content:space-between;gap:16px;border-bottom:2px solid #111827;padding-bottom:14px;margin-bottom:18px}.print-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:12px;gap:12px;margin:18px 0}.print-field{border-bottom:1px solid #111827;padding:8px 0}.signature-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;gap:40px;margin-top:54px}.print-actions{max-width:820px;margin:0 auto 16px;text-align:right}.operation-page{width:min(1120px,100%);display:grid;grid-gap:16px;gap:16px}.operation-page>.form-card{width:min(680px,100%)}.operation-page>.wide-card{width:100%}.overview-page{display:grid;grid-gap:18px;gap:18px}.overview-intro{min-height:116px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid #e5e7eb;padding:4px 0 20px}.overview-intro span{color:var(--brand);font-size:13px;font-weight:700}.overview-intro h2{margin:5px 0 0;font-size:30px}.overview-intro p{margin:8px 0 0;color:var(--muted)}.overview-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.overview-list{min-width:0;border:1px solid var(--line);border-radius:8px;padding:16px}.overview-list>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-top:1px solid #edf0f3;background:transparent;color:#1f2937;padding:12px 4px;text-align:left;cursor:pointer}.overview-list>button:hover{color:var(--brand-dark)}.overview-list>button span{min-width:0;display:grid;grid-gap:3px;gap:3px}.overview-list>button small,.overview-list>button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-list>button small{color:var(--muted)}.customer-order-tracking,.order-status-page{min-width:0;display:grid;grid-gap:14px;gap:14px}.order-status-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:14px}.order-status-toolbar .panel-title{margin-bottom:0}.order-status-search{width:min(360px,100%);display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--muted);padding:0 12px}.order-status-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.order-status-search input{min-width:0;width:100%;border:0;background:transparent;padding-inline:0}.order-status-search input:focus{box-shadow:none}.order-status-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px}.order-status-totals{display:flex;align-items:baseline;gap:10px}.order-status-totals strong{color:var(--brand-dark)}.order-customer-filter{display:flex;align-items:center;gap:8px}.order-customer-filter>span{white-space:nowrap}.order-customer-filter select{width:min(220px,42vw);min-height:36px;padding-block:7px}.tracking-customer-list{display:grid;grid-gap:14px;gap:14px}.tracking-customer-group{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.tracking-customer-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);background:var(--panel-soft);padding:13px 16px}.tracking-customer-head>div{min-width:0}.tracking-customer-head span,.tracking-products span{display:block;color:var(--muted);font-size:12px}.tracking-customer-head h3{overflow:hidden;margin:3px 0 0;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.tracking-customer-head dl,.tracking-order-counts{display:flex;gap:8px;margin:0}.tracking-customer-head dl div{min-width:104px;border-left:1px solid var(--line);padding-left:14px}.tracking-customer-head dt,.tracking-order-counts dt{color:var(--muted);font-size:12px}.tracking-customer-head dd,.tracking-order-counts dd{margin:3px 0 0;color:var(--text);font-size:18px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tracking-order-list{display:grid}.tracking-order-entry{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid var(--line)}.tracking-order-entry:last-child{border-bottom:0}.tracking-order-row{min-width:0;display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(150px,.9fr) auto minmax(180px,1.2fr) 18px;align-items:center;grid-gap:18px;gap:18px;border:0;border-bottom:0;background:transparent;color:var(--text);padding:13px 16px;text-align:left;cursor:pointer}.tracking-order-row:focus-visible,.tracking-order-row:hover{background:var(--brand-soft)}.tracking-order-dates,.tracking-order-identity,.tracking-products{min-width:0;display:grid;grid-gap:4px;gap:4px}.tracking-order-number{color:var(--brand-dark);font-size:12px;font-weight:700}.tracking-order-identity strong,.tracking-products strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracking-order-identity em{width:max-content;border:1px solid color-mix(in srgb,var(--danger) 42%,transparent);border-radius:4px;background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger);padding:2px 6px;font-size:11px;font-style:normal;font-weight:700}.tracking-order-dates{color:var(--muted);font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tracking-order-counts div{min-width:46px}.tracking-order-counts dd{font-size:15px}.tracking-products strong{font-size:13px}.tracking-order-row>svg{color:var(--muted)}.tracking-delivery-action{min-height:38px;margin-right:14px;border:1px solid var(--brand);border-radius:6px;background:var(--brand-soft);color:var(--brand-dark);padding:8px 12px;font-weight:700;white-space:nowrap}.tracking-delivery-action:focus-visible,.tracking-delivery-action:hover{background:var(--brand);color:#fff}.tracking-order-actions{display:flex;align-items:center;gap:7px;padding-right:14px}.tracking-order-actions .tracking-delivery-action{margin-right:0}.overview-repairs{width:min(720px,100%)}.overview-customer-list{gap:18px}.overview-customer-group{overflow:visible}.overview-order-lane-shell{position:relative;min-width:0;padding:14px 44px}.overview-order-lane{min-width:0;display:flex;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;padding:2px 2px 8px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-color:color-mix(in srgb,var(--brand) 48%,transparent) transparent;scrollbar-width:thin}.lane-arrow{position:absolute;z-index:3;top:50%;width:32px;height:44px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:6px;background:var(--panel-strong);color:var(--text);box-shadow:var(--shadow-soft);transform:translateY(-50%)}.lane-arrow:focus-visible,.lane-arrow:hover{border-color:var(--brand);color:var(--brand-dark)}.lane-arrow-left{left:7px}.lane-arrow-right{right:7px}.overview-order-card{width:310px;min-width:310px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);color:var(--text);box-shadow:var(--shadow-soft);scroll-snap-align:start;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.overview-order-card:focus-visible,.overview-order-card:hover{border-color:var(--brand);box-shadow:0 12px 28px color-mix(in srgb,#000 24%,transparent),0 0 0 1px var(--brand-soft);outline:0;transform:translateY(-2px)}.overview-order-card-head{min-height:74px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px 10px}.overview-order-card-head>div:first-child{min-width:0;display:grid;grid-gap:4px;gap:4px}.overview-order-card-head strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.overview-order-due{flex:0 0 auto;display:grid;justify-items:end;grid-gap:5px;gap:5px;color:var(--muted);font-size:11px}.overview-order-due em{border:1px solid color-mix(in srgb,var(--danger) 42%,transparent);border-radius:4px;background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger);padding:2px 6px;font-style:normal;font-weight:700}.order-image-fan{position:relative;width:100%;height:190px;overflow:hidden;border:0;border-block:1px solid var(--line);border-radius:0;background:color-mix(in srgb,var(--panel-strong) 78%,transparent);color:var(--text);padding:0;cursor:pointer}.order-image-stack{position:absolute;inset:10px 12px 28px}.order-image-sheet{position:absolute;inset:0 auto 0 0;width:calc(100% - 12px);overflow:hidden;border:1px solid var(--line-strong);border-radius:6px;background:var(--panel-strong);box-shadow:0 8px 18px color-mix(in srgb,#000 25%,transparent);transform:translateX(calc(var(--image-index) * 4px)) rotate(calc((var(--image-index) - 2) * 1deg));transform-origin:50% 100%;transition:width .18s ease,transform .18s ease,opacity .18s ease}.order-image-sheet .image-placeholder,.order-image-sheet img{width:100%;height:100%;object-fit:cover}.order-image-sheet .image-placeholder{display:grid;align-content:center;justify-items:center;grid-gap:8px;gap:8px;background:var(--panel)}.order-image-sheet .image-placeholder small{max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-image-fan.expanded .order-image-sheet,.order-image-fan:focus-visible .order-image-sheet,.order-image-fan:hover .order-image-sheet{width:58%;transform:translateX(calc(var(--image-index) * 27px)) rotate(calc((var(--image-index) - 2) * 3deg))}.order-image-fan.expanded .order-image-sheet:only-child,.order-image-fan:focus-visible .order-image-sheet:only-child,.order-image-fan:hover .order-image-sheet:only-child{width:calc(100% - 12px);transform:none}.order-image-more{position:absolute;z-index:8;right:2px;bottom:2px;min-width:34px;height:26px;display:grid;place-items:center;border-radius:13px;background:var(--panel-strong);color:var(--text);font-size:12px;font-weight:700}.order-image-hint{position:absolute;z-index:9;right:10px;bottom:7px;color:var(--muted);font-size:10px}.overview-order-card-body{display:grid;grid-gap:11px;gap:11px;padding:12px 14px}.overview-order-product-status{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.overview-order-product-status strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-order-product-status span{flex:0 0 auto;border:1px solid;border-radius:12px;padding:3px 8px;font-size:11px;font-weight:700}.overview-order-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px;margin:0}.overview-order-metrics div{min-width:0;border:1px solid var(--line);border-radius:6px;padding:7px 5px;text-align:center}.overview-order-metrics dt,.overview-order-profit span{color:var(--muted);font-size:10px}.overview-order-metrics dd{margin:3px 0 0;font-size:14px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.overview-order-profit{display:flex;align-items:center;justify-content:space-between}.overview-order-profit strong{color:var(--brand-dark);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.overview-order-ring{min-height:32px;display:-webkit-box;overflow:hidden;margin:0;color:var(--text-soft);font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.overview-order-ring.muted{color:var(--muted)}.overview-order-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);color:var(--brand-dark);padding:10px 14px;font-size:12px;font-weight:700}.order-detail-page{min-width:0;display:grid;grid-gap:18px;gap:18px}.order-detail-hero,.order-detail-product,.order-detail-summary,.order-record-group{border:1px solid var(--line);border-radius:8px;background:var(--panel)}.order-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.order-detail-heading span,.order-detail-product-content header span:first-child{color:var(--brand-dark);font-size:12px;font-weight:700}.order-detail-heading h2{margin:4px 0;font-size:25px}.order-detail-heading p{margin:0;color:var(--muted)}.order-detail-actions,.order-product-actions{display:flex;flex-wrap:wrap;gap:8px}.order-detail-summary{display:grid;grid-gap:14px;gap:14px;padding:16px 18px}.order-detail-meta,.order-product-info-grid,.order-product-progress-grid{display:grid;margin:0}.order-detail-meta{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.order-detail-meta div,.order-product-info-grid div,.order-product-progress-grid div{min-width:0}.order-detail-meta dt,.order-product-info-grid dt,.order-product-progress-grid dt{color:var(--muted);font-size:11px}.order-detail-meta dd,.order-product-info-grid dd,.order-product-progress-grid dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.order-detail-meta em{margin-left:6px;color:var(--danger);font-size:11px;font-style:normal}.order-progress-bar{height:7px;overflow:hidden;border-radius:4px;background:var(--panel-soft)}.order-progress-bar span{display:block;height:100%;border-radius:inherit;background:var(--brand);transition:width .18s ease}.order-detail-notes{display:grid;grid-gap:4px;gap:4px;margin:0;color:var(--text-soft)}.order-detail-products,.order-detail-records{display:grid;grid-gap:14px;gap:14px}.order-detail-product{min-width:0;display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);overflow:hidden}.order-detail-gallery{min-width:0;border-right:1px solid var(--line);background:var(--panel-soft);padding:14px}.order-detail-main-image{width:100%;aspect-ratio:4/3;display:grid;place-items:center;border-radius:6px;object-fit:cover}.order-detail-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:6px;gap:6px;margin-top:8px}.order-detail-thumbnails img{width:100%;aspect-ratio:1;border-radius:4px;object-fit:cover}.order-detail-product-content{min-width:0;display:grid;align-content:start;grid-gap:14px;gap:14px;padding:16px}.order-detail-product-content header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-detail-product-content h3{margin:4px 0 0;font-size:20px}.order-detail-status{flex:0 0 auto;border-radius:12px;color:#fff!important;padding:4px 9px}.order-product-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.order-product-progress-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;border-block:1px solid var(--line);padding-block:12px}.order-product-progress-grid dd{color:var(--brand-dark)}.order-ring-progress{display:grid;grid-gap:8px;gap:8px}.order-ring-progress>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-ring-progress>header em{color:var(--warning);font-size:12px;font-style:normal}.order-ring-progress>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));grid-gap:6px;gap:6px}.ring-progress-row{min-width:0;display:grid;grid-template-columns:1fr 1fr;grid-gap:3px 8px;gap:3px 8px;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);padding:8px}.ring-progress-row b{grid-column:1/-1}.ring-progress-row small{color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ring-progress-row.anomaly{border-color:color-mix(in srgb,var(--danger) 55%,transparent)}.ring-progress-row em{color:var(--danger);font-size:11px;font-style:normal}.order-product-note{margin:0;color:var(--muted)}.order-record-group{overflow:hidden}.order-record-group>h3{margin:0;border-bottom:1px solid var(--line);background:var(--panel-soft);padding:12px 14px;font-size:16px}.order-record-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.order-record-section{min-width:0;padding:14px}.order-record-section+.order-record-section{border-left:1px solid var(--line)}.order-record-section h4{margin:0 0 10px}.order-record-card{min-width:0;display:grid;grid-gap:6px;gap:6px;border-bottom:1px solid var(--line);padding:9px 0}.order-record-card:last-child{border-bottom:0}.order-record-card p,.order-record-card>span{margin:0;color:var(--muted);font-size:12px}.order-record-card dl{display:grid;grid-gap:4px;gap:4px;margin:0}.order-record-card dl div{display:flex;justify-content:space-between;gap:8px}.order-record-card dt{color:var(--muted);font-size:11px}.order-record-card dd{margin:0;text-align:right;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.order-record-card details summary{color:var(--brand-dark);font-size:12px;cursor:pointer}.order-record-card.delivery{grid-template-columns:minmax(0,1fr) auto;align-items:center}.order-record-card.delivery>div{display:grid;grid-gap:3px;gap:3px}.order-record-card.delivery>p{grid-column:1/-1}.empty-state.compact{padding:18px 10px}.directory-create{width:100%}.customer-directory-summary{display:grid;grid-gap:12px;gap:12px;border-top:1px solid var(--line);padding-top:18px}.customer-directory-summary h3,.customer-directory-summary p{margin:0}.customer-directory-summary p{color:var(--muted);line-height:1.7}.directory-actions{display:flex;flex-wrap:wrap;gap:8px}.customer-browser-page{display:grid;grid-gap:20px;gap:20px}.customer-home,.customer-products-page{display:grid;grid-gap:18px;gap:18px}.module-home{display:grid;grid-gap:16px;gap:16px}.module-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.module-entry-grid>button{min-width:0;min-height:88px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;grid-gap:11px;gap:11px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:14px;text-align:left;cursor:pointer}.module-entry-grid>button:focus-visible,.module-entry-grid>button:hover{border-color:var(--brand);background:var(--brand-soft)}.module-entry-grid>button>svg:first-child{color:var(--brand-dark)}.module-entry-grid>button>span{min-width:0;display:grid;grid-gap:3px;gap:3px}.module-entry-grid em,.module-entry-grid small{color:var(--muted);font-size:11px;font-style:normal}.module-entry-grid em,.module-entry-grid small,.module-entry-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.customer-home-grid>button{min-width:0;min-height:82px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:13px;text-align:left;cursor:pointer}.customer-home-grid>button:focus-visible,.customer-home-grid>button:hover{border-color:var(--brand);background:var(--brand-soft)}.customer-home-grid>button>svg:first-child{color:var(--brand-dark)}.customer-home-grid>button>span{min-width:0;display:grid;grid-gap:4px;gap:4px}.customer-home-grid small,.customer-home-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-home-grid small{color:var(--muted);font-size:12px}.customer-browser-heading,.customer-browser-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.customer-browser-heading h2,.customer-browser-heading p,.customer-browser-profile h2,.customer-browser-profile p,.product-detail-section h3,.product-detail-summary h2,.product-detail-summary p{margin:0}.customer-browser-heading p,.customer-browser-profile p,.product-detail-summary p{margin-top:5px;color:var(--muted);line-height:1.6}.customer-browser-heading .primary-button,.customer-browser-heading .secondary-button,.text-button{display:inline-flex;align-items:center;gap:6px}.text-button{width:max-content;border:0;background:transparent;color:#475569;padding:6px 0;cursor:pointer}.text-button:focus-visible,.text-button:hover{color:var(--brand-dark)}.customer-directory-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:10px;gap:10px}.customer-directory-card{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;grid-gap:11px;gap:11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#1f2937;padding:12px;text-align:left;cursor:pointer}.customer-directory-card:focus-visible,.customer-directory-card:hover,.customer-product-menu-card:focus-visible,.customer-product-menu-card:hover{border-color:var(--brand);background:#f8fcfb}.customer-card-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#dff5f1;color:var(--brand-dark);font-weight:800}.customer-card-copy,.product-menu-copy{min-width:0;display:grid;grid-gap:4px;gap:4px}.customer-card-copy small,.customer-card-copy strong,.product-menu-spec{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-card-copy small,.product-menu-spec{color:var(--muted)}.customer-browser-profile{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:start;grid-gap:20px;gap:20px;border-bottom:1px solid var(--line);padding:2px 0 20px}.customer-product-menu-section{display:grid;grid-gap:14px;gap:14px}.customer-browser-heading.compact h2{font-size:20px}.customer-product-menu{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:10px;gap:10px}.product-summary-list{display:grid;grid-template-columns:1fr;grid-gap:0;gap:0}.product-summary-row{position:relative;min-width:0;width:100%;display:grid;grid-template-columns:76px minmax(180px,1fr) minmax(300px,.9fr) 18px;align-items:center;grid-gap:14px;gap:14px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:11px 12px;text-align:left;cursor:pointer}.product-summary-row:last-child{border-bottom:0}.product-summary-row:focus-visible,.product-summary-row:hover{background:var(--brand-soft)}.product-summary-placeholder,.product-summary-row>img{width:76px;height:66px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:var(--panel-soft);color:var(--muted);object-fit:cover}.product-summary-identity{min-width:0;display:grid;grid-gap:4px;gap:4px}.product-summary-identity small,.product-summary-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-summary-identity small{color:var(--muted);font-size:12px}.customer-product-group-head dl,.product-summary-finance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0}.customer-product-group-head dl{grid-template-columns:minmax(72px,auto)}.customer-product-group-head dl div,.product-summary-finance div{min-width:0}.customer-product-group-head dt,.product-summary-finance dt{color:var(--muted);font-size:11px}.customer-product-group-head dd,.product-summary-finance dd{overflow:hidden;margin:4px 0 0;font-size:13px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.customer-product-groups{display:grid;grid-gap:14px;gap:14px}.customer-product-group{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.customer-product-group-head{display:grid;grid-template-columns:minmax(150px,1fr) minmax(300px,.9fr);align-items:center;grid-gap:16px;gap:16px;border-bottom:1px solid var(--line);background:var(--panel-soft);padding:12px 14px}.customer-product-group-head h3{overflow:hidden;margin:0;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.empty-state.compact{border:0;padding:14px}.customer-product-menu-card{min-width:0;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;color:#1f2937;padding:9px;text-align:left;cursor:pointer}.customer-product-menu-card>img,.product-menu-placeholder{width:92px;height:92px;display:grid;place-items:center;border-radius:6px;background:#eef2f7;color:#94a3b8;object-fit:cover}.customer-product-menu-card .item-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-product-menu-card .item-title small{flex:0 0 auto;border-radius:999px;color:#fff;padding:3px 7px;font-size:11px}.product-menu-price{display:flex;flex-wrap:wrap;gap:8px;color:#475569;font-size:12px}.product-menu-price b{color:#067647}.customer-browser-empty{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-product-detail{display:grid;grid-gap:20px;gap:20px}.product-detail-actions{display:flex;justify-content:flex-end}.product-detail-hero{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);grid-gap:24px;gap:24px;align-items:start}.product-detail-gallery{display:grid;grid-gap:8px;gap:8px}.product-detail-main-image{width:100%;max-height:420px;aspect-ratio:4/3;border:1px solid var(--line);border-radius:8px;background:#eef2f7;object-fit:contain}.product-detail-main-image.product-menu-placeholder{max-height:none;color:#94a3b8}.product-detail-main-image.product-menu-placeholder span{font-size:13px}.product-detail-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:7px;gap:7px}.product-detail-thumbs img{width:100%;aspect-ratio:1;border:1px solid var(--line);border-radius:6px;object-fit:cover}.product-detail-summary{display:grid;grid-gap:12px;gap:12px}.product-detail-summary .item-title h2{min-width:0}.product-detail-profit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:8px}.product-detail-profit .metric{box-shadow:none}.product-detail-profit .metric strong{font-size:19px}.product-detail-section{display:grid;grid-gap:12px;gap:12px;border-top:1px solid var(--line);padding-top:18px}.product-detail-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.product-detail-data.cost{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-data>span{min-width:0;display:grid;grid-gap:5px;gap:5px;border:1px solid var(--line);border-radius:6px;background:#f8fafc;padding:10px}.product-detail-data small{color:var(--muted)}.product-detail-data strong{overflow-wrap:anywhere;font-size:14px}.order-composer{display:grid;grid-gap:18px;gap:18px}.order-section{display:grid;grid-gap:14px;gap:14px;border-top:1px solid #dfe4ea;padding-top:18px}.order-section-head{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;grid-gap:10px;gap:10px}.order-section-head>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#d9f5f1;color:var(--brand-dark);font-weight:700}.order-section-head h3,.order-section-head p{margin:0}.order-section-head h3{font-size:17px}.order-section-head p{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.5}.order-section-action{grid-template-columns:32px minmax(0,1fr) auto}.add-line-button{display:inline-flex;align-items:center;gap:6px}.custom-order-grid,.order-header-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.custom-order-grid .field:last-child,.custom-order-images,.order-header-grid .field:last-child{grid-column:1/-1}.catalog-order-lines{display:grid;grid-gap:12px;gap:12px}.catalog-order-line-shell{min-width:0}.catalog-order-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,190px) 140px auto;align-items:start;grid-gap:12px;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.catalog-product-select{min-width:0}.catalog-product-select small{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.catalog-line-actions{display:flex;align-items:flex-end;gap:6px;min-height:68px}.ring-size-toggle{min-height:40px;white-space:nowrap}.ring-size-toggle.custom{width:max-content}.ring-size-editor{display:grid;grid-gap:12px;gap:12px;margin-top:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:14px}.ring-size-editor-head,.ring-size-image-preview{display:flex;align-items:center;justify-content:space-between;gap:12px}.ring-size-editor-head>div{display:grid;grid-gap:3px;gap:3px}.ring-size-editor-head small{color:var(--muted)}.ring-size-editor-head>span{color:var(--brand);font-weight:700;white-space:nowrap}.ring-size-source{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr);grid-gap:12px;gap:12px}.ring-size-image-preview{justify-content:flex-start}.ring-size-image-preview img{width:74px;height:74px;border:1px solid var(--line);border-radius:6px;object-fit:cover}.ring-size-rows{display:grid;grid-gap:8px;gap:8px}.ring-size-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,160px) 40px;align-items:end;grid-gap:8px;gap:8px}.ring-size-row label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:12px}.ring-size-input{display:grid;grid-template-columns:minmax(0,1fr) 38px}.ring-size-input input{min-width:0;border-radius:6px 0 0 6px}.ring-size-input>span{display:grid;place-items:center;border:1px solid var(--line);border-left:0;border-radius:0 6px 6px 0;background:var(--panel-soft);color:var(--text);font-size:15px;font-weight:800}.ring-size-input:focus-within>span{border-color:var(--brand);color:var(--brand)}.ring-size-row .icon-button{color:#2563eb}.ring-size-add{width:max-content}.ring-size-warning{margin:0;border-left:3px solid #d97706;color:#b45309;padding-left:9px;font-size:13px}.ring-size-summary{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.catalog-line-icon{width:40px;min-height:40px;display:grid;place-items:center;align-self:flex-end;padding:0;border:1px solid var(--line);border-radius:7px;background:#fff;color:#475569}.catalog-line-icon:focus-visible,.catalog-line-icon:hover{border-color:var(--brand);color:var(--brand);background:#f0fdfa}.catalog-line-icon.remove:focus-visible,.catalog-line-icon.remove:hover{border-color:#dc2626;color:#dc2626;background:#fef2f2}.order-empty{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-custom-hint{border:1px dashed var(--line);border-radius:8px;color:var(--muted);padding:16px;text-align:center}.custom-order-item,.custom-order-list{display:grid;grid-gap:12px;gap:12px}.custom-order-item{border:1px solid var(--line);border-radius:8px;background:#fbfcfe;padding:14px}.custom-order-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.remove-line-button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:6px;background:#fff1f0;color:var(--danger);cursor:pointer}.order-form-error{border:1px solid #fecdca;border-radius:6px;background:#fff6f5;padding:10px 12px}.order-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #dfe4ea;padding-top:16px}.order-submit-bar span{color:var(--muted)}.order-submit-bar>div{display:flex;gap:8px}.order-edit-item,.order-edit-items{display:grid;grid-gap:12px;gap:12px}.order-edit-item{border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:14px}.order-edit-item>header{display:flex;align-items:center;justify-content:space-between}.order-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.order-edit-grid .field:last-child{grid-column:span 2}.form-warning{margin:0;border:1px solid color-mix(in srgb,#f59e0b 45%,transparent);border-radius:6px;background:color-mix(in srgb,#f59e0b 10%,transparent);color:#fbbf24;padding:9px 11px}.voided-order-row{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr) auto;align-items:center;grid-gap:18px;gap:18px;border-bottom:1px solid var(--line);padding:13px 16px}.voided-order-row:last-child{border-bottom:0}.voided-order-reason,.voided-order-row>div{min-width:0;display:grid;grid-gap:4px;gap:4px}.voided-order-reason span,.voided-order-row small{color:var(--muted);font-size:12px}.voided-order-row dl{display:flex;gap:14px;margin:0}.voided-order-row dl div{min-width:54px}.voided-order-row dt{color:var(--muted);font-size:11px}.voided-order-row dd{margin:3px 0 0;font-weight:700}.voided-order-reason strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.void-order-dialog form{display:grid;grid-gap:14px;gap:14px;padding:18px}.void-order-dialog form>p{margin:0;color:var(--muted)}.void-confirm{justify-content:flex-start}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.record-picker,.record-picker-field{position:relative}.record-picker[open]{z-index:30}.record-picker summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:9px 11px;cursor:pointer;list-style:none}.record-picker summary::-webkit-details-marker{display:none}.record-picker summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-picker[open] summary{border-color:var(--brand)}.record-picker[open] summary svg{transform:rotate(180deg)}.record-picker-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:35;width:100%}.record-picker-options{max-height:280px;overflow-y:auto;border:1px solid #cfd7e3;border-radius:6px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.14);padding:5px}.record-picker-options button{width:100%;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-radius:5px;background:transparent;color:#334155;padding:8px 9px;text-align:left;cursor:pointer}.record-picker-options button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-picker-options button.selected,.record-picker-options button:focus-visible,.record-picker-options button:hover{background:#e8f6f3;color:var(--brand-dark)}.record-picker-empty{color:var(--muted);padding:14px;text-align:center}.order-hover-card{position:absolute;top:0;left:calc(100% + 12px);width:284px;border:1px solid rgba(148,163,184,.55);border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 14px 32px rgba(15,23,42,.14);color:#1f2937;padding:14px;pointer-events:none}.order-hover-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(203,213,225,.8);padding-bottom:10px;margin-bottom:9px}.order-hover-title span{color:var(--brand);font-size:12px;font-weight:700}.order-hover-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-hover-card dl{display:grid;grid-gap:8px;gap:8px;margin:0}.order-hover-body{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:start;grid-gap:10px;gap:10px}.order-hover-image{width:88px;aspect-ratio:3/4;overflow:hidden;display:grid;place-items:center;border:1px solid rgba(203,213,225,.9);border-radius:6px;background:#f8fafc}.order-hover-image img{width:100%;height:100%;object-fit:cover}.order-hover-image span{display:grid;justify-items:center;grid-gap:6px;gap:6px;color:#94a3b8}.order-hover-image small{font-size:11px}.order-hover-card dl div{display:grid;grid-template-columns:66px minmax(0,1fr);grid-gap:8px;gap:8px}.order-hover-card dt{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:12px}.order-hover-card dd{min-width:0;overflow:hidden;margin:0;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1100px){.cost-grid,.form-grid,.product-form-grid,.profit-summary,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{grid-template-columns:minmax(160px,.6fr) minmax(260px,1.4fr) auto}.customer-metrics{grid-template-columns:minmax(110px,1fr)}.overview-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.tracking-order-row{grid-template-columns:minmax(140px,1fr) minmax(130px,.8fr) auto minmax(140px,1fr) 18px;gap:12px}}@media (max-width:760px){:root[data-sidebar] .app-shell{padding:0 0 calc(70px + env(safe-area-inset-bottom))}.app-sidebar,.icon-rail{display:none}.topbar{min-height:0;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px 14px 12px}.page-heading h1{font-size:20px}.page-back-button{width:32px;height:32px}.global-search{grid-column:1/-1;grid-row:2}.account-copy,.account-menu summary>svg{display:none}.account-menu summary{padding:0}.topbar-actions{gap:6px}.content-area{padding:16px 14px calc(88px + env(safe-area-inset-bottom))}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;min-height:calc(62px + env(safe-area-inset-bottom));display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:start;border-top:1px solid #e2e8f0;background:rgba(255,255,255,.98);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}.mobile-bottom-nav button{min-width:0;height:48px;display:grid;place-items:center;align-content:center;grid-gap:3px;gap:3px;border:0;border-radius:6px;background:transparent;color:#64748b;padding:3px}.mobile-bottom-nav button span{overflow:hidden;width:100%;font-size:10px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.mobile-bottom-nav button.active{color:var(--brand-dark)}.nav-backdrop{z-index:45;background:rgba(15,23,42,.28)}.nav-panel{top:auto;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:50;width:auto;max-height:62dvh;border:1px solid #dbe2ea;border-radius:8px;box-shadow:0 18px 40px rgba(15,23,42,.18);animation:mobile-sheet-in .16s ease-out}.nav-panel-secondary.has-tertiary{display:none}.mobile-panel-back{display:grid}@keyframes mobile-sheet-in{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.order-head,.panel-title{align-items:flex-start;flex-direction:column}.customer-browser-heading,.customer-browser-profile,.product-detail-hero{grid-template-columns:1fr}.customer-browser-heading{align-items:flex-start;flex-direction:column}.customer-browser-heading.compact{align-items:stretch}.customer-home-grid,.module-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.module-entry-grid>button{min-height:82px;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:11px}.module-entry-grid>button>svg:last-child{display:none}.customer-home-grid>button{min-height:76px;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:11px}.customer-home-grid>button>svg:last-child{display:none}.customer-directory-cards,.customer-product-menu,.product-detail-data,.product-detail-data.cost,.product-detail-profit{grid-template-columns:1fr}.customer-product-menu-card{grid-template-columns:76px minmax(0,1fr) auto}.customer-product-menu-card>.product-menu-placeholder,.customer-product-menu-card>img{width:76px;height:76px}.customer-metrics{gap:7px}.customer-metrics .metric{min-width:0;padding:9px}.customer-metrics .metric span{font-size:11px}.customer-metrics .metric strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.mobile-product-customer{display:grid}.customer-product-group-head{grid-template-columns:1fr;gap:9px;padding:11px}.customer-product-group-head dl{gap:6px}.product-summary-row{grid-template-columns:64px minmax(0,1fr);gap:9px 11px;padding:10px}.product-summary-placeholder,.product-summary-row>img{width:64px;height:64px}.product-summary-finance{grid-column:2;gap:5px}.product-summary-finance dt{font-size:10px}.product-summary-finance dd{font-size:12px}.product-summary-row>svg{position:absolute;top:12px;right:8px}.product-summary-identity{padding-right:18px}.customer-browser-empty{align-items:stretch;flex-direction:column}.product-detail-main-image{max-height:none}.product-detail-hero{grid-template-columns:112px minmax(0,1fr);gap:12px}.product-detail-main-image{aspect-ratio:1}.product-detail-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.product-detail-summary{gap:8px}.product-detail-summary .item-title h2{font-size:20px}.product-detail-profit{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.product-detail-profit .metric{min-width:0;padding:8px}.product-detail-profit .metric span{font-size:10px}.product-detail-profit .metric strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.product-detail-data,.product-detail-data.cost{grid-template-columns:repeat(2,minmax(0,1fr))}.product-directory-expand,.product-form-mode .customer-profile,.product-form-mode>.customer-directory-panel{display:none}.product-form-mode,.product-form-mode.directory-collapsed{grid-template-columns:1fr;gap:0}.product-form-mode>.customer-detail-panel{border:0;background:transparent;padding:0}.cost-grid,.custom-order-grid,.customer-info-grid,.customer-profile,.form-grid,.order-header-grid,.overview-columns,.product-form-grid,.profit-summary,.stat-grid,.workspace-grid{grid-template-columns:1fr}.customer-metrics{grid-template-columns:minmax(110px,1fr)}.overview-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.overview-stat-grid .metric{min-height:84px;padding:12px}.overview-stat-grid .metric:last-child{grid-column:1/-1}.sidebar-panel{order:2}.metric strong{font-size:20px}.assignment-row,.deduction-row,.quick-edit-grid,.status-row{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.product-card{grid-template-columns:1fr}.product-image{aspect-ratio:4/3;min-height:0}.profit-grid{grid-template-columns:1fr}.overview-intro{min-height:0;align-items:flex-start;flex-direction:column}.overview-intro h2{font-size:25px}.order-status-toolbar{align-items:stretch;flex-direction:column;gap:12px}.order-status-search{width:100%}.order-status-summary{align-items:stretch;flex-direction:column}.order-customer-filter{justify-content:space-between}.order-customer-filter select{width:min(220px,62vw)}.tracking-customer-head{align-items:flex-start;padding:12px}.tracking-customer-head dl{flex:0 0 auto;gap:10px}.tracking-customer-head dl div{min-width:0;border-left:0;padding-left:0;text-align:right}.tracking-customer-head dd{font-size:16px}.tracking-order-row{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:12px}.tracking-order-entry{grid-template-columns:minmax(0,1fr)}.tracking-delivery-action{justify-self:end;margin:0 12px 12px}.tracking-order-identity{padding-right:22px}.tracking-order-dates,.tracking-products{grid-column:1/-1}.tracking-order-counts{grid-column:1/-1;justify-content:space-between;border-block:1px solid var(--line);padding:9px 0}.tracking-order-counts div{min-width:0}.tracking-order-row>svg{position:absolute;top:16px;right:10px}.tracking-products strong{overflow:visible;white-space:normal}.delivery-editor-backdrop{align-items:end;padding:0}.delivery-editor{max-height:calc(100dvh - 12px);border-radius:8px 8px 0 0}.delivery-editor form,.delivery-editor-head{padding:13px 14px}.delivery-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-item-field{grid-column:1/-1}.delivery-launcher-progress,.delivery-progress-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-launcher>.primary-button{width:100%}.delivery-deductions-head{align-items:flex-start;flex-direction:column}.delivery-deduction-row{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-deduction-row label:last-child,.delivery-deduction-row>div{grid-column:1/-1}.overview-repairs{width:100%}.order-section-action{grid-template-columns:32px minmax(0,1fr)}.add-line-button{grid-column:2;width:max-content}.catalog-order-line{grid-template-columns:minmax(0,1fr) 92px auto;gap:8px;padding:10px}.catalog-product-select{grid-column:1/-1}.catalog-line-actions{min-height:68px;flex-wrap:wrap}.ring-size-toggle{order:-1;width:100%}.ring-size-editor-head,.ring-size-image-preview{align-items:flex-start;flex-direction:column}.ring-size-row,.ring-size-source{grid-template-columns:1fr}.ring-size-row .icon-button{justify-self:end}.order-empty,.order-submit-bar{align-items:stretch;flex-direction:column}.record-picker-menu{position:static;margin-top:6px}.record-picker-options{max-height:220px}.order-hover-card{position:static;width:100%;margin-top:8px;box-shadow:none;pointer-events:auto}.order-hover-body{grid-template-columns:minmax(0,1fr) 76px}.order-hover-image{width:76px}.business-customer-group>header{grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:9px;padding:10px}.business-record-row,.material-record-row,.repair-record-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px}.material-record-metrics,.record-metrics{grid-column:1/-1;grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:8px}.repair-record-row .record-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.repair-ticket-row{grid-template-columns:minmax(0,1fr) auto}.repair-ticket-row .record-metrics,.repair-ticket-row .record-products{grid-column:1/-1}.repair-draft-grid,.repair-ticket-basics{grid-template-columns:repeat(2,minmax(0,1fr))}.repair-draft-grid .field:last-child,.repair-draft-grid .field:nth-last-child(2),.repair-source-field{grid-column:1/-1}.repair-detail-head,.repair-draft-heading,.repair-ticket-submit{align-items:stretch;flex-direction:column}.repair-detail-head .secondary-button,.repair-draft-heading .secondary-button,.repair-ticket-submit .primary-button{width:100%}.repair-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.repair-detail-item{grid-template-columns:minmax(0,1fr) auto;gap:10px}.repair-detail-copy,.repair-detail-images,.repair-detail-item>dl{grid-column:1/-1}.repair-detail-item>.secondary-button{grid-column:1/-1;width:100%}.repair-complete-box{grid-template-columns:1fr;align-items:stretch}.repair-complete-box .primary-button{width:100%}.record-editor,.record-products{grid-column:1/-1}.material-history-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.material-history-note,.material-history-row dl{grid-column:1/-1}.material-history-note{white-space:normal}.customer-stats-row{grid-template-columns:1fr;gap:9px;padding:11px}.customer-stats-row dl{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-stats-row dl div:last-child{grid-column:1/-1}.assignment-row{grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);align-items:start}.assignment-row>div{gap:6px}.check-label{margin-right:0}.status-row{grid-template-columns:repeat(2,minmax(0,1fr))}.status-row input[name=label]{grid-column:1/-1}}.shipment-print-shell{min-height:100vh;background:#e5e7eb;color:#111827;padding:20px}.shipment-print-actions{max-width:1500px;margin:0 auto 12px;text-align:right}.shipment-print-paper{position:relative;max-width:1500px;min-height:780px;overflow:hidden;background:#fff;color:#111827;padding:20px;margin:auto}.shipment-print-head h1{margin:0 0 14px;font-size:28px;text-align:center}.shipment-print-head>div{display:grid;grid-template-columns:1fr auto auto;grid-gap:16px;gap:16px;border:1px solid #8bb8da;padding:8px 12px}.shipment-print-table-wrap{overflow-x:auto}.shipment-print-table{width:100%;min-width:1420px;border-collapse:collapse;table-layout:fixed;font-size:10px}.shipment-print-table td,.shipment-print-table th{border:1px solid #8bb8da;padding:5px 4px;text-align:center;vertical-align:middle;word-break:break-word}.shipment-print-table th{background:#075f91;color:#fff;font-weight:700}.shipment-print-table td:nth-last-child(-n+3),.shipment-print-table th:nth-last-child(-n+3){background:#fff8df}.shipment-print-table td img{width:54px;height:54px;object-fit:contain}.shipment-print-table tfoot td{background:#e7f4fc;color:#075f91;font-weight:800}.shipment-print-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #8bb8da;border-top:0}.shipment-print-summary>div{display:grid;grid-gap:4px;gap:4px;border-right:1px solid #8bb8da;padding:8px;text-align:center}.shipment-print-summary>div:last-child{border-right:0}.shipment-print-summary span{color:#4b5563;font-size:11px}.shipment-print-summary .amount strong{color:#dc2626;font-size:16px}.shipment-print-notes{border:1px solid #8bb8da;border-top:0;padding:9px;margin:0}.shipment-print-watermark{position:absolute;inset:42% auto auto 38%;z-index:2;transform:rotate(-18deg);color:rgba(245,158,11,.16);font-size:100px;font-weight:900;pointer-events:none}.shipment-print-watermark.voided{color:rgba(220,38,38,.16)}@media print{@page{size:A4 landscape;margin:7mm}.shipment-print-shell{background:#fff!important;padding:0}.shipment-print-actions{display:none}.shipment-print-paper{width:100%;max-width:none;min-height:0;padding:0}.shipment-print-table-wrap{overflow:visible}.shipment-print-table{min-width:0;font-size:7px}.shipment-print-table td,.shipment-print-table th{padding:3px 2px}.shipment-print-table td img{width:34px;height:34px}}:root[data-theme=dark] .app-main,:root[data-theme=dark] .loading-screen,:root[data-theme=dark] body{background:var(--bg);color:var(--text)}:root[data-theme=dark] .account-popover,:root[data-theme=dark] .app-sidebar,:root[data-theme=dark] .catalog-order-line,:root[data-theme=dark] .custom-order-item,:root[data-theme=dark] .customer-detail-panel,:root[data-theme=dark] .customer-directory-card,:root[data-theme=dark] .customer-directory-panel,:root[data-theme=dark] .customer-product-menu-card,:root[data-theme=dark] .form-card,:root[data-theme=dark] .item-card,:root[data-theme=dark] .login-panel,:root[data-theme=dark] .main-panel,:root[data-theme=dark] .mobile-bottom-nav,:root[data-theme=dark] .nav-panel,:root[data-theme=dark] .order-hover-card,:root[data-theme=dark] .product-card,:root[data-theme=dark] .record-picker-menu,:root[data-theme=dark] .record-picker-options,:root[data-theme=dark] .repair-card,:root[data-theme=dark] .search-results,:root[data-theme=dark] .sidebar-panel,:root[data-theme=dark] .topbar,:root[data-theme=dark] .wide-card{border-color:var(--line);background:var(--panel);color:var(--text)}:root[data-theme=dark] .mobile-bottom-nav,:root[data-theme=dark] .topbar{background:rgba(16,21,20,.98)}:root[data-theme=dark] .record-picker summary,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{border-color:var(--line);background:#0c1210;color:var(--text)}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#65746e}:root[data-theme=dark] .catalog-quantity,:root[data-theme=dark] .field,:root[data-theme=dark] .field-label,:root[data-theme=dark] .stack label{color:#c5d0cc}:root[data-theme=dark] .account-menu summary,:root[data-theme=dark] .cost-section,:root[data-theme=dark] .customer-list button,:root[data-theme=dark] .drop-zone,:root[data-theme=dark] .global-search,:root[data-theme=dark] .image-placeholder,:root[data-theme=dark] .metric,:root[data-theme=dark] .mini-stats span,:root[data-theme=dark] .mobile-panel-back,:root[data-theme=dark] .order-hover-image,:root[data-theme=dark] .order-product-placeholder,:root[data-theme=dark] .overview-list,:root[data-theme=dark] .panel-close,:root[data-theme=dark] .product-detail-data>span,:root[data-theme=dark] .product-detail-main-image,:root[data-theme=dark] .product-menu-placeholder,:root[data-theme=dark] .profit-grid span,:root[data-theme=dark] .profit-line,:root[data-theme=dark] .quick-edit,:root[data-theme=dark] .ring-size-editor,:root[data-theme=dark] .secondary-button,:root[data-theme=dark] .theme-toggle{border-color:var(--line);background:var(--panel-soft);color:var(--text)}:root[data-theme=dark] .ring-size-warning{color:#fbbf24}:root[data-theme=dark] .ring-size-row .icon-button{border-color:var(--line);background:#0c1210;color:#60a5fa}:root[data-theme=dark] .global-search:focus-within{border-color:var(--brand);background:#0c1210}:root[data-theme=dark] .primary-button{background:var(--brand);color:#f5fff9}@media (max-width:720px){.sortable-image-item{width:72px;height:72px}.order-head,.sortable-image-help{align-items:flex-start;flex-direction:column}.order-head .order-head-actions{width:100%;flex-wrap:wrap}.tracking-order-actions{justify-content:flex-end;flex-wrap:wrap;padding:0 12px 12px}.tracking-order-actions .tracking-delivery-action{margin:0}.order-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.order-edit-grid .field:last-child{grid-column:1/-1}.order-submit-bar{align-items:stretch;flex-direction:column}.order-submit-bar>div{display:grid;grid-template-columns:1fr 1fr}.voided-order-row{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:12px}.voided-order-reason,.voided-order-row dl{grid-column:1/-1}.voided-order-row>.primary-button{grid-column:2;grid-row:1}}:root[data-theme=dark] .primary-button:focus-visible,:root[data-theme=dark] .primary-button:hover{background:var(--brand-bright);color:#09110d}:root[data-theme=dark] .mobile-panel-back,:root[data-theme=dark] .panel-close,:root[data-theme=dark] .secondary-button{color:#d5dfdb}:root[data-theme=dark] .mobile-bottom-nav button.active,:root[data-theme=dark] .sidebar-section button.active,:root[data-theme=dark] .sidebar-section button:focus-visible,:root[data-theme=dark] .sidebar-section button:hover{background:var(--brand-soft);color:var(--brand-bright)}:root[data-theme=dark] .sidebar-group.active>.sidebar-primary,:root[data-theme=dark] .sidebar-primary:focus-visible,:root[data-theme=dark] .sidebar-primary:hover{background:#17241f;color:var(--brand-bright)}:root[data-theme=dark] .account-popover a,:root[data-theme=dark] .account-popover button,:root[data-theme=dark] .mobile-bottom-nav button,:root[data-theme=dark] .nav-panel-list>button,:root[data-theme=dark] .record-picker-options button,:root[data-theme=dark] .search-results button{color:#cad5d1}:root[data-theme=dark] .account-popover a:hover,:root[data-theme=dark] .account-popover button:hover,:root[data-theme=dark] .nav-panel-list>button.active,:root[data-theme=dark] .nav-panel-list>button:hover,:root[data-theme=dark] .record-picker-options button.selected,:root[data-theme=dark] .record-picker-options button:focus-visible,:root[data-theme=dark] .record-picker-options button:hover,:root[data-theme=dark] .search-results button:hover{border-color:#285647;background:var(--brand-soft);color:var(--brand-dark)}:root[data-theme=dark] .customer-directory-card:focus-visible,:root[data-theme=dark] .customer-directory-card:hover,:root[data-theme=dark] .customer-product-menu-card:focus-visible,:root[data-theme=dark] .customer-product-menu-card:hover,:root[data-theme=dark] .order-product-option.selected{border-color:var(--brand);background:#12231d}:root[data-theme=dark] .account-avatar,:root[data-theme=dark] .brand-mark,:root[data-theme=dark] .customer-card-avatar{background:var(--brand-soft);color:var(--brand-dark)}:root[data-theme=dark] .cost-total-row span,:root[data-theme=dark] .product-tags span{border-color:#285647;background:var(--brand-soft);color:var(--brand-dark)}:root[data-theme=dark] .product-menu-price b,:root[data-theme=dark] .profit-line strong,:root[data-theme=dark] .profit-positive{color:var(--brand-bright)}:root[data-theme=dark] .item-title,:root[data-theme=dark] .metric strong,:root[data-theme=dark] .order-head strong,:root[data-theme=dark] .product-detail-data strong,:root[data-theme=dark] .profit-grid strong,:root[data-theme=dark] td,:root[data-theme=dark] th{color:var(--text)}:root[data-theme=dark] .customer-browser-profile,:root[data-theme=dark] .customer-info-list,:root[data-theme=dark] .customer-profile,:root[data-theme=dark] .nav-panel-head,:root[data-theme=dark] .order-band,:root[data-theme=dark] .order-section,:root[data-theme=dark] .product-detail-section,:root[data-theme=dark] .sidebar-brand-row,:root[data-theme=dark] table,:root[data-theme=dark] td,:root[data-theme=dark] th{border-color:var(--line)}:root[data-theme=dark] .notice{border-color:#285647;background:var(--brand-soft);color:var(--brand-dark)}:root[data-theme=dark] .nav-backdrop{background:rgba(0,0,0,.48)}:root[data-theme=dark] .order-hover-card{box-shadow:0 14px 32px rgba(0,0,0,.32)}:root[data-theme=dark] .empty-state,:root[data-theme=dark] .order-custom-hint{border-color:var(--line);color:var(--muted)}:root[data-theme=dark] .print-paper,:root[data-theme=dark] .print-shell{color-scheme:light}.side-rays-background{position:fixed;z-index:0;background:#050908}.side-rays-background,.side-rays-container{inset:0;overflow:hidden;pointer-events:none}.side-rays-container{position:absolute;width:100%;height:100%}.side-rays-container canvas{display:block;width:100%;height:100%}body>:not(.side-rays-background){position:relative;z-index:1}.app-main,.loading-screen,.login-shell,:root[data-theme=dark] .app-main,:root[data-theme=dark] .loading-screen{background:transparent}:root:not([data-theme=dark]) .app-main,:root:not([data-theme=dark]) .loading-screen{background:rgba(238,244,242,.76);-webkit-backdrop-filter:blur(8px) saturate(108%);backdrop-filter:blur(8px) saturate(108%)}.app-sidebar,.mobile-bottom-nav,.nav-panel,.topbar,:root[data-theme=dark] .app-sidebar,:root[data-theme=dark] .mobile-bottom-nav,:root[data-theme=dark] .nav-panel,:root[data-theme=dark] .topbar{border-color:var(--glass-border);background:var(--glass-surface-strong);box-shadow:inset 0 1px 0 var(--glass-highlight);-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%)}.account-popover,.business-customer-group,.catalog-order-line,.custom-order-item,.customer-detail-panel,.customer-directory-card,.customer-directory-panel,.customer-home-grid>button,.customer-product-group,.customer-product-menu-card,.customer-stats-row,.delivery-editor,.form-card,.item-card,.login-panel,.main-panel,.module-entry-grid>button,.order-hover-card,.product-card,.record-picker-menu,.record-picker-options,.repair-card,.repair-draft-card,.search-results,.sidebar-panel,.tracking-customer-group,.wide-card,:root[data-theme=dark] .account-popover,:root[data-theme=dark] .catalog-order-line,:root[data-theme=dark] .custom-order-item,:root[data-theme=dark] .customer-detail-panel,:root[data-theme=dark] .customer-directory-card,:root[data-theme=dark] .customer-directory-panel,:root[data-theme=dark] .customer-product-menu-card,:root[data-theme=dark] .form-card,:root[data-theme=dark] .item-card,:root[data-theme=dark] .login-panel,:root[data-theme=dark] .main-panel,:root[data-theme=dark] .order-hover-card,:root[data-theme=dark] .product-card,:root[data-theme=dark] .record-picker-menu,:root[data-theme=dark] .record-picker-options,:root[data-theme=dark] .repair-card,:root[data-theme=dark] .search-results,:root[data-theme=dark] .sidebar-panel,:root[data-theme=dark] .wide-card{border-color:var(--glass-border);background:var(--glass-surface);box-shadow:inset 0 1px 0 var(--glass-highlight),var(--glass-shadow);-webkit-backdrop-filter:blur(16px) saturate(118%);backdrop-filter:blur(16px) saturate(118%)}.business-customer-group>header,.cost-section,.customer-product-group-head,.delivery-launcher-progress div,.delivery-progress-preview div,.drop-zone,.metric,.overview-list,.quick-edit,.repair-complete-box,.repair-completion-record,.repair-detail-metrics div,.repair-return-summary,.ring-size-editor,.tracking-customer-head,:root[data-theme=dark] .cost-section,:root[data-theme=dark] .drop-zone,:root[data-theme=dark] .metric,:root[data-theme=dark] .overview-list,:root[data-theme=dark] .quick-edit,:root[data-theme=dark] .ring-size-editor{border-color:var(--glass-border);background:var(--glass-surface-soft);box-shadow:inset 0 1px 0 var(--glass-highlight)}.drop-zone.active,:root[data-theme=dark] .drop-zone.active{border-color:var(--brand);background:color-mix(in srgb,var(--glass-surface-soft) 78%,var(--brand-soft));box-shadow:inset 0 1px 0 var(--glass-highlight),0 0 0 2px color-mix(in srgb,var(--brand) 22%,transparent)}.record-picker summary,:root[data-theme=dark] .record-picker summary,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,input,select,textarea{border-color:var(--glass-border);background:var(--glass-control);color:var(--text);box-shadow:inset 0 1px 0 var(--glass-highlight);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder,input::placeholder,textarea::placeholder{color:color-mix(in srgb,var(--muted) 82%,transparent)}.record-picker summary:hover,input:hover,select:hover,textarea:hover{border-color:color-mix(in srgb,var(--brand) 42%,var(--glass-border))}.global-search:focus-within,.record-picker summary:focus-visible,:root[data-theme=dark] .global-search:focus-within,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:var(--brand);background:var(--glass-control);box-shadow:0 0 0 3px var(--focus-ring),inset 0 1px 0 var(--glass-highlight)}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.55}input[readonly]{border-style:dashed;background:color-mix(in srgb,var(--glass-control) 74%,transparent)}.catalog-quantity,.field,.field-label,.stack label,:root[data-theme=dark] .catalog-quantity,:root[data-theme=dark] .field,:root[data-theme=dark] .field-label,:root[data-theme=dark] .stack label{color:color-mix(in srgb,var(--text) 82%,var(--muted));font-weight:560}.form-card h2,.panel-title h2,h1,h2,h3{color:var(--text);font-weight:720}.module-home>p,.overview-intro p,.page-heading span,.panel-title p,small{color:var(--muted)}.primary-button,:root[data-theme=dark] .primary-button{border-color:rgba(255,255,255,.72);background:#eef7f7;color:#101817;box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(0,0,0,.16);font-weight:700;transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease}.primary-button:focus-visible,.primary-button:hover,:root[data-theme=dark] .primary-button:focus-visible,:root[data-theme=dark] .primary-button:hover{background:#fff;color:#07100e;box-shadow:0 0 0 3px var(--focus-ring),0 10px 24px rgba(0,0,0,.2);transform:translateY(-1px)}.primary-button:active,.secondary-button:active{transform:translateY(0)}.primary-button:disabled{cursor:not-allowed;opacity:.48;transform:none}.mobile-panel-back,.page-back-button,.panel-close,.secondary-button,.theme-toggle,:root[data-theme=dark] .mobile-panel-back,:root[data-theme=dark] .panel-close,:root[data-theme=dark] .secondary-button{border-color:var(--glass-border);background:var(--glass-surface-soft);color:var(--text);box-shadow:inset 0 1px 0 var(--glass-highlight);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.page-back-button:focus-visible,.page-back-button:hover,.panel-close:focus-visible,.panel-close:hover,.secondary-button:focus-visible,.secondary-button:hover,.theme-toggle:focus-visible,.theme-toggle:hover{border-color:var(--brand);background:color-mix(in srgb,var(--glass-surface-soft) 76%,var(--brand-soft));color:var(--text)}.global-search{border-color:var(--glass-border);background:var(--glass-surface-soft);box-shadow:inset 0 1px 0 var(--glass-highlight);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.app-sidebar,.delivery-editor,.form-card,.login-panel,.main-panel,.mobile-bottom-nav,.nav-panel,.sidebar-panel,.topbar,.wide-card{background:color-mix(in srgb,var(--panel) 94%,#07100e)}}@media (max-width:720px){.overview-customer-group{overflow:hidden}.overview-order-lane-shell{padding:12px 0 12px 12px}.overview-order-lane{gap:10px;padding-right:12px}.lane-arrow{display:none}.overview-order-card{width:min(82vw,310px);min-width:min(82vw,310px)}.order-image-fan:hover .order-image-sheet:not(:only-child){width:calc(100% - 12px);transform:translateX(calc(var(--image-index) * 4px)) rotate(calc((var(--image-index) - 2) * 1deg))}.order-image-fan.expanded .order-image-sheet:not(:only-child){width:58%;transform:translateX(calc(var(--image-index) * 24px)) rotate(calc((var(--image-index) - 2) * 3deg))}.order-detail-hero{align-items:flex-start;flex-direction:column;padding:14px}.order-detail-actions{width:100%}.order-detail-actions button{flex:1 1 30%}.order-detail-summary{padding:14px}.order-detail-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.order-detail-product{grid-template-columns:minmax(0,1fr)}.order-detail-gallery{border-right:0;border-bottom:1px solid var(--line)}.order-detail-main-image{aspect-ratio:16/10}.order-detail-product-content{padding:14px}.order-product-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-product-progress-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-record-columns{grid-template-columns:minmax(0,1fr)}.order-record-section+.order-record-section{border-top:1px solid var(--line);border-left:0}.image-paste-toast{right:16px;bottom:calc(82px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.nav-panel,.rail-tooltip,button,input,select,textarea{animation:none;transition:none}}@media print{.side-rays-background{display:none!important}:root[data-theme=dark] body,body{background:#fff;color:#111827}.print-actions{display:none}.print-shell{padding:0}.print-paper{border:none;max-width:none;background:#fff;color:#111827}}.shipment-page{display:grid;grid-gap:16px;gap:16px}.shipment-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px}.shipment-page-head h2,.shipment-page-head p,.shipment-panel h3{margin:0}.shipment-page-head p{color:var(--muted);margin-top:6px}.shipment-page-head>strong{font-size:22px}.shipment-card,.shipment-line-card,.shipment-panel{border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-surface);box-shadow:inset 0 1px 0 var(--glass-highlight);padding:14px}.shipment-header-form,.silver-entry-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.shipment-add-lines label,.shipment-header-form label,.shipment-line-fields label,.shipment-summary>label,.silver-entry-form label{min-width:0;display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.shipment-add-lines select,.shipment-header-form input,.shipment-header-form select,.shipment-line-fields input,.shipment-summary textarea,.silver-entry-form input,.silver-entry-form select,.silver-entry-form textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;background:var(--input-bg);color:var(--text);padding:10px 11px}.span-all{grid-column:1/-1}.calculated-field{min-height:62px;display:grid;align-content:center;grid-gap:4px;gap:4px;border:1px dashed var(--line);border-radius:6px;padding:9px 11px}.calculated-field span{color:var(--muted);font-size:12px}.calculated-field strong,.positive{color:var(--brand)}.negative{color:#ef6b6b!important}.shipment-add-lines{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.shipment-add-lines>div{min-width:min(100%,320px);display:flex;align-items:flex-end;gap:8px;flex:1 1}.shipment-add-lines label{flex:1 1}.shipment-line-list,.shipment-list,.silver-entry-list{display:grid;grid-gap:10px;gap:10px}.shipment-card>header,.shipment-line-card>header{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}.shipment-line-card>header>span{color:var(--brand);font-size:12px}.shipment-line-card>header>button{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:transparent;color:#ef6b6b;margin-left:auto}.shipment-line-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.shipment-ring-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));grid-gap:8px;gap:8px;margin-top:12px}.shipment-ring-grid label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:6px;gap:6px}.shipment-ring-grid input{width:100%;min-width:0}.shipment-quote-details{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.shipment-quote-details summary{color:var(--brand);cursor:pointer;font-weight:700;margin-bottom:10px}.shipment-card dl,.shipment-line-totals,.shipment-summary dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;margin:12px 0 0}.order-financial-summary div,.shipment-card dl div,.shipment-line-totals div,.shipment-summary dl div{min-width:0;display:grid;grid-gap:4px;gap:4px}.order-financial-summary dt,.shipment-card dt,.shipment-line-totals dt,.shipment-summary dt{color:var(--muted);font-size:11px}.order-financial-summary dd,.shipment-card dd,.shipment-line-totals dd,.shipment-summary dd{overflow:hidden;margin:0;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.shipment-summary{display:grid;grid-gap:12px;gap:12px}.shipment-summary dl{grid-template-columns:repeat(7,minmax(0,1fr));margin:0}.shipment-summary textarea,.silver-entry-form textarea{min-height:76px;resize:vertical}.shipment-card footer,.shipment-summary footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.shipment-card header>div{min-width:0;flex:1 1}.shipment-card header span{color:var(--muted)}.shipment-card header h3{margin:3px 0 0}.shipment-card header>b{border:1px solid var(--line);border-radius:999px;padding:4px 9px;font-size:12px}.shipment-card header>b[data-status=CONFIRMED]{border-color:var(--brand);color:var(--brand)}.shipment-card header>b[data-status=VOIDED]{color:#ef6b6b}.shipment-card footer a{display:inline-flex;align-items:center;gap:5px;text-decoration:none}.silver-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);grid-gap:14px;gap:14px;align-items:start}.silver-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.silver-entry-list article{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;grid-gap:10px;gap:10px;border-top:1px solid var(--line);padding:10px 0}.silver-entry-list article>div{min-width:0;display:grid;grid-gap:2px;gap:2px}.silver-entry-list article small,.silver-entry-list article span{color:var(--muted)}.silver-entry-list article button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:transparent;color:#ef6b6b}.order-financial-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px;border-top:1px solid var(--line);padding-top:12px;margin:12px 0 0}@media (max-width:760px){.shipment-page-head{align-items:stretch;flex-direction:column}.shipment-header-form,.shipment-line-fields,.silver-entry-form,.silver-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.silver-layout{grid-template-columns:1fr}.shipment-add-lines,.shipment-add-lines>div{align-items:stretch;flex-direction:column}.order-financial-summary,.shipment-card dl,.shipment-line-totals,.shipment-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.shipment-summary footer>button{flex:1 1 160px}}