:root{font-family:Inter,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1b2936;background:#f5f7f7;font-synthesis:none;text-rendering:optimizeLegibility;--brand-primary: #177e68;--brand-primary-hover: #116851;--brand-accent: #8be0c7;--brand-accent-soft: #e6f6f0;--sidebar-start: #102731;--sidebar-end: #112c32;--focus-ring: rgba(41, 143, 120, .14);--ink: #1b2936;--ink-strong: #152832;--ink-muted: #536872;--surface: #ffffff;--bg: #f5f7f7;--line: #e0e8e8;--danger: #b83838;--radius-sm: 8px;--radius-md: 13px;--radius-lg: 16px;--shadow-card: 0 4px 18px rgba(19, 51, 59, .035);--shadow-dialog: 0 30px 90px rgba(0, 0, 0, .28);font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{width:100%;border:1px solid #d4e0e1;border-radius:8px;color:#213742;background:var(--surface);outline:none;min-height:40px;transition:border-color .16s ease,box-shadow .16s ease;padding:8px 10px;font-size:13px}input,textarea{caret-color:var(--brand-primary)}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;width:248px;flex-direction:column;padding:24px 14px 18px;color:#edf5ff;background:linear-gradient(165deg,var(--sidebar-start) 0%,#0d202a 70%,var(--sidebar-end) 100%);box-shadow:1px 0 #0a1f2614}.brand-block{display:flex;align-items:center;gap:11px;padding:0 10px 24px}.brand-block strong,.brand-block span,.connection-status strong,.connection-status span,.metric-grid article span,.metric-grid article strong,.return-selector span,.return-selector strong,.dashboard-card span,.dashboard-card strong{display:block}.brand-block strong{font-size:15px;letter-spacing:.01em}.brand-block span{margin-top:2px;color:#91abb3;font-size:11px;letter-spacing:.02em}.brand-mark{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;color:#0e3834;background:var(--brand-accent);font-size:21px;font-weight:900}nav{display:grid;gap:3px;overflow-y:auto;scrollbar-color:#47626a transparent;scrollbar-width:thin}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:0;border-radius:9px;color:#b7c9ce;background:transparent;text-align:left;min-height:42px;font-size:14px;font-weight:550;transition:background-color .16s ease,color .16s ease}.nav-item:hover{color:#f3fbf8;background:#bae7db1c}.nav-item.is-active{color:#e9fff8;background:#6acfaf2e;font-weight:700;box-shadow:inset 3px 0 #77ddbc}.connection-status{display:flex;align-items:center;gap:10px;margin-top:auto;padding:12px;border:1px solid rgba(148,195,186,.2);border-radius:10px;background:#00000021}.connection-status span{margin-top:3px;color:#91a9af;font-size:10px}.main-content{min-height:100vh;margin-left:248px;padding:24px;min-width:0}.page-card{min-height:0;padding:24px;border:1px solid #e0e8e8;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card)}h1{margin:0 0 6px;color:var(--ink-strong);font-size:26px;line-height:1.3;letter-spacing:-.02em}.page-card p{max-width:620px;color:#687984;font-size:14px;line-height:1.6}.mobile-bar{display:none}.workspace-page{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:0;flex-wrap:wrap}.page-heading p{margin:0;color:#687984;font-size:13px;line-height:1.6;max-width:75ch}.heading-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;color:#18755f;background:var(--brand-accent-soft);flex-shrink:0}.panel{padding:20px;border:1px solid #e0e8e8;border-radius:15px;background:var(--surface);box-shadow:none;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}.panel-heading h2{margin:0;color:#203440;font-size:17px;letter-spacing:-.01em}.form-stack,.rank-list{display:grid;gap:14px}.form-grid{display:grid;gap:14px;align-items:start}.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.four-columns{grid-template-columns:1.4fr 1.2fr .7fr .9fr}.quote-fields{grid-template-columns:1.7fr .75fr .8fr .8fr}label{display:grid;gap:7px;color:#435b66;font-size:13px;font-weight:650}input:focus,select:focus,textarea:focus{border-color:#298f78;box-shadow:0 0 0 3px var(--focus-ring)}.line-items{display:grid;gap:10px}.line-item{display:grid;grid-template-columns:minmax(240px,2fr) minmax(90px,.6fr) minmax(130px,.8fr) auto;align-items:end;gap:10px;padding:13px;border-radius:12px;background:#f8faf9;border:1px solid #e3ebeb}.primary-button,.secondary-button,.text-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border-radius:8px;font-weight:700;font-size:13px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.primary-button{border:1px solid var(--brand-primary);color:#fff;background:var(--brand-primary)}.secondary-button{border:1px solid #cfdddf;color:#29424d;background:var(--surface)}.text-button{width:fit-content;border:0;color:#147d66;background:transparent}.danger-button{border:1px solid var(--danger);color:#fff;background:var(--danger)}.primary-button:hover{background:var(--brand-primary-hover);border-color:var(--brand-primary-hover);box-shadow:0 3px 12px #177e6824}.primary-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.5}.danger-button:hover{background:#962d2d}.danger-text{color:#ac3232}.icon-button{display:grid;padding:6px;place-items:center;border:1px solid #d4e0e1;border-radius:8px;color:#27364a;background:var(--surface);min-width:32px;min-height:32px}.icon-button:hover:not(:disabled){color:#0e735b;border-color:#7bcbb6;background:#effbf7}.icon-button:disabled{cursor:not-allowed;opacity:.35}.compact{min-height:32px;padding:5px 10px;font-size:12px}.danger{color:#ba3b3b;background:#fee}.total-chip{padding:8px 12px;border-radius:10px;color:#0c6552;background:#e1f8f0}.notice{padding:12px 15px;border:1px solid #cce9dd;border-radius:11px;color:#155e4e;background:#f1faf6}.table-wrap{overflow-x:auto;scrollbar-color:#b6c9c7 #f4f7f6;scrollbar-width:thin;max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5}th,td{padding:8px 10px;border-bottom:1px solid #e7ecf1;text-align:left;white-space:normal;vertical-align:middle;overflow-wrap:anywhere;min-width:140px}th{color:#6b7787;font-size:12px;letter-spacing:0;text-transform:none;font-weight:700}td{height:48px;max-width:30ch}.empty-cell{padding:30px;color:#7f929c;text-align:center}.status{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;justify-content:center;min-width:68px;min-height:26px;height:26px;line-height:18px;white-space:nowrap;vertical-align:middle}.stock-status{width:76px;min-width:76px}.status.confirmed,.status.receipt,.status.paid,.status.active,.status.normal{color:#0f6a55;background:#ddf7ee}.status.draft{color:#7a5a14;background:#fff3cc}.status.warning{color:#a14c13;background:#fff0e5}.status.refunded,.status.refund{color:#8d2f55;background:#fde7f0}.status.waived,.status.waive{color:#44566c;background:#e8edf3}.status.adjustment{color:#6951a3;background:#eee8ff}.status.credit_apply{color:#0f6a55;background:#ddf7ee}.status.credit_return{color:#6951a3;background:#eee8ff}.customer-credit-toggle{display:inline-flex;align-items:center;gap:8px;margin:4px 0 12px}.customer-credit-toggle input{width:17px;height:17px;min-height:17px;flex:0 0 17px;margin:0;padding:0;accent-color:#16846f}.finance-log-table{min-width:1420px}.finance-log-table .finance-log-notes{min-width:260px;max-width:380px;white-space:normal;overflow-wrap:break-word}.positive,.positive-text{color:#108463;font-weight:800}.negative{color:#bd4040;font-weight:800}.muted-text,.section-caption span,.combobox-option span{color:#748293;font-size:12px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-grid article{padding:16px;border:1px solid #e0e8e8;border-radius:var(--radius-md);background:var(--surface);box-shadow:none}.metric-grid article span,.dashboard-card span{color:#687d87;font-size:12px;font-weight:600}.metric-grid article strong{margin-top:8px;font-size:24px;color:#19303a;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.metric-grid article.attention{border-color:#f1dece;background:#fffbf7}.filter-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;flex-wrap:wrap}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:14px}.pagination-summary{margin-right:auto;color:#667487;font-size:12px}.pagination-button{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid #d7dfe7;border-radius:8px;color:#27364a;background:var(--surface);cursor:pointer;font-size:13px}.pagination-button:hover:not(:disabled){border-color:#167b64;color:#167b64}.pagination-button:disabled,.date-picker-button:disabled{opacity:.45;cursor:not-allowed}.pagination-button.active{border-color:#167b64;background:#167b64;color:#fff}.pagination-ellipsis{color:#8a97a5;padding:0 2px}.search-field{position:relative;flex:1 1 14rem;max-width:28rem;min-width:12rem}.search-field svg{position:absolute;bottom:12px;left:12px;color:#7b8999}.search-field input{padding-left:38px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:18px;background:#07121e9e}.dialog{width:min(520px,100%);max-height:calc(100vh - 36px);overflow-y:auto;padding:24px;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-dialog);border:1px solid #e0e8e8}.return-dialog{width:min(780px,100%)}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:20px;padding:5px;border-radius:11px;background:#edf2f5}.mode-tabs button{min-height:38px;border:0;border-radius:8px;color:#607083;background:transparent;font-weight:800}.mode-tabs button.is-active{color:#0e6c56;background:var(--surface);box-shadow:0 3px 12px #122a421a}.section-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#27364a}.return-lines{display:grid;gap:9px}.return-line{display:grid;grid-template-columns:minmax(260px,1fr) 110px 130px;align-items:end;gap:12px;padding:13px;border:1px solid #e3ebeb;border-radius:12px;background:#f8faf9}.return-line.is-selected{border-color:#70cdb4;background:#f0fbf7}.return-selector{display:flex;align-items:center;gap:10px;align-self:center}.return-selector input{width:18px;height:18px}.return-selector small{display:block;margin-top:4px;color:#748293;font-weight:500}.line-reference{align-self:center;color:#607083;font-size:12px}.exchange-box{padding:15px;border:1px solid #d7e8e2;border-radius:var(--radius-md);background:#f5fbf9}.replacement-entry{display:grid;grid-template-columns:minmax(220px,1fr) 110px auto;align-items:end;gap:10px}.replacement-list{display:grid;gap:6px;margin-top:12px}.replacement-list>div{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:8px;background:var(--surface)}.action-row{display:flex;align-items:center;gap:8px}.customer-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.customer-toggle{align-self:end;white-space:nowrap}.inline-create{padding:16px;border:1px solid #b9e9da;border-radius:12px;background:#f3fcf9}.inline-create h3{margin:0 0 14px;color:#155e4e;font-size:15px}.searchable-select{position:relative;display:grid;gap:6px;min-width:0}.combobox-option.is-active{background:#e9f8f3}.combobox-options.searchable-select-options{position:fixed;top:auto;right:auto;bottom:auto;left:auto;z-index:80;overscroll-behavior:contain}.combobox-options{position:absolute;top:calc(100% + 5px);right:0;left:0;z-index:30;max-height:260px;overflow-y:auto;padding:6px;border:1px solid #ccd5df;border-radius:11px;background:var(--surface);box-shadow:0 14px 36px #122a4229}.combobox-option{display:grid;width:100%;gap:3px;padding:10px;border:0;border-radius:8px;color:#27364a;background:transparent;text-align:left}.combobox-option:hover,.combobox-option[aria-selected=true]{background:#e9f8f3}.combobox-empty{color:#748293;font-size:12px;padding:12px;text-align:center}.date-range{display:flex;align-items:flex-end;gap:10px;padding:0;border:#dfe8e7;border-radius:11px;background:transparent;box-shadow:none;flex-wrap:wrap}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-card{display:flex;align-items:center;justify-content:space-between;min-height:94px;padding:16px;border:1px solid #e0e8e8;border-radius:var(--radius-md);background:var(--surface);box-shadow:none}.dashboard-card strong{margin-top:8px;font-size:23px;color:#19303a;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.dashboard-card svg{color:#27927a;opacity:.85}.rank-list>div{display:grid;grid-template-columns:30px minmax(110px,.8fr) minmax(120px,2fr) 130px;align-items:center;gap:12px}.rank-index{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;color:#17765e;background:#e5f6ef;font-weight:900}.rank-bar{height:8px;overflow:hidden;border-radius:999px;background:#edf1f4}.rank-bar i{display:block;height:100%;border-radius:inherit;background:#2aa485}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.preset-row{display:flex;gap:8px;margin-right:auto}.login-page{display:grid;min-height:100vh;place-items:center;padding:20px;background:radial-gradient(circle at 20% 10%,#254c50,#0c202a 66%)}.login-card{width:min(430px,100%);padding:34px;border:1px solid rgba(178,224,213,.16);border-radius:24px;color:#eaf2f7;background:#0f252ef0;box-shadow:0 30px 90px #00000059}.login-card h1{color:#fff}.login-card p{color:#acc0c5;line-height:1.6}.login-card .brand-mark{margin-bottom:24px}.loading-card{padding:22px 28px;border-radius:14px;color:#dcebf1;background:#ffffff14}.logout-button{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;padding:9px;border:0;border-radius:9px;color:#aebfca;background:transparent}.logout-button:hover{color:#fff;background:#ffffff14}.nav-item svg{flex:none;opacity:.88}.nav-item.is-active svg{color:#91e6cb;opacity:1}input:hover,select:hover,textarea:hover{border-color:#adc6c6}.secondary-button:hover{border-color:#83b8aa;background:#f2faf7}.text-button:hover{color:#0c624f;background:#eef8f4}button:focus-visible,.nav-item:focus-visible{outline:3px solid #55c8a5;outline-offset:2px}.panel tbody tr:hover{background:#f7fbf9}.skeleton{position:relative;overflow:hidden;border-radius:var(--radius-sm);background:#e6edef}.skeleton:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);animation:skeleton-sweep 1.4s ease-in-out infinite}.form-stack>.primary-button{justify-self:start}input::placeholder,textarea::placeholder{color:#60737d;opacity:1}::selection{color:#0d3830;background:#c6ecde}.numeric-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:1%;min-width:84px}.date-cell{white-space:nowrap;font-variant-numeric:tabular-nums;width:1%;min-width:110px}.status-cell{text-align:center;white-space:nowrap;width:1%;min-width:88px}.action-cell{width:1%;white-space:nowrap;min-width:0}.action-cell .action-row{flex-wrap:nowrap}.status.unpaid,.status.partial{color:#845211;background:#fff1d6}.status.inactive{color:#4c5b65;background:#e8edf1}.filter-row>label,.filter-row>.date-field{flex:0 1 10.5rem;min-width:0}.filter-row>.sort-field{flex:0 1 14rem}.filter-row>.search-field{padding-top:26px}.filter-row>.search-field:only-child{padding-top:0}.date-range>.date-field{width:160px}.date-field{display:grid;gap:7px;min-width:0}.date-control{display:block;position:relative}.date-control>input[type=text]{padding-right:42px;font-variant-numeric:tabular-nums}.date-picker-button{position:absolute;right:1px;top:1px;height:38px;width:38px;display:grid;place-items:center;border:0;border-left:1px solid var(--line);background:transparent;color:var(--brand-primary);border-radius:0 7px 7px 0}.date-calendar-native{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;pointer-events:none;right:0;bottom:0}.field-error{margin:0;color:#a72e2e;font-size:12px;line-height:1.55;font-weight:500}.field-hint{margin:0 0 10px;color:var(--ink-muted);font-size:12px;line-height:1.6}[aria-invalid=true]{border-color:var(--danger)}.rank-list b{text-align:right;font-variant-numeric:tabular-nums}@media print{:root{font-size:16px;line-height:normal}body{background:var(--surface)}.no-print,.sidebar,.mobile-bar,.main-content>:not(.workspace-page){display:none}.main-content{margin:0;padding:0}}@media screen and (max-width:860px){.mobile-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 16px;color:#fff;background:#102731}.sidebar{transform:translate(-100%);transition:transform .2s ease;width:min(280px,82vw);padding-top:20px}.sidebar.is-open{transform:translate(0)}.main-content{margin-left:0;padding:22px 16px 36px}.page-card,.date-calendar-native{min-height:0}.three-columns,.four-columns,.two-columns,.line-item,.return-line,.replacement-entry,.analytics-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr;gap:10px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rank-list>div{grid-template-columns:30px 1fr}.rank-bar{grid-column:2}.page-heading{align-items:stretch;flex-direction:column;min-height:auto;gap:14px}.workspace-page{gap:16px}.heading-icon{align-self:flex-end;display:none}.page-heading h1{font-size:24px}.panel{padding:18px 16px}.dashboard-card{min-height:105px;padding:15px}.dashboard-card strong{font-size:20px}.dashboard-card svg{width:18px}.panel-heading{align-items:flex-start}.action-row{flex-wrap:wrap}.mobile-bar .icon-button{border:0;color:inherit;background:#ffffff14}.filter-row>.search-field,.filter-row>.sort-field{grid-column:1 / -1;max-width:none;min-width:0;width:100%;padding-top:0}.preset-row{grid-column:1 / -1;max-width:none;min-width:0;width:100%;padding-top:0;flex-wrap:wrap}.date-range>.date-field{width:auto}.primary-button,.secondary-button,.text-button,.danger-button,.icon-button,.pagination-button,input,select{min-height:44px}.date-picker-button{min-height:44px;height:44px;width:44px;top:0;right:0}.panel-heading .sort-field{width:100%}.icon-button,.pagination-button{min-width:44px}.nav-item{min-height:44px}.date-control>input[type=text]{padding-right:48px}.stock-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-summary article{padding:12px 8px;min-height:84px}.stock-summary strong{font-size:20px;overflow-wrap:anywhere}}@media screen and (max-width:1180px)and (min-width:861px){.dashboard-grid,.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:370px){.dashboard-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.nav-item,.primary-button,.secondary-button,.text-button,.danger-button,input,select,textarea{transition:none}.skeleton:after{animation:none}}@keyframes skeleton-sweep{to{transform:translate(100%)}}.form-stack>.panel-heading{margin-bottom:0}:root{--brand-primary: #176047;--brand-primary-hover: #104b39;--brand-accent: #cfdfab;--brand-accent-soft: #e8efe1;--sidebar-start: #152f28;--sidebar-end: #152f28;--ink: #25332c;--ink-strong: #182b23;--ink-muted: #55665c;--surface: #fffefa;--bg: #f4f5ef;--line: #dce3d9;--sidebar-width: 224px;--shadow-card: 0 2px 3px rgb(21 47 40 / 4%)}:focus-visible{outline:2px solid #257559;outline-offset:3px}[hidden]{display:none!important}::selection{color:#163a2d;background:#dce9bf}.skip-link{position:fixed;inset:8px auto auto 12px;z-index:100;transform:translateY(-150%);padding:9px 12px;border-radius:7px;background:var(--surface);color:var(--ink)}.skip-link:focus{transform:none}.sidebar{width:var(--sidebar-width);padding:22px 14px 14px;color:#eef3e9;background:var(--sidebar-start);box-shadow:none}.brand-block{gap:10px;margin:0 2px 11px;padding:0 7px 18px;border-bottom:1px solid #354d44}.brand-mark{width:37px;height:37px;flex:0 0 37px;color:#182b23;background:var(--brand-accent);border-radius:9px;font-size:22px}.brand-block strong{font-size:15px;letter-spacing:-.02em}.brand-block span{color:#becbc0;font-size:11px}.workspace-nav{display:block;margin:0 -3px 12px;padding:0 3px 4px}.nav-group+.nav-group{margin-top:13px}.nav-group p{margin:0 0 5px;padding-inline:9px;color:#b9c8bd;font-size:11px;font-weight:650}.nav-item{min-height:37px;padding:7px 9px;border-radius:7px;color:#e0e9df;font-size:13px;gap:9px}.nav-item+.nav-item{margin-top:3px}.nav-item:hover{color:#fff;background:#2b493e}.nav-item.is-active{color:#f8fbed;background:#335347;box-shadow:inset 2px 0 #ccdda9}.nav-item.is-active svg{color:#d5e5b2}.sidebar-account{display:flex;gap:6px;align-items:center;margin-top:auto;border-top:1px solid #354d44;padding:12px 4px 0}.connection-status{flex:1;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}.connection-status strong{font-size:12px}.connection-status span{margin-top:2px;color:#b9c8bd;font-size:11px;overflow-wrap:anywhere}.connection-status .connection-dot{width:7px;height:7px;flex:0 0 7px;margin:0;border-radius:50%;background:#c7dea1}.logout-button{flex:0 0 36px;min-width:36px;min-height:36px;padding:0;margin:0;color:#d3ddd3;border:1px solid #456153}.sidebar-error{color:#ffd9cf;margin:8px 3px 0;font-size:12px}.workspace-container{margin-left:var(--sidebar-width);min-width:0}.workspace-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:10px clamp(22px,3vw,42px);border-bottom:1px solid var(--line);color:var(--ink-muted);background:var(--surface);font-size:12px}.workspace-path,.workspace-context{display:flex;gap:8px;align-items:center;min-width:0}.workspace-path strong{color:var(--ink-strong)}.workspace-context svg{color:#3f6b58}.role-label{margin-left:6px;padding-left:12px;border-left:1px solid var(--line)}.main-content{margin:0 auto;padding:28px clamp(22px,3vw,42px) 44px;max-width:1720px;min-height:calc(100vh - 54px)}.main-content:focus,#report-title:focus{outline:none}.menu-scrim{display:none}.workspace-page{gap:20px}.page-heading{padding:0 0 5px;gap:16px;align-items:flex-end}.page-heading h1{color:var(--ink-strong);font-size:clamp(25px,2.2vw,32px);font-weight:720;line-height:1.2;margin-bottom:8px}.page-heading p,.panel-heading p{color:var(--ink-muted);margin:0;font-size:13px;line-height:1.7}.panel-heading p{margin-top:4px}.heading-icon{display:none}.panel{border-color:var(--line);border-radius:12px;padding:clamp(16px,1.7vw,24px);box-shadow:var(--shadow-card)}.panel-heading{gap:12px 16px;margin-bottom:15px}.panel-heading h2{color:var(--ink-strong);font-size:17px;line-height:1.35}.panel-heading h2 svg{margin-right:8px;vertical-align:-.16em;color:#3d7059}.panel-heading>span{color:var(--ink-muted)}label{color:#3c5044}input,select,textarea{border-color:#cdd8cd;color:#21352b}input:hover,select:hover,textarea:hover{border-color:#8ba897}input:focus,select:focus,textarea:focus{border-color:#3e8061}input::placeholder,textarea::placeholder{color:#5f7066}.line-item,.return-line{background:#f7f8f2;border-color:#dee6d8}.line-item{grid-template-columns:minmax(140px,2fr) minmax(62px,.6fr) minmax(85px,.8fr) auto}.return-line{grid-template-columns:minmax(160px,1fr) minmax(65px,100px) minmax(75px,120px)}.replacement-entry{grid-template-columns:minmax(145px,1fr) minmax(64px,100px) auto}.action-row{flex-wrap:wrap}.action-cell .action-row{flex-wrap:wrap;min-width:150px}button:disabled{cursor:not-allowed;opacity:.55}.secondary-button{border-color:#cad8cd;color:#234233}.secondary-button:hover:not(:disabled){border-color:#7e9f8c;background:#eef3e8}.primary-button:hover:not(:disabled){box-shadow:none}.text-button{color:#176047}.date-picker-button{color:#265843}.notice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;overflow-wrap:anywhere}.notice p{margin:0}.notice-error,.notice[role=alert]{color:#7d2d25;border-color:#e4c3ba;background:#fff3ec}.loading-state{margin:0;color:var(--ink-muted)}.table-wrap{scrollbar-color:#8ba897 #eef1ea}.table-wrap:focus-visible{outline-offset:0}th,td{border-color:#e2e7de;min-width:109px}th{background:#eef2e9;color:#455b4e;padding-block:10px}th:first-child{border-radius:6px 0 0 6px}th:last-child{border-radius:0 6px 6px 0}.panel tbody tr:hover{background:#f4f6ed}.empty-cell{color:var(--ink-muted)}.status{font-size:12px}.muted-text,.section-caption span,.combobox-option span{color:var(--ink-muted)}.metric-grid article,.dashboard-card{border-color:var(--line)}.metric-grid article span,.dashboard-card span{color:var(--ink-muted)}.dialog-backdrop{align-items:center;padding:16px;background:#0f201994}.dialog{max-height:calc(100dvh - 32px);overscroll-behavior:contain;border-color:var(--line)}.dialog .panel-heading{align-items:flex-start}.mode-tabs{background:#ecf1e7}.mode-tabs button.is-active{color:#174f3c;box-shadow:0 1px 3px #152f281f}.quote-preview{background:#e6ebe3}.preview-actions{flex-wrap:wrap}.overview-layout{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);gap:20px;align-items:start}.overview-layout>.panel{height:100%}.revenue-overview{background:#edf1e1;border-color:#d8e4cc}.revenue-overview>p{margin:16px 0 0;color:#485e4f;font-size:12px}.sales-overview{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.sales-overview>.ledger-featured{grid-column:1 / -1;margin-bottom:10px}.ledger-entry{min-width:0}.ledger-link,.ledger-static{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;width:100%;min-height:55px;padding:9px 7px;border:0;border-radius:7px;background:transparent;color:var(--ink-strong);text-align:left}.ledger-link:hover,.rank-row:hover{background:#e3edda}.ledger-link svg{color:#34674f;justify-self:end}.ledger-link strong,.ledger-static strong,.report-ledger strong,.report-total strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ledger-link span,.ledger-static span{color:var(--ink-muted);font-size:12px}.sales-overview .ledger-link,.sales-overview .ledger-static{grid-template-columns:minmax(0,1fr) auto;padding-inline:8px}.sales-overview .ledger-entry>*>strong{grid-column:1;grid-row:2;font-size:clamp(17px,2vw,24px);line-height:1.3}.sales-overview .ledger-entry>*>svg{grid-column:2;grid-row:1 / 3}.sales-overview .ledger-featured strong{font-size:clamp(31px,4.1vw,51px);letter-spacing:-.05em}.balance-overview .ledger-link,.stock-overview .ledger-link{grid-template-columns:minmax(0,1fr) auto 16px}.report-ledger>div+div{border-top:1px solid var(--line)}.report-ledger>div:not(.ledger-entry),.report-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 4px}.report-ledger>div:not(.ledger-entry) span,.report-total span{color:var(--ink-muted)}.report-total{margin-bottom:14px;align-items:center;justify-content:start;padding:9px 13px;border-radius:8px;background:#ecf2e6}.report-total strong{font-size:19px}.rank-list{gap:4px}.rank-row{display:grid;grid-template-columns:27px minmax(62px,1fr) minmax(24px,1fr) minmax(58px,auto) 16px;width:100%;align-items:center;gap:9px;min-height:42px;text-align:left;color:var(--ink);border:0;border-radius:7px;background:transparent;padding:5px}.rank-row>strong{overflow-wrap:anywhere}.rank-index{background:#eaf0e6;color:#335c47;font-size:12px}.rank-bar{display:block;height:6px;background:#e3eadf}.rank-bar i{background:#568e6b}.rank-row svg,.report-row-link svg{color:#417057}.overview-analysis{margin-top:10px}.analytics-content{display:grid;min-width:0;gap:20px}.analytics-filter{margin-bottom:0;align-items:flex-end}.preset-row button[aria-pressed=true]{color:#1a5038;background:#e8efe1;border-color:#a4bb9e}.analytics-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.analytics-grid table th:first-child{min-width:92px}.analytics-grid table .numeric-cell{min-width:65px}.analytics-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px 18px}.analytics-summary>div:not(.ledger-entry){display:grid;gap:4px;padding:2px 8px;border:0}.analytics-summary>div:not(.ledger-entry)+div{border-inline-start:1px solid var(--line)}.analytics-summary strong{font-size:24px}.report-row-link{display:inline-flex;gap:7px;align-items:center;border:0;padding:6px 0;background:none;color:#145239;text-align:start;font-weight:650}.report-row-link:hover{text-decoration:underline}.import-form{max-width:730px}.import-form input[type=file]{width:100%}.import-form input::file-selector-button{margin-right:10px;padding:5px 8px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:#edf2e8}.login-page{min-height:100dvh;background:#e9eee3}.login-layout{display:grid;width:min(790px,100%);grid-template-columns:minmax(200px,.9fr) minmax(320px,1.1fr);overflow:hidden;border-radius:16px;background:var(--surface);box-shadow:0 14px 50px #142f261f}.login-identity{min-height:350px;display:flex;flex-direction:column;gap:17px;padding:clamp(24px,4vw,46px);color:#edf3e7;background:#193a2f}.login-identity strong,.login-identity span{display:block}.login-identity strong{font-size:clamp(25px,3vw,35px);line-height:1.15;letter-spacing:-.04em}.login-identity span{color:#cddacb;margin-top:4px}.login-location{display:flex;gap:8px;align-items:center;margin-top:auto;color:#ccdbcb;font-size:13px}.login-card{width:100%;color:var(--ink);padding:clamp(24px,4vw,46px);background:var(--surface);border:0;border-radius:0;box-shadow:none}.login-card h1{color:var(--ink-strong)}.login-card p{color:var(--ink-muted);margin:0 0 20px}.login-card .notice{margin-bottom:14px}.login-card .primary-button{min-height:44px;margin-top:4px;width:100%}.password-control{position:relative}.password-control input{padding-right:45px}.password-control button{position:absolute;right:4px;bottom:4px;border:0;width:33px;height:32px}.loading-card{color:var(--ink);background:var(--surface)}@media screen and (max-width:1120px){.analytics-grid{grid-template-columns:1fr}}@media screen and (max-width:860px){.mobile-bar{z-index:42;min-height:54px;color:#ebf3e7;background:var(--sidebar-start)}.mobile-bar>span{margin-left:auto;font-size:12px;color:#c6d8c9}.sidebar{z-index:41;position:fixed;inset:54px auto 0 0;width:min(265px,84vw);visibility:hidden}.sidebar.is-open{visibility:visible}.nav-item{min-height:44px}.menu-scrim{display:block;position:fixed;top:54px;right:0;bottom:0;left:0;z-index:40;background:#0f20197f}.workspace-container{margin:0}.workspace-bar{padding:6px 15px;min-height:40px}.workspace-context .role-label{display:none}.main-content{padding:20px 14px 36px}.workspace-page,.overview-layout,.analytics-content,.analytics-grid{gap:14px}.page-heading{align-items:stretch;padding-bottom:0}.page-heading>button{align-self:flex-start}.page-heading h1{font-size:26px}.line-item,.replacement-entry,.return-line{grid-template-columns:1fr}.return-selector input{min-height:18px}.overview-layout{grid-template-columns:minmax(0,1fr)}.rank-row{grid-template-columns:24px minmax(62px,1fr) minmax(25px,.6fr) auto 16px;gap:6px}.rank-bar{grid-column:auto}.table-wrap{scrollbar-width:auto}.pagination{flex-wrap:wrap;justify-content:flex-start}.pagination-summary{flex-basis:100%}.customer-field{grid-template-columns:minmax(0,1fr)}.customer-toggle{justify-self:start}.dialog-backdrop{padding:9px}.dialog{max-height:calc(100dvh - 18px);padding:16px}.password-control button{min-width:36px;min-height:36px}}@media screen and (max-width:580px){.analytics-summary{grid-template-columns:1fr;gap:8px}.analytics-summary>div:not(.ledger-entry)+div{border-inline-start:0;border-top:1px solid var(--line);padding-top:8px}.login-layout{grid-template-columns:minmax(0,1fr)}.login-identity{min-height:auto}.login-location{margin-top:0}}@media print{.workspace-container{margin:0}.workspace-bar,.skip-link,.menu-scrim{display:none}.main-content{max-width:none;padding:0}}.section-links{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:10px;background:#eaf0e6}.section-links a{padding:6px 10px;border-radius:6px;color:#234f3b;text-decoration:none;font-size:13px;font-weight:650}.section-links a:hover{background:var(--surface);text-decoration:underline}.workspace-page h2[id][tabindex="-1"]{scroll-margin-top:20px}.finance-receivable-intro h2{margin:0 0 6px;font-size:21px}.finance-receivable-intro p{margin:0}.cash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:10px 0;border:1px solid var(--line);border-radius:8px;background:#f3f6ed}.cash-metrics article{padding:4px 12px;border:0;border-radius:0;background:transparent}.cash-metrics article+article{border-inline-start:1px solid var(--line)}.cash-metrics article strong{margin-top:3px;font-size:clamp(13px,2vw,22px);overflow-wrap:anywhere}.cash-metrics article span{font-size:clamp(11px,1.5vw,13px)}.dialog:focus,.quote-preview:focus{outline:none}@media screen and (max-width:860px){.section-links a{display:flex;align-items:center;min-height:38px;padding-inline:8px}.workspace-page h2[id][tabindex="-1"]{scroll-margin-top:68px}.cash-metrics article{padding-inline:7px}}.report-refresh{width:40px;min-height:40px;padding:0}@media screen and (max-width:860px){.report-refresh{width:44px;min-height:44px}}@media screen and (min-width:375px)and (max-width:860px){.overview-page .date-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}}.sales-workspace{--sales-tint: #edf2e6;--sales-green: #28674e;--sales-deep: #163d31}.sales-content{display:grid;gap:18px;min-width:0}.sales-panel{min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-card);padding:clamp(16px,2vw,23px)}.sales-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.sales-panel-heading h2,.sales-trend>h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink-strong);font-size:17px}.sales-panel-heading h2 svg{color:var(--brand-primary)}.sales-panel-heading p{margin:4px 0 0;color:var(--ink-muted);font-size:12px}.sales-panel-heading .text-button{white-space:nowrap}.sales-filters{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 18px;padding-block:12px}.sales-date-controls{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:8px;align-items:flex-end}.sales-date-controls .date-field{width:143px}.sales-date-controls .date-control input{min-width:0;padding-right:31px}.sales-switch{align-self:flex-end;display:inline-flex;flex-wrap:wrap;flex:0 0 auto;gap:2px;padding:3px;border:1px solid #dfe6da;border-radius:9px;background:#f1f3ed}.sales-switch button{border:1px solid transparent;border-radius:6px;padding:6px 10px;color:var(--ink-muted);background:transparent;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.sales-switch button:hover{color:var(--ink-strong);background:#e9eee4}.sales-switch button[aria-pressed=true]{color:#14573e;border-color:#dbe5d7;background:#fffefa;box-shadow:0 1px 2px #1428170f}.sales-kpis{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:14px}.sales-kpi{display:grid;align-content:start;gap:8px;overflow-wrap:anywhere;min-width:0;min-height:142px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.sales-kpi>span{display:flex;align-items:center;gap:7px;color:var(--ink-muted);font-size:13px}.sales-kpi>span svg{flex:none;color:var(--sales-green)}.sales-kpi>strong{color:var(--ink-strong);font-size:clamp(24px,3.1vw,38px);font-weight:760;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1.12}.sales-kpi>small{color:var(--ink-muted)}.sales-kpi-net{position:relative;gap:9px;border-color:#174737;background:linear-gradient(117deg,#173d31,#24523f 68%,#345d3e);color:#f7f9ee}.sales-kpi-net>span{color:#d9e6d3}.sales-kpi-net>strong{color:#f9fae9}.sales-kpi-sources{display:flex;flex-wrap:wrap;gap:4px 12px;color:#d9e6d3;border-top:1px solid rgb(231 249 215 / 23%);padding-top:8px;font-size:11px}.sales-net-link{display:flex;gap:6px;align-items:center;justify-self:start;border:0;background:transparent;padding:0;color:#e2f0c8;font:inherit;font-size:12px;cursor:pointer}.sales-net-link:hover{text-decoration:underline}.sales-net-link:focus-visible{outline-color:#d8ebc1}.sales-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px}.sales-even-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;min-width:0;gap:16px}.sales-even-grid>.panel{min-width:0}.sales-trend{display:flex;flex-direction:column}.sales-chart{display:grid;grid-template-columns:minmax(46px,auto) minmax(0,1fr);grid-template-rows:clamp(145px,16vw,202px) auto;gap:5px 9px;padding:8px 0 12px}.sales-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--ink-muted);font-size:11px;font-variant-numeric:tabular-nums}.sales-chart-track{position:relative;display:grid;min-width:0;grid-template-columns:repeat(var(--period-count),minmax(0,1fr));align-items:stretch;background:repeating-linear-gradient(to bottom,#e7ede3 0 1px,transparent 1px 50%);border-bottom:1px solid #e7ede3}.sales-chart-track:after{content:"";position:absolute;inset:auto 0 var(--zero);height:1px;background:#dce6d8;pointer-events:none}.sales-chart-track button{position:relative;z-index:1;padding:0;min-width:0;border:0;border-radius:5px;background:transparent;cursor:pointer}.sales-chart-track button:hover,.sales-chart-track button.selected{background:#2d745014}.sales-chart-track button span{position:absolute;left:50%;transform:translate(-50%);min-width:1px;width:min(74%,36px);border-radius:3px 3px 0 0;background:#82a78a}.sales-chart-track button.selected span{background:#24644b}.sales-chart-dates{display:flex;grid-column:2;justify-content:space-between;color:var(--ink-muted);font-size:11px}.sales-chart-selection{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 12px;padding-top:12px;border-top:1px solid var(--line);margin-top:auto}.sales-chart-selection label{display:grid;gap:3px;color:var(--ink-muted);min-width:0;font-size:12px}.sales-chart-selection select{min-width:0;max-width:100%;padding-block:6px}.sales-chart-result{display:grid;gap:2px;margin-right:auto;color:var(--ink-muted);font-size:11px}.sales-chart-result strong{color:var(--ink-strong);font-size:15px;font-variant-numeric:tabular-nums}.sales-top-rows{display:grid;gap:0}.sales-top-row{width:100%;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:4px 9px;text-align:start;align-items:center;border:0;border-top:1px solid #e9ede3;border-radius:0;padding:10px 0 8px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}.sales-top-row:hover{background:#f3f6ee}.sales-top-name{display:grid;gap:1px;min-width:0;overflow-wrap:anywhere;font-size:13px}.sales-top-name span{color:var(--ink-muted);font-size:11px}.sales-top-value{font-size:13px;color:var(--ink-strong);font-variant-numeric:tabular-nums}.sales-rank-number{display:grid;place-items:center;width:21px;height:21px;color:#26563d;background:var(--sales-tint);border-radius:5px;font-size:11px;font-weight:700}.sales-top-bar{grid-column:2 / -1;height:3px;border-radius:2px;background:#edf0e8;overflow:hidden}.sales-top-bar i{display:block;height:100%;background:#7da68a;border-radius:inherit}.sales-top-row:first-child .sales-top-bar i{background:#377957}.sales-method{margin:0;padding:0 2px;color:var(--ink-muted);font-size:12px}.sales-empty{min-height:96px;display:grid;place-items:center;text-align:center;color:var(--ink-muted);margin:0}.sales-analysis-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:12px 18px;align-items:start}.sales-analysis-totals>div{display:grid;gap:5px;min-width:0;border-left:2px solid #dbe9d8;padding-left:10px}.sales-analysis-totals>div:first-child{border-color:#357753}.sales-analysis-totals span{color:var(--ink-muted);font-size:12px}.sales-analysis-totals strong{color:var(--ink-strong);font-size:clamp(17px,1.8vw,25px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sales-ranking-toolbar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin-bottom:13px}.sales-ranking-toolbar .search-field{flex:1 1 210px;max-width:365px;min-width:0}.sales-rankings .table-wrap table{min-width:600px}.sales-name-button{width:100%;justify-content:flex-start;gap:6px;text-align:start}.sales-name-button span{display:grid}.sales-name-button small{color:var(--ink-muted)}.sales-ranking-sources{display:grid;gap:1px;margin-top:3px;color:var(--ink-muted);font-size:11px}.sales-viewer-net summary{cursor:pointer;font-weight:700;color:var(--ink-strong)}.sales-viewer-net[open]>.sales-method{margin:11px 0}.sales-detail-total{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 15px;padding:12px 15px;margin-bottom:13px;border-radius:8px;background:var(--sales-tint)}.sales-detail-total strong{color:var(--sales-deep);font-size:20px;font-variant-numeric:tabular-nums}.sales-order-mobile-parties{display:none}.sales-order-link{text-align:start;overflow-wrap:anywhere}.sales-order-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}.sales-order-facts>div{min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#f6f8f0}.sales-order-facts dt{color:var(--ink-muted);font-size:12px}.sales-order-facts dd{margin:3px 0 0;color:var(--ink-strong);font-weight:700;overflow-wrap:anywhere}.sales-order-note{color:var(--ink-muted);white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1160px){.sales-kpis{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr))}.sales-kpi{padding:14px}.sales-main-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}@media(max-width:750px){.sales-main-grid,.sales-even-grid{grid-template-columns:minmax(0,1fr)}.sales-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sales-kpi-net{grid-column:1 / -1}.sales-kpi:not(.sales-kpi-net){min-height:94px;padding:11px 8px}.sales-kpi>span{font-size:11px;gap:4px}.sales-kpi>span svg{width:13px}.sales-kpi>strong{font-size:25px}.sales-kpi-net>strong{font-size:34px}.sales-filters{align-items:stretch}.sales-date-controls{flex:1 1 100%}.sales-date-controls .date-field{flex:1 1 120px;min-width:min(120px,100%)}.sales-order-table{min-width:0}.sales-order-table .sales-order-extra{display:none}.sales-order-mobile-parties{display:grid;gap:2px;color:var(--ink-muted);font-size:11px;overflow-wrap:anywhere}.sales-order-table th,.sales-order-table td{padding:7px 5px;vertical-align:top}.sales-order-table .action-cell .action-row{justify-content:flex-start}.sales-order-table .action-cell button{font-size:11px;white-space:normal;padding-inline:5px;min-height:26px}.sales-order-table .action-cell button svg{display:none}.sales-order-table .action-cell,.sales-order-table .numeric-cell{min-width:0}}.quote-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;overflow-y:auto;padding:24px;background:#eef2f5}.preview-actions{display:flex;justify-content:flex-end;gap:10px;width:min(850px,100%);margin:0 auto 14px}.quote-preview-paper{overflow-x:auto;padding-bottom:16px}.quote-print{width:min(850px,100%);min-width:740px;min-height:1000px;margin:0 auto;padding:44px;color:#182934;background:#fff;box-shadow:0 12px 32px #0d21361f;font:10.5pt/1.5 Inter,Microsoft YaHei,system-ui,sans-serif;overflow-wrap:anywhere}.quote-print p{margin:0}.quote-document-header{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:16px;border-bottom:2px solid #214848}.quote-document-header h2{margin:0 0 6px;color:#173b3a;font-size:22pt;line-height:1.18}.quote-document-header h2 span{display:block;margin-top:4px;font-size:13pt;font-weight:500}.quote-reference{min-width:0;max-width:52%;text-align:right}.quote-reference>strong{display:block;margin:2px 0 4px;font-size:13pt;font-variant-numeric:tabular-nums}.quote-reference time,.quote-terms time{margin-inline-start:4px}.quote-label{color:#445962;font-size:9pt;font-weight:600}.quote-parties,.quote-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.quote-parties{margin:16px 0 22px}.quote-parties strong{display:block}.quote-preserve-lines{white-space:pre-wrap}.quote-items{width:100%;table-layout:fixed;border-collapse:collapse;font:inherit}.quote-line-number{width:4%}.quote-product{width:45%}.quote-quantity{width:11%}.quote-price,.quote-amount{width:20%}.quote-items th,.quote-items td{min-width:0;max-width:none;height:auto;padding:8px 7px;border-bottom:1px solid #d7e2e3;background:transparent;color:inherit;font-size:inherit;letter-spacing:normal;text-align:left;text-transform:none;vertical-align:top;white-space:normal;word-break:normal}.quote-items thead th{border-top:1px solid #9db2b5;border-bottom-color:#9db2b5;background:#edf3f3;color:#27454b;font-size:9pt;font-weight:650}.quote-items thead th span{display:block;font-weight:500}.quote-items .quote-number{text-align:right;font-variant-numeric:tabular-nums}.quote-items .quote-line-index{padding-inline:5px 0;white-space:nowrap}.quote-items td.quote-number{padding-inline:3px;font-size:9pt;white-space:nowrap}.quote-model{display:block}.quote-print .quote-description{font-weight:400;orphans:2;widows:2}.quote-model+.quote-description,.quote-description+.quote-description{margin-top:4px}.quote-items tfoot th,.quote-items tfoot td{border-top:1px solid #80999c;border-bottom:0;padding-top:11px;font-weight:700}.quote-items tfoot th{text-align:right}.quote-terms{margin-top:18px;padding-top:14px;border-top:1px solid #d7e2e3}.quote-print .quote-notes{margin-top:6px}.quote-notes>span{display:block}.quote-signatures{margin-top:30px}.quote-signatures>span{padding-top:6px;border-top:1px solid #80999c;font-size:9pt}@media screen and (max-width:700px){.quote-preview{padding:12px}.quote-print{padding:24px}}@page quotation{size:A4 portrait;margin:14mm 13mm 15mm;@top-left{content:""}@top-center{content:""}@top-right{content:""}@bottom-left{content:""}@bottom-center{content:""}@bottom-right{content:counter(page) " / " counter(pages);color:#445962;font:8pt Segoe UI,sans-serif}}@media print{html:has(>body>.quote-preview),body:has(>.quote-preview){background:#fff}body:has(>.quote-preview)>:not(.quote-preview),.quote-preview>.preview-actions{display:none}.quote-preview,.quote-preview-paper{position:static;overflow:visible;padding:0;background:#fff}.quote-print{page:quotation;width:100%;min-width:0;min-height:0;padding:0;box-shadow:none}.quote-document-header,.quote-parties,.quote-items .quote-short-row,.quote-items tfoot,.quote-signatures{break-inside:avoid}.quote-model{break-after:avoid}.quote-items thead{display:table-header-group}.quote-items tfoot{display:table-row-group}.quote-items tbody tr:last-child,.quote-terms>p:first-child{break-after:avoid}.quote-terms,.quote-signatures{break-before:avoid}}
