/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}@media print{html,body{background:#fff!important;min-height:0!important;margin:0!important;overflow:visible!important}.app-shell{min-height:0!important}.app-shell>:not(.receipt-wrap){display:none!important}.receipt-wrap{background:#fff!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;display:block!important;position:static!important;inset:auto!important;overflow:visible!important}.receipt-wrap .modal-backdrop,.receipt-actions,.signature-panel{display:none!important}.receipt-modal{width:100%!important;max-height:none!important;display:block!important;position:static!important;overflow:visible!important}.receipt{-webkit-print-color-adjust:exact;print-color-adjust:exact;width:100%!important;height:auto!important;min-height:0!important;box-shadow:none!important;color:#17231e!important;background:#fff!important;padding:20px 30px!important;display:block!important;position:static!important;inset:auto!important;overflow:visible!important}.receipt header,.receipt-meta,.receipt-total,.receipt footer,.receipt-signature,.receipt tr{break-inside:avoid;page-break-inside:avoid}.receipt footer{margin-top:35px}.receipt-signature .signature-canvas{display:block!important}@page{size:A4;margin:10mm}}.analytics-page{padding-bottom:54px}.analytics-title{gap:18px}.analytics-title>div:first-child{min-width:0}.page-title-actions{align-items:center;gap:8px;display:flex}.secondary-action{color:var(--green);background:#fff;border:1px solid #cdd9d3;border-radius:8px;align-items:center;gap:7px;padding:11px 15px;font-size:11px;font-weight:700;display:inline-flex}.secondary-action:hover{background:#edf5f1}.date-range-filter{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:15px;margin-bottom:16px;padding:13px 14px;display:flex;box-shadow:0 5px 18px #182b2306}.date-range-context{min-width:160px;color:var(--green);align-items:center;gap:9px;display:flex}.date-range-context>span,.date-range-context b,.date-range-context small{display:block}.date-range-context b{font-size:11px}.date-range-context small{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:8px}.date-range-presets{border-right:1px solid var(--line);gap:4px;padding-right:13px;display:flex}.date-range-presets button{color:#66736d;white-space:nowrap;background:#f2f5f3;border:0;border-radius:20px;min-height:32px;padding:0 12px;font-size:9px;font-weight:700}.date-range-presets button.active{background:var(--green);color:#fff}.date-range-custom{align-items:end;gap:7px;margin-left:auto;display:flex}.date-range-custom label>span{color:#707d76;margin-bottom:4px;font-size:8px;font-weight:700;display:block}.date-range-custom input{width:137px;height:34px;color:var(--ink);background:#fff;border:1px solid #dce3df;border-radius:6px;padding:0 7px;font-size:10px}.date-range-custom>i{color:#9aa49f;margin-bottom:11px;font-size:9px;font-style:normal}.date-range-apply{background:var(--green);color:#fff;border:0;border-radius:6px;align-items:center;gap:6px;height:34px;padding:0 12px;font-size:9px;font-weight:700;display:flex}.date-range-apply:disabled{opacity:.65}.analytics-error{color:#a14943;background:#fae9e7;border:1px solid #edc9c5;border-radius:8px;margin-bottom:15px;padding:11px 13px;font-size:10px}.analytics-loading{min-height:150px;color:var(--muted);place-items:center;font-size:11px;display:grid}.analytics-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;display:grid}.analytics-kpi{appearance:none;border:1px solid var(--line);text-align:left;width:100%;min-width:0;min-height:118px;color:var(--ink);background:#fff;border-top:3px solid #2c775a;border-radius:11px;align-items:flex-start;gap:12px;padding:17px;display:flex}.analytics-kpi.gold{border-top-color:#b88940}.analytics-kpi.blue{border-top-color:#55779e}.analytics-kpi.orange{border-top-color:#ac6846}.analytics-kpi.interactive{cursor:pointer;transition:all .15s}.analytics-kpi.interactive:hover{box-shadow:var(--shadow);border-bottom-color:#cad7d1;border-left-color:#cad7d1;border-right-color:#cad7d1;transform:translateY(-2px)}.analytics-kpi-icon{color:#247052;background:#e7f1ec;border-radius:9px;flex:0 0 35px;place-items:center;width:35px;height:35px;display:grid}.analytics-kpi.gold .analytics-kpi-icon{color:#a57428;background:#f6eddd}.analytics-kpi.blue .analytics-kpi-icon{color:#52759c;background:#e7eef5}.analytics-kpi.orange .analytics-kpi-icon{color:#a7603f;background:#f7ebe5}.analytics-kpi-icon svg{width:17px}.analytics-kpi>div{min-width:0}.analytics-kpi small{color:var(--muted);font-size:9px;font-weight:700;display:block}.analytics-kpi strong{letter-spacing:-.02em;text-overflow:ellipsis;margin:7px 0 5px;font-size:20px;line-height:1.1;display:block;overflow:hidden}.analytics-kpi p{color:#87928d;margin:0;font-size:8px;line-height:1.45}.analytics-panel{border:1px solid var(--line);background:#fff;border-radius:12px;margin-bottom:14px;overflow:hidden}.analytics-panel>header{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:center;gap:12px;min-height:67px;padding:14px 17px;display:flex}.analytics-panel>header h2{margin:0 0 4px;font-size:14px}.analytics-panel>header p{color:var(--muted);margin:0;font-size:9px;line-height:1.45}.analytics-panel>header>svg{color:#879c92;width:19px}.source-chip{white-space:nowrap;color:#376c56;background:#edf5f1;border-radius:20px;padding:5px 8px;font-size:8px;font-weight:700}.source-chip.warning{color:#946526;background:#f8eddb}.analytics-two-column{grid-template-columns:1fr 1fr;gap:14px;display:grid}.trend-chart-wrap{padding:7px 15px 13px;overflow:hidden}.trend-chart{width:100%;height:auto;max-height:330px;display:block}.chart-grid{stroke:#e7ece9;stroke-width:1px}.chart-axis-label,.chart-x-label{fill:#84908a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.chart-area{fill:#dcece4;stroke:none}.chart-line{fill:none;stroke:#246b53;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.chart-point{fill:#fff;stroke:#246b53;stroke-width:3px}.chart-empty{text-align:center;color:#87928d;flex-direction:column;justify-content:center;align-items:center;min-height:225px;padding:25px;display:flex}.chart-empty.compact{min-height:130px}.chart-empty b{color:#6e7b75;font-size:12px}.chart-empty span{max-width:420px;margin-top:5px;font-size:9px;line-height:1.5}.ranked-bars{padding:13px 17px 17px}.ranked-row{border-bottom:1px solid #f0f2f0;grid-template-columns:23px minmax(130px,1.25fr) minmax(70px,1fr) auto;align-items:center;gap:9px;min-height:48px;display:grid}.ranked-row:last-child{border-bottom:0}.rank-number{color:#5f7469;background:#eef3f0;border-radius:50%;place-items:center;width:19px;height:19px;font-size:7px;font-weight:800;display:grid}.rank-label{min-width:0}.rank-label b,.rank-label small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.rank-label b{font-size:10px}.rank-label small{color:var(--muted);margin-top:3px;font-size:8px}.rank-track{background:#edf1ef;border-radius:8px;height:7px;overflow:hidden}.rank-track i{background:#34775d;border-radius:8px;height:100%;display:block}.ranked-bars.gold .rank-track i{background:#b88940}.ranked-bars.blue .rank-track i{background:#5b7d9f}.ranked-row>strong{text-align:right;min-width:75px;font-size:9px}.channel-panel{max-width:900px}.metric-notes{color:#5f6f67;background:#edf2ef;border:1px solid #dce4df;border-radius:9px;font-size:9px}.metric-notes summary{cursor:pointer;padding:11px 13px;font-weight:700}.metric-notes ul{margin:0;padding:0 30px 13px;line-height:1.65}.compact-kpis .analytics-kpi{min-height:105px}.analytics-detail-table{border-radius:11px}.detail-limit-note{color:var(--muted);margin:8px 3px;font-size:8px}.operations-flow{color:#fff;background:#173f32;border-radius:12px;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:14px;margin:0 0 14px;padding:15px 20px 19px;display:grid;position:relative;overflow:hidden}.operations-flow>span{text-align:center}.operations-flow>span b,.operations-flow>span small{display:block}.operations-flow>span b{font-size:22px}.operations-flow>span small{color:#b7cbc2;margin-top:3px;font-size:8px}.operations-flow>i{color:#78998b;font-style:normal}.operations-flow>div{background:#0e3025;height:5px;position:absolute;bottom:0;left:0;right:0}.operations-flow>div i{background:#c5a767;height:100%;display:block}.customer-segments-panel,.customer-ranking-panel{min-height:430px}.segment-bars{padding:15px 18px 8px}.segment-bars>div{grid-template-columns:110px 1fr;align-items:center;gap:10px;min-height:43px;display:grid}.segment-bars span{justify-content:space-between;gap:6px;display:flex}.segment-bars span b{font-size:9px}.segment-bars span small{color:var(--muted);font-size:8px}.segment-bars>div>i{background:#edf1ef;border-radius:9px;height:9px;overflow:hidden}.segment-bars em{background:#34775d;border-radius:9px;min-width:2px;height:100%;display:block}.segment-rules{color:#68766f;background:#f6f8f6;border-radius:8px;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0 18px 16px;padding:10px 12px;font-size:8px;display:grid}.segment-rules span{gap:5px;display:flex}.segment-rules b{color:#334b40}.unlinked-sales{color:#805f30;background:#f8f1e6;border-radius:7px;margin:0 17px 15px;padding:9px 11px;font-size:8px;line-height:1.5}.operations-table-panel{margin-top:0}.analytics-table-wrap{overflow:auto}.analytics-table-wrap table{border-collapse:collapse;width:100%;font-size:10px}.analytics-table-wrap th{white-space:nowrap;text-align:left;color:#738078;border-bottom:1px solid var(--line);background:#f8f9f7;padding:10px 12px;font-size:8px}.analytics-table-wrap td{vertical-align:middle;border-bottom:1px solid #edf0ee;padding:11px 12px}.analytics-table-wrap td b,.analytics-table-wrap td small{display:block}.analytics-table-wrap td small{color:var(--muted);margin-top:3px;font-size:8px}.customer-tier{color:#4d685c;background:#edf3f0;border-radius:20px;padding:4px 7px;font-size:8px;font-weight:800;display:inline-block}.tier-大戶{color:#805c25;background:#efe6d5}.tier-中戶{color:#496c91;background:#e4edf5}.tier-小戶{color:#2a6f54;background:#e6f1eb}.shipment-preview,.procurement-status{min-height:310px}.operations-list button{text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:51px;padding:8px 17px;display:flex}.operations-list button:hover{background:#f8faf8}.operations-list span:last-child{text-align:right}.operations-list b,.operations-list strong{font-size:9px}.operations-list small{color:var(--muted);margin-top:3px;font-size:8px;display:block}.source-gap{color:#8a672e;align-items:flex-start;gap:13px;padding:24px 21px;display:flex}.source-gap>svg{flex:none}.source-gap b{font-size:12px;display:block}.source-gap p{color:#5e6e66;margin:7px 0;font-size:9px;line-height:1.6}.source-gap small{color:#85918b;font-size:8px;line-height:1.55;display:block}.accounting-section{margin-top:14px}.open-balance-section{margin-top:0}.tracking-page .date-range-filter{margin-bottom:14px}@media (width<=1180px){.date-range-filter{flex-wrap:wrap;align-items:flex-start}.date-range-custom{border-top:1px solid var(--line);justify-content:flex-end;width:100%;margin-left:0;padding-top:8px}.analytics-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-kpi{min-height:105px}.customer-segments-panel,.customer-ranking-panel{min-height:0}}@media (width<=850px){.analytics-title{flex-direction:column;align-items:flex-start!important}.analytics-title .page-title-actions{flex-wrap:wrap;width:100%}.analytics-title .primary,.analytics-title .secondary-action{justify-content:center}.analytics-two-column,.operations-main-grid,.operations-bottom-grid{grid-template-columns:1fr}.date-range-context{min-width:0}.date-range-presets{border-right:0;width:100%;padding-right:0;overflow:auto}.date-range-custom{justify-content:flex-start}.analytics-table-wrap table{min-width:760px}}@media (width<=600px){.analytics-page{padding:18px 12px 38px}.analytics-title{margin-bottom:16px}.analytics-title h1{font-size:25px}.analytics-title p{line-height:1.55}.analytics-title .page-title-actions{grid-template-columns:1fr 1fr;display:grid}.analytics-title>.primary,.analytics-title>.secondary-action{width:100%}.date-range-filter{gap:10px;padding:11px}.date-range-context{width:100%}.date-range-custom{grid-template-columns:1fr 12px 1fr;align-items:end;display:grid}.date-range-custom label{min-width:0}.date-range-custom input{width:100%;min-width:0}.date-range-custom>i{text-align:center;margin-bottom:12px}.date-range-apply{grid-column:1/-1;justify-content:center;width:100%;height:39px}.analytics-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.analytics-kpi{min-height:112px;padding:13px 11px;display:block}.analytics-kpi-icon{width:31px;height:31px;margin-bottom:9px}.analytics-kpi strong{font-size:17px}.analytics-panel>header{padding:12px 13px}.trend-chart-wrap{padding:5px 3px 10px}.trend-chart{min-width:600px}.wide-chart{overflow-x:auto}.wide-chart>header{position:sticky;left:0}.ranked-bars{padding:8px 12px 13px}.ranked-row{grid-template-columns:21px minmax(0,1fr) auto;gap:7px;padding:6px 0}.rank-track{grid-column:2/4;width:100%}.ranked-row>strong{min-width:60px}.operations-flow{grid-template-columns:1fr auto 1fr;gap:8px;padding:13px 8px 19px}.operations-flow>span:nth-of-type(3),.operations-flow>i:nth-of-type(2){display:none}.segment-bars{padding:12px}.segment-bars>div{grid-template-columns:92px 1fr}.segment-rules{grid-template-columns:1fr;margin:0 12px 13px}.operations-kpis .analytics-kpi{min-height:128px}.source-gap{padding:18px 14px}.metric-notes ul{padding-left:28px}.channel-panel{max-width:none}}.analytics-kpi.copper{border-top-color:#ac6846}.analytics-kpi.copper .analytics-kpi-icon{color:#a7603f;background:#f7ebe5}.segment-bars em{min-width:0}.order-tracking-list{grid-template-columns:1fr;gap:14px;display:grid}.order-tracking-card{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px #182b2306}.order-tracking-head{border-bottom:1px solid #e7ebe8;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px 18px;display:flex}.order-tracking-identity{min-width:0}.order-tracking-identity>span{color:var(--green);letter-spacing:.04em;font-size:9px;font-weight:850;display:block}.order-tracking-identity h2{margin:5px 0 4px;font-family:Noto Serif TC,Songti TC,serif;font-size:20px}.order-tracking-identity p{color:var(--muted);margin:0;font-size:8px}.order-tracking-total{text-align:right;white-space:nowrap}.order-tracking-total small,.order-tracking-total strong,.order-tracking-total span{display:block}.order-tracking-total small{color:var(--muted);font-size:8px}.order-tracking-total strong{color:var(--green);margin:3px 0;font-size:19px}.order-tracking-total span{color:#6e7b75;font-size:8px}.order-tracking-status-grid{background:#f7f9f7;border-bottom:1px solid #e5eae7;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.order-tracking-status-grid>section{border-right:1px solid #e3e8e5;align-items:flex-start;gap:8px;min-width:0;min-height:82px;padding:11px 12px;display:flex}.order-tracking-status-grid>section:last-child{border-right:0}.order-tracking-status-grid>section>span{color:#708078;background:#edf1ef;border-radius:8px;flex:0 0 29px;place-items:center;width:29px;height:29px;display:grid}.order-tracking-status-grid>section>span svg{width:14px}.order-tracking-status-grid>section>div{min-width:0}.order-tracking-status-grid small,.order-tracking-status-grid b,.order-tracking-status-grid em{display:block}.order-tracking-status-grid small{color:#75817b;margin-bottom:3px;font-size:7px}.order-tracking-status-grid b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.order-tracking-status-grid em{color:#7e8a84;margin-top:4px;font-size:7px;font-style:normal;line-height:1.35}.order-tracking-status-grid>section.is-done>span{color:#2d7055;background:#e3f0e9}.order-tracking-status-grid>section.is-progress>span,.order-tracking-status-grid>section.is-partial>span{color:#956a27;background:#f8eedb}.order-tracking-status-grid>section.is-pending>span{color:#a4544c;background:#f8e9e6}.order-tracking-cases{background:#fff;padding:12px 16px}.order-case-detail{background:#fff;border:1px solid #dfe6e2;border-radius:9px;margin-bottom:8px;overflow:hidden}.order-case-detail:last-child{margin-bottom:0}.order-case-detail>summary{cursor:pointer;background:#f5f8f6;grid-template-columns:minmax(170px,1fr) auto auto;align-items:center;gap:13px;min-height:69px;padding:10px 12px;list-style:none;display:grid}.order-case-detail>summary::-webkit-details-marker{display:none}.order-case-detail>summary>div:first-child{min-width:0}.order-case-detail>summary>div:first-child span,.order-case-detail>summary>div:first-child b,.order-case-detail>summary>div:first-child small{display:block}.order-case-detail>summary>div:first-child span{color:#317157;font-size:7px;font-weight:850}.order-case-detail>summary>div:first-child b{margin:3px 0;font-size:11px}.order-case-detail>summary>div:first-child small{color:var(--muted);font-size:7px}.order-case-summary-metrics{align-items:stretch;gap:5px;display:flex}.order-case-summary-metrics>span{background:#fff;border:1px solid #dce4df;border-radius:7px;min-width:80px;padding:6px 8px}.order-case-summary-metrics small,.order-case-summary-metrics b{display:block}.order-case-summary-metrics small{color:#7a8780;margin-bottom:3px;font-size:7px}.order-case-summary-metrics b{white-space:nowrap;font-size:8px}.order-case-summary-metrics b.is-done,.order-case-product-finance>span.is-done{color:#2d7055}.order-case-summary-metrics b.is-partial,.order-case-product-finance>span.is-partial{color:#946727}.order-case-summary-metrics b.is-pending,.order-case-product-finance>span.is-pending{color:#a6534c}.order-case-summary-metrics b.is-neutral,.order-case-product-finance>span.is-neutral{color:#75827b}.order-case-expand{color:#48675a;white-space:nowrap;align-items:center;gap:5px;display:flex}.order-case-expand em{font-size:8px;font-style:normal;font-weight:750}.order-case-expand svg{width:16px;transition:transform .15s}.order-case-detail[open] .order-case-expand svg{transform:rotate(180deg)}.order-case-products{border-top:1px solid #e2e8e4;padding:3px 11px}.order-case-product{border-bottom:1px solid #edf0ee;grid-template-columns:minmax(160px,1fr) auto minmax(210px,auto);align-items:center;gap:12px;min-height:73px;padding:9px 2px;display:grid}.order-case-product:last-child{border-bottom:0}.order-case-product-name{min-width:0}.order-case-product-name>span{color:#347058;background:#e8f1ec;border-radius:20px;margin-bottom:4px;padding:3px 6px;font-size:7px;font-weight:800;display:inline-block}.order-case-product-name b,.order-case-product-name small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.order-case-product-name b{font-size:10px}.order-case-product-name small{color:var(--muted);margin-top:3px;font-size:7px}.order-case-product-work>span{color:#916728;white-space:nowrap;background:#f8edda;border-radius:7px;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:7px;font-weight:850;display:inline-flex}.order-case-product-work>span.is-done{color:#2c6f54;background:#e3f0e9}.order-case-product-work svg{width:12px}.order-case-product-finance{text-align:right;grid-template-columns:auto auto auto;justify-content:end;align-items:center;gap:5px 9px;display:grid}.order-case-product-finance>span{white-space:nowrap;background:#edf1ef;border-radius:20px;grid-row:1/3;align-self:center;padding:4px 7px;font-size:7px;font-weight:850}.order-case-product-finance>span.is-done{background:#e3f0e9}.order-case-product-finance>span.is-partial{background:#f8eedb}.order-case-product-finance>span.is-pending{background:#f8e9e6}.order-case-product-finance b{white-space:nowrap;font-size:8px}.order-case-product-finance small{color:#78857e;grid-column:2/4;font-size:7px}.order-unassigned-note{color:#77847d;background:#f8faf8;border:1px dashed #d6dfda;border-radius:9px;align-items:center;gap:10px;min-height:66px;padding:10px 12px;display:flex}.order-unassigned-note>svg{flex:0 0 24px;width:24px}.order-unassigned-note b,.order-unassigned-note small{display:block}.order-unassigned-note b{color:#5c6e65;font-size:9px}.order-unassigned-note small{margin-top:3px;font-size:7px;line-height:1.45}.order-tracking-actions{background:#fafbf9;border-top:1px solid #e8ece9;justify-content:space-between;align-items:center;gap:12px;min-height:55px;padding:9px 16px;display:flex}.order-tracking-actions>span{color:#748078;font-size:8px}.order-tracking-actions>span b{color:#40564b}.order-tracking-actions>div{gap:7px;display:flex}.order-tracking-actions button{justify-content:center;align-items:center;gap:5px;min-height:35px;display:inline-flex}@media (width<=960px){.order-tracking-status-grid{grid-template-columns:1fr 1fr}.order-tracking-status-grid>section:nth-child(2){border-right:0}.order-tracking-status-grid>section:nth-child(n+3){border-top:1px solid #e3e8e5}.order-case-detail>summary{grid-template-columns:minmax(150px,1fr) auto}.order-case-summary-metrics{grid-area:2/1/auto/-1}.order-case-expand{grid-area:1/2}.order-case-product{grid-template-columns:minmax(150px,1fr) auto}.order-case-product-finance{text-align:left;grid-column:1/-1;justify-content:start}}@media (width<=600px){.order-tracking-list{gap:11px}.order-tracking-head{gap:10px;padding:14px}.order-tracking-identity h2{font-size:18px}.order-tracking-total strong{font-size:16px}.order-tracking-status-grid{grid-template-columns:1fr}.order-tracking-status-grid>section{border-top:1px solid #e3e8e5;border-right:0;min-height:66px;padding:9px 12px}.order-tracking-status-grid>section:first-child{border-top:0}.order-tracking-status-grid>section:nth-child(2){border-top:1px solid #e3e8e5}.order-tracking-status-grid b{white-space:normal}.order-tracking-cases{padding:9px}.order-case-detail>summary{grid-template-columns:minmax(0,1fr) auto;gap:9px;min-height:0;padding:11px}.order-case-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;display:grid}.order-case-summary-metrics>span{min-width:0;padding:6px}.order-case-summary-metrics b{text-overflow:ellipsis;overflow:hidden}.order-case-expand em{display:none}.order-case-product{grid-template-columns:1fr;min-height:0;padding:11px 1px}.order-case-product-work{grid-column:auto}.order-case-product-work>span{min-height:32px}.order-case-product-finance{text-align:left;grid-column:auto;grid-template-columns:auto 1fr;justify-content:start;gap:5px 8px}.order-case-product-finance>span{grid-row:1/3}.order-case-product-finance small{grid-column:1/-1}.order-tracking-actions{flex-direction:column;align-items:stretch;padding:10px 12px}.order-tracking-actions>div{grid-template-columns:1fr 1fr;width:100%;display:grid}.order-tracking-actions button{min-height:44px}}@media (width<=390px){.order-tracking-head{flex-direction:column;align-items:flex-start}.order-tracking-total{text-align:left}.order-case-summary-metrics{grid-template-columns:1fr 1fr}.order-case-summary-metrics>span:last-child{grid-column:1/-1}}.case-hub-page{padding-bottom:54px}.case-hub-title-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.case-hub-error{margin-top:-2px}.case-hub-kpis{margin-bottom:20px}.case-hub-section-head{justify-content:space-between;align-items:flex-end;gap:14px;margin:7px 2px 12px;display:flex}.case-hub-section-head h2{margin:0 0 4px;font-size:16px}.case-hub-section-head p{color:var(--muted);margin:0;font-size:9px}.case-hub-section-head>span{color:var(--green);white-space:nowrap;background:#e8f1ec;border-radius:20px;padding:6px 10px;font-size:9px;font-weight:800}.case-hub-board{grid-template-columns:1fr;gap:16px;display:grid}.case-hub-card{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 5px 18px #182b2306}.case-hub-card.case-hub-is-closed{border-color:#d5ded9}.case-hub-card-head{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 15px;display:flex}.case-hub-identity{min-width:0}.case-hub-number{color:var(--green);letter-spacing:.05em;font-size:9px;font-weight:800;display:block}.case-hub-identity h3{margin:5px 0;font-family:Noto Serif TC,Songti TC,serif;font-size:23px;line-height:1.15}.case-hub-identity p{color:var(--muted);margin:0;font-size:10px}.case-monthly-badge{color:#50679a;background:#edf0f7;border-radius:20px;margin-top:8px;padding:4px 8px;font-size:8px;font-weight:850;display:inline-flex}.case-hub-statuses{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.case-hub-status{white-space:nowrap;border-radius:20px;padding:5px 8px;font-size:8px;font-weight:800}.case-hub-status-active{color:#8e6426;background:#f7ecd9}.case-hub-status-done{color:#286c51;background:#e4f1ea}.case-hub-status-cancelled{color:#98574d;background:#f3e7e5}.case-hub-status-unpaid{color:#a14f48;background:#f8e8e5}.case-hub-overview{background:#f8f9f7;border-bottom:1px solid #e8ece9;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.case-hub-overview>span{border-right:1px solid #e5e9e6;min-width:0;padding:11px 14px}.case-hub-overview>span:last-child{border-right:0}.case-hub-overview small,.case-hub-overview b{display:block}.case-hub-overview small{color:var(--muted);margin-bottom:4px;font-size:8px}.case-hub-overview b{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.case-stage-grid{border-bottom:1px solid #e7ebe8;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;display:grid}.case-stage-grid.case-flat-product-grid{grid-template-columns:1fr}.case-flat-products .case-stage-list{height:auto;max-height:430px}.case-stage-panel{background:#fff;border-right:1px solid #e7ebe8;min-width:0}.case-stage-panel:last-child{border-right:0}.case-stage-head{background:#f1f5f2;border-bottom:1px solid #e2e8e4;min-height:166px;padding:12px 13px}.case-stage-title{align-items:center;gap:9px;display:flex}.case-stage-index{background:var(--green);color:#fff;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:10px;font-weight:900;display:grid}.case-stage-title h4,.case-stage-title small{display:block}.case-stage-title h4{margin:0;font-family:Noto Serif TC,Songti TC,serif;font-size:15px}.case-stage-title small{color:var(--muted);margin-top:3px;font-size:8px}.case-stage-finance-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:10px;display:grid}.case-stage-finance-summary>span{background:#ffffffbf;border:1px solid #dfe7e2;border-radius:7px;min-width:0;padding:7px}.case-stage-finance-summary small,.case-stage-finance-summary b{display:block}.case-stage-finance-summary small{color:#76837d;margin-bottom:3px;font-size:7px}.case-stage-finance-summary b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.case-stage-finance-summary .is-outstanding{color:#a6544d;background:#fff8f6;border-color:#ecd6d1}.case-stage-payment-meta{justify-content:space-between;align-items:center;gap:7px;margin-top:9px;display:flex}.case-stage-payment-meta>span{color:#6e7c75;font-size:7px;line-height:1.35}.case-stage-payment-meta>span b{color:#41554b;margin-top:2px;font-size:8px;display:block}.case-stage-pay-button{background:var(--green);color:#fff;white-space:nowrap;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-size:8px;font-weight:800;display:inline-flex}.case-stage-pay-button:disabled{color:#f4f6f5;background:#b9c4bf}.case-stage-list{overscroll-behavior:contain;height:330px;padding:8px 10px;overflow-y:auto}.case-stage-item{border-bottom:1px solid #edf0ee;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:8px;min-height:138px;padding:10px 0;display:grid}.case-stage-item:last-child{border-bottom:0}.case-stage-product{min-width:0}.case-stage-product b,.case-stage-product small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.case-stage-product b{font-size:10px}.case-stage-product small{color:var(--muted);margin-top:4px;font-size:7px}.case-stage-item>strong{text-align:right;white-space:nowrap;font-size:9px}.case-stage-item-finance{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px;display:flex}.case-stage-item-finance small{color:#75817b;font-size:7px}.case-stage-payment-status{white-space:nowrap;border-radius:20px;padding:4px 7px;font-size:7px;font-weight:850}.case-stage-payment-status.is-unpaid{color:#a5554e;background:#f8e9e6}.case-stage-payment-status.is-partial{color:#936822;background:#f9efd9}.case-stage-payment-status.is-paid{color:#2d7055;background:#e3f0e9}.case-stage-payment-status.is-none{color:#728078;background:#edf0ee}.case-stage-fulfillment-control{cursor:pointer;background:#fff;border:1px solid #d9e2dd;border-radius:7px;grid-column:1/-1;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:35px;padding:5px 8px;display:flex}.case-stage-fulfillment-control>input{opacity:0;pointer-events:none;position:absolute}.case-stage-fulfillment-control>span{color:#fff;border:1px solid #b9c8c0;border-radius:5px;flex:0 0 20px;place-items:center;width:20px;height:20px;display:grid}.case-stage-fulfillment-control>b{color:#496056;white-space:nowrap;font-size:8px}.case-stage-is-done .case-stage-fulfillment-control{background:#eef6f2;border-color:#bcd5c9}.case-stage-is-done .case-stage-fulfillment-control>span{background:#34795d;border-color:#34795d}.case-stage-fulfillment-control:has(input:disabled){cursor:not-allowed;opacity:.65}.case-stage-empty{text-align:center;color:#9ba6a1;place-items:center;height:100%;min-height:92px;padding:16px;font-size:8px;display:grid}.case-accounting-panel{background:#f8faf8;border-bottom:1px solid #e7ebe8;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:13px 18px;display:grid}.case-accounting-copy{align-items:center;gap:10px;min-width:0;display:flex}.case-accounting-copy>span:last-child{min-width:0}.case-accounting-copy b,.case-accounting-copy small{display:block}.case-accounting-copy b{font-size:11px}.case-accounting-copy small{color:var(--muted);margin-top:4px;font-size:8px;line-height:1.45}.case-settlement-checkmark{color:#9a6a27;background:#f5e8d7;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.case-settlement-checkmark.case-settlement-is-done{color:#286b50;background:#e2f0e8}.case-accounting-totals{gap:6px;display:flex}.case-accounting-totals>span{border-left:1px solid #dfe5e1;min-width:88px;padding-left:11px}.case-accounting-totals small,.case-accounting-totals b{display:block}.case-accounting-totals small{color:var(--muted);margin-bottom:3px;font-size:7px}.case-accounting-totals b{font-size:10px}.case-whole-payment-button{color:#536c9e;white-space:nowrap;background:#fff;border:1px solid #aebed0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 11px;font-size:8px;font-weight:850;display:inline-flex}.case-whole-payment-button:disabled{color:#98a29d;background:#eef1ef;border-color:#ccd4d0}.case-hub-actions{justify-content:space-between;align-items:center;gap:12px;min-height:61px;padding:11px 18px;display:flex}.case-hub-actions>div{flex-wrap:wrap;gap:7px;display:flex}.case-hub-actions button{min-height:35px;color:var(--green);background:#fff;border:1px solid #cddbd4;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:9px;font-weight:750;display:inline-flex}.case-hub-actions>span{color:#5f766b;font-size:9px}.case-hub-actions .case-hub-close-button{border-color:var(--green);background:var(--green);color:#fff}.case-hub-actions .case-hub-close-button:disabled{background:#c3ccc7;border-color:#c3ccc7}.case-hub-empty{text-align:center;color:#8c9992;background:#fff;border:1px dashed #cdd8d2;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:240px;padding:25px;display:flex}.case-hub-empty>svg{color:#b1bdb7;width:37px;height:37px}.case-hub-empty h3{color:#627168;margin:12px 0 5px;font-size:14px}.case-hub-empty p{max-width:380px;margin:0 0 13px;font-size:9px;line-height:1.55}.case-hub-empty button{background:var(--green);color:#fff;border:0;border-radius:7px;align-items:center;gap:6px;min-height:38px;padding:0 13px;font-size:10px;font-weight:700;display:flex}.case-hub-settlement-history{margin-top:18px}.case-settlement-method-chip{color:#385f50;background:#eef2f0;border-radius:6px;padding:5px 8px;font-size:9px;display:inline-block}.case-settlement-amount{color:#267356}.case-hub-history-empty{text-align:center;color:#87928d;flex-direction:column;justify-content:center;align-items:center;min-height:130px;padding:24px;display:flex}.case-hub-history-empty b{color:#6e7b75;font-size:11px}.case-hub-history-empty span{margin-top:5px;font-size:8px}.case-hub-limit-note{color:var(--muted);margin:8px 12px;font-size:8px}.case-payment-overlay{z-index:95;justify-content:flex-end;display:flex;position:fixed;inset:0}.case-payment-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c1f1894;border:0;width:100%;height:100%;position:absolute;inset:0}.case-payment-drawer{background:#f7f8f6;grid-template-rows:auto minmax(0,1fr) auto;width:min(630px,94vw);height:100%;display:grid;position:relative;overflow:hidden;box-shadow:-22px 0 60px #081c1440}.case-payment-head{background:#fff;border-bottom:1px solid #dfe5e1;justify-content:space-between;align-items:flex-start;gap:15px;padding:19px 21px;display:flex}.case-payment-head h2{margin:0 0 6px;font-family:Noto Serif TC,Songti TC,serif;font-size:23px}.case-payment-head p{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.case-payment-head>button{color:#4b5b53;background:#eef2ef;border:0;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.case-payment-head>button svg{width:18px}.case-payment-body{overscroll-behavior:contain;min-height:0;padding:15px;overflow-y:auto}.case-payment-form{background:#fff;border:1px solid #dfe5e1;border-radius:11px;grid-template-columns:1fr 1fr;gap:10px;padding:13px;display:grid}.case-payment-field>span{color:#5d6d65;align-items:center;gap:5px;min-height:18px;margin-bottom:5px;font-size:8px;font-weight:750;display:flex}.case-payment-field>span em{color:#aa514a;font-style:normal}.case-payment-field input,.case-payment-field select,.case-payment-field textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #d5dfda;border-radius:7px;outline:none;padding:0 10px;font-size:10px}.case-payment-field input,.case-payment-field select{height:40px}.case-payment-field textarea{resize:vertical;min-height:58px;padding-top:9px}.case-payment-field input:focus,.case-payment-field select:focus,.case-payment-field textarea:focus{border-color:#47836a;box-shadow:0 0 0 3px #47836a1a}.case-payment-note{grid-column:1/-1}.case-payment-selection{background:#fff;border:1px solid #dfe5e1;border-radius:11px;margin-top:13px;overflow:hidden}.case-payment-selection>header{background:#edf3ef;border-bottom:1px solid #dfe5e1;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;display:flex}.case-payment-selection h3{margin:0 0 3px;font-size:12px}.case-payment-selection p{color:#6e7d75;margin:0;font-size:8px;line-height:1.45}.case-payment-select-all{min-height:34px;color:var(--green);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #b9ccc2;border-radius:7px;align-items:center;gap:6px;padding:0 9px;display:flex}.case-payment-select-all input{width:16px;height:16px;accent-color:var(--green)}.case-payment-select-all span{font-size:8px;font-weight:800}.case-payment-lines{padding:5px 12px}.case-payment-line{border-bottom:1px solid #e9eeeb;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:12px 2px;display:grid}.case-payment-line:last-child{border-bottom:0}.case-payment-line-selected{background:linear-gradient(90deg,#e7f2ec99,#0000);box-shadow:-12px 0 #e7f2ec99,12px 0 #e7f2ec05}.case-payment-line-check{cursor:pointer;grid-column:1/-1;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:32px;display:flex}.case-payment-line-check>input{opacity:0;pointer-events:none;position:absolute}.case-payment-line-check>span{color:#fff;background:#fff;border:1px solid #b7c6be;border-radius:5px;flex:0 0 21px;place-items:center;width:21px;height:21px;display:grid}.case-payment-line-check>input:checked+span{background:#34795d;border-color:#34795d}.case-payment-line-check>b{color:#4e6258;font-size:8px}.case-payment-line-product{min-width:0}.case-payment-line-product b,.case-payment-line-product small{display:block}.case-payment-line-product b{font-size:11px}.case-payment-line-product small{color:#77837d;margin-top:4px;font-size:8px;line-height:1.4}.case-payment-line-balance{text-align:right;gap:11px;display:flex}.case-payment-line-balance small,.case-payment-line-balance b{display:block}.case-payment-line-balance small{color:#7a8680;margin-bottom:3px;font-size:7px}.case-payment-line-balance b{font-size:9px}.case-payment-line-amount{background:#f4f7f5;border-radius:8px;grid-column:1/-1;grid-template-columns:auto minmax(120px,180px) auto;align-items:center;gap:9px;padding:8px 10px;display:grid}.case-payment-line-amount>span{color:#51645a;font-size:8px;font-weight:800}.case-payment-line-amount>div{background:#fff;border:1px solid #ccd8d2;border-radius:7px;align-items:center;height:36px;display:flex;overflow:hidden}.case-payment-line-amount i{color:#6d7b74;padding-left:9px;font-size:8px;font-style:normal}.case-payment-line-amount input{text-align:right;background:0 0;border:0;outline:none;width:100%;min-width:0;height:100%;padding:0 9px;font-size:11px;font-weight:800}.case-payment-line-amount input:disabled{color:#9ba49f;background:#edf0ee}.case-payment-line-amount>small{color:#7b8781;white-space:nowrap;font-size:7px}.case-payment-empty{text-align:center;color:#87938d;flex-direction:column;justify-content:center;align-items:center;min-height:190px;padding:24px;display:flex}.case-payment-empty svg{color:#a8b6af;width:34px;height:34px}.case-payment-empty b{color:#66766d;margin-top:10px;font-size:11px}.case-payment-empty p{margin:5px 0 0;font-size:8px}.case-payment-sticky-footer{padding:13px 16px calc(13px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d9e1dd;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 15px;display:grid;position:relative;box-shadow:0 -10px 25px #152f240f}.case-payment-sticky-footer>div span,.case-payment-sticky-footer>div strong,.case-payment-sticky-footer>div small{display:block}.case-payment-sticky-footer>div span{color:#66756e;font-size:8px}.case-payment-sticky-footer>div strong{color:var(--green);margin:3px 0;font-size:20px}.case-payment-sticky-footer>div small{color:#7d8983;font-size:7px}.case-payment-sticky-footer>button{background:var(--green);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:46px;padding:0 15px;font-size:10px;font-weight:850;display:flex}.case-payment-sticky-footer>button:disabled{background:#acb9b2}.case-payment-sticky-footer>button svg{width:17px}.case-payment-sticky-footer>p{color:#9a4c46;background:#f8e9e6;border-radius:6px;grid-column:1/-1;margin:0;padding:7px 9px;font-size:8px}.item-case-stage-fields{grid-template-columns:minmax(0,1fr) 78px;gap:5px;margin-top:6px;display:grid}.item-case-stage-fields .item-case-select{margin-top:0}.item-stage-select,.case-existing-stage-select,.case-cart-stage select{color:#315b4b;background:#fff;border:1px solid #d8e1dc;border-radius:5px;height:28px;padding:0 6px;font-size:8px}.item-stage-select{width:100%}.case-existing-stage{background:#fff;border:1px solid #dfe6e2;border-radius:10px;margin-bottom:12px;overflow:hidden}.case-existing-stage>header{background:#edf4f0;border-bottom:1px solid #dfe6e2;align-items:center;min-height:43px;padding:8px 12px;display:flex}.case-existing-stage>header b,.case-existing-stage>header small{display:block}.case-existing-stage>header b{color:var(--green);font-family:Noto Serif TC,Songti TC,serif;font-size:13px}.case-existing-stage>header small{color:var(--muted);margin-top:2px;font-size:8px}.case-existing-stage .case-existing-row{cursor:default;border:0;border-bottom:1px solid #edf0ee;border-radius:0;margin:0}.case-existing-stage .case-existing-row:last-child{border-bottom:0}.case-existing-stage-select{width:100%;max-width:145px;margin-top:6px;display:block}.case-existing-stage-empty{color:#98a29d;text-align:center;margin:0;padding:18px 12px;font-size:8px}.case-cart-stage{align-items:center;gap:6px;margin-top:8px;display:flex}.case-cart-stage>span{color:#68766f;flex:none;font-size:8px;font-weight:700}.case-cart-stage select{min-width:88px}@media (width<=1080px){.case-stage-payment-meta{flex-direction:column;align-items:stretch}.case-stage-pay-button{width:100%}.case-accounting-panel{grid-template-columns:minmax(0,1fr) auto}.case-whole-payment-button{grid-column:1/-1;justify-self:end}}@media (width<=980px){.case-hub-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.case-hub-overview>span:nth-child(3){border-right:0}.case-hub-overview>span:nth-child(n+4){border-top:1px solid #e5e9e6}.case-stage-grid{grid-template-columns:1fr}.case-stage-panel{border-bottom:1px solid #e7ebe8;border-right:0}.case-stage-panel:last-child{border-bottom:0}.case-stage-head{min-height:0}.case-stage-payment-meta{flex-direction:row;align-items:center}.case-stage-pay-button{width:auto}.case-stage-list{height:auto;max-height:360px}}@media (width<=700px){.case-hub-title{align-items:flex-start}.case-hub-title-actions{justify-content:flex-start;width:100%;margin-top:12px}.case-hub-card-head,.case-hub-actions{flex-direction:column;align-items:flex-start}.case-hub-statuses{justify-content:flex-start}.case-hub-overview{grid-template-columns:1fr 1fr}.case-hub-overview>span,.case-hub-overview>span:nth-child(3){border-top:1px solid #e5e9e6;border-right:1px solid #e5e9e6}.case-hub-overview>span:nth-child(odd){border-right:1px solid #e5e9e6}.case-hub-overview>span:nth-child(2n){border-right:0}.case-hub-overview>span:first-child,.case-hub-overview>span:nth-child(2){border-top:0}.case-stage-grid{display:block}.case-stage-panel{border-bottom:0;border-right:0;display:block}.case-stage-panel .case-stage-head{min-height:0}.case-stage-panel .case-stage-list{height:auto;max-height:none}.case-accounting-panel{grid-template-columns:1fr;align-items:stretch}.case-accounting-totals>span{border:1px solid #dfe5e1;border-radius:7px;flex:1;padding:8px}.case-whole-payment-button{grid-column:auto;justify-self:stretch;min-height:42px}.case-hub-actions>div{width:100%}.case-hub-actions button{flex:1}.case-hub-actions .case-hub-close-button{width:100%}.case-payment-drawer{width:min(630px,100vw)}}@media (width<=600px){.item-case-stage-fields{grid-template-columns:1fr}.case-existing-stage{margin-bottom:9px}.case-existing-stage .case-existing-row{min-height:82px}.case-existing-stage-select{max-width:118px}.case-payment-overlay{align-items:flex-end}.case-payment-drawer{border-radius:16px 16px 0 0;width:100%;height:min(92dvh,820px);box-shadow:0 -22px 60px #081c1445}.case-payment-head{padding:16px}.case-payment-head h2{font-size:20px}.case-payment-body{padding:11px}.case-payment-form{grid-template-columns:1fr}.case-payment-note{grid-column:auto}.case-payment-field input,.case-payment-field select{min-height:44px}.case-payment-selection>header{flex-direction:column;align-items:flex-start}.case-payment-select-all{justify-content:center;width:100%;min-height:44px}.case-payment-lines{padding:4px 10px}.case-payment-line{grid-template-columns:1fr}.case-payment-line-check{min-height:44px}.case-payment-line-balance{text-align:left}.case-payment-line-amount{grid-column:auto;grid-template-columns:1fr;gap:6px}.case-payment-line-amount>div{height:44px}.case-payment-sticky-footer{padding:11px 12px calc(11px + env(safe-area-inset-bottom));grid-template-columns:1fr auto}.case-payment-sticky-footer>button{min-height:48px;padding:0 12px}}@media (width<=430px){.case-hub-title-actions .secondary-action{display:none}.case-hub-card-head{padding:15px}.case-hub-overview{grid-template-columns:1fr}.case-hub-overview>span,.case-hub-overview>span:nth-child(odd),.case-hub-overview>span:nth-child(2n){border-top:1px solid #e5e9e6;border-right:0}.case-hub-overview>span:first-child{border-top:0}.case-stage-finance-summary{gap:4px}.case-stage-payment-meta{flex-direction:column;align-items:stretch}.case-stage-pay-button{width:100%;min-height:42px}.case-stage-list{max-height:none}.case-stage-fulfillment-control{width:100%;min-height:42px}.case-accounting-totals{width:100%}.case-payment-sticky-footer{grid-template-columns:1fr}.case-payment-sticky-footer>button{width:100%}}@media print{.case-payment-overlay{display:none!important}}.product-photo,.case-product-photo{object-fit:cover;background:#edf1ee}.product-art.product-art-image{padding:0;background:#dde5e0!important}.product-art.product-art-image:after{display:none}.product-art-image img{object-fit:cover;width:100%;height:100%}.product-art-image em{z-index:1;color:#fff;background:#0d2119b8;position:absolute;bottom:8px;right:8px}.case-product-photo{display:block}.product-image-field>span{color:#6b7771;margin-bottom:6px;font-size:9px;font-weight:650;display:block}.product-image-editor{background:#f8faf8;border:1px solid #dfe5e1;border-radius:9px;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px 14px;padding:12px;display:grid}.product-image-editor>img,.product-image-placeholder{object-fit:cover;background:#e8eeea;border-radius:8px;grid-row:1/span 2;width:150px;height:112px}.product-image-placeholder{color:#738079;text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.product-image-placeholder svg{width:24px}.product-image-placeholder b,.product-image-placeholder small{display:block}.product-image-placeholder b{margin-top:6px;font-size:10px}.product-image-placeholder small{margin-top:3px;font-size:8px}.product-image-picker{min-height:42px;color:var(--green);cursor:pointer;background:#fff;border:1px solid #bfd0c7;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:10px;font-weight:750;display:flex!important}.product-image-picker input{opacity:0;position:absolute;width:1px!important;height:1px!important}.product-image-remove{color:#8c5148;align-items:center;gap:7px;font-size:9px;display:flex!important}.product-image-remove input{width:17px!important;height:17px!important}@media (width<=700px){.product-image-editor{grid-template-columns:1fr}.product-image-editor>img,.product-image-placeholder{grid-row:auto;width:100%;height:180px}}.accounting-workbench-page{padding-bottom:60px}.accounting-title{gap:18px}.accounting-access{border-radius:20px;flex:none;padding:7px 11px;font-size:9px;font-weight:800}.accounting-access.can-manage{color:#21694e;background:#e3f1e9}.accounting-access.read-only{color:#84662d;background:#f2ece0}.accounting-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px;display:grid}.accounting-steps article{border:1px solid var(--line);background:#fff;border-radius:11px;align-items:center;gap:11px;min-height:72px;padding:12px 14px;display:flex}.accounting-steps article>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 31px;place-items:center;width:31px;height:31px;font-size:11px;font-weight:900;display:grid}.accounting-steps b,.accounting-steps small{display:block}.accounting-steps b{font-size:11px}.accounting-steps small{color:var(--muted);margin-top:4px;font-size:8px}.accounting-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px;display:grid}.accounting-summary article{border:1px solid var(--line);background:#fff;border-radius:11px;align-items:flex-start;gap:10px;min-width:0;min-height:102px;padding:14px;display:flex}.accounting-summary article>svg{color:#a2793e;flex:0 0 19px;width:19px}.accounting-summary article>span{min-width:0}.accounting-summary small,.accounting-summary strong,.accounting-summary em{display:block}.accounting-summary small{color:var(--muted);font-size:8px;font-weight:750}.accounting-summary strong{text-overflow:ellipsis;margin:9px 0 5px;font-size:17px;overflow:hidden}.accounting-summary em{color:#8a958f;font-size:8px;font-style:normal}.accounting-rule-note{color:#315f4d;background:#edf5f1;border:1px solid #d7e3dd;border-radius:10px;align-items:center;gap:10px;margin-bottom:13px;padding:11px 14px;display:flex}.accounting-rule-note>svg{flex:0 0 20px;width:20px}.accounting-rule-note b,.accounting-rule-note small{display:block}.accounting-rule-note b{font-size:10px}.accounting-rule-note small{color:#61766c;margin-top:3px;font-size:8px;line-height:1.5}.accounting-review-alert{color:#81551e;text-align:left;background:#fff7e9;border:1px solid #e7c8a5;border-radius:10px;align-items:center;gap:10px;width:100%;margin:-3px 0 13px;padding:10px 13px;display:flex}.accounting-review-alert>svg{flex:0 0 19px;width:19px}.accounting-review-alert b,.accounting-review-alert small{display:block}.accounting-review-alert b{font-size:10px}.accounting-review-alert small{color:#8a6c46;margin-top:3px;font-size:8px;line-height:1.45}.accounting-tabs{border:1px solid var(--line);background:#fff;border-bottom:0;border-radius:12px 12px 0 0;grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.accounting-tabs button{border:0;border-right:1px solid var(--line);color:#6d7973;background:#fff;border-bottom:3px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:54px;font-size:11px;font-weight:800;display:flex}.accounting-tabs button:last-child{border-right:0}.accounting-tabs button.active{border-bottom-color:var(--green);color:var(--green);background:#f3f7f4}.accounting-tabs button svg{width:18px}.accounting-tabs button span{background:#e8eeea;border-radius:20px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:8px;display:grid}.accounting-tabs button.active span{background:var(--green);color:#fff}.accounting-panel{border:1px solid var(--line);background:#f5f7f5;border-radius:0 0 12px 12px;padding:13px}.accounting-toolbar{background:#fff;border:1px solid #e0e6e2;border-radius:9px;grid-template-columns:minmax(0,1fr) 190px;gap:8px;margin-bottom:11px;padding:10px;display:grid}.accounting-toolbar label{color:#78857e;border:1px solid #d7e0db;border-radius:7px;align-items:center;gap:8px;min-width:0;height:42px;padding:0 10px;display:flex}.accounting-toolbar label:focus-within{border-color:#60917c;box-shadow:0 0 0 3px #35775914}.accounting-toolbar label svg{flex:0 0 17px;width:17px}.accounting-toolbar input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;font-size:11px}.accounting-toolbar select{height:42px;color:var(--ink);background:#fff;border:1px solid #d7e0db;border-radius:7px;padding:0 10px;font-size:10px}.accounting-case-list{gap:10px;display:grid}.accounting-case-card{background:#fff;border:1px solid #e0e5e2;border-top:3px solid #bd8a3c;border-radius:10px;overflow:hidden}.accounting-case-card.status-partial{border-top-color:#4b789b}.accounting-case-card.status-paid{border-top-color:#30785b}.accounting-case-card.status-review{border-top-color:#b06b35}.accounting-case-card>header{justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.accounting-case-card>header>div{min-width:0}.accounting-case-card>header>div>span{color:var(--green);letter-spacing:.04em;font-size:8px;font-weight:850;display:block}.accounting-case-card>header h2{margin:4px 0 3px;font-family:Noto Serif TC,Songti TC,serif;font-size:19px}.accounting-case-card>header p{color:var(--muted);margin:0;font-size:9px}.accounting-status{border-radius:20px;flex:none;padding:6px 9px;font-size:8px;font-weight:850}.accounting-status.is-unpaid{color:#a14d46;background:#f7e8e5}.accounting-status.is-partial{color:#4a6f91;background:#e8eef5}.accounting-status.is-paid{color:#286c51;background:#e3f0e9}.accounting-status.is-review{color:#92501f;background:#f7eadc}.accounting-case-meta{background:#f8faf8;border-top:1px solid #edf0ee;border-bottom:1px solid #edf0ee;grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.accounting-case-meta>span{border-right:1px solid #e5e9e6;min-width:0;padding:10px 13px}.accounting-case-meta>span:last-child{border-right:0}.accounting-case-meta small,.accounting-case-meta b{display:block}.accounting-case-meta small{color:var(--muted);font-size:7px}.accounting-case-meta b{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:10px;overflow:hidden}.accounting-case-meta .outstanding b{color:#a14e47;font-size:12px}.accounting-case-actions{justify-content:space-between;align-items:center;gap:8px;padding:10px 13px;display:flex}.accounting-case-actions button{border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:0 11px;font-size:9px;font-weight:800;display:inline-flex}.accounting-case-actions button svg{width:15px}.accounting-detail-button{color:var(--green);background:#fff;border:1px solid #d4ded9}.accounting-receive-button{border:1px solid var(--green);background:var(--green);color:#fff}.accounting-receive-button:disabled{color:#f5f7f6;background:#c6cfca;border-color:#c6cfca}.accounting-disabled-reason{color:#84622d;background:#f6eee2;border-radius:6px;margin:-3px 13px 11px;padding:7px 9px;font-size:8px}.accounting-case-items{background:#f7f9f7;border-top:1px solid #e8edeb;padding:5px 13px 11px}.accounting-case-items>div{border-bottom:1px solid #e5ebe7;grid-template-columns:minmax(0,1fr) repeat(3,minmax(76px,.3fr));align-items:center;gap:8px;min-height:52px;display:grid}.accounting-case-items>div:last-child{border-bottom:0}.accounting-case-items span{min-width:0}.accounting-case-items b,.accounting-case-items small{display:block}.accounting-case-items b{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.accounting-case-items small{color:var(--muted);margin-top:3px;font-size:7px}.accounting-case-items>p{text-align:center;color:var(--muted);margin:10px;font-size:9px}.accounting-empty{text-align:center;color:#829089;background:#fff;border:1px dashed #cdd8d2;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:210px;padding:22px;display:flex}.accounting-empty>svg{color:#aab7b0;width:35px}.accounting-empty h3{color:#637169;margin:11px 0 4px;font-size:12px}.accounting-empty p{margin:0;font-size:9px}.accounting-monthly-panel{background:0 0;padding:0}.monthly-billing-embedded{padding:13px}@media (width<=980px){.accounting-summary{grid-template-columns:1fr 1fr}.accounting-case-meta{grid-template-columns:repeat(3,1fr)}.accounting-case-meta>span:nth-child(n+4){border-top:1px solid #e5e9e6}}@media (width<=700px){.accounting-workbench-page{padding:18px 12px calc(90px + env(safe-area-inset-bottom))}.accounting-title{flex-direction:column;align-items:flex-start}.accounting-steps{display:none}.accounting-summary{gap:7px}.accounting-summary article{gap:7px;min-height:96px;padding:11px}.accounting-summary small{font-size:11px}.accounting-summary strong{font-size:16px}.accounting-summary em{font-size:10px}.accounting-rule-note{align-items:flex-start}.accounting-rule-note b,.accounting-review-alert b{font-size:12px}.accounting-rule-note small,.accounting-review-alert small{font-size:11px}.accounting-tabs{z-index:8;position:sticky;top:64px}.accounting-tabs button{min-height:52px;font-size:13px}.accounting-panel{padding:7px}.accounting-toolbar{grid-template-columns:1fr;padding:8px}.accounting-toolbar label,.accounting-toolbar select{min-height:46px}.accounting-toolbar input,.accounting-toolbar select{font-size:16px}.accounting-case-card>header{padding:13px}.accounting-case-card>header>div>span{font-size:10px}.accounting-case-card>header p{font-size:12px}.accounting-status{font-size:11px}.accounting-case-meta{grid-template-columns:1fr 1fr}.accounting-case-meta>span,.accounting-case-meta>span:nth-child(n+4){border-top:1px solid #e5e9e6}.accounting-case-meta>span:nth-child(odd){border-right:1px solid #e5e9e6}.accounting-case-meta>span:nth-child(2n){border-right:0}.accounting-case-meta>span:first-child,.accounting-case-meta>span:nth-child(2){border-top:0}.accounting-case-meta .outstanding{border-right:0;grid-column:1/-1}.accounting-case-meta small{font-size:10px}.accounting-case-meta b{font-size:12px}.accounting-case-meta .outstanding b{font-size:14px}.accounting-case-actions{flex-direction:column;align-items:stretch}.accounting-case-actions button{width:100%;min-height:46px;font-size:12px}.accounting-disabled-reason{font-size:11px;line-height:1.45}.accounting-case-items{padding:5px 11px 9px}.accounting-case-items>div{grid-template-columns:1fr 1fr;padding:9px 0}.accounting-case-items>div>span:first-child{grid-column:1/-1}.accounting-case-items b{font-size:12px}.accounting-case-items small{font-size:10px}.monthly-billing-embedded{padding:7px}}:root{--ink:#17231e;--muted:#6c7771;--line:#e5e9e6;--paper:#f5f6f3;--green:#174c3b;--green2:#246b53;--gold:#b88940;--white:#fff;--shadow:0 12px 35px #182b2314}*{box-sizing:border-box}html,body{background:var(--paper);min-height:100%;color:var(--ink);margin:0;font-family:Noto Sans TC,PingFang TC,Microsoft JhengHei,system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh}.sidebar{color:#fff;z-index:30;background:#102d24;flex-direction:column;width:238px;display:flex;position:fixed;inset:0 auto 0 0}.brand{border-bottom:1px solid #ffffff17;align-items:center;gap:12px;height:86px;padding:20px 18px;display:flex}.brand-mark,.receipt-logo{color:#173529;background:#c4a568;place-items:center;font-family:serif;font-weight:900;display:grid}.brand-mark{border-radius:12px;width:43px;height:43px;font-size:23px}.brand strong{letter-spacing:.06em;font-size:15px;display:block}.brand span{color:#9eb8ae;letter-spacing:.1em;margin-top:4px;font-size:11px;display:block}.mobile-close{color:#fff;background:0 0;border:0;margin-left:auto;display:none}.sidebar nav{flex:1;padding:17px 12px}.sidebar nav p{text-transform:uppercase;color:#6f9486;letter-spacing:.16em;margin:0;padding:12px 10px 6px;font-size:10px}.sidebar nav button{color:#b9c9c3;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;min-height:46px;margin:2px 0;padding:0 11px;font-size:14px;display:flex}.sidebar nav button:hover:not(:disabled){color:#fff;background:#ffffff0f}.sidebar nav button.active{color:#fff;background:#28624e;box-shadow:inset 3px 0 #d2b374}.sidebar nav button em{color:#d7bd82;border:1px solid #d7bd8259;border-radius:4px;margin-left:auto;padding:2px 5px;font-size:9px;font-style:normal}.sidebar nav button span{color:#78978b;margin-left:auto;font-size:9px}.sidebar-foot{color:#b8ccc4;border-top:1px solid #ffffff14;padding:18px;font-size:11px}.sidebar-foot small{color:#709286;margin:7px 0 0 17px;display:block}.status-dot{background:#4bd497;border-radius:50%;width:8px;height:8px;margin-right:9px;display:inline-block;box-shadow:0 0 0 4px #4bd4971a}.sidebar-backdrop{display:none}.main{min-height:100vh;margin-left:238px}.topbar{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;justify-content:space-between;align-items:center;height:64px;padding:0 30px;display:flex;position:sticky;top:0}.topbar>div{align-items:center;gap:10px;font-size:13px;display:flex}.topbar b{color:#b8bfbb}.topbar strong{font-weight:650}.crumb{color:var(--muted)}.staff span{color:var(--green2);background:#edf4f0;border-radius:20px;padding:6px 9px;font-size:11px}.staff button{background:0 0;border:0;align-items:center;gap:5px;font-weight:600;display:flex}.menu-btn{background:0 0;border:0;display:none}.page{max-width:1440px;margin:0 auto;padding:32px}.page-title{justify-content:space-between;align-items:flex-end;margin-bottom:26px;display:flex}.page-title.compact{align-items:center}.eyebrow{text-transform:uppercase;color:var(--gold);letter-spacing:.17em;margin-bottom:7px;font-size:10px;font-weight:800;display:block}.page-title h1,.pos-head h1{letter-spacing:.025em;margin:0 0 8px;font-family:Noto Serif TC,Songti TC,serif;font-size:30px;line-height:1.1}.page-title p{color:var(--muted);margin:0;font-size:13px}.primary{background:var(--green);color:#fff;border:0;border-radius:8px;align-items:center;gap:8px;padding:12px 17px;font-weight:650;display:inline-flex;box-shadow:0 5px 14px #174c3b26}.primary:hover{background:var(--green2)}.metrics{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px;display:grid}.metrics article{border:1px solid var(--line);background:#fff;border-radius:12px;min-height:144px;padding:20px;position:relative}.metrics article>span{color:var(--muted);font-size:12px;font-weight:600;display:block}.metrics article>strong{letter-spacing:-.02em;margin:12px 0 7px;font-size:25px;display:block}.metrics article>strong i{color:var(--muted);margin-left:4px;font-size:12px;font-style:normal}.metrics article>small{color:#8b9490;font-size:11px}.metrics article>small.danger,.danger{color:#b7544f!important}.metric-icon{border-radius:10px;place-items:center;width:35px;height:35px;font-weight:800;display:grid;position:absolute;top:18px;right:18px}.metric-icon svg{width:17px}.metric-icon.green{color:#237557;background:#e5f1eb}.metric-icon.gold{color:#a57428;background:#f6eddd}.metric-icon.red{color:#b85c53;background:#f7e8e5}.metric-icon.blue{color:#4e719b;background:#e6edf5}.dashboard-grid{grid-template-columns:1.6fr 1fr;gap:16px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.panel-head{border-bottom:1px solid #eef0ee;justify-content:space-between;align-items:center;padding:19px 21px 14px;display:flex}.panel-head h2{margin:0 0 4px;font-size:15px}.panel-head p{color:var(--muted);margin:0;font-size:11px}.text-btn{color:var(--green2);background:0 0;border:0;font-size:12px;font-weight:650}.count-badge{color:#a24742;background:#f8e9e7;border-radius:20px;padding:4px 8px;font-size:11px}.order-list button,.stock-list button{text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f1f0;align-items:center;width:100%;min-height:64px;padding:10px 20px;display:grid}.order-list button:hover,.stock-list button:hover{background:#fafbf9}.order-list button{grid-template-columns:35px 1fr auto 62px;gap:10px}.order-list button:last-child,.stock-list button:last-child{border-bottom:0}.order-list button>span:nth-child(2) b,.stock-list b{font-size:12px;display:block}.order-list small,.stock-list small{color:#87918c;margin-top:4px;font-size:10px;display:block}.order-list strong{font-size:12px}.order-list em{color:#27765a;text-align:center;background:#e7f3ed;border-radius:20px;padding:5px 7px;font-size:10px;font-style:normal}.order-channel{width:29px;height:29px;color:var(--green);background:#edf2ef;border-radius:8px;place-items:center;font-size:12px;font-weight:800;display:grid}.stock-list button{grid-template-columns:13px 1fr auto;gap:10px}.cat-dot{border-radius:4px;width:8px;height:30px}.stock-list strong{text-align:right}.stock-list strong>small{font-weight:400}.source-note{background:#eef3ef;border:1px solid #dce4df;border-radius:10px;justify-content:space-between;align-items:center;margin-top:16px;padding:16px 20px;display:flex}.source-note>div{align-items:center;gap:12px;display:flex}.source-note svg{color:var(--green2)}.source-note b,.source-note small{font-size:12px;display:block}.source-note small{color:var(--muted);margin-top:4px}.source-note button{color:var(--green);background:#fff;border:1px solid #c9d7d0;border-radius:7px;padding:8px 12px;font-size:11px;font-weight:650}.violet{background:#8c6eb0!important}.rose{background:#ae6873!important}.sky{background:#668da5!important}.amber{background:#c08a3f!important}.indigo{background:#596b9a!important}.emerald{background:#4a8a70!important}.slate{background:#6f7c80!important}.orange{background:#b66c3e!important}.loading{min-height:calc(100vh - 64px);color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toolbar{border:1px solid var(--line);background:#fff;border-radius:11px 11px 0 0;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.toolbar>label,.pos-head>label{color:#84908a;background:#fafbf9;border:1px solid #dfe4e0;border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 11px;display:flex}.toolbar input,.pos-head input{background:0 0;border:0;outline:0;width:220px;font-size:12px}.filter-pills{gap:5px;display:flex;overflow:auto}.filter-pills button,.category-tabs button{white-space:nowrap;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:8px 10px;font-size:11px}.filter-pills button.active,.category-tabs button.active{color:var(--green);background:#e7f0eb;font-weight:700}.table-card{border:1px solid var(--line);background:#fff;border-radius:0 0 11px 11px;overflow:auto}.table-card table{border-collapse:collapse;width:100%;font-size:12px}.table-card th{text-transform:uppercase;letter-spacing:.06em;color:#7a8580;text-align:left;border-bottom:1px solid var(--line);background:#f8f9f7;padding:11px 15px;font-size:10px}.table-card td{vertical-align:middle;border-bottom:1px solid #edf0ed;padding:12px 15px}.product-cell{align-items:center;gap:11px;min-width:230px;display:flex}.product-cell b{font-size:12px;display:block}.product-cell small,.cell-sub{color:#8a948f;margin-top:4px;font-size:10px;display:block}.product-tile{color:#fff;letter-spacing:.05em;border-radius:8px;place-items:center;width:38px;height:38px;font-size:9px;font-weight:800;display:grid}.source{font-size:11px;display:block}.price-tag{color:#287358;background:#e6f1eb;border-radius:8px;margin-top:4px;padding:3px 6px;font-size:9px;display:inline-block}.price-tag.pending{color:#9a6922;background:#f8eddb}.stock-low{color:#b0524c}.icon-button{color:var(--green);background:#fff;border:1px solid #dfe4e1;border-radius:6px;align-items:center;gap:5px;padding:6px 9px;font-size:10px;display:inline-flex}.orders-table{border-radius:11px}.orders-table td:first-child{min-width:155px}.channel-tag{color:#385f50;background:#eef2f0;border-radius:6px;padding:5px 8px;font-size:10px}.done-tag{color:#247455;background:#e7f3ed;border-radius:20px;padding:4px 7px;font-size:9px}.empty-mini{text-align:center;color:#8c9591;padding:35px;font-size:12px}.large-empty{text-align:center;color:var(--muted);padding:70px 20px}.large-empty>svg{color:#b8c1bd;width:42px;height:42px}.large-empty h3{color:var(--ink);margin:14px 0 5px}.large-empty p{margin:0 0 16px;font-size:12px}.pos-page{grid-template-columns:minmax(0,1fr) 390px;min-height:calc(100vh - 64px);display:grid}.pos-products{min-width:0;padding:25px 27px 35px}.pos-head{justify-content:space-between;align-items:center;display:flex}.pos-head h1{margin:0;font-size:26px}.pos-head>label{background:#fff;width:280px}.pos-head input{width:100%}.category-tabs{border-bottom:1px solid var(--line);gap:4px;margin:18px 0;padding-bottom:10px;display:flex;overflow:auto}.product-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;display:grid}.product-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;min-width:0;padding:0;transition:all .15s;overflow:hidden}.product-card:hover:not(:disabled){box-shadow:var(--shadow);border-color:#bdcdc5;transform:translateY(-2px)}.product-card:disabled{opacity:.48}.product-art{color:#fff;justify-content:space-between;align-items:flex-end;height:85px;padding:10px 12px;display:flex;position:relative;overflow:hidden;background:#637c71!important}.product-art:after{content:"";border:16px solid #ffffff17;border-radius:50%;width:95px;height:95px;position:absolute;top:-36px;right:-30px}.product-art>span{letter-spacing:.08em;opacity:.85;font-size:20px;font-weight:900}.product-art em{background:#00000024;border-radius:5px;padding:4px 6px;font-size:10px;font-style:normal}.product-art.violet{background:#78668e!important}.product-art.rose{background:#93646b!important}.product-art.sky{background:#5e7e8f!important}.product-art.amber{background:#a27b44!important}.product-art.indigo{background:#5c6885!important}.product-art.emerald{background:#507c69!important}.product-art.slate{background:#657276!important}.product-art.orange{background:#926648!important}.product-info{padding:10px 11px;display:block}.product-info>small{color:#929b96;font-size:9px;display:block}.product-info>b{height:35px;margin-top:3px;font-size:12px;line-height:1.45;display:block}.product-info>span{justify-content:space-between;align-items:center;display:flex}.product-info strong{color:var(--green);font-size:13px}.product-info em{color:#79847e;font-size:9px;font-style:normal}.cart-panel{border-left:1px solid var(--line);background:#fff;flex-direction:column;height:calc(100vh - 64px);display:flex;position:sticky;top:64px}.cart-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:68px;padding:0 18px;display:flex}.cart-title>div{align-items:center;gap:9px;display:flex}.cart-title svg{color:var(--green)}.cart-title b,.cart-title small{display:block}.cart-title b{font-size:14px}.cart-title small{color:var(--muted);margin-top:3px;font-size:9px}.cart-title>button{color:#a14e4a;background:0 0;border:0;align-items:center;gap:4px;font-size:10px;display:flex}.customer-fields{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;padding:13px 16px;display:grid}.customer-fields>div,.payment-row{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;display:grid}.customer-fields label,.payment-row label,.form-grid label{display:block}.customer-fields label>span,.payment-row label>span,.form-grid label>span{color:#6b7771;margin:0 0 4px;font-size:9px;font-weight:650;display:block}.customer-fields input,.customer-fields select,.payment-row input,.payment-row select,.form-grid input,.form-grid select{background:#fff;border:1px solid #dfe4e0;border-radius:6px;outline:0;width:100%;height:34px;padding:0 8px;font-size:11px}.customer-fields input:focus,.customer-fields select:focus,.payment-row input:focus,.payment-row select:focus,.form-grid input:focus,.form-grid select:focus{border-color:#5f8a78;box-shadow:0 0 0 3px #3d7a6014}.cart-items{flex:1;padding:0 16px;overflow:auto}.cart-empty{color:#9aa39f;text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.cart-empty svg{color:#c4cbc7;width:36px;height:36px}.cart-empty h3{color:#77817c;margin:12px 0 3px;font-size:13px}.cart-empty p{margin:0;font-size:10px}.cart-item{border-bottom:1px solid #edf0ee;grid-template-columns:1fr auto;gap:8px;padding:13px 0;display:grid;position:relative}.cart-item>div:first-child{padding-right:23px}.cart-item b{font-size:11px;display:block}.cart-item small{color:#87908c;margin-top:4px;font-size:9px;display:block}.cart-item>strong{align-self:center;font-size:11px}.remove-item{color:#aeb6b2;background:0 0;border:0;padding:2px;position:absolute;top:11px;right:0}.qty{border:1px solid #dfe4e0;border-radius:6px;grid-template-columns:28px 30px 28px;align-items:center;width:max-content;overflow:hidden;display:grid!important}.qty button{color:#65746d;background:#f5f7f5;border:0;place-items:center;height:27px;display:grid}.qty button svg{width:12px}.qty span{text-align:center;font-size:11px}.cart-bottom{border-top:1px solid var(--line);padding:14px 17px;box-shadow:0 -8px 20px #1e372c08}.payment-row{margin-bottom:11px}.totals{border-top:1px dashed #cfd6d2;padding-top:8px}.totals>span,.totals>strong{justify-content:space-between;padding:3px 0;font-size:10px;display:flex}.totals>span b{font-weight:600}.totals>strong{border-top:1px solid #eff1f0;margin-top:3px;padding-top:8px;font-size:13px}.totals em{color:var(--green);font-size:18px;font-style:normal}.checkout{background:var(--green);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:10px;font-weight:700;display:flex}.checkout:disabled{background:#bbc7c2}.checkout-note{text-align:center;color:#8e9893;margin-top:7px;font-size:9px;display:block}.toast{z-index:100;color:#fff;background:#173b30;border-radius:9px;align-items:center;gap:18px;padding:13px 12px 13px 16px;font-size:12px;display:flex;position:fixed;bottom:25px;right:25px;box-shadow:0 15px 40px #00000038}.toast button{color:#fff;background:0 0;border:0;place-items:center;display:grid}.modal-wrap{z-index:80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f201991;border:0;width:100%;height:100%;position:absolute;inset:0}.modal{background:#fff;border-radius:13px;width:min(650px,100%);max-height:95vh;position:relative;overflow:auto;box-shadow:0 30px 80px #0003}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.modal-head h2{margin:0;font-family:serif;font-size:22px}.modal-head>button{background:#f0f3f1;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:13px;padding:20px 22px;display:grid}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select{height:40px;font-size:12px}.code-help{border-left:3px solid var(--gold);background:#f4f6f3;margin:0 22px;padding:12px 14px;font-size:10px}.code-help b,.code-help span{display:block}.code-help span{color:var(--muted);margin-top:4px}.modal-actions{justify-content:flex-end;gap:8px;padding:18px 22px;display:flex}.modal-actions>button{background:#fff;border:1px solid #dce2de;border-radius:7px;padding:10px 16px;font-size:12px}.modal-actions .primary{background:var(--green);border-color:var(--green)}.receipt-modal{width:min(850px,100%);max-height:96vh;position:relative;overflow:auto}.receipt-actions{justify-content:flex-end;gap:8px;margin-bottom:9px;display:flex}.receipt-actions button{background:#fff;border:0;border-radius:7px;align-items:center;gap:6px;padding:9px 13px;display:flex}.receipt-actions .primary{background:var(--green)}.receipt{background:#fff;min-height:820px;padding:42px 48px}.receipt header{border-bottom:3px solid var(--green);align-items:center;gap:13px;padding-bottom:20px;display:flex}.receipt-logo{border-radius:10px;width:52px;height:52px;font-size:28px}.receipt h2{margin:0;font-family:serif;font-size:24px}.receipt header p{color:var(--muted);margin:4px 0 0;font-size:12px}.receipt-meta{background:#f5f7f5;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0;padding:16px;display:grid}.receipt-meta small,.receipt-meta b{display:block}.receipt-meta small{color:var(--muted);margin-bottom:4px;font-size:9px}.receipt-meta b{font-size:11px}.receipt table{border-collapse:collapse;width:100%;font-size:11px}.receipt th{text-align:left;color:#fff;background:#183d31;padding:10px}.receipt th:nth-child(n+2),.receipt td:nth-child(n+2){text-align:right}.receipt td{border-bottom:1px solid #e4e8e5;padding:12px 10px}.receipt td:first-child b,.receipt td:first-child small{display:block}.receipt td:first-child small{color:#818b86;margin-bottom:3px;font-size:9px}.receipt-total{width:300px;margin:22px 0 0 auto}.receipt-total span,.receipt-total strong{justify-content:space-between;padding:5px;display:flex}.receipt-total span{font-size:11px}.receipt-total strong{border-top:2px solid var(--ink);margin-top:4px;padding-top:9px}.receipt-total em{color:var(--green);font-size:20px;font-style:normal}.receipt-total>small{text-align:right;color:var(--muted);margin-top:7px;display:block}.receipt footer{border-top:1px solid #dfe4e1;justify-content:space-between;align-items:center;margin-top:65px;padding-top:17px;font-size:11px;display:flex}.receipt footer p{color:var(--green);font-family:serif;font-size:14px}@media (width<=1180px){.metrics{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.pos-page{grid-template-columns:minmax(0,1fr) 355px}.receipt-meta{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.sidebar{transition:all .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.mobile-close,.menu-btn{place-items:center;display:grid}.sidebar-backdrop{z-index:29;background:#00000059;border:0;display:block;position:fixed;inset:0}.main{margin-left:0}.topbar{padding:0 18px}.crumb,.topbar b{display:none}.pos-page{display:block}.pos-products{padding:22px 18px 610px}.cart-panel{z-index:18;border-left:0;border-top:1px solid var(--line);height:min(590px,100vh - 64px);position:fixed;inset:auto 0 0;box-shadow:0 -15px 35px #1732271f}.customer-fields{grid-template-columns:1fr 1fr}.cart-items{min-height:72px;max-height:130px}.product-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.page{padding:24px 18px}}@media (width<=650px){.staff>span{display:none}.page-title{align-items:flex-start;gap:18px}.page-title h1{font-size:25px}.page-title .primary{padding:10px 12px;font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:9px}.metrics article{min-height:132px;padding:15px}.metrics article>strong{font-size:20px}.dashboard-grid{grid-template-columns:1fr}.source-note{align-items:flex-start;gap:10px}.source-note button{display:none}.toolbar{display:block}.toolbar>label{margin-bottom:10px}.filter-pills{padding-bottom:2px}.table-card{border-radius:9px}.table-card table{min-width:760px}.product-grid{grid-template-columns:repeat(2,1fr)}.pos-head{display:block}.pos-head>label{width:100%;margin-top:13px}.pos-products{padding-left:12px;padding-right:12px}.product-art{height:67px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.receipt{padding:28px 20px}.receipt-meta{grid-template-columns:1fr 1fr}.receipt footer{display:block}.order-list button{grid-template-columns:34px 1fr auto}.order-list em{display:none}.toast{justify-content:space-between;inset:72px 12px auto}.case-order-banner{align-items:flex-start}.case-order-banner button{flex:none}}.sidebar nav{padding:10px 12px;overflow-y:auto}.sidebar nav p{padding-top:8px}.sidebar nav button{min-height:39px;font-size:12px}.sidebar-foot small{margin-left:0}.module-cards{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:15px;display:grid}.module-cards article{border:1px solid var(--line);background:#fff;border-radius:11px;align-items:center;gap:13px;padding:18px;display:flex}.module-cards article>svg{width:34px;height:34px;color:var(--green);background:#e9f1ed;border-radius:9px;padding:8px}.module-cards small,.module-cards b{display:block}.module-cards small{color:var(--muted);margin-bottom:5px;font-size:10px}.module-cards b{font-size:18px}.positive{color:#267356}.allocation-tags{flex-wrap:wrap;gap:4px;min-width:170px;display:flex}.allocation-tags span{color:#315f4d;background:#edf3ef;border-radius:5px;padding:4px 6px;font-size:9px}.allocation-tags em{color:#95631f;background:#f8ecd9;border-radius:5px;padding:4px 6px;font-size:9px;font-style:normal}.row-actions{gap:5px;display:flex}.wide-field{grid-column:1/-1}.case-allocation{background:#f7f9f7;border:1px solid #dfe6e2;border-radius:7px;max-height:130px;margin-bottom:9px;padding:8px;overflow:auto}.case-allocation>div{justify-content:space-between;align-items:center;margin-bottom:5px;display:flex}.case-allocation>div b{font-size:10px}.case-allocation>div small{color:var(--muted);font-size:8px}.case-allocation label{border-top:1px solid #e6ebe8;grid-template-columns:1fr 78px 34px;align-items:center;gap:5px;padding:5px 0;display:grid}.case-allocation label>span{font-size:9px}.case-allocation label>span small{color:var(--muted);font-size:7px;display:block}.case-allocation input{border:1px solid #d8dfdb;border-radius:5px;width:100%;height:27px;padding:0 5px;font-size:9px}.case-allocation button{height:27px;color:var(--green);background:#e3ece7;border:0;border-radius:5px;font-size:8px}.cart-bottom{max-height:330px;overflow:auto}.login-loading{min-height:100vh;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.login-page{background:#0f3127;grid-template-columns:1fr minmax(360px,480px);align-items:center;gap:8vw;min-height:100vh;padding:7vw;display:grid;position:relative;overflow:hidden}.login-page:before{content:"";border:1px solid #c6ab6e2e;border-radius:50%;width:650px;height:650px;position:absolute;bottom:-360px;left:-230px;box-shadow:0 0 0 80px #c6ab6e08,0 0 0 160px #c6ab6e05}.login-brand{color:#fff;align-items:center;gap:17px;display:flex;position:relative}.login-brand .brand-mark{width:67px;height:67px;font-size:34px}.login-brand b,.login-brand span{display:block}.login-brand b{letter-spacing:.08em;font-family:serif;font-size:27px}.login-brand span{color:#99b5aa;letter-spacing:.14em;margin-top:7px;font-size:11px}.login-card{background:#fff;border-radius:15px;padding:36px;position:relative;box-shadow:0 30px 80px #00000040}.login-card h1{margin:0 0 8px;font-family:serif;font-size:27px}.login-card>p{color:var(--muted);margin:0 0 25px;font-size:11px}.login-card>label{margin:12px 0;display:block}.login-card>label>span{color:#58665f;margin-bottom:5px;font-size:10px;font-weight:650;display:block}.login-card label>div{color:#809087;border:1px solid #dce3df;border-radius:7px;align-items:center;gap:9px;height:43px;padding:0 11px;display:flex}.login-card label svg{width:16px}.login-card input{border:0;outline:0;width:100%;font-size:12px}.login-card>button{background:var(--green);color:#fff;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:18px;font-weight:700;display:flex}.login-card>button svg{width:17px}.login-card>small{text-align:center;color:#8a958f;margin-top:12px;font-size:9px;line-height:1.6;display:block}.login-error{color:#a14943;background:#fae9e7;border-radius:6px;padding:8px 10px;font-size:10px}@media (width<=800px){.module-cards{grid-template-columns:1fr}.login-page{grid-template-columns:1fr;padding:28px}.login-brand{justify-content:center}.login-card{justify-self:center;width:min(440px,100%)}}.demo-credentials{background:#faf5e8;border:1px solid #d9c99f;border-radius:8px;margin:18px 0;padding:13px 14px}.demo-credentials b,.demo-credentials span,.demo-credentials small{display:block}.demo-credentials b{color:#876928;letter-spacing:.12em;font-size:9px}.demo-credentials span{color:#2f4439;margin-top:6px;font-size:11px;font-weight:750}.demo-credentials small{color:#8d826c;margin-top:5px;font-size:9px}.item-case-select{color:#315b4b;background:#f7f9f7;border:1px solid #d8e1dc;border-radius:5px;width:100%;height:28px;margin-top:6px;padding:0 5px;font-size:8px;display:block}.case-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.case-card{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.case-card.closed{opacity:.78}.case-card>header{border-bottom:1px solid #edf0ee;justify-content:space-between;gap:10px;padding:18px 19px 14px;display:flex}.case-card h3{margin:4px 0;font-family:serif;font-size:20px}.case-card header p{color:var(--muted);margin:0;font-size:10px}.case-number{color:var(--green);letter-spacing:.04em;font-size:9px;font-weight:700}.case-dates{background:#f7f8f6;border-bottom:1px solid #e8ece9;grid-template-columns:repeat(3,1fr);display:grid}.case-dates span{border-right:1px solid #e5e9e6;padding:10px 14px}.case-dates span:last-child{border-right:0}.case-dates small,.case-dates b{display:block}.case-dates small{color:var(--muted);margin-bottom:4px;font-size:8px}.case-dates b{font-size:10px}.case-checklist{min-height:100px;max-height:210px;padding:8px 18px;overflow:auto}.case-checklist label{cursor:pointer;border-bottom:1px solid #edf0ee;align-items:center;gap:10px;padding:9px 2px;display:flex}.case-checklist label:last-child{border-bottom:0}.case-checklist input{width:17px;height:17px;accent-color:var(--green)}.case-checklist b,.case-checklist small{display:block}.case-checklist b{font-size:11px}.case-checklist small{color:var(--muted);margin-top:3px;font-size:9px}.case-checklist label.checked b{color:#7f8b85;text-decoration:line-through}.case-no-items{color:#9aa39f;place-items:center;min-height:84px;font-size:10px;display:grid}.case-card>footer{border-top:1px solid #edf0ee;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.close-case{background:var(--green);color:#fff;border:0;border-radius:6px;padding:8px 11px;font-size:10px;font-weight:650}.close-case:disabled{color:#fff;background:#c3cbc7}.closed-label{color:#4c7866;font-size:9px}.order-case-groups{flex-direction:column;gap:5px;min-width:230px;display:flex}.order-case-groups>span{border-left:3px solid var(--green2);background:#f2f6f3;border-radius:4px;grid-template-columns:auto auto 1fr;align-items:center;gap:6px;padding:6px 8px;display:grid}.order-case-groups b{font-size:9px}.order-case-groups small{color:#88672e;font-size:8px}.order-case-groups em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:8px;font-style:normal;overflow:hidden}.order-case-groups i{color:#986922;font-size:9px;font-style:normal}.case-items{min-height:118px;overflow-x:auto}.case-item-head,.case-item-row{grid-template-columns:42px minmax(155px,1.45fr) minmax(120px,1fr) 48px 80px 88px;align-items:center;gap:9px;min-width:660px;display:grid}.case-item-head{color:#6f7b75;letter-spacing:.03em;background:#f0f4f1;border-bottom:1px solid #e1e7e3;padding:9px 18px;font-size:8px;font-weight:700}.case-item-list{max-height:270px;overflow-y:auto}.case-item-row{color:#33423b;cursor:pointer;border-bottom:1px solid #edf0ee;padding:10px 18px;font-size:9px}.case-item-row:last-child{border-bottom:0}.case-item-row:hover{background:#fafbf9}.case-item-row input{width:17px;height:17px;accent-color:var(--green)}.case-item-row b,.case-item-row small{display:block}.case-item-product b{color:var(--ink);font-size:11px}.case-item-product small,.case-item-order small{color:var(--muted);margin-top:3px;font-size:8px}.case-item-order b{color:var(--green);font-size:9px}.case-item-row>strong{text-align:right;font-size:10px}.case-item-row.checked{color:#87928d;background:#f3f7f4}.case-item-row.checked .case-item-product b{color:#7f8b85;text-decoration:line-through}.case-no-items{text-align:center;align-content:center;gap:5px;min-width:320px;padding:22px}.case-no-items b,.case-no-items span{display:block}.case-no-items b{color:#718079;font-size:11px}.case-no-items span{color:#9aa39f;font-size:9px}.close-case{align-items:center;gap:6px;display:inline-flex}.case-order-banner{border:1px solid #cfe0d7;border-left:4px solid var(--green2);color:var(--green);background:#eef6f1;border-radius:9px;align-items:center;gap:10px;margin:0 0 14px;padding:12px 14px;display:flex}.case-order-banner>svg{flex:none}.case-order-banner span{flex:1;min-width:0}.case-order-banner b,.case-order-banner small{display:block}.case-order-banner b{font-size:12px}.case-order-banner small{color:#5f766c;margin-top:4px;font-size:9px}.case-order-banner button{color:var(--green);background:#fff;border:1px solid #c7d9d0;border-radius:6px;padding:7px 9px;font-size:9px}.item-case-select.needs-case{color:#9a4e2d;background:#fff7f1;border-color:#d88d69}.item-case-select.assigned{color:#285f48;background:#eff7f2;border-color:#8cb9a4}.checkout-alert,.checkout-ready{border-radius:6px;margin-bottom:9px;padding:8px 10px;font-size:9px;line-height:1.45}.checkout-alert{color:#96542f;background:#fff2e8;border:1px solid #f0c9ae}.checkout-alert.danger{color:#a14943;background:#fae9e7;border-color:#edc9c5}.checkout-ready{color:#2f7055;background:#eaf5ee;border:1px solid #cce3d5}@media (width<=1000px){.case-board{grid-template-columns:1fr}}.status-detail{margin-top:3px;color:inherit!important;font-size:7px!important;display:block!important}.signed-action{color:#286148!important;background:#edf6f1!important;border-color:#a8caba!important}.receipt-actions{align-items:center}.signed-chip{color:#27674d;background:#e4f2ea;border:1px solid #c2dfcf;border-radius:20px;margin-right:auto;padding:7px 10px;font-size:9px;font-weight:700}.signature-panel{background:#fff;border-radius:12px;margin-top:12px;padding:24px 26px;box-shadow:0 18px 45px #00000029}.signature-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:17px;display:flex}.signature-head h3{margin:0 0 5px;font-family:serif;font-size:22px}.signature-head p{color:var(--muted);margin:0;font-size:10px}.signature-head>span{color:#2c7055;white-space:nowrap;background:#e7f3ed;border-radius:20px;padding:6px 9px;font-size:9px;font-weight:700}.signer-field{margin-bottom:13px;display:block}.signer-field>span{color:#5e6b65;margin-bottom:5px;font-size:9px;font-weight:700;display:block}.signer-field input{border:1px solid #dce3df;border-radius:7px;outline:0;width:100%;height:40px;padding:0 11px;font-size:12px}.signer-field input:focus{border-color:#5f8a78;box-shadow:0 0 0 3px #3d7a6014}.signature-pad-wrap{background:#f9fbf9;border:1px solid #dce4df;border-radius:9px;padding:10px}.signature-pad-wrap>div{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.signature-pad-wrap>div b{font-size:10px}.signature-pad-wrap>div span{gap:5px;display:flex}.signature-pad-wrap button{color:#426757;background:#fff;border:1px solid #d4dfd9;border-radius:5px;padding:5px 8px;font-size:8px}.signature-pad-wrap button:disabled{opacity:.45}.signature-pad-wrap>small{color:#87938d;margin-top:6px;font-size:8px;display:block}.signature-canvas{aspect-ratio:900/260;touch-action:none;cursor:crosshair;background:#fff;border:1px dashed #9aafa5;border-radius:6px;width:100%;height:auto;display:block}.signature-canvas.readonly{cursor:default}.signature-consent{color:#45564e;align-items:flex-start;gap:9px;padding:12px 2px 8px;font-size:10px;line-height:1.55;display:flex}.signature-consent input{width:17px;height:17px;accent-color:var(--green);flex:none}.signature-error{color:#a14943;background:#fae9e7;border-radius:6px;margin-bottom:8px;padding:8px 10px;font-size:9px}.signature-submit{background:var(--green);color:#fff;border:0;border-radius:8px;width:100%;height:46px;font-weight:700}.signature-submit:disabled{background:#aebeb7}.signature-legal{text-align:center;color:#818d87;margin-top:8px;font-size:8px;line-height:1.55;display:block}.receipt footer.signed-footer{margin-top:35px;display:block}.receipt-signature{border-top:1px dashed #cdd7d2;grid-template-columns:220px 1fr;align-items:end;gap:17px;margin-top:13px;padding-top:12px;display:grid}.receipt-signature .signature-canvas{background:0 0;border:0;width:220px;height:64px}.receipt-signature span b,.receipt-signature span small{display:block}.receipt-signature span b{font-size:10px}.receipt-signature span small{color:var(--muted);margin-top:3px;font-size:8px;line-height:1.5}@media (width<=650px){.signature-panel{border-radius:10px;padding:19px 15px}.signature-head{gap:10px}.signature-head h3{font-size:19px}.signature-canvas{min-height:132px}.receipt-signature{grid-template-columns:1fr}.receipt-signature .signature-canvas{width:100%;height:auto;max-height:90px}.receipt-actions .primary{padding:9px;font-size:9px}.signed-chip{padding:6px 8px;font-size:8px}}.case-card .case-items{min-height:118px;overflow:hidden}.case-summary-head{color:#6f7b75;background:#f0f4f1;border-bottom:1px solid #e1e7e3;grid-template-columns:1fr auto auto;align-items:center;gap:12px;min-height:36px;padding:7px 14px;font-size:8px;font-weight:700;display:grid}.case-summary-head button,.case-summary-more{color:var(--green2);background:0 0;border:0;font-weight:700}.case-summary-head button{min-height:30px;padding:0 5px}.case-summary-list{padding:0 15px}.case-summary-row{border-bottom:1px solid #edf0ee;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;display:grid}.case-summary-row:last-of-type{border-bottom:0}.case-summary-row>span:nth-child(2){min-width:0}.case-summary-row b,.case-summary-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.case-summary-row b{font-size:11px}.case-summary-row small{color:var(--muted);margin-top:3px;font-size:8px}.case-summary-row>strong{font-size:10px}.case-summary-status{color:#9b6b28;background:#f5ead9;border-radius:50%;place-items:center;width:24px;height:24px;font-size:8px;font-weight:800;display:grid}.case-summary-row.checked .case-summary-status{color:#267052;background:#e3f0e9}.case-summary-row.checked b{color:#7f8b85;text-decoration:line-through}.case-summary-more{border-top:1px dashed #dfe6e2;width:100%;min-height:38px;font-size:9px}.case-footer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.case-add-items{min-height:34px;color:var(--green);background:#edf5f1;border:1px solid #b9d0c5;border-radius:6px;align-items:center;gap:6px;padding:7px 10px;font-size:10px;font-weight:700;display:inline-flex}.closed-label.cancelled{color:#9c6253}.case-order-overlay{z-index:90;justify-content:flex-end;display:flex;position:fixed;inset:0}.case-order-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b1c1694;border:0;width:100%;height:100%;position:absolute;inset:0}.case-order-drawer{background:#f5f7f5;grid-template-rows:auto auto minmax(0,1fr);width:min(1120px,100vw - 238px);min-width:760px;height:100dvh;display:grid;position:relative;overflow:hidden;box-shadow:-24px 0 70px #081d153d}.case-order-drawer-head{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:18px;min-height:94px;padding:17px 20px 15px 22px;display:grid}.case-order-identity{min-width:0}.case-order-identity .eyebrow{margin-bottom:5px}.case-order-identity h2{margin:0;font-family:Noto Serif TC,Songti TC,serif;font-size:25px}.case-order-identity p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:10px;overflow:hidden}.case-order-head-summary{background:#f8faf8;border:1px solid #e0e7e3;border-radius:9px;align-items:center;display:flex;overflow:hidden}.case-order-head-summary>span{text-align:center;border-right:1px solid #e0e7e3;min-width:88px;padding:9px 13px}.case-order-head-summary>span:last-child{border-right:0}.case-order-head-summary small,.case-order-head-summary b{display:block}.case-order-head-summary small{color:var(--muted);margin-bottom:3px;font-size:8px}.case-order-head-summary b{color:var(--green);font-size:13px}.case-order-close{color:#52645b;background:#eef2ef;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.case-order-close:disabled{opacity:.45}.case-order-mobile-tabs{display:none}.case-order-workspace{grid-template-columns:minmax(0,1fr) 370px;min-height:0;display:grid;overflow:hidden}.case-order-workspace.read-only{grid-template-columns:minmax(0,1fr)}.case-order-left,.case-order-cart-pane{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.case-order-left{border-right:1px solid var(--line);background:#f5f7f5}.case-order-section-tabs{border-bottom:1px solid var(--line);background:#fff;flex:none;align-items:end;gap:4px;padding:12px 17px 0;display:flex}.case-order-section-tabs button{color:#718078;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:7px;min-height:43px;padding:0 14px;font-size:11px;font-weight:700;display:flex}.case-order-section-tabs button.active{color:var(--green);border-bottom-color:var(--green2)}.case-order-section-tabs button span{background:#edf2ef;border-radius:20px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:8px;display:grid}.case-existing-intro{color:#587066;background:#edf5f1;flex:none;justify-content:space-between;align-items:center;gap:15px;min-height:47px;padding:10px 18px;font-size:9px;display:flex}.case-existing-intro b{white-space:nowrap;color:#2b684f}.case-existing-scroll,.case-order-product-list,.case-order-cart-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;overflow-y:auto}.case-existing-scroll{flex:1;padding:11px 17px 20px}.case-existing-row{cursor:pointer;background:#fff;border:1px solid #e3e8e5;border-radius:9px;grid-template-columns:30px minmax(0,1fr) 44px auto;align-items:center;gap:10px;min-height:62px;margin-bottom:8px;padding:9px 12px;display:grid}.case-existing-row input{width:19px;height:19px;accent-color:var(--green)}.case-existing-row>span:first-of-type{min-width:0}.case-existing-row b,.case-existing-row small{display:block}.case-existing-row>span:first-of-type b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.case-existing-row small{color:var(--muted);margin-top:4px;font-size:8px}.case-existing-row>span:nth-of-type(2){text-align:center}.case-existing-row>strong{text-align:right;font-size:11px}.case-existing-row.checked{color:#7a8881;background:#f1f6f3}.case-existing-row.checked>span:first-of-type b{text-decoration:line-through}.case-product-toolbar{border-bottom:1px solid var(--line);background:#fff;flex:none;padding:12px 17px 10px}.case-product-toolbar>label{color:#78877f;border:1px solid #dce4df;border-radius:8px;align-items:center;gap:8px;height:42px;padding:0 11px;display:flex}.case-product-toolbar>label:focus-within{border-color:#6a9783;box-shadow:0 0 0 3px #3d7a6014}.case-product-toolbar input{background:0 0;border:0;outline:0;width:100%;font-size:11px}.case-product-categories{scrollbar-width:thin;gap:5px;padding-top:9px;display:flex;overflow-x:auto}.case-product-categories button{white-space:nowrap;color:#617169;background:#fff;border:1px solid #dce4df;border-radius:20px;min-height:31px;padding:0 11px;font-size:9px}.case-product-categories button.active{border-color:var(--green);background:var(--green);color:#fff}.case-order-product-list{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px;padding:13px 16px 22px;display:grid}.case-order-product{background:#fff;border:1px solid #e1e7e3;border-radius:10px;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:10px;min-width:0;min-height:88px;padding:10px;transition:all .12s;display:grid}.case-order-product.selected{border-color:#76a990;box-shadow:0 0 0 2px #387a5b14}.case-product-mark{color:#fff;letter-spacing:.05em;border-radius:9px;place-items:center;width:48px;height:48px;font-size:11px;font-weight:900;display:grid}.case-product-detail{min-width:0}.case-product-detail>small,.case-product-detail>b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.case-product-detail>small{color:#89958f;font-size:8px}.case-product-detail>b{margin:4px 0 7px;font-size:11px}.case-product-detail>span{justify-content:space-between;align-items:center;gap:7px;display:flex}.case-product-detail strong{color:var(--green);font-size:11px}.case-product-detail em{color:#78847e;white-space:nowrap;font-size:8px;font-style:normal}.case-order-product>button{width:44px;height:44px;color:var(--green);background:#e7f1ec;border:0;border-radius:50%;place-items:center;display:grid;position:relative}.case-order-product>button:hover:not(:disabled){background:var(--green);color:#fff}.case-order-product>button:disabled{color:#aeb7b2;background:#edf0ee}.case-order-product>button span{color:#fff;background:#c39242;border:2px solid #fff;border-radius:20px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:8px;font-weight:800;display:grid;position:absolute;top:-4px;right:-3px}.case-workspace-empty{text-align:center;color:#93a099;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;min-height:210px;padding:24px;display:flex}.case-workspace-empty>svg{color:#bdc7c2;width:34px;height:34px;margin-bottom:10px}.case-workspace-empty>b{color:#6f7d76;font-size:12px}.case-workspace-empty>p{max-width:300px;margin:5px 0 13px;font-size:9px;line-height:1.55}.case-workspace-empty>button{min-height:38px;color:var(--green);background:#fff;border:1px solid #c9d9d1;border-radius:7px;padding:0 13px;font-size:10px;font-weight:700}.case-order-mobile-summary{display:none}.case-order-cart-pane{background:#fff}.case-order-cart-pane>header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:67px;padding:12px 15px;display:flex}.case-order-cart-pane>header>div{align-items:center;gap:9px;min-width:0;display:flex}.case-order-cart-pane>header svg{color:var(--green);flex:none}.case-order-cart-pane>header b,.case-order-cart-pane>header small{display:block}.case-order-cart-pane>header b{font-size:12px}.case-order-cart-pane>header small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:8px;overflow:hidden}.case-order-cart-pane>header>button{color:#a14e4a;background:0 0;border:0;align-items:center;gap:4px;min-height:36px;font-size:9px;display:flex}.case-order-cart-scroll{flex:1;padding:0 15px}.case-order-cart-item{border-bottom:1px solid #edf0ee;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;display:grid;position:relative}.case-order-cart-item>div:first-child{min-width:0;padding-right:25px}.case-order-cart-item b,.case-order-cart-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.case-order-cart-item b{font-size:11px}.case-order-cart-item small{color:var(--muted);margin-top:4px;font-size:8px}.case-order-cart-item>strong{align-self:center;font-size:11px}.case-cart-remove{color:#9da8a3;background:0 0;border:0;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:8px;right:0}.case-cart-quantity{border:1px solid #dce4df;border-radius:7px;grid-template-columns:38px 38px 38px;align-items:center;width:max-content;display:grid;overflow:hidden}.case-cart-quantity button{color:#53665d;background:#f3f6f4;border:0;place-items:center;width:38px;height:38px;display:grid}.case-cart-quantity button svg{width:13px}.case-cart-quantity span{text-align:center;font-size:11px}.case-order-checkout{padding:13px 15px calc(13px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex:none;box-shadow:0 -10px 24px #1c362b0f;margin:0!important}.case-order-checkout>label{margin-bottom:10px;display:block}.case-order-checkout>label>span{color:#65736c;margin-bottom:4px;font-size:8px;font-weight:700;display:block}.case-order-checkout select{background:#fff;border:1px solid #dce4df;border-radius:7px;width:100%;height:38px;padding:0 9px;font-size:10px}.case-order-checkout>div>span,.case-order-checkout>div>strong{justify-content:space-between;align-items:center;display:flex}.case-order-checkout>div>span{color:#68756f;font-size:9px}.case-order-checkout>div>strong{border-top:1px dashed #d5ddd9;margin-top:7px;padding-top:9px;font-size:12px}.case-order-checkout em{color:var(--green);font-size:19px;font-style:normal}.case-order-checkout>button{background:var(--green);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;margin-top:10px;font-size:12px;font-weight:800;display:flex}.case-order-checkout>button:disabled{background:#b7c4be}.case-order-checkout>small{text-align:center;color:#87938d;margin-top:7px;font-size:8px;line-height:1.5;display:block}@media (width<=1100px){.case-order-drawer{width:calc(100vw - 32px);min-width:0}.case-order-workspace{grid-template-columns:minmax(0,1fr) 340px}}@media (width<=840px){.case-order-drawer{width:100vw;height:100dvh}.case-order-drawer-head{grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;min-height:84px;padding:13px 13px 11px 15px}.case-order-identity h2{font-size:21px}.case-order-head-summary>span{min-width:67px;padding:7px}.case-order-head-summary>span:first-child{display:none}.case-order-mobile-tabs{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:repeat(3,1fr);padding:0 8px;display:grid}.case-order-mobile-tabs.read-only{grid-template-columns:1fr}.case-order-mobile-tabs button{color:#748179;background:0 0;border:0;border-bottom:3px solid #0000;min-height:49px;font-size:10px;font-weight:700}.case-order-mobile-tabs button.active{color:var(--green);border-bottom-color:var(--green)}.case-order-mobile-tabs button span{background:#edf2ef;border-radius:20px;place-items:center;min-width:18px;height:18px;margin-left:2px;padding:0 4px;font-size:7px;display:inline-grid}.case-order-workspace{height:100%;min-height:0;display:block;overflow:hidden}.case-order-left,.case-order-cart-pane{border:0;height:100%}.case-order-left.mobile-hidden,.case-order-cart-pane{display:none}.case-order-cart-pane.mobile-active{display:flex}.case-order-section-tabs{display:none}.case-order-product-list{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:88px}.case-order-mobile-summary{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:2;background:var(--green);color:#fff;border:0;border-radius:9px;justify-content:space-between;align-items:center;min-height:52px;padding:0 15px;display:flex;position:absolute;box-shadow:0 9px 26px #113d2d47}.case-order-left{position:relative}.case-order-cart-pane>header{min-height:59px}}@media (width<=600px){.case-order-head-summary{display:none}.case-order-drawer-head{grid-template-columns:minmax(0,1fr) 44px}.case-order-identity p{font-size:9px}.case-order-product-list{grid-template-columns:1fr;padding:10px 10px 88px}.case-product-toolbar{padding:10px}.case-order-product{min-height:82px}.case-existing-intro{align-items:flex-start;padding:9px 12px}.case-existing-intro span{line-height:1.45}.case-existing-scroll{padding:9px 10px 18px}.case-existing-row{grid-template-columns:26px minmax(0,1fr) 34px auto;gap:7px;padding:8px}.case-order-cart-scroll{padding:0 12px}.case-order-checkout{padding-left:12px;padding-right:12px}.case-card>footer{align-items:flex-start;gap:8px}.case-footer-actions{flex:1}}@media print{.case-order-overlay{display:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}:where(button,input,select,summary,[tabindex]):focus-visible{outline-offset:2px;outline:3px solid #29795861}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.mobile-bottom-nav{display:none}.sidebar,.main{transition:width .2s,margin-left .2s}.sidebar nav{overscroll-behavior:contain;min-height:0;overflow-y:auto}.sidebar-width-toggle{min-width:44px;min-height:44px;color:var(--green);white-space:nowrap;background:#fff;border:1px solid #d8e1dc;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-weight:750;display:inline-flex}.sidebar-width-toggle:hover{background:#edf5f1;border-color:#9ebcaf}.sidebar-width-toggle svg{flex:0 0 21px;width:21px;height:21px}.brand-copy{min-width:0}.sidebar nav button .nav-label{color:inherit;margin-left:0;font-size:14px}.sidebar nav button .nav-status{color:#78978b;margin-left:auto;font-size:9px}@media (width>=901px){.app-shell.sidebar-condensed .sidebar{width:88px}.app-shell.sidebar-condensed .main{margin-left:88px}.app-shell.sidebar-condensed .brand{justify-content:center;height:76px;padding:14px 8px}.app-shell.sidebar-condensed .brand-mark{flex:0 0 45px;width:45px;height:45px}.app-shell.sidebar-condensed .brand-copy,.app-shell.sidebar-condensed .sidebar nav p,.app-shell.sidebar-condensed .sidebar nav button em,.app-shell.sidebar-condensed .sidebar nav button .nav-status,.app-shell.sidebar-condensed .sidebar-foot small{display:none}.app-shell.sidebar-condensed .sidebar nav{padding:10px 8px}.app-shell.sidebar-condensed .sidebar nav button{text-align:center;flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:7px 3px}.app-shell.sidebar-condensed .sidebar nav button.active{box-shadow:inset 3px 0 #d2b374}.app-shell.sidebar-condensed .sidebar nav button .nav-label{text-align:center;white-space:normal;max-width:72px;font-size:12px;line-height:1.25;overflow:hidden}.app-shell.sidebar-condensed .sidebar-foot{text-align:center;padding:15px 0;font-size:0;overflow:hidden}.app-shell.sidebar-condensed .sidebar-foot .status-dot{margin:0}.app-shell.sidebar-condensed .case-order-drawer{width:min(1120px,100vw - 88px)}}@media (width>=901px) and (width<=1180px){.topbar{padding:0 18px}.topbar .crumb{display:none}}@media (width<=900px){html{scroll-padding-bottom:calc(82px + env(safe-area-inset-bottom))}.sidebar{z-index:65;width:min(320px,88vw);height:100dvh}.sidebar.open{transform:translate(0)}.sidebar .brand{min-height:76px}.sidebar .brand-copy{display:block}.sidebar nav{overscroll-behavior:contain}.sidebar nav p{display:block}.sidebar nav button{text-align:left;flex-direction:row;justify-content:flex-start;gap:12px;min-height:48px;padding:0 12px}.sidebar nav button .nav-label{max-width:none;color:inherit;text-overflow:clip;margin-left:0;font-size:14px;overflow:visible}.sidebar nav button em,.sidebar nav button .nav-status{margin-left:auto;display:inline-block}.sidebar-foot{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.sidebar-backdrop{z-index:64}.mobile-close,.menu-btn{flex:0 0 44px;width:44px;height:44px}.sidebar-width-toggle{display:none}.main{padding-bottom:calc(70px + env(safe-area-inset-bottom));margin-left:0}.topbar{height:58px;padding:0 12px}.topbar>div,.topbar .staff{gap:5px}.topbar .staff>span{text-overflow:ellipsis;white-space:nowrap;max-width:90px;padding:5px 7px;display:inline-flex;overflow:hidden}.topbar .staff>button{justify-content:center;width:44px;height:44px;font-size:0;overflow:hidden}.topbar .staff>button svg{width:18px;height:18px}.mobile-bottom-nav{z-index:45;min-height:calc(68px + env(safe-area-inset-bottom));padding:5px 7px calc(5px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff7;border-top:1px solid #dce3df;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -9px 26px #1432271c}.mobile-bottom-nav>button{color:#708078;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:56px;font-size:10px;font-weight:700;display:flex}.mobile-bottom-nav>button svg{width:21px;height:21px}.mobile-bottom-nav>button.active{color:var(--green);background:#e8f2ed}}@media (width<=560px){.topbar strong{text-overflow:ellipsis;white-space:nowrap;max-width:94px;overflow:hidden}.topbar .staff>span{max-width:76px}}@media print{.mobile-bottom-nav{display:none!important}}.mobile-cart-trigger,.mobile-cart-backdrop,.mobile-cart-close{display:none}.cart-title-actions{align-items:center;gap:4px;display:flex}.cart-title-actions>button{background:0 0;border:0}.cart-title-actions .clear-cart{color:#a14e4a;align-items:center;gap:4px;min-height:38px;padding:0 7px;font-size:10px;display:inline-flex}@media (width>=901px) and (width<=1180px){.pos-page{grid-template-columns:minmax(0,1fr) 340px}.pos-products{padding:22px 18px 32px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pos-head{align-items:flex-start;gap:12px}.pos-head>label{width:min(250px,48%)}}@media (width<=900px){.mobile-bottom-nav>button.pos-action{color:var(--green)}.mobile-bottom-nav>button.pos-action.active{background:var(--green);color:#fff}.category-tabs button{min-height:44px}.pos-head>label{min-height:46px}.pos-head input{font-size:16px}.category-tabs{scrollbar-width:none;scroll-snap-type:x proximity}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{scroll-snap-align:start;padding-inline:14px;font-size:12px}.pos-page{min-height:calc(100dvh - 58px);display:block}.pos-products{padding:20px 18px calc(100px + env(safe-area-inset-bottom))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{touch-action:manipulation;min-height:156px}.mobile-cart-trigger{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:46;background:var(--green);color:#fff;border:0;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:8px 15px;display:flex;position:fixed;box-shadow:0 12px 30px #0d39284d}.mobile-cart-trigger:disabled{opacity:.92;background:#60736a}.mobile-cart-trigger[aria-expanded=true]{visibility:hidden}.mobile-cart-trigger>span{align-items:center;gap:7px;display:flex}.mobile-cart-trigger>span:last-child{flex-direction:column;align-items:flex-end;gap:1px}.mobile-cart-trigger b,.mobile-cart-trigger strong{font-size:13px}.mobile-cart-trigger em{color:#d6e7df;font-size:9px;font-style:normal}.mobile-cart-backdrop{z-index:70;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b1c1694;border:0;width:100%;height:100%;display:block;position:fixed;inset:0}.cart-panel{z-index:71;opacity:0;pointer-events:none;border:0;border-radius:20px 20px 0 0;height:min(88dvh,820px);max-height:calc(100dvh - 20px);transition:transform .22s,opacity .15s;position:fixed;inset:auto 0 0;transform:translateY(105%);box-shadow:0 -22px 60px #0e261d47}.cart-panel.mobile-open{opacity:1;pointer-events:auto;transform:translateY(0)}.cart-title{flex:none;height:auto;min-height:68px;padding:8px 13px 8px 17px}.mobile-cart-close{color:#52645b;background:#edf2ef;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.mobile-cart-close svg{width:20px}.customer-fields{flex:none}.customer-fields input,.customer-fields select,.payment-row input,.payment-row select{height:44px;min-height:44px;font-size:16px}.customer-fields label>span,.payment-row label>span{margin-bottom:5px;font-size:12px}.cart-items{min-height:76px;max-height:none}.cart-item{min-height:82px}.cart-item b{font-size:13px}.cart-item small{font-size:11px}.remove-item{place-items:center;width:44px;height:44px;display:grid;top:5px}.qty{grid-template-columns:44px 42px 44px}.qty button{height:44px}.qty span{font-size:14px}.cart-bottom{max-height:43dvh;padding-bottom:calc(14px + env(safe-area-inset-bottom));flex:none}.checkout{height:50px;min-height:50px}.checkout-note,.checkout-alert,.checkout-ready{font-size:11px}}@media (width<=700px){.pos-head h1{font-size:25px}}@media (width<=560px){.pos-products{padding-left:12px;padding-right:12px}.pos-head{display:block}.pos-head>label{width:100%;margin-top:13px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{min-height:142px}.product-art{height:70px}.customer-fields{grid-template-columns:1fr;padding:13px 14px}.customer-fields>div,.payment-row{grid-template-columns:1fr 1fr}.customer-fields>label,.customer-fields>.customer-picker{grid-column:1/-1}.cart-bottom{padding-inline:14px}}@media (height<=600px) and (width<=900px){.cart-panel{border-radius:0;height:100dvh;max-height:100dvh}.customer-fields{padding-block:9px}.cart-title{min-height:58px}.cart-bottom{max-height:48dvh}}@media print{.mobile-cart-trigger,.mobile-cart-backdrop{display:none!important}}.customer-picker{min-width:0;position:relative}.customer-picker>label{color:#6b7771;margin:0 0 4px;font-size:9px;font-weight:650;display:block}.customer-picker-input{color:#728078;background:#fff;border:1px solid #dfe4e0;border-radius:6px;align-items:center;gap:7px;width:100%;height:34px;padding:0 8px;display:flex}.customer-picker-input:focus-within{border-color:#5f8a78;box-shadow:0 0 0 3px #3d7a6014}.customer-picker-input>svg{flex:0 0 15px;width:15px}.customer-picker-input>input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;font-size:11px}.customer-picker-results{z-index:78;overscroll-behavior:contain;background:#fff;border:1px solid #d7e0db;border-radius:9px;max-height:320px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 45px #12302533}.customer-picker-results>button{width:100%;min-height:48px;color:var(--ink);text-align:left;background:#fff;border:0;border-radius:7px;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:7px;padding:7px 8px;display:grid}.customer-picker-results>button:hover,.customer-picker-results>button.active{background:#edf5f1}.customer-picker-results>button>svg{width:17px;color:var(--green2)}.customer-picker-results>button>span{min-width:0}.customer-picker-results b,.customer-picker-results small{display:block}.customer-picker-results b{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.customer-picker-results small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:8px;overflow:hidden}.customer-picker-results>p{color:var(--muted);text-align:center;margin:0;padding:18px 10px;font-size:10px;line-height:1.5}.customer-picker-results .customer-picker-hint{text-align:center;white-space:normal;border-top:1px solid #edf0ee;padding:7px 8px 5px}.customer-toolbar{border-radius:11px 11px 0 0}.customer-toolbar>label{flex:1;max-width:470px}.customer-toolbar>label input{width:100%}.customer-toolbar>span{color:var(--muted);font-size:11px}.load-more{border:0;border-top:1px solid var(--line);width:100%;min-height:48px;color:var(--green);background:#f8faf8;font-size:11px;font-weight:750}.load-more:hover{background:#edf5f1}@media (width>=901px) and (width<=1180px){.page{padding:26px 24px}}@media (width<=900px){.page{padding:24px 18px}.primary,.secondary-action,.icon-button,.text-btn,.filter-pills button,.source-note button{min-height:44px}.toolbar>label{min-height:46px}.toolbar input{font-size:16px}.filter-pills{scrollbar-width:none;scroll-snap-type:x proximity}.filter-pills::-webkit-scrollbar{display:none}.filter-pills button{scroll-snap-align:start;padding-inline:14px;font-size:12px}.customer-picker-input{height:44px;min-height:44px;font-size:16px}.customer-picker>label{margin-bottom:5px;font-size:12px}.customer-picker-input>input{font-size:16px}.customer-picker-results{max-height:min(43dvh,360px)}.customer-picker-results>button{min-height:56px}.customer-picker-results b{font-size:13px}.customer-picker-results small{font-size:11px}.order-tracking-actions button,.date-range-presets button,.date-range-apply,.date-range-custom input{min-height:44px}.mobile-card-table{background:0 0;border:0;border-radius:0;overflow:visible}.mobile-card-table table,.mobile-card-table tbody{width:100%;display:block;min-width:0!important}.mobile-card-table thead{display:none}.mobile-card-table tr{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr 1fr;margin:0 0 10px;display:grid;overflow:hidden;box-shadow:0 4px 14px #182b2309}.mobile-card-table td,.mobile-card-table.orders-table td:first-child{overflow-wrap:anywhere;border-bottom:1px solid #edf0ed;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:5px;min-width:0;min-height:58px;padding:11px 12px;font-size:13px;display:flex}.mobile-card-table td:before{content:attr(data-label);color:var(--muted);font-size:12px;font-weight:750}.mobile-card-table td:first-child{grid-column:1/-1;min-height:68px}.mobile-card-table td:first-child:before,.mobile-card-table .mobile-card-action:before{display:none}.mobile-card-table .mobile-card-action{border-bottom:0;grid-column:1/-1;min-height:54px;padding:7px}.mobile-card-table .mobile-card-action .icon-button{justify-content:center;width:100%;min-height:44px;font-size:13px}.mobile-card-table .product-cell{width:100%;min-width:0}.mobile-card-table .cell-sub{font-size:12px;line-height:1.45}.customer-mobile-table td[data-label=聯絡窗口],.customer-mobile-table td[data-label=地址],.shipment-mobile-table td[data-label=客戶／收件人],.shipment-mobile-table td[data-label=地址]{grid-column:1/-1}}@media (width<=700px){.page{padding:20px 12px}.page-title,.page-title.compact{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px}.page-title h1{font-size:25px}.page-title p{font-size:13px;line-height:1.6}.page-title>.primary,.page-title-actions,.page-title-actions>button{width:100%}.primary,.secondary-action{justify-content:center;min-height:48px}.toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px;display:flex}.toolbar>label,.customer-toolbar>label{width:100%;max-width:none;margin:0}.toolbar>label input{width:100%}.customer-toolbar>span{padding:0 2px;font-size:12px}.metrics{grid-template-columns:1fr 1fr}.metrics article{min-height:124px}.module-cards{grid-template-columns:1fr 1fr;gap:8px}.module-cards article{min-height:90px;padding:13px}.module-cards article:last-child:nth-child(odd){grid-column:1/-1}.order-tracking-status-grid{grid-template-columns:1fr 1fr}.order-tracking-status-grid>section,.order-tracking-status-grid>section:nth-child(2){border-top:0;border-right:1px solid #e3e8e5;min-height:78px}.order-tracking-status-grid>section:nth-child(2n){border-right:0}.order-tracking-status-grid>section:nth-child(n+3){border-top:1px solid #e3e8e5}.order-tracking-status-grid small,.order-case-detail>summary>div:first-child span{font-size:10px}.order-tracking-status-grid b{font-size:12px}.order-tracking-status-grid em{font-size:10px}.date-range-custom input{font-size:16px}.toast{bottom:calc(80px + env(safe-area-inset-bottom))}}@media (width<=560px){.mobile-card-table tr{grid-template-columns:1fr}.mobile-card-table td,.mobile-card-table td:first-child,.customer-mobile-table td[data-label=聯絡窗口],.customer-mobile-table td[data-label=地址],.shipment-mobile-table td[data-label=客戶／收件人],.shipment-mobile-table td[data-label=地址],.mobile-card-table .mobile-card-action{grid-column:1}.module-cards article{flex-direction:column;align-items:flex-start;gap:7px}}@media (width<=700px){.modal-wrap{place-items:end center;padding:0}.modal{border-radius:20px 20px 0 0;flex-direction:column;width:100%;height:min(92dvh,820px);max-height:100dvh;display:flex;overflow:hidden}.modal-head{flex:none;min-height:72px;padding:13px 14px 11px 17px}.modal-head h2{font-size:21px}.modal-head>button{flex:0 0 44px;width:44px;height:44px}.form-grid{overscroll-behavior:contain;flex:auto;grid-template-columns:1fr;gap:15px;min-height:0;padding:16px 14px 24px;overflow-y:auto}.form-grid .wide{grid-column:auto}.form-grid label>span,.form-grid .customer-picker>label{margin-bottom:6px;font-size:12px}.form-grid input,.form-grid select,.form-grid .customer-picker-input{height:48px;min-height:48px;font-size:16px}.form-grid .customer-picker-input>input{font-size:16px}.form-grid .customer-picker-results{max-height:300px;margin-top:6px;position:static}.code-help{flex:none;margin:0 14px 8px;font-size:11px}.modal-actions{padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex:none;grid-template-columns:1fr 1.4fr;display:grid;box-shadow:0 -9px 22px #182b2312}.modal-actions>button{min-height:48px;padding:0 12px;font-size:14px}.login-page,.login-loading{min-height:100dvh}.login-page{padding:24px 16px;overflow-y:auto}.login-card{padding:27px 20px}.login-card label>div,.login-card>button{height:48px;min-height:48px}.login-card input{font-size:16px}}@media screen{.app-shell{--ui-body-size:14px;--ui-control-size:13px;--ui-caption-size:11px;font-size:var(--ui-body-size);line-height:1.5}.app-shell button{font-size:var(--ui-control-size);line-height:1.35}.app-shell :is(input,select,textarea){font-size:14px;line-height:1.4}.app-shell small{font-size:var(--ui-caption-size);line-height:1.45}.app-shell p{font-size:13px;line-height:1.55}.app-shell :is(.table-card,.analytics-table-wrap) table{font-size:13px}.app-shell :is(.table-card,.analytics-table-wrap) th{font-size:12px;line-height:1.4}.app-shell :is(.table-card,.analytics-table-wrap) td{line-height:1.5}.app-shell :is(.metrics article>small,.panel-head p,.count-badge,.order-list small,.stock-list small,.order-list em,.product-art em,.product-info>small,.product-info em,.cart-title small,.cart-item small,.totals>span,.checkout-note){font-size:12px;line-height:1.45}.app-shell .mobile-cart-trigger em{font-size:12px;line-height:1.35}.app-shell :is(.order-list button>span:nth-child(2) b,.stock-list b,.order-list strong,.product-info strong,.cart-item b,.cart-item>strong,.totals>strong,.qty span){font-size:13px;line-height:1.4}.app-shell :is(.eyebrow,.customer-picker>label,.customer-fields label>span,.payment-row label>span,.form-grid label>span,.signer-field>span,.case-payment-field>span,.case-order-checkout>label>span),.app-shell :is(.brand-copy span,.sidebar nav p,.sidebar nav button em,.sidebar nav button .nav-status,.customer-toolbar>span){font-size:12px;line-height:1.4}.app-shell :is(.product-info>b,.cart-item b,.case-summary-row b,.case-product-detail>b,.case-order-cart-item b,.rank-label b,.accounting-case-items b){height:auto;font-size:13px;line-height:1.45}.app-shell :is(.status-detail,.price-tag,.channel-tag,.done-tag,.signed-chip,.source-chip,.customer-tier,.case-monthly-badge,.case-hub-status,.case-stage-payment-status,.case-settlement-method-chip,.closed-label,.accounting-access,.accounting-status,.accounting-disabled-reason,.checkout-note,.checkout-alert,.checkout-ready,.detail-limit-note,.case-hub-limit-note,.signature-legal,.signature-error){line-height:1.45;font-size:12px!important}.app-shell :is(.case-summary-head,.case-existing-intro,.case-stage-payment-meta>span,.case-stage-fulfillment-control>b,.case-payment-selection p,.case-payment-select-all span,.case-payment-line-check>b,.case-payment-line-amount>span,.case-payment-sticky-footer>div span,.segment-rules,.unlinked-sales,.metric-notes){font-size:12px;line-height:1.5}.app-shell :is(.case-hub-overview b,.case-stage-finance-summary b,.case-accounting-totals b,.order-tracking-status-grid b,.order-case-summary-metrics b,.order-case-product-finance b,.ranked-row>strong,.operations-list b,.operations-list strong){font-size:12px;line-height:1.4}.app-shell .case-hub-section-head p,.app-shell .case-hub-section-head>span,.app-shell .case-hub-number,.app-shell .case-monthly-badge,.app-shell .case-hub-status,.app-shell .case-hub-overview small,.app-shell .case-stage-title small,.app-shell .case-stage-finance-summary small,.app-shell .case-stage-item-finance small,.app-shell .case-accounting-copy small,.app-shell .case-accounting-totals small,.app-shell .case-hub-actions>span,.app-shell .case-hub-history-empty span,.app-shell .case-hub-limit-note,.app-shell .case-payment-head p,.app-shell .case-payment-selection p,.app-shell .case-payment-line-product small,.app-shell .case-payment-line-balance small,.app-shell .case-payment-line-amount>small,.app-shell .case-payment-empty p,.app-shell .case-payment-sticky-footer>div span,.app-shell .case-payment-sticky-footer>div small,.app-shell .case-payment-sticky-footer>p,.app-shell .case-existing-stage>header small,.app-shell .case-existing-stage-empty,.app-shell .case-cart-stage>span,.app-shell .case-item-head,.app-shell .case-item-row,.app-shell .case-item-product small,.app-shell .case-item-order small,.app-shell .case-no-items span{font-size:12px;line-height:1.45}.app-shell .case-hub-identity p,.app-shell .case-hub-overview b,.app-shell .case-stage-finance-summary b,.app-shell .case-stage-payment-meta>span b,.app-shell .case-stage-product b,.app-shell .case-stage-product-row b,.app-shell .case-stage-item>strong,.app-shell .case-stage-product-row>strong,.app-shell .case-accounting-copy b,.app-shell .case-accounting-totals b,.app-shell .case-hub-history-empty b,.app-shell .case-payment-line-check>b,.app-shell .case-payment-line-product b,.app-shell .case-payment-line-balance b,.app-shell .case-item-product b,.app-shell .case-item-order b,.app-shell .case-item-row>strong,.app-shell .case-no-items b{font-size:13px;line-height:1.4}.app-shell .case-stage-payment-meta>span,.app-shell .case-stage-fulfillment-control>b,.app-shell .case-payment-field>span,.app-shell .case-payment-select-all span,.app-shell .case-payment-line-amount>span,.app-shell .case-payment-line-amount i{line-height:1.4;font-size:12px!important}.app-shell .case-flat-products .case-stage-list>div:not(.case-stage-item),.app-shell .topbar .staff>span{font-size:12px;line-height:1.4}.app-shell :is(.case-order-identity p,.case-order-head-summary small,.case-existing-row small,.case-product-detail>small,.case-product-detail em,.case-order-cart-pane small,.case-order-cart-item small,.case-order-checkout>label>span,.case-order-checkout>div>span,.case-order-checkout>small,.case-workspace-empty p,.signature-head p,.signature-pad-wrap>small,.signature-legal,.receipt-signature span small){line-height:1.45;font-size:12px!important}.app-shell :is(.case-order-head-summary b,.case-existing-row b,.case-existing-row>strong,.case-product-detail>b,.case-product-detail strong,.case-order-cart-item b,.case-order-cart-item>strong,.case-order-checkout>div>strong,.signature-pad-wrap>div b,.receipt-signature span b){font-size:13px;line-height:1.4}.app-shell :is(.case-stage-pay-button,.case-whole-payment-button,.case-hub-actions button,.case-hub-empty button,.case-payment-sticky-footer>button,.case-add-items,.case-summary-more){min-height:44px;font-size:13px}.app-shell .date-range-context b,.app-shell .analytics-panel>header h2,.app-shell .chart-empty b,.app-shell .rank-label b,.app-shell .segment-bars span b,.app-shell .operations-list b,.app-shell .operations-list strong,.app-shell .order-tracking-status-grid b,.app-shell .order-case-detail>summary>div:first-child b,.app-shell .order-case-summary-metrics b,.app-shell .order-case-product-name b,.app-shell .order-case-product-finance b,.app-shell .order-unassigned-note b{font-size:13px;line-height:1.4}.app-shell .date-range-context small,.app-shell .date-range-custom label>span,.app-shell .analytics-kpi small,.app-shell .analytics-kpi p,.app-shell .analytics-panel>header p,.app-shell .chart-empty span,.app-shell .rank-label small,.app-shell .operations-flow>span small,.app-shell .segment-bars span small,.app-shell .analytics-table-wrap td small,.app-shell .operations-list small,.app-shell .source-gap p,.app-shell .source-gap small,.app-shell .order-tracking-identity>span,.app-shell .order-tracking-identity p,.app-shell .order-tracking-total small,.app-shell .order-tracking-total span,.app-shell .order-tracking-status-grid small,.app-shell .order-tracking-status-grid em,.app-shell .order-case-detail>summary>div:first-child span,.app-shell .order-case-detail>summary>div:first-child small,.app-shell .order-case-summary-metrics small,.app-shell .order-case-expand em,.app-shell .order-case-product-name>span,.app-shell .order-case-product-name small,.app-shell .order-case-product-work>span,.app-shell .order-case-product-finance>span,.app-shell .order-case-product-finance small,.app-shell .order-unassigned-note small,.app-shell .order-tracking-actions>span{font-size:12px;line-height:1.45}.app-shell .date-range-custom>i,.app-shell .rank-number,.app-shell .ranked-row>strong,.app-shell .metric-notes,.app-shell .segment-rules,.app-shell .unlinked-sales,.app-shell .customer-tier,.app-shell .source-chip,.app-shell .detail-limit-note{font-size:12px}.app-shell .accounting-steps small,.app-shell .accounting-summary small,.app-shell .accounting-summary em,.app-shell .accounting-rule-note small,.app-shell .accounting-review-alert small,.app-shell .accounting-case-card>header>div>span,.app-shell .accounting-case-card>header p,.app-shell .accounting-status,.app-shell .accounting-case-meta small,.app-shell .accounting-disabled-reason,.app-shell .accounting-case-items small,.app-shell .accounting-case-items>p,.app-shell .accounting-empty p,.app-shell .monthly-period-copy small,.app-shell .monthly-summary span,.app-shell .monthly-summary small,.app-shell .monthly-statement-identity>span,.app-shell .monthly-statement-identity p,.app-shell .monthly-status,.app-shell .monthly-statement-numbers small,.app-shell .monthly-detail-panel>header small,.app-shell .monthly-order>header small,.app-shell .monthly-items th,.app-shell .monthly-items td:first-child small,.app-shell .monthly-receipt-row small,.app-shell .monthly-empty-mini,.app-shell .monthly-receipt-fields span,.app-shell .monthly-note,.app-shell .monthly-next-step{font-size:12px;line-height:1.45}.app-shell .accounting-steps b,.app-shell .accounting-rule-note b,.app-shell .accounting-review-alert b,.app-shell .accounting-case-meta b,.app-shell .accounting-case-items b,.app-shell .monthly-period-copy b,.app-shell .monthly-statement-numbers b,.app-shell .monthly-detail-panel>header h3,.app-shell .monthly-order>header b,.app-shell .monthly-order>header strong,.app-shell .monthly-items td,.app-shell .monthly-receipt-row b,.app-shell .monthly-receipt-row strong,.app-shell .monthly-receipt-form h4{font-size:13px;line-height:1.4}.app-shell :is(.accounting-case-actions button,.monthly-scope-control button,.monthly-statement-toolbar button,.monthly-receipt-actions button){min-height:44px;font-size:13px}}@media screen and (width<=1180px){.app-shell{--ui-body-size:15px;--ui-control-size:14px;--ui-caption-size:12px}.app-shell :is(button,summary,[role=button]){min-height:44px}.app-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:16px}.app-shell :is(input[type=checkbox],input[type=radio]){min-width:22px;min-height:22px}.app-shell :is(.icon-button,.mobile-close,.menu-btn,.sidebar-width-toggle,.remove-item,.case-cart-remove,.modal-head>button,.case-order-close){min-width:44px;min-height:44px}.app-shell :is(.product-card,.case-order-product,.order-list button,.stock-list button,.operations-list button){touch-action:manipulation}}
