html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{background-color:#feffe6;padding:.2em}:root{color:#172033;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.4}*{box-sizing:border-box;-webkit-text-size-adjust:100%}html{touch-action:manipulation;width:100%;min-width:0;min-height:100%}body{background:#f5f5f5;width:100%;min-width:0;min-height:100vh;margin:0;overflow-x:auto}#root{width:100%;min-width:0;min-height:100vh}button,input,select{font:inherit}button{color:#fff;cursor:pointer;background:#1f6feb;border:0;border-radius:6px;min-height:36px;padding:0 14px;font-weight:700}button:disabled{cursor:not-allowed;opacity:.5}input,select{color:#172033;background:#fff;border:1px solid #d8dee8;border-radius:6px;width:100%;min-height:36px;padding:0 10px}label{color:#627086;gap:6px;font-size:12px;font-weight:700;display:grid}.screen-center,.login-page{place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border:1px solid #dde3ec;border-radius:8px;gap:18px;width:min(380px,100vw - 32px);padding:28px;display:grid;box-shadow:0 12px 30px #16203314}.sidebar-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;height:56px;padding:0 14px;display:flex}.brand,.brand-area{align-items:center;gap:10px;min-width:0;display:flex}.sidebar-toggle{color:#334155;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;min-height:28px;padding:0;display:inline-flex}.sidebar-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.sidebar-toggle:hover{color:#1f6feb;background:#f1f5f9}.brand-logo{object-fit:cover;border-radius:50%;flex-shrink:0;width:32px;height:32px}.brand-name{color:#1f2937;letter-spacing:-.2px;white-space:nowrap;font-size:14px;font-weight:600}.brand-mark{color:#fff;background:#ee4d2d;border-radius:8px;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.brand strong,.brand small{display:block}.brand small{color:#7b8797;font-size:12px}.login-brand{margin-bottom:8px}.app-shell{min-width:0;min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #dfe5ee;flex:0 0 206px;width:206px;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:flex-basis .2s,width .2s,padding .2s;position:relative}.sidebar.collapsed{flex-basis:64px;width:64px}.sidebar.collapsed .sidebar-header{justify-content:center;padding:0 8px}.sidebar.collapsed .brand-name,.sidebar.collapsed .nav-text{display:none}.sidebar.collapsed .sidebar-toggle{position:absolute;top:14px;right:6px}.sidebar.collapsed .nav-link{justify-content:center;padding-left:0;padding-right:0}.nav,.sidebar-nav{gap:4px;padding:14px 10px;display:grid}.nav-link,.nav a{color:#111827;border-radius:8px;align-items:center;gap:10px;height:40px;padding:0 20px;font-size:14px;font-weight:400;line-height:1;text-decoration:none;display:flex}.nav-link:hover,.nav a:hover{color:#1677ff;background:#f1f5f9}.nav-icon{width:16px;height:16px;color:inherit;flex:0 0 16px;justify-content:center;align-items:center;display:inline-flex}.nav-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.nav-text{color:inherit;font-size:inherit;font-weight:inherit;white-space:nowrap}.nav-link.active,.nav a.active{color:#1677ff;background:#e6f4ff;font-weight:500}.main{flex:auto;min-width:0}.main-content{transition:padding .2s}.content{padding:22px}.page{gap:16px;width:100%;min-width:0;max-width:100%;display:grid}.ledger-page{overflow-x:clip}.ledger-page>*,.ledger-page .summary-cards,.ledger-page .payout-balance-panel,.ledger-page .chart-card,.ledger-page .filters{min-width:0;max-width:100%}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-header h1{margin:0;font-size:24px}.page-header p{color:#6c7889;margin:5px 0 0}.ghost-button{color:#334155;background:#fff;border:1px solid #d8dee8}.filters{background:#fff;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px;display:flex;box-shadow:0 1px 2px #0000000f}.filter-field,.filters label{width:150px;min-width:150px}.order-search-field,.filters label:first-child{width:220px;min-width:220px}.date-range-field{width:390px;min-width:390px!important}.filter-field .ant-picker,.date-range-field .ant-picker{width:100%;height:36px;min-height:36px}.date-range-control{align-items:center;gap:8px;width:100%;display:flex;position:relative}.date-range-control .ant-picker{flex:auto;min-width:0}.quick-date-range{flex:none;position:relative}.quick-date-trigger{color:#24405f;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d6dee9;border-radius:6px;height:36px;padding:0 12px;font-size:13px;font-weight:700}.quick-date-trigger:hover,.quick-date-trigger.active{color:#1368d6;background:#eef6ff;border-color:#2f80ed}.quick-date-popover{z-index:1100;background:#fff;border:1px solid #d8e2f0;border-radius:14px;width:360px;padding:14px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 45px #0f172a2e}.quick-date-popover:before{background:inherit;content:"";border-top:1px solid #d8e2f0;border-left:1px solid #d8e2f0;width:12px;height:12px;position:absolute;top:-7px;right:38px;transform:rotate(45deg)}.quick-date-header{border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 12px;display:flex}.quick-date-header strong{color:#102033;font-size:14px}.quick-date-year{background:#f7faff;border:1px solid #dce5f2;border-radius:999px;align-items:center;gap:6px;padding:3px;display:inline-flex}.quick-date-year button{color:#5b6f8a;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:18px;line-height:1;display:inline-flex}.quick-date-year button:hover{color:#1267d8;background:#e8f1ff}.quick-date-year span{color:#1f3654;text-align:center;min-width:42px;font-size:13px;font-weight:800}.quick-date-section{gap:8px;padding-top:12px;display:grid}.quick-date-section>span{color:#7b8ba2;font-size:12px;font-weight:800}.quick-date-grid{gap:6px;display:grid}.quick-date-month-grid,.quick-date-quarter-grid{grid-template-columns:repeat(4,1fr)}.quick-date-half-grid{grid-template-columns:repeat(3,1fr)}.quick-date-grid button{color:#29435f;cursor:pointer;background:#f8fbff;border:1px solid #dbe5f1;border-radius:8px;height:34px;font-size:13px;font-weight:800}.quick-date-grid button:hover{color:#0b66d8;background:#edf6ff;border-color:#7bb7ff}.quick-date-grid button.active{color:#fff;background:#1684ff;border-color:#1684ff;box-shadow:0 8px 18px #1684ff38}.filter-actions{align-items:flex-end;gap:8px;display:flex}.alert{color:#b42318;background:#fff5f5;border:1px solid #f3b3b3;border-radius:6px;padding:10px 12px}.summary-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px;display:grid}.summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:4px;min-width:0;padding:16px;display:flex;box-shadow:0 1px 2px #0000000f}.summary-card-1{color:#cf1322;background:#fff1f0}.summary-card-2{color:#1890ff;background:#e6f7ff}.summary-card span{color:inherit;opacity:.78;font-size:12px;font-weight:800}.summary-card strong{color:inherit;font-size:21px;line-height:1.2}.summary-card .change-rate{opacity:1;margin-top:4px;font-size:12px;font-weight:800}.change-rate.positive{color:#389e0d}.change-rate.negative{color:#cf1322}.chart-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:0;max-width:100%;padding:16px;box-shadow:0 1px 2px #0000000f}.chart-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.chart-header h2{color:#172033;margin:0;font-size:16px}.chart-header p{color:#6c7889;margin:4px 0 0;font-size:12px}.chart-loading{color:#7b8797;font-size:12px;font-weight:800}.chart-body{width:100%;min-width:0;max-width:100%;min-height:280px}.chart-tooltip{background:#fff;border:1px solid #d8dee8;border-radius:6px;gap:4px;padding:10px 12px;display:grid;box-shadow:0 8px 24px #1620331a}.chart-tooltip strong{color:#172033;font-size:13px}.chart-tooltip span{color:#526071;font-size:12px}.table-wrap{background:#fff;border:1px solid #f0f0f0;border-radius:8px;overflow:auto;box-shadow:0 1px 2px #0000000f}.compact-table{max-width:720px}.data-table{border-collapse:collapse;width:100%;min-width:1280px;font-size:13px}.compact-table .data-table{min-width:0}.data-table th,.data-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #f0f0f0;padding:10px 12px}.data-table th{z-index:1;color:#4b586a;white-space:nowrap;background:#fafafa;font-size:12px;position:sticky;top:0}.data-table tbody tr:hover{background:#f5f5f5}.data-table td small{color:#8b96a6;margin-top:3px;display:block}.num{white-space:nowrap;text-align:right!important}.truncate{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.truncate-short{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.shop-pill,.region-badge,.status-pill,.badge{border:1px solid #0000;border-radius:6px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.region-sg{color:#389e0d;background:#e6f7e6;border-color:#b7eb8f}.region-my{color:#d48806;background:#fff7e6;border-color:#ffe58f}.region-ph{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.region-tw{color:#722ed1;background:#f3e8ff;border-color:#d3adf7}.order-link{color:#1677ff;text-decoration:none}.order-link:hover{text-decoration:underline}.status-pill{color:#475569;white-space:nowrap;background:#f3f7fb;border:1px solid #e2e8f0;font-size:11px}.status-sub-badge{color:#ad6800;white-space:nowrap;background:#fff7e6;border:1px solid #ffd591;border-radius:999px;align-items:center;width:fit-content;margin-top:4px;padding:2px 7px;font-size:10px;font-weight:600;display:inline-flex}.status-tw-kyc{display:flex}.status-completed{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.status-shipped{color:#1d4ed8;background:#eef4ff;border-color:#adc6ff}.status-to_confirm_receive{color:#722ed1;background:#f9f0ff;border-color:#d3adf7}.status-cancelled{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.status-processed{color:#08979c;background:#e6fffb;border-color:#87e8de}.status-label_ready{color:#ad6800;background:#fff7e6;border-color:#ffd591}.status-ready_to_ship{color:#1677ff;background:#e6f4ff;border-color:#91caff}.status-unpaid{color:#d48806;background:#fff7e6;border-color:#ffe58f}.badge-confirmed{color:#166534;background:#dcfce7}.badge-pending{color:#9a6700;background:#fff7d6}.badge-cancelled{color:#991b1b;background:#fee2e2}.table-state,.empty-cell{color:#6c7889;text-align:center;background:#fff;border:1px solid #dfe5ee;border-radius:8px;padding:28px}.pagination{color:#526071;justify-content:flex-end;align-items:center;gap:14px;display:flex}.pagination-actions{align-items:center;gap:8px;display:flex}.pagination-actions strong{text-align:center;min-width:32px}.error-text{color:#b42318;margin:0;font-size:13px}.item-line{margin-bottom:4px;line-height:1.35}.item-line:last-child{margin-bottom:0}.page-placeholder{background:#fff;border:1px solid #e5e7eb;border-radius:8px;place-items:center;min-height:320px;display:grid;box-shadow:0 1px 2px #0000000f}.placeholder-card{text-align:center;max-width:460px;padding:32px}.placeholder-card h2{color:#172033;margin:0 0 8px;font-size:20px}.placeholder-card p{color:#6c7889;margin:0}.notice{color:#237804;background:#f6ffed;border:1px solid #b7eb8f;border-radius:6px;padding:10px 12px}.action-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.action-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-radius:4px;min-height:34px;padding:6px 14px;font-size:13px;font-weight:600}.action-btn:hover{background:#f5f5f5}.action-btn.primary{color:#fff;background:#1890ff;border-color:#1890ff}.action-btn:disabled{cursor:not-allowed;opacity:.5}.invoice-job-panel{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.invoice-job-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.invoice-job-header div{flex-direction:column;gap:3px;display:flex}.invoice-job-header strong{color:#1d4ed8;font-size:14px}.invoice-job-header span,.invoice-job-meta,.invoice-job-warning{color:#475569;font-size:12px}.invoice-progress-track{background:#dbeafe;border-radius:999px;height:8px;overflow:hidden}.invoice-progress-bar{border-radius:inherit;background:#2563eb;height:100%;transition:width .2s}.invoice-job-meta{gap:12px;display:flex}.invoice-job-warning{color:#b45309;margin:0}.invoice-errors{flex-direction:column;gap:8px;display:flex}.invoice-errors strong{color:#991b1b;font-size:13px}.invoice-errors table{border-collapse:collapse;background:#fff;width:100%}.invoice-errors th,.invoice-errors td{text-align:left;border-bottom:1px solid #e5e7eb;padding:7px 8px;font-size:12px}.invoice-errors th{color:#64748b;font-weight:700}.stats-cards-row{flex-wrap:wrap;gap:12px;margin-bottom:16px;display:flex}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;flex:1;gap:5px;min-width:140px;padding:16px;display:flex;box-shadow:0 1px 4px #00000014}.stat-card-total{color:#1890ff;background:#e6f7ff}.stat-card-escrow,.stat-card-ph{color:#cf1322;background:#fff1f0}.stat-card-sg{color:#389e0d;background:#e6f7e6}.stat-card-my{color:#d48806;background:#fff7e6}.stat-card-tw{color:#722ed1;background:#f3e8ff}.stat-label{opacity:.78;font-size:12px;font-weight:800}.stat-value{font-size:20px;font-weight:800;line-height:1.2}.stat-sub{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stat-growth,.stat-count{font-size:12px;font-weight:800}.stat-growth.neutral{opacity:.72}.stat-growth.positive{color:#389e0d}.stat-growth.negative{color:#cf1322}.order-management-filters{background:#fff;border-radius:8px;gap:12px;padding:16px;display:grid;box-shadow:0 1px 2px #0000000f}.region-tabs,.status-tabs{flex-wrap:wrap;gap:8px;display:flex}.status-tabs{gap:6px}.region-tab,.status-tab{color:#334155;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-radius:4px;min-height:30px;padding:4px 12px;font-weight:600}.status-tab{padding:4px 10px;font-size:12px}.region-tab.active,.status-tab.active{color:#fff;background:#1890ff;border-color:#1890ff}html[data-theme=dark] .order-management-page .region-tab,html[data-theme=dark] .order-management-page .status-tab{color:#d7e3f2;background:#122038;border-color:#2f4361}html[data-theme=dark] .order-management-page .region-tab:hover,html[data-theme=dark] .order-management-page .status-tab:hover{color:#f8fbff;background:#172b49;border-color:#3b82f6}html[data-theme=dark] .order-management-page .region-tab.active,html[data-theme=dark] .order-management-page .status-tab.active{color:#fff;background:#1684ff;border-color:#2f80ed}.order-filter-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.order-checkbox{width:16px;height:16px}.order-management-table{min-width:1180px}.cancelled-row{opacity:.45}.invoice-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-radius:4px;min-height:26px;padding:2px 8px;font-size:11px;font-weight:700}.invoice-btn:hover{background:#e6f7ff;border-color:#1890ff}.invoice-btn:disabled{cursor:not-allowed;opacity:.55}.inventory-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.inventory-page-eyebrow{color:#1677ff;letter-spacing:.14em;margin-bottom:5px;font-size:10px;font-weight:900;display:block}.inventory-summary-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px;box-shadow:0 5px 18px #0f172a0d}.inventory-summary-meta{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.inventory-summary-meta>div{flex-direction:column;gap:3px;display:flex}.inventory-summary-meta strong{color:#172033;font-size:15px}.inventory-summary-meta>div span{color:#64748b;font-size:12px}.inventory-stat-card{min-width:160px;box-shadow:none;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;flex:1;gap:5px;padding:15px 16px;display:flex}.inventory-stat-card span{opacity:.75;font-size:12px;font-weight:800}.inventory-stat-card strong{font-size:20px;line-height:1.2}.inventory-stat-card small{opacity:.72;font-size:12px;font-weight:700}.inventory-card-low{color:#d48806;background:#fff7e6}.inventory-card-purchase-needed{color:#cf1322;background:#fff1f0}.inventory-card-out{color:#475569;background:#f3f7fb}.inventory-card-threshold{color:#1890ff;background:#e6f7ff}.inventory-card-in-stock{color:#1677ff;background:#e6f7ff}.inventory-card-quantity{color:#389e0d;background:#f6ffed}.inventory-card-value{color:#722ed1;background:#f9f0ff}.inventory-card-refresh{color:#389e0d;background:#f6ffed}.inventory-filters{box-shadow:none;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;display:flex}.inventory-refresh-note{color:#7b8797;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.inventory-tabs{border-bottom:1px solid #e5e7eb;gap:8px;margin:18px 0 12px;display:flex}.inventory-tabs button{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:8px;padding:10px 14px;font-size:14px;font-weight:700;display:inline-flex}.inventory-tabs button.active{color:#1677ff;border-bottom-color:#1677ff}.inventory-tabs span{color:#1d4ed8;background:#dbeafe;border:1px solid #bfdbfe;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800}.today-order-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:14px 16px;display:flex}.today-order-toolbar strong{color:#172033;font-size:15px}.today-order-toolbar p{color:#64748b;margin:4px 0 0;font-size:13px}@media (width<=1280px){.inventory-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-card-value{grid-column:span 2}}@media (width<=720px){.inventory-summary-section{padding:14px}.inventory-summary-meta{flex-direction:column;align-items:stretch}.inventory-refresh-note{align-self:flex-start}.inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-card-value{grid-column:1/-1}}.toggle-inline{color:#334155;white-space:nowrap;align-items:center;gap:8px;font-size:13px;font-weight:800;display:inline-flex}.today-order-inventory-table{table-layout:fixed;min-width:1560px}.today-order-inventory-table .today-col-sku,.today-order-inventory-table .today-col-sku-cell{width:105px}.today-order-inventory-table .today-col-cost{width:115px}.today-order-inventory-table .today-col-qty,.today-order-inventory-table .today-col-stock,.today-order-inventory-table .today-col-needed{width:80px}.today-order-inventory-table .today-col-name{width:auto;min-width:420px}.today-order-inventory-table .today-col-order{width:160px}.today-order-inventory-table .today-col-status{width:95px}.today-order-inventory-table .today-col-actions{width:210px}.today-order-inventory-table .today-col-actions .inventory-actions{flex-wrap:nowrap;justify-content:flex-start;gap:6px;min-width:190px;display:flex}.today-order-inventory-table .today-col-actions .invoice-btn{text-overflow:clip;white-space:nowrap;flex:none;min-width:78px;min-height:30px;padding:0 9px;overflow:visible}.today-order-inventory-table .inventory-product-link{max-width:100%}.link-button{color:#1677ff;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.link-button:hover{text-decoration:underline}.link-button.disabled{color:#334155;cursor:default}.link-button.disabled:hover{text-decoration:none}.inventory-product-link{text-overflow:ellipsis;white-space:nowrap;max-width:420px;display:block;overflow:hidden}.purchase-needed-qty.active{color:#cf1322;font-size:15px;font-weight:900}.today-order-lines-modal{width:min(560px,100%)}.today-order-lines-list{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.today-order-lines-list li{background:#f8fafc;border:1px solid #edf1f7;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.receipt-sync-panel,.receipt-sync-result{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;display:flex;box-shadow:0 1px 2px #0000000f}.receipt-sync-panel strong,.receipt-sync-result h2{color:#172033;margin:0;font-size:16px}.receipt-sync-panel p{color:#6c7889;margin:6px 0 0;font-size:13px;line-height:1.5}.receipt-sync-result{gap:14px;display:grid}.receipt-sync-result-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.receipt-sync-result-header span{color:#7b8797;font-size:12px;font-weight:700}.receipt-sync-metrics{grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;display:grid}.receipt-sync-metric{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;gap:4px;padding:12px;display:grid}.receipt-sync-metric span{color:#6c7889;font-size:12px;font-weight:800}.receipt-sync-metric strong{color:#172033;font-size:18px}.receipt-sync-warning{color:#ad6800;background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700}.receipt-sync-detail{border-top:1px solid #edf1f7;padding-top:10px}.receipt-sync-detail strong{color:#334155;font-size:13px}.receipt-sync-detail ul{color:#526071;margin:8px 0 0;padding-left:18px;font-size:12px}.receipt-sync-detail p{color:#7b8797;margin:6px 0 0;font-size:12px}.receipt-sync-reminder-modal{width:min(720px,100%)}.receipt-sync-reminder-alert{color:#7a4f01;background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;margin:14px 0;padding:14px 16px;font-size:14px;font-weight:700}.receipt-sync-reminder-alert strong{color:#d48806}.receipt-sync-reminder-section{background:#f8fafc;border:1px solid #edf1f7;border-radius:8px;margin-top:16px;padding:14px}.receipt-sync-reminder-section h3{color:#172033;margin:0 0 8px;font-size:14px}.receipt-sync-reminder-section p{color:#64748b;margin:0;font-size:13px}.receipt-sync-reminder-section ul{color:#334155;max-height:180px;margin:0;padding-left:20px;font-size:13px;line-height:1.6;overflow:auto}.receipt-sync-reminder-error{background:#fff1f0;border-color:#fecaca}.receipt-sync-reminder-error h3{color:#cf1322}.receipt-sync-copy-message{color:#1677ff;margin-right:auto;font-size:13px;font-weight:700}.inventory-table{min-width:980px}.inventory-product-name{max-width:360px}.inventory-actions{flex-wrap:wrap;gap:6px;display:flex}.stock-status-pill,.movement-pill{color:#475569;white-space:nowrap;background:#f3f7fb;border:1px solid #e2e8f0;border-radius:6px;align-items:center;min-height:24px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.stock-status-out,.stock-status-out_of_stock,.movement-sale{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.stock-status-purchase_needed{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.stock-status-low,.stock-status-low_stock{color:#d48806;background:#fff7e6;border-color:#ffe58f}.stock-status-normal,.stock-status-in_stock,.movement-cancel_restore,.movement-manual_adjust{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.modal-backdrop{z-index:20;background:#0f172a6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:8px;width:min(520px,100%);max-height:calc(100vh - 40px);padding:20px;overflow:auto;box-shadow:0 18px 50px #0f172a33}.inventory-history-modal{width:min(900px,100%)}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.modal-header h2{color:#172033;margin:0;font-size:20px}.modal-header p{color:#6c7889;margin:4px 0 0;font-size:13px}.inventory-modal{gap:14px;display:grid}.modal-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.adjust-presets{flex-wrap:wrap;gap:8px;display:flex}.stock-adjust-current{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;font-size:13px}.stock-adjust-current strong{color:#172033;font-size:16px}.field-warning{color:#ad6800;background:#fffbe6;border:1px solid #ffe58f;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.inventory-history-table{min-width:760px}.order-management-table{table-layout:fixed;width:100%}.order-management-table th:first-child,.order-management-table td:first-child{width:32px}.order-management-table th:nth-child(2),.order-management-table td:nth-child(2){width:132px}.order-management-table th:nth-child(3),.order-management-table td:nth-child(3){width:112px}.order-management-table th:nth-child(4),.order-management-table td:nth-child(4){width:58px}.order-management-table th:nth-child(5),.order-management-table td:nth-child(5){width:108px}.order-management-table th:nth-child(6),.order-management-table td:nth-child(6){text-align:left;width:34%}.order-management-table th:nth-child(7),.order-management-table td:nth-child(7){text-align:left;width:18%}.order-management-table th:nth-child(8),.order-management-table td:nth-child(8){text-align:center;width:48px}.order-management-table th:nth-child(9),.order-management-table td:nth-child(9){width:95px}.order-management-table .truncate,.order-management-table .truncate-short{max-width:none}.order-management-table td:nth-child(7) .truncate-short{white-space:nowrap;text-overflow:ellipsis;word-break:normal;line-height:1.35;overflow:hidden}.order-management-table .order-item-lines{flex-direction:column;gap:4px;display:flex}.order-management-table td:nth-child(6) .order-item-lines,.order-management-table td:nth-child(7) .order-item-lines{justify-content:center}.order-management-table td:nth-child(8) .order-item-lines{justify-content:center;align-items:center}.order-management-table .order-item-line{word-break:break-word;min-height:18px;line-height:1.35}.order-management-table td:nth-child(8) .order-item-line{text-align:center}.order-management-table .order-product-line{white-space:nowrap;text-overflow:ellipsis;word-break:normal;max-width:100%;display:block;overflow:hidden}.order-management-table .order-option-line{white-space:nowrap;text-overflow:ellipsis;word-break:normal;max-width:100%;overflow:hidden}.order-management-table .ledger-sku-line{white-space:nowrap;min-width:0}.order-management-table .order-item-line.clickable{cursor:pointer;color:#2563eb}.order-management-table .order-item-line.clickable:hover{text-decoration:underline}.order-management-table td:nth-child(6),.order-management-table td:nth-child(7),.order-management-table td:nth-child(8){vertical-align:middle}.modal-overlay{z-index:1000;background:#0006;justify-content:center;align-items:flex-start;padding:40px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:520px;padding:24px;position:relative;box-shadow:0 8px 32px #00000026}.modal-close{cursor:pointer;color:#64748b;background:0 0;border:none;font-size:18px;position:absolute;top:12px;right:12px}.modal-close:hover{color:#0f172a}.fee-modal-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-right:28px;display:flex}.fee-modal-title span{font-size:16px;font-weight:700}.fee-modal-title strong{color:#475569;font-size:13px}.fee-section-title{text-align:center;border-top:1px solid #e2e8f0;margin:16px 0 8px;padding-top:12px;font-size:14px;font-weight:700}.fee-table{border-collapse:collapse;width:100%}.fee-table td{border-bottom:1px solid #f1f5f9;padding:6px 8px;font-size:13px}.fee-table td:first-child{color:#64748b;white-space:nowrap;width:200px;font-family:monospace;font-size:12px}.fee-table td:last-child{text-align:right;font-weight:500}.fee-items{background:#f8fafc;border-radius:8px;margin-top:8px;padding:12px;font-size:13px}.fee-item{border-bottom:1px solid #e2e8f0;padding:8px 0}.fee-item:first-child{padding-top:0}.fee-item:last-child{border-bottom:none;padding-bottom:0}.fee-items p{margin:2px 0}.image-preview-modal{text-align:center;max-width:440px}.image-preview-modal img{border-radius:8px;max-width:100%;max-height:400px}.image-preview-modal p{color:#475569;margin:8px 0 2px;font-size:13px}.clickable:hover{color:#3b82f6;text-decoration:underline}.settings-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:32px;padding:24px}.settings-section h2{margin:0 0 16px;font-size:18px;font-weight:700}.settings-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.settings-field span,.settings-field label{color:#64748b;margin-bottom:4px;font-size:12px;font-weight:600;display:block}.settings-field input,.shop-table input,.shop-table select,.rate-add-row input{border:1px solid #d1d5db;border-radius:8px;width:100%;padding:8px 12px;font-size:14px}.settings-field input:focus,.shop-table input:focus,.shop-table select:focus,.rate-row input:focus,.rate-add-row input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f626}.password-field{gap:8px;display:flex}.password-field input{flex:1}.token-status{align-items:center;gap:12px;margin:16px 0;display:flex}.token-badge{border-radius:12px;padding:2px 10px;font-size:12px;font-weight:600}.token-badge.active{color:#166534;background:#dcfce7}.token-badge.expired{color:#991b1b;background:#fee2e2}.token-badge.none{color:#64748b;background:#f1f5f9}.settings-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.btn{cursor:pointer;border:1px solid #0000;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600}.btn-primary{color:#fff;background:#3b82f6}.btn-primary:hover{background:#2563eb}.btn-danger{color:#fff;background:#ef4444}.btn-danger:hover{background:#dc2626}.btn-outline{color:#374151;background:#fff;border-color:#d1d5db}.btn-outline:hover{background:#f9fafb}.btn-purple{color:#fff;background:#7c3aed}.btn-purple:hover{background:#6d28d9}.btn:disabled{opacity:.5;cursor:not-allowed}.alert{border-radius:8px;margin-bottom:16px;padding:12px 16px;font-size:13px}.alert-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.alert-success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.shop-table{border-collapse:collapse;width:100%}.shop-table th,.shop-table td{text-align:left;border-bottom:1px solid #e2e8f0;padding:10px 12px;font-size:13px}.shop-table th{color:#64748b;font-size:12px;font-weight:600}.table-actions{align-items:center;gap:8px;display:flex}.toggle-switch{cursor:pointer;border:none;border-radius:10px;width:36px;height:20px}.toggle-switch.on{background:#3b82f6}.toggle-switch.off{background:#cbd5e1}.rate-row{align-items:center;gap:8px;margin-bottom:8px;display:flex}.rate-row .currency-badge{text-align:center;color:#1d4ed8;background:#eff6ff;border-radius:6px;min-width:48px;padding:4px 8px;font-size:12px;font-weight:600}.rate-row input{text-align:right;border:1px solid #d1d5db;border-radius:6px;width:120px;padding:6px 10px;font-size:14px}.rate-delete-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;font-size:16px}.rate-delete-btn:hover{color:#ef4444}.rate-delete-btn:disabled{opacity:.35;cursor:not-allowed}.rate-add-row{border-top:1px solid #e2e8f0;align-items:center;gap:8px;margin-top:12px;padding-top:12px;display:flex}.rate-add-row input{max-width:160px}.rate-note{color:#94a3b8;margin-top:8px;font-size:12px}.connection-table{border-collapse:collapse;width:100%;margin-top:12px}.connection-table th,.connection-table td{text-align:left;border-bottom:1px solid #e2e8f0;padding:8px 12px;font-size:13px}.connection-table th{color:#64748b;font-size:12px;font-weight:600}.backfill-section p{color:#64748b;margin:4px 0 12px;font-size:13px}.backfill-status{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.inventory-help-text{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:12px 0 16px;padding:10px 12px;font-size:12px;line-height:1.5}.chart-actions{align-items:center;gap:8px;display:flex}.chart-month-input{color:#1f2937;background:#fff;border:1px solid #d8dee8;border-radius:8px;height:34px;padding:0 10px;font-size:13px}.chart-month-input:focus{border-color:#1677ff;outline:none;box-shadow:0 0 0 2px #1677ff1f}.chart-summary-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0 16px;display:grid}.chart-summary-pill{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #e6edf5;border-radius:10px;flex-direction:column;justify-content:center;min-width:0;min-height:58px;padding:10px 14px;display:flex;box-shadow:0 1px 3px #0f172a0f}.chart-summary-pill span{color:#64748b;white-space:nowrap;margin-bottom:4px;font-size:11px;font-weight:800}.chart-summary-pill strong{color:#172033;white-space:nowrap;font-size:17px;font-weight:900;line-height:1.2}.chart-summary-pill:first-child strong{color:#ef4444}.chart-summary-pill:nth-child(2) strong{color:#1677ff}.chart-summary-pill:nth-child(5) strong,.chart-summary-pill:nth-child(6) strong{color:#059669}.chart-summary-pill:nth-child(7) strong{color:#f97316}@media (width<=1400px){.chart-summary-metrics{grid-template-columns:repeat(4,minmax(130px,1fr))}}@media (width<=900px){.chart-summary-metrics{grid-template-columns:repeat(2,minmax(130px,1fr))}}.chart-summary-pill:nth-child(3) strong{color:#111827}.chart-summary-pill:nth-child(4) strong{color:#7c3aed}.chart-summary-pill:nth-child(5) strong{color:#059669}.chart-summary-pill:nth-child(6) strong{color:#f97316}@media (width<=1200px){.chart-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}.tooltip-header{white-space:nowrap;justify-content:flex-end;align-items:center;gap:4px;display:inline-flex}.tooltip-icon{color:#64748b;cursor:help;background:#f8fafc;border:1px solid #b8c2d6;border-radius:999px;justify-content:center;align-items:center;width:15px;height:15px;font-size:10px;font-weight:700;line-height:1;display:inline-flex;position:relative}.tooltip-icon:after{content:attr(data-tooltip);z-index:9999;color:#fff;text-align:left;white-space:normal;background:#111827;border-radius:8px;width:max-content;max-width:260px;padding:7px 9px;font-size:12px;font-weight:500;line-height:1.4;display:none;position:absolute;top:calc(100% + 8px);bottom:auto;right:0;box-shadow:0 8px 18px #0f172a2e}.tooltip-icon:hover:after{display:block}.sku-copy-cell{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.copy-sku-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #d8dee8;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:600}.copy-sku-btn:hover{background:#f1f5f9;border-color:#94a3b8}.today-order-inventory-table{table-layout:fixed;width:100%}.today-order-inventory-table th,.today-order-inventory-table td{vertical-align:middle}.today-order-inventory-table .today-col-sku,.today-order-inventory-table .today-col-sku-cell{width:105px;min-width:105px}.today-order-inventory-table .today-col-cost{white-space:nowrap;width:120px;min-width:120px}.today-order-inventory-table .today-col-qty,.today-order-inventory-table .today-col-stock,.today-order-inventory-table .today-col-needed{white-space:nowrap;width:95px;min-width:95px}.today-order-inventory-table .today-col-order{white-space:nowrap;width:145px;min-width:145px}.today-order-inventory-table .today-col-status{white-space:nowrap;width:95px;min-width:95px}.today-order-inventory-table .today-col-name{width:auto}.today-order-inventory-table .today-col-sku-cell .sku-copy-cell{align-items:center;gap:5px;display:inline-flex}.today-order-inventory-table .today-col-sku-cell strong{white-space:nowrap;font-size:13px}.today-order-inventory-table .today-col-sku-cell .copy-sku-btn{padding:2px 6px;font-size:11px}.today-order-inventory-table .today-col-name .inventory-product-link,.today-order-inventory-table .today-col-order .link-button{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block;overflow:hidden}.ledger-table-wrap{width:100%;min-width:0;max-width:100%;overflow:hidden visible}.ledger-table-wrap .data-table{table-layout:fixed;width:100%;min-width:0;font-size:11px}.ledger-table-wrap .data-table th,.ledger-table-wrap .data-table td{text-overflow:ellipsis;min-width:0;padding:9px 6px;overflow:hidden}.ledger-table-wrap .data-table th:first-child{width:9%}.ledger-table-wrap .data-table th:nth-child(2){width:6%}.ledger-table-wrap .data-table th:nth-child(3){width:3.5%}.ledger-table-wrap .data-table th:nth-child(4){width:5.5%}.ledger-table-wrap .data-table th:nth-child(5){width:12%}.ledger-table-wrap .data-table th:nth-child(6){width:9%}.ledger-table-wrap .data-table th:nth-child(7){width:3%}.ledger-table-wrap .data-table th:nth-child(8){width:3.5%}.ledger-table-wrap .data-table th:nth-child(9),.ledger-table-wrap .data-table th:nth-child(10),.ledger-table-wrap .data-table th:nth-child(11),.ledger-table-wrap .data-table th:nth-child(12),.ledger-table-wrap .data-table th:nth-child(13),.ledger-table-wrap .data-table th:nth-child(14){width:5%}.ledger-table-wrap .data-table th:nth-child(15){width:4.5%}.ledger-table-wrap .data-table th:nth-child(16){width:5%}.ledger-table-wrap .data-table th:nth-child(17){width:6%}.ledger-table-wrap .data-table .item-line,.ledger-table-wrap .data-table .ledger-sku-line{max-width:100%}.ledger-table-wrap .data-table thead th{z-index:50;color:#0f172a;background:#e2e8f0;border-bottom:2px solid #94a3b8;font-weight:700;position:sticky;top:0;box-shadow:0 2px 4px #0f172a1f}.ledger-table-wrap .data-table thead th:first-child{z-index:51}.inventory-page,.admin-page{width:100%;min-width:0;max-width:100%;overflow-x:hidden}.inventory-page .table-wrap,.admin-page .table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto}.margin-status-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.margin-status-badge .margin-status-dot{border-radius:999px;flex:0 0 8px;width:8px;height:8px;display:inline-block}.margin-status-badge.confirmed{color:#166534;background:#dcfce7;border-color:#86efac}.margin-status-badge.confirmed .margin-status-dot{background:#16a34a}.margin-status-badge.pending{color:#c2410c;background:#fff7ed;border-color:#fdba74}.margin-status-badge.pending .margin-status-dot{background:#f97316}.ledger-settlement-filter{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:8px;margin:12px 0 14px;padding:6px;display:inline-flex}.ledger-settlement-filter button.active{color:#fff;background:#0f172a;box-shadow:0 1px 3px #0f172a2e}.ledger-settlement-filter{background:0 0;border:0;border-radius:0;gap:4px;width:fit-content;max-width:none;margin:8px 0 10px;padding:4px;display:inline-flex}.ledger-settlement-filter button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:5px 11px;font-size:12px;font-weight:700}.ledger-settlement-filter button:hover{color:#0f172a;background:#f1f5f9}.ledger-settlement-filter button.active{color:#fff;background:#0f172a;border-color:#0f172a;box-shadow:0 1px 3px #0f172a2e}.settlement-filter-field,.settlement-filter-field select{min-width:160px}.max-profit-rate-filter-field,.max-profit-rate-filter-field input{width:140px;min-width:140px}.ledger-confirm-filter-row{display:none!important}.unresolved-purchase-needed-label{color:#c2410c;white-space:nowrap;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.admin-page .page-header{align-items:flex-start}.admin-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:18px;display:grid}.admin-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;box-shadow:0 8px 18px #0f172a0f}.admin-stat-card span{color:#64748b;margin-bottom:8px;font-size:13px;display:block}.admin-stat-card strong{color:#0f172a;font-size:26px;display:block}.admin-toolbar{justify-content:flex-end;gap:12px;margin-bottom:14px;display:flex}.admin-toolbar label{color:#475569;align-items:center;gap:8px;font-size:14px;display:flex}.admin-toolbar select{background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:8px 10px}.admin-panel{margin-top:18px}.panel-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.panel-header h2{margin:0}.admin-table td strong,.admin-table td small{display:block}.admin-table td small{color:#64748b;margin-top:4px;font-size:12px}.admin-page .status-pill{color:#334155;background:#e5e7eb;border-radius:999px;align-items:center;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.admin-page .status-pill.pending{color:#92400e;background:#fef3c7}.admin-page .status-pill.approved{color:#166534;background:#dcfce7}.admin-page .status-pill.rejected,.admin-page .status-pill.suspended{color:#991b1b;background:#fee2e2}.admin-actions{flex-wrap:wrap;gap:6px;display:flex}.admin-actions button,.secondary-button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:7px 10px}.admin-actions button:disabled,.secondary-button:disabled{opacity:.5;cursor:not-allowed}.admin-actions .danger-outline{color:#991b1b;border-color:#fecaca}.admin-actions .danger-action{color:#fff;background:#dc2626;border-color:#dc2626}.admin-actions .danger-action:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.alert{border-radius:12px;margin-bottom:12px;padding:12px 14px}.alert-error{color:#991b1b;background:#fee2e2}.alert-success{color:#166534;background:#dcfce7}.empty-cell{text-align:center;color:#64748b;padding:24px}.sidebar-footer{border-top:1px solid #94a3b833;margin-top:auto;padding:12px}.sidebar-logout-button{color:#b91c1c;cursor:pointer;text-align:left;background:#ef444414;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;padding:11px 12px;font-weight:700;display:flex}.sidebar-logout-button:hover{background:#ef444424}.sidebar-logout-button .logout-icon{font-size:18px;line-height:1}.sidebar.collapsed .sidebar-footer{padding:10px 8px}.sidebar.collapsed .sidebar-logout-button{justify-content:center;padding:10px}.sidebar.collapsed .sidebar-logout-text{display:none}.register-card{max-width:440px}.register-card label{gap:6px}.login-secondary-link{text-align:center;color:#2563eb;margin-top:14px;font-size:14px;font-weight:700;text-decoration:none;display:block}.login-secondary-link:hover{text-decoration:underline}.register-result-card{max-width:480px}.register-success-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin-top:12px;padding:16px}.register-success-box h1{color:#0f172a;margin:0 0 8px;font-size:20px}.register-success-box p{color:#475569;line-height:1.5}.register-success-box dl{grid-template-columns:130px 1fr;gap:8px 12px;margin:14px 0 0;display:grid}.register-success-box dt{color:#64748b;font-size:13px}.register-success-box dd{color:#0f172a;word-break:break-all;margin:0;font-weight:700}.admin-actions .approve-action{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;font-weight:800}.admin-actions .approve-action:hover:not(:disabled){background:#dbeafe}.admin-actions .danger-outline{background:#fff;font-weight:800}.admin-actions button{color:#0f172a;min-width:54px}.admin-actions button:disabled{color:#94a3b8}.member-settings .platform-admin-only,.member-settings .backfill-section,.member-settings .platform-admin-test-section{display:none!important}.member-shopee-guide{background:#eff6ff;border-left:4px solid #3b82f6}.member-shopee-guide h2{margin-bottom:8px}.member-shopee-guide p{color:#475569;margin-bottom:10px;line-height:1.6}.member-shopee-guide ol{color:#334155;margin:0;padding-left:20px;line-height:1.7}.member-settings .settings-section:first-of-type{margin-top:0}.google-sheet-settings-section .settings-help-text{color:#475569;margin:0 0 14px;line-height:1.6}.google-sheet-id-field{grid-column:1/-1}.fixed-sheet-names,.google-sheet-sync-status{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.fixed-sheet-names span,.fixed-sheet-names strong,.google-sheet-sync-status span{color:#334155;background:#f1f5f9;border-radius:999px;align-items:center;padding:6px 10px;font-size:13px;display:inline-flex}.fixed-sheet-names strong{color:#1d4ed8;background:#dbeafe}.google-sheet-action-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.margin-chart-sync-result{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;gap:8px;margin-top:12px;padding:12px;display:flex}.margin-chart-sync-result strong,.margin-chart-sync-result span,.margin-chart-sync-result small{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;padding:6px 10px;font-size:13px;display:inline-flex}.margin-chart-sync-result small{color:#9a3412;background:#fff7ed;border-radius:10px;width:100%;line-height:1.5}.product-capture-page .card{background:#fff;border:1px solid #dde3ec;border-radius:8px;margin-top:12px;padding:12px}.product-capture-page .table-wrap{max-height:320px;overflow:auto}.product-capture-page .table{border-collapse:collapse;table-layout:fixed;width:100%}.product-capture-page .table th,.product-capture-page .table td{overflow-wrap:anywhere;word-break:break-word;border:1px solid #e5e7eb;min-width:0;padding:6px}.product-capture-page textarea{resize:vertical;border:1px solid #d8dee8;border-radius:6px;width:100%;min-height:100px;margin:8px 0;padding:8px}.product-capture-workspace{grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr);align-items:start;gap:12px;display:grid}.product-capture-paste-actions{flex-wrap:wrap;gap:8px;display:flex}.product-capture-panel-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.product-capture-panel-header h3{margin:0}.capture-source-badge{color:#334155;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;align-items:center;min-height:26px;padding:3px 10px;font-size:12px;font-weight:700;display:inline-flex}.capture-source-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.capture-source-badge.source-shopee{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.capture-source-badge.source-naver{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.product-capture-name-col{width:50%}.product-capture-option-col{width:35%}.product-capture-price-col{width:15%}.product-capture-reference-panel input{border:1px solid #d8dee8;border-radius:6px;width:100%;padding:6px 8px}@media (width<=900px){.product-capture-workspace{grid-template-columns:1fr}}.product-capture-page .bookmarklet-actions{flex-wrap:wrap;gap:8px;display:flex}.receipt-page{flex-direction:column;gap:18px;display:flex}.receipt-page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.receipt-page-header h1{color:#111827;margin:4px 0 6px;font-size:28px}.receipt-page-header p{color:#6b7280;margin:0}.receipt-tabs{background:#eef2ff;border:1px solid #dbeafe;border-radius:14px;align-self:flex-start;gap:4px;padding:4px;display:inline-flex}.receipt-tabs button{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:10px 18px;font-weight:700}.receipt-tabs button.active{color:#1d4ed8;background:#fff;box-shadow:0 8px 18px #1e40af24}.receipt-current-tab{display:none}.receipt-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.receipt-summary-card,.receipt-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 14px 35px #0f172a0f}.receipt-summary-card{flex-direction:column;gap:6px;padding:18px;display:flex}.receipt-summary-card span,.receipt-summary-card small{color:#64748b}.receipt-summary-card strong{color:#111827;font-size:24px}.receipt-tab-grid{grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr);gap:16px;display:grid}.receipt-card{padding:18px}.receipt-card-wide{grid-column:span 1}.receipt-tab-grid .receipt-card-wide:last-child{grid-column:1/-1}.receipt-section-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.receipt-section-header h2{color:#111827;margin:0 0 4px;font-size:18px}.receipt-section-header p{color:#64748b;margin:0;font-size:13px}.receipt-table-wrap{border:1px solid #e5e7eb;border-radius:14px;width:100%;overflow:auto}.receipt-table{border-collapse:collapse;background:#fff;width:100%;min-width:880px}.receipt-table th,.receipt-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:12px 14px;font-size:13px}.receipt-table th{color:#475569;white-space:nowrap;background:#f8fafc;font-weight:800}.receipt-table tbody tr:hover{background:#f8fafc}.receipt-empty{color:#94a3b8;text-align:center!important;padding:24px!important}.receipt-negative{color:#dc2626;font-weight:800}.receipt-form-preview{flex-direction:column;gap:12px;display:flex}.receipt-form-preview label{color:#475569;flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.receipt-form-preview input,.receipt-toolbar input{background:#fff;border:1px solid #dbe3ef;border-radius:12px;width:100%;padding:11px 12px;font-size:14px}.receipt-form-preview input:disabled{color:#94a3b8;background:#f8fafc}.receipt-form-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.receipt-preview-box,.receipt-alert{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:13px 14px;font-size:13px;font-weight:700}.receipt-alert{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.receipt-mini-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.receipt-mini-stats div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.receipt-mini-stats span{color:#64748b;font-size:12px;display:block}.receipt-mini-stats strong{color:#111827;margin-top:4px;font-size:18px;display:block}.receipt-toolbar{align-items:center;gap:12px;margin-bottom:14px;display:flex}.receipt-toolbar input{max-width:420px}.receipt-toolbar-button{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:700}.receipt-toolbar-button:hover{background:#f8fafc}.receipt-toolbar span{color:#64748b;font-size:13px;font-weight:700}.receipt-product-name{text-overflow:ellipsis;white-space:nowrap;max-width:280px;overflow:hidden}.receipt-table small{color:#64748b}.receipt-supplier-cell{text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;max-width:140px;display:inline-block;overflow:hidden}.receipt-pill{color:#475569;background:#f1f5f9;border-radius:999px;align-items:center;padding:5px 10px;font-size:12px;font-weight:800;display:inline-flex}.receipt-pill-common{color:#334155;background:#f1f5f9}.receipt-pill-sale{color:#92400e;background:#fef3c7}.receipt-pill-set{color:#1d4ed8;background:#dbeafe}@media (width<=1100px){.receipt-summary-grid,.receipt-tab-grid,.receipt-mini-stats{grid-template-columns:1fr}.receipt-toolbar{flex-direction:column;align-items:stretch}.receipt-toolbar input{max-width:none}}.receipt-pagination{color:#64748b;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:13px;font-weight:700;display:flex}.receipt-pagination div{gap:8px;display:inline-flex}.receipt-pagination button{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:8px 12px;font-weight:800}.receipt-pagination button:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.receipt-pagination button:disabled{opacity:.45;cursor:not-allowed}.composition-editor{background:#f8fbff;border:1px solid #dbeafe;border-radius:16px;margin-bottom:16px;padding:16px}.composition-editor-title{justify-content:space-between;gap:12px;margin-bottom:12px;display:flex}.composition-editor-title strong{color:#111827}.composition-editor-title span{color:#64748b;font-size:13px}.composition-editor-grid{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 120px 130px minmax(240px,1.2fr);align-items:start;gap:10px;display:grid}.composition-field{color:#475569;flex-direction:column;gap:6px;font-size:13px;font-weight:800;display:flex;position:relative}.composition-field input,.composition-field select{color:#111827;background:#fff;border:1px solid #dbe3ef;border-radius:12px;width:100%;padding:10px 11px;font-size:14px}.product-picker-results{z-index:20;background:#fff;border:1px solid #dbeafe;border-radius:14px;max-height:260px;margin-top:6px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 18px 40px #0f172a24}.product-picker-results button{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eef2f7;grid-template-columns:90px 1fr;gap:6px 10px;width:100%;padding:10px 12px;display:grid}.product-picker-results button:hover{background:#eff6ff}.product-picker-results strong{color:#1d4ed8}.product-picker-results span{color:#111827;font-size:13px}.product-picker-results small{color:#64748b;grid-column:2}.composition-editor-actions{align-items:center;gap:10px;margin-top:12px;display:flex}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:12px;padding:10px 14px;font-weight:900}.primary-button{color:#fff;background:#2563eb}.secondary-button{color:#374151;background:#e5e7eb}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:not-allowed}.composition-message{color:#1d4ed8;font-size:13px;font-weight:800}.composition-row-actions{gap:6px;display:inline-flex}.composition-row-actions button{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:7px 9px;font-weight:800}.composition-row-actions button:hover{color:#1d4ed8;background:#eff6ff}.composition-row-actions button.danger{color:#b91c1c}.composition-row-actions button.danger:hover{background:#fef2f2;border-color:#fecaca}@media (width<=1300px){.composition-editor-grid{grid-template-columns:1fr 1fr}.composition-note-field{grid-column:1/-1}}.receipt-inline-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;padding:7px 10px;font-weight:900}.receipt-inline-button:hover{background:#dbeafe}.receipt-selected-product{background:linear-gradient(135deg,#f8fbff 0%,#f2f7ff 100%);border:1px solid #dbeafe;border-radius:11px;grid-template-columns:minmax(86px,auto) minmax(0,1fr);align-items:center;gap:3px 13px;padding:11px 13px;display:grid}.receipt-selected-product strong{color:#1d4ed8;white-space:nowrap;border-right:1px solid #dbeafe;grid-row:1/3;align-self:stretch;align-items:center;padding-right:13px;font-size:13px;display:inline-flex}.receipt-selected-product span{color:#111827;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:800;overflow:hidden}.receipt-selected-product small,.receipt-preview-box small{color:#64748b;font-weight:700}.receipt-form-preview select{color:#111827;background:#fff;border:1px solid #dbe3ef;border-radius:12px;width:100%;padding:11px 12px;font-size:14px}.receipt-message{margin-top:8px}.receipt-planned-qty{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:900;display:inline-flex}.receipt-status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:900;display:inline-flex}.receipt-status-badge.good{color:#166534;background:#dcfce7}.receipt-status-badge.warn{color:#92400e;background:#fef3c7}.receipt-status-badge.danger{color:#b91c1c;background:#fee2e2}.receipt-muted{color:#94a3b8}.receipt-positive{color:#15803d;font-weight:900}.receipt-price-warning{color:#92400e;background:#fef3c7;border-radius:10px;margin-top:6px;padding:8px 10px;font-size:12px;display:block}.receipt-price-warning.severe{color:#b91c1c;background:#fee2e2}.receipt-duplicate-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:14px;gap:4px;padding:11px 12px;font-size:13px;display:grid}.receipt-duplicate-warning strong{font-weight:900}.receipt-duplicate-warning span{color:#b45309;font-weight:800}.receipt-sync-disabled{background:#f8fafc;border-color:#e5e7eb}.receipt-sync-disabled strong{color:#334155}.receipt-sync-disabled p{color:#64748b}.receipt-month-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:4px}html[data-theme=dark] .receipt-page .product-picker-results{background:#111e31;border-color:#304660;box-shadow:0 18px 40px #00000057}html[data-theme=dark] .receipt-page .product-picker-results button{background:#111e31!important;border-color:#263a55!important}html[data-theme=dark] .receipt-page .product-picker-results button:hover{background:#1a2c46!important}html[data-theme=dark] .receipt-page .product-picker-results strong{color:#7db4ff}html[data-theme=dark] .receipt-page .product-picker-results span{color:#f1f5f9}html[data-theme=dark] .receipt-page .product-picker-results small{color:#9fb0c6}html[data-theme=dark] .receipt-page .receipt-selected-product{background:linear-gradient(135deg,#172943 0%,#14243a 100%);border-color:#304b70;box-shadow:inset 3px 0 #3b82f6}html[data-theme=dark] .receipt-page .receipt-selected-product strong{color:#8fc0ff;border-color:#304b70}html[data-theme=dark] .receipt-page .receipt-selected-product span{color:#f3f7fc}html[data-theme=dark] .receipt-page .receipt-selected-product small{color:#a8b8cc}.receipt-history-toolbar{justify-content:flex-start;align-items:center}.receipt-history-toolbar input[type=month]{max-width:180px}.receipt-history-toolbar input[type=search]{max-width:360px}.receipt-summary-card{box-shadow:0 10px 24px #0f172a0a}.receipt-summary-card span{color:#64748b;letter-spacing:-.01em;font-size:13px;font-weight:500}.receipt-summary-card strong{color:#1e293b;letter-spacing:-.03em;font-size:20px;font-weight:650;line-height:1.25}.receipt-summary-card small{color:#64748b;font-size:12px;font-weight:400}.receipt-month-summary .receipt-summary-card strong{font-size:18px}.receipt-month-summary .receipt-summary-card{background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);border-radius:12px;justify-content:center;gap:5px;min-height:96px;padding:15px 16px 15px 18px;position:relative;overflow:hidden}.receipt-month-summary .receipt-summary-card:before{content:"";background:#3b82f6;border-radius:0 4px 4px 0;width:3px;position:absolute;top:14px;bottom:14px;left:0}.receipt-month-summary .receipt-summary-card small{line-height:1.4}.receipt-card h2{color:#334155;letter-spacing:-.02em;font-size:17px;font-weight:650}.receipt-card p{color:#64748b;font-size:13px}.receipt-table th{color:#64748b;font-weight:600}.receipt-table td{color:#334155}.receipt-table td strong,.receipt-table .money,.receipt-table .negative,.receipt-table .positive{font-weight:600}.receipt-table .negative{color:#dc2626}.receipt-table .positive{color:#2563eb}.composition-editor-title span{color:#64748b}.receipt-history-toolbar span{color:#64748b;white-space:nowrap;font-size:13px}.receipt-summary-card small{margin-top:4px;display:block}.receipt-copy-cell{align-items:center;gap:8px;min-width:0;display:inline-flex}.receipt-copy-cell span{min-width:0}.receipt-history-copy-cell{max-width:260px}.receipt-history-product-cell{max-width:320px}.receipt-history-copy-cell .receipt-product-name{max-width:260px}.receipt-copy-button{color:#2563eb;cursor:pointer;background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;min-width:28px;min-height:26px;padding:3px 7px;font-size:12px;font-weight:600}.receipt-copy-button:hover{background:#eff6ff}.receipt-option-image-button{color:#1e293b;text-align:left;cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;-webkit-text-decoration:underline #cbd5e1;text-decoration:underline #cbd5e1}.receipt-option-image-button:hover{color:#2563eb;text-decoration-color:#2563eb}.receipt-image-modal{z-index:1000;background:#0f172a7a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.receipt-image-modal-card{background:#fff;border-radius:20px;width:min(520px,92vw);max-height:90vh;padding:18px;overflow:auto;box-shadow:0 24px 70px #0f172a3d}.receipt-image-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.receipt-image-modal-header strong{color:#1e293b}.receipt-image-modal-header p{color:#334155;margin:4px 0;font-size:14px}.receipt-image-modal-header small{color:#64748b}.receipt-image-modal-header button{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:6px 10px}.receipt-image-modal-card img{object-fit:contain;background:#f8fafc;border-radius:14px;width:100%;max-height:70vh}.order-product-detail-button{width:100%;color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:block}.order-product-detail-button:hover{text-decoration:underline}.order-product-detail-button:focus-visible{outline-offset:2px;border-radius:3px;outline:2px solid}.order-settlement-overlay{z-index:1200}.order-settlement-modal{width:min(900px,100vw - 32px);max-width:900px;max-height:calc(100vh - 40px);padding:26px;overflow-y:auto}.order-settlement-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;padding-right:44px;display:flex}.product-capture-image-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.naver-detail-panel{grid-column:1/-1}.product-capture-image-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.product-capture-image-header h3{margin:0}.product-capture-image-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;display:grid}.product-capture-image-card{border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:10px;display:flex}.product-capture-image-card img{aspect-ratio:1;object-fit:contain;background:#f8fafc;border-radius:6px;width:100%}.product-capture-no-image{aspect-ratio:1;color:#94a3b8;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;place-items:center;width:100%;display:grid}.product-capture-image-label{text-overflow:ellipsis;white-space:nowrap;min-height:20px;font-weight:700;overflow:hidden}.product-capture-image-empty{color:#64748b;margin:18px 0}.product-capture-status{margin-top:12px}@media (width<=900px){.product-capture-image-sections{grid-template-columns:1fr}}.order-settlement-logistics-toggle{color:#2563eb;cursor:pointer;background:#f7fbff;border:1px solid #b9d3ff;border-radius:7px;flex:none;min-height:34px;padding:7px 11px;font-weight:700}.order-settlement-modal.logistics-open{width:min(1280px,100vw - 32px);max-width:1280px;padding-right:400px;position:relative}.order-settlement-logistics-panel{box-sizing:border-box;background:#f8fafc;border-left:1px solid #e4e7ec;border-radius:0 12px 12px 0;width:374px;padding:26px 20px;position:absolute;inset:0 0 0 auto;overflow-y:auto}.order-settlement-logistics-heading{border-bottom:1px solid #e4e7ec;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:16px;display:flex}.order-settlement-logistics-heading h3,.order-settlement-logistics-packages h4{color:#172b4d;margin:0;font-size:16px}.order-settlement-logistics-heading p{color:#667085;margin:5px 0 0;font-size:12px}.order-settlement-logistics-heading .ghost-button{white-space:nowrap;padding:6px 8px;font-size:12px}.order-settlement-logistics-summary{gap:8px;margin:16px 0;display:grid}.order-settlement-logistics-summary>div,.order-settlement-logistics-package{background:#fff;border:1px solid #dbe4f0;border-radius:8px;gap:4px;padding:12px;display:grid}.order-settlement-logistics-summary span,.order-settlement-logistics-package span{color:#667085;font-size:12px}.order-settlement-logistics-summary strong,.order-settlement-logistics-package b{color:#172b4d;overflow-wrap:anywhere;font-size:13px}.order-settlement-logistics-packages{gap:10px;display:grid}.order-settlement-logistics-package>strong{color:#2563eb;font-size:13px}.order-settlement-logistics-empty,.order-settlement-logistics-error{color:#667085;margin:18px 0;font-size:13px;line-height:1.5}.order-settlement-logistics-error{color:#b42318}html[data-theme=dark] .order-settlement-logistics-toggle{color:#9bc7ff;background:#13233a;border-color:#315784}html[data-theme=dark] .order-settlement-logistics-panel{border-color:var(--theme-border);background:var(--theme-surface)}html[data-theme=dark] .order-settlement-logistics-heading,html[data-theme=dark] .order-settlement-logistics-summary>div,html[data-theme=dark] .order-settlement-logistics-package{border-color:var(--theme-border)}html[data-theme=dark] .order-settlement-logistics-summary>div,html[data-theme=dark] .order-settlement-logistics-package{background:var(--theme-surface-soft)}html[data-theme=dark] .order-settlement-logistics-heading h3,html[data-theme=dark] .order-settlement-logistics-packages h4,html[data-theme=dark] .order-settlement-logistics-summary strong,html[data-theme=dark] .order-settlement-logistics-package b,html[data-theme=dark] .order-settlement-logistics-package>strong{color:var(--theme-text-strong)}html[data-theme=dark] .order-settlement-logistics-heading p,html[data-theme=dark] .order-settlement-logistics-summary span,html[data-theme=dark] .order-settlement-logistics-package span,html[data-theme=dark] .order-settlement-logistics-empty{color:var(--theme-text-muted)}@media (width<=900px){.order-settlement-modal.logistics-open{width:min(900px,100vw - 32px);max-width:900px;padding-right:26px}.order-settlement-logistics-panel{border-width:1px 0 0;border-radius:0 0 12px 12px;width:auto;max-height:none;margin:20px -26px -26px;position:static}}html[data-theme=dark] .order-settlement-modal,html[data-theme=dark] .buyer-history-modal.modal-content{background:var(--theme-surface);color:var(--theme-text)}html[data-theme=dark] .order-settlement-modal .order-settlement-title p,html[data-theme=dark] .order-settlement-modal .order-settlement-meta span,html[data-theme=dark] .order-settlement-modal .order-settlement-product-meta,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row span,html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card span,html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card small,html[data-theme=dark] .buyer-history-header p,html[data-theme=dark] .buyer-history-message,html[data-theme=dark] .buyer-history-summary span,html[data-theme=dark] .buyer-history-return{color:var(--theme-text-muted)}html[data-theme=dark] .order-settlement-modal .order-settlement-meta>div,html[data-theme=dark] .order-settlement-modal .order-settlement-product-table-wrap,html[data-theme=dark] .order-settlement-modal .order-settlement-finance-card,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-rows,html[data-theme=dark] .order-settlement-modal .order-settlement-total-bar,html[data-theme=dark] .order-settlement-modal .order-settlement-internal,html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card,html[data-theme=dark] .buyer-history-summary>div,html[data-theme=dark] .buyer-history-table-wrap,html[data-theme=dark] .order-settlement-modal .order-settlement-product-table th,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row.strong,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-rows.tone-fees .order-settlement-detail-row.strong,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-rows.tone-buyer .order-settlement-detail-row.strong,html[data-theme=dark] .buyer-history-table th{border-color:var(--theme-border);background:var(--theme-surface-soft)}html[data-theme=dark] .order-settlement-modal .order-settlement-product-table td,html[data-theme=dark] .buyer-history-table td{border-color:var(--theme-border);color:var(--theme-text)}html[data-theme=dark] .order-settlement-modal .order-settlement-title h2,html[data-theme=dark] .order-settlement-modal .order-settlement-meta strong,html[data-theme=dark] .order-settlement-modal .order-settlement-section>h3,html[data-theme=dark] .order-settlement-modal .order-settlement-finance-card>h3,html[data-theme=dark] .order-settlement-modal .order-settlement-internal>h3,html[data-theme=dark] .order-settlement-modal .order-settlement-product-table th,html[data-theme=dark] .order-settlement-modal .order-settlement-product-table td,html[data-theme=dark] .order-settlement-modal .order-settlement-product-name,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row strong,html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row.strong span,html[data-theme=dark] .order-settlement-modal .order-settlement-total-bar strong,html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card strong,html[data-theme=dark] .buyer-history-header h2,html[data-theme=dark] .buyer-history-summary strong,html[data-theme=dark] .buyer-history-summary strong small,html[data-theme=dark] .buyer-history-table th{color:var(--theme-text-strong)}html[data-theme=dark] .order-settlement-modal .order-settlement-detail-row,html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card,html[data-theme=dark] .order-settlement-modal .order-settlement-total-bar{background:var(--theme-surface)}html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card.weight{background:#13233a;border-color:#315784}html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card.profit{background:#112c24;border-color:#245c47}html[data-theme=dark] .order-settlement-modal .order-settlement-internal-card.product-profit{background:#172545;border-color:#384f91}html[data-theme=dark] .buyer-history-current-row{background:#132b48}html[data-theme=dark] .buyer-history-purchase-number{color:#9bc7ff;background:#132b48;border-color:#315784}html[data-theme=dark] .buyer-history-current-badge{color:#b8d8ff;background:#173d70}html[data-theme=dark] .order-settlement-modal .order-settlement-buyer-summary{border-color:var(--theme-border);background:var(--theme-surface)}html[data-theme=dark] .order-settlement-modal .buyer-summary-identity,html[data-theme=dark] .order-settlement-modal .buyer-summary-statistics,html[data-theme=dark] .order-settlement-modal .buyer-summary-stat-row,html[data-theme=dark] .order-settlement-modal .buyer-summary-copy{border-color:var(--theme-border);background:var(--theme-surface-soft)}html[data-theme=dark] .order-settlement-modal .buyer-summary-identity{border-bottom-color:var(--theme-border)}html[data-theme=dark] .order-settlement-modal .buyer-summary-stat{border-left-color:var(--theme-border)}html[data-theme=dark] .order-settlement-modal .buyer-summary-heading,html[data-theme=dark] .order-settlement-modal .buyer-summary-field strong,html[data-theme=dark] .order-settlement-modal .buyer-summary-stat strong,html[data-theme=dark] .order-settlement-modal .buyer-summary-stat b{color:var(--theme-text-strong)}html[data-theme=dark] .order-settlement-modal .buyer-summary-field>span,html[data-theme=dark] .order-settlement-modal .buyer-summary-stat>span,html[data-theme=dark] .order-settlement-modal .buyer-summary-copy{color:var(--theme-text-muted)}html[data-theme=dark] .order-settlement-modal .buyer-summary-history-button{color:#9bc7ff;background:#132b48;border-color:#315784}html[data-theme=dark] .order-settlement-modal .buyer-summary-purchase-number{color:#b8d8ff;background:#132b48}html[data-theme=dark] .ledger-page .summary-card span,html[data-theme=dark] .ledger-page .summary-card .summary-prev-value,html[data-theme=dark] .ledger-page .summary-card .summary-card-count,html[data-theme=dark] .ledger-page .chart-header p,html[data-theme=dark] .ledger-page .chart-summary-pill span{opacity:1;color:var(--theme-text-muted)!important}html[data-theme=dark] .ledger-page .summary-card strong,html[data-theme=dark] .ledger-page .chart-header h2,html[data-theme=dark] .ledger-page .chart-summary-pill strong{color:var(--theme-text-strong)!important}html[data-theme=dark] .ledger-page .chart-summary-pill:first-child strong{color:#fb7185!important}html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(2) strong{color:#60a5fa!important}html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(3) strong{color:#e5e7eb!important}html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(4) strong{color:#a78bfa!important}html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(5) strong{color:#6ee7b7!important}html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(6) strong,html[data-theme=dark] .ledger-page .chart-summary-pill:nth-child(7) strong{color:#fdba74!important}.order-settlement-title h2{margin:0 0 5px;font-size:22px}.order-settlement-title p{color:#667085;margin:0}.order-settlement-state{text-align:center;padding:40px 20px}.order-settlement-state.error{color:#b42318}.order-settlement-meta span{color:#667085;margin-bottom:5px;font-size:12px;display:block}.order-settlement-meta strong{overflow-wrap:anywhere;min-width:0;display:block}.order-settlement-section{margin-top:22px}.order-settlement-section h3{margin:0 0 10px;font-size:16px}.order-settlement-section.internal{border-top:2px solid #e4e7ec;padding-top:16px}.order-settlement-product-table-wrap{border:1px solid #e4e7ec;border-radius:8px;width:100%;overflow-x:auto}.order-settlement-product-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:680px}.order-settlement-product-table .col-no{width:52px}.order-settlement-product-table .col-product{width:auto}.order-settlement-product-table .col-price,.order-settlement-product-table .col-subtotal{width:130px}.order-settlement-product-table .col-quantity{width:90px}.order-settlement-product-table th,.order-settlement-product-table td{text-align:right;vertical-align:top;border-bottom:1px solid #e4e7ec;padding:12px}.order-settlement-product-table th:first-child,.order-settlement-product-table td:first-child{text-align:center}.order-settlement-product-table th:nth-child(2),.order-settlement-product-table td:nth-child(2){text-align:left}.order-settlement-product-table tr:last-child td{border-bottom:0}.order-settlement-product-table td strong,.order-settlement-product-table td small{overflow-wrap:anywhere;word-break:break-word;display:block}.order-settlement-product-table td small{color:#667085;margin-top:4px}.order-settlement-detail-row{border-bottom:1px solid #e4e7ec;justify-content:space-between;align-items:center;gap:18px;min-height:45px;padding:10px 14px;display:flex}.order-settlement-detail-row>span{color:#475467}.order-settlement-detail-row>strong{text-align:right;flex:none}.order-settlement-detail-row.strong{background:#f9fafb;font-size:15px}.order-settlement-actions{justify-content:flex-end;margin-top:24px;display:flex}@media (width<=900px){.order-settlement-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:20px}.order-settlement-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.order-settlement-detail-row{align-items:flex-start}}@media (width<=520px){.order-settlement-meta{grid-template-columns:1fr}.order-settlement-detail-row{grid-template-columns:minmax(0,1fr);gap:5px;display:grid}.order-settlement-detail-row>strong{text-align:left}}.order-settlement-modal{width:min(1180px,100vw - 48px);max-height:calc(100vh - 36px)}.order-settlement-modal .modal-body{padding:24px 28px 30px}.order-settlement-meta{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.order-settlement-meta>div{background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:12px 14px}.order-settlement-meta span{color:#8b95a5;margin-bottom:5px;font-size:12px;line-height:1.2;display:block}.order-settlement-meta strong{color:#182230;overflow-wrap:anywhere;font-size:14px;font-weight:700;line-height:1.35;display:block}.order-settlement-section{margin-bottom:22px}.order-settlement-section>h3,.order-settlement-finance-card>h3,.order-settlement-internal>h3{color:#182230;align-items:center;gap:8px;margin:0 0 12px;font-size:15px;font-weight:700;display:flex}.order-settlement-section-icon,.order-settlement-internal-icon{color:#ee4d2d;font-size:13px}.order-settlement-product-table-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%;overflow-x:auto}.order-settlement-product-table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:820px}.order-settlement-product-table th{color:#697386;text-align:left;white-space:nowrap;background:#fafafa;border-bottom:1px solid #e5e7eb;padding:11px 12px;font-size:12px;font-weight:600}.order-settlement-product-table td{color:#182230;vertical-align:top;border-bottom:1px solid #f0f1f3;padding:14px 12px;font-size:13px}.order-settlement-product-table tbody tr:last-child td{border-bottom:0}.order-settlement-product-table th:first-child,.order-settlement-product-table td:first-child{text-align:center;width:52px}.order-settlement-product-table th:nth-child(3),.order-settlement-product-table td:nth-child(3){text-align:right;white-space:nowrap;width:130px}.order-settlement-product-table th:nth-child(4),.order-settlement-product-table td:nth-child(4){text-align:center;white-space:nowrap;width:90px}.order-settlement-product-table th:nth-child(5),.order-settlement-product-table td:nth-child(5){text-align:right;white-space:nowrap;width:130px}.order-settlement-product-name{color:#182230;font-size:13px;font-weight:700;line-height:1.45}.order-settlement-product-meta{color:#7b8494;margin-top:4px;font-size:12px;line-height:1.45}.order-settlement-finance-grid{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);align-items:start;gap:16px;margin-bottom:16px;display:grid}.order-settlement-finance-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:18px}.order-settlement-finance-card.income{grid-row:span 2}.order-settlement-finance-card>h3{border-bottom:1px solid #eceef1;padding-bottom:12px}.order-settlement-detail-rows{border:1px solid #e5e7eb;border-radius:7px;overflow:hidden}.order-settlement-detail-row{background:#fff;border-bottom:1px solid #eceef1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;min-height:42px;padding:9px 14px;display:grid}.order-settlement-detail-row:last-child{border-bottom:0}.order-settlement-detail-row span{color:#536174;min-width:0;font-size:13px;line-height:1.35}.order-settlement-detail-row strong{color:#182230;text-align:right;white-space:nowrap;font-size:13px;font-weight:700}.order-settlement-detail-row.strong{background:#fffaf8;min-height:48px}.order-settlement-detail-row.strong span{color:#182230;font-weight:700}.order-settlement-detail-row.strong strong{color:#ee4d2d;font-size:18px;font-weight:800}.order-settlement-detail-rows.tone-fees .order-settlement-detail-row strong{color:#e5484d}.order-settlement-detail-rows.tone-fees .order-settlement-detail-row.strong{background:#fff8f8}.order-settlement-detail-rows.tone-buyer .order-settlement-detail-row.strong{background:#f8fbff}.order-settlement-detail-rows.tone-buyer .order-settlement-detail-row.strong strong{color:#182230}.order-settlement-total-bar{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin:16px 0 22px;padding:18px 20px;display:flex;box-shadow:0 1px 3px #0f172a0a}.order-settlement-total-bar>div{align-items:center;gap:9px;display:flex}.order-settlement-total-bar strong{color:#182230;font-size:15px;font-weight:700}.order-settlement-total-bar>strong{color:#ee4d2d;white-space:nowrap;font-size:22px;font-weight:800}.order-settlement-total-icon{color:#ee4d2d;font-size:14px}.order-settlement-internal{background:#f8fafc;border:1px solid #dfe5ec;border-radius:10px;padding:20px}.order-settlement-internal>h3{margin-bottom:14px}.order-settlement-internal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.order-settlement-internal-grid.has-weight{grid-template-columns:repeat(5,minmax(0,1fr))}.order-settlement-internal-card{background:#fff;border:1px solid #e1e6ed;border-radius:8px;min-width:0;min-height:96px;padding:15px 16px}.order-settlement-internal-card span{color:#6b7788;margin-bottom:10px;font-size:12px;font-weight:600;display:block}.order-settlement-internal-card strong{color:#182230;white-space:nowrap;font-size:19px;font-weight:800;line-height:1.25;display:block}.order-settlement-internal-card small{color:#7b8494;margin-top:8px;font-size:11px;font-weight:600;display:block}.order-settlement-internal-card.weight{background:#f4f9ff;border-color:#cfe5ff}.order-settlement-internal-card.weight strong{color:#1677d2}.order-settlement-internal-card.profit{background:#f5fcf8;border-color:#ccebdc}.order-settlement-internal-card.profit strong,.order-settlement-internal-card.profit small{color:#168653}.order-settlement-internal-card.product-profit{background:#f7f9ff;border-color:#d8e2ff}.order-settlement-internal-card.product-profit strong,.order-settlement-internal-card.product-profit small{color:#365fc7}.order-settlement-actions{margin-top:18px;padding-top:0}@media (width<=1000px){.order-settlement-modal{width:calc(100vw - 24px)}.order-settlement-modal .modal-body{padding:20px}.order-settlement-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.order-settlement-finance-grid{grid-template-columns:1fr}.order-settlement-finance-card.income{grid-row:auto}.order-settlement-internal-grid,.order-settlement-internal-grid.has-weight{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.order-settlement-modal{width:calc(100vw - 12px);max-height:calc(100vh - 12px)}.order-settlement-modal .modal-body{padding:14px}.order-settlement-meta{grid-template-columns:1fr;gap:8px}.order-settlement-finance-card,.order-settlement-internal{padding:14px}.order-settlement-detail-row{gap:12px;padding:9px 11px}.order-settlement-detail-row span,.order-settlement-detail-row strong{font-size:12px}.order-settlement-total-bar{padding:15px}.order-settlement-total-bar>strong{font-size:18px}.order-settlement-internal-grid,.order-settlement-internal-grid.has-weight{grid-template-columns:1fr}}.order-settlement-modal{width:min(1380px,100vw - 32px)!important}.order-settlement-meta{grid-template-columns:minmax(180px,1.2fr) minmax(130px,.8fr) minmax(160px,.9fr) minmax(130px,.7fr) minmax(180px,1fr)!important}.order-settlement-meta>div{padding:11px 13px!important}.order-settlement-meta strong{font-size:14px!important}.order-settlement-meta .shop-badge,.order-settlement-meta .status-badge{white-space:nowrap!important;vertical-align:middle!important;border-radius:5px!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:22px!important;padding:2px 9px!important;font-size:11px!important;line-height:16px!important;display:inline-flex!important}.order-settlement-meta .shop-badge{justify-content:flex-start!important}.order-settlement-product-table{min-width:960px!important}.order-settlement-product-table th:nth-child(2),.order-settlement-product-table td:nth-child(2){width:auto!important}.order-settlement-product-table th:nth-child(3),.order-settlement-product-table td:nth-child(3){width:140px!important}.order-settlement-product-table th:nth-child(4),.order-settlement-product-table td:nth-child(4){width:100px!important}.order-settlement-product-table th:nth-child(5),.order-settlement-product-table td:nth-child(5){width:140px!important}@media (width<=1000px){.order-settlement-modal{width:calc(100vw - 20px)!important}.order-settlement-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.order-settlement-modal.modal-content{width:min(1480px,100vw - 40px)!important;max-width:1480px!important}.order-settlement-modal .order-settlement-meta>div{padding:10px 12px}.order-settlement-modal .order-settlement-meta .shop-badge,.order-settlement-modal .order-settlement-meta .status-badge{white-space:nowrap!important;border-radius:5px!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:max-content!important;height:22px!important;min-height:22px!important;padding:2px 9px!important;font-size:11px!important;font-weight:600!important;line-height:1!important;display:inline-flex!important}.order-settlement-modal .order-settlement-finance-grid{grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr);gap:18px}.order-settlement-modal .order-settlement-internal{padding:16px 18px}.order-settlement-modal .order-settlement-internal-grid,.order-settlement-modal .order-settlement-internal-grid.has-weight{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.order-settlement-modal .order-settlement-internal-card{min-height:0!important;padding:11px 14px!important}.order-settlement-modal .order-settlement-internal-card span{margin-bottom:6px;font-size:11px}.order-settlement-modal .order-settlement-internal-card strong{font-size:17px;line-height:1.2}.order-settlement-modal .order-settlement-internal-card small{margin-top:5px;font-size:10px;line-height:1.25}@media (width<=1100px){.order-settlement-modal.modal-content{width:calc(100vw - 24px)!important}.order-settlement-modal .order-settlement-finance-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.order-settlement-modal .order-settlement-internal-grid,.order-settlement-modal .order-settlement-internal-grid.has-weight{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=850px){.order-settlement-modal .order-settlement-finance-grid{grid-template-columns:1fr}.order-settlement-modal .order-settlement-internal-grid,.order-settlement-modal .order-settlement-internal-grid.has-weight{grid-template-columns:repeat(2,minmax(0,1fr))}}.order-settlement-modal{font-size:14px}.order-settlement-modal .order-settlement-title h2{font-size:22px}.order-settlement-modal .order-settlement-title p{font-size:14px}.order-settlement-modal .order-settlement-meta span{font-size:13px}.order-settlement-modal .order-settlement-meta strong{font-size:15px}.order-settlement-modal .order-settlement-section>h3,.order-settlement-modal .order-settlement-finance-card>h3,.order-settlement-modal .order-settlement-internal>h3{font-size:16px}.order-settlement-modal .order-settlement-product-table th{font-size:13px}.order-settlement-modal .order-settlement-product-table td,.order-settlement-modal .order-settlement-product-name{font-size:14px}.order-settlement-modal .order-settlement-product-meta{font-size:13px}.order-settlement-modal .order-settlement-detail-row span,.order-settlement-modal .order-settlement-detail-row strong{font-size:14px}.order-settlement-modal .order-settlement-internal-card span{font-size:13px}.order-settlement-modal .order-settlement-internal-card strong{font-size:18px}.order-settlement-modal .order-settlement-internal-card small{font-size:11px}.order-settlement-modal .order-settlement-meta .shop-badge,.order-settlement-modal .order-settlement-meta .status-badge{white-space:nowrap!important;border-radius:5px!important;flex:none!important;place-self:flex-start!important;width:fit-content!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:4px 9px!important;font-size:12px!important;font-weight:600!important;line-height:1!important;display:inline-flex!important}:is(.order-settlement-modal .order-settlement-meta strong:has(.shop-badge),.order-settlement-modal .order-settlement-meta strong:has(.status-badge)){width:auto!important;display:block!important}.order-settlement-meta .shop-badge,.order-settlement-meta .status-badge{justify-content:flex-start!important;align-items:center!important;width:fit-content!important;min-width:0!important;max-width:100%!important;padding:3px 10px!important;line-height:1.1!important;display:inline-flex!important}.order-settlement-product-cell{align-items:center;gap:12px;min-width:0;display:flex}.order-settlement-product-thumb{object-fit:cover;background:#fff;border:1px solid #e5e7eb;border-radius:5px;flex:0 0 48px;width:48px;height:48px}.order-settlement-product-info{flex:auto;min-width:0}.order-settlement-product-info strong,.order-settlement-product-info small{display:block}.order-settlement-product-info strong{line-height:1.4}.order-settlement-product-info small{margin-top:3px}.order-settlement-product-thumb{flex:0 0 64px!important;width:64px!important;height:64px!important}.order-settlement-product-cell{align-items:center!important;gap:14px!important}.stat-value-row,.summary-value-row{flex-wrap:wrap;align-items:baseline;gap:5px 9px;min-width:0;display:flex}.stat-prev-value,.summary-prev-value{white-space:nowrap;opacity:.9;line-height:1.2;color:#64748b!important;font-size:11px!important;font-weight:700!important}.summary-value-row>strong{color:inherit;font-size:21px;line-height:1.2}@media (width<=1200px){.stat-value-row,.summary-value-row{flex-direction:column;align-items:flex-start;gap:3px}}.summary-card-bottom{flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px;display:flex}.summary-card-count{white-space:nowrap;line-height:1.2;color:#64748b!important;font-size:11px!important;font-weight:700!important}.summary-card-bottom{min-height:16px;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;margin-top:6px!important;display:flex!important}.summary-card .change-rate,.summary-card-count{white-space:nowrap!important;align-items:center!important;margin:0!important;font-family:inherit!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;display:inline-flex!important}.summary-card-count{color:#64748b!important;opacity:1!important}.summary-card .change-rate.positive{color:#389e0d!important}.summary-card .change-rate.negative{color:#cf1322!important}.summary-value-row{min-height:25px;flex-wrap:nowrap!important;align-items:baseline!important;gap:8px!important;display:flex!important}.summary-value-row>strong{flex:none}.summary-prev-value{flex:none;color:#94a3b8!important;white-space:nowrap!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important}.summary-card:last-child .summary-value-row{min-height:25px}.summary-card:last-child .summary-card-bottom{min-height:16px}.order-settlement-modal .order-settlement-meta{grid-template-columns:minmax(170px,1.25fr) minmax(95px,.55fr) minmax(150px,.9fr) minmax(170px,1fr) minmax(90px,.55fr) minmax(150px,.8fr) minmax(190px,1fr) minmax(260px,1.4fr)!important}.order-settlement-modal .order-settlement-meta>div{min-width:0}.order-settlement-modal .order-settlement-meta>div strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.order-settlement-modal .order-settlement-meta>div:last-child strong{text-overflow:initial;white-space:normal;word-break:break-word;line-height:1.3;overflow:visible}.order-settlement-buyer-id{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}@media (width<=1400px){.order-settlement-modal .order-settlement-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (width<=900px){.order-settlement-modal .order-settlement-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.order-settlement-return-section{background:#fffaf8;border:1px solid #ffd2c8;border-radius:10px;margin:18px 0;padding:18px}.order-settlement-return-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.order-settlement-return-heading>div{align-items:center;gap:11px;min-width:0;display:flex}.order-settlement-return-icon{color:#ee4d2d;background:#ffeee9;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;font-weight:700;display:inline-flex}.order-settlement-return-heading h3{color:#252525;margin:0;font-size:16px;line-height:1.25}.order-settlement-return-heading p{color:#777;margin:3px 0 0;font-size:12px;line-height:1.35}.order-settlement-return-count{color:#ee4d2d;white-space:nowrap;background:#fff;border:1px solid #ffc5b7;border-radius:999px;justify-content:center;align-items:center;min-width:42px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.order-settlement-return-list{gap:12px;display:grid}.order-settlement-return-card{background:#fff;border:1px solid #eadfdc;border-radius:8px;overflow:hidden}.order-settlement-return-card-head{background:#fffdfc;border-bottom:1px solid #f0e7e4;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.order-settlement-return-card-head>div{align-items:center;gap:9px;min-width:0;display:flex}.order-settlement-return-card-head>div>span{color:#888;font-size:12px}.order-settlement-return-card-head>div>strong{color:#333;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.order-return-status{white-space:nowrap;border-radius:5px;justify-content:center;align-items:center;width:fit-content;min-width:0;padding:4px 9px;font-size:12px;font-weight:700;line-height:1.1;display:inline-flex}.order-return-status-requested{color:#b86a00;background:#fff1dd}.order-return-status-processing,.order-return-status-judging,.order-return-status-seller_dispute{color:#9a6500;background:#fff4d6}.order-return-status-accepted{color:#16834b;background:#e9f8ef}.order-return-status-cancelled,.order-return-status-closed{color:#686d76;background:#f1f2f4}.order-settlement-return-grid{grid-template-columns:minmax(160px,1.2fr) minmax(130px,.8fr) minmax(140px,.9fr) minmax(150px,1fr) minmax(170px,1fr) minmax(170px,1fr);display:grid}.order-settlement-return-grid>div{border-right:1px solid #f0e7e4;min-width:0;padding:13px 14px}.order-settlement-return-grid>div:last-child{border-right:0}.order-settlement-return-grid span,.order-settlement-return-logistics span{color:#888;margin-bottom:5px;font-size:12px;display:block}.order-settlement-return-grid strong{overflow-wrap:anywhere;color:#333;font-size:14px;line-height:1.35;display:block}.order-settlement-return-grid small{color:#777;margin-top:4px;font-size:11px;line-height:1.4;display:block}.order-settlement-return-logistics{background:#fafafa;border-top:1px solid #f0e7e4;flex-wrap:wrap;gap:24px;padding:11px 14px;display:flex}.order-settlement-return-logistics span{margin:0}.order-settlement-return-logistics strong{color:#444;margin-left:7px;font-size:12px}@media (width<=1180px){.order-settlement-return-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-settlement-return-grid>div:nth-child(3n){border-right:0}.order-settlement-return-grid>div:nth-child(-n+3){border-bottom:1px solid #f0e7e4}}@media (width<=700px){.order-settlement-return-section{padding:14px}.order-settlement-return-heading{align-items:flex-start}.order-settlement-return-card-head{flex-direction:column;align-items:flex-start}.order-settlement-return-grid{grid-template-columns:1fr}.order-settlement-return-grid>div{border-bottom:1px solid #f0e7e4;border-right:0}.order-settlement-return-grid>div:last-child{border-bottom:0}}.order-all-period-notice{color:#5f6875;background:#f5f6f8;border:1px solid #d9d9d9;border-radius:6px;align-items:center;width:260px;height:36px;padding:0 12px;font-size:13px;font-weight:600;display:flex}html[data-theme=dark] .order-settlement-return-section{background:#182235;border-color:#5d3a38}html[data-theme=dark] .order-settlement-return-icon{color:#ff8b73;background:#452925}html[data-theme=dark] .order-settlement-return-heading h3,html[data-theme=dark] .order-settlement-return-card-head>div>strong,html[data-theme=dark] .order-settlement-return-grid strong,html[data-theme=dark] .order-settlement-return-logistics strong{color:#eef4fb}html[data-theme=dark] .order-settlement-return-heading p,html[data-theme=dark] .order-settlement-return-card-head>div>span,html[data-theme=dark] .order-settlement-return-grid span,html[data-theme=dark] .order-settlement-return-grid small,html[data-theme=dark] .order-settlement-return-logistics span{color:#9db0c8}html[data-theme=dark] .order-settlement-return-count{color:#ff967f;background:#1d2a3e;border-color:#74463f}html[data-theme=dark] .order-settlement-return-card{background:#111e31;border-color:#30435f}html[data-theme=dark] .order-settlement-return-card-head{background:#15243a;border-color:#30435f}html[data-theme=dark] .order-settlement-return-grid>div{border-color:#30435f}html[data-theme=dark] .order-settlement-return-logistics{background:#0f1b2d;border-color:#30435f}html[data-theme=dark] .order-return-status-requested,html[data-theme=dark] .order-return-status-processing,html[data-theme=dark] .order-return-status-judging,html[data-theme=dark] .order-return-status-seller_dispute{color:#f2c36d;background:#3e3119}html[data-theme=dark] .order-return-status-accepted{color:#72d6a7;background:#15382b}html[data-theme=dark] .order-return-status-cancelled,html[data-theme=dark] .order-return-status-closed{color:#b2c0d3;background:#273449}html[data-theme=dark] .order-management-page .order-all-period-notice{border-color:var(--theme-input-border);background:var(--theme-input-bg);color:var(--theme-text-strong)}.order-settlement-buyer-card{gap:4px}.order-settlement-buyer-line{grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;display:grid}.order-settlement-buyer-line small{color:#64748b;font-size:9px;font-weight:700}.order-settlement-buyer-line strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden;font-size:10px!important}.buyer-copy-button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:5px;padding:2px 6px;font-size:9px;font-weight:700}.buyer-copy-button:hover:not(:disabled){color:#2563eb;background:#eff6ff;border-color:#93c5fd}.buyer-copy-button:disabled{opacity:.4;cursor:default}.buyer-history-open-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;width:100%;margin-top:1px;padding:4px 6px;font-size:9px;font-weight:800}.buyer-history-open-button:hover:not(:disabled){background:#dbeafe;border-color:#60a5fa}.buyer-history-open-button:disabled{opacity:.6;cursor:default}.buyer-history-overlay{z-index:1400}.buyer-history-modal.modal-content{width:min(1380px,100vw - 44px);max-width:1380px;max-height:calc(100vh - 50px);padding:24px;overflow:auto}.buyer-history-header{margin-bottom:16px}.buyer-history-header h2{color:#111827;margin:0;font-size:22px}.buyer-history-header p{color:#64748b;margin:5px 0 0;font-size:13px}.buyer-history-message{color:#64748b;text-align:center;padding:40px 20px}.buyer-history-error{color:#dc2626}.buyer-history-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.buyer-history-summary>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:13px 15px}.buyer-history-summary span{color:#64748b;margin-bottom:5px;font-size:11px;font-weight:700;display:block}.buyer-history-summary strong{color:#0f172a;justify-content:space-between;align-items:baseline;gap:10px;font-size:18px;display:flex}.buyer-history-summary strong small{color:#334155;font-size:13px;font-weight:800}.buyer-history-purchase-number{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:9px;margin-bottom:14px;padding:9px 12px;font-size:12px}.buyer-history-table-wrap{border:1px solid #e2e8f0;border-radius:12px;overflow:auto}.buyer-history-table{border-collapse:collapse;width:100%;min-width:1120px}.buyer-history-table th{z-index:1;color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;padding:10px 12px;font-size:11px;position:sticky;top:0}.buyer-history-table td{color:#334155;vertical-align:middle;border-top:1px solid #edf2f7;padding:11px 12px;font-size:12px}.buyer-history-current-row{background:#f0f9ff}.buyer-history-order-link{color:#2563eb;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:800;text-decoration:underline}.buyer-history-current-badge{color:#1d4ed8;white-space:nowrap;background:#dbeafe;border-radius:999px;margin-left:7px;padding:2px 6px;font-size:9px;font-weight:800;display:inline-flex}.buyer-history-products{min-width:250px;max-width:430px;line-height:1.4}.buyer-history-order-amount{white-space:nowrap;font-weight:800}.buyer-history-return{color:#94a3b8;white-space:nowrap}.buyer-history-return.active{color:#dc2626;font-weight:800}.buyer-history-empty{text-align:center;color:#94a3b8!important;padding:34px!important}@media (width<=900px){.buyer-history-summary{grid-template-columns:1fr}.buyer-history-modal.modal-content{width:calc(100vw - 20px);padding:18px}}.order-settlement-modal .payment-order-top-grid{box-sizing:border-box;grid-template-columns:1.35fr .6fr 1fr .65fr .95fr 1.1fr 1.35fr;gap:10px;width:100%;min-width:0;margin:0 0 14px;display:grid}.order-settlement-modal .payment-order-top-card{box-sizing:border-box;background:#fff;border:1px solid #d8e1eb;border-radius:8px;flex-direction:column;align-items:flex-start;width:100%;min-width:0;min-height:76px;padding:10px 12px;display:flex;overflow:hidden}.order-settlement-modal .payment-order-top-label{color:#64748b;white-space:nowrap;width:100%;margin:0 0 7px;font-size:11px;font-weight:500;line-height:1.15;display:block}.order-settlement-modal .payment-order-top-value{color:#020617;overflow-wrap:normal;word-break:normal;white-space:normal;width:100%;min-width:0;margin:0;font-size:13px;font-weight:800;line-height:1.3;display:block}.order-settlement-modal .payment-order-top-nowrap,.order-settlement-modal .payment-order-rate-value{white-space:nowrap}.order-settlement-modal .payment-order-rate-value{font-size:12px}.order-settlement-modal .payment-order-shop-badge,.order-settlement-modal .payment-order-status-badge{box-sizing:border-box;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;width:fit-content;height:25px;padding:0 11px;font-size:11px;font-weight:800;line-height:23px;display:inline-flex}.order-settlement-modal .payment-order-shop-badge{color:#268e39;background:#ebfbe8;border:1px solid #86d47b;min-width:48px}.order-settlement-modal .payment-order-status-badge{color:#176fd1;background:#eaf5ff;border:1px solid #70b8fa;min-width:100px;max-width:100%}.order-settlement-modal .order-settlement-buyer-summary{box-sizing:border-box;background:#fff;border:1px solid #acd0fb;border-radius:8px;grid-template-columns:1fr;width:100%;min-width:0;margin:0 0 14px;display:grid;overflow:hidden}.order-settlement-modal .buyer-summary-identity{box-sizing:border-box;background:#f8fbff;border-bottom:1px solid #d7e6f7;border-right:0;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:14px;width:100%;min-width:0;min-height:48px;padding:7px 16px;display:grid}.order-settlement-modal .buyer-summary-statistics{box-sizing:border-box;background:#fff;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:14px;width:100%;min-width:0;min-height:44px;padding:5px 16px;display:grid}.order-settlement-modal .buyer-summary-heading{color:#153e75;white-space:nowrap;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:800;line-height:1;display:flex}.order-settlement-modal .buyer-summary-heading svg{color:#2563eb;flex:0 0 15px;width:15px;height:15px;display:block}.order-settlement-modal .buyer-summary-fields{grid-template-columns:minmax(350px,1.3fr) minmax(270px,.95fr) 150px;align-items:center;gap:22px;width:100%;min-width:0;display:grid}.order-settlement-modal .buyer-summary-field{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.order-settlement-modal .buyer-summary-field>span{color:#64748b;white-space:nowrap;margin:0;font-size:10px;font-weight:600}.order-settlement-modal .buyer-summary-field>div{align-items:center;gap:8px;min-width:0;display:flex}.order-settlement-modal .buyer-summary-field strong{color:#0f172a;text-overflow:clip;white-space:nowrap;width:auto;min-width:0;max-width:none;font-size:12px;font-weight:800;line-height:1.2;display:block;overflow:visible}.order-settlement-modal .buyer-summary-copy{box-sizing:border-box;color:#64748b;cursor:pointer;background:#fff;border:1px solid #d3dde9;border-radius:6px;justify-content:center;align-items:center;width:25px;min-width:25px;height:25px;padding:0;display:inline-flex}.order-settlement-modal .buyer-summary-copy svg{flex:0 0 12px;width:12px;height:12px;display:block}.order-settlement-modal .buyer-summary-history-button{box-sizing:border-box;color:#176fd1;white-space:nowrap;cursor:pointer;background:#f4f9ff;border:1px solid #8fc2fc;border-radius:7px;justify-content:center;justify-self:end;align-items:center;gap:10px;width:150px;min-width:150px;height:32px;padding:0 12px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.order-settlement-modal .buyer-summary-history-button>span:first-child{white-space:nowrap;width:auto;margin:0;line-height:1;display:inline-block}.order-settlement-modal .buyer-summary-history-chevron{color:currentColor!important;flex:0 0 12px!important;justify-content:center!important;align-items:center!important;width:12px!important;min-width:12px!important;height:12px!important;margin:0!important;padding:0!important;font-size:18px!important;font-weight:400!important;line-height:10px!important;display:inline-flex!important}.order-settlement-modal .buyer-summary-stat-row{box-sizing:border-box;background:#fff;border:1px solid #dce4ee;border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;min-height:34px;display:grid;overflow:hidden}.order-settlement-modal .buyer-summary-stat-row:has(.buyer-summary-purchase-number){grid-template-columns:minmax(175px,.72fr) repeat(3,minmax(0,1fr))}.order-settlement-modal .buyer-summary-purchase-number,.order-settlement-modal .buyer-summary-stat{box-sizing:border-box;min-width:0;padding:5px 12px}.order-settlement-modal .buyer-summary-purchase-number{color:#64748b;white-space:nowrap;background:#eff6ff;justify-content:center;align-items:center;gap:5px;font-size:10px;display:flex}.order-settlement-modal .buyer-summary-purchase-number strong{color:#1d4ed8;font-size:11px;font-weight:900}.order-settlement-modal .buyer-summary-stat{border-left:1px solid #e2e8f0;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:9px;display:grid}.order-settlement-modal .buyer-summary-stat>span{color:#64748b;white-space:nowrap;margin:0;font-size:9px;font-weight:700}.order-settlement-modal .buyer-summary-stat>div{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.order-settlement-modal .buyer-summary-stat strong{color:#0f172a;white-space:nowrap;font-size:12px;font-weight:900}.order-settlement-modal .buyer-summary-stat b{color:#334155;white-space:nowrap;font-size:11px;font-weight:900}.order-settlement-modal .buyer-summary-stat-completed b{color:#16823a}.order-settlement-modal .buyer-summary-stat-cancelled b{color:#dc2626}@media (width<=1200px){.order-settlement-modal .payment-order-top-grid{grid-template-columns:190px 90px 145px 105px 150px 175px 230px;padding-bottom:4px;overflow-x:auto}}.order-settlement-modal .seller-cost-negative{color:#ef2b2d!important}.order-settlement-modal .shopee-funded-negative{color:#0f172a!important}.order-id-row{align-items:center;gap:7px;min-width:0;display:flex}.order-id-text{color:#111827;cursor:default;white-space:nowrap;text-decoration:none}.order-id-text:hover,.order-id-text:focus,.order-id-text:active{color:#111827;cursor:default;text-decoration:none}.copy-icon-button{box-sizing:border-box;color:#64748b;cursor:pointer;background:#fff;border:1px solid #d5dce5;border-radius:6px;flex:0 0 26px;justify-content:center;align-items:center;width:26px;min-width:26px;height:26px;min-height:26px;padding:0;line-height:1;transition:background-color .15s,border-color .15s,color .15s,transform 80ms;display:inline-flex}.copy-icon-button svg{pointer-events:none;flex:0 0 13px;width:13px;height:13px;display:block}.copy-icon-button:hover:not(:disabled){color:#334155;background:#f8fafc;border-color:#aeb9c7}.copy-icon-button:active:not(:disabled){background:#f1f5f9;transform:translateY(1px)}.copy-icon-button:focus{outline:none}.copy-icon-button:focus-visible{outline-offset:2px;outline:2px solid #94a3b8}.copy-icon-button.is-copied{color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.copy-icon-button:disabled{opacity:.38;cursor:default}:root{--theme-page-bg:#f5f5f5;--theme-surface:#fff;--theme-surface-soft:#f8fafc;--theme-surface-hover:#f1f5f9;--theme-surface-active:#e8f0fe;--theme-text:#172033;--theme-text-strong:#0f172a;--theme-text-muted:#627086;--theme-border:#d8dee8;--theme-border-soft:#e5e7eb;--theme-shadow:#16203314;--theme-overlay:#0f172a7a;--theme-primary:#1f6feb;--theme-primary-soft:#e8f0fe;--theme-danger-soft:#ef444414;--theme-scrollbar:#cbd5e1;--theme-scrollbar-track:#f1f5f9}html[data-theme=dark]{--theme-page-bg:#0b1120;--theme-surface:#111827;--theme-surface-soft:#182235;--theme-surface-hover:#1e293b;--theme-surface-active:#1d3557;--theme-text:#e5e7eb;--theme-text-strong:#f8fafc;--theme-text-muted:#9aa8bc;--theme-border:#334155;--theme-border-soft:#293548;--theme-shadow:#00000057;--theme-overlay:#000000ad;--theme-primary:#60a5fa;--theme-primary-soft:#3b82f62e;--theme-danger-soft:#ef444424;--theme-scrollbar:#475569;--theme-scrollbar-track:#111827}.theme-toggle-row{min-width:0;min-height:38px;color:var(--theme-text-muted);align-items:center;gap:7px;margin-bottom:10px;padding:2px 4px;display:flex}.theme-toggle-row.collapsed{justify-content:center;gap:0;padding:2px 0}.theme-toggle-row.collapsed .theme-toggle-icon,.theme-toggle-row.collapsed .theme-toggle-label{display:none}.theme-toggle-icon{width:17px;color:var(--theme-text-muted);text-align:center;flex:0 0 17px;font-size:17px;line-height:1}.theme-toggle-label{min-width:0;color:var(--theme-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.theme-toggle-switch{background:#e2e8f0;border:1px solid #cbd5e1;border-radius:999px;width:42px;min-width:42px;height:23px;min-height:23px;padding:0;transition:background-color .2s,border-color .2s,box-shadow .2s;position:relative}.theme-toggle-switch:hover{background:#cbd5e1;border-color:#94a3b8}.theme-toggle-switch:focus-visible{outline-offset:2px;outline:3px solid #3b82f640}.theme-toggle-switch.is-dark{background:#2563eb;border-color:#3b82f6}.theme-toggle-switch.is-dark:hover{background:#3b82f6;border-color:#60a5fa}.theme-toggle-thumb{background:#fff;border-radius:50%;width:15px;height:15px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a52}.theme-toggle-switch.is-dark .theme-toggle-thumb{transform:translate(19px)}.sidebar-footer-divider{background:var(--theme-border-soft);height:1px;margin:0 0 10px}body,.sidebar,.main-content,.login-card,input,select,textarea,table,th,td,[class*=card],[class*=modal],[class*=panel]{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #root,html[data-theme=dark] .app-shell,html[data-theme=dark] .main,html[data-theme=dark] .content,html[data-theme=dark] .main-content,html[data-theme=dark] .page,html[data-theme=dark] .screen-center,html[data-theme=dark] .login-page{background:var(--theme-page-bg);color:var(--theme-text)}html[data-theme=dark] body{color:var(--theme-text)}html[data-theme=dark] .sidebar{border-color:var(--theme-border);color:var(--theme-text);background:#0f172a}html[data-theme=dark] .sidebar-header{border-color:var(--theme-border-soft)}html[data-theme=dark] .brand-name,html[data-theme=dark] .brand strong{color:var(--theme-text-strong)}html[data-theme=dark] .brand small,html[data-theme=dark] .sidebar .nav-text,html[data-theme=dark] .sidebar-toggle{color:var(--theme-text-muted)}html[data-theme=dark] .sidebar-toggle:hover{background:var(--theme-surface-hover);color:var(--theme-primary)}html[data-theme=dark] .nav-link{color:var(--theme-text-muted)}html[data-theme=dark] .nav-link:hover{background:var(--theme-surface-hover);color:var(--theme-text-strong)}html[data-theme=dark] .nav-link.active{background:var(--theme-primary-soft);color:#93c5fd}html[data-theme=dark] .sidebar-footer{border-color:var(--theme-border-soft)}html[data-theme=dark] .sidebar-logout-button{background:var(--theme-danger-soft);color:#fca5a5}html[data-theme=dark] .sidebar-logout-button:hover{background:#ef444438}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] h5,html[data-theme=dark] h6,html[data-theme=dark] strong,html[data-theme=dark] legend{color:var(--theme-text-strong)}html[data-theme=dark] p,html[data-theme=dark] small,html[data-theme=dark] label,html[data-theme=dark] .muted,html[data-theme=dark] [class*=subtitle],html[data-theme=dark] [class*=description],html[data-theme=dark] [class*=hint],html[data-theme=dark] [class*=meta]{color:var(--theme-text-muted)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] input:hover,html[data-theme=dark] select:hover,html[data-theme=dark] textarea:hover{border-color:#475569}html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{border-color:#60a5fa;outline-color:#60a5fa40}html[data-theme=dark] input:disabled,html[data-theme=dark] select:disabled,html[data-theme=dark] textarea:disabled{color:#64748b;background:#0f172a}html[data-theme=dark] input[type=date],html[data-theme=dark] input[type=datetime-local],html[data-theme=dark] input[type=month]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] .login-card,html[data-theme=dark] .card,html[data-theme=dark] .stats-card,html[data-theme=dark] .stat-card,html[data-theme=dark] .summary-card,html[data-theme=dark] .chart-card,html[data-theme=dark] .chart-summary-pill,html[data-theme=dark] .filter-card,html[data-theme=dark] .settings-card,html[data-theme=dark] .inventory-card,html[data-theme=dark] .receipt-card,html[data-theme=dark] .panel,html[data-theme=dark] .section-card,html[data-theme=dark] .table-card,html[data-theme=dark] [class$=-card],html[data-theme=dark] [class*=\ card]{color:var(--theme-text);box-shadow:0 8px 24px var(--theme-shadow);border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] table{color:var(--theme-text)}html[data-theme=dark] th{border-color:var(--theme-border)!important;color:#cbd5e1!important;background:#172033!important}html[data-theme=dark] td{color:var(--theme-text);border-color:var(--theme-border-soft)!important;background:var(--theme-surface)!important}html[data-theme=dark] tbody tr:nth-child(2n):hover td{background:var(--theme-surface-hover)!important}html[data-theme=dark] .table-wrap,html[data-theme=dark] .table-container,html[data-theme=dark] [class*=table-wrap],html[data-theme=dark] [class*=table-container]{background:var(--theme-surface);border-color:var(--theme-border)!important}html[data-theme=dark] [class*=tabs],html[data-theme=dark] [class*=filters],html[data-theme=dark] [class*=toolbar],html[data-theme=dark] [class*=actions]{border-color:var(--theme-border-soft)}html[data-theme=dark] [role=tab]{color:var(--theme-text-muted)}html[data-theme=dark] [role=tab]:hover{background:var(--theme-surface-hover);color:var(--theme-text-strong)}html[data-theme=dark] [role=tab][aria-selected=true],html[data-theme=dark] [role=tab].active{background:var(--theme-primary-soft);color:#93c5fd}html[data-theme=dark] [class*=modal-overlay],html[data-theme=dark] [class*=modal-backdrop],html[data-theme=dark] .modal-overlay{background:var(--theme-overlay)!important}html[data-theme=dark] [class*=modal-content],html[data-theme=dark] [class*=modal-card],html[data-theme=dark] [class*=modal-dialog],html[data-theme=dark] .modal{color:var(--theme-text);box-shadow:0 24px 70px #00000085;border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] [class*=modal-header],html[data-theme=dark] [class*=modal-footer]{border-color:var(--theme-border-soft)!important;background:var(--theme-surface)!important}html[data-theme=dark] .secondary-btn,html[data-theme=dark] .cancel-btn,html[data-theme=dark] .close-btn,html[data-theme=dark] .icon-button,html[data-theme=dark] .copy-icon-button,html[data-theme=dark] button[class*=secondary],html[data-theme=dark] button[class*=cancel],html[data-theme=dark] button[class*=close]{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .secondary-btn:hover,html[data-theme=dark] .cancel-btn:hover,html[data-theme=dark] .close-btn:hover,html[data-theme=dark] .icon-button:hover,html[data-theme=dark] .copy-icon-button:hover{background:var(--theme-surface-hover)!important}html[data-theme=dark] button:not(.theme-toggle-switch):not(.sidebar-toggle):not(.sidebar-logout-button):not(.copy-icon-button):disabled{opacity:.45}html[data-theme=dark] .action-btn,html[data-theme=dark] .primary-btn,html[data-theme=dark] button[type=submit]{color:#fff}html[data-theme=dark] .pagination button,html[data-theme=dark] [class*=pagination] button{border-color:var(--theme-border);background:var(--theme-surface);color:var(--theme-text)}html[data-theme=dark] .pagination button:hover,html[data-theme=dark] [class*=pagination] button:hover{background:var(--theme-surface-hover)}html[data-theme=dark] .pagination button.active,html[data-theme=dark] [class*=pagination] button.active{color:#fff;background:#2563eb;border-color:#3b82f6}html[data-theme=dark] .chart-card,html[data-theme=dark] .chart-body,html[data-theme=dark] .chart-tooltip,html[data-theme=dark] .chart-summary-pill{color:var(--theme-text);border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] .chart-tooltip{box-shadow:0 10px 30px #00000061}html[data-theme=dark] .recharts-cartesian-grid line{stroke:#334155}html[data-theme=dark] .recharts-cartesian-axis-line,html[data-theme=dark] .recharts-cartesian-axis-tick-line{stroke:#475569}html[data-theme=dark] .recharts-cartesian-axis-tick text,html[data-theme=dark] .recharts-text{fill:#94a3b8}html[data-theme=dark] .recharts-default-tooltip{border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] .empty-state,html[data-theme=dark] [class*=empty],html[data-theme=dark] [class*=loading]{color:var(--theme-text-muted)}html[data-theme=dark] [class*=notice],html[data-theme=dark] [class*=message],html[data-theme=dark] [class*=alert]{border-color:var(--theme-border)}html[data-theme=dark] img,html[data-theme=dark] video,html[data-theme=dark] canvas{color-scheme:normal;filter:none}html[data-theme=dark]{scrollbar-color:var(--theme-scrollbar) var(--theme-scrollbar-track)}html[data-theme=dark] ::-webkit-scrollbar{width:11px;height:11px}html[data-theme=dark] ::-webkit-scrollbar-track{background:var(--theme-scrollbar-track)}html[data-theme=dark] ::-webkit-scrollbar-thumb{border:3px solid var(--theme-scrollbar-track);background:var(--theme-scrollbar);border-radius:999px}html[data-theme=dark] ::selection{color:#fff;background:#3b82f66b}html[data-theme=dark]{--theme-page-bg:#08111f;--theme-surface:#111c2e;--theme-surface-soft:#152238;--theme-surface-elevated:#18263d;--theme-surface-hover:#1d2d47;--theme-surface-active:#20395d;--theme-text:#dce6f3;--theme-text-strong:#f3f7fc;--theme-text-muted:#91a3ba;--theme-border:#2d3d56;--theme-border-soft:#233249;--theme-input-bg:#0c1728;--theme-input-border:#344761}html[data-theme=dark] body,html[data-theme=dark] #root,html[data-theme=dark] .app-layout,html[data-theme=dark] .app-shell,html[data-theme=dark] .main-content,html[data-theme=dark] .page-content,html[data-theme=dark] .content-area{color:var(--theme-text);background-color:var(--theme-page-bg)!important}html[data-theme=dark] .page-header,html[data-theme=dark] .page-title-row,html[data-theme=dark] .section-header{border-color:var(--theme-border-soft)!important}html[data-theme=dark] .page-header h1,html[data-theme=dark] .page-header h2,html[data-theme=dark] .page-title,html[data-theme=dark] .section-title{color:var(--theme-text-strong)!important}html[data-theme=dark] .page-header p,html[data-theme=dark] .page-description,html[data-theme=dark] .section-description{color:var(--theme-text-muted)!important}html[data-theme=dark] .settings-page,html[data-theme=dark] .settings-container{color:var(--theme-text)}html[data-theme=dark] .settings-section,html[data-theme=dark] .settings-card,html[data-theme=dark] .settings-panel,html[data-theme=dark] .google-sheet-settings-section,html[data-theme=dark] .account-settings-section,html[data-theme=dark] .backfill-section,html[data-theme=dark] .connection-test-section,html[data-theme=dark] .shipping-label-cleanup-section,html[data-theme=dark] .exchange-rate-section,html[data-theme=dark] .shops-section{box-shadow:0 8px 24px #0003;border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .settings-section h2,html[data-theme=dark] .settings-section h3,html[data-theme=dark] .settings-field>span,html[data-theme=dark] .settings-field label{color:var(--theme-text-strong)!important}html[data-theme=dark] .settings-help-text,html[data-theme=dark] .settings-section p,html[data-theme=dark] .settings-section small{color:var(--theme-text-muted)!important}html[data-theme=dark] .fixed-sheet-names span,html[data-theme=dark] .google-sheet-sync-status span{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .admin-page,html[data-theme=dark] .admin-container{color:var(--theme-text)}html[data-theme=dark] .admin-summary-card,html[data-theme=dark] .admin-stat-card,html[data-theme=dark] .tenant-summary-card,html[data-theme=dark] .tenant-card,html[data-theme=dark] .user-card{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .admin-summary-card strong,html[data-theme=dark] .admin-stat-card strong,html[data-theme=dark] .tenant-summary-card strong{color:var(--theme-text-strong)!important}html[data-theme=dark] .filter-section,html[data-theme=dark] .filter-panel,html[data-theme=dark] .filter-container,html[data-theme=dark] .filter-bar,html[data-theme=dark] .search-section,html[data-theme=dark] .search-panel,html[data-theme=dark] .search-box,html[data-theme=dark] .search-controls,html[data-theme=dark] .toolbar,html[data-theme=dark] .toolbar-panel,html[data-theme=dark] .tab-panel,html[data-theme=dark] .order-filters,html[data-theme=dark] .ledger-filters,html[data-theme=dark] .inventory-filters,html[data-theme=dark] .receipt-filters{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .notice-box,html[data-theme=dark] .info-box,html[data-theme=dark] .help-box,html[data-theme=dark] .guide-box,html[data-theme=dark] .inventory-notice,html[data-theme=dark] .capture-guide{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .notice-box p,html[data-theme=dark] .info-box p,html[data-theme=dark] .help-box p,html[data-theme=dark] .guide-box p{color:var(--theme-text-muted)!important}html[data-theme=dark] .receipt-page,html[data-theme=dark] .receipt-layout,html[data-theme=dark] .receipt-panel,html[data-theme=dark] .receipt-form,html[data-theme=dark] .receipt-summary,html[data-theme=dark] .receipt-history,html[data-theme=dark] .purchase-required-section,html[data-theme=dark] .new-receipt-section,html[data-theme=dark] .monthly-receipt-summary,html[data-theme=dark] .inventory-page,html[data-theme=dark] .inventory-section,html[data-theme=dark] .inventory-panel,html[data-theme=dark] .inventory-summary,html[data-theme=dark] .inventory-table-section,html[data-theme=dark] .inventory-search-section,html[data-theme=dark] .today-orders-section,html[data-theme=dark] .product-capture-page,html[data-theme=dark] .capture-section,html[data-theme=dark] .capture-panel,html[data-theme=dark] .capture-result,html[data-theme=dark] .bookmarklet-section,html[data-theme=dark] .json-paste-section{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] [class$=-panel]:not([class*=status]):not([class*=badge]),html[data-theme=dark] [class$=-section]:not([class*=status]):not([class*=badge]),html[data-theme=dark] [class$=-container]:not(.app-container):not([class*=status]){border-color:var(--theme-border)}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:var(--theme-input-border)!important;background-color:var(--theme-input-bg)!important;color:var(--theme-text-strong)!important;box-shadow:none!important}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]):hover,html[data-theme=dark] select:hover,html[data-theme=dark] textarea:hover{border-color:#4b6382!important}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]):focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{outline-offset:0;background-color:#0d1a2d!important;border-color:#60a5fa!important;outline:2px solid #60a5fa29!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#71839c!important}html[data-theme=dark] option{background:var(--theme-surface);color:var(--theme-text)}html[data-theme=dark] button:not(.btn-primary):not(.primary-btn):not(.action-btn):not(.theme-toggle-switch):not(.sidebar-toggle):not(.sidebar-logout-button):not([class*=danger]):not([class*=success]):not([class*=purple]):not([class*=status]){border-color:var(--theme-border)!important}html[data-theme=dark] .btn-secondary,html[data-theme=dark] .btn-default,html[data-theme=dark] .outline-btn,html[data-theme=dark] .reset-btn,html[data-theme=dark] .refresh-btn,html[data-theme=dark] .pagination button{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .btn-secondary:hover,html[data-theme=dark] .btn-default:hover,html[data-theme=dark] .outline-btn:hover,html[data-theme=dark] .reset-btn:hover,html[data-theme=dark] .refresh-btn:hover,html[data-theme=dark] .pagination button:hover{background:var(--theme-surface-hover)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] table{border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] thead,html[data-theme=dark] thead tr,html[data-theme=dark] th{color:#c9d6e6!important;background:#17243a!important}html[data-theme=dark] tbody,html[data-theme=dark] tbody tr,html[data-theme=dark] td{border-color:var(--theme-border-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] tbody tr:nth-child(odd) td{background:var(--theme-surface)!important}html[data-theme=dark] tbody tr:nth-child(2n) td{background:#121f33!important}html[data-theme=dark] tbody tr:hover td{background:var(--theme-surface-hover)!important}html[data-theme=dark] a:not(.nav-link):not(.btn){color:#60a5fa}html[data-theme=dark] a:not(.nav-link):not(.btn):hover{color:#93c5fd}html[data-theme=dark] .empty-state,html[data-theme=dark] .no-data,html[data-theme=dark] .helper-text,html[data-theme=dark] .sub-text,html[data-theme=dark] .timestamp{color:var(--theme-text-muted)!important}html[data-theme=dark] [class*=card] h2,html[data-theme=dark] [class*=card] h3,html[data-theme=dark] [class*=panel] h2,html[data-theme=dark] [class*=panel] h3,html[data-theme=dark] [class*=section] h2,html[data-theme=dark] [class*=section] h3{color:var(--theme-text-strong)}html[data-theme=dark] .table-scroll,html[data-theme=dark] .result-scroll,html[data-theme=dark] .scroll-container{border-color:var(--theme-border)!important;background:var(--theme-surface)!important}html[data-theme=dark] input[type=date]::-webkit-calendar-picker-indicator{filter:invert(.8);opacity:.85}html[data-theme=dark] input[type=month]::-webkit-calendar-picker-indicator{filter:invert(.8);opacity:.85}html[data-theme=dark] input[type=datetime-local]::-webkit-calendar-picker-indicator{filter:invert(.8);opacity:.85}.cancellation-inventory-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-top:16px;padding:18px;box-shadow:0 1px 2px #0000000d}.cancellation-inventory-heading h2{margin:0;font-size:17px}.cancellation-inventory-heading p{color:#64748b;margin:5px 0 14px;font-size:13px}.cancellation-inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.cancellation-summary-card{text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #e1e7ef;border-radius:8px;padding:13px 15px}.cancellation-summary-card span{color:#64748b;font-size:12px;font-weight:700;display:block}.cancellation-summary-card strong{color:#172033;margin-top:4px;font-size:18px;display:block}.cancellation-summary-card.active{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.cancellation-inventory-table td small{color:#64748b;margin-top:3px;display:block}.cancellation-inventory-table{min-width:1740px;font-size:12px}.cancellation-inventory-table th,.cancellation-inventory-table td{vertical-align:middle;padding:12px 10px}.cancellation-inventory-table .ledger-sku-line{min-width:130px}.cancellation-inventory-table .ledger-sku-line>span{white-space:nowrap}.cancellation-inventory-table th:first-child{width:145px}.cancellation-inventory-table th:nth-child(2){width:165px}.cancellation-inventory-table th:nth-child(3){width:54px}.cancellation-inventory-table th:nth-child(4){width:150px}.cancellation-inventory-table th:nth-child(5){width:300px}.cancellation-inventory-table th:nth-child(6){width:185px}.cancellation-inventory-table th:nth-child(7){width:55px}.cancellation-inventory-table th:nth-child(8){width:185px}.cancellation-inventory-table th:nth-child(9){width:125px}.cancellation-inventory-table th:nth-child(10){width:270px}.cancellation-inventory-table th:nth-child(11){width:105px}.cancellation-item-lines{gap:5px;display:grid}.cancellation-item-lines>div{align-items:center;min-height:26px;line-height:1.35;display:flex}.cancellation-order-link{appearance:none;color:#172033;font:inherit;white-space:nowrap;border-radius:0;outline:0;margin:0;padding:0;font-weight:800;line-height:1.35;text-decoration:none;box-shadow:none!important;background:0 0!important;border:0!important}.cancellation-order-link:hover{color:#1677ff;text-decoration:none;background:0 0!important}.cancellation-order-link:focus-visible{outline-offset:2px;border-radius:3px;outline:2px solid #60a5fa}.ledger-sku-line{align-items:center;gap:5px;min-width:90px;display:flex}.cancellation-decision{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.cancellation-decision.auto_restored,.cancellation-decision.restored_manually{color:#15803d;background:#ecfdf3}.cancellation-decision.restore_pending{color:#b45309;background:#fff7e6}.cancellation-decision.do_not_restore{color:#64748b;background:#f1f5f9}.payout-balance-panel{background:linear-gradient(135deg,#f9fbff 0%,#fff 48%,#f8fbff 100%);border:1px solid #dfe8f5;border-radius:12px;margin-bottom:20px;overflow:hidden;box-shadow:0 8px 24px #2e5ba214}.payout-balance-summary-row{grid-template-columns:minmax(300px,.8fr) minmax(0,2.2fr) auto;align-items:center;gap:22px;padding:17px 20px;display:grid}.payout-balance-title-wrap{gap:5px;min-width:0;display:grid}.payout-balance-title-line{align-items:center;gap:10px;display:flex}.payout-balance-icon{color:#fff;background:linear-gradient(135deg,#2c7cf5,#5ca8ff);border-radius:9px;flex:none;place-items:center;width:31px;height:31px;font-size:17px;font-weight:900;display:inline-grid;box-shadow:0 5px 12px #2c7cf538}.payout-balance-title-wrap h2{color:#172033;margin:0;font-size:16px}.payout-balance-title-wrap p,.payout-balance-updated{color:#6c7889;margin:0;font-size:12px}.payout-balance-updated{padding-left:41px;font-size:11px}.payout-balance-totals{background:#ffffffd9;border:1px solid #e3eaf5;border-radius:9px;align-items:stretch;width:100%;min-width:0;display:flex}.payout-balance-local-totals,.payout-balance-total{border-left:1px solid #edf0f5;flex:1;align-content:center;gap:6px;min-width:0;padding:9px 15px;display:grid}.payout-balance-local-totals{border-left:0;flex:1.7}.payout-balance-local-totals>span,.payout-balance-total>span,.payout-balance-shop-values span{color:#7b8797;font-size:11px;font-weight:700}.payout-balance-local-totals>div{flex-wrap:wrap;gap:5px 10px;display:flex}.payout-balance-currency-total,.payout-balance-empty-total{color:#334155;white-space:nowrap;font-size:12px;font-weight:800}.payout-balance-total strong{color:#172033;letter-spacing:-.3px;font-size:18px}.payout-balance-usd-total strong{color:#2563eb}.payout-balance-actions{flex:none;gap:8px;display:flex}.payout-balance-toggle{color:#315987;cursor:pointer;background:#f6f9fd;border:1px solid #d6e1f0;border-radius:7px;min-height:36px;padding:0 11px;font-size:12px;font-weight:800}.payout-balance-toggle:hover{background:#edf5ff;border-color:#93b4df}.payout-balance-state,.payout-balance-notice{color:#6c7889;margin:0 16px 14px;font-size:12px}.payout-balance-notice{color:#9a6700;background:#fff9e8;border-radius:6px;padding:8px 10px}.payout-balance-notice.error,.payout-balance-shop-error{color:#b42318;background:#fff1f0}.payout-balance-shop-list{background:#f7faff;border-top:1px solid #e6edf6;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:13px;padding:15px 20px 20px;display:grid}.payout-balance-shop{background:#fff;border:1px solid #e1e9f4;border-radius:10px;padding:14px;transition:transform .16s,box-shadow .16s,border-color .16s;box-shadow:0 2px 6px #2447790a}.payout-balance-shop:hover{border-color:#bcd4f6;transform:translateY(-2px);box-shadow:0 8px 18px #2d5ea01a}.payout-balance-shop-heading{color:#172033;justify-content:space-between;align-items:center;gap:10px;display:flex}.payout-balance-shop-heading>div{align-items:center;gap:7px;min-width:0;display:flex}.payout-balance-shop-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.payout-balance-region{color:#2563eb;background:#eef4ff;border-radius:5px;flex:none;justify-content:center;align-items:center;min-width:27px;height:21px;font-size:10px;font-weight:900;display:inline-flex}.payout-balance-region.region-my{color:#b7791f;background:#fff6df}.payout-balance-region.region-ph{color:#208044;background:#eef9ef}.payout-balance-region.region-tw{color:#7954b8;background:#f6efff}.payout-balance-shop-currency{color:#6c7889;font-size:11px;font-weight:800}.payout-balance-shop-values{grid-template-columns:1.25fr repeat(2,minmax(0,.9fr));gap:7px;margin-top:14px;display:grid}.payout-balance-shop-values div{background:#f7f9fc;border-radius:7px;align-content:center;gap:4px;min-width:0;padding:8px;display:grid}.payout-balance-shop-values .payout-balance-local-value{background:linear-gradient(135deg,#edf5ff,#f6faff)}.payout-balance-shop-values strong{color:#172033;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.payout-balance-shop-values .payout-balance-local-value strong{color:#1d5fc0;font-size:14px}.payout-balance-shop-error,.payout-balance-shop-empty{border-radius:4px;margin:10px 0 0;padding:6px 7px;font-size:11px}.payout-balance-shop-empty{color:#6c7889;background:#f1f5f9}@media (width<=1500px){.payout-balance-summary-row{grid-template-columns:minmax(250px,.7fr) minmax(0,2fr);gap:14px}.payout-balance-actions{grid-column:1/-1;justify-content:flex-end}}@media (width<=1050px){.payout-balance-summary-row{grid-template-columns:1fr auto}.payout-balance-totals{grid-column:1/-1;width:100%}}@media (width<=640px){.payout-balance-summary-row{flex-direction:column;align-items:stretch;gap:12px;padding:14px;display:flex}.payout-balance-totals{grid-template-columns:1fr 1fr;display:grid}.payout-balance-local-totals{grid-column:1/-1;min-width:0}.payout-balance-total,.payout-balance-local-totals{border-top:1px solid #edf0f5;border-left:0}.payout-balance-local-totals{border-top:0}.payout-balance-actions{justify-content:flex-end}.payout-balance-shop-list{padding:13px}}html[data-theme=dark] .order-management-page .order-management-filters,html[data-theme=dark] .order-management-page .order-management-table-wrap,html[data-theme=dark] .order-management-page .table-state,html[data-theme=dark] .order-management-page .stat-card,html[data-theme=dark] .ledger-page .summary-card,html[data-theme=dark] .ledger-page .filters,html[data-theme=dark] .ledger-page .ledger-table-wrap,html[data-theme=dark] .ledger-page .table-state,html[data-theme=dark] .inventory-page .inventory-stat-card,html[data-theme=dark] .inventory-page .inventory-summary-section,html[data-theme=dark] .inventory-page .inventory-filters,html[data-theme=dark] .inventory-page .today-order-inventory,html[data-theme=dark] .inventory-page .today-order-table-wrap,html[data-theme=dark] .inventory-page .inventory-table-wrap,html[data-theme=dark] .inventory-page .inventory-history-wrap,html[data-theme=dark] .inventory-page .cancellation-inventory-panel,html[data-theme=dark] .inventory-page .table-state,html[data-theme=dark] .inventory-page .receipt-sync-panel,html[data-theme=dark] .product-capture-page .product-capture-bookmarklet-panel,html[data-theme=dark] .product-capture-page .product-capture-paste-panel,html[data-theme=dark] .product-capture-page .product-capture-reference-panel,html[data-theme=dark] .product-capture-page .product-capture-result-wrap{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .inventory-page .inventory-summary-meta strong{color:var(--theme-text-strong)}html[data-theme=dark] .inventory-page .inventory-summary-meta>div span{color:var(--theme-text-muted)}html[data-theme=dark] .inventory-page .inventory-refresh-note{border-color:var(--theme-border-soft);background:var(--theme-surface-soft);color:var(--theme-text-muted)}html[data-theme=dark] .inventory-page .cancellation-summary-card{border-color:var(--theme-border);background:var(--theme-surface-soft)}html[data-theme=dark] .inventory-page .cancellation-summary-card strong{color:var(--theme-text-strong)}html[data-theme=dark] .inventory-page .cancellation-inventory-heading p,html[data-theme=dark] .inventory-page .cancellation-inventory-table td small{color:var(--theme-text-muted)}html[data-theme=dark] .inventory-page .cancellation-decision.do_not_restore{color:#cbd5e1;background:#26364a}html[data-theme=dark] .inventory-page .cancellation-decision.restore_pending{color:#f8d477;background:#49330e}html[data-theme=dark] .inventory-page .cancellation-decision.auto_restored,html[data-theme=dark] .inventory-page .cancellation-decision.restored_manually{color:#92e6b8;background:#123b2b}html[data-theme=dark] .ledger-page .payout-balance-panel,html[data-theme=dark] .ledger-page .payout-balance-shop{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .ledger-page .payout-balance-totals{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important}html[data-theme=dark] .ledger-page .payout-balance-shop-list{border-color:var(--theme-border)!important;background:#0b1627!important}html[data-theme=dark] .ledger-page .payout-balance-shop-values div{background:#14233a!important}html[data-theme=dark] .ledger-page .payout-balance-shop-values .payout-balance-local-value{background:linear-gradient(135deg,#102d55,#132845)!important}html[data-theme=dark] .ledger-page .payout-balance-local-value strong{color:#8fc1ff!important}html[data-theme=dark] .ledger-page .payout-balance-title-wrap h2,html[data-theme=dark] .ledger-page .payout-balance-total strong,html[data-theme=dark] .ledger-page .payout-balance-currency-total,html[data-theme=dark] .ledger-page .payout-balance-shop-heading,html[data-theme=dark] .ledger-page .payout-balance-shop-values strong{color:var(--theme-text-strong)!important}html[data-theme=dark] .ledger-page .payout-balance-local-totals,html[data-theme=dark] .ledger-page .payout-balance-total,html[data-theme=dark] .ledger-page .payout-balance-shop-list{border-color:var(--theme-border-soft)!important}html[data-theme=dark] .ledger-page .payout-balance-title-wrap p,html[data-theme=dark] .ledger-page .payout-balance-updated,html[data-theme=dark] .ledger-page .payout-balance-local-totals>span,html[data-theme=dark] .ledger-page .payout-balance-total>span,html[data-theme=dark] .ledger-page .payout-balance-shop-values span,html[data-theme=dark] .ledger-page .payout-balance-shop-currency,html[data-theme=dark] .ledger-page .payout-balance-state{color:var(--theme-text-muted)!important}html[data-theme=dark] .ledger-page .payout-balance-toggle{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .ledger-page .payout-balance-toggle:hover{background:var(--theme-surface-hover)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .ledger-page .payout-balance-notice{color:#f8d477!important;background:#3a2b0b!important}html[data-theme=dark] .ledger-page .payout-balance-notice.error,html[data-theme=dark] .ledger-page .payout-balance-shop-error{color:#f3aaaa!important;background:#3a1717!important}html[data-theme=dark] .ledger-page .payout-balance-shop-empty{background:var(--theme-surface-soft)!important;color:var(--theme-text-muted)!important}html[data-theme=dark] .order-management-page .ghost-button,html[data-theme=dark] .ledger-page .ghost-button,html[data-theme=dark] .ledger-page .ledger-settlement-filter button,html[data-theme=dark] .inventory-page .ghost-button,html[data-theme=dark] .inventory-page .invoice-btn,html[data-theme=dark] .inventory-page .inventory-tabs button,html[data-theme=dark] .product-capture-page .action-btn{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .order-management-page .ghost-button:hover,html[data-theme=dark] .ledger-page .ghost-button:hover,html[data-theme=dark] .ledger-page .ledger-settlement-filter button:hover,html[data-theme=dark] .inventory-page .ghost-button:hover,html[data-theme=dark] .inventory-page .invoice-btn:hover,html[data-theme=dark] .inventory-page .inventory-tabs button:hover,html[data-theme=dark] .product-capture-page .action-btn:hover{background:var(--theme-surface-hover)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .ledger-page .ledger-settlement-filter button.active,html[data-theme=dark] .inventory-page .inventory-tabs button.active{background:var(--theme-primary-soft)!important;color:#93c5fd!important;border-color:#3b82f6!important}html[data-theme=dark] .inventory-page .inventory-tabs span{color:#dbeafe;opacity:1;background:#203b63;border-color:#365b8e}html[data-theme=dark] .inventory-page .inventory-tabs button.active span{color:#1d4ed8;background:#dbeafe;border-color:#60a5fa}html[data-theme=dark] .inventory-page .cancellation-order-link{box-shadow:none!important;color:#f1f5f9!important;background:0 0!important;border:0!important}html[data-theme=dark] .inventory-page .cancellation-order-link:hover{color:#60a5fa!important;background:0 0!important}html[data-theme=dark] .product-capture-page .product-capture-result-table th{border-color:var(--theme-border)!important;color:#c9d6e6!important;background:#17243a!important}html[data-theme=dark] .product-capture-page .product-capture-result-table td{border-color:var(--theme-border-soft)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .order-management-page .date-range-field .ant-picker,html[data-theme=dark] .ledger-page .date-range-field .ant-picker{border-color:var(--theme-input-border)!important;background:var(--theme-input-bg)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .order-management-page .date-range-field .ant-picker-input,html[data-theme=dark] .order-management-page .date-range-field .ant-picker-input input,html[data-theme=dark] .order-management-page .date-range-field .ant-picker-separator,html[data-theme=dark] .order-management-page .date-range-field .ant-picker-suffix,html[data-theme=dark] .order-management-page .date-range-field .ant-picker-clear,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-input,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-input input,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-separator,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-suffix,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-clear{color:var(--theme-text-strong)!important;box-shadow:none!important;background:0 0!important;border:0!important}html[data-theme=dark] .order-management-page .date-range-field .ant-picker-input input,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-input input{-webkit-text-fill-color:var(--theme-text-strong);min-height:0;padding:0}html[data-theme=dark] .order-management-page .date-range-field .ant-picker-suffix svg,html[data-theme=dark] .ledger-page .date-range-field .ant-picker-suffix svg{fill:currentColor}html[data-theme=dark] .order-management-page .quick-date-trigger,html[data-theme=dark] .ledger-page .quick-date-trigger{border-color:var(--theme-input-border);background:var(--theme-input-bg);color:var(--theme-text-strong)}html[data-theme=dark] .order-management-page .quick-date-trigger:hover,html[data-theme=dark] .order-management-page .quick-date-trigger.active,html[data-theme=dark] .ledger-page .quick-date-trigger:hover,html[data-theme=dark] .ledger-page .quick-date-trigger.active{color:#f8fbff;background:#172b49;border-color:#3b82f6}html[data-theme=dark] .order-management-page .quick-date-popover,html[data-theme=dark] .ledger-page .quick-date-popover{border-color:var(--theme-border);background:#0f1b2d;box-shadow:0 22px 55px #00000061}html[data-theme=dark] .order-management-page .quick-date-popover:before,html[data-theme=dark] .ledger-page .quick-date-popover:before{border-color:var(--theme-border)}html[data-theme=dark] .order-management-page .quick-date-header,html[data-theme=dark] .ledger-page .quick-date-header{border-color:var(--theme-border-soft)}html[data-theme=dark] .order-management-page .quick-date-header strong,html[data-theme=dark] .ledger-page .quick-date-header strong{color:var(--theme-text-strong)}html[data-theme=dark] .order-management-page .quick-date-year,html[data-theme=dark] .ledger-page .quick-date-year{background:#122038;border-color:#2f4361}html[data-theme=dark] .order-management-page .quick-date-year button,html[data-theme=dark] .ledger-page .quick-date-year button{color:#b7c7db}html[data-theme=dark] .order-management-page .quick-date-year button:hover,html[data-theme=dark] .ledger-page .quick-date-year button:hover{color:#fff;background:#1b3354}html[data-theme=dark] .order-management-page .quick-date-year span,html[data-theme=dark] .ledger-page .quick-date-year span,html[data-theme=dark] .order-management-page .quick-date-section>span,html[data-theme=dark] .ledger-page .quick-date-section>span{color:var(--theme-text-muted)}html[data-theme=dark] .order-management-page .quick-date-grid button,html[data-theme=dark] .ledger-page .quick-date-grid button{color:#d7e3f2;background:#122038;border-color:#2f4361}html[data-theme=dark] .order-management-page .quick-date-grid button:hover,html[data-theme=dark] .ledger-page .quick-date-grid button:hover{color:#f8fbff;background:#172b49;border-color:#3b82f6}html[data-theme=dark] .order-management-page .quick-date-grid button.active,html[data-theme=dark] .ledger-page .quick-date-grid button.active{color:#fff;background:#1684ff;border-color:#1684ff;box-shadow:0 8px 18px #1684ff47}html[data-theme=dark] .inventory-page .today-order-toolbar{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .inventory-page .today-order-toolbar strong{color:var(--theme-text-strong)!important}html[data-theme=dark] .inventory-page .today-order-toolbar p{color:var(--theme-text-muted)!important}html[data-theme=dark] .order-management-page .action-btn:not(.primary),html[data-theme=dark] .ledger-page .ghost-button{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .order-management-page .action-btn:not(.primary):hover,html[data-theme=dark] .ledger-page .ghost-button:hover{background:var(--theme-surface-hover)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .receipt-page .receipt-tabs{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important}html[data-theme=dark] .receipt-page .receipt-tabs button{color:var(--theme-text-muted)!important;background:0 0!important}html[data-theme=dark] .receipt-page .receipt-tabs button.active{background:var(--theme-primary-soft)!important;color:#93c5fd!important}html[data-theme=dark] .receipt-page .receipt-mini-stats div,html[data-theme=dark] .receipt-page .composition-editor{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important}html[data-theme=dark] .receipt-page .receipt-mini-stats span,html[data-theme=dark] .receipt-page .composition-editor-title span{color:var(--theme-text-muted)!important}html[data-theme=dark] .receipt-page .receipt-mini-stats strong,html[data-theme=dark] .receipt-page .composition-editor-title strong{color:var(--theme-text-strong)!important}html[data-theme=dark] .settings-page .fixed-sheet-names strong{background:var(--theme-primary-soft)!important;color:#93c5fd!important}html[data-theme=dark] .inventory-page .action-btn{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=dark] .inventory-page .action-btn:hover{background:var(--theme-surface-hover)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .receipt-page .receipt-option-image-button{color:var(--theme-text)!important;-webkit-text-decoration-color:var(--theme-border)!important;text-decoration-color:var(--theme-border)!important}html[data-theme=dark] .receipt-page .receipt-option-image-button:hover{color:#93c5fd!important;text-decoration-color:#60a5fa!important}html[data-theme=dark] .order-settlement-modal .payment-order-top-card{border-color:var(--theme-border)!important;background:var(--theme-surface-soft)!important}html[data-theme=dark] .order-settlement-modal .payment-order-top-label{color:var(--theme-text-muted)!important}html[data-theme=dark] .order-settlement-modal .payment-order-top-value{color:var(--theme-text-strong)!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-container,html[data-theme=dark] .ant-picker-dropdown .ant-picker-panel,html[data-theme=dark] .ant-picker-dropdown .ant-picker-date-panel,html[data-theme=dark] .ant-picker-dropdown .ant-picker-month-panel,html[data-theme=dark] .ant-picker-dropdown .ant-picker-year-panel,html[data-theme=dark] .ant-picker-dropdown .ant-picker-decade-panel{border-color:var(--theme-border)!important;background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-header,html[data-theme=dark] .ant-picker-dropdown .ant-picker-header-view,html[data-theme=dark] .ant-picker-dropdown .ant-picker-content th,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-view,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-view .ant-picker-cell-inner,html[data-theme=dark] .ant-picker-dropdown .ant-picker-header button{color:var(--theme-text-strong)!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-header,html[data-theme=dark] .ant-picker-dropdown .ant-picker-panel-layout,html[data-theme=dark] .ant-picker-dropdown .ant-picker-date-panel+.ant-picker-date-panel{border-color:var(--theme-border)!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell:not(.ant-picker-cell-in-view){color:#718096!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-disabled:before,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-disabled .ant-picker-cell-inner{color:#627086!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-disabled:before,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-range:before,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-range-hover:before{background:0 0!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-range .ant-picker-cell-inner,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-range-hover .ant-picker-cell-inner{color:#e5e7eb!important;background:#17345b!important;border-radius:0!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell:hover:not(.ant-picker-cell-disabled) .ant-picker-cell-inner,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner{color:#dbeafe!important;background:#1b365b!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-selected .ant-picker-cell-inner,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-start .ant-picker-cell-inner,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-end .ant-picker-cell-inner{color:#fff!important;background:#2563eb!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-start:before,html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-end:before{background:0 0!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-start .ant-picker-cell-inner{box-shadow:inset 2px 0 #e5e7eb!important}html[data-theme=dark] .ant-picker-dropdown .ant-picker-cell-range-end .ant-picker-cell-inner{box-shadow:inset -2px 0 #e5e7eb!important}.settings-page .settings-section{border-radius:14px;margin-bottom:18px;padding:22px 24px;box-shadow:0 4px 14px #0f172a09}.settings-section-heading,.settings-page .settings-section .section-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.settings-section-heading{margin-bottom:18px}.settings-section-heading h2,.settings-page .settings-section .section-header h2{margin-bottom:5px}.settings-eyebrow,.settings-group-heading>span{color:#2563eb;letter-spacing:.12em;margin-bottom:5px;font-size:10px;font-weight:800;display:block}.settings-group-heading{margin:28px 2px 12px}.settings-group-heading h2{color:#172033;margin:0 0 4px;font-size:19px}.settings-group-heading p{color:#64748b;margin:0;font-size:13px}.settings-state-chip,.settings-count{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:999px;align-items:center;min-height:28px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.settings-count{vertical-align:2px;min-height:22px;margin-left:5px;padding:2px 8px}.settings-page .settings-help-text{color:#64748b;margin:0;line-height:1.55}.settings-page .token-status.compact{color:#64748b;justify-content:flex-end;margin:0;font-size:12px}.settings-table-wrap{border:1px solid #e2e8f0;border-radius:10px;width:100%;overflow-x:auto}.settings-table-wrap .shop-table th{background:#f8fafc}.settings-table-wrap .shop-table tr:last-child td{border-bottom:0}.settings-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.settings-tools-grid .settings-section{margin:0}.member-settings .settings-tools-grid{grid-template-columns:1fr}.settings-tool-card{flex-direction:column;min-height:176px;display:flex}.settings-tool-card h2{margin-bottom:8px;font-size:16px}.settings-tool-card>p{min-height:42px;margin:0 0 14px;line-height:1.55}.settings-tool-card>.btn{align-self:flex-start;margin-top:auto}.server-storage-card{flex-direction:column;grid-column:1/-1;gap:14px;min-height:0;display:flex}.server-storage-heading,.server-storage-actions,.server-storage-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.server-storage-heading h2,.server-storage-heading p{margin:0}.server-storage-heading p{color:var(--theme-text-muted,#64748b);margin-top:4px;font-size:13px}.server-storage-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.server-storage-summary>div{border:1px solid var(--theme-border,#e2e8f0);background:var(--theme-surface-soft,#f8fafc);border-radius:10px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}.server-storage-summary span,.server-storage-meta,.server-storage-actions small{color:var(--theme-text-muted,#64748b);font-size:12px}.server-storage-summary strong{color:var(--theme-text-strong,#0f172a);font-size:18px}.server-storage-summary .cleanup-amount{color:#0f9f6e}.server-storage-meter{background:var(--theme-surface-soft,#e2e8f0);border-radius:999px;height:9px;overflow:hidden}.server-storage-meter span{border-radius:inherit;background:linear-gradient(90deg,#2563eb,#7c3aed);height:100%;display:block}.server-storage-meta{flex-wrap:wrap;justify-content:flex-start}.server-storage-actions{justify-content:flex-start}.operations-panel{gap:16px;display:grid}.operations-heading,.operations-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.operations-heading h2,.operations-heading p,.operations-alerts h3,.operations-failures h3{margin:0}.operations-heading p{color:var(--theme-text-muted,#64748b);margin-top:5px}.operations-summary{grid-template-columns:repeat(6,minmax(145px,1fr));gap:10px;display:grid}.operations-summary>div,.operations-alert,.operations-failures>div,.operations-ok{border:1px solid var(--theme-border,#e2e8f0);background:var(--theme-surface-soft,#f8fafc);border-radius:10px;padding:12px}.operations-summary span,.operations-summary small,.operations-alert span,.operations-alert small,.operations-failures small{color:var(--theme-text-muted,#64748b);display:block}.operations-summary strong{margin:6px 0;font-size:17px;display:block}.operations-alerts,.operations-failures{gap:8px;display:grid}.operations-alert{grid-template-columns:minmax(180px,.8fr) minmax(260px,2fr) auto;align-items:center;gap:10px;display:grid}.operations-alert.critical{border-color:#ef4444}.operations-alert.warning{border-color:#f59e0b}.operations-failures>div{grid-template-columns:minmax(230px,.7fr) minmax(280px,2fr) auto;align-items:center;gap:10px;display:grid}.metric-danger{color:#dc2626}.metric-warning{color:#d97706}html[data-theme=dark] .metric-danger{color:#f87171}html[data-theme=dark] .metric-warning{color:#fbbf24}@media (width<=1280px){.operations-summary{grid-template-columns:repeat(3,minmax(145px,1fr))}}@media (width<=720px){.operations-summary{grid-template-columns:1fr 1fr}.operations-alert,.operations-failures>div{grid-template-columns:1fr}}html[data-theme=dark] .settings-group-heading h2,html[data-theme=dark] .settings-section-heading h2{color:var(--theme-text-strong)!important}html[data-theme=dark] .settings-group-heading p,html[data-theme=dark] .settings-page .token-status.compact{color:var(--theme-text-muted)!important}html[data-theme=dark] .settings-state-chip,html[data-theme=dark] .settings-count{background:var(--theme-primary-soft)!important;color:#93c5fd!important}html[data-theme=dark] .settings-table-wrap{border-color:var(--theme-border)!important}html[data-theme=dark] .settings-table-wrap .shop-table th{background:var(--theme-surface-soft)!important}@media (width<=1100px){.settings-tools-grid{grid-template-columns:1fr}.settings-tool-card{min-height:0}}@media (width<=720px){.settings-section-heading,.settings-page .settings-section .section-header{flex-direction:column}.settings-page .settings-grid{grid-template-columns:1fr}.server-storage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.server-storage-heading,.server-storage-actions{flex-direction:column;align-items:flex-start}.settings-page .token-status.compact{justify-content:flex-start}}.payout-forecast{background:#fff;border-top:1px solid #e6edf6;padding:16px 20px}.payout-forecast-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px;display:flex}.payout-forecast-heading h3{color:#172033;margin:0;font-size:14px}.payout-forecast-heading p,.payout-forecast-heading>span{color:#6c7889;margin:4px 0 0;font-size:11px}.payout-forecast-heading>span{text-align:right;max-width:430px}.payout-forecast-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.payout-forecast-card{background:linear-gradient(135deg,#f7fbff,#fff);border:1px solid #dfe8f5;border-radius:9px;padding:14px 15px}.payout-forecast-card-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.payout-forecast-card-heading span{color:#315987;font-size:12px;font-weight:800}.payout-forecast-card-heading small,.payout-forecast-card p{color:#78879a;font-size:11px}.payout-forecast-card strong{color:#172033;letter-spacing:-.4px;margin-top:8px;font-size:21px;display:block}.payout-forecast-card p{margin:5px 0 0}html[data-theme=dark] .ledger-page .payout-forecast{background:#101d31;border-color:#263955}html[data-theme=dark] .ledger-page .payout-forecast-heading h3,html[data-theme=dark] .ledger-page .payout-forecast-card strong{color:#f1f5f9}html[data-theme=dark] .ledger-page .payout-forecast-heading p,html[data-theme=dark] .ledger-page .payout-forecast-heading>span,html[data-theme=dark] .ledger-page .payout-forecast-card-heading small,html[data-theme=dark] .ledger-page .payout-forecast-card p{color:#9eb0c7}html[data-theme=dark] .ledger-page .payout-forecast-card{background:linear-gradient(135deg,#16263d,#111e31);border-color:#2a405f}html[data-theme=dark] .ledger-page .payout-forecast-card-heading span{color:#8fc0ff}@media (width<=720px){.payout-forecast-heading{flex-direction:column;align-items:start}.payout-forecast-heading>span{text-align:left;max-width:none}.payout-forecast-grid{grid-template-columns:1fr}}.payout-forecast-shop-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.payout-forecast-shop{background:#ffffffb8;border:1px solid #e3eaf5;border-radius:7px;min-width:0;padding:9px}.payout-forecast-shop-heading{align-items:center;gap:5px;min-width:0;display:flex}.payout-forecast-shop-heading strong{color:#334155;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;overflow:hidden}.payout-forecast-shop-heading small{color:#7b8797;white-space:nowrap;margin-left:auto;font-size:10px}.payout-forecast-shop-values{grid-template-columns:1.2fr repeat(2,minmax(0,.9fr));gap:4px;margin-top:8px;display:grid}.payout-forecast-shop-values div{background:#f4f7fb;border-radius:5px;min-width:0;padding:5px}.payout-forecast-shop-values span,.payout-forecast-shop-values b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.payout-forecast-shop-values span{color:#7b8797;font-size:9px;font-weight:700}.payout-forecast-shop-values b{color:#334155;margin-top:2px;font-size:10px}html[data-theme=dark] .ledger-page .payout-forecast-shop{background:#13233a;border-color:#29425f}html[data-theme=dark] .ledger-page .payout-forecast-shop-heading strong,html[data-theme=dark] .ledger-page .payout-forecast-shop-values b{color:#e5edf8}html[data-theme=dark] .ledger-page .payout-forecast-shop-heading small,html[data-theme=dark] .ledger-page .payout-forecast-shop-values span{color:#91a5c0}html[data-theme=dark] .ledger-page .payout-forecast-shop-values div{background:#0f1d31}@media (width<=1200px){.payout-forecast-shop-list{grid-template-columns:1fr}}html[data-theme=dark] .ant-picker-dropdown .ant-picker-footer,html[data-theme=dark] .ant-picker-dropdown .ant-picker-ranges{border-color:var(--theme-border)!important;background:var(--theme-surface)!important}.product-analytics-page{--pa-bg:#f4f7fb;--pa-card:#fff;--pa-text:#172033;--pa-muted:#6b778c;--pa-line:#dfe6ef;--pa-soft:#f7f9fc;--pa-blue:#2563eb;background:var(--pa-bg);min-height:100%;color:var(--pa-text);padding:24px}.pa-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.pa-header h1{letter-spacing:-.7px;margin:4px 0 5px;font-size:27px}.pa-header p,.pa-panel-title p,.pa-chart p{color:var(--pa-muted);margin:0;font-size:12px}.pa-eyebrow{color:var(--pa-blue);letter-spacing:1.2px;font-size:10px;font-weight:900}.pa-period{border:1px solid var(--pa-line);background:var(--pa-card);color:var(--pa-muted);border-radius:8px;padding:8px 11px;font-size:11px;font-weight:700}.pa-toolbar{border:1px solid var(--pa-line);background:var(--pa-card);border-radius:11px;align-items:end;gap:8px;padding:13px;display:flex;box-shadow:0 3px 12px #0f172a09}.pa-toolbar label{color:var(--pa-muted);gap:5px;font-size:10px;font-weight:800;display:grid}.pa-toolbar input,.pa-toolbar select,.pa-toolbar button{box-sizing:border-box;border:1px solid var(--pa-line);background:var(--pa-card);height:34px;color:var(--pa-text);font:inherit;border-radius:7px;padding:0 10px}.pa-toolbar button{cursor:pointer;font-size:11px;font-weight:800}.pa-toolbar .pa-primary{border-color:var(--pa-blue);background:var(--pa-blue);color:#fff}.pa-search{flex:1;min-width:180px}.pa-search input{width:100%}.pa-alert{color:#8b5a00;background:#fff9e9;border:1px solid #f5c36b;border-radius:8px;align-items:center;gap:12px;margin-top:12px;padding:10px 13px;font-size:11px;display:flex}.pa-alert.error{color:#b42318;background:#fff0f0;border-color:#f0a3a3}.pa-kpis{grid-template-columns:repeat(8,minmax(120px,1fr));gap:9px;margin:14px 0;display:grid}.pa-kpis article{border:1px solid var(--pa-line);background:var(--pa-card);border-radius:10px;min-width:0;padding:14px;box-shadow:0 3px 12px #0f172a08}.pa-kpis article.accent{background:linear-gradient(145deg,#eff6ff,#fff);border-color:#9dbcfb}.pa-kpis span,.pa-kpis small{color:var(--pa-muted);font-size:10px;display:block}.pa-kpis strong{letter-spacing:-.4px;text-overflow:ellipsis;white-space:nowrap;margin:8px 0 5px;font-size:18px;display:block;overflow:hidden}.pa-tabs{border-bottom:1px solid var(--pa-line);gap:4px;margin:19px 0 10px;display:flex}.pa-tabs button{color:var(--pa-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 16px;font-size:12px;font-weight:800}.pa-tabs button.active{border-bottom-color:var(--pa-blue);color:var(--pa-blue)}.pa-panel{border:1px solid var(--pa-line);background:var(--pa-card);border-radius:11px;margin-bottom:14px;overflow:hidden;box-shadow:0 4px 16px #0f172a09}.pa-panel-title{border-bottom:1px solid var(--pa-line);justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;display:flex}.pa-panel h2{margin:0 0 4px;font-size:15px}.pa-panel-title>span{color:var(--pa-muted);font-size:11px}.pa-chart{padding:16px}.pa-chart>div:first-child{margin-bottom:12px}.pa-table-wrap{overflow:auto}.pa-table-wrap table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:11px}.pa-table-wrap th{border-bottom:1px solid var(--pa-line);background:var(--pa-soft);color:var(--pa-muted);text-align:right;padding:10px;font-size:10px}.pa-table-wrap th:first-child,.pa-table-wrap th:nth-child(2){text-align:left}.pa-table-wrap td{border-bottom:1px solid var(--pa-line);text-align:right;padding:9px 10px}.pa-table-wrap td:first-child,.pa-table-wrap td:nth-child(2){text-align:left}.pa-table-wrap tbody tr{cursor:pointer;transition:background .15s}.pa-table-wrap tbody tr:hover{background:#f5f8ff}.pa-product{white-space:normal;align-items:center;gap:9px;min-width:260px;max-width:410px;display:flex}.pa-product img,.pa-no-image{object-fit:cover;background:var(--pa-soft);border-radius:7px;flex:0 0 38px;width:38px;height:38px}.pa-no-image{color:var(--pa-muted);place-items:center;font-size:7px;display:grid}.pa-product b,.pa-product small{text-overflow:ellipsis;white-space:nowrap;max-width:340px;display:block;overflow:hidden}.pa-product small{color:var(--pa-muted);margin-top:3px}.pa-table-wrap code{color:var(--pa-text);font:700 10px/1.2 ui-monospace,monospace}.pa-tags{justify-content:flex-end;gap:4px;display:flex}.pa-tags span{color:#2457a6;background:#eaf2ff;border-radius:4px;padding:3px 5px;font-weight:800}.positive{color:#087443;font-weight:800}.negative{color:#c32b2b;font-weight:800}.pa-table-wrap em{color:#b26a00;font-style:normal}.pa-empty{color:var(--pa-muted);text-align:center!important;padding:40px!important}.pa-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#080f1c94;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.pa-detail{box-sizing:border-box;border:1px solid var(--pa-line);background:var(--pa-card);border-radius:14px;width:min(900px,95vw);max-height:88vh;padding:22px;position:relative;overflow:auto;box-shadow:0 24px 80px #00000047}.pa-detail h2{margin:5px 0}.pa-detail>p{color:var(--pa-muted);margin:0 0 20px}.pa-detail h3{margin:22px 0 9px;font-size:13px}.pa-close{border:1px solid var(--pa-line);background:var(--pa-soft);width:32px;height:32px;color:var(--pa-text);cursor:pointer;border-radius:50%;font-size:21px;position:absolute;top:13px;right:14px}.pa-country-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;display:grid}.pa-country-grid article{border:1px solid var(--pa-line);background:var(--pa-soft);border-radius:8px;gap:6px;padding:12px;display:grid}.pa-country-grid article>b{color:var(--pa-blue)}.pa-country-grid span{color:var(--pa-muted);font-size:10px}.pa-country-grid span strong{color:var(--pa-text)}.pa-table-wrap.small{border:1px solid var(--pa-line);border-radius:8px;max-height:300px}html[data-theme=dark] .product-analytics-page{--pa-bg:#0b1320;--pa-card:#111e31;--pa-text:#e8eef7;--pa-muted:#94a6bd;--pa-line:#263a55;--pa-soft:#15243a}.product-analytics-page html[data-theme=dark] input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] .pa-kpis article.accent{background:linear-gradient(145deg,#152c4d,#111e31);border-color:#315d9b}html[data-theme=dark] .pa-alert{color:#f2cb77;background:#2d2615;border-color:#665127}html[data-theme=dark] .pa-alert.error{color:#f6a5a5;background:#321b20;border-color:#713737}html[data-theme=dark] .pa-table-wrap tbody tr:hover{background:#162943}html[data-theme=dark] .pa-tags span{color:#9ac3ff;background:#19365d}html[data-theme=dark] .product-analytics-page input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (width<=1300px){.pa-kpis{grid-template-columns:repeat(4,1fr)}}@media (width<=760px){.product-analytics-page{padding:14px}.pa-header{flex-direction:column;align-items:flex-start}.pa-toolbar{flex-wrap:wrap;align-items:stretch}.pa-toolbar label{flex:140px}.pa-toolbar button{align-self:end}.pa-kpis{grid-template-columns:repeat(2,1fr)}}.product-analytics-page .pa-toolbar{flex-wrap:wrap}.product-analytics-page .pa-date-field{min-width:360px}.product-analytics-page .date-range-control{align-items:center;gap:7px;display:flex}.product-analytics-page .date-range-control .ant-picker{border-color:var(--pa-line);background:var(--pa-card);height:34px}.product-analytics-page .quick-date-trigger{white-space:nowrap;height:34px}.product-analytics-page .pa-table-wrap table{min-width:1500px}.product-analytics-page .pa-table-wrap th{z-index:2;padding:12px 15px;position:sticky;top:0}.product-analytics-page .pa-table-wrap td{padding:12px 15px}.product-analytics-page .pa-product-head{min-width:390px}.product-analytics-page .pa-table-wrap tbody tr{cursor:default}.product-analytics-page .pa-product-link{min-width:0;color:var(--pa-text);cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.product-analytics-page .pa-product-link:hover b{color:var(--pa-blue);text-underline-offset:3px;text-decoration:underline}.product-analytics-page .pa-sku{align-items:center;gap:7px;min-width:118px;display:flex}.product-analytics-page .pa-sku code{font-weight:400}.product-analytics-page .pa-sku .copy-icon-button,.product-analytics-page .pa-detail-sku .copy-icon-button{flex:none}.product-analytics-page .pa-sort{width:100%;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;justify-content:flex-end;align-items:center;gap:5px;padding:0;font-size:10px;font-weight:800;display:flex}.product-analytics-page .pa-sort span{color:#a5afbe}.product-analytics-page .pa-sort.active,.product-analytics-page .pa-sort.active span{color:var(--pa-blue)}.product-analytics-page .pa-value,.product-analytics-page .pa-rate{font-weight:800;display:inline-block}.product-analytics-page .pa-rate{text-align:center;border-radius:999px;min-width:48px;padding:4px 7px}.product-analytics-page .great{color:#06723f}.product-analytics-page .good{color:#168257}.product-analytics-page .info{color:#2464b5}.product-analytics-page .warn{color:#b56800}.product-analytics-page .bad{color:#c42b36}.product-analytics-page .neutral{color:var(--pa-muted)}.product-analytics-page .pa-rate.great,.product-analytics-page .pa-rate.good{background:#e8f7ef}.product-analytics-page .pa-rate.info{background:#eaf2ff}.product-analytics-page .pa-rate.warn{background:#fff3db}.product-analytics-page .pa-rate.bad{background:#ffebed}.product-analytics-page .pa-rate.neutral{background:var(--pa-soft)}.product-analytics-page .pa-stock{font-weight:700}.product-analytics-page .pa-pagination{border-top:1px solid var(--pa-line);color:var(--pa-muted);justify-content:space-between;align-items:center;gap:15px;padding:13px 17px;font-size:11px;display:flex}.product-analytics-page .pa-pagination>div{align-items:center;gap:5px;display:flex}.product-analytics-page .pa-pagination button{border:1px solid var(--pa-line);background:var(--pa-card);min-width:34px;height:30px;color:var(--pa-text);cursor:pointer;border-radius:6px}.product-analytics-page .pa-pagination button:disabled{cursor:not-allowed;opacity:.4}.product-analytics-page .pa-pagination b{color:var(--pa-text);padding:0 8px}.product-analytics-page .pa-detail{padding:0}.product-analytics-page .pa-detail-head{border-bottom:1px solid var(--pa-line);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;display:flex}.product-analytics-page .pa-detail-head h2{margin:6px 0 4px;padding-right:20px;font-size:20px}.product-analytics-page .pa-detail-head p{color:var(--pa-muted);margin:0 0 10px}.product-analytics-page .pa-close{flex:0 0 32px;position:static}.product-analytics-page .pa-detail>h3,.product-analytics-page .pa-detail>.pa-country-grid,.product-analytics-page .pa-detail>.pa-table-wrap,.product-analytics-page .pa-detail>.pa-batches,.product-analytics-page .pa-detail>.pa-empty{margin-left:24px;margin-right:24px}.product-analytics-page .pa-detail>.pa-table-wrap,.product-analytics-page .pa-detail>.pa-batches{margin-bottom:22px}.product-analytics-page .pa-detail-sku{align-items:center;gap:8px;display:flex}.product-analytics-page .pa-batches{flex-wrap:wrap;gap:7px;display:flex}.product-analytics-page .pa-batches span{border:1px solid var(--pa-line);background:var(--pa-soft);color:var(--pa-muted);border-radius:7px;padding:7px 9px;font-size:10px}.product-analytics-page .pa-toast{z-index:1200;color:#fff;background:#172033;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:700;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 28px #00000040}.product-analytics-page .pa-detail-head .modal-close{top:17px;right:18px}.product-analytics-page .pa-table-wrap.small table{min-width:100%}.product-analytics-page .pa-order-link{color:var(--pa-blue);cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker{border-color:var(--theme-input-border)!important;background:var(--theme-input-bg)!important;color:var(--theme-text-strong)!important}html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-input,html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-input input,html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-separator,html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-suffix,html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-clear{color:var(--theme-text-strong)!important;box-shadow:none!important;background:0 0!important;border:0!important}html[data-theme=dark] .product-analytics-page .pa-date-field .ant-picker-input input{-webkit-text-fill-color:var(--theme-text-strong);min-height:0;padding:0}html[data-theme=dark] .product-analytics-page .quick-date-trigger{border-color:var(--theme-input-border);background:var(--theme-input-bg);color:var(--theme-text-strong)}html[data-theme=dark] .product-analytics-page .quick-date-trigger:hover,html[data-theme=dark] .product-analytics-page .quick-date-trigger.active{color:#f8fbff;background:#172b49;border-color:#3b82f6}html[data-theme=dark] .product-analytics-page .quick-date-popover{border-color:var(--theme-border);background:#0f1b2d;box-shadow:0 22px 55px #00000061}html[data-theme=dark] .product-analytics-page .quick-date-popover:before{border-color:var(--theme-border)}html[data-theme=dark] .product-analytics-page .quick-date-header{border-color:var(--theme-border-soft)}html[data-theme=dark] .product-analytics-page .quick-date-header strong{color:var(--theme-text-strong)}html[data-theme=dark] .product-analytics-page .quick-date-year{background:#122038;border-color:#2f4361}html[data-theme=dark] .product-analytics-page .quick-date-year button{color:#b7c7db}html[data-theme=dark] .product-analytics-page .quick-date-year button:hover{color:#fff;background:#1b3354}html[data-theme=dark] .product-analytics-page .quick-date-year span,html[data-theme=dark] .product-analytics-page .quick-date-section>span{color:var(--theme-text-muted)}html[data-theme=dark] .product-analytics-page .quick-date-grid button{color:#d7e3f2;background:#122038;border-color:#2f4361}.brand-image-maker-page{--bim-card:#fff;--bim-soft:#f7f9fc;--bim-line:#dfe6ef;--bim-text:#172033;--bim-muted:#6b778c;--bim-blue:#2563eb}.brand-maker-eyebrow{color:var(--bim-blue);letter-spacing:.14em;margin-bottom:5px;font-size:10px;font-weight:900;display:block}.brand-maker-privacy{color:#176b43;background:#effbf4;border:1px solid #a7e0c0;border-radius:9px;align-items:center;gap:10px;padding:11px 14px;font-size:12px;display:flex}.brand-maker-privacy strong{font-size:12px}.brand-maker-privacy span{color:#488168}.brand-maker-setup{grid-template-columns:1fr 1fr;gap:14px;display:grid}.brand-maker-card,.brand-maker-results{border:1px solid var(--bim-line);background:var(--bim-card);border-radius:12px;box-shadow:0 4px 16px #0f172a0a}.brand-maker-card{padding:17px}.brand-maker-card-head,.brand-maker-results-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.brand-maker-card-actions{align-items:center;gap:7px;display:flex}.brand-maker-card-actions .ghost-button.compact{min-height:28px;padding:4px 9px;font-size:11px}.brand-maker-card-head>div{align-items:flex-start;gap:10px;display:flex}.brand-maker-card-head>div>span{width:24px;height:24px;color:var(--bim-blue);background:#eaf2ff;border-radius:7px;flex:0 0 24px;place-items:center;font-size:11px;font-weight:900;display:grid}.brand-maker-card h2,.brand-maker-results h2{color:var(--bim-text);margin:0;font-size:16px}.brand-maker-card p,.brand-maker-results p{color:var(--bim-muted);margin:4px 0 0;font-size:12px}.brand-maker-card-head>b{background:var(--bim-soft);color:var(--bim-muted);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:11px}.brand-maker-card textarea{box-sizing:border-box;border:1px solid var(--bim-line);background:var(--bim-soft);width:100%;min-height:150px;color:var(--bim-text);resize:vertical;border-radius:8px;margin-top:14px;padding:11px 12px;font:12px/1.55 ui-monospace,Consolas,monospace}.brand-maker-warning{color:#b56800!important}.brand-maker-dropzone{min-height:150px;color:var(--bim-blue);cursor:pointer;background:#f6f9ff;border:1px dashed #9dbcfb;border-radius:9px;align-content:center;place-items:center;gap:6px;margin-top:14px;display:grid}.brand-maker-dropzone:hover{border-color:var(--bim-blue);background:#eff5ff}.brand-maker-dropzone input{opacity:0;width:1px;height:1px;position:absolute}.brand-maker-dropzone strong{font-size:14px}.brand-maker-dropzone span{color:var(--bim-muted);font-size:11px}.brand-maker-dropzone.dragging{background:#eaf3ff;border-color:#1677ff;box-shadow:inset 0 0 0 2px #1677ff2e}.brand-maker-dropzone.dragging strong{color:#1263c6}html[data-theme=dark] .brand-maker-dropzone.dragging{background:#14294a;border-color:#60a5fa;box-shadow:inset 0 0 0 2px #60a5fa33}.brand-maker-template-card{padding-bottom:15px}.brand-layer-controls{border:1px solid var(--bim-line);background:var(--bim-soft);border-radius:9px;align-items:flex-end;gap:12px;margin-top:14px;padding:12px;display:flex}.brand-layer-controls>label:first-child{color:var(--bim-text);flex:1;gap:6px;font-size:12px;font-weight:800;display:grid}.brand-layer-controls small{color:var(--bim-muted);margin-left:5px;font-size:10px;font-weight:500}.brand-layer-controls select{box-sizing:border-box;border:1px solid var(--bim-line);background:var(--bim-card);width:100%;height:36px;color:var(--bim-text);border-radius:7px;padding:0 10px}.brand-layer-toggle{border:1px solid var(--bim-line);min-height:36px;color:var(--bim-text);background:var(--bim-card);white-space:nowrap;border-radius:7px;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:800;display:flex}.brand-layer-toggle input{width:15px;height:15px}.brand-maker-controls{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.brand-maker-controls label,.brand-maker-result label{color:var(--bim-muted);gap:5px;font-size:11px;font-weight:800;display:grid}.brand-maker-controls input,.brand-maker-controls select,.brand-maker-result input{box-sizing:border-box;border:1px solid var(--bim-line);background:var(--bim-card);width:100%;height:34px;color:var(--bim-text);border-radius:7px;padding:0 9px}.brand-name-textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--bim-line);background:var(--bim-card);width:100%;min-height:76px;color:var(--bim-text);font:inherit;border-radius:7px;padding:9px;line-height:1.35}.brand-name-textarea.compact{min-height:52px}.brand-maker-controls input[type=color]{cursor:pointer;padding:3px}.brand-maker-controls .brand-maker-check{border:1px solid var(--bim-line);height:34px;color:var(--bim-text);white-space:nowrap;border-radius:7px;flex-direction:row;align-self:end;align-items:center;gap:7px;padding:0 9px;display:flex}.brand-maker-check input{width:14px;height:14px}.brand-maker-results{overflow:hidden}.brand-maker-results-head{border-bottom:1px solid var(--bim-line);align-items:center;padding:16px 18px}.brand-maker-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;padding:16px;display:grid}.brand-maker-result{border:1px solid var(--bim-line);background:var(--bim-soft);border-radius:10px;min-width:0;padding:10px}.brand-maker-result.unmatched{background:#fffaf0;border-color:#f1c27d}.brand-maker-canvas-wrap{aspect-ratio:1;background:#edf1f6;border-radius:7px;place-items:center;display:grid;overflow:hidden}.brand-maker-canvas-wrap canvas{object-fit:contain;width:100%;height:100%;display:block}.brand-maker-result-info{justify-content:space-between;align-items:flex-start;gap:8px;margin:10px 0;display:flex}.brand-maker-result-info>div{min-width:0}.brand-maker-result-info strong,.brand-maker-result-info span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.brand-maker-result-info strong{color:var(--bim-text);font-size:12px}.brand-maker-result-info span{color:var(--bim-muted);margin-top:3px;font-size:10px}.brand-maker-status{background:#fff0df;border-radius:999px;flex:none;padding:4px 7px;font-weight:800;color:#a65d00!important;font-size:10px!important}.brand-maker-status.ok{background:#e8f7ef;color:#087443!important}.brand-maker-result .ghost-button{width:100%;margin-top:9px}.brand-maker-result-actions{grid-template-columns:1fr auto;gap:7px;display:grid}.brand-maker-result-actions .ghost-button{margin-top:9px}.brand-maker-result-actions .danger{color:#dc2626;white-space:nowrap;border-color:#f4b8b8;width:auto}.brand-maker-result-actions .danger:hover{background:#fff1f2;border-color:#ef4444}html[data-theme=dark] .brand-maker-result-actions .danger{color:#fb7185;border-color:#6f3540}html[data-theme=dark] .brand-maker-result-actions .danger:hover{background:#351923}.brand-maker-empty{color:var(--bim-muted);text-align:center;padding:58px 20px;font-size:13px}.brand-maker-message{margin-top:0}html[data-theme=dark] .brand-image-maker-page{--bim-card:#111e31;--bim-soft:#15243a;--bim-line:#2a3e59;--bim-text:#edf4fc;--bim-muted:#94a6bd;--bim-blue:#65a4ff}html[data-theme=dark] .brand-maker-card,html[data-theme=dark] .brand-maker-results{background:var(--bim-card);box-shadow:none}html[data-theme=dark] .brand-maker-privacy{color:#9ce1bd;background:#102b22;border-color:#285b45}html[data-theme=dark] .brand-maker-privacy span{color:#80b89c}html[data-theme=dark] .brand-maker-dropzone{background:#12243d;border-color:#3a679e}html[data-theme=dark] .brand-maker-dropzone:hover{background:#172d4b}html[data-theme=dark] .brand-maker-result.unmatched{background:#292316;border-color:#6e5429}html[data-theme=dark] .brand-maker-canvas-wrap{background:#0b1524}html[data-theme=dark] .brand-maker-status{background:#3c2d14;color:#f5c675!important}html[data-theme=dark] .brand-maker-status.ok{background:#123b2b;color:#92e6b8!important}@media (width<=1200px){.brand-maker-controls{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=820px){.brand-maker-setup{grid-template-columns:1fr}.brand-maker-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-maker-privacy{flex-direction:column;align-items:flex-start;gap:3px}.brand-maker-results-head{flex-direction:column;align-items:flex-start}.brand-maker-results-head button{width:100%}.brand-layer-controls{flex-direction:column;align-items:stretch}.brand-layer-toggle{justify-content:center}}.brand-maker-setup.three-columns{grid-template-columns:minmax(280px,.85fr) minmax(330px,1.15fr) minmax(280px,.85fr)}.brand-maker-dropzone.compact{min-height:50px;margin-top:12px}.brand-background-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:250px;margin-top:10px;display:grid;overflow:auto}.brand-background-list article{border:1px solid var(--bim-line);background:var(--bim-soft);border-radius:8px;min-width:0;padding:6px}.brand-background-list article.selected{border-color:var(--bim-blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--bim-blue) 16%,transparent)}.brand-background-thumb{aspect-ratio:1;cursor:pointer;background:#e9eef5;border:0;border-radius:6px;width:100%;padding:0;display:block;position:relative;overflow:hidden}.brand-background-thumb img{object-fit:cover;width:100%;height:100%;display:block}.brand-background-thumb span{color:#fff;background:#0f172ac7;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:800;position:absolute;bottom:5px;right:5px}.brand-background-list input{box-sizing:border-box;border:1px solid var(--bim-line);background:var(--bim-card);width:100%;height:28px;color:var(--bim-text);border-radius:5px;margin-top:6px;padding:0 6px;font-size:10px}.brand-background-delete{color:#c43b3b;cursor:pointer;background:0 0;border:1px solid #f1b8b8;border-radius:5px;width:100%;margin-top:5px;padding:5px;font-size:9px;font-weight:800}.brand-background-delete.armed{color:#fff;background:#dc2626;border-color:#dc2626}.brand-background-empty{color:var(--bim-muted);text-align:center;padding:24px 8px;font-size:11px}.brand-common-groups{grid-template-columns:minmax(280px,.65fr) minmax(600px,1.8fr);gap:20px;margin-top:14px;display:grid}.brand-common-groups>div{border:1px solid var(--bim-line);background:var(--bim-soft);border-radius:9px;padding:13px}.brand-common-groups>div>strong{color:var(--bim-text);margin-bottom:10px;font-size:12px;display:block}.brand-maker-controls.product-controls{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}.brand-maker-canvas-wrap{cursor:pointer;border:0;width:100%;padding:0;position:relative}.brand-maker-canvas-wrap>span{color:#fff;opacity:0;background:#0f172ac7;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:800;transition:opacity .15s;position:absolute;bottom:7px;right:7px}.brand-maker-canvas-wrap:hover>span{opacity:1}.brand-maker-result.customized{border-color:#82aef8;box-shadow:0 0 0 2px #2563eb1a}.brand-editor-backdrop{z-index:1400;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#040a14b3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.brand-editor-panel{border:1px solid var(--bim-line);background:var(--bim-card);width:min(1180px,96vw);max-height:94vh;color:var(--bim-text);border-radius:15px;overflow:hidden;box-shadow:0 28px 90px #00000061}.brand-editor-panel>header{border-bottom:1px solid var(--bim-line);justify-content:space-between;gap:20px;padding:18px 22px;display:flex;position:relative}.brand-editor-panel>header span{color:var(--bim-blue);letter-spacing:.14em;font-size:9px;font-weight:900}.brand-editor-panel>header h2{margin:4px 0;font-size:20px}.brand-editor-panel>header p{color:var(--bim-muted);margin:0;font-size:11px}.brand-editor-panel .modal-close{flex:0 0 32px;position:static}.brand-editor-body{grid-template-columns:minmax(520px,1.35fr) minmax(300px,.65fr);gap:20px;max-height:calc(94vh - 150px);padding:20px 22px;display:grid;overflow:auto}.brand-editor-preview{min-width:0}.brand-editor-stage{aspect-ratio:1;border:1px solid var(--bim-line);touch-action:none;background:#dce3ec;border-radius:10px;width:min(650px,100%);margin:auto;position:relative;overflow:hidden}.brand-editor-canvas{width:100%;height:100%;display:block}.brand-transform-box{box-sizing:border-box;cursor:move;touch-action:none;background:#1677ff0d;border:2px dashed #1677ff;position:absolute}.brand-transform-box.product{background:#10b9810d;border-color:#10b981}.brand-transform-handle{background:#1677ff;border:2px solid #fff;border-radius:50%;width:14px;height:14px;padding:0;position:absolute;box-shadow:0 1px 4px #00000059}.brand-transform-box.product .brand-transform-handle{background:#10b981}.brand-transform-handle.nw{cursor:nwse-resize;top:-8px;left:-8px}.brand-transform-handle.ne{cursor:nesw-resize;top:-8px;right:-8px}.brand-transform-handle.sw{cursor:nesw-resize;bottom:-8px;left:-8px}.brand-transform-handle.se{cursor:nwse-resize;bottom:-8px;right:-8px}.brand-editor-mode{justify-content:center;gap:7px;margin-top:11px;display:flex}.brand-editor-mode button{border:1px solid var(--bim-line);background:var(--bim-card);color:var(--bim-muted);cursor:pointer;border-radius:7px;padding:8px 12px;font-size:11px;font-weight:800}.brand-editor-mode button.active{border-color:var(--bim-blue);color:#1d5ebc;background:#eaf2ff}.brand-editor-settings{border:1px solid var(--bim-line);background:var(--bim-soft);border-radius:10px;align-content:start;gap:13px;padding:16px;display:grid}.brand-editor-layer-controls{border:1px solid var(--bim-line);background:var(--bim-card);border-radius:8px;gap:9px;padding:10px;display:grid}.brand-editor-layer-controls>label:first-child,.brand-editor-settings>label,.brand-editor-field-grid label{color:var(--bim-muted);gap:5px;font-size:11px;font-weight:800;display:grid}.brand-editor-settings input,.brand-editor-settings select{box-sizing:border-box;border:1px solid var(--bim-line);background:var(--bim-card);width:100%;height:36px;color:var(--bim-text);border-radius:7px;padding:0 9px}.brand-editor-settings .brand-name-textarea{height:auto}.brand-editor-settings input[type=color]{padding:3px}.brand-editor-settings input:disabled{opacity:.5}.brand-editor-field-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.brand-editor-checkbox{border:1px solid var(--bim-line);border-radius:7px;flex-direction:row;align-items:center;padding:9px;color:var(--bim-text)!important;grid-template-columns:none!important;gap:8px!important;display:flex!important}.brand-editor-checkbox input{width:15px;height:15px}.brand-editor-panel>footer{border-top:1px solid var(--bim-line);justify-content:space-between;align-items:center;gap:12px;padding:13px 22px;display:flex}.brand-editor-panel>footer>div{gap:8px;display:flex}html[data-theme=dark] .brand-editor-mode button.active{color:#a8ceff;background:#18375e}html[data-theme=dark] .brand-editor-stage{background:#07101d}@media (width<=1350px){.brand-maker-setup.three-columns{grid-template-columns:1fr 1fr}.brand-maker-setup.three-columns>section:last-child{grid-column:1/-1}.brand-common-groups{grid-template-columns:1fr}.brand-maker-controls{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=900px){.brand-maker-setup.three-columns{grid-template-columns:1fr}.brand-maker-setup.three-columns>section:last-child{grid-column:auto}.brand-editor-body{grid-template-columns:1fr}.brand-editor-panel{overflow:auto}.brand-editor-panel>footer{flex-direction:column;align-items:stretch}.brand-editor-panel>footer>div{display:grid}.brand-background-list{grid-template-columns:repeat(2,1fr)}}html[data-theme=dark] .product-analytics-page .quick-date-grid button:hover{color:#f8fbff;background:#172b49;border-color:#3b82f6}html[data-theme=dark] .product-analytics-page .quick-date-grid button.active{color:#fff;background:#1684ff;border-color:#1684ff;box-shadow:0 8px 18px #1684ff47}html[data-theme=dark] .product-analytics-page .pa-rate.great,html[data-theme=dark] .product-analytics-page .pa-rate.good{color:#78d6ad;background:#14372d}html[data-theme=dark] .product-analytics-page .pa-rate.info{color:#9ac3ff;background:#19365d}html[data-theme=dark] .product-analytics-page .pa-rate.warn{color:#f1bf66;background:#3a2c14}html[data-theme=dark] .product-analytics-page .pa-rate.bad{color:#f0959d;background:#3c1f27}html[data-theme=dark] .product-analytics-page .great,html[data-theme=dark] .product-analytics-page .good{color:#72d7a9}html[data-theme=dark] .product-analytics-page .info{color:#8dbbfa}html[data-theme=dark] .product-analytics-page .warn{color:#eec06f}html[data-theme=dark] .product-analytics-page .bad{color:#f08e98}@media (width<=760px){.product-analytics-page .pa-date-field{min-width:100%}.product-analytics-page .date-range-control{flex-direction:column;align-items:stretch}.product-analytics-page .pa-pagination{flex-direction:column;align-items:flex-start}.product-analytics-page .pa-detail-head{padding:18px}.product-analytics-page .pa-detail>h3,.product-analytics-page .pa-detail>.pa-country-grid,.product-analytics-page .pa-detail>.pa-table-wrap,.product-analytics-page .pa-detail>.pa-batches{margin-left:18px;margin-right:18px}}html[data-theme=dark] .receipt-page,html[data-theme=dark] .inventory-page,html[data-theme=dark] .product-capture-page,html[data-theme=dark] .product-analytics-page{background:#08111f!important}html[data-theme=dark] .receipt-page .receipt-card,html[data-theme=dark] .inventory-page .inventory-stat-card,html[data-theme=dark] .inventory-page .receipt-sync-panel,html[data-theme=dark] .inventory-page .today-order-inventory,html[data-theme=dark] .inventory-page .inventory-filters,html[data-theme=dark] .inventory-page .inventory-table-wrap,html[data-theme=dark] .inventory-page .cancellation-inventory-panel,html[data-theme=dark] .product-capture-page .card,html[data-theme=dark] .product-analytics-page .pa-toolbar,html[data-theme=dark] .product-analytics-page .pa-kpis article,html[data-theme=dark] .product-analytics-page .pa-panel{background:#111e31!important;border-color:#2c405d!important;box-shadow:0 8px 22px #0003!important}html[data-theme=dark] .capture-source-badge.source-shopee{color:#fdba74;background:#3a2114;border-color:#7c3d18}html[data-theme=dark] .capture-source-badge.source-naver{color:#86efac;background:#123222;border-color:#166534}html[data-theme=dark] .product-capture-page .product-capture-image-card,html[data-theme=dark] .receipt-page .receipt-summary-card,html[data-theme=dark] .inventory-page .cancellation-summary-card,html[data-theme=dark] .product-analytics-page .pa-country-grid article{background:#15243a!important;border-color:#304660!important}html[data-theme=dark] .receipt-page .receipt-month-summary .receipt-summary-card{background:linear-gradient(145deg,#15243a 0%,#122238 100%)!important}
