:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--canvas:var(--lightningcss-light,#f7f8fa)var(--lightningcss-dark,#010102);--surface-1:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0f1011);--surface-2:var(--lightningcss-light,#f3f4f6)var(--lightningcss-dark,#141516);--surface-3:var(--lightningcss-light,#ebedf1)var(--lightningcss-dark,#18191a);--surface-4:var(--lightningcss-light,#e4e7ec)var(--lightningcss-dark,#191a1b);--line:var(--lightningcss-light,#d9dde4)var(--lightningcss-dark,#23252a);--line-strong:var(--lightningcss-light,#bec4cf)var(--lightningcss-dark,#34343a);--control-border:var(--lightningcss-light,#777e8a)var(--lightningcss-dark,#666b76);--ink:var(--lightningcss-light,#171921)var(--lightningcss-dark,#f7f8f8);--ink-muted:var(--lightningcss-light,#424854)var(--lightningcss-dark,#d0d6e0);--muted:var(--lightningcss-light,#565d6b)var(--lightningcss-dark,#8a8f98);--text-secondary:var(--muted);--text-label:var(--ink-muted);--accent:var(--lightningcss-light,#535fc0)var(--lightningcss-dark,#5e6ad2);--on-accent:#fff;--accent-hover:var(--lightningcss-light,#464faa)var(--lightningcss-dark,#828fff);--on-accent-hover:var(--lightningcss-light,#fff)var(--lightningcss-dark,#010102);--accent-pressed:var(--lightningcss-light,#3b4597)var(--lightningcss-dark,#5e69d1);--link:var(--lightningcss-light,#414dad)var(--lightningcss-dark,#828fff);--focus-ring:var(--lightningcss-light,#4c58bc)var(--lightningcss-dark,#828fff);--progress-fill:var(--lightningcss-light,#646c7b)var(--lightningcss-dark,#8a8f98);--overlay:var(--lightningcss-light,#10142070)var(--lightningcss-dark,#000000b8);--overlay-stacked:var(--lightningcss-light,#10142094)var(--lightningcss-dark,#000000d6);--success-indicator:var(--lightningcss-light,#237b42)var(--lightningcss-dark,#27a644);--success:var(--lightningcss-light,#25633c)var(--lightningcss-dark,#8ccea0);--success-surface:var(--lightningcss-light,#eaf6ed)var(--lightningcss-dark,#142119);--warning:var(--lightningcss-light,#73501e)var(--lightningcss-dark,#dec29b);--warning-surface:var(--lightningcss-light,#fbf4e7)var(--lightningcss-dark,#1c1915);--warning-line:var(--lightningcss-light,#e3cda8)var(--lightningcss-dark,#3d3327);--danger:var(--lightningcss-light,#9b352e)var(--lightningcss-dark,#f0aba6);--danger-surface:var(--lightningcss-light,#fff0ee)var(--lightningcss-dark,#231717);--danger-line:var(--lightningcss-light,#efc3bf)var(--lightningcss-dark,#513231);--paper:#fff}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}.print-document{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#171921;--muted:#565d6b;--control-border:#777e8a;--surface-2:#f3f4f6;--warning:#73501e}@media screen{:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}@media print{:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}.document-image-picker{border:1px solid var(--line);background:var(--surface-1);border-radius:10px;margin-top:18px;padding:14px}.document-image-picker>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.document-image-picker>p{font-size:13px;line-height:1.6}.document-image-previews,.document-files{flex-wrap:wrap;gap:12px;display:flex}.document-image-previews figure{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;width:144px;margin:0;padding:6px;position:relative}.document-image-previews img{object-fit:contain;background:var(--surface-1);width:130px;height:100px;display:block}.document-image-previews figcaption{overflow-wrap:anywhere;padding:6px 0;font-size:12px;line-height:1.5}.document-image-previews figcaption small{color:var(--muted);display:block}.document-image-previews .icon-button{background:var(--surface-1);position:absolute;top:8px;right:8px}.document-form-fields{border:0;min-width:0;margin:0;padding:0}.document-file{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:8px;flex-direction:column;gap:7px;max-width:220px;padding:8px;font-size:13px;display:flex}.document-file img{object-fit:contain;background:var(--surface-2);width:180px;height:130px}.dropdown{min-width:0;position:relative}.dropdown-trigger{border:1px solid var(--control-border);border-radius:var(--radius-md);background:var(--surface-1);width:100%;min-height:40px;color:var(--ink);text-align:left;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.dropdown-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dropdown-trigger svg,.dropdown-option svg{color:var(--muted);flex:none}.dropdown-trigger[aria-expanded=true]{border-color:var(--focus-ring)}.dropdown-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.dropdown-trigger[aria-invalid=true]{border-color:var(--danger)}.dropdown-trigger:disabled{background:var(--surface-2)}.dropdown-placeholder{color:var(--muted)}.dropdown .dropdown-value{opacity:0;pointer-events:none;border:0;width:1px;height:1px;min-height:0;padding:0;position:absolute;inset:0 auto auto 0}.dropdown-error{color:var(--danger);margin-top:4px;font-size:12px;display:block}.dropdown-menu{z-index:120;overscroll-behavior:contain;border:1px solid var(--control-border);border-radius:var(--radius-md);background:var(--surface-2);color:var(--ink);padding:4px;font-size:14px;position:fixed;overflow:auto}.dropdown-option{border-radius:var(--radius-sm);cursor:pointer;overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding:6px 8px;display:flex}.dropdown-option:hover,.dropdown-option.active{background:var(--surface-4)}.dropdown-option[aria-selected=true] svg{color:var(--link)}.search-dropdown-control{cursor:text}.search-dropdown-control[data-open]{border-color:var(--focus-ring)}.search-dropdown-control .search-dropdown-input{width:100%;min-width:0;height:24px;min-height:0;color:inherit;box-shadow:none;font:inherit;background:0 0;border:0;border-radius:0;outline:none;margin:0;padding:0}.dropdown.search-dropdown .search-dropdown-control .search-dropdown-input:focus{box-shadow:none;border:0;outline:none}.search-dropdown-control:has(input:disabled){background:var(--surface-2)}.search-dropdown-clear{color:var(--muted);background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:3px;display:flex}.search-dropdown-message{color:var(--muted);margin:0;padding:10px 8px}@media (width<=800px){.dropdown-trigger,.dropdown-option{min-height:var(--touch-target)}}.quantity-input{vertical-align:middle;width:100%;min-width:0;display:inline-block;position:relative}.quantity-input>input{appearance:textfield;width:100%;min-width:0;padding-right:29px!important}.quantity-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.quantity-input>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quantity-input-buttons{border-left:1px solid var(--line);grid-template-rows:1fr 1fr;width:22px;display:grid;position:absolute;top:3px;bottom:3px;right:3px}.quantity-input-buttons>button{color:var(--muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:100%;min-height:0;padding:0;font-size:9px;line-height:1;display:flex}.quantity-input-buttons>button:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}.quantity-input-buttons>button:disabled{opacity:.3;cursor:default}.bom-cell-input .quantity-input{flex:none;width:110px}.factory-section{margin:18px 0;padding:22px}.factory-todos{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.factory-todos>button{text-align:left;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;padding:15px;display:flex}.factory-todos>button:hover{border-color:var(--link)}.factory-todos small{color:var(--muted)}.factory-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0;display:grid}.factory-metrics article{border:1px solid var(--line);background:var(--surface-2);border-top:4px solid #2588c6;border-radius:10px;padding:18px}.factory-metrics b{margin-top:9px;font-size:30px;display:block}.factory-metrics .metric-overdue{border-top-color:#e05b50}.factory-metrics .metric-outsources{border-top-color:#a672d4}.factory-metrics .metric-stockWarnings{border-top-color:#e4a13e}.factory-metrics .metric-inProduction{border-top-color:#22a581}.configuration-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;display:grid}.configuration-card{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:18px}.configuration-card p{white-space:pre-wrap;color:var(--muted)}.configuration-card h3{margin-bottom:12px}.settings-notice{background:#3692c612;border-left:4px solid #3692c6;border-radius:5px;margin:14px 0;padding:14px}.template-preview{color:#202b38;background:#fff;border:1px solid #dce5ed;border-radius:8px;padding:30px;overflow:auto}.template-preview table{border-collapse:collapse;width:100%}.template-preview td,.template-preview th{border:1px solid #dce5ed;padding:10px}.template-preview header{border-bottom:3px solid;padding:12px 0}.template-preview img{max-width:140px;max-height:70px}.business-print{font-size:var(--document-font,12px);color:#172b40;padding:var(--document-margin,15mm);background:#fff}.business-print table{border-collapse:collapse;width:100%;margin:20px 0}.business-print td,.business-print th{border:1px solid #cbd5df;padding:10px}.business-print h1,.business-print header{color:var(--document-accent,#173f69)}.business-print header{border-bottom:3px solid;justify-content:space-between;padding-bottom:12px;display:flex}.business-print header img{max-width:150px;max-height:80px}.business-print footer{white-space:pre-wrap;margin-top:25px}.document-controls{align-items:center;gap:12px;margin:15px 0;display:flex}.transaction-note{white-space:pre-wrap;background:#e4a13e0d;border-left:3px solid #e4a13e;padding:12px}@media (width<=650px){.factory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-section{padding:14px}.factory-todos{grid-template-columns:1fr}}@media print{.business-print{padding:var(--document-margin,15mm);margin:0}.document-controls{display:none!important}}.business-print td,.business-print th{color:#172b40}.settings-audit pre{white-space:pre-wrap;overflow-wrap:anywhere}.sales-table-clickable>td{cursor:pointer}.account-filters{flex-wrap:wrap;gap:16px;margin:16px 0;display:flex}.account-filters label{gap:6px;min-width:180px;display:grid}.account-filters input,.account-filters select{border:1px solid var(--line,#dbe2e8);background:#fff;border-radius:6px;padding:9px 12px}.account-role-scroll{overflow-x:auto}.account-role-columns{grid-template-columns:repeat(5,minmax(190px,1fr));align-items:start;gap:14px;min-width:1050px;display:grid}.account-role-group{background:#f4f7fa;border:1px solid #dfe6ec;border-radius:8px;padding:12px}.account-role-group h3{justify-content:space-between;align-items:center;margin:0 0 12px;font-size:15px;display:flex}.account-role-group h3 small{color:#62748a;font-size:12px}.account-user-card{overflow-wrap:anywhere;background:#fff;border:1px solid #dce4ec;border-radius:7px;margin-bottom:10px;padding:12px}.account-user-card header{justify-content:space-between;align-items:center;gap:8px;display:flex}.account-user-card p{margin:7px 0;font-size:13px}.account-user-card.inactive{opacity:.65}.account-user-card .inline-actions{flex-wrap:wrap;gap:10px}.payment-status-line{flex-wrap:wrap;gap:16px;display:flex}.payment-status{border-radius:6px;padding:6px 10px;font-size:13px;display:inline-block}.payment-status.paid{color:#176c44;background:#dcf4e7}.payment-status.unpaid{color:#865310;background:#fff0d7}.account-cleanup-panel{margin-top:20px}.account-cleanup-panel>summary{cursor:pointer;font-weight:600}.account-cleanup-panel .account-filters{align-items:end}.button.account-delete-confirm{background:var(--danger-surface);border-color:var(--danger-line);color:var(--danger)}.account-user-card.account-enabled{background:var(--success-surface);border-left:3px solid var(--success)}.account-user-card.account-disabled{opacity:1;background:var(--danger-surface);border-color:var(--danger-line);border-left:3px solid var(--danger)}.badge.account-state-active{background:var(--success-surface);color:var(--success);border:1px solid var(--success);font-weight:700}.badge.account-state-disabled{background:var(--danger-surface);color:var(--danger);border:1px solid var(--danger-line);font-weight:700}:root{--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-pill:9999px;--font-display:"SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, monospace;--touch-target:44px;color:var(--ink);background:var(--canvas);font:400 14px/1.5 -apple-system,BlinkMacSystemFont,system-ui,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{color:var(--muted);cursor:not-allowed}button{color:inherit;background:0 0;border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.6px;margin-bottom:8px;font-size:28px;font-weight:600;line-height:1.2}h2{letter-spacing:-.3px;margin-bottom:6px;font-size:20px;font-weight:600;line-height:1.25}h3{font-size:16px;font-weight:600}p{line-height:1.7}.muted{color:var(--muted)}.tiny{font-size:12px}.numeric{font-variant-numeric:tabular-nums}.eyebrow{letter-spacing:.4px;color:var(--muted);margin-bottom:8px;font-size:13px;font-weight:500;line-height:1.3}.button{border-radius:var(--radius-md);white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:8px 14px;font-size:14px;font-weight:500;line-height:1.2;display:inline-flex}.primary{background:var(--accent);color:var(--on-accent);border:1px solid #0000}.primary:hover:not(:disabled){background:var(--accent-hover);color:var(--on-accent-hover)}.primary:active:not(:disabled){background:var(--accent-pressed);color:var(--on-accent)}.button:disabled{background:var(--surface-3);color:var(--muted);border-color:var(--line)}.secondary{border:1px solid var(--line);background:var(--surface-1);color:var(--ink)}.secondary:hover:not(:disabled){background:var(--surface-2);border-color:var(--line-strong)}.small{padding:8px 12px;font-size:13px}.full{width:100%}.icon-button{border-radius:var(--radius-md);color:var(--muted);justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--surface-3);color:var(--ink)}.text-button{color:var(--link);align-items:center;gap:6px;padding:4px 0;font-size:13px;font-weight:500;display:inline-flex}.text-button:hover:not(:disabled){text-decoration:underline}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--canvas);width:220px;color:var(--ink-muted);z-index:20;border-right:1px solid var(--line);flex-direction:column;padding:20px 12px 0;display:flex;position:fixed;inset:0 auto 0 0}.wordmark{letter-spacing:1.25px;color:var(--ink);align-items:center;gap:10px;margin:0 8px;font-size:16px;font-weight:600;display:flex}.wordmark>span{font-size:inherit;letter-spacing:inherit;color:inherit;display:block}.factory-label{color:var(--muted);align-items:center;gap:8px;margin:24px 8px 12px;font-size:11px;display:flex}.online-dot{background:var(--success-indicator);border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.sidebar nav{flex-direction:column;gap:2px;padding:2px 3px 12px;display:flex;overflow-y:auto}.sidebar nav button{text-align:left;border-radius:var(--radius-md);align-items:center;gap:10px;min-height:38px;padding:9px 10px;font-size:13px;display:flex}.sidebar nav button span{flex:1}.sidebar nav button:hover{background:var(--surface-2);color:var(--ink)}.sidebar nav button.selected{background:var(--surface-3);color:var(--ink)}.sidebar-footer{flex-shrink:0;margin-top:auto}.sidebar-footer .theme-control{justify-content:space-between;padding:8px 4px 12px}.sidebar-bottom{border-top:1px solid var(--line);align-items:center;gap:8px;padding:12px 4px;display:flex}.avatar{background:var(--surface-3);border-radius:var(--radius-pill);width:32px;height:32px;color:var(--ink-muted);flex:none;place-items:center;font-size:13px;display:grid}.sidebar-bottom>button:not(.icon-button){text-align:left;flex:1;min-width:0;padding:0}.sidebar-bottom strong{text-overflow:ellipsis;white-space:nowrap;color:var(--ink-muted);font-size:12px;font-weight:500;display:block;overflow:hidden}.sidebar-bottom small{color:var(--muted);margin-top:5px;font-size:9px;line-height:1.4;display:block}.sidebar-bottom .icon-button{color:var(--ink-muted)}.workspace{flex:1;min-width:0;margin-left:220px}.topbar{background:var(--canvas);border-bottom:1px solid var(--line);z-index:10;justify-content:space-between;align-items:center;gap:12px;height:56px;padding:0 32px;display:flex;position:sticky;top:0}.breadcrumb{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.breadcrumb strong{color:var(--ink);font-weight:500}.topbar-right{align-items:center;gap:12px;display:flex}.demo-tag{background:var(--surface-2);color:var(--ink-muted);border-radius:var(--radius-pill);padding:3px 8px;font-size:11px}.mobile-menu{display:none}main{max-width:1280px;min-height:calc(100vh - 104px);margin:auto;padding:32px 32px 48px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-heading p:not(.eyebrow){color:var(--ink-muted);margin:0;font-size:14px}.date-chip{color:var(--muted);background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-md);align-items:center;gap:8px;padding:10px 13px;font-size:12px;display:flex}.metrics{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;display:grid}.metric{text-align:left;background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px}.metric:hover{background:var(--surface-2);border-color:var(--line-strong)}.metric>span{color:var(--ink-muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.metric>span svg{color:var(--muted)}.metric strong{letter-spacing:-1px;color:var(--ink);font-variant-numeric:tabular-nums;margin:17px 0 13px;font-size:40px;font-weight:600;line-height:1.15;display:block}.metric strong small{color:var(--muted);letter-spacing:0;margin-left:8px;font-size:11px;font-weight:400}.metric>div{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);align-items:start;gap:22px;display:grid}.panel{background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}.panel-title{justify-content:space-between;align-items:center;gap:12px;padding:24px;display:flex}.panel-title p{color:var(--muted);margin:0;font-size:13px}.panel-title>svg{color:var(--muted)}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:13px}th{text-align:left;color:var(--ink-muted);background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 16px;font-size:12px;font-weight:500}td{border-bottom:1px solid var(--line);color:var(--ink-muted);padding:13px 16px;line-height:1.7}tbody tr:last-child td{border-bottom:0}@media screen{.table-wrap>table{border-collapse:separate;border-spacing:0;padding-inline:8px}.table-wrap tbody tr:is(:hover,:focus-within)>td{background:var(--surface-2)}.table-wrap tbody tr:is(:hover,:focus-within)>td:first-child{border-start-start-radius:var(--radius-md);border-end-start-radius:var(--radius-md)}.table-wrap tbody tr:is(:hover,:focus-within)>td:last-child{border-start-end-radius:var(--radius-md);border-end-end-radius:var(--radius-md)}}table .code{color:var(--ink-muted);font-variant-numeric:tabular-nums;font-size:12px;font-family:var(--font-mono)}td:nth-child(2){font-weight:500}.row-link{text-align:left;white-space:normal;align-items:center;gap:8px;max-width:350px;padding:0;display:inline-flex}.row-link svg{opacity:.65;flex:none}.row-link:hover{color:var(--link);text-decoration:underline}.row-link:hover svg{opacity:1}.compact th,.compact td{padding-left:18px;padding-right:10px;font-size:12px}.badge{border-radius:var(--radius-pill);color:var(--ink-muted);background:var(--surface-2);white-space:nowrap;padding:2px 8px;font-size:12px;font-weight:500;line-height:1.35;display:inline-block}.badge.urgent,.badge.paused,.badge.rejected,.badge.scrap{background:var(--danger-surface);color:var(--danger)}.badge.published,.badge.completed,.badge.accepted,.badge.closed,.badge.settled,.badge.resolved{background:var(--success-surface);color:var(--success)}.badge.voided,.badge.canceled{color:var(--muted);text-decoration:line-through}.overdue{color:var(--danger)}.progress{font-variant-numeric:tabular-nums;min-width:90px;font-size:11px}.progress>span{color:var(--ink-muted);margin-bottom:6px;display:block}.progress small{color:var(--muted);font-size:10px}.progress>div{background:var(--line-strong);border-radius:4px;height:4px;overflow:hidden}.progress i{background:var(--progress-fill);border-radius:4px;height:100%;display:block}.issue-list{padding:0 22px 10px}.issue-card{text-align:left;border-bottom:1px solid var(--line);width:100%;padding:15px 0}.issue-card:last-child{border-bottom:0}.issue-card>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.issue-card>div>span:not(.badge){color:var(--muted);font-size:10px}.issue-card strong{color:var(--ink);margin:10px 0 9px;font-size:13px;font-weight:500;display:block}.issue-card small{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.departments{grid-template-columns:1fr 1fr;gap:12px;padding:0 22px 15px;display:grid}.departments>button{text-align:left;border:1px solid var(--line);border-radius:var(--radius-md);align-items:center;gap:12px;padding:15px;display:flex}.department-icon{border-radius:var(--radius-md);background:var(--surface-2);width:34px;height:34px;color:var(--ink-muted);flex:none;place-items:center;display:grid}.departments strong{font-size:12px;font-weight:500;display:block}.departments span{color:var(--ink-muted);margin-top:6px;font-size:10px;display:block}.departments b{color:var(--ink);margin-left:auto;font-size:20px;font-weight:500}.departments b small{color:var(--muted);margin-top:3px;font-size:9px;font-weight:400;display:block}.timeline{max-height:330px;padding:0 22px 20px;overflow-y:auto}.timeline>button{text-align:left;align-items:flex-start;gap:13px;width:100%;padding:13px 0;display:flex;position:relative}.timeline-dot{border:2px solid var(--line-strong);background:var(--surface-1);border-radius:50%;flex:none;width:7px;height:7px;margin-top:5px;display:block}.timeline>button:not(:last-child):before{content:"";background:var(--line);width:1px;position:absolute;top:22px;bottom:-9px;left:3px}.timeline strong{font-size:12px;font-weight:500;display:block}.timeline>button>div>span{color:var(--ink-muted);margin-top:7px;font-size:10px;display:block}.timeline time{color:var(--muted);white-space:nowrap;margin-top:2px;margin-left:auto;font-size:9px}.heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:24px;padding:0 0 8px;display:flex;overflow-x:auto}.tabs button{white-space:nowrap;color:var(--muted);border-radius:var(--radius-pill);min-height:36px;padding:8px 14px;font-size:14px}.tabs button.active{color:var(--ink);background:var(--surface-3);font-weight:500}.list-toolbar{flex-wrap:wrap;align-items:center;gap:15px;padding:18px 20px;display:flex}.search{background:var(--surface-1);border:1px solid var(--control-border);border-radius:var(--radius-md);color:var(--ink-muted);align-items:center;gap:9px;min-width:290px;padding:0 12px;display:flex}.search input{color:var(--ink);background:0 0;border:0;outline:0;min-width:230px;min-height:40px;padding:8px 0;font-size:14px}.count-text{margin-right:auto;font-size:11px}.pagination{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;padding:15px 20px;display:flex}.pagination>span{color:var(--muted);margin-right:10px;font-size:11px}.inline-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.workspace-footer{color:var(--muted);justify-content:space-between;max-width:1280px;margin:auto;padding:0 32px 20px;font-size:12px;display:flex}.empty{text-align:center;color:var(--ink-muted);padding:43px 25px}.empty svg{margin-bottom:12px}.empty strong{color:var(--ink);font-size:13px;font-weight:500;display:block}.empty p{margin:8px 0 0;font-size:11px}.error{border:1px solid var(--danger-line);background:var(--danger-surface);border-radius:var(--radius-md);color:var(--danger);margin-top:14px;padding:13px 15px;font-size:12px;line-height:1.6}.global-error{justify-content:space-between;align-items:center;margin:0 0 18px;display:flex}.loading,.loading-screen{text-align:center;color:var(--muted);padding:80px}.loading-screen{letter-spacing:3px;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;font-size:26px;display:flex}.loading-screen span{letter-spacing:0;font-size:13px}.overlay{background:var(--overlay);z-index:100;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.overlay+.overlay{z-index:110;background:var(--overlay-stacked)}.modal{background:var(--surface-1);border-radius:var(--radius-lg);border:1px solid var(--line-strong);outline:0;width:560px;max-width:100%;max-height:90vh;overflow-y:auto}.wide-modal{width:1040px}.modal-header{border-bottom:1px solid var(--line);background:var(--surface-1);z-index:2;justify-content:space-between;align-items:center;padding:16px 24px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:18px}.modal-body{padding:24px}.modal-footer{border-top:1px solid var(--line);background:var(--surface-1);z-index:1;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px;display:flex;position:sticky;bottom:0}.modal-footer>span{color:var(--muted);margin-right:auto;font-size:11px}.field-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;margin-bottom:16px;font-size:12px;display:flex}.field-grid>.field{margin-bottom:0}.field>span{color:var(--text-label);font-weight:500}.field i{color:var(--danger);font-size:10px;font-style:normal}.field input,.field textarea{border-radius:var(--radius-md);border:1px solid var(--control-border);background:var(--surface-1);width:100%;min-height:40px;color:var(--ink);outline:0;min-width:0;padding:8px 12px;line-height:1.5}.field textarea{resize:vertical;min-height:80px}.field input:focus,.field textarea:focus{border-color:var(--focus-ring);outline:2px solid var(--focus-ring);outline-offset:0}.field input:disabled,.field textarea:disabled{background:var(--surface-2);color:var(--muted)}.field.wide{grid-column:1/-1}.checkbox{flex-direction:row;align-items:center;gap:9px;min-height:38px;font-size:12px;line-height:1.5;display:flex}.checkbox input{width:15px;height:15px;accent-color:var(--accent);flex:none;min-height:0;padding:0}.checkbox-grid{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.repeat-field{border:1px solid var(--line);border-radius:var(--radius-md);grid-column:1/-1;min-width:0;margin:0;padding:14px}.repeat-field legend{color:var(--ink-muted);padding:0 7px;font-size:12px;font-weight:500}.repeat-row{border-bottom:1px solid var(--line);gap:14px;margin-bottom:14px;padding:12px 0 19px;display:flex}.repeat-index{width:28px;color:var(--muted);flex-direction:column;gap:9px;padding-top:2px;font-size:11px;display:flex}.repeat-index .icon-button{padding:4px}.repeat-row>.field-grid{flex:1}.callout,.notice{background:var(--surface-2);border:1px solid var(--line);color:var(--ink-muted);border-radius:var(--radius-md);margin-bottom:22px;padding:14px 16px;font-size:12px;line-height:1.7}.token-text{background:var(--surface-2);word-break:break-all;margin-bottom:20px;padding:20px;display:block}.detail-hero{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.detail-hero h2{font-size:23px}.details-grid{grid-template-columns:repeat(3,1fr);gap:22px;margin:24px 0;display:grid}.details-grid>div{min-width:0}.details-grid dt{color:var(--muted);margin-bottom:8px;font-size:11px}.details-grid dd{color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.8}.action-bar{flex-wrap:wrap;gap:7px;margin:13px 0;display:flex}.detail-section{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.detail-section h3{color:var(--ink);margin-bottom:14px}.detail-section .table-wrap{border:1px solid var(--line);border-radius:var(--radius-md)}.detail-section td{padding:13px 15px}.linked-records{flex-wrap:wrap;gap:20px;padding:10px 0;display:flex}.batch-list{flex-direction:column;gap:13px;display:flex}.batch-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:18px}.batch-card>div:first-child{justify-content:space-between;align-items:center;font-size:12px;display:flex}.batch-card strong{font-weight:550}.batch-numbers{flex-wrap:wrap;gap:25px;margin:20px 0;display:flex}.batch-numbers>span{color:var(--ink-muted);font-size:10px}.batch-numbers b{color:var(--ink);margin-top:7px;font-size:18px;font-weight:550;display:block}.attachments{flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.attachments>a{border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink-muted);align-items:center;gap:12px;padding:12px 15px;font-size:12px;display:flex}.attachments small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.attachments>a>svg:last-child{margin-left:auto}.upload-button{cursor:pointer}.upload-button input{display:none}.toast{background:var(--surface-4);color:var(--ink);border-radius:var(--radius-md);z-index:150;border:1px solid var(--line-strong);align-items:center;gap:10px;padding:13px 22px;font-size:13px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%)}.auth-page{background:var(--canvas);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:100dvh;display:grid}.auth-brand{background:var(--canvas);color:var(--ink);border-right:1px solid var(--line);flex-direction:column;justify-content:space-between;gap:48px;min-height:100dvh;padding:32px clamp(32px,5vw,80px);display:flex}.auth-brand .wordmark{margin:0}.auth-brand .eyebrow{color:var(--muted);font-size:12px}.auth-brand h2{letter-spacing:-.04em;margin:16px 0 24px;font-size:clamp(36px,4.5vw,64px);font-weight:600;line-height:1.16}.auth-brand>div>p:not(.eyebrow){color:var(--ink-muted);font-size:16px;line-height:1.7}.auth-brand>small{letter-spacing:1px;color:var(--muted);font-size:11px}.auth-flow{color:var(--muted);align-items:center;gap:12px;margin-top:32px;font-size:12px;display:flex}.auth-flow span{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-1);color:var(--ink-muted);padding:8px 12px}.auth-flow svg{width:16px}.auth-form{background:var(--canvas);justify-content:center;align-items:center;padding:24px;display:flex}.auth-box{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface-1);width:440px;max-width:100%;padding:32px}.auth-box-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.auth-box-header .eyebrow{margin:0}.theme-control{color:var(--ink-muted);align-items:center;gap:8px;font-size:12px;display:flex}.theme-control .dropdown-trigger{min-height:32px;padding:6px 8px}.auth-box h1{margin:8px 0 12px;font-size:28px}.auth-box>.muted{margin-bottom:24px;font-size:14px}.auth-box form .button{margin-top:10px}.auth-note{color:var(--muted);text-align:center;margin:16px 0 0;font-size:12px}.sidebar-scrim{display:none}@media (width>=1600px){.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr)}}@media (width<=1200px){.sidebar{width:200px}.workspace{margin-left:200px}main{padding:26px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:1fr}.metrics{gap:12px}.metric{padding:18px}.departments{grid-template-columns:repeat(3,1fr)}.heading-actions{max-width:50%}}@media (width<=800px){.sidebar{width:230px;transition:transform .2s;transform:translate(-100%)}.sidebar.mobile-open{transform:translate(0)}.sidebar-scrim{background:var(--overlay);z-index:19;display:block;position:fixed;inset:0}.workspace{margin-left:0}.mobile-menu{display:flex}.topbar{height:56px;padding:0 16px}.topbar-right{gap:8px}.breadcrumb{margin-right:auto;font-size:11px}main{padding:23px 16px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:15px;margin-bottom:23px}h1{font-size:25px}.date-chip{display:none}.heading-actions{justify-content:flex-start;max-width:100%}.metrics{grid-template-columns:1fr 1fr;gap:12px}.metric strong{margin:15px 0 10px;font-size:32px}.departments{grid-template-columns:1fr 1fr;padding:0 16px 16px}.departments>button{gap:8px;padding:12px}.department-icon{display:none}.panel-title{padding:20px 16px 16px}.dashboard-grid{gap:18px}.list-toolbar{gap:12px;padding:15px}.search{flex:1;min-width:0}.search input{width:100%;min-width:0}.count-text{display:none}.workspace-footer{flex-wrap:wrap;gap:8px;padding:0 16px 15px;font-size:11px}.overlay{padding:10px}.modal{max-height:95vh}.modal-header{padding:15px 18px}.modal-header h2{font-size:14px}.modal-body{padding:20px 18px}.modal-footer{padding:15px 18px}.modal-footer>span{display:none}.field-grid{grid-template-columns:1fr}.details-grid{grid-template-columns:1fr 1fr;gap:20px}.checkbox-grid{grid-template-columns:1fr 1fr}.batch-numbers{gap:20px}.detail-hero h2{font-size:19px}.auth-page{grid-template-rows:auto 1fr;grid-template-columns:1fr}.auth-brand{border:0;border-bottom:1px solid var(--line);min-height:0;padding:16px 24px;display:block}.auth-form{padding:24px}.repeat-row{gap:8px}.auth-box h1{font-size:27px}.timeline time{font-size:9px}.toast{width:max-content;max-width:90%;font-size:12px}.detail-section td{font-size:11px}.modal-footer .button{flex:1}.auth-brand>:not(.wordmark){display:none}.auth-box{padding:24px}.sidebar nav button,.theme-control .dropdown-trigger{min-height:var(--touch-target)}}@media print{body,.modal{background:var(--paper)}.sidebar,.topbar,main,.workspace-footer,.toast,.modal-header button,.no-print,.modal-footer,.detail-hero>.button{display:none!important}.overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:0;display:block;position:static}.modal{max-height:none;box-shadow:none;border:0;border-radius:0;width:100%;overflow:visible}.modal-header{position:static}.app-shell{display:block}.workspace{display:none}.table-wrap{overflow:visible}table{white-space:normal;font-size:10px}.details-grid{grid-template-columns:repeat(3,1fr)}.batch-card,.detail-section{break-inside:avoid}}.list-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;padding:0 20px 18px;display:flex}.list-filters label,.filter-dropdown{color:var(--ink-muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.filter-dropdown{width:min(160px,100%)}.filter-dropdown .dropdown-trigger{font-size:13px}.list-filters input{color:var(--ink);border:1px solid var(--control-border);border-radius:var(--radius-md);background:var(--surface-1);max-width:180px;min-height:40px;padding:8px 12px;font-size:13px}.report-filters{margin-bottom:20px;padding:20px}.report-filters .field-grid{grid-template-columns:repeat(4,1fr)}.report-filters p{margin:15px 0 0}.report-section{margin-bottom:20px}.report-empty{color:var(--muted);padding:0 22px 22px;font-size:12px}.report-sources{flex-direction:column;max-height:110px;display:flex;overflow:auto}.report-sources button{font-size:10px}.report-section .panel-title p{max-width:900px;line-height:1.7}.report-section td{vertical-align:top}@media (width<=800px){.report-filters .field-grid{grid-template-columns:1fr 1fr}.list-filters{gap:10px;padding:0 15px 15px}.list-filters input{max-width:140px}.filter-dropdown{width:min(140px,100%)}}@media screen and (width<=600px){.list-panel.operations .table-wrap{overflow:visible}.list-panel.operations table,.list-panel.operations tbody{white-space:normal;display:block}.list-panel.operations table{padding-inline:0}.list-panel.operations thead{display:none}.list-panel.operations tbody{gap:12px;padding:0 14px 14px;display:grid}.list-panel.operations tr{border:1px solid var(--line);border-radius:var(--radius-md);grid-template-columns:1fr 1fr;gap:11px;padding:14px;display:grid}.list-panel.operations tr:is(:hover,:focus-within){background:var(--surface-2)}.list-panel.operations tr:is(:hover,:focus-within)>td{background:0 0}.list-panel.operations td{overflow-wrap:anywhere;border:0;min-width:0;padding:0;font-size:12px;display:block}.list-panel.operations td:first-child{border-bottom:1px solid var(--line);grid-column:1/-1;padding-bottom:10px}.list-panel.operations td[data-column=item]{color:var(--ink-muted);grid-area:2/1/auto/-1;font-size:14px;font-weight:600}.list-panel.operations td[data-column=readiness],.list-panel.operations td[data-column=done],.list-panel.operations td[data-column=dueDate]{grid-column:1/-1}.list-panel.operations td:not(:first-child):before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:10px;font-weight:400;display:block}.list-panel.operations .row-link{justify-content:space-between;width:100%}.list-panel.operations .row-link svg{opacity:1}}@media (width<=800px){.sidebar:not(.mobile-open){visibility:hidden}}@media (width<=450px){.breadcrumb{gap:4px;min-width:0;display:flex}.topbar-right{margin-left:auto}.demo-tag{white-space:nowrap}.breadcrumb strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.breadcrumb-prefix,.breadcrumb>svg{display:none}.topbar{gap:4px;padding:0 8px}}.pending-submit{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:17px;display:flex}.pending-submit>div{flex:1}.pending-submit strong{color:var(--warning);font-size:13px}.pending-submit p{color:var(--ink-muted);margin:7px 0 0;font-size:11px}.document-controls{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:20px;display:flex}.document-controls p{flex-basis:100%;margin:0}.print-document{background:var(--paper);color:var(--ink);overflow-wrap:anywhere;padding:35px}.print-document header{border-bottom:2px solid var(--ink);justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.print-document header strong{letter-spacing:4px;font-size:25px}.print-document header h1{margin-top:18px;font-size:25px}.print-document header img{width:120px;height:120px;image-rendering:pixelated}.print-document dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0;display:grid}.print-document dt{color:var(--muted);margin-bottom:4px;font-size:10px}.print-document dd{white-space:pre-wrap;margin:0}.print-document h2{margin-top:24px}.print-document table{border-collapse:collapse;white-space:normal;width:100%}.print-document th,.print-document td{border:1px solid var(--control-border);min-width:0;color:var(--ink);padding:9px}.print-document footer{border-top:1px solid var(--control-border);margin-top:45px;padding-top:25px}.document-demo{border:1px dashed var(--warning);color:var(--warning);padding:10px}.print-document ul{padding-left:20px}@media (width<=600px){.print-document{padding:18px}.print-document dl{grid-template-columns:1fr}.print-document header h1{font-size:19px}.print-document header img{width:90px;height:90px}.print-document table{font-size:10px}}@media print{.document-controls{display:none!important}.modal-header{display:none}.print-document{padding:0}.print-document dl{grid-template-columns:1fr 1fr}.print-document header,.print-document tr{break-inside:avoid}.print-document thead{display:table-header-group}.print-document h2{break-after:avoid}.print-document footer{break-inside:avoid}.print-document th,.print-document td{font-size:10pt}@page{size:A4;margin:14mm}}.auto-alerts{margin-bottom:24px}.auto-alerts .issue-list{grid-template-columns:1fr 1fr;gap:12px;display:grid}.auto-alerts .issue-list .issue-card{border:1px solid var(--line);border-radius:var(--radius-md);padding:12px 16px}.auto-alerts .issue-card>span{color:var(--muted);margin:7px 0;font-size:12px}@media (width<=700px){.auto-alerts .issue-list{grid-template-columns:1fr}}h1,h2,h3{font-family:var(--font-display)}.wordmark svg{background:var(--accent);width:30px;height:30px;color:var(--on-accent);border-radius:var(--radius-md);flex:none;padding:6px}.wordmark small{letter-spacing:0;color:var(--muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.sidebar nav button svg{color:var(--muted);flex:none}.sidebar nav button.selected svg{color:var(--ink-muted)}.departments>button:hover,.auto-alerts .issue-card:hover{background:var(--surface-2)}.tabs button:hover{color:var(--ink);background:var(--surface-2)}.search:focus-within{border-color:var(--focus-ring);outline:2px solid var(--focus-ring)}.search input:focus-visible{outline:none}.list-filters input:focus{border-color:var(--focus-ring);outline:2px solid var(--focus-ring);outline-offset:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.toast svg{color:var(--success)}@media (width<=1024px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.metrics{grid-template-columns:1fr}.metric strong{margin:8px 0}}.print-document th{background:var(--surface-2)}.sales-workspace{max-width:1600px;margin:auto}.sales-tabs{white-space:nowrap;overflow-x:auto}.sales-filterbar{flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0;display:flex}.sales-filterbar .field{flex:145px;max-width:220px;margin:0}.sales-filterbar input{width:100%}.sales-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 10px;display:grid}.sales-metric{text-align:left;background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-lg);color:inherit;cursor:pointer;flex-direction:column;gap:9px;padding:19px 22px;display:flex}.sales-metric:hover{border-color:var(--line-strong);background:var(--surface-2)}.sales-metric strong{letter-spacing:-1px;font-size:32px;font-weight:600}.sales-metric span{color:var(--ink-muted);font-size:13px}.sales-metric small{color:var(--muted);font-size:11px}.sales-period-note{color:var(--ink-muted);margin-bottom:24px;font-size:12px}.sales-panel{margin-bottom:20px;padding:24px}.sales-panel h2{margin:0 0 12px;font-size:19px}.sales-panel h3{margin:0 0 14px}.sales-section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.sales-section-heading p{margin:0}.sales-section-heading .field{min-width:150px;margin:0}.sales-pipeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0;display:grid}.sales-column{background:var(--surface-2);padding:18px}.sales-column h3{justify-content:space-between;margin:0 0 16px;font-size:15px;display:flex}.sales-column h3 span{color:var(--ink-muted);font-weight:400}.sales-deal-card{background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-md);text-align:left;cursor:pointer;width:100%;color:var(--ink);flex-direction:column;gap:10px;margin:12px 0;padding:16px;display:flex}.sales-deal-card small{color:var(--muted)}.sales-deal-card strong{font-size:14px}.sales-deal-card span{font-variant-numeric:tabular-nums}.sales-detail-top,.sales-detail-actions,.sales-inline{flex-wrap:wrap;align-items:center;gap:12px;margin:15px 0;display:flex}.sales-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 30px;margin:25px 0;display:grid}.sales-facts dt{color:var(--muted);margin-bottom:7px;font-size:12px}.sales-facts dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.sales-change-list{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-md);overflow-wrap:anywhere;margin:20px 0;padding:16px}.sales-modal{border:1px solid var(--line);border-radius:var(--radius-lg);width:min(780px,100vw - 32px);max-height:90dvh;color:var(--ink);background:var(--surface-1);padding:0}.sales-modal::backdrop{background:var(--overlay)}.sales-modal .modal-header{background:var(--surface-1);z-index:1;position:sticky;top:0}.sales-modal .modal-body{padding:24px}.sales-modal .modal-footer{padding:18px 24px}.sales-modal .error{margin:16px 24px}.sales-check-list{border:1px solid var(--line);max-height:240px;margin-bottom:18px;padding:12px;overflow-y:auto}.sales-check-list label{margin:10px 0}.sales-proposal-field{border:1px solid var(--line);border-radius:var(--radius-md);margin:14px 0;padding:14px}.sales-import-list{flex-direction:column;gap:10px;margin:18px 0;display:flex}.sales-import-row{background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-md);flex-direction:column;gap:8px;padding:15px;display:flex}.sales-file-input{opacity:0;width:1px;height:1px;position:absolute}.sales-stage-edit{border-bottom:1px solid var(--line);align-items:center;gap:12px;margin:14px 0;display:flex}.sales-stage-edit .field{flex:1}.sales-token-list{margin:20px 0;padding:0;list-style:none}.sales-token-list li{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:14px 0;display:flex}.sales-production{border:1px solid var(--line);border-radius:var(--radius-md);margin:18px 0;padding:18px}.sales-notice{background:var(--surface-2);border-radius:var(--radius-md);color:var(--ink-muted);justify-content:space-between;gap:12px;margin:14px 0;padding:12px 18px;display:flex}.sales-panel .table-wrap{width:auto;margin:0 -5px}.sales-panel blockquote{border-left:3px solid var(--line-strong);background:var(--surface-2);margin:12px 0;padding:10px 18px}.sales-modal .checkbox input{width:17px;height:17px}.sales-modal .field input[type=checkbox]{width:20px;height:20px}.sales-inline .field{min-width:210px;margin:0}.sales-modal .field-grid{margin-bottom:18px}.product-picker{grid-column:1/-1}.sales-modal .field-grid>.product-picker{margin-bottom:0}@media (width>=1200px){.sales-metrics{grid-template-columns:repeat(8,minmax(0,1fr))}.sales-metric{padding:17px 14px}}@media (width<=800px){.sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-pipeline{grid-template-columns:1fr}.sales-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-panel{padding:16px}.sales-stage-edit{flex-wrap:wrap}.sales-stage-edit .field{flex:40%}.sales-filterbar .field{max-width:none}.sales-section-heading{flex-wrap:wrap;align-items:start}.sales-modal .field-grid{grid-template-columns:1fr}.sales-panel .table-wrap{overflow-x:auto}.sales-detail-actions .button{flex:40%}}.customer-navigation{border-bottom:1px solid var(--line);align-items:flex-start;gap:22px;margin-bottom:22px;display:flex}.customer-navigation>.tabs{border:0;flex:1;margin:0}.sales-more{color:var(--ink-muted);flex:none;font-size:12px;position:relative}.sales-more>summary{cursor:pointer;padding:3px 0 14px}.sales-more>div{z-index:5;background:var(--surface-3);border:1px solid var(--line);border-radius:var(--radius-md);flex-direction:column;gap:3px;min-width:180px;padding:7px;display:flex;position:absolute;top:30px;right:0}.sales-more button{text-align:left;border-radius:5px;padding:10px 12px}.sales-more button:hover,.sales-more button.active{background:var(--surface-4);color:var(--ink)}.customer-main-filters .field:first-child{flex:2 250px;max-width:480px}.customer-extra-filters{color:var(--ink-muted);margin-bottom:16px;font-size:12px}.customer-extra-filters>summary{cursor:pointer;width:max-content}.customer-extra-filters .sales-filterbar{margin:14px 0}.customer-focus-tabs{flex-wrap:wrap;gap:9px;margin:20px 0 12px;display:flex}.customer-focus-tabs button{border:1px solid var(--line);background:var(--surface-1);border-radius:var(--radius-md);align-items:center;gap:12px;padding:10px 13px;font-size:12px;display:flex}.customer-focus-tabs button.active{border-color:var(--line-strong);background:var(--surface-3);color:var(--ink)}.customer-focus-tabs span{font-variant-numeric:tabular-nums;font-weight:600}.customer-workspace-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:16px 0;font-size:12px;display:flex}.customer-workspace-heading p{margin:0}.customer-workspace-heading strong{color:var(--ink);font-size:18px}.customer-workspace-heading small{font-size:11px}.customer-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.customer-work-card{background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-lg);flex-direction:column;min-width:0;display:flex;overflow:hidden}.customer-work-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px 17px;display:flex}.customer-work-card>header p{color:var(--ink-muted);margin:8px 0 0;font-size:11px}.customer-name{color:var(--ink);text-align:left;overflow-wrap:anywhere;align-items:center;gap:12px;font-size:17px;font-weight:600;display:flex}.customer-name:hover{color:var(--link);text-decoration:underline}.customer-name>span{color:var(--ink-muted);font-size:20px;font-weight:400}.customer-card-body{flex:1;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;padding:20px 22px;display:grid}.customer-field-label{color:var(--muted);margin-bottom:9px;font-size:11px;display:block}.customer-record{color:var(--ink);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;padding:0;font-size:13px;line-height:1.8;display:block}.customer-record:hover{text-decoration:underline}.customer-card-body small,.customer-current small{color:var(--muted);margin-top:9px;font-size:10px;line-height:1.7;display:block}.customer-card-body p{margin:0;font-size:12px;line-height:1.8}.customer-card-body .customer-note{color:var(--ink-muted);margin-top:12px;font-size:11px}.customer-next{border-left:1px solid var(--line);padding-left:24px}.customer-signals{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;padding:0 22px 17px;font-size:10px;display:flex}.customer-signals>.badge{font-size:10px}.customer-work-card>footer{background:var(--surface-2);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;display:flex}.customer-work-card>footer>div{gap:7px;display:flex}.customer-work-card>footer>.text-button{font-size:11px}.customer-current{border-top:1px solid var(--line);margin-top:20px;padding-top:19px}.customer-current h3{margin-bottom:12px;font-size:13px}.customer-current p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.customer-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.customer-priority-grid>.panel{min-width:0}.customer-priority-grid th,.customer-priority-grid td{padding:12px 10px}.customer-history>summary{cursor:pointer;color:var(--ink-muted);font-size:13px;font-weight:600}.customer-history[open]>summary{margin-bottom:20px}.customer-history .sales-section-heading h3{font-size:13px}.customer-order-line{margin-bottom:16px}.customer-handoff{border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.customer-handoff:last-child{border:0}.sales-production>header{flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:15px;font-size:12px;display:flex}.sales-production>header>span{color:var(--ink-muted);font-size:11px}.sales-production>header>button{margin-left:auto}.customer-detail-heading>h2{font-size:25px}.customer-detail-heading>p.muted{font-size:12px}.customer-current .customer-record{font-size:14px}.customer-more-fields{color:var(--ink-muted);margin:10px 0 20px;font-size:12px}.customer-more-fields>summary{cursor:pointer;margin-bottom:15px}@media (width<=1100px){.customer-work-grid{grid-template-columns:1fr}.customer-priority-grid{grid-template-columns:1fr;gap:0}}@media (width<=600px){.customer-navigation{display:block}.customer-navigation>.tabs{margin-bottom:10px}.sales-more>summary{padding-bottom:12px}.sales-more>div{left:0;right:auto}.customer-main-filters .field:first-child{flex-basis:100%;max-width:none}.customer-workspace-heading{flex-direction:column;align-items:flex-start;gap:7px}.customer-card-body{grid-template-columns:1fr;gap:18px;padding:18px}.customer-work-card>header{padding:18px}.customer-next{border-left:0;border-top:1px solid var(--line);padding-top:16px;padding-left:0}.customer-signals{padding:0 18px 16px}.customer-work-card>footer{padding:14px 18px}.customer-work-card>footer>div{width:100%}.customer-work-card>footer>div>.button{flex:1}.customer-work-grid{gap:14px}.customer-name{font-size:16px}.customer-priority-grid .table-wrap{overflow-x:auto}.customer-focus-tabs{gap:7px}.customer-focus-tabs button{padding:8px 10px;font-size:11px}.customer-detail-heading>h2{font-size:21px}.sales-production>header{flex-direction:column;align-items:flex-start;gap:8px}.sales-production>header>button{margin-left:0}.customer-current small{font-size:11px}}.customer-current-handoff{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink-muted);margin:14px 0;padding:16px 18px;font-size:12px}.customer-current-handoff>div{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.customer-current-handoff strong{color:var(--ink)}.customer-current-handoff p{overflow-wrap:anywhere;margin:10px 0 0;line-height:1.7}.customer-current-handoff small{color:var(--muted);margin-top:8px;display:block}.product-catalog-dialog{width:min(960px,100vw - 24px)}.product-catalog-dialog .modal-footer{background:var(--surface-1);position:sticky;bottom:0}.product-catalog-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;display:grid}.product-catalog-layout h3{margin-top:0}.product-catalog-filters{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.product-catalog-filters [aria-pressed=true]{border-color:currentColor;font-weight:700}.product-catalog-results,.product-catalog-picks{overscroll-behavior:contain;max-height:min(44dvh,410px);overflow:auto}.product-catalog-option{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:10px;padding:9px 8px;display:flex}.product-catalog-option input{flex:none;width:17px;height:17px}.product-catalog-option small{color:var(--muted);margin-top:3px;display:block}.product-line{border:1px solid var(--line);border-radius:var(--radius-md);min-width:0;margin:10px 0;padding:12px}.product-line legend{overflow-wrap:anywhere;max-width:100%;padding:0 5px;font-weight:600}.product-line-reference{margin:0 0 10px}.product-line-table td{white-space:pre-wrap;overflow-wrap:anywhere}.product-line-table td:nth-child(3){white-space:nowrap}.product-lines-editor{min-width:0}.product-catalog-picks .field+.field{margin-top:8px}@media (width<=640px){.product-catalog-layout{grid-template-columns:minmax(0,1fr);gap:14px}.product-catalog-results,.product-catalog-picks{max-height:31dvh}.product-catalog-dialog .modal-body,.product-catalog-dialog .modal-footer{padding:12px}}.sales-followup-card,.daily-entry{border-bottom:1px solid var(--line);padding:16px 0}.sales-followup-card:last-of-type,.daily-entry:last-child{border-bottom:0}.sales-followup-card p,.daily-entry p{margin:9px 0}.sales-followup-card .badge{margin-right:10px}.followup-text{white-space:pre-wrap;overflow-wrap:anywhere}.sales-followup-card small,.daily-entry small{color:var(--muted)}.daily-entry .text-button{margin-left:10px}.followup-form-section,.followup-history{border-top:1px solid var(--line);margin:14px 0;padding-top:14px}.followup-history summary{white-space:pre-wrap;overflow-wrap:anywhere;cursor:pointer}.followup-form-section summary{cursor:pointer;margin-bottom:12px}.daily-columns{grid-template-columns:1fr 1fr;align-items:start;gap:16px;margin-top:16px;display:grid}.daily-columns>*{min-width:0}@media (width<=900px){.daily-columns{grid-template-columns:1fr}}.quote-followup-ledger{gap:12px;padding:0;list-style:none;display:grid}.quote-followup-ledger>li{border:1px solid var(--line);border-radius:8px;padding:14px}.quote-followup-ledger header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.quote-followup-ledger p{line-height:1.6}.quote-followup-ledger small{color:var(--muted)}.customer-profile-sections{gap:20px;display:grid}.profile-block{border-top:3px solid var(--info,var(--accent));padding:22px}.profile-block-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.profile-block-heading h3{align-items:center;gap:9px;margin:0;display:flex}.profile-block-heading h3>span{background:var(--info-surface,var(--surface-2));color:var(--info,var(--link));border-radius:6px;padding:5px 7px;font-size:12px}.profile-commerce{border-top-color:var(--violet,var(--accent))}.profile-followups{border-top-color:var(--success)}.profile-tags{border-top-color:var(--warning)}.profile-files{border-top-color:var(--violet,var(--accent))}.profile-facts dd{white-space:pre-wrap;overflow-wrap:anywhere}.profile-contact{text-align:left;border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;gap:8px 18px;width:100%;margin:8px 0;padding:12px;display:flex}.profile-contact span{color:var(--text-secondary);overflow-wrap:anywhere}.profile-followup{border-top:1px solid var(--line);padding:16px 0 6px}.profile-followup>div{flex-wrap:wrap;align-items:center;gap:7px 14px;margin-bottom:10px;display:flex}.profile-followup small{color:var(--text-secondary)}.profile-followup .customer-record{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.profile-followup p{margin:10px 0;font-size:13px}.profile-tags-list,.profile-checkboxes{flex-wrap:wrap;gap:10px;display:flex}.profile-file-controls{flex-wrap:wrap;align-items:end;gap:12px;margin:14px 0;display:flex}.profile-file-controls>.field{min-width:180px;max-width:100%}.profile-file-list article{border-top:1px solid var(--line);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px 0;display:flex}.profile-file-list small{color:var(--text-secondary)}.customer-profile-form fieldset{border:1px solid var(--line);border-radius:10px;min-width:0;margin:0 0 22px;padding:16px}.customer-profile-form legend{color:var(--link);padding:0 8px;font-weight:650}@media (width<=600px){.profile-block{padding:16px}.profile-contact{flex-direction:column}.customer-profile-form fieldset{padding:12px}.profile-block-heading .heading-actions{justify-content:flex-start}}.customer-region-note{margin:6px 0 18px;padding:0 18px}.customer-region-scroll{padding:0 16px 20px;overflow-x:auto}.customer-region-board{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:start;gap:14px;display:grid}.customer-region-column{--region-color:#397bc3;--region-tint:#397bc30c;border:1px solid var(--line);border-top:4px solid var(--region-color);background:var(--region-tint);border-radius:12px;min-height:270px;overflow:hidden}.region-asia{--region-color:#168a73;--region-tint:#168a730c}.region-americas{--region-color:#c28024;--region-tint:#c280240c}.region-other{--region-color:#8a67b6;--region-tint:#8a67b60c}.customer-region-column>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 14px;display:flex}.customer-region-column h2{color:var(--region-color);margin:0;font-size:16px}.customer-region-column>header>span{background:var(--region-color);color:#fff;text-align:center;border-radius:20px;min-width:27px;padding:3px 8px;font-weight:700}.customer-region-cards{gap:12px;padding:12px;display:grid}.customer-region-card{text-align:left;border:1px solid var(--line);background:var(--surface-1,#fff);width:100%;color:var(--text);cursor:pointer;overflow-wrap:anywhere;border-radius:10px;flex-direction:column;gap:9px;padding:15px;transition:border-color .15s,box-shadow .15s;display:flex}.customer-region-card:hover{border-color:var(--region-color);box-shadow:0 4px 14px #102e4a12}.customer-region-card:focus-visible{outline:3px solid var(--region-color);outline-offset:2px}.customer-region-card>strong{font-size:16px;line-height:1.5}.region-company-name,.region-contact{color:var(--muted);font-size:12px}.region-company-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.region-country{color:var(--region-color);font-size:12px;font-weight:700}.region-card-tags{flex-wrap:wrap;gap:5px;font-size:11px;display:flex}.region-card-tags>span{background:var(--region-tint);border:1px solid var(--line);border-radius:5px;padding:3px 6px}.region-card-link{border-top:1px solid var(--line);color:var(--region-color);justify-content:space-between;margin-top:3px;padding-top:10px;font-size:12px;display:flex}.region-empty{text-align:center;color:var(--muted);padding:32px 4px;font-size:13px}@media (width<=650px){.customer-region-scroll{padding:0 10px 14px}.customer-region-board{grid-template-columns:repeat(4,240px);gap:10px}}.customer-region-cards{gap:8px;padding:10px}.customer-region-card{aspect-ratio:2;justify-content:center;gap:6px;min-height:96px;padding:10px 12px;overflow:hidden}.region-card-heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.region-card-heading strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;line-height:1.5;overflow:hidden}.region-level{background:var(--surface-2);width:25px;height:25px;color:var(--muted);border-radius:6px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.level-A{color:#117455;background:#15916e18}.level-B{color:#28659d;background:#3379bd18}.level-C{color:#93601c;background:#c1812318}.level-S{color:#96670f;background:#bc8a211c}.region-country,.region-contact{white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.5;overflow:hidden}.region-contact{color:var(--muted)}.customer-directory{--customer-directory-label-size:14px}.customer-directory .customer-main-filters .field>span,.customer-directory .customer-extra-filters>summary{font-size:var(--customer-directory-label-size)}.customer-directory>.page-heading{flex-wrap:wrap;gap:8px;min-height:36px;margin-bottom:10px}.customer-directory>.page-heading>div:first-child>p{display:none}.customer-directory>.page-heading h1{margin:0;font-size:24px;line-height:1.3}.customer-directory .heading-actions{gap:12px}.customer-directory .sales-more>summary{padding:6px 0}.customer-directory .customer-main-filters{gap:10px;margin:0 0 8px}.customer-directory .customer-main-filters .field{gap:4px}.customer-directory .customer-main-filters input,.customer-directory .customer-main-filters .dropdown-trigger,.customer-directory>.page-heading .button,.customer-directory .customer-main-filters>.button{min-height:34px;padding-top:5px;padding-bottom:5px}.customer-directory .customer-extra-filters{margin-bottom:8px}.customer-directory>.panel>.list-toolbar{font-size:var(--customer-directory-label-size);gap:8px;padding:8px 16px}.customer-directory .customer-region-note{font-size:var(--customer-directory-label-size);margin:0 0 8px;padding:0 16px;line-height:1.5}.customer-directory .customer-region-column>header{padding:10px 12px}@media (width<=600px){.customer-directory>.page-heading{align-items:center}.customer-directory .heading-actions{justify-content:space-between;width:100%}.customer-directory .sales-more>div{left:0;right:auto}}.crm-progress,.crm-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.crm-progress{background:var(--panel,#fff);border:1px solid #d8e2e2;border-radius:.6rem;margin-bottom:.75rem;padding:.9rem 1rem}.crm-stage-board{grid-template-columns:repeat(5,minmax(195px,1fr));gap:.6rem;display:grid;overflow-x:auto}.crm-stage-board>section{background:#f2f5f6;border:1px solid #dfe7e8;border-radius:.6rem;min-height:160px;padding:.7rem}.crm-stage-board header,.crm-drawer-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.crm-stage-board article{background:#fff;border:1px solid #d9e2e4;border-radius:.5rem;gap:.45rem;margin:.55rem 0;padding:.65rem;display:grid}.crm-task-summary{gap:.25rem;display:grid}.crm-task-summary small,.crm-stage-board small,.crm-entry small{color:#4f636d}.crm-drawer{box-sizing:border-box;width:min(540px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;color:inherit;border:0;border-left:1px solid #d3dddf;margin:0;padding:0;position:fixed;inset:0 0 0 auto;box-shadow:-8px 0 28px #152f351f}.crm-drawer::backdrop{background:#102d3442}.crm-drawer-body{gap:1rem;padding:1rem;display:grid}.crm-drawer-head{z-index:1;background:#fff;border-bottom:1px solid #d3dddf;padding:1rem;position:sticky;top:0}.crm-drawer h2,.crm-drawer h3,.crm-drawer p{margin:0}.crm-drawer section{gap:.6rem;display:grid}.crm-entry{overflow-wrap:anywhere;border-top:1px solid #e0e7e8;gap:.3rem;padding:.65rem 0;display:grid}.crm-entry p{white-space:pre-wrap;margin:0}.crm-entry.instruction{border-left:3px solid #3c7890;padding-left:.7rem}.crm-drawer .tabs,.crm-timeline .tabs{flex-wrap:wrap;display:flex}.crm-drawer select,.crm-stage-board select{max-width:100%}.sales-modal.crm-write-modal[open]{flex-direction:column;display:flex;overflow:hidden}.crm-write-modal>form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.crm-write-modal .modal-body{min-height:0;overflow-y:auto}.sales-modal.crm-write-modal .modal-header,.sales-modal.crm-write-modal .modal-footer{flex:none;position:static}.wa-badge-btn{color:#166853;cursor:pointer;white-space:nowrap;background:#eaf5ee;border:1px solid #b9dfc8;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:600;line-height:1.4;display:inline-flex}.wa-badge-btn:hover{background:#d8eee0}.wa-badge-btn.empty{color:#57665e;background:#f5f7f8;border-color:#d4dce0;font-weight:500}.channel-badges{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.channel-pill{color:#354a54;white-space:nowrap;background:#f4f7f8;border:1px solid #d5dfe3;border-radius:999px;align-items:center;gap:2px;padding:1px 7px;font-size:.74rem;display:inline-flex}.channel-pill.primary{color:#124d64;background:#e6f3f8;border-color:#84b8c8;font-weight:600}.channel-pill.wa{color:#166853;background:#eaf5ee;border-color:#b9dfc8}.channel-pill.wx{color:#1f7a34;background:#edf8ee;border-color:#b8e2bf}.task-situation{gap:.25rem;min-width:12rem;margin-block:.35rem;display:grid}.task-situation small{white-space:pre-line;overflow-wrap:anywhere}.technical-tabs{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:18px 0;display:grid}.technical-tabs button{white-space:normal;border:1px solid var(--line);background:var(--surface-2);text-align:left;border-radius:8px;padding:14px 10px}.technical-tabs small{opacity:.65;margin-bottom:5px;font-weight:700;display:block}.technical-tabs button.active{color:#fff;background:#173f69;border-color:#173f69}.technical-pane{border-top:3px solid #348ac8;padding-top:18px}.bom-product{grid-template-columns:220px 1fr;align-items:start;gap:24px;display:grid}.bom-image{border:1px dashed #89a7c3;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:190px;padding:12px;display:flex}.bom-image img{object-fit:contain;width:100%;height:180px}.bom-route{padding:0;list-style:none}.bom-route li{background:var(--surface-2);border-left:3px solid #3b92ca;border-radius:0 9px 9px 0;gap:14px;margin:10px 0;padding:15px;display:flex}.route-number{color:#fff;background:#176183;border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.bom-route p{margin:6px 0}.technical-files article{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.technical-files small{color:var(--muted)}.technical-upload{flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;display:flex}.pre-wrap{white-space:pre-wrap}.technical-confirmation .confirmation-state{background:#d18a2414;border-left:4px solid #d18a24;border-radius:6px;padding:12px 16px}.technical-confirmation .confirmation-state.confirmed{background:#25a06b14;border-color:#25a06b}.technical-confirmation .sales-facts dd{white-space:pre-wrap}@media (width<=650px){.technical-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-product{grid-template-columns:1fr}.bom-image{max-width:260px}.technical-upload{flex-direction:column;align-items:stretch}}.quote-costing{border:1px solid var(--line);background:var(--surface-2);border-left:4px solid #347fc4;border-radius:12px;margin-top:24px;padding:20px}.quote-costing>.sales-section-heading>strong{color:#2871ae;font-size:14px}.quote-costing form{margin-top:16px}.quote-costing fieldset{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0 0 16px;padding:16px}.quote-costing legend{padding:0 6px;font-weight:600}.quote-costing .table-wrap{margin:12px 0}.costing-history{margin-top:16px}.costing-history>summary{cursor:pointer;font-weight:600}.costing-history article{border-bottom:1px solid var(--line);padding:12px 0}main:has(.cost-bom){max-width:none;padding-inline:16px}.cost-bom.panel{--bom-left:234px;--bom-right:16px;margin-bottom:16px;padding:12px 12px 124px;overflow:visible}.cost-bom .sales-section-heading{margin:0 0 8px}.cost-bom .sales-section-heading h2{margin:0;font-size:17px}.cost-bom .sales-section-heading>strong{color:var(--ink-muted);font-size:12px}.cost-bom input,.cost-bom select,.bom-dialog input,.cost-bom-master input,.cost-bom-master select{box-sizing:border-box;color:#18324c;font:inherit;background:#fff;border:1px solid #ccd7e5;border-radius:4px;max-width:100%;min-height:28px;padding:3px 5px}.cost-bom input:focus,.cost-bom select:focus,.bom-dialog input:focus{outline-offset:1px;outline:2px solid #7eaee7}.cost-bom .bom-toolbar{align-items:end;gap:8px;margin:6px 0 10px;display:flex}.cost-bom .bom-toolbar>label{color:#586d82;flex:1;min-width:0;font-size:11px}.cost-bom .bom-toolbar select{width:100%;margin-top:3px;font-size:12px;display:block}.cost-bom .bom-toolbar .button{white-space:nowrap}.cost-bom .bom-specs{z-index:8;background:#f7faff;border:1px solid #c8d8eb;border-radius:6px;align-items:center;gap:10px;margin-bottom:10px;padding:7px 10px;display:flex;position:sticky;top:58px;box-shadow:0 3px 8px #193f6a0b}.cost-bom .bom-specs>strong{white-space:nowrap;font-size:12px}.cost-bom .bom-specs>span{color:#667e96;margin-left:auto;font-size:11px}.cost-bom .bom-specs fieldset{border:0;gap:8px;min-width:0;margin:0;padding:0;display:flex}.cost-bom .bom-specs .bom-cell-input{width:78px}.cost-bom .bom-specs .bom-cell-input>span:first-child{color:#62788c;white-space:nowrap;font-size:11px}.cost-bom .bom-specs input{width:100%;font-size:12px}.cost-bom .bom-shell{grid-template-columns:142px minmax(0,1fr) 176px;align-items:start;gap:10px;display:grid}.cost-bom .bom-center{min-width:0}.cost-bom .bom-sidebar{background:#f8fafc;border:1px solid #d8e2ed;border-radius:6px;align-self:start;max-height:calc(100dvh - 246px);padding:8px;font-size:11px;position:sticky;top:130px;overflow:auto}.cost-bom .bom-sidebar header{margin-bottom:6px}.cost-bom .bom-sidebar h3{margin:0 0 2px;font-size:13px;font-weight:700}.cost-bom .bom-sidebar header>span{color:#79899b;font-size:10px}.cost-bom .bom-rate-list{gap:4px;display:grid}.cost-bom .bom-rate{text-align:left;cursor:pointer;border:1px solid #cbdff6;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;gap:0 4px;min-width:0;padding:5px 6px;display:grid}.cost-bom .bom-rate>span{white-space:normal;font-size:11px}.cost-bom .bom-rate strong{font-variant-numeric:tabular-nums;align-self:center;font-size:13px}.cost-bom .bom-rate small{opacity:.7;grid-column:1/-1;font-size:9px}.cost-bom .is-baseline{color:#235b94;background:#edf5ff}.cost-bom .is-adjusted{color:#9b5b07;background:#fff2db;border-color:#edc483}.cost-bom .bom-sidebar>.button{width:100%;margin-top:7px;padding:5px 4px;font-size:11px}.cost-bom .bom-color-key{color:#728095;margin:6px 0 0;font-size:9px;line-height:1.5}.cost-bom .bom-color-key i,.cost-bom .bom-color-key b{background:#6ba5e3;border-radius:2px;width:7px;height:7px;display:inline-block}.cost-bom .bom-color-key b{background:#dfa648}.cost-bom .bom-allocation{border-top:1px solid #dce5ef;justify-content:space-between;margin:6px 0;padding-top:6px;display:flex}.cost-bom .bom-sidebar .text-button{font-size:11px}.cost-bom .bom-module{background:#fff;border:1px solid #d5e1ee;border-radius:6px;margin-bottom:9px;overflow:hidden}.cost-bom .bom-module[hidden],.cost-bom .bom-module [hidden]{display:none!important}.cost-bom .bom-module-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 8px;display:grid}.cost-bom .bom-module-tab{--tab-color:#2a6399;--tab-bg:#eaf3ff;background:var(--tab-bg);min-width:0;color:var(--tab-color);cursor:pointer;text-align:left;border:1px solid #d4dfec;border-bottom:3px solid #0000;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;gap:5px 4px;padding:9px 10px;font-size:11px;display:grid}.cost-bom .bom-tab-accessory{--tab-color:#246154;--tab-bg:#eaf7f3}.cost-bom .bom-tab-packaging{--tab-color:#846026;--tab-bg:#fff4e4}.cost-bom .bom-tab-process{--tab-color:#615084;--tab-bg:#f1edfb}.cost-bom .bom-module-tab strong{white-space:nowrap;grid-column:1/-1;font-size:13px;font-weight:750}.cost-bom .bom-module-tab output{font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.cost-bom .bom-module-tab>span{opacity:.75;white-space:nowrap}.cost-bom .bom-module-tab.is-active{border-color:var(--tab-color);box-shadow:inset 0 0 0 1px var(--tab-color)}.cost-bom .bom-module-tab:not(.is-active){opacity:.75}.cost-bom .bom-module-tab:hover{opacity:1}.cost-bom .bom-module-tab:focus-visible{outline:2px solid var(--tab-color);outline-offset:2px}@media (width<=1050px){.cost-bom .bom-module-tab{padding:8px 6px;font-size:10px}.cost-bom .bom-module-tab strong{font-size:12px}}@media (width<=480px){.cost-bom .bom-module-tabs{gap:3px}.cost-bom .bom-module-tab{padding:7px 4px;font-size:9px}.cost-bom .bom-module-tab strong{font-size:10px}}.cost-bom .bom-module-scroll{scrollbar-gutter:stable;max-height:380px;position:relative;overflow:auto}.cost-bom .bom-module-scroll fieldset{border:0;min-width:0;margin:0;padding:0}.cost-bom .bom-module table{border-collapse:separate;border-spacing:0;table-layout:fixed;white-space:normal;width:100%;font-size:11px;padding:0!important}.cost-bom .bom-main-table{min-width:1040px}.cost-bom .bom-item-table{min-width:850px}.cost-bom .bom-process-table{min-width:700px}.cost-bom .bom-module th{z-index:4;color:#526b83;white-space:nowrap;background:#f2f6fa;border-top:0;border-bottom:1px solid #cfdae8;padding:6px 4px;font-size:10px;font-weight:650;position:sticky;top:0}.cost-bom .bom-module td{vertical-align:middle;color:#334c64;white-space:normal;border-bottom:1px solid #e0e7ef;min-width:0;padding:4px;line-height:1.25}.cost-bom .bom-module td:first-child,.cost-bom .bom-module th:first-child{text-align:center;width:32px}.cost-bom .bom-main-table th:nth-child(2),.cost-bom .bom-item-table th:nth-child(2),.cost-bom .bom-process-table th:nth-child(2){width:210px}.cost-bom .bom-main-table th:nth-child(3){width:70px}.cost-bom .bom-main-table th:nth-child(8){width:43px}.cost-bom .bom-module th:last-child{width:42px}.cost-bom .bom-item-table th:nth-child(4){width:150px}.cost-bom .bom-item-table th:nth-child(6){width:42px}.cost-bom .bom-module input,.cost-bom .bom-module select{width:100%;min-width:0;height:28px;font-size:11px;line-height:1.2;display:block}.cost-bom .bom-material-name{align-items:center;gap:4px;display:flex}.cost-bom .bom-material-name>select{flex-shrink:0;width:52%}.cost-bom .bom-material-name>.bom-cell-input,.cost-bom .bom-material-name>input{width:48%;min-width:0}.cost-bom .bom-cell-input{flex-direction:column;gap:2px;min-width:0;font-size:11px;display:flex}.cost-bom .bom-input-control{align-items:center;gap:2px;min-width:0;display:flex}.cost-bom .bom-input-control>input{flex:1;width:100%;min-width:0}.cost-bom .bom-restore{color:#2b6598;cursor:pointer;background:#f2f7fe;border:1px solid #cbd9e8;border-radius:3px;flex:0 0 20px;height:24px;padding:2px;font-size:13px}.cost-bom .bom-inline-spec{gap:3px;display:flex}.cost-bom .bom-inline-spec .bom-cell-input{flex:1;min-width:0}.cost-bom .bom-line-total{color:#235b91;font-variant-numeric:tabular-nums;font-size:11px;font-weight:700}.cost-bom .bom-delete{color:#a13c3c;cursor:pointer;background:0 0;border:0;padding:2px;font-size:10px}.cost-bom .bom-module-bottom{background:#fafcff;border-top:1px solid #dce5ef;align-items:center;gap:9px;padding:6px 8px;font-size:10px;display:flex}.cost-bom .bom-module-bottom>.button{padding:4px 8px;font-size:11px}.cost-bom .bom-module-bottom>span{color:#7a8a9a}.cost-bom .bom-module-bottom>strong{white-space:nowrap;margin-left:auto}.cost-bom .invalid,.cost-bom .invalid input,.bom-dialog .invalid{color:#a42121!important;background:#fff0f0!important;border-color:#db5353!important}.cost-bom .invalid-row>td{background:#fff6f5!important}.cost-bom .bom-cell-input small,.bom-dialog label small{color:#c03932;font-size:9px}.cost-bom .bom-row.invalid-row .bom-line-total{color:#c33329}.cost-bom .bom-template-save{align-items:end;gap:8px;margin:12px 0;font-size:11px;display:flex}.cost-bom .bom-template-save label{color:#66788c;flex:1}.cost-bom .bom-template-save input{width:100%;margin-top:3px;display:block}.cost-bom .bom-support{border-top:1px solid #e0e7f0;padding:8px 0;font-size:12px}.cost-bom .bom-support .table-wrap{width:100%;max-height:350px;margin:6px 0;overflow:auto}.cost-bom .bom-support table{min-width:660px}.cost-bom .bom-support pre{white-space:pre-wrap;max-height:300px;font-size:11px;overflow:auto}.cost-bom .bom-summary{left:var(--bom-left);right:var(--bom-right);z-index:40;background:#fff;border:1px solid #bfd0e4;border-top:3px solid #285c90;border-radius:7px 7px 0 0;padding:8px 12px;position:fixed;bottom:0;box-shadow:0 -5px 18px #14345719}.cost-bom .bom-summary-values{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;display:grid}.cost-bom .bom-summary-values>div{border-right:1px solid #e3eaf3;flex-direction:column;gap:2px;min-width:0;padding-right:6px;display:flex}.cost-bom .bom-summary-values>div:last-child{border-right:0}.cost-bom .bom-summary-values span{color:#6a8095;white-space:nowrap;font-size:10px}.cost-bom .bom-summary-values strong{font-variant-numeric:tabular-nums;color:#214e79;text-overflow:ellipsis;font-size:15px;overflow:hidden}.cost-bom .bom-summary-actions{align-items:center;gap:7px;margin-top:6px;display:flex}.cost-bom .bom-summary-actions>input{flex:0 230px;width:230px;min-width:100px;font-size:11px}.cost-bom .bom-summary-actions .button{white-space:nowrap;padding:5px 9px;font-size:11px}.cost-bom .bom-summary-actions>span{min-width:0;font-size:11px;line-height:1.25}.cost-bom .has-error{border-top-color:#c83d32}.cost-bom .has-error .bom-summary-values strong{color:#9d6e6a}.bom-dialog{color:#243e58;background:#fff;border:1px solid #c8d7e8;border-radius:10px;width:min(760px,100vw - 32px);max-height:calc(100dvh - 60px);padding:0;overflow:auto;box-shadow:0 14px 60px #142e4d38}.bom-dialog::backdrop{background:#10294280}.bom-dialog>header{z-index:1;background:#fff;border-bottom:1px solid #dce5ee;justify-content:space-between;align-items:center;padding:15px 20px;display:flex;position:sticky;top:0}.bom-dialog h2{margin:0;font-size:17px}.bom-dialog>p{color:#657b91;margin:14px 20px;font-size:13px;line-height:1.6}.bom-dialog>footer,.bom-dialog form>footer{border-top:1px solid #dce5ee;justify-content:flex-end;gap:9px;padding:14px 20px;display:flex}.bom-dialog .bom-edit-fields{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:15px 20px;display:grid}.bom-dialog label{color:#536e87;flex-direction:column;gap:5px;font-size:12px;display:flex}.bom-dialog input{width:100%;min-height:34px;font-size:13px}.bom-dialog .error{margin:10px 20px}.cost-bom-master input,.cost-bom-master select{width:100%;min-width:65px;font-size:12px}.cost-bom-master .table-wrap{margin:10px 0;overflow:auto}.cost-bom-master table{min-width:950px}.cost-bom-master .field-grid{margin:16px 0}@media (width>=1600px){.cost-bom .bom-shell{grid-template-columns:150px minmax(0,1fr) 195px}.cost-bom .bom-module-scroll{max-height:450px}.cost-bom .bom-main-table{min-width:1120px}}@media (width<=1050px){.cost-bom .bom-shell{grid-template-columns:122px minmax(0,1fr) 152px;gap:7px}.cost-bom .bom-sidebar{padding:6px}.cost-bom .bom-summary-values{gap:4px}.cost-bom .bom-summary-values strong{font-size:12px}.cost-bom .bom-summary-actions>span{max-width:170px}.cost-bom .bom-specs>span{display:none}}@media (width<=740px){.cost-bom.panel{padding:8px 8px 165px}.cost-bom .bom-shell{grid-template-columns:1fr 1fr}.cost-bom .bom-sidebar-rates{grid-area:1/1}.cost-bom .bom-sidebar-parameters{grid-area:1/2}.cost-bom .bom-sidebar{z-index:7;max-height:135px;position:sticky;top:120px}.cost-bom .bom-center{grid-area:2/1/auto/-1}.cost-bom .bom-rate-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-bom .bom-sidebar header>span,.cost-bom .bom-rate small,.cost-bom .bom-color-key{display:none}.cost-bom .bom-rate{padding:3px}.cost-bom .bom-rate>span{font-size:9px}.cost-bom .bom-rate strong{font-size:11px}.cost-bom .bom-specs{flex-wrap:wrap;gap:5px;padding:5px;top:52px}.cost-bom .bom-specs>strong{font-size:10px}.cost-bom .bom-specs fieldset{flex:1;gap:5px}.cost-bom .bom-specs .bom-cell-input{width:20%}.cost-bom .bom-toolbar{flex-wrap:wrap}.cost-bom .bom-toolbar>label{flex:140px}.cost-bom .bom-summary-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.cost-bom .bom-summary-actions{flex-wrap:wrap;gap:4px}.cost-bom .bom-summary-actions>input{flex:1;min-width:150px}.cost-bom .bom-summary-actions>span{max-width:none}.cost-bom .bom-module-bottom>span{display:none}.bom-dialog .bom-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}.bom-dialog:has(.cost-bom-master){width:min(1180px,100vw - 32px)}.bom-dialog .cost-bom-master{padding:16px 20px}.cost-bom-master fieldset[hidden]{display:none!important}.cost-bom-master .tabs{margin:10px 0 14px}.cost-bom-master>form>label{margin:12px 0;display:block}.cost-bom-master>form>.button{margin-bottom:12px}.cost-bom .bom-main-table th:nth-child(11){width:55px}.cost-bom .bom-main-table th:nth-child(12){width:82px}.cost-bom .bom-work-toggle{color:#285d8e;white-space:nowrap;cursor:pointer;background:#eef5fd;border:1px solid #cbdced;border-radius:4px;padding:5px;font-size:11px}.cost-bom .bom-work-toggle[aria-expanded=true]{background:#dcecff;border-color:#6b99c8}.cost-bom .bom-operation-detail>td{background:#f7faff;padding:7px 9px}.cost-bom .bom-operation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.cost-bom .bom-operation-grid>section{background:#fff;border:1px solid #d8e3ef;border-radius:5px;padding:8px}.cost-bom .bom-operation-grid h4{color:#2f5a84;margin:0 0 6px;font-size:12px}.cost-bom .bom-operation-grid label{color:#60768e;flex-direction:column;gap:4px;font-size:10px;display:flex}.cost-bom .bom-operation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:7px 0;display:grid}.cost-bom .bom-operation-grid p{color:#7d8c9b;margin:5px 0;font-size:10px;line-height:1.6}.cost-bom .bom-operation-grid section>output{color:#365e88;margin-top:8px;font-size:11px;font-weight:650;display:block}.cost-bom .bom-row-operations>footer{color:#6b8095;flex-wrap:wrap;align-items:center;gap:12px;padding-top:8px;font-size:10px;display:flex}.cost-bom .bom-row-operations>footer strong{color:#285d8e;font-size:12px}.cost-bom .bom-main-work-summary{background:#f8f6ff;border-bottom:1px solid #dfd8ef;padding:9px;font-size:11px}.cost-bom .bom-main-work-summary>summary{cursor:pointer;color:#615084;font-weight:650}.cost-bom .bom-main-work-summary .table-wrap{max-height:200px;margin:8px 0;overflow:auto}.cost-bom .bom-main-work-summary table{min-width:650px}.cost-bom .bom-main-work-summary p{color:#786d8c;margin:7px 0 0}.cost-bom .bom-cutting-methods{gap:6px;margin-bottom:6px;display:flex}.cost-bom .bom-cutting-methods>span{color:#365e88;background:#f1f6fc;border:1px solid #cad9e9;border-radius:4px;padding:4px 9px;font-size:11px}.cost-bom .bom-cutting-methods>label{color:#54708c;cursor:pointer;background:#f7faff;border:1px solid #cad9e9;border-radius:4px;flex-direction:row;align-items:center;gap:4px;padding:4px 8px;font-size:11px;display:flex}.cost-bom .bom-cutting-methods input[type=radio]{accent-color:#2b6598;width:12px;height:12px;min-height:12px;margin:0;padding:0}.cost-bom .bom-cutting-methods>label.is-selected{color:#214f7a;background:#e4f0fd;border-color:#3c78ad;font-weight:650}.cost-bom .bom-cutting-methods>label.has-error{color:#aa2f2f;border-color:#d25252}.cost-bom .bom-cutting-mode{min-height:120px}.cost-bom .bom-forming-slot,.cost-bom .bom-forming-slot-head{grid-template-columns:45px minmax(0,1fr) minmax(0,1fr) 55px;align-items:center;gap:5px;margin:5px 0;display:grid}.cost-bom .bom-forming-slot-head{color:#7a8da0;font-size:10px}.cost-bom .bom-forming-slot strong{color:#56728e;font-size:10px}.cost-bom .bom-forming-slot>output{color:#365e88;text-align:right;font-size:11px;font-weight:650}.cost-bom .bom-forming-slot label{min-width:0}.cost-bom .bom-forming-slot .sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.transaction-internal-board{gap:16px;display:grid}.transaction-internal-module{min-width:0}.transaction-module-files{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.transaction-delivery-tools{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.transaction-delivery-tools>summary{cursor:pointer;font-weight:600}.transaction-internal-board .quote-costing{border:0;padding:0}.transaction-internal-tabs{min-width:0;margin:0}.transaction-internal-pane{min-width:0}.transaction-internal-pane[hidden]{display:none}.transaction-detail-page .transaction-page-heading{grid-template-columns:minmax(130px,1fr) minmax(0,3fr) minmax(130px,1fr);align-items:center;gap:20px;margin-bottom:8px;display:grid}.transaction-page-heading h1{white-space:nowrap;justify-self:start;margin:0}.transaction-page-heading .transaction-matter-title{overflow-wrap:anywhere;min-width:0;margin:0;font-size:19px;line-height:1.4}.transaction-page-heading .heading-actions{flex-wrap:nowrap;justify-self:end;max-width:none}.transaction-page-heading .heading-actions .button{white-space:nowrap}.transaction-detail-page .detail-navigation{margin:0 0 4px}.transaction-detail-page .sales-detail-top{gap:6px 16px;margin:0 0 10px}.transaction-document-code{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.transaction-detail-page>nav.tabs{margin-bottom:14px}@media (width<=700px){.transaction-detail-page .transaction-page-heading{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}.transaction-page-heading .transaction-matter-heading{grid-area:2/1/auto/-1}.transaction-page-heading .heading-actions{grid-area:1/2}.transaction-page-heading h1{font-size:24px}}.transaction-matter-heading{text-align:center;min-width:0}.transaction-matter-summary{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;margin-top:12px;font-size:12px;line-height:1.4;display:flex}.transaction-matter-customer{min-height:0;font:inherit;color:inherit;overflow-wrap:anywhere;padding:0}.transaction-matter-customer:hover{color:var(--info);text-decoration:underline}.transaction-header-status{color:var(--card-state-color);background:var(--card-state-bg);border:1px solid var(--card-state-border);white-space:nowrap;border-radius:5px;padding:1px 6px;font-size:12px}@media (width>=701px){.transaction-detail-page .transaction-page-heading{align-items:start}.transaction-page-heading h1{margin-top:16px}.transaction-page-heading .heading-actions{margin-top:13px}.transaction-matter-heading{padding-top:20px}}.crm-management{gap:18px;display:grid}.crm-heading,.crm-heading>div,.crm-member-card>header,.crm-row-action{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.crm-heading h2,.crm-member-card h3,.crm-management .panel h3{margin:0}.crm-heading time,.crm-heading label,.crm-rows small,.crm-row-meta,.crm-member-card footer{color:var(--ink-muted);font-size:12px}.crm-heading select,.crm-heading input{width:auto;min-height:34px;color:var(--ink);background:var(--surface-1);border:1px solid var(--line);border-radius:5px;padding:4px 8px}.crm-member-grid{grid-template-columns:repeat(auto-fit,minmax(min(255px,100%),1fr));gap:14px;display:grid}.crm-member-card,.crm-daily-summary{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-1);min-width:0;padding:14px}.crm-member-card>header,.crm-member-card>footer{padding:5px 0 10px}.crm-member-card h3{font-size:16px}.crm-member-card footer{border-top:1px solid var(--line);flex-wrap:wrap;gap:10px;padding:10px 0 0;display:flex}.crm-member-card footer button{color:inherit}.crm-member-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.crm-metric-link{text-align:left;width:100%;color:var(--ink);border-radius:4px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px;padding:7px 4px;line-height:1.45;display:flex}.crm-metric-link:hover,.crm-row-action:hover,.crm-rows button:hover,.crm-blocker:hover{background:var(--surface-2)}.crm-metric-link span,.crm-daily-summary p{color:var(--ink-muted);font-size:12px}.crm-metric-link strong{font-variant-numeric:tabular-nums;font-size:13px}.crm-member-metrics .crm-metric-link{flex-direction:column}.crm-member-metrics .crm-metric-link strong{font-size:20px}.crm-stage-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.crm-stage-grid article{border-top:2px solid var(--line-strong);background:var(--surface-2);padding:6px}.crm-stage-grid .crm-metric-link{flex-direction:column;gap:0}.crm-stage-grid .crm-metric-link:hover{background:var(--surface-3)}.crm-stage-grid .crm-metric-link:first-child span{color:var(--ink)}.crm-stage-grid .crm-metric-link:first-child strong{font-size:17px}.crm-rows{margin:10px 0 0;padding:0;list-style:none}.crm-rows li+li{border-top:1px solid var(--line)}.crm-rows button,.crm-row-action,.crm-blocker{text-align:left;width:100%;color:var(--ink)}.crm-rows button{align-items:baseline;gap:10px;padding:10px 4px;display:flex}.crm-risk-tag{color:var(--ink-muted);border:1px solid var(--line);border-radius:4px;flex:none;padding:2px 6px;font-size:12px}.crm-risk-tag.blocked,.crm-risk-tag.overdue{color:var(--danger)}.crm-rows small,.crm-tasks small{overflow-wrap:anywhere;display:block}.crm-row-meta{white-space:nowrap;margin-left:auto}.crm-columns{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;display:grid}.crm-columns .crm-daily-summary{margin-top:10px}.crm-daily-summary.selected{border-color:var(--line-strong);background:var(--surface-2)}.crm-daily-summary p{margin:7px 0}.crm-row-action{padding:3px 0}.crm-row-action>span,.crm-blocker{font-size:12px}.crm-blocker{overflow-wrap:anywhere;padding:4px 0}.crm-table-scroll{overflow-x:auto}.crm-tasks table{border-collapse:collapse;width:100%;min-width:700px;margin-top:15px}.crm-tasks th,.crm-tasks td{text-align:left;border-bottom:1px solid var(--line);padding:8px;font-size:13px}.crm-tasks th,.crm-tasks small{color:var(--ink-muted)}@media (width<=850px){.crm-stage-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.crm-columns{grid-template-columns:minmax(0,1fr)}}.document-card-scroll{padding:4px 20px 20px;overflow-x:auto}.document-card-grid{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:stretch;gap:14px;display:grid}.document-card{--card-state-color:var(--info);--card-state-bg:var(--info-surface);--card-state-border:var(--info-line);aspect-ratio:2;border:1px solid var(--card-state-border);border-top:3px solid var(--card-state-color);background:var(--card-state-bg);border-radius:10px;min-width:0;min-height:0;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.document-card:hover{box-shadow:0 3px 14px color-mix(in srgb,var(--card-state-color) 16%,transparent)}.document-card-main{text-align:left;width:100%;min-width:0;height:100%;min-height:0;color:var(--ink);background:0 0;flex-direction:column;gap:6px;padding:8px 10px;display:flex;overflow:hidden}.document-card-main:focus-visible{outline:3px solid var(--card-state-color);outline-offset:-3px}.document-card-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.document-card-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;font-weight:700;line-height:1.3;overflow:hidden}.document-card-status{text-overflow:ellipsis;white-space:nowrap;background:var(--card-state-color);color:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0b1220);border-radius:5px;flex:none;max-width:52%;padding:3px 6px;font-size:12px;font-weight:650;line-height:1.2;overflow:hidden}.document-card-fields{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:minmax(0,1fr);align-content:stretch;gap:0;width:100%;min-height:0;margin:0;display:grid}.document-card-field{text-align:left;grid-template-columns:76px minmax(0,1fr);align-content:center;align-items:baseline;gap:8px;min-width:0;display:grid}.document-card-field dt{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;font-weight:400;line-height:1.25;overflow:hidden}.document-card-sales .document-card-field dt{font-size:13px}.document-card-field dd{white-space:nowrap;text-overflow:ellipsis;flex-wrap:nowrap;justify-content:flex-start;align-items:baseline;gap:0 3px;min-width:0;max-width:100%;margin:0;font-size:13px;font-weight:500;line-height:1.3;display:flex;overflow:hidden}.document-card-field dd:not(.is-amount){text-align:left;width:100%;display:block}.document-card-field dd.is-amount strong{letter-spacing:-.3px;font-variant-numeric:tabular-nums;min-width:0;max-width:100%;color:var(--card-state-color);white-space:nowrap;text-overflow:ellipsis;font-size:18px;font-weight:750;line-height:1.2;overflow:hidden}.document-card-field dd.is-amount small{color:var(--muted);font-size:13px;font-weight:500;line-height:1.2}.document-status-pending{--card-state-color:var(--warning);--card-state-bg:var(--warning-surface);--card-state-border:var(--warning-line)}.document-status-converted{--card-state-color:var(--info);--card-state-bg:var(--info-surface);--card-state-border:var(--info-line)}.document-status-confirmed{--card-state-color:var(--success);--card-state-bg:var(--success-surface);--card-state-border:var(--success-line)}.document-status-quoted{--card-state-color:var(--lightningcss-light,#7852ac)var(--lightningcss-dark,#bf9eea);--card-state-bg:var(--lightningcss-light,#f5effc)var(--lightningcss-dark,#291e3d);--card-state-border:var(--lightningcss-light,#cdbbe5)var(--lightningcss-dark,#66517d)}.document-status-completed{--card-state-color:var(--lightningcss-light,#13777c)var(--lightningcss-dark,#80d6d9);--card-state-bg:var(--lightningcss-light,#eaf7f7)var(--lightningcss-dark,#142f32);--card-state-border:var(--lightningcss-light,#9fcbd0)var(--lightningcss-dark,#365f62)}.document-status-partial{--card-state-color:var(--lightningcss-light,#6253ab)var(--lightningcss-dark,#b6a5ef);--card-state-bg:var(--lightningcss-light,#f1edfc)var(--lightningcss-dark,#27213b);--card-state-border:var(--lightningcss-light,#c0b4e2)var(--lightningcss-dark,#5a4d7b)}.document-status-closed{--card-state-color:var(--lightningcss-light,#4b647a)var(--lightningcss-dark,#b3c5d6);--card-state-bg:var(--lightningcss-light,#eef3f7)var(--lightningcss-dark,#202b36);--card-state-border:var(--lightningcss-light,#aebfce)var(--lightningcss-dark,#526478)}.document-status-canceled{--card-state-color:var(--muted);--card-state-bg:var(--surface-2);--card-state-border:var(--line-strong)}.document-status-declined{--card-state-color:var(--danger);--card-state-bg:var(--danger-surface);--card-state-border:var(--danger-line)}.sales-panel>.document-card-scroll{padding-left:0;padding-right:0}@media (width<=650px){.document-card-scroll{padding-left:12px;padding-right:12px}.document-card-grid{gap:12px}.document-card-field{gap:6px}}.document-card-field dd.is-amount small{flex-shrink:0}.management-progress{margin-bottom:24px}.progress-heading,.progress-toolbar,.progress-records,.progress-footer,.progress-empty,.progress-legend{padding-inline:22px}.progress-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding-block:20px 14px;display:flex}.progress-heading h2{margin:0;font-size:20px}.progress-heading p{color:var(--text-secondary);margin:6px 0 0;font-size:13px}.progress-heading button{flex:none}.progress-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-bottom:16px;display:flex}.progress-scopes,.progress-search{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.progress-scopes button{border:1px solid var(--line);background:var(--surface-1);color:var(--ink);border-radius:9px;align-items:center;gap:7px;padding:8px 10px;font-size:13px;display:flex}.progress-scopes button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 -2px var(--accent);font-weight:600}.progress-scopes strong{font-variant-numeric:tabular-nums;color:var(--text-secondary)}.progress-search .search{width:min(260px,55vw)}.progress-records{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:14px;padding-bottom:16px;display:grid}.progress-record{border:1px solid var(--line);border-radius:12px;min-width:0;padding:15px}.progress-record-top,.progress-record-footer{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.progress-record-top>div{min-width:0}.progress-record-top .badge{flex:none}.progress-record-code{color:var(--text-secondary);margin:0 0 5px;font-size:12px}.progress-record h3{margin:0;font-size:16px}.progress-record h3 button{text-align:left;overflow-wrap:anywhere;display:block}.progress-record h3 span{color:var(--ink)}.progress-record-facts{color:var(--text-secondary);flex-wrap:wrap;gap:6px 13px;margin:9px 0;font-size:12px;display:flex}.progress-record-facts span{align-items:center;gap:4px;display:inline-flex}.progress-record-facts b{color:var(--ink)}.progress-phases{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.progress-phases li>span{color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1px 4px;font-size:11px;display:flex}.progress-phases small{font-variant-numeric:tabular-nums}.progress-phase-segments{gap:3px;display:flex}.progress-phase-segments button{background:0 0;border:0;flex:1;min-width:0;min-height:24px;padding:0}.progress-phase-segments button:before{content:"";background:var(--line);border-radius:4px;height:7px;display:block}.progress-phase-segments button.approved:before,.progress-phase-state.done{color:#fff;background:#19735d}.progress-phase-segments button.active:before,.progress-phase-state.active{color:#fff;background:#3266a0}.progress-phase-segments button.submitted:before{background:#a46d17}.progress-phase-segments button.returned:before,.progress-phase-segments button.overdue:before{background:#af4242}.progress-legend{flex-wrap:wrap;gap:5px 12px;margin:0 0 14px;font-size:11px;display:flex}.progress-legend span:before{content:"";background:var(--line);border-radius:3px;width:9px;height:6px;margin-right:4px;display:inline-block}.progress-legend .done:before{background:#19735d}.progress-legend .active:before{background:#3266a0}.progress-legend .submitted:before{background:#a46d17}.progress-legend .overdue:before{background:#af4242}.progress-phase-state{background:var(--surface-2);border-radius:6px;margin-top:5px;padding:3px 6px;font-size:11px;display:inline-block}.progress-next,.progress-product{overflow-wrap:anywhere;margin:10px 0;font-size:13px}.progress-shipment{gap:7px;margin:10px 0;display:grid}.progress-shipment-line{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;font-size:12px;display:grid}.progress-shipment-line span{overflow-wrap:anywhere}.progress-shipment-line small{color:var(--text-secondary)}.progress-shipment-line progress{accent-color:#19735d;grid-column:1/-1;width:100%;height:5px}.progress-alerts{background:var(--surface-2);border-radius:8px;gap:4px;margin:10px 0;padding:8px 10px;list-style:none;display:grid}.progress-alerts li{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px;font-size:12px;display:flex}.progress-alerts li svg{flex:none;align-self:center}.progress-alerts li.blocked,.progress-alerts li.overdue{color:var(--danger)}.progress-alerts button{text-align:left;color:inherit}.progress-record-footer{border-top:1px solid var(--line);flex-wrap:wrap;margin-top:8px;padding-top:9px;font-size:12px}.progress-footer{border-top:1px solid var(--line);color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-block:10px;font-size:12px;display:flex}@media (width<=570px){.progress-heading,.progress-toolbar,.progress-records,.progress-footer,.progress-empty,.progress-legend{padding-inline:13px}.progress-heading{flex-wrap:wrap}.progress-phases{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-record{padding:12px}}.management-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;margin-bottom:24px;display:grid}.management-panel .panel-title h2,.management-issues .panel-title h2{align-items:center;gap:9px;display:flex}.management-panel .panel-title{align-items:flex-start}.management-panel .panel-title p{margin-top:8px;line-height:1.6}.management-list{padding:0 12px}.management-record{border-radius:var(--radius-md);text-align:left;overflow-wrap:anywhere;width:100%;padding:17px 12px;display:block;position:relative}.management-list>.management-record:not(:last-child):after{content:"";border-bottom:1px solid var(--line);position:absolute;inset:auto 12px 0}.management-record:hover,.management-record:focus-visible{background:var(--surface-2)}.management-record-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.management-record-heading strong{color:var(--ink);font-size:15px}.management-record-heading span{color:var(--muted);font-size:12px}.management-record p{color:var(--ink-muted);white-space:pre-wrap;margin:10px 0;font-size:13px;line-height:1.7}.management-record-meta{color:var(--ink-muted);flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11px;line-height:1.7;display:flex}.management-record-meta time{white-space:nowrap}.management-quantities{color:var(--ink-muted);gap:5px;margin:12px 0;display:grid}.management-panel-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:10px;padding:12px 24px;font-size:10px;display:flex}.management-counts{color:var(--ink-muted);flex-wrap:wrap;gap:18px;padding:0 24px 16px;font-size:12px;display:flex}.management-counts b{color:var(--ink);font-variant-numeric:tabular-nums;margin-left:4px;font-size:18px}.attention-text{color:var(--warning);margin-top:10px;font-size:11px;display:block}.workspace-message{padding:20px;font-size:13px;line-height:1.8}.workspace-message.error{margin:10px 20px 20px}.management-issue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 20px 20px;display:grid}.management-issue-grid .management-record{border:1px solid var(--line);border-radius:var(--radius-md);padding:16px}.management-issue-grid strong{font-size:13px}.task-filter-details{border-top:1px solid var(--line)}.task-filter-details>summary{cursor:pointer;color:var(--ink-muted);padding:14px 20px;font-size:12px}.task-filter-details[open]>summary{padding-bottom:10px}.task-shortcuts{flex-wrap:wrap;gap:9px;padding:0 20px 15px;display:flex}.task-shortcuts button{border:1px solid var(--line);border-radius:var(--radius-pill);padding:7px 13px;font-size:12px}.task-shortcuts button.active{background:var(--surface-2);color:var(--ink);border-color:var(--line-strong)}.shop-task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:4px 20px 20px;display:grid}.shop-task-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-2);min-width:0;padding:20px}.shop-task-card h2{margin:16px 0 8px;font-size:20px}.shop-task-operation{color:var(--ink-muted);margin:0 0 17px;font-size:13px}.shop-task-quantity{color:var(--ink-muted);flex-direction:column;gap:10px;font-size:12px;display:flex}.shop-task-quantity strong{color:var(--ink);font-variant-numeric:tabular-nums;margin:0 4px;font-size:25px;font-weight:550}.shop-task-readiness{min-height:2em;color:var(--ink-muted);margin:14px 0;font-size:12px;line-height:1.7}.shop-task-actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.shop-task-actions .button{padding:9px 13px;font-size:12px}@media (width<=1050px){.management-columns{grid-template-columns:1fr}.management-issue-grid{grid-template-columns:1fr 1fr}}@media (width<=600px){.management-issue-grid,.shop-task-grid{grid-template-columns:1fr}.management-list{padding:0 4px}.management-panel-footer{flex-wrap:wrap;padding:14px 16px}.shop-task-grid{padding:0 14px 14px}.shop-task-card{padding:16px}.task-shortcuts{padding:0 14px 14px}.management-record-meta{flex-direction:column;gap:3px}.management-record-heading{flex-wrap:wrap;gap:5px}.management-issues .panel-title{align-items:flex-start}}@media (width<=767px){.shop-task-grid{grid-template-columns:1fr}}.order-delivery{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.delivery-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.delivery-heading h3{margin:0 0 8px}.delivery-heading p{color:var(--ink-muted);margin:0;font-size:13px;line-height:1.7}.delivery-context{background:var(--surface-2);border-radius:var(--radius-md);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px;display:grid}.delivery-context dt,.delivery-quantities dt{color:var(--muted);margin-bottom:8px;font-size:11px}.delivery-context dd{color:var(--ink);margin:0;font-size:13px}.delivery-note{color:var(--ink-muted);margin:12px 0;font-size:11px;line-height:1.8}.delivery-attention{border:1px solid var(--warning-line);border-radius:var(--radius-md);background:var(--warning-surface);margin:20px 0;padding:16px}.delivery-attention h4{color:var(--warning);margin:0 0 8px;font-size:13px}.delivery-attention-row{border-top:1px solid var(--warning-line);justify-content:space-between;align-items:flex-start;gap:16px;padding:12px 0;font-size:12px;display:flex}.delivery-attention-row:first-of-type{border:0}.delivery-attention-row>div{min-width:0}.delivery-attention-row>span{text-align:right;flex-shrink:0}.delivery-attention-row small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.6;display:block}.delivery-attention-row .text-button{white-space:normal;text-align:left}.delivery-attention-row .badge{margin-left:8px}.delivery-line{border:1px solid var(--line);border-radius:var(--radius-lg);margin-top:18px;padding:20px}.delivery-line-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.delivery-line-title h4{color:var(--ink);margin:0;font-size:16px}.delivery-line-title p{color:var(--ink-muted);white-space:pre-wrap;margin:8px 0;font-size:12px}.delivery-line-title>strong{color:var(--ink);white-space:nowrap;font-size:14px}.delivery-quantities{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px;margin:20px 0;display:grid}.delivery-quantities dd{color:var(--ink);font-variant-numeric:tabular-nums;margin:0;font-size:22px}.delivery-quantities small{color:var(--muted);font-size:11px}.delivery-packaging{color:var(--ink-muted);white-space:pre-wrap;font-size:12px}.delivery-work{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-2);margin-top:10px}.delivery-work summary{cursor:pointer;color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:12px;padding:13px;font-size:11px;display:flex}.delivery-work summary:before{content:"›";color:var(--muted);font-size:18px}.delivery-work[open]>summary:before{transform:rotate(90deg)}.delivery-work summary strong{color:var(--ink);font-size:12px}.delivery-work summary span:last-child{margin-left:auto}.delivery-work-body{padding:0 13px 13px}.delivery-work-heading{color:var(--ink-muted);justify-content:space-between;align-items:center;gap:12px;margin:5px 0 14px;font-size:11px;display:flex}.delivery-secondary{color:var(--muted);margin-top:4px;font-size:10px;display:block}.delivery-work table{font-size:11px}.delivery-work td,.delivery-work th{padding:11px}.delivery-reasons{white-space:normal;min-width:180px;max-width:260px}.delivery-warning{background:var(--warning-surface);color:var(--warning);border:1px solid var(--warning-line);border-radius:5px;padding:10px 12px;font-size:12px;line-height:1.7}.delivery-source-list{margin-top:15px}.delivery-source-list h4{color:var(--ink-muted);margin:0 0 10px;font-size:12px}.delivery-source-list>div{color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:12px;margin:9px 0;font-size:11px;display:flex}.delivery-components{color:var(--ink-muted);padding:14px 0 0;font-size:12px}.delivery-components>summary{cursor:pointer}.delivery-empty{color:var(--ink-muted);padding:15px 0;font-size:12px}@media (width<=600px){.delivery-context{grid-template-columns:1fr;gap:12px}.delivery-heading,.delivery-line-title{flex-wrap:wrap}.delivery-line{padding:14px}.delivery-quantities{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.delivery-work summary{gap:8px}.delivery-work summary span:last-child{width:100%;margin-left:0}.delivery-attention-row{flex-wrap:wrap;gap:8px}.delivery-attention-row>span{text-align:left}.delivery-work-heading{flex-wrap:wrap}.delivery-line-title>strong{white-space:normal}}@media print{.delivery-line{break-inside:avoid}.delivery-work-body{display:block}.delivery-quantities{grid-template-columns:repeat(4,minmax(0,1fr))}}.delivery-arrange{margin-top:8px}.delivery-shipped-progress{accent-color:#19735d;grid-column:1/-1;width:100%;height:6px}.muted,.delivery-note,.delivery-context dt,.delivery-quantities dt,.delivery-secondary,.delivery-work summary,.delivery-work-heading,.management-record-meta,.management-panel-footer,.management-counts,.customer-field-label,.customer-note,.customer-record+small,.shop-task-readiness,.shop-task-operation,.shop-task-quantity,.details-grid dt,.field>span,.list-filters label,.count-text,.page-heading>div>p:not(.eyebrow){color:var(--text-secondary)}.management-record-meta,.management-record-heading span,.delivery-note,.delivery-context dt,.delivery-quantities dt,.delivery-work summary,.delivery-work-heading,.delivery-attention-row,.delivery-attention-row small,.delivery-secondary,.delivery-source-list>div,.details-grid dt,.shop-task-readiness,.shop-task-quantity,.shop-task-operation,.customer-field-label,.customer-signals,.customer-card-body small,.customer-work-card header p,.customer-note,.delivery-context dd,.management-record p,.field,.field input,.field textarea,.details-grid dd{font-size:14px}.delivery-note,.delivery-attention-row small{color:var(--text-secondary)}.field-unit{color:var(--ink);font-weight:600}:where(button,a,input,textarea,summary):focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.action-context{border:1px solid var(--line);background:var(--surface-2);border-radius:var(--radius-md);margin-bottom:20px;padding:16px}.action-context h3{color:var(--ink);margin:0 0 12px;font-size:14px}.action-context dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0;display:grid}.action-context dt{color:var(--text-label);margin-bottom:4px;font-size:13px}.action-context dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:15px;font-weight:550}.data-state{text-align:center;color:var(--text-secondary);padding:24px;line-height:1.7}.data-state strong{color:var(--ink);font-size:16px}.data-state p{margin:8px 0 14px;font-size:14px}.data-state.error{margin:16px}.refresh-status{color:var(--text-secondary);margin:0;padding:8px 20px;font-size:14px}.delivery-summary-list{margin:18px 0}.delivery-summary{border-bottom:1px solid var(--line);padding:14px 0}.delivery-summary h4{margin:0;font-size:17px}.delivery-summary p{color:var(--text-secondary);overflow-wrap:anywhere;margin:5px 0 12px;font-size:14px}.delivery-summary dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;display:grid}.delivery-summary dt{color:var(--text-label);margin-bottom:7px;font-size:14px}.delivery-summary dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:17px}.delivery-summary strong{color:var(--ink);font-size:28px;font-weight:600}.delivery-summary small{font-size:14px}.delivery-explanation{color:var(--text-secondary);font-size:14px;line-height:1.7}.delivery-explanation summary,.delivery-line>summary,.record-actions>summary{cursor:pointer;padding:10px 0;font-size:14px;font-weight:550}.delivery-line>summary{color:var(--ink)}.delivery-line[open]>summary{border-bottom:1px solid var(--line);margin-bottom:18px}.quantity-group-title{margin:24px 0 10px;font-size:15px}.delivery-attention{padding:12px 16px}.delivery-attention-row{padding:10px 0}.record-actions{margin:0 0 8px}.record-actions .action-bar{margin-top:4px}.detail-navigation{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 24px;display:flex}.detail-navigation .text-button{min-height:36px;font-size:14px}.detail-navigation span{color:var(--text-secondary);font-size:14px}.detail-feedback{margin:12px 24px}.unsaved-note{color:var(--text-secondary);margin:0;font-size:13px}@media (width<=800px){.button,.button.small,.shop-task-actions .button,.text-button,.tabs button,.task-shortcuts button,.customer-focus-tabs button,.sales-detail-actions button,summary{min-height:var(--touch-target)}.icon-button{min-height:var(--touch-target);min-width:var(--touch-target)}.button,.button.small,.text-button,.shop-task-actions .button,.task-shortcuts button,.tabs button{font-size:14px}.field input,.field textarea,.search input,.list-filters input{min-height:var(--touch-target);font-size:16px}.field,.list-filters label,.filter-dropdown{font-size:14px}.shop-task-actions .button{min-height:48px;padding:12px 16px}.shop-task-actions .text-button{padding:8px 4px}.shop-task-card h2{font-size:20px}.shop-task-card .management-record-meta{font-size:14px}.shop-task-readiness{min-height:0}.shop-task-grid{gap:16px}.modal-header h2{font-size:17px}.modal-footer{gap:12px}.modal-footer .button{min-height:48px}.overlay{padding:8px}.modal,.sales-modal{max-height:calc(100dvh - 16px)}.action-context dl{grid-template-columns:1fr;gap:10px}.delivery-context{gap:10px;padding:12px}.delivery-summary dl{gap:12px}.delivery-summary dd{font-size:15px}.delivery-summary strong{font-size:24px}.delivery-summary dt{min-height:20px}.delivery-heading{flex-wrap:wrap;gap:8px}.delivery-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-line{padding:12px}.delivery-attention-row{gap:8px}.delivery-attention-row>span{text-align:left;flex-shrink:1}.detail-navigation{padding:8px 16px}.detail-navigation .text-button{min-height:44px}.list-filters input{max-width:100%}.checkbox input{min-height:0}}@media (width<=420px){.delivery-summary dl{grid-template-columns:1fr 1fr}.delivery-summary dl>div:first-child{grid-column:1/-1}.topbar-right{gap:4px}.topbar .button.small{padding:8px}}@media print{.detail-navigation,.record-actions,.data-state,.refresh-status{display:none!important}.delivery-line>:not(summary),.delivery-work>:not(summary){display:block!important}.delivery-line>.delivery-quantities{display:grid!important}}.exit-confirmation{border:1px solid var(--line);border-radius:var(--radius-lg);width:min(440px,100vw - 32px);color:var(--ink);box-sizing:border-box;background:var(--surface-1);padding:24px}.exit-confirmation::backdrop{background:var(--overlay)}.exit-confirmation h2{margin:0 0 12px;font-size:19px}.exit-confirmation p{margin:0 0 24px;font-size:15px;line-height:1.7}@media (width<=800px){.action-context dl>div{grid-template-columns:90px minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.action-context dt{margin:0;font-size:14px}}.sales-more summary{color:var(--text-secondary)}@media screen{:root{--canvas:var(--lightningcss-light,#f2f5f9)var(--lightningcss-dark,#0b1220);--surface-1:var(--lightningcss-light,#fff)var(--lightningcss-dark,#131e2f);--surface-2:var(--lightningcss-light,#f3f6fa)var(--lightningcss-dark,#19263a);--surface-3:var(--lightningcss-light,#e8eef6)var(--lightningcss-dark,#223149);--surface-4:var(--lightningcss-light,#dde7f3)var(--lightningcss-dark,#2b3c55);--line:var(--lightningcss-light,#dce4ee)var(--lightningcss-dark,#2c3c52);--line-strong:var(--lightningcss-light,#bccbdf)var(--lightningcss-dark,#4c6380);--accent:var(--lightningcss-light,#1765c5)var(--lightningcss-dark,#77adff);--on-accent:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0b2345);--accent-hover:var(--lightningcss-light,#1253a7)var(--lightningcss-dark,#a3c9ff);--on-accent-hover:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0b2345);--accent-pressed:var(--lightningcss-light,#10488e)var(--lightningcss-dark,#6399ed);--link:var(--lightningcss-light,#175eae)var(--lightningcss-dark,#91bbff);--focus-ring:var(--lightningcss-light,#1765c5)var(--lightningcss-dark,#91bbff);--progress-fill:var(--lightningcss-light,#2681d5)var(--lightningcss-dark,#68adff);--info:var(--lightningcss-light,#175eae)var(--lightningcss-dark,#91bbff);--info-surface:var(--lightningcss-light,#edf5ff)var(--lightningcss-dark,#172d49);--info-line:var(--lightningcss-light,#bcd7f5)var(--lightningcss-dark,#385c88);--success:var(--lightningcss-light,#17643e)var(--lightningcss-dark,#82d9aa);--success-surface:var(--lightningcss-light,#eaf8f0)var(--lightningcss-dark,#142f25);--success-line:var(--lightningcss-light,#b7dfc9)var(--lightningcss-dark,#345f4b);--success-indicator:var(--lightningcss-light,#21a463)var(--lightningcss-dark,#4bd492);--warning:var(--lightningcss-light,#925009)var(--lightningcss-dark,#f5bf6b);--warning-surface:var(--lightningcss-light,#fff5e6)var(--lightningcss-dark,#352716);--warning-line:var(--lightningcss-light,#f0d1a0)var(--lightningcss-dark,#71532f);--danger:var(--lightningcss-light,#b12e35)var(--lightningcss-dark,#ffacb0);--danger-surface:var(--lightningcss-light,#fff0f0)var(--lightningcss-dark,#3b2029);--danger-line:var(--lightningcss-light,#efbfc4)var(--lightningcss-dark,#75404e);--violet:var(--lightningcss-light,#7040ad)var(--lightningcss-dark,#c7abff);--violet-surface:var(--lightningcss-light,#f5efff)var(--lightningcss-dark,#2c2243);--violet-line:var(--lightningcss-light,#d9c7ef)var(--lightningcss-dark,#5c477f)}.sidebar{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#1c2b40;--surface-1:#24364e;--surface-2:#2b405b;--surface-3:#344d6c;--surface-4:#3c5676;--ink:#f6f9ff;--ink-muted:#dce7f6;--muted:#adbed4;--text-secondary:#adbed4;--control-border:#58718f;--line:#3a4f6a;--focus-ring:#67d7f5;--link:#9cddff;background:var(--canvas);color:var(--ink-muted);border-right-color:#162338}.sidebar .wordmark{color:#fff}.sidebar .wordmark svg{color:#fff;background:#246dc0}.sidebar .online-dot{background:#51d9a1}.sidebar nav button{color:#dce7f6;font-weight:500}.sidebar nav button svg{color:#adbed4}.sidebar nav button:hover{color:#fff;background:#293e58}.sidebar nav button.selected{color:#82e4ff;background:#103f60;font-weight:650;box-shadow:inset 3px 0 #36c9f2}.sidebar nav button.selected svg{color:#82e4ff}.sidebar .sidebar-bottom .avatar{color:#fff;background:#314c6b}.sidebar .theme-control{color:var(--ink-muted)}.topbar{background:var(--surface-1)}.page-heading h1{color:var(--lightningcss-light,#183657)var(--lightningcss-dark,#edf4ff)}.tabs button.active,.tabs button[aria-current=page],.customer-focus-tabs button.active,.task-shortcuts button.active{color:var(--info);background:var(--info-surface);box-shadow:inset 0 -2px var(--info);font-weight:650}.tabs button.active:hover{background:var(--info-surface);color:var(--info)}.metric,.sales-metric{--metric-color:var(--info);--metric-surface:var(--info-surface);border-left:4px solid var(--metric-color);background:var(--metric-surface)}.metric:nth-child(2),.sales-metric:nth-child(2){--metric-color:var(--violet);--metric-surface:var(--violet-surface)}.metric:nth-child(3),.sales-metric:nth-child(3){--metric-color:var(--warning);--metric-surface:var(--warning-surface)}.metric:nth-child(4),.sales-metric:nth-child(4){--metric-color:var(--danger);--metric-surface:var(--danger-surface)}.metric:hover,.sales-metric:hover{background:var(--metric-surface);border-color:var(--metric-color)}.metric>span svg,.metric strong,.sales-metric strong{color:var(--metric-color)}.management-progress{border-top:3px solid var(--info)}.management-progress .progress-heading{background:var(--info-surface);margin-bottom:16px}.management-panel{border-top:3px solid var(--info)}.management-panel:nth-child(2){border-top-color:var(--violet)}.management-panel .panel-title h2 svg{color:var(--info)}.management-panel:nth-child(2) .panel-title h2 svg{color:var(--violet)}.management-issues,.auto-alerts{border-top:3px solid var(--warning)}.management-issues .panel-title h2 svg,.management-counts span:nth-child(2) b{color:var(--warning)}.management-counts span:nth-child(3) b{color:var(--danger)}.progress-scopes button[aria-pressed=true]{background:var(--info-surface);color:var(--info)}.progress-scopes button[aria-pressed=true] strong{color:inherit}.progress-scopes button:nth-child(2)[aria-pressed=true]{background:var(--danger-surface);color:var(--danger);border-color:var(--danger);box-shadow:inset 0 -2px var(--danger)}.workspace th{background:var(--info-surface);color:var(--ink);font-weight:650}.workspace tbody tr:nth-child(2n)>td{background:var(--lightningcss-light,#f8fafc)var(--lightningcss-dark,#162235)}.workspace .table-wrap tbody tr:is(:hover,:focus-within)>td{background:var(--info-surface)}.badge{border:1px solid var(--line)}.badge:is(.active,.open,.processing,.released,.confirmed,.sent,.testing){color:var(--info);background:var(--info-surface);border-color:var(--info-line)}.badge:is(.pending,.preparing,.submitted,.paused,.adjusting){color:var(--warning);background:var(--warning-surface);border-color:var(--warning-line)}.badge:is(.published,.completed,.accepted,.approved,.closed,.settled,.resolved,.passed,.won){color:var(--success);background:var(--success-surface);border-color:var(--success-line)}.badge:is(.urgent,.rejected,.scrap,.returned,.failed,.blocked){color:var(--danger);background:var(--danger-surface);border-color:var(--danger-line)}.badge:is(.canceled,.voided,.inactive,.superseded,.draft,.queued){color:var(--muted);background:var(--surface-2);border-color:var(--line)}.pending-submit,.delivery-attention,.progress-alerts{background:var(--warning-surface);border-color:var(--warning-line)}.callout,.notice{background:var(--info-surface);border-color:var(--info-line)}.sales-notice{color:var(--success);background:var(--success-surface);border-color:var(--success-line)}.attention-text,.overdue{font-weight:600}.customer-workflow .workflow-step-number.active,.customer-workflow .workflow-map-step[aria-pressed=true]{color:var(--info);background:var(--info-surface);border-color:var(--info-line)}.customer-workflow .workflow-step-number.approved{color:var(--success);background:var(--success-surface);border-color:var(--success-line)}.customer-workflow .workflow-step-number.submitted{color:var(--warning);background:var(--warning-surface);border-color:var(--warning-line)}.customer-workflow .workflow-step-number.returned{color:var(--danger);background:var(--danger-surface);border-color:var(--danger-line)}.progress-next,.workflow-next{background:var(--info-surface);border-radius:8px;padding:10px 12px}}.bom-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0;display:grid}.bom-category-card{--bom-accent:#1979ac;border:1px solid var(--line);border-top:4px solid var(--bom-accent);background:var(--surface-1);min-width:0;min-height:244px;color:var(--ink);text-align:left;cursor:pointer;border-radius:16px;flex-direction:column;gap:16px;padding:24px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;box-shadow:0 5px 20px #173f6909}.bom-category-card:hover{border-color:var(--bom-accent);transform:translateY(-4px);box-shadow:0 10px 28px #173f691a}.bom-category-card:focus-visible{outline:3px solid var(--bom-accent);outline-offset:4px}.bom-category-niches{--bom-accent:#188875}.bom-category-toolboxes{--bom-accent:#7961bc}.bom-category-other{--bom-accent:#b97c22}.bom-category-top{color:var(--bom-accent);justify-content:space-between;align-items:center;display:flex}.bom-category-icon{background:color-mix(in srgb,var(--bom-accent) 12%,transparent);border-radius:14px;place-items:center;width:56px;height:56px;display:grid}.bom-category-card>strong{font-size:22px;line-height:1.4}.bom-category-description{color:var(--muted);font-size:13px;line-height:1.6}.bom-category-count{border-top:1px solid var(--line);margin-top:auto;padding-top:16px;font-size:25px;font-weight:700}.bom-category-count small{color:var(--muted);font-size:13px;font-weight:400}.bom-category-count>span{color:var(--bom-accent);margin-top:8px;font-size:12px;display:block}.bom-breadcrumb{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 20px;font-size:13px;display:flex}.bom-breadcrumb button{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:6px 0;display:inline-flex}.bom-breadcrumb button:hover{color:var(--ink)}.bom-back{align-items:center;gap:6px;margin:0 0 14px;display:inline-flex}.bom-detail-panel{padding:24px}.bom-version-control{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;padding-bottom:20px;display:flex}.bom-version-control label{flex-wrap:wrap;align-items:center;gap:12px;font-weight:600;display:flex}.bom-version-control select{min-width:220px;max-width:100%}.bom-product-list .list-toolbar{padding:18px 20px}.bom-product-list tbody tr{cursor:pointer}.bom-product-list tbody tr:hover{background:var(--surface-2)}.bom-product-code{color:var(--muted);margin-top:6px;font-size:12px;display:block}.bom-product-list .text-button{align-items:center;gap:5px;display:inline-flex}.bom-workspace .technical-tabs{flex-wrap:nowrap;gap:6px;padding-bottom:6px;display:flex;overflow-x:auto}.bom-workspace .technical-tabs button{white-space:nowrap;flex:1 0 170px}.bom-workspace .technical-tabs small{margin:0 7px 0 0;display:inline}.bom-workspace .technical-tabs button:last-child{flex-grow:1.3}.bom-workspace .bom-profile>.action-bar:empty{display:none}@media (width<=1100px){.bom-category-grid{gap:12px}.bom-category-card{padding:18px}.bom-category-card>strong{font-size:19px}}@media (width<=760px){.bom-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bom-category-card{min-height:215px}.bom-detail-panel{padding:16px}.bom-version-control label,.bom-version-control select{width:100%;min-width:0}}@media (width<=420px){.bom-category-card{gap:12px;padding:14px}.bom-category-card>strong{font-size:17px}.bom-category-icon{width:44px;height:44px}.bom-category-count{font-size:22px}}.technical-pane[hidden]{display:none}.bom-materials .table-wrap{overflow:auto}.bom-materials>form td input:not([type=radio]){width:110px;min-width:88px;padding:7px 8px}.bom-materials>form td input[aria-label$=用料说明]{width:160px;min-width:130px}.bom-cell-input{white-space:nowrap;align-items:center;gap:5px;display:flex}.bom-material-selected{background:var(--info-surface)}.bom-material-picker{max-height:380px;overflow:auto}.bom-material-picker input[type=checkbox],.bom-materials input[type=radio]{width:16px;height:16px;accent-color:var(--info)}.bom-materials .sales-section-heading,.material-profile .sales-section-heading{flex-wrap:wrap;gap:12px}.bom-library-preview{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.bom-library-preview .material-profile{padding:0}.bom-library-picker .bom-material-picker{max-height:220px}.purchase-list-switch{gap:6px;padding:16px 20px 0;display:flex}.purchase-list-switch button{border:1px solid var(--line);background:var(--surface-1);color:var(--muted);font:inherit;cursor:pointer;border-radius:8px;padding:9px 20px;font-weight:600}.purchase-list-switch button.active{color:var(--accent);border-color:var(--accent);background:var(--info-surface)}.purchase-status-filter{white-space:nowrap;align-items:center;gap:8px;font-size:13px;display:flex}.purchase-status-filter select{border:1px solid var(--line);min-width:125px;color:var(--ink);background:var(--surface-1);border-radius:7px;padding:8px}.purchase-list-note{color:var(--muted);margin:8px 20px 16px;font-size:13px;line-height:1.7}.purchase-back{margin:0 0 18px}.purchase-detail-tabs{white-space:nowrap;margin-bottom:22px;overflow-x:auto;flex-wrap:nowrap!important;display:flex!important}.purchase-detail-tabs button{flex:none}.purchase-detail .purchase-list-note{margin:8px 0 18px}.purchase-detail td{vertical-align:top}.purchase-workspace .table-wrap{padding:0 20px}.purchase-workspace .table-wrap>.muted{padding:18px 0}@media (width<=640px){.purchase-list-switch{padding:14px 12px 0}.purchase-workspace .table-wrap{padding:0 12px}.purchase-list-note{margin-left:12px;margin-right:12px}.purchase-workspace .heading-actions{flex-wrap:wrap}.purchase-detail .detail-hero{flex-wrap:wrap;gap:14px}}.purchase-detail-panel{padding:24px}.purchase-detail-panel>.purchase-detail,.purchase-detail-panel .print-document{padding:0}@media (width<=640px){.purchase-detail-panel{padding:16px}}.material-filters .list-toolbar{flex-wrap:wrap;padding:14px 16px}.material-board-scroll{margin-top:20px;padding:3px 0 14px;overflow-x:auto}.material-board{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:start;gap:14px;display:grid}.material-column{--material-accent:var(--info);min-width:0}.material-column-heading{border-bottom:3px solid var(--material-accent);justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;padding:10px 0 12px;display:flex}.material-column-heading h2{margin:0;font-size:14px;font-weight:700;line-height:1.4}.material-column-heading>span{color:var(--muted);flex:none;font-size:12px}.material-column-niches{--material-accent:var(--success)}.material-column-toolboxes{--material-accent:var(--violet)}.material-column-other{--material-accent:var(--warning)}.material-column .document-card-scroll{padding:0;overflow:visible}.material-column .document-card-grid{grid-template-columns:minmax(0,1fr);gap:14px}.material-column .document-card,.material-group-page .document-card,.material-subgroup .document-card{aspect-ratio:4}.material-column .document-card-main,.material-group-page .document-card-main,.material-subgroup .document-card-main{gap:2px;padding:5px 10px}.material-column .document-card-fields,.material-group-page .document-card-fields,.material-subgroup .document-card-fields{grid-template-rows:minmax(0,1fr)}.material-column .document-card-field,.material-group-page .document-card-field,.material-subgroup .document-card-field{grid-template-columns:42px minmax(0,1fr)}.material-column .empty{border:1px dashed var(--line);border-radius:10px;padding:22px 10px;font-size:13px}.material-subgroup{border:1px solid var(--info-line);background:var(--surface-1);border-radius:10px;margin-bottom:14px;padding:8px}.material-subgroup-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px;padding:2px 0 8px;display:flex}.material-subgroup-heading h3{color:var(--info);margin:0;font-size:14px;font-weight:700}.material-subgroup-heading>span{color:var(--muted);font-size:12px}.material-subgroup-open{justify-content:center;width:100%;margin-top:10px}.material-group-breadcrumb{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 16px;font-size:13px;display:flex}.material-group-breadcrumb button{align-items:center;gap:6px;display:inline-flex}.material-group-summary{color:var(--muted);margin:0;padding:16px 20px 12px;font-size:13px}.material-folder-grid{grid-template-columns:repeat(4,minmax(220px,1fr));align-items:start;gap:14px;display:grid}.material-folder-grid .material-subgroup{margin-bottom:0}.material-subgroup .document-card-scroll{padding:0;overflow:visible}.material-subgroup .document-card-grid{grid-template-columns:minmax(0,1fr);gap:10px}.material-subgroup .empty{padding:22px 10px;font-size:13px}.material-subgroup-heading h3{min-width:0;line-height:1.5}.material-subgroup-heading>span{flex:none}.material-unassigned{border:1px dashed var(--line);background:var(--surface-1);color:var(--muted);border-radius:10px;margin:16px 0;padding:14px;font-size:13px}.material-unassigned p{margin:0 0 10px}
