:root{color-scheme:light;--green: #079455;--green-deep: #123524;--green-ink: #0f2419;--leaf: #E6F6EF;--mist: #f4f8f5;--paper: #ffffff;--line: #DCE9E2;--muted: #334155;--ink: #1c2b24;--amber: #9a6408;--amber-bg: #fff6e4;--red: #D9485F;--red-bg: #FCEBED;--info: #1d4f91;--info-bg: #e8f1fb;--place-anminimart: #008A5A;--place-anminimart-bg: #E6F6EF;--place-shhh: #B85C24;--place-shhh-bg: #F7F0E6;--rpt-net: #2563EB;--rpt-orders: #0891B2;--rpt-cogs: #C2410C;--rpt-salary: #B45309;--rpt-other: #64748B;--rpt-tax: #7C3AED;--rpt-profit: #059669;--rpt-loss: #E11D48;--rpt-deduct: #E11D48;--rpt-sku: #1E3A8A;--rpt-head: #F3F8F5;--rpt-line: #DCE9E2;--rpt-stripe: #F1F5F9;--place-company: #123524;--place-company-bg: #e7eee9;--place-company-fig: #2563EB;--fig-revenue: #079455;--fig-cost: #D9485F;--fig-ink: #1c2b24;--ch-tiktok: #0f766e;--ch-lazada: #c2410c;--ch-facebook: #145dbf;--ch-default: #0f6b3a;--fig-banked: #0e7490;--fig-pending: #92400e;--fig-available: #008A5A;--shadow: 0 16px 40px rgba(18, 53, 36, .08);--motion: .18s cubic-bezier(.4, 0, .2, 1);--motion-fast: .12s cubic-bezier(.4, 0, .2, 1);--motion-pop: .26s cubic-bezier(.22, 1, .36, 1);font-family:Be Vietnam Pro,sans-serif;color:var(--ink);background:var(--mist)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.btn,.drop-btn,.tabs button,.nav a,.cal-nav,.cal-day,.brand-pick,.tip,.dash-info-btn,.upload-drop-hint,.range-presets li,.drop-list li,.accounts button{transition:background-color var(--motion),border-color var(--motion),color var(--motion),box-shadow var(--motion),transform var(--motion-fast),opacity var(--motion-fast),filter var(--motion-fast)}.btn:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0);filter:brightness(.97)}.btn.secondary:hover:not(:disabled){border-color:color-mix(in srgb,var(--green) 45%,var(--line));background:var(--leaf);filter:none}.btn.danger:hover:not(:disabled){filter:brightness(1.06)}.btn:disabled{transform:none;filter:none}.drop-btn:hover{border-color:color-mix(in srgb,var(--green) 40%,var(--line))}.drop.open .drop-btn,.range-pick.open .drop-btn{border-color:var(--green);box-shadow:0 0 0 3px #1c9a451f}.drop-btn svg{transition:transform var(--motion);flex:0 0 auto}.drop.open .drop-btn svg,.range-pick.open .drop-btn svg{transform:rotate(180deg)}.tabs button:hover:not(.active){background:var(--leaf);color:var(--green-deep)}.tabs button.active{box-shadow:0 6px 16px #1235241f}.nav a{transition:background-color var(--motion),color var(--motion),transform var(--motion-fast)}.nav a:hover{transform:translate(2px)}.nav a.router-link-active{box-shadow:inset 3px 0 #ffffff8c}.drop-list li,.range-presets li{transition:background-color var(--motion-fast),color var(--motion-fast)}.cal-nav:active,.cal-day:not(:disabled):active{transform:scale(.96)}.brand-pick:hover{border-color:color-mix(in srgb,var(--green) 40%,var(--line));transform:translateY(-1px)}.brand-pick.active{transform:none}.tip{transition:background-color var(--motion),border-color var(--motion),color var(--motion),transform var(--motion-fast)}.tip:hover,.tip.open{transform:scale(1.05)}.tip-bubble{opacity:0;transform:translateY(4px) scale(.98);pointer-events:none;transition:opacity var(--motion-pop),transform var(--motion-pop);display:block!important;visibility:hidden}.tip:hover .tip-bubble,.tip.open .tip-bubble,.tip:focus-visible .tip-bubble{opacity:1;transform:translateY(0) scale(1);visibility:visible;pointer-events:auto}.ui-pop-enter-active,.ui-pop-leave-active{transition:opacity var(--motion-pop),transform var(--motion-pop);will-change:opacity,transform}.ui-pop-enter-from,.ui-pop-leave-to{opacity:0;transform:translateY(10px)}.ui-pop-enter-to,.ui-pop-leave-from{opacity:1;transform:translateY(0)}.ui-fade-enter-active,.ui-fade-leave-active{transition:opacity var(--motion)}.ui-fade-enter-from,.ui-fade-leave-to{opacity:0}.modal-backdrop{animation:ui-fade-in var(--motion) ease both}.modal{animation:ui-pop-in var(--motion-pop) ease both}@keyframes ui-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ui-pop-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.side{background:var(--green-deep);color:#fff;padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 18px}.brand strong{font-family:Fraunces,serif;font-size:26px;font-weight:560;letter-spacing:-.04em}.brand span{display:block;color:#b7d7c4;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.nav{display:flex;flex-direction:column;gap:4px;overflow:auto;min-height:0;flex:1}.side{overflow:hidden}.nav a{border-radius:12px;padding:10px 12px;color:#d7efe2;display:flex;justify-content:space-between;align-items:center}.nav a.router-link-active,.nav a:hover{background:#ffffff1a;color:#fff}.nav small{color:#8fb59d;font-size:11px}.logos{margin-top:auto;display:flex;gap:8px;padding-top:12px}.logos img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:14px;display:block}.main{min-width:0;min-height:100vh;max-height:100vh;display:flex;flex-direction:column;overflow:hidden}.top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 22px;background:#fffffff5;border-bottom:1px solid var(--line);position:relative;z-index:5;flex-shrink:0}.main-body{flex:1;min-height:0;overflow:auto;overflow-x:hidden;scroll-padding-top:12px}.main:has(.page.reports),.main:has(.page.orders-page),.main:has(.page.customers-page),.main:has(.page.imports-page),.main:has(.page.cash-page),.main:has(.page.inv-page),.main:has(.page.products-page),.main:has(.page.attendance-page),.main:has(.page.payroll-page),.main:has(.page.purchases-page){max-height:100dvh;height:100dvh;overflow:hidden}.main-body:has(.page.orders-page),.main-body:has(.page.customers-page),.main-body:has(.page.imports-page),.main-body:has(.page.cash-page),.main-body:has(.page.inv-page),.main-body:has(.page.products-page),.main-body:has(.page.attendance-page),.main-body:has(.page.payroll-page),.main-body:has(.page.purchases-page){overflow:hidden;display:flex;flex-direction:column;min-height:0}.main-body:has(.page.reports){overflow:auto;display:block;min-height:0}.page.orders-page,.page.cash-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:16px;overflow:hidden}.page.imports-page{flex:1;min-height:0;display:flex;flex-direction:column;gap:16px;overflow:auto}.page.orders-page{padding:12px 22px 14px;gap:8px}.page.reports{display:grid;gap:14px;padding-top:12px;padding-bottom:24px;height:auto;overflow:visible}.page.reports .report-stick{display:grid;gap:8px;background:var(--mist);padding-bottom:4px;position:sticky;top:0;z-index:3}.page.reports .report-head{position:relative;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"title . export" "tabs . export";column-gap:14px;row-gap:10px;align-items:center}.page.reports .report-title{grid-area:title;position:relative;z-index:1;display:inline-flex;align-items:center;gap:2px;min-width:0}.page.reports .report-title h1{margin:0;font-size:32px;line-height:1.1}.page.reports .report-title .tip{margin-left:8px}.page.reports .report-tabs{grid-area:tabs;position:relative;z-index:1;justify-content:flex-start;width:fit-content}.page.reports .report-export{grid-area:export;position:relative;z-index:1;justify-self:end;white-space:nowrap}.page.reports .report-section-title{margin:0 0 8px;font-size:15px;font-weight:700;color:#1c2b24}.page.reports .report-channels{min-width:0}.page.reports .report-channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.page.reports .report-channel-card{background:#fff;border:1px solid var(--rpt-line);border-top:3px solid #94a3b8;border-radius:12px;padding:10px 12px;display:grid;gap:8px}.page.reports .report-channel-head{display:flex;align-items:center;gap:8px;min-width:0}.page.reports .report-channel-head strong{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page.reports .report-channel-metrics{margin:0;display:grid;gap:6px}.page.reports .report-channel-metrics>div{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.page.reports .report-channel-metrics dt{margin:0;font-size:11px;color:var(--muted)}.page.reports .report-channel-metrics dd{margin:0;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.page.reports .report-profit{display:grid;gap:12px;background:#fff;border:1px solid var(--rpt-line);border-radius:14px;padding:14px}.page.reports .report-profit-hero{display:grid;gap:4px}.page.reports .report-profit-hero .label{font-size:13px;color:var(--muted)}.page.reports .report-profit-value{font-size:clamp(28px,3.2vw,40px);font-weight:780;font-variant-numeric:tabular-nums;color:var(--rpt-profit);line-height:1.1}.page.reports .report-profit-value.neg{color:var(--rpt-deduct)}.page.reports .report-alloc{display:grid;gap:8px}.page.reports .report-alloc-bar{display:flex;height:10px;border-radius:999px;overflow:hidden;background:#e5efe9}.page.reports .report-alloc-seg{min-width:0}.page.reports .report-alloc-seg.tone-cogs{background:var(--rpt-cogs)}.page.reports .report-alloc-seg.tone-warn{background:#d97706}.page.reports .report-alloc-seg.tone-muted{background:#94a3b8}.page.reports .report-alloc-seg.tone-profit{background:var(--rpt-profit)}.page.reports .report-alloc-legend{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:11px;color:var(--muted)}.page.reports .report-alloc-item{display:inline-flex;align-items:center;gap:5px}.page.reports .report-alloc-item i{width:8px;height:8px;border-radius:99px;display:inline-block}.page.reports .report-alloc-item i.tone-cogs{background:var(--rpt-cogs)}.page.reports .report-alloc-item i.tone-warn{background:#d97706}.page.reports .report-alloc-item i.tone-muted{background:#94a3b8}.page.reports .report-alloc-item i.tone-profit{background:var(--rpt-profit)}.page.reports .report-profit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.page.reports .report-profit-grid .card{margin:0;border:1px solid var(--rpt-line);border-radius:12px;padding:10px 12px}.page.reports .report-profit-grid .value{font-size:18px;font-weight:750}.page.reports .report-howto{border:1px solid var(--rpt-line);border-radius:12px;background:var(--rpt-stripe);padding:8px 12px}.page.reports .report-howto summary{cursor:pointer;font-weight:650;font-size:13px}.page.reports .report-howto p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.page.reports .report-detail-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.page.reports .report-mode-tabs{width:fit-content;justify-content:flex-start}.page.reports .report-detail-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.page.reports .report-detail-head .report-section-title{margin:0}.page.reports .report-search{height:36px;min-width:200px;max-width:280px;flex:1 1 200px;border:1px solid var(--rpt-line);border-radius:10px;padding:0 12px;background:#fff;font:inherit}.page.reports .report-sku,.page.reports .report-period-block{display:grid;gap:8px;min-width:0}.page.reports .report-sku-scroll{max-height:min(420px,55vh);overflow:auto}.page.reports .report-sku-table .col-text{text-align:left}.page.reports .report-sku-table .col-num{text-align:right}.page.reports .report-sku-table thead th{position:sticky;top:0;z-index:1;border-top:2px solid transparent}.page.reports .report-sku-table thead th.col-sku{color:var(--rpt-sku);font-weight:700;background:color-mix(in srgb,var(--rpt-sku) 6%,#fff);border-top-color:color-mix(in srgb,var(--rpt-sku) 35%,#fff)}.page.reports .report-sku-table thead th.fig-net{color:var(--rpt-net);background:color-mix(in srgb,var(--rpt-net) 8%,#fff);border-top-color:var(--rpt-net)}.page.reports .report-sku-table thead th.fig-cogs{color:var(--rpt-cogs);background:color-mix(in srgb,var(--rpt-cogs) 8%,#fff);border-top-color:var(--rpt-cogs)}.page.reports .report-sku-table thead th.fig-salary{color:var(--rpt-salary);background:color-mix(in srgb,var(--rpt-salary) 8%,#fff);border-top-color:var(--rpt-salary)}.page.reports .report-sku-table thead th.fig-other{color:var(--rpt-other);background:color-mix(in srgb,var(--rpt-other) 8%,#fff);border-top-color:var(--rpt-other)}.page.reports .report-sku-table thead th.fig-tax{color:var(--rpt-tax);background:color-mix(in srgb,var(--rpt-tax) 8%,#fff);border-top-color:var(--rpt-tax)}.page.reports .report-sku-table thead th.col-profit{color:var(--rpt-profit);background:color-mix(in srgb,var(--rpt-profit) 10%,#fff);border-top-color:var(--rpt-profit)}.page.reports .report-sku-table tbody td.col-sku{color:var(--rpt-sku);font-weight:650}.page.reports .report-sku-table tbody td.col-profit{background:color-mix(in srgb,var(--rpt-profit) 7%,#fff);font-weight:700}.page.reports .report-sku-table tbody tr:nth-child(2n):not(.missing) td.col-profit{background:color-mix(in srgb,var(--rpt-profit) 10%,var(--rpt-stripe))}.page.reports .report-sku-table tbody tr:hover td{background:color-mix(in srgb,var(--rpt-net) 6%,#fff)}.page.reports .report-sku-table tbody tr:hover td.col-profit{background:color-mix(in srgb,var(--rpt-profit) 12%,#fff)}.page.reports .report-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:13px;color:var(--muted)}.page.reports .report-period{overflow-x:auto;overflow-y:visible}.page.reports .fig-net{color:var(--rpt-net)}.page.reports .fig-orders{color:var(--rpt-orders)}.page.reports .fig-cogs{color:var(--rpt-cogs)}.page.reports .fig-salary{color:var(--rpt-salary)}.page.reports .fig-other{color:var(--rpt-other)}.page.reports .fig-tax{color:var(--rpt-tax)}.page.reports .fig-profit{color:var(--rpt-profit)}.page.reports .fig-loss{color:var(--rpt-loss)}.page.reports .fig-zero{color:var(--muted)}.page.reports .fig-deduct{color:var(--rpt-deduct)}.page.cash-page{gap:12px;padding-top:12px;padding-bottom:16px}.page.cash-page .cash-stick{flex-shrink:0;display:grid;gap:12px;background:var(--mist);z-index:3}.page.cash-page .cash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.page.cash-page .cash-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.page.cash-page .cash-scroll{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:16px;align-content:start;padding-bottom:4px}.page.cash-page .page-head{margin:0}.page.cash-page .supplier-kpis{flex:0 0 auto}.page.cash-page .cash-scroll:has(.supplier-scroll){overflow:auto;gap:10px}.page.cash-page .cash-scroll>.debt-block,.page.cash-page .cash-scroll>.marketplace-block,.page.cash-page .cash-scroll>.debt-toolbar,.page.cash-page .cash-scroll>.pager{flex:0 0 auto}.page.cash-page .supplier-scroll{flex:0 1 auto;min-height:0;overflow-x:auto;overflow-y:visible;padding-bottom:12px}.page.reports .report-scroll{flex:1;min-height:0;overflow:auto}.filters,.row,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}.filters{flex:1;align-items:center}.top{min-width:0;overflow:visible}.top .filters>*{max-width:100%}.top-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.top-filters .drop{flex:0 1 168px;min-width:140px}.top-filters .range-pick{flex:0 1 240px;min-width:200px}.top-place-lock{display:inline-flex;align-items:center;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px}.filters .drop,.filters .range-pick{height:44px}.filters input[type=date]{height:44px;box-sizing:border-box}.who{text-align:right}.who b{display:block}.who span{color:var(--muted);font-size:12px}.page{padding:22px;display:grid;gap:16px;min-width:0;max-width:100%;overflow-x:clip}.dash>*{min-width:0;max-width:100%}.page.dash{gap:12px;padding-top:16px}.page h1{font-family:Fraunces,serif;font-weight:560;font-size:36px;margin:0;letter-spacing:-.03em}.lede{color:var(--muted);margin:4px 0 0;max-width:760px}.dash-head{display:inline-flex;align-items:center;gap:8px;max-width:100%;margin:0}.dash-head h1{font-size:30px;line-height:1.1}.dash-info{position:relative;display:inline-flex}.dash-info-btn{list-style:none;width:22px;height:22px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--muted);font-size:13px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.dash-info-btn::-webkit-details-marker{display:none}.dash-info[open] .dash-info-btn,.dash-info-btn:hover,.dash-info-btn:focus-visible{color:var(--green-deep);border-color:#b7d7c4;background:var(--leaf);outline:none}.dash-info-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:12;width:min(340px,78vw);padding:12px 14px;border-radius:12px;border:1px solid #d7e5dc;background:#fff;box-shadow:0 10px 24px #1235241f;color:#1c2b24;font-size:13px;line-height:1.45;transform-origin:top left;animation:ui-pop-in var(--motion-pop) ease both}.dash-info-panel p{margin:0;color:var(--muted)}.dash-info-panel .data-stamp{margin:10px 0 0}.dash-info-title{margin:12px 0 2px!important;color:var(--ink)!important;font-weight:650;font-size:13px}.dash-info-panel .hint{margin:0}.grid{display:grid;gap:12px}.kpis{grid-template-columns:repeat(4,1fr)}.report-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:stretch}.report-kpis .card{background:var(--paper);border:1px solid var(--rpt-line);box-shadow:none;padding:8px 10px 10px;min-width:0}.report-kpis .card.kpi-net{border-top:3px solid var(--rpt-net)}.report-kpis .card.kpi-orders{border-top:3px solid var(--rpt-orders)}.report-kpis .card.kpi-cogs{border-top:3px solid var(--rpt-cogs)}.report-kpis .card.kpi-profit{border-top:3px solid var(--rpt-profit)}.report-kpis .card.kpi-deduct{border-top:3px solid var(--rpt-deduct)}.report-kpis .card .label{font-size:12px}.report-kpis .card .label-row{margin:0}.report-kpis .card .tip{margin-left:0;width:16px;height:16px;font-size:10px}.report-kpis .card .value{font-size:20px;margin-top:2px;line-height:1.1}.report-kpis .card.kpi-net .value{color:var(--rpt-net)}.report-kpis .card.kpi-orders .value{color:var(--rpt-orders)}.report-kpis .card.kpi-cogs .value{color:var(--rpt-cogs)}.report-kpis .card.kpi-profit .value{color:var(--rpt-profit)}.report-kpis .kpi-deductions .value{display:none}.report-kpis .kpi-lines{margin-top:4px;display:grid;gap:2px;font-size:12px}.report-kpis .kpi-lines>div{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.report-kpis .kpi-lines span{color:var(--muted)}.report-kpis .kpi-lines b{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--rpt-deduct)}.report-table .col-text{text-align:left;color:var(--ink)}.report-table .col-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.report-table .fig-net{color:var(--rpt-net)}.report-table .fig-orders{color:var(--rpt-orders)}.report-table .fig-cogs{color:var(--rpt-cogs)}.report-table .fig-salary{color:var(--rpt-salary)}.report-table .fig-other{color:var(--rpt-other)}.report-table .fig-tax{color:var(--rpt-tax)}.report-table .fig-profit{color:var(--rpt-profit)}.report-table .fig-loss{color:var(--rpt-loss)}.report-table .fig-zero{color:var(--muted)}.report-table .fig-deduct{color:var(--rpt-deduct)}.table-wrap:has(.report-table){background:var(--paper);border-color:var(--rpt-line)}.report-table{background:var(--paper)}.report-table th,.report-table td{border-bottom-color:var(--rpt-line)}.report-table thead th{background:var(--rpt-head);color:var(--ink);font-weight:650;position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--rpt-line)}.report-table tbody tr:nth-child(2n):not(.missing) td{background:var(--rpt-stripe)}.report-table .totals-row td{font-weight:700;border-top:2px solid var(--rpt-line);background:var(--rpt-head)}.report-table tr.missing td.muted{color:var(--muted);font-style:italic}.report-table tr.day-end td{border-bottom:1px solid color-mix(in srgb,var(--ink) 14%,var(--rpt-line))}.bal-section{min-width:0;margin-top:0}.bal-kpis{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;width:100%}.bal-card{align-self:stretch;min-width:0;overflow:hidden;word-break:break-word}.bal-card .value{font-size:clamp(18px,2.2vw,28px);overflow-wrap:anywhere}.bal-breakdown{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);display:grid;gap:4px;font-size:13px;color:var(--ink)}.bal-breakdown .hint{margin-top:2px}.sub-vnd{margin-top:4px;color:var(--muted);font-size:14px}.chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:4px}.net-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:var(--mist);font-size:13px;color:var(--muted)}.net-chip b{font-size:15px}.net-chip.up{background:var(--leaf);border-color:color-mix(in srgb,var(--fig-revenue) 25%,var(--line))}.net-chip.down{background:var(--red-bg);border-color:color-mix(in srgb,var(--fig-cost) 25%,var(--line))}.net-chip.flat{background:#f1f5f9;border-color:#e2e8f0}.empty-state{display:grid;place-items:center;gap:12px;min-height:180px;padding:28px 16px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px;background:var(--paper)}.empty-state p{margin:0}.empty-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;color:var(--muted)}.fx-top{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(280px,1.1fr);gap:12px;align-items:start}.fx-stack{display:grid;gap:12px}.fx-strip{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;padding:10px 14px}.fx-strip .label{margin:0}.fx-strip strong{font-size:16px;font-weight:680;letter-spacing:-.02em}.fx-strip .hint{margin:0}.fx-strip .tip{margin-left:auto}.fx-form{display:grid;gap:12px}.fx-form-head{margin:0}.fx-form-head h3{margin:0;font-size:16px}.fx-form-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end}.fx-form-row label{display:grid;gap:4px;min-width:0}.fx-form-row .hint{margin:0}.fx-form-row input{width:100%;min-width:0;box-sizing:border-box}.fx-save{white-space:nowrap;height:44px}.fx-current .value{font-size:24px}.cards{grid-template-columns:1.4fr 1fr}.card,.table-wrap,.panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.card{padding:16px}.card .label{color:var(--muted);font-size:13px}.card .value{font-size:28px;font-weight:680;letter-spacing:-.04em;margin-top:6px}.card .hint{color:var(--muted);font-size:12px;margin-top:6px}.card.profit{background:linear-gradient(180deg,#f3fbf6,#fff 40%)}.card.cash{background:#fff}.card.warn{background:var(--amber-bg);border-color:#f0ddb0}input,select,textarea{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:10px 12px}select option{background:#fff;color:var(--ink)}.drop{position:relative;min-width:148px}.drop.disabled{opacity:.6;pointer-events:none}.drop-btn{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:0 12px;text-align:left;box-sizing:border-box}.drop-menu,.range-panel{z-index:80;margin:0;background:#fff;color:var(--ink);border:1px solid color-mix(in srgb,var(--green) 28%,var(--line));box-shadow:var(--shadow);box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 35%,transparent) transparent}.drop-menu::-webkit-scrollbar,.range-panel::-webkit-scrollbar,.drop-list::-webkit-scrollbar,.range-presets::-webkit-scrollbar{width:6px;height:0}.drop-menu::-webkit-scrollbar-thumb,.range-panel::-webkit-scrollbar-thumb,.drop-list::-webkit-scrollbar-thumb,.range-presets::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 35%,transparent);border-radius:99px}.drop-menu{padding:6px;border-radius:14px;display:flex;flex-direction:column;min-height:0;max-width:min(360px,calc(100vw - 16px))}.drop-menu .drop-label{white-space:normal;overflow:visible;text-overflow:unset}.drop-search{flex-shrink:0;padding:4px 4px 8px}.drop-search input{width:100%;height:36px;box-sizing:border-box}.drop-list{margin:0;padding:0;list-style:none;overflow-x:hidden;overflow-y:auto;min-height:0;flex:1;width:100%}.drop-label{display:inline-flex;align-items:center;gap:6px;min-width:0;flex:1;overflow:hidden}.drop-label>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-list li{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;cursor:pointer;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden}.drop-list li:hover{background:var(--leaf)}.drop-list li.active{background:var(--leaf);color:var(--green-deep);font-weight:650}.drop-list li.active:after{content:"✓";margin-left:auto;color:var(--green-deep);font-weight:700}.drop-list li.drop-empty{cursor:default;color:var(--muted)}.drop-list li.drop-empty:hover{background:transparent}.drop-list li.drop-empty:after{content:none}.drop-btn .muted{color:var(--muted)}textarea{width:100%;min-height:72px}.btn{background:var(--green);color:#fff;border:0;border-radius:999px;padding:10px 16px;font-weight:600}.btn.secondary{background:#fff;color:var(--green-deep);border:1px solid var(--line)}.btn.danger{background:var(--red)}.btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3)}.btn.btn-sm{padding:6px 12px;font-size:12px;border-radius:999px}.btn:disabled{opacity:.5;cursor:not-allowed}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--muted);font-weight:600;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.table-wrap{overflow:auto}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:650;background:#eef2f0;color:var(--muted)}.tag.info{background:var(--info-bg);color:var(--info)}.tag.amber{background:var(--amber-bg);color:var(--amber)}.tag.green{background:var(--leaf);color:var(--fig-revenue)}.tag.teal{background:var(--place-company-bg);color:#3d5a4c}.tag.gray{background:#eef2f6;color:#64748b}.tag.red{background:var(--red-bg);color:var(--fig-cost)}.tag.quiet{background:#eef2f0;color:var(--muted)}.tag.nofifo{background:#e8eef5;color:#3d4d63}.place-chip{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:650;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.place-chip.company{background:var(--place-company-bg);color:var(--place-company)}.place-chip.anminimart{background:var(--place-anminimart-bg);color:var(--place-anminimart)}.place-chip.shhh{background:var(--place-shhh-bg);color:var(--place-shhh)}.bal-card.place-company{--fig: var(--place-company-fig);box-shadow:inset 3px 0 0 var(--place-company)}.bal-card.place-anminimart{--fig: var(--place-anminimart);box-shadow:inset 3px 0 0 var(--place-anminimart)}.bal-card.place-shhh{--fig: var(--place-shhh);box-shadow:inset 3px 0 0 var(--place-shhh)}.bal-card .value,.bal-card .sub-vnd,.bal-card .money,.bal-card .amount{color:var(--fig, var(--fig-ink))}.bal-card.place-company>.value,.bal-card.place-company>.sub-vnd{color:var(--place-company-fig)!important}.fig-revenue,.money.fig-revenue,.amount.fig-revenue,.value.fig-revenue{color:var(--fig-revenue)!important}.fig-cost,.money.fig-cost,.amount.fig-cost,.value.fig-cost{color:var(--fig-cost)!important}.fig-ink,.money.fig-ink,.amount.fig-ink,.value.fig-ink{color:var(--fig-ink)!important}.fig-place{color:var(--fig, var(--fig-ink))!important}.channel-amt.ch-tiktok,.fig-ch-tiktok{color:var(--ch-tiktok)!important}.channel-amt.ch-lazada,.fig-ch-lazada{color:var(--ch-lazada)!important}.channel-amt.ch-facebook,.fig-ch-facebook{color:var(--ch-facebook)!important}.channel-amt.ch-default,.fig-ch-default{color:var(--ch-default)!important}.fig-banked{color:var(--fig-banked)!important;font-weight:650}.fig-pending{color:var(--fig-pending)!important;font-weight:650}.fig-available{color:var(--fig-available)!important;font-weight:650}.bal-breakdown{color:var(--muted)}.sellers-table tr.place-anminimart,.restock-table tr.place-anminimart{--fig: var(--place-anminimart)}.sellers-table tr.place-shhh,.restock-table tr.place-shhh{--fig: var(--place-shhh)}.sellers-table tr.place-company,.restock-table tr.place-company{--fig: var(--place-company)}.sellers-table td.col-qty,.sellers-table td.col-net,.restock-table td.col-stock,.restock-table td.col-min,.restock-table td.col-suggest,.restock-table td.col-suggest b{color:var(--fig, var(--fig-ink))}.totals-card .total-row b,.channel-total b.fig-revenue{color:var(--fig-revenue)}.report-kpis .fig-deduct{color:var(--rpt-deduct)}.amt-in{color:var(--fig-revenue);font-weight:650}.amt-out{color:var(--fig-cost);font-weight:650}.amt-flat{color:var(--muted);font-weight:650}.channel-icon{display:inline-block;width:16px;height:16px;object-fit:contain;vertical-align:middle;flex:0 0 auto;border-radius:4px}.channel-mark{display:inline-flex;align-items:center;gap:6px;min-width:0}.channel-mark b{min-width:0}.bar{height:8px;background:#e7f3eb;border-radius:99px;overflow:hidden}.bar span{display:block;height:100%;background:var(--green)}.split{display:grid;grid-template-columns:1fr 320px;gap:16px}.form{display:grid;gap:8px}.excel-import{display:grid;gap:8px;padding:12px 14px;border:1px dashed var(--line);border-radius:14px;background:var(--paper);width:100%}.excel-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.excel-head,.excel-file{display:flex;gap:8px;align-items:center;min-width:0}.excel-head strong{white-space:nowrap}.excel-file{flex:1}.excel-native{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0;pointer-events:none}.excel-name{flex:1;min-width:0;padding:8px 12px;border-radius:10px;background:var(--mist);border:1px solid var(--line);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.excel-name.empty{color:var(--muted)}.excel-upload{white-space:nowrap}.text-link{border:0;background:none;padding:0;color:var(--green-deep);text-decoration:underline;cursor:pointer;font:inherit}.excel-import.check .excel-head{display:flex;align-items:center;gap:12px}.excel-import.check .excel-file{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}.excel-import.check .excel-name{flex:1 1 160px;height:42px;display:flex;align-items:center}.excel-import.check .btn,.excel-import.check .excel-clear{height:42px;width:auto;flex:0 0 auto}@media(max-width:720px){.excel-import.check .excel-file{flex-wrap:wrap}}.excel-import.stacked{gap:12px;min-width:0;box-sizing:border-box}.excel-import.stacked .excel-file{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}.excel-import.stacked .excel-name,.excel-import.stacked .excel-upload{width:100%}.tip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;padding:0;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:11px;font-weight:700;line-height:1;cursor:pointer;vertical-align:middle}.tip-bubble{position:absolute;left:0;top:calc(100% + 6px);z-index:30;width:min(280px,70vw);padding:8px 10px;border-radius:10px;border:1px solid color-mix(in srgb,var(--green) 28%,white);background:#fff;color:var(--ink);font-size:12px;font-weight:500;line-height:1.45;text-align:left;white-space:normal;box-shadow:var(--shadow)}.tip-wide{width:min(340px,78vw)}.label-row{display:flex;align-items:center;gap:4px}.page-title-row{align-items:center}.page-title-row h1{margin:0}.error{background:var(--red-bg);color:var(--red);padding:10px 12px;border-radius:12px}.note{background:#eef2f0;border-radius:14px;padding:12px 14px;color:var(--muted)}.note.info{background:var(--info-bg);color:var(--info)}.note.amber{background:var(--amber-bg);color:var(--amber)}.note.red{background:var(--red-bg);color:var(--red)}.imports-page{gap:16px;padding-top:12px;overflow:auto}.imports-page .page-head{display:flex;align-items:center;gap:8px}.imports-page .page-head h1{display:inline-flex;align-items:center;gap:4px;margin:0}.import-form{gap:16px;max-width:none;align-content:start}.import-form .field{display:grid;gap:8px}.import-form .field>.label-row,.import-form .field>span.label-row{font-size:13px;font-weight:650;color:var(--muted)}.brand-picks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.brand-pick{display:flex;align-items:center;gap:12px;text-align:left;min-height:84px;padding:12px;border-radius:14px;border:2px solid var(--line);background:#fff;color:var(--ink);box-sizing:border-box}.brand-pick img{width:48px;height:48px;object-fit:contain;border-radius:12px;background:var(--mist);flex:0 0 auto}.brand-pick span{display:grid;gap:2px;min-width:0}.brand-pick b{font-size:15px}.brand-pick small{color:var(--muted);font-size:12px;line-height:1.35}.brand-source{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--green-deep)}.brand-pick.active{border-color:var(--green);background:var(--leaf);box-shadow:none}.import-group-field{min-height:74px}.group-fixed{display:flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--mist);color:var(--ink);font-weight:650;box-sizing:border-box}.import-files-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.import-files-actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.upload-deck{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:118px;align-items:stretch}.upload-deck.single{grid-template-columns:1fr}.upload-tile{display:grid;gap:8px;align-content:start;min-height:118px;padding:12px;border:1px dashed var(--line);border-radius:14px;background:var(--paper);box-sizing:border-box;transition:border-color .15s ease,background .15s ease}.upload-tile.filled{border-style:solid;border-color:color-mix(in srgb,var(--green) 40%,var(--line))}.upload-tile.missing{background:var(--mist)}.upload-tile.dragging{border-color:var(--green);border-style:solid;background:var(--leaf)}.upload-tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.upload-row-label{display:grid;gap:2px;min-width:0}.upload-row-label strong{font-size:13px;line-height:1.3}.upload-row-label .muted{font-size:11px}.upload-actions{display:flex;flex-wrap:wrap;gap:8px}.upload-file-meta{display:grid;gap:2px;min-width:0;word-break:break-all}.upload-file-meta b{font-size:13px}.upload-drop-hint{display:grid;gap:4px;margin:0;padding:18px 12px;border-radius:10px;border:1px dashed color-mix(in srgb,var(--green) 35%,var(--line));background:#fff;color:var(--muted);font-size:13px;text-align:center;cursor:pointer;width:100%}.upload-drop-inline{padding:10px 12px;text-align:left}.upload-drop-hint:hover{border-color:var(--green);color:var(--ink)}.import-tick{margin-top:8px;padding:10px 12px;border:1px dashed var(--line);border-radius:12px;background:#fbfdfc}.import-tick summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--muted)}.import-tick-warn{margin:10px 0 8px;color:var(--amber);font-size:13px}.import-tick-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.import-tick h4{margin:0 0 6px;font-size:12px;font-weight:700}.import-tick ul{margin:0;padding-left:18px;font-size:12px;color:var(--muted);display:grid;gap:4px}.page.customers-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:10px;padding-top:12px;overflow:hidden}.page.customers-page .page-head,.page.customers-page .error,.page.customers-page .cust-stats,.page.customers-page .cust-tools,.page.customers-page .cust-pager{flex:0 0 auto}.page.customers-page .page-head h1{margin:0 0 4px}.page.customers-page .page-head p{margin:0;color:var(--muted);font-size:13px;max-width:720px}.page.customers-page .cust-scroll{flex:1;min-height:0;border-radius:14px}.cust-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cust-stat{min-width:0;padding:6px 10px 7px;border:1px solid var(--line);border-radius:10px;background:#f7fbf8}.cust-stat span{display:block;color:var(--muted);font-size:11px;font-weight:650;line-height:1.3}.cust-stat b{display:block;margin-top:1px;font-size:16px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cust-stat.customers b{color:var(--green-deep)}.cust-stat.repeat b{color:#0f766e}.cust-stat.revenue b{color:var(--rpt-net)}.cust-stat.orders b{color:var(--rpt-orders)}.cust-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.cust-search{flex:1 1 220px;min-width:180px;max-width:340px;height:36px;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff}.cust-tools .drop{flex:0 0 auto}.cust-tools .drop-btn{height:36px;border-radius:10px;padding:0 10px}.cust-tools .drop-label{min-width:0;overflow:hidden}.cust-tools .drop-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cust-tools .cust-channel{width:168px;min-width:150px}.cust-tools .cust-sort{width:210px;min-width:190px}.cust-tools .cust-size{width:76px;min-width:76px}.cust-size-label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;font-weight:650}.cust-table{width:100%;min-width:860px;table-layout:fixed}.cust-table col.c-phone{width:148px}.cust-table col.c-orders{width:108px}.cust-table col.c-net{width:156px}.cust-table col.c-last{width:150px}.cust-table col.c-channel{width:156px}.cust-table th,.cust-table td{vertical-align:middle}.cust-table td.c-name{overflow-wrap:break-word;word-break:normal}.cust-table td.c-phone,.cust-table td.c-last,.cust-table td.c-channel{white-space:nowrap}.cust-table td.c-last{color:#475569}.cust-th{display:inline-flex;align-items:center;gap:4px;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;letter-spacing:inherit;text-align:inherit;text-transform:inherit;cursor:pointer}.cust-table .col-num .cust-th{justify-content:flex-end}.cust-th .arr{font-style:normal;line-height:1}.cust-table .c-orders .arr{color:var(--rpt-orders)}.cust-table .c-net .arr{color:var(--rpt-net)}.cust-table .c-last .arr{color:#475569}.page.customers-page .cust-table tbody tr{cursor:pointer}.page.customers-page .cust-table tbody tr:hover td{background:color-mix(in srgb,var(--leaf, #e8f0e4) 55%,white)}.page.customers-page .channel-mark{font-weight:600;white-space:nowrap}.page.customers-page .channel-mark.ch-tiktok{color:var(--ch-tiktok)}.page.customers-page .channel-mark.ch-lazada{color:var(--ch-lazada)}.page.customers-page .channel-mark.ch-facebook{color:var(--ch-facebook)}.page.customers-page .channel-mark.ch-default{color:var(--place-anminimart)}.modal.cust-modal{width:min(940px,90vw);max-height:min(88vh,calc(100dvh - 32px));container-type:inline-size}.cust-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cust-modal-who{min-width:0;flex:1}.modal.cust-modal h3{margin:0;color:var(--green-deep);font-size:22px;line-height:1.25;overflow-wrap:break-word;word-break:normal}.cust-modal-phone{margin:2px 0 0;color:#475569;font-size:14px}.cust-modal-metrics{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:8px}.cust-modal-metrics span{display:grid;gap:1px}.cust-modal-metrics small{color:var(--muted);font-size:11px;font-weight:650}.cust-modal-metrics b{font-size:16px;font-variant-numeric:tabular-nums;line-height:1.2}.cust-modal-metrics .spend,.cust-line-card .spend,.cust-lines-table td.c-line{color:var(--rpt-net);font-weight:700}.cust-modal-metrics .orders{color:var(--rpt-orders)}.cust-modal .btn.cust-close{flex:0 0 auto;background:#fff;color:var(--green-deep);border:1px solid var(--green)}.cust-modal .btn.cust-close:hover:not(:disabled){background:var(--leaf);border-color:var(--green);filter:none}.cust-lines-scroll{max-width:100%;overflow-x:auto}.cust-lines-table{width:100%;table-layout:auto}.cust-lines-table .c-name{width:46%}.cust-lines-table th,.cust-lines-table td{border-bottom:1px solid var(--rpt-line);vertical-align:middle}.cust-lines-table th.col-num,.cust-lines-table td.col-num{text-align:right;font-variant-numeric:tabular-nums}.cust-lines-table thead th{background:var(--rpt-head);color:var(--ink);font-weight:650;position:static}.cust-lines-table tbody tr:nth-child(2n) td{background:var(--rpt-stripe)}.cust-lines-table td.c-name{white-space:normal;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none}.cust-lines-table td.c-sku,.cust-lines-table th.c-last,.cust-lines-table td.c-last,.cust-lines-table td.col-num{white-space:nowrap}.cust-lines-table td.c-sku{max-width:120px}.cust-lines-table .sku-chip{max-width:108px;overflow:hidden;text-overflow:ellipsis}.cust-lines-table td.c-qty,.cust-lines-table td.c-price{color:var(--ink);font-weight:550}.cust-lines-table td.c-last{color:#475569}.sku-chip{display:inline-block;max-width:100%;padding:1px 6px;border-radius:6px;background:#e8eef5;color:#3d4d63;font-size:12px;font-weight:700;line-height:1.45;white-space:nowrap;vertical-align:middle}.gift-chip{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;background:var(--amber-bg);color:var(--amber);font-weight:700;line-height:1.4}.cust-line-cards{display:none}.cust-line-card{border:1px solid var(--rpt-line);border-radius:12px;padding:8px 10px;background:#fff}.cust-line-card:nth-child(2n){background:var(--rpt-stripe)}.cust-line-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.cust-line-top time{color:#475569;font-size:13px;white-space:nowrap}.cust-line-name{margin:6px 0 0;font-weight:650;line-height:1.35;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:none;hyphens:none}.cust-line-card dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin:8px 0 0}.cust-line-card dl div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.cust-line-card dt{color:var(--muted);font-size:11px;font-weight:650}.cust-line-card dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}@container (max-width: 720px){.cust-lines-scroll{display:none}.cust-line-cards{display:grid;gap:8px}}@media(max-width:720px){.cust-stats{grid-template-columns:1fr 1fr}.cust-search{max-width:none}}@media(max-width:640px){.modal-backdrop:has(.cust-modal){padding:8px}.modal.cust-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}@media(max-width:980px){.page.customers-page .cust-scroll{max-height:70vh}}.import-preview{display:grid;gap:14px;max-width:none}.import-preview-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;font-size:14px}.import-preview-actions{display:flex;justify-content:flex-end}.import-warn{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;margin:0;padding:12px 14px;border-radius:12px;border:1px solid #f0e2c8;border-left:3px solid #c47a2c;background:#fbf6ea;color:#6b4a1e;box-sizing:border-box}.import-warn-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px;border-radius:50%;background:#c47a2c;color:#fff;font-size:12px;font-weight:800;line-height:1}.import-warn-body{display:grid;gap:2px;font-size:13px;line-height:1.4}.import-warn-body p{margin:0}.import-warn-soft{grid-template-columns:1fr;padding:10px 12px;font-size:13px}.import-alerts{display:grid;gap:8px}.import-history{display:grid;gap:10px}.import-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.import-history-head h2{margin:0;font-size:18px}.import-history-actions{display:inline-flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;white-space:nowrap}.import-table-wrap{max-width:100%;overflow-x:auto;overflow-y:auto;max-height:min(420px,55vh)}.import-table{min-width:720px}.import-table thead th{position:sticky;top:0;z-index:1;background:var(--rpt-head);color:var(--ink);text-transform:none;letter-spacing:0;font-size:13px}.import-table tbody tr:nth-child(2n){background:var(--rpt-stripe)}.import-table td,.import-table th{height:42px;vertical-align:middle}.import-table .num-center{text-align:center}.import-table .num-right{text-align:right;font-variant-numeric:tabular-nums}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-hero{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.14),transparent 30%),var(--green-deep);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between}.login-hero h1{font-family:Fraunces,serif;font-size:64px;line-height:.95;margin:12px 0;font-weight:560}.login-panel{display:grid;place-items:center;padding:32px}.login-card{width:min(440px,100%);display:grid;gap:12px}.accounts{display:grid;gap:6px}.accounts button{text-align:left;background:var(--leaf);border:0;border-radius:12px;padding:8px 10px}.qr{width:220px;height:220px;margin:8px auto;border-radius:24px;background:linear-gradient(#fff,#fff) padding-box,repeating-linear-gradient(90deg,var(--green-deep) 0 12px,transparent 12px 22px),repeating-linear-gradient(0deg,var(--green-deep) 0 12px,transparent 12px 22px);display:grid;place-items:center;border:10px solid var(--green-deep)}.qr b{background:#fff;padding:10px 12px;border-radius:12px;letter-spacing:.14em;font-size:22px}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 14px;color:var(--muted);font-weight:600}.tabs button.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.amt-due{color:var(--amber);font-weight:650}.cash-table .col-date,.tight .col-date{width:118px;white-space:nowrap}.cash-table .col-ref{width:150px;white-space:nowrap}.cash-table .col-amt,.tight .col-amt{width:140px;white-space:nowrap;text-align:right}.cash-table .col-act{width:120px;white-space:nowrap;text-align:right}.supplier-kpis{grid-template-columns:1fr 1fr;align-items:stretch}.supplier-kpis.debt-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.supplier-kpis .card{min-height:100%}.debt-block{display:grid;gap:10px;margin-bottom:14px}.debt-block-compact{gap:8px;margin-bottom:8px}.debt-block h3{margin:0;font-size:15px}.debt-kpis-compact .debt-kpi-card{display:flex;flex-direction:column;justify-content:space-between;gap:6px;padding:10px 12px;min-height:0}.debt-kpis-compact .debt-kpi-card .label{font-size:12px;color:var(--muted);font-weight:650;line-height:1.25}.debt-kpis-compact .debt-kpi-card .value{font-size:1.05rem;line-height:1.15;margin:0}.marketplace-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 12px;border:1px dashed color-mix(in srgb,var(--amber) 45%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--amber-bg) 55%,white);font-size:13px}.marketplace-strip strong{font-size:13px}.marketplace-strip b{font-variant-numeric:tabular-nums}.marketplace-block{padding:12px;border:1px dashed color-mix(in srgb,var(--amber) 45%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--amber-bg) 55%,white)}.marketplace-hint{margin:0 0 8px}.marketplace-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.marketplace-card{max-width:none}.debt-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.debt-toolbar .search{flex:1 1 220px;min-width:180px}.debt-search-hint{margin:-4px 0 10px}.debt-grid{--supplier-cols: 1.4fr .7fr 1fr 1fr 1fr .8fr 1.2fr .8fr;grid-template-columns:var(--supplier-cols)}.debt-po{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:14px;margin-bottom:12px;background:#fff}.debt-lookup-bar{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(140px,1fr) repeat(2,minmax(120px,.9fr));gap:10px;align-items:end}.debt-lookup-field{display:grid;gap:4px;margin:0;min-width:0}.debt-lookup-field>span{font-size:12px;color:var(--muted);font-weight:650}.debt-lookup-field input{width:100%;min-width:0}.debt-lookup-empty{margin:4px 0 0}.debt-po-list{display:grid;gap:8px}.debt-po-list-head,.debt-po-row{display:grid;grid-template-columns:minmax(120px,1.3fr) 110px minmax(110px,1fr) repeat(3,minmax(90px,1fr));gap:10px;align-items:center}.debt-po-list-head{padding:0 12px;color:var(--muted);font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.03em}.debt-po-list-head .amt,.debt-po-row .amt{text-align:right;font-variant-numeric:tabular-nums}.debt-po.debt-po-accordion{padding:0;gap:0;margin-bottom:0;overflow:hidden}.debt-po-row{width:100%;border:0;background:transparent;padding:12px;text-align:left;font:inherit;color:inherit;cursor:pointer}.debt-po-row:hover{background:#f8fafc}.debt-po-accordion.open .debt-po-row{border-bottom:1px solid var(--line);background:#f8fafc}.debt-po-ref{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.debt-po-ref b{overflow-wrap:anywhere}.debt-po-panel{display:grid;gap:14px;padding:12px 14px 14px}.debt-docs{margin:0;padding-left:18px;color:var(--muted);font-size:13px;display:grid;gap:6px}.debt-detail-backdrop{align-items:center;justify-content:center;padding:12px}.modal.card.debt-detail-modal{width:min(1120px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(90vh,920px);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:0}.debt-detail-head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:2}.debt-detail-title{flex:1;min-width:0}.debt-detail-title h3{margin:0 0 4px}.debt-detail-title .hint{margin:0}.debt-detail-body{flex:1 1 auto;min-height:0;overflow:auto;padding:14px 18px 20px;display:grid;gap:12px;align-content:start}.debt-legacy-alert{margin:0;padding:10px 12px;border-radius:10px;border:1px solid color-mix(in srgb,var(--amber) 45%,var(--line));background:color-mix(in srgb,var(--amber-bg) 70%,white);color:#9a3412;font-weight:650}.debt-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.debt-mini-card{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:4px;background:#f8fafc}.debt-mini-card span{color:var(--muted);font-size:12px;font-weight:650}.debt-mini-card b{font-size:16px;font-variant-numeric:tabular-nums}.debt-mini-card.paid b{color:#0f766e}.debt-mini-card.due b{color:#c2410c}.debt-mini-card.credit b{color:#1d4f91}.debt-po-block{display:grid;gap:8px}.debt-po-block h4{margin:0;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.debt-po-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.debt-pay-progress{display:grid;gap:6px}.debt-pay-ratio{font-size:13px;font-weight:650;color:#0f766e;font-variant-numeric:tabular-nums}.debt-pay-bar{display:block;height:8px;border-radius:999px;background:#e8eef5;overflow:hidden}.debt-pay-bar i{display:block;height:100%;background:#0f766e}.debt-history{display:grid;gap:0}.debt-history-head{display:grid;grid-template-columns:110px 140px minmax(0,1fr) 140px;gap:10px;padding:8px 10px;color:var(--muted);font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--line)}.debt-history-head .amt{text-align:right}.debt-history-row{display:grid;grid-template-columns:110px 140px minmax(0,1fr) 140px;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.debt-history-date{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650}.debt-history-note{margin:0;color:var(--muted);overflow-wrap:anywhere}.debt-history-amt{text-align:right;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.debt-history-more{justify-self:start;margin-top:10px}.tag.beige{background:#f5f0e6;color:#8a6a2f}@media(max-width:900px){.debt-lookup-bar{grid-template-columns:1fr 1fr}}@media(max-width:720px){.debt-detail-backdrop{padding:0}.modal.card.debt-detail-modal{width:100vw;max-width:100vw;max-height:100vh;height:100vh;border-radius:0}.debt-lookup-bar{grid-template-columns:1fr}.debt-po-list-head{display:none}.debt-po-row{grid-template-columns:1fr auto;grid-template-areas:"ref status" "date date" "due paid" "bal bal";gap:6px 10px}.debt-po-ref{grid-area:ref}.debt-po-row>.tag{grid-area:status;justify-self:end}.debt-po-row>span:nth-child(2){grid-area:date;color:var(--muted)}.debt-po-row>.amt:nth-child(4){grid-area:due}.debt-po-row>.amt:nth-child(5){grid-area:paid}.debt-po-row>.amt:nth-child(6){grid-area:bal;text-align:left}.debt-history-head{display:none}.debt-history-row{grid-template-columns:1fr auto;grid-template-areas:"date amt" "kind kind" "note note";gap:6px 10px;padding:12px 10px}.debt-history-date{grid-area:date}.debt-history-amt{grid-area:amt}.debt-history-row>.tag{grid-area:kind;justify-self:start}.debt-history-note{grid-area:note}}.linkish{border:0;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer;font-weight:650}@media(max-width:1100px){.supplier-kpis.debt-kpis{grid-template-columns:1fr 1fr}}.supplier-grid{--supplier-cols: max-content max-content max-content max-content max-content;display:flex;flex-direction:column;width:100%;box-sizing:border-box;font-size:14px}.supplier-head,.supplier-row{display:grid;grid-template-columns:var(--supplier-cols);justify-content:start;align-items:center;width:max-content;min-width:100%;box-sizing:border-box;border-bottom:1px solid var(--line)}.supplier-head{position:sticky;top:0;z-index:2;min-height:44px;background:color-mix(in srgb,var(--leaf) 82%,white);border-bottom-color:color-mix(in srgb,var(--green) 28%,var(--line));box-shadow:0 1px color-mix(in srgb,var(--green) 16%,transparent)}.debt-grid .supplier-head{position:static;box-shadow:none}.supplier-head>*,.supplier-row>*{display:flex;align-items:center;min-width:0;padding:10px 14px;white-space:nowrap;border:0;box-sizing:border-box}.supplier-head>*{min-height:44px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.supplier-row{min-height:54px}.supplier-row>*{min-height:54px;padding-block:8px}.supplier-grid .col-ref{justify-content:flex-start;text-align:left}.supplier-grid .col-amt{justify-content:flex-end;text-align:right;font-variant-numeric:tabular-nums}.supplier-grid .col-status{justify-content:flex-start;text-align:left}.supplier-grid .col-act{justify-content:center;text-align:center}.supplier-grid .col-status .tag{white-space:nowrap}.supplier-expand{width:100%;max-width:100%;box-sizing:border-box;padding:12px 14px 16px;border-bottom:1px solid var(--line);background:var(--mist)}.supplier-expand table.tight{width:100%;min-width:520px;background:#fff;border-collapse:separate;border-spacing:0}.supplier-expand table.tight thead th{position:sticky;top:0;z-index:1;background:#f8fafc;box-shadow:inset 0 -1px 0 var(--line)}.fixed-compare-head{display:grid;gap:6px;margin-bottom:4px}.fixed-insight{margin:0;padding:8px 12px;border-radius:10px;background:color-mix(in srgb,var(--amber) 12%,white);border:1px solid color-mix(in srgb,var(--amber) 28%,var(--line));color:#9a6700;font-size:13px;font-weight:600}.fixed-kpis{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.fixed-kpis .card{min-height:100%;display:grid;gap:8px;align-content:start}.fixed-kpis .value{font-size:22px}.fixed-lines{display:grid;gap:4px;margin-top:2px;font-size:12px}.fixed-lines>div{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.fixed-lines span{color:var(--muted)}.fixed-lines b{font-variant-numeric:tabular-nums;font-weight:600}.fixed-lines>div.hot span{color:#9a6700;font-weight:650}.fixed-lines>div.hot b{color:var(--amber)}@media(max-width:1100px){.fixed-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.fixed-scroll{overflow:auto}.cash-modal-form label.tax-range{display:grid;gap:4px;font-size:12px;color:var(--muted);font-weight:600}.cash-modal-form label.tax-range input{color:var(--ink);font-weight:500}.fixed-grid{--fixed-cols: repeat(9, max-content);display:flex;flex-direction:column;width:100%;box-sizing:border-box;font-size:14px}.fixed-head,.fixed-row{display:grid;grid-template-columns:var(--fixed-cols);justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;border-bottom:1px solid var(--line)}.fixed-head{position:sticky;top:0;z-index:2;min-height:44px;background:color-mix(in srgb,var(--leaf) 82%,white);border-bottom-color:color-mix(in srgb,var(--green) 28%,var(--line));box-shadow:0 1px color-mix(in srgb,var(--green) 16%,transparent)}.fixed-head>*,.fixed-row>*{display:flex;align-items:center;min-width:0;padding:10px 0;white-space:nowrap;border:0;box-sizing:border-box}.fixed-head>*:first-child,.fixed-row>*:first-child{padding-left:12px}.fixed-head>*:last-child,.fixed-row>*:last-child{padding-right:12px}.fixed-head>*{min-height:44px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.fixed-row{min-height:48px}.fixed-row>*{min-height:48px;padding-block:8px}.fixed-grid .col-month{justify-content:flex-start;text-align:left}.fixed-grid .col-amt{justify-content:flex-end;text-align:right;font-variant-numeric:tabular-nums}.ledger-table{table-layout:fixed;width:100%}.ledger-table .col-date{width:110px}.ledger-table .col-way{width:88px}.ledger-table .col-unit{width:110px}.ledger-table .col-cat{width:140px}.ledger-table .col-note{width:auto}.ledger-table .col-amt{width:130px}.ledger-row{cursor:pointer}.ledger-row:hover td{background:color-mix(in srgb,var(--leaf) 45%,white)}.note-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35;white-space:normal;word-break:break-word}.note-clamp.open{display:block;-webkit-line-clamp:unset;overflow:visible}.flow-day{display:grid;grid-template-columns:118px 1fr 180px;gap:10px;align-items:center;margin-top:10px}.flow-bars{display:grid;gap:4px}.flow-bars .bar span.in{background:var(--fig-revenue)}.flow-bars .bar span.out{background:var(--fig-cost)}.flow-amt{display:grid;gap:2px;font-size:12px;text-align:right}.ledger-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.ledger-filters input{flex:1;min-width:180px}.pager{display:flex;gap:12px;align-items:center;justify-content:flex-end;color:var(--muted)}.expand-row td{background:var(--mist)}.expand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f241959;display:grid;place-items:center;z-index:50;padding:16px}.modal{width:min(440px,calc(100vw - 32px));max-height:min(90vh,calc(100dvh - 32px));overflow-x:hidden;overflow-y:auto;box-sizing:border-box}.modal.modal-wide{width:min(680px,calc(100vw - 32px))}.modal h3{margin:0;min-width:0;overflow-wrap:anywhere}.modal h4{margin:12px 0 6px;font-size:14px}.modal form{display:grid;gap:8px;margin-top:8px}.cash-modal-form input,.cash-modal-form .drop-btn{width:100%;height:44px;padding:0 12px;box-sizing:border-box;border-radius:12px;font-size:14px;line-height:1.2}.cash-modal-form .drop{width:100%;min-width:0}.field-form{display:grid;gap:12px;margin-top:8px;min-width:0}.field-form label,.modal label{display:grid;gap:6px;font-size:13px;color:var(--muted);font-weight:600;min-width:0}.field-form label>*,.modal label>*:not(span):not(.att-switch):not(.att-switch-copy){color:var(--ink);font-weight:500;min-width:0;max-width:100%;width:100%;box-sizing:border-box}.modal label.att-switch-row{display:flex;align-items:center;grid-template-columns:none}.field-form .drop,.modal .drop{min-width:0;width:100%}.btn-block{width:100%;box-sizing:border-box}.orders-page .orders-stick{flex-shrink:0;display:grid;gap:8px;background:var(--mist);padding-bottom:2px;z-index:4}.orders-page .orders-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;margin:0}.orders-page .orders-head-copy{flex:0 1 auto;min-width:0;max-width:240px}.orders-page .orders-head-copy h1{margin:0;font-size:30px}.orders-page .orders-head-copy .data-stamp{margin:4px 0 0;display:flex;flex-wrap:wrap;gap:6px}.orders-page .orders-head-summary{flex:0 1 auto;width:fit-content;max-width:100%;min-width:0}.orders-page .orders-kpi-card{width:fit-content;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px;box-shadow:0 1px #0f241908}.orders-page .orders-kpi,.orders-page .orders-kpi-sub,.orders-page .orders-kpi-channels{margin:0;font-size:13px;color:var(--muted);line-height:1.35}.orders-page .orders-kpi{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:0;color:var(--ink);font-weight:500}.orders-page .orders-kpi .kpi-item{display:inline-flex;align-items:baseline;gap:6px;padding:3px 10px;border-right:1px solid color-mix(in srgb,var(--line) 85%,white);white-space:nowrap;border-radius:8px}.orders-page .orders-kpi .kpi-item:first-child{padding-left:8px}.orders-page .orders-kpi .kpi-item:last-child{border-right:0}.orders-page .orders-kpi b{font-weight:700;font-variant-numeric:tabular-nums}.orders-page .orders-kpi .kpi-total{color:#2563eb;border-right-color:transparent}.orders-page .orders-kpi .kpi-total b{color:#2563eb}.orders-page .orders-kpi .kpi-ok{color:#008a5a;background:#e6f6ef;border-right-color:transparent}.orders-page .orders-kpi .kpi-ok b{color:#008a5a}.orders-page .orders-kpi .kpi-bad{color:#d9485f;background:#fcebed;border-right-color:transparent}.orders-page .orders-kpi .kpi-bad b{color:#d9485f}.orders-page .orders-kpi .kpi-warn{color:#b45309;background:#fff6e4;border-right-color:transparent}.orders-page .orders-kpi .kpi-warn b{color:#b45309}.orders-page .orders-kpi-sub{margin-top:6px;padding-top:6px;border-top:1px solid color-mix(in srgb,var(--line) 85%,white)}.orders-page .orders-kpi-sub b,.orders-page .orders-kpi-channels b{font-weight:700;font-variant-numeric:tabular-nums}.orders-page .orders-kpi-channels{margin-top:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.orders-page .ch-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:999px;background:#f3f8f5;border:1px solid var(--line);color:var(--ch-default);font-size:12px;font-weight:550;line-height:1;flex:0 0 auto}.orders-page .ch-chip b{color:inherit}.orders-page .ch-chip.ch-tiktok{color:var(--ch-tiktok);background:color-mix(in srgb,var(--ch-tiktok) 10%,white);border-color:color-mix(in srgb,var(--ch-tiktok) 22%,white)}.orders-page .ch-chip.ch-lazada{color:var(--ch-lazada);background:color-mix(in srgb,var(--ch-lazada) 10%,white);border-color:color-mix(in srgb,var(--ch-lazada) 22%,white)}.orders-page .ch-chip.ch-facebook{color:var(--ch-facebook);background:color-mix(in srgb,var(--ch-facebook) 10%,white);border-color:color-mix(in srgb,var(--ch-facebook) 22%,white)}.orders-page .ch-chip.ch-default{color:var(--place-anminimart);background:var(--place-anminimart-bg);border-color:color-mix(in srgb,var(--place-anminimart) 18%,white)}.orders-page .ch-chip .channel-icon{width:16px;height:16px;flex:0 0 16px;object-fit:contain;display:block}.orders-page .orders-head-actions{flex:0 0 auto;align-items:center;gap:8px}.orders-page .orders-bot-open{flex:0 0 auto;white-space:nowrap}.orders-bot-modal{display:grid;align-content:start;gap:12px;width:min(480px,calc(100vw - 32px))}.orders-bot-modal h3,.orders-bot-modal p{margin:0}.orders-bot-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.orders-bot-head h3{min-width:0;overflow-wrap:anywhere}.orders-bot-head .btn{flex:0 0 auto}.orders-damage-photos{display:grid;gap:6px;margin:8px 0}.orders-damage-photos input[type=file]{padding:8px}.orders-bot-actions{display:flex;flex-wrap:wrap;gap:8px}.orders-bot-actions .btn{flex:1 1 140px}.orders-bot-found,.orders-bot-saved{margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--mist);overflow-wrap:anywhere}.orders-page .orders-head-actions .btn:not(.secondary){background:#008a5a}@media(max-height:760px),(max-width:720px){.orders-page .orders-kpi-channels{flex-wrap:nowrap}.orders-page .orders-kpi-sub{display:none}}.orders-page .orders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;width:100%}.orders-page .orders-toolbar-left,.orders-page .orders-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.orders-page .orders-toolbar-left{justify-content:flex-start}.orders-page .orders-toolbar-right{justify-content:flex-end;margin-left:auto}.orders-page .order-search{width:240px;max-width:240px;flex:0 0 240px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-page .orders-table-scroll{flex:1;min-height:0;width:100%;max-width:100%;overflow:auto;padding:0;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:14px;scrollbar-width:thin;scrollbar-color:#b7c9bf transparent}.orders-page .orders-table-scroll::-webkit-scrollbar{width:8px;height:8px}.orders-page .orders-table-scroll::-webkit-scrollbar-track{background:transparent}.orders-page .orders-table-scroll::-webkit-scrollbar-thumb{background:#b7c9bf;border-radius:999px;border:2px solid transparent;background-clip:padding-box}.orders-page .orders-table-scroll::-webkit-scrollbar-thumb:hover{background:#9bb5a8;background-clip:padding-box}.orders-page .channel-mark{display:inline-flex;align-items:center;gap:6px;font-weight:550}.orders-page .channel-mark.ch-tiktok{color:var(--ch-tiktok)}.orders-page .channel-mark.ch-lazada{color:var(--ch-lazada)}.orders-page .channel-mark.ch-facebook{color:var(--ch-facebook)}.orders-page .channel-mark.ch-default{color:var(--place-anminimart)}.orders-page .channel-mark .channel-icon{width:16px;height:16px;flex:0 0 16px;object-fit:contain}.channel-icon{display:inline-block;vertical-align:middle;object-fit:contain}.orders-page .orders-pager{flex-shrink:0;width:100%;margin:0}.orders-table{width:100%;min-width:880px;table-layout:fixed;margin:0;border-collapse:collapse}.orders-table thead th{position:sticky;top:0;z-index:3;background:#fff;color:#334155;box-shadow:0 1px 0 var(--line)}.orders-table .col-check{width:44px;text-align:center}.orders-table .col-date,.orders-table .col-id{color:#334155}.orders-table .col-date{width:108px;text-align:left}.orders-table .col-id{width:150px;text-align:left}.orders-table .col-store,.orders-table .col-channel{width:120px;text-align:left}.orders-table .col-status{width:110px;text-align:left}.orders-table .col-items{width:72px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;color:#0f766e;font-weight:650}.orders-table .col-net{width:140px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#2563eb;font-weight:650}.orders-table .col-act{width:88px;text-align:center;white-space:nowrap}.orders-table th,.orders-table td{height:52px;padding:0 12px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.orders-table tbody tr:nth-child(2n) td{background:#f8fbf9}.orders-table tbody tr:hover td{background:#e6f6ef}.orders-table .tag.green{background:#e6f6ef;color:#008a5a}.orders-table .tag.red{background:#fcebed;color:#d9485f}.orders-table .tag.amber{background:#fff6e4;color:#b45309}.orders-table th.col-check,.orders-table td.col-check,.orders-table th.col-items,.orders-table td.col-items,.orders-table th.col-act,.orders-table td.col-act{padding-left:8px;padding-right:8px;text-align:center}.orders-table th.col-net,.orders-table td.col-net{padding-right:16px}.orders-table th.col-date,.orders-table th.col-id,.orders-table th.col-net,.orders-table th.col-items{color:#334155;font-weight:600}.orders-table .col-act .btn{padding:8px 12px;vertical-align:middle}.orders-table .col-link{cursor:pointer;color:#0f766e;font-weight:650}.orders-table .col-link:hover{color:#0d9488}.order-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:8px 0 4px;font-size:14px}.order-meta .muted{display:block;font-size:12px;margin-bottom:2px}.event-list{margin:0;padding-left:18px;display:grid;gap:6px;font-size:13px}table.tight th,table.tight td{padding:8px 10px}.dash-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;align-items:stretch;min-width:0}.dash-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch;min-width:0}.dash-sellers,.dash-restock{min-width:0;max-width:100%;display:flex;flex-direction:column;height:100%}.dash-sellers .table-wrap,.dash-restock .table-wrap{flex:1;min-height:0}.dash .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.dash table{table-layout:fixed;width:100%}.dash td,.dash th{vertical-align:middle}.dash .col-name{overflow:hidden}.dash .sellers-table,.dash .restock-table{table-layout:fixed;width:100%}.hour-legend{display:flex;gap:12px;color:var(--muted);font-size:13px}.hour-legend .swatch{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}.hour-legend .swatch.today{background:var(--green)}.hour-legend .swatch.yesterday{background:#8bbf9a}.hour-chart{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:4px;align-items:end;min-height:180px;margin-top:12px}.hour-col{display:grid;gap:4px;justify-items:center;min-width:0}.hour-bars{height:160px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.hour-bars .hb{width:42%;max-width:12px;border-radius:4px 4px 0 0;min-height:0}.hour-bars .hb.today{background:var(--green)}.hour-bars .hb.yesterday{background:#8bbf9a}.hour-col small{color:var(--muted);font-size:10px}.totals-card .total-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-top:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}.totals-card .total-row b{font-size:22px;letter-spacing:-.03em}.totals-card .total-row.delta.up b{color:var(--green)}.totals-card .total-row.delta.down b{color:var(--amber)}.day-chart-wrap{position:relative;margin-top:12px;min-width:0;max-width:100%}.day-chart{display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.day-col.active .day-bar{filter:brightness(1.08);box-shadow:0 0 0 2px #1c9a4540}.chart-tip{position:absolute;z-index:8;min-width:168px;max-width:220px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #d7e5dc;color:#1c2b24;font-size:12px;line-height:1.45;box-shadow:0 10px 24px #1235241f;pointer-events:none}.chart-tip-date{font-weight:700;margin-bottom:4px;color:#1c2b24}.chart-tip b{font-weight:700}.chart-tip .chart-tip-sales{color:#2563eb}.chart-tip .chart-tip-orders{color:#0f766e}.channel-list{display:grid;gap:10px;margin-top:8px}.channel-row{display:grid;grid-template-columns:minmax(120px,140px) minmax(0,1fr) 120px;gap:10px;align-items:center}.channel-meta{display:grid;gap:2px;min-width:0}.channel-meta b{font-size:14px}.channel-meta span{color:var(--muted);font-size:12px}.channel-bar-wrap{height:12px;background:#e7f3eb;border-radius:99px;overflow:hidden;min-width:0}.channel-bar{display:block;height:100%;background:linear-gradient(90deg,#2bb85a,var(--green-deep));border-radius:99px;min-width:0}.channel-amt{text-align:right;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.channel-total{display:flex;justify-content:space-between;gap:12px;margin-top:4px;padding-top:10px;border-top:1px dashed var(--line);color:var(--muted);font-size:13px}.channel-total b{font-size:16px}table.tight.sellers-table th,table.tight.sellers-table td,table.tight.restock-table th,table.tight.restock-table td{padding:8px;vertical-align:middle}table.tight.sellers-table th:first-child,table.tight.sellers-table td:first-child,table.tight.restock-table th:first-child,table.tight.restock-table td:first-child{padding-left:14px}table.tight.sellers-table th:last-child,table.tight.sellers-table td:last-child,table.tight.restock-table th:last-child,table.tight.restock-table td:last-child{padding-right:14px}table.tight.sellers-table tbody td,table.tight.restock-table tbody td{padding-top:10px;padding-bottom:10px}table.tight.sellers-table thead th,table.tight.restock-table thead th{text-align:center;white-space:normal;line-height:1.2;overflow-wrap:break-word;height:44px;vertical-align:middle}.sellers-table .col-store{width:18%;text-align:left;white-space:nowrap}.sellers-table .col-sku{width:11%;text-align:left;white-space:nowrap}.sellers-table .col-name{width:42%;text-align:left}.sellers-table .col-qty{width:11%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.sellers-table .col-net{width:18%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.restock-table .col-sku{width:12%;text-align:left;white-space:nowrap}.restock-table .col-name{width:34%;text-align:left}.restock-table .col-place{width:18%;text-align:left;white-space:nowrap}.restock-table .col-stock{width:13%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.restock-table .col-min{width:12%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.restock-table .col-suggest{width:11%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}table.tight.sellers-table thead .col-store,table.tight.sellers-table thead .col-sku,table.tight.sellers-table thead .col-name,table.tight.sellers-table thead .col-qty,table.tight.sellers-table thead .col-net,table.tight.restock-table thead .col-sku,table.tight.restock-table thead .col-name,table.tight.restock-table thead .col-place,table.tight.restock-table thead .col-stock,table.tight.restock-table thead .col-min,table.tight.restock-table thead .col-suggest{text-align:center}.name-wrap{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;word-break:break-word;white-space:normal;max-width:100%;max-height:2.5em}.sellers-table code,.restock-table code{font-family:IBM Plex Mono,ui-monospace,monospace;font-size:12px;letter-spacing:.01em;background:var(--mist);border:1px solid var(--line);border-radius:6px;padding:2px 6px;display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25;vertical-align:middle}.day-chart.scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:6px;overscroll-behavior-x:contain}.day-chart .day-col{flex:1 1 0;min-width:0}.day-chart.scroll .day-col{flex:0 0 clamp(28px,3.2vw,44px)}.day-col{display:grid;gap:4px;justify-items:center;text-align:center;min-width:0}.day-bar-wrap{height:110px;width:100%;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,transparent,#eef6f1 80%);border-radius:8px;padding:0 12%;position:relative}.day-chart.scroll .day-bar-wrap{padding:0 18%;border-radius:4px}.day-col.missing .day-bar-wrap{background:repeating-linear-gradient(-45deg,#f4f8f5,#f4f8f5 6px,#eef2f0 6px,#eef2f0 12px)}.day-bar{width:100%;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#2bb85a,var(--green-deep));min-height:0}.day-missing{align-self:center;font-size:14px;line-height:1;color:var(--muted);text-align:center}.day-col small{color:var(--muted);font-size:11px;max-width:100%;overflow:hidden;text-overflow:clip;white-space:nowrap}.day-col small.day-tick{height:14px}.day-col b{font-size:11px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.day-col b.day-amt-tight{font-size:9px;letter-spacing:-.03em}.day-col b.muted{color:var(--muted);font-weight:500}.range-pick{position:relative;min-width:0;flex:0 1 260px;display:inline-flex;align-items:center;gap:6px}.range-btn{flex:1;width:auto;min-width:0;height:44px}.range-btn-text{display:grid;gap:1px;min-width:0}.range-btn-text b{font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.range-btn-text small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.range-tip{flex:0 0 auto}.range-panel{display:grid;grid-template-columns:minmax(0,168px) minmax(0,1fr);gap:0;border-radius:16px;max-width:calc(100vw - 16px);width:min(520px,calc(100vw - 16px))}.range-presets{list-style:none;margin:0;padding:8px;border-right:1px solid var(--line);background:var(--mist);overflow-x:hidden;overflow-y:auto;min-width:0}.range-presets li{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;cursor:pointer;font-size:14px;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.range-presets li:hover{background:var(--leaf)}.range-presets li.active{background:var(--leaf);color:var(--green-deep);font-weight:650}.range-presets li.active:after{content:"✓";margin-left:auto;color:var(--green-deep);font-weight:700}.range-calendar{display:grid;gap:10px;padding:14px;align-content:start}.cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cal-head strong{font-size:14px}.cal-nav{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink)}.cal-nav:hover{background:var(--leaf);border-color:var(--green)}.cal-weekdays,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-weekdays span{text-align:center;font-size:11px;color:var(--muted);padding:4px 0}.cal-day{height:34px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:13px}.cal-day:disabled{visibility:hidden}.cal-day:not(:disabled):hover{background:var(--leaf)}.cal-day.in-range{background:var(--leaf);color:var(--green-deep)}.cal-day.start,.cal-day.end,.cal-day.single{background:var(--green);color:#fff;font-weight:650}.cal-range{margin:0;font-size:13px;font-weight:650;color:var(--ink);white-space:nowrap}.cal-actions{display:flex;justify-content:flex-end;gap:8px}.empty-inline{margin:18px 0 4px;padding:18px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px;background:var(--mist)}.data-stamp{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 0}.pending-line{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);color:var(--amber);font-size:13px;font-weight:650}@media(max-width:1100px){.bal-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:980px){.shell,.login,.kpis,.cards,.split,.fx-top,.dash-top,.dash-bottom{grid-template-columns:1fr}.fx-form-row{grid-template-columns:1fr 1fr}.fx-save{grid-column:1 / -1;width:100%}.dash .table-wrap{overflow-x:auto}.channel-row{grid-template-columns:90px minmax(0,1fr)}.channel-amt{grid-column:2;text-align:left}.side{height:auto;position:relative}.main:not(:has(.page.reports)):not(:has(.page.orders-page)):not(:has(.page.customers-page)):not(:has(.page.imports-page)):not(:has(.page.cash-page)):not(:has(.page.inv-page)):not(:has(.page.products-page)):not(:has(.page.attendance-page)):not(:has(.page.payroll-page)){max-height:none;overflow:visible}.main-body:not(:has(.page.reports)):not(:has(.page.orders-page)):not(:has(.page.customers-page)):not(:has(.page.imports-page)):not(:has(.page.cash-page)):not(:has(.page.inv-page)):not(:has(.page.products-page)):not(:has(.page.attendance-page)):not(:has(.page.payroll-page)){overflow:visible}.main:has(.page.reports),.main:has(.page.orders-page),.main:has(.page.customers-page),.main:has(.page.cash-page),.main:has(.page.inv-page),.main:has(.page.products-page),.main:has(.page.attendance-page),.main:has(.page.payroll-page){height:auto;max-height:none;overflow:visible}.main-body:has(.page.reports),.main-body:has(.page.orders-page),.main-body:has(.page.customers-page),.main-body:has(.page.cash-page),.main-body:has(.page.inv-page),.main-body:has(.page.products-page),.main-body:has(.page.attendance-page),.main-body:has(.page.payroll-page){overflow:auto;display:block}.page.reports,.page.orders-page,.page.customers-page,.page.cash-page,.page.inv-page,.page.products-page,.page.attendance-page,.page.payroll-page{height:auto;overflow:visible;display:grid}.attendance-page .att-tab-panel,.attendance-page .att-staff-panel,.attendance-page .att-staff-panel .att-block,.att-table-scroll.att-table-fit{flex:none;min-height:unset;overflow:visible;max-height:none}.page.reports .report-stick,.page.cash-page .cash-stick{position:sticky;top:0}.page.cash-page .cash-scroll{overflow:visible}.page.reports .report-head{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title export" "tabs tabs";gap:8px}.page.reports .report-channel-grid{grid-template-columns:1fr 1fr}.import-tick-cols,.page.customers-page .page-head{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.page.reports .report-profit-grid{grid-template-columns:1fr 1fr}.page.reports .report-sku-scroll{max-height:none;overflow-x:auto;overflow-y:visible}.orders-page .orders-stick{position:sticky;top:0}.orders-page .orders-table-scroll{flex:unset;min-height:unset;overflow-x:auto;overflow-y:visible}.orders-table thead th{top:0}.kpis{grid-template-columns:1fr}.report-kpis{grid-template-columns:1fr 1fr}.bal-kpis,.flow-day,.expand-grid,.excel-row{grid-template-columns:1fr}.excel-head,.excel-file{flex-wrap:wrap}.range-panel{grid-template-columns:1fr}.range-presets{border-right:0;border-bottom:1px solid var(--line);max-height:160px}.upload-deck,.upload-deck.dual,.brand-picks{grid-template-columns:1fr}.main:has(.page.imports-page){height:auto;max-height:none;overflow:visible}.main-body:has(.page.imports-page){overflow:auto;display:block}.page.imports-page{height:auto;overflow:visible;display:grid}.top{flex-wrap:wrap}}.page.attendance-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:14px;overflow:hidden;padding-bottom:14px}.attendance-page .att-tab-panel{flex:1;min-height:0;overflow:auto}.attendance-page .att-staff-panel{display:flex;flex-direction:column;overflow:hidden}.attendance-page .att-staff-panel .att-block{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.att-table-scroll.att-table-fit{flex:1;min-height:0;max-height:none;border:0;border-radius:0;background:transparent}.att-table-fit .att-table tbody tr:last-child td{border-bottom:0;padding-bottom:14px}@media(max-width:980px){.page.attendance-page{height:auto;overflow:visible;display:grid}.attendance-page .att-tab-panel,.attendance-page .att-staff-panel,.attendance-page .att-staff-panel .att-block,.att-table-scroll.att-table-fit{flex:none;min-height:unset;overflow:visible;max-height:none}}.attendance-page .lede{margin:4px 0 0;max-width:62ch}.att-toast{position:fixed;top:72px;right:24px;z-index:60;margin:0;box-shadow:var(--shadow);max-width:min(360px,calc(100vw - 48px))}.att-setup{padding:12px 14px;display:grid;gap:10px}.att-setup-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.att-setup-head h3{margin:0;font-size:16px}.att-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;align-items:start}.att-col{display:grid;gap:8px;min-width:0}.att-col h4{margin:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:650}.att-field{display:grid;gap:4px;min-width:0;font-size:12px;color:var(--muted);font-weight:600}.att-field>*:not(span){color:var(--ink);font-weight:500;width:100%;box-sizing:border-box}.att-field-wide{grid-column:1 / -1}.att-field-narrow{width:110px;flex:0 0 auto}.att-rules-row{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.att-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.att-label{font-size:12px;color:var(--muted);font-weight:600}.att-seg .btn.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.att-actions{gap:8px;align-items:center}.att-grow{flex:1;min-width:140px}.att-check{gap:8px;font-size:13px;color:var(--ink);font-weight:500}.att-discover{display:grid;gap:6px}.att-discover-item{text-align:left;border:1px solid var(--line);background:#f7faf8;border-radius:10px;padding:8px 10px;display:flex;justify-content:space-between;gap:8px;cursor:pointer}.att-discover-item:hover{border-color:var(--green)}.att-advanced{border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:#fafcfb}.att-advanced summary{cursor:pointer;font-weight:650;font-size:13px;color:var(--green-deep)}.att-advanced-body{display:grid;gap:8px;margin-top:8px}.att-punch{padding:14px 16px}.att-punch-grid{display:grid;grid-template-columns:minmax(220px,.9fr) 1.1fr;gap:16px;align-items:start}.att-punch-title{font-size:13px;font-weight:650;color:var(--green-deep);margin-bottom:6px}.att-punch-qr,.att-punch-form{display:grid;gap:8px;min-width:0}.att-qr-compact{width:160px;height:160px;margin:4px 0;border-width:8px;border-radius:18px}.att-qr-compact b{font-size:18px;letter-spacing:.1em;padding:8px 10px}.att-block{display:grid;gap:8px}.att-block h2{margin:0;font-size:18px}.att-table-wrap,.att-table-flow,.att-table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}.att-table-wrap,.att-table-scroll{max-height:min(520px,65vh)}.att-table-flow{max-height:none;overflow-x:auto;overflow-y:visible}.att-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.att-table thead th{position:sticky;top:0;z-index:2;background:#f4f7f5;box-shadow:inset 0 -1px 0 var(--line);white-space:nowrap}.att-sort{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.att-sort span{opacity:.45;font-size:12px;line-height:1}.att-sort:hover span,.att-sort[aria-pressed=true] span{opacity:.9}.att-table th,.att-table td{padding:10px 0;border-bottom:1px solid var(--line);vertical-align:middle;line-height:1.35;white-space:nowrap;box-sizing:border-box}.att-table tbody tr{min-height:48px}.att-table .num{text-align:right;font-variant-numeric:tabular-nums}.att-table .att-status{text-align:center}.att-review-stack{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;white-space:nowrap;max-width:100%}.att-review-stack .tag{max-width:100%}.att-review-note{display:block;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.att-table .tag,.att-nowrap{white-space:nowrap}.att-emp{text-align:left;white-space:nowrap}.att-pay-extras{display:flex;flex-direction:column;gap:2px;margin-top:4px}.att-pay-extras .hint{font-size:11px;line-height:1.3}.att-preview-row{display:grid;gap:6px;margin-top:4px}.att-preview-actions{flex-wrap:wrap;gap:6px}.att-shift-tag{border:0;cursor:pointer;font:inherit}.att-shift-tag:hover{filter:brightness(.97)}.att-shift-menu{min-width:168px}.att-shift-menu button{display:flex;align-items:center;gap:8px;width:100%}.att-shift-menu button.active{background:var(--leaf);color:var(--green-deep);font-weight:650}.att-shift-menu button.active:after{content:"✓";margin-left:auto}.att-col-actions{white-space:nowrap;text-align:right;vertical-align:middle}.att-action-btns{display:inline-flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:nowrap;width:100%;box-sizing:border-box}.att-action-btns--punch{display:grid;grid-template-columns:4.25rem minmax(6.75rem,auto);gap:6px;align-items:center;justify-content:end;margin-left:auto;width:max-content;max-width:100%}.att-action-btns--punch .att-action-edit{justify-self:stretch;min-width:0}.att-action-rest{display:inline-flex;gap:6px;align-items:center;justify-content:flex-end;min-height:28px}.att-action-rest .tag{min-width:5.5rem;justify-content:center;text-align:center;box-sizing:border-box}.att-status-lock{cursor:default}.att-sheet-search{min-width:160px;max-width:240px;height:36px;border-radius:12px;border:1px solid var(--line);padding:0 12px;font:inherit}.att-link-modal .att-link-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:28px;font-weight:700;letter-spacing:.12em;text-align:center;padding:16px;border-radius:14px;background:var(--leaf);color:var(--green-deep)}.att-dialog-danger{border-color:#f0c2c2;box-shadow:0 12px 40px #8c28281f}.att-dialog-danger h3{color:var(--red)}.attendance-page .page-head{margin:0}.attendance-page{gap:8px}.att-main-tabs{margin:0;gap:6px;flex:0 0 auto;flex-wrap:nowrap;overflow-x:auto;min-height:34px}.att-main-tabs button{border:1px solid color-mix(in srgb,var(--green) 28%,var(--line));background:#fff;color:var(--green-deep);height:34px;flex:0 0 auto}.att-tab-panel{display:grid;gap:10px;align-content:start}.att-ops-panel{gap:8px}.att-subtabs{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;align-self:start;margin:0;min-height:36px;height:auto;flex:0 0 auto;overflow-x:auto;overflow-y:hidden;padding:2px 0;box-sizing:border-box}.att-subtabs>button{border:1px solid var(--line);background:#fff;color:var(--green-deep);border-radius:999px;padding:0 12px;height:32px;min-height:32px;font-size:13px;font-weight:600;cursor:pointer;flex:0 0 auto;white-space:nowrap}.att-subtabs>button.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.att-section-toolbar{gap:8px;flex-wrap:wrap;min-height:34px}.att-section-toolbar h2{font-size:16px;line-height:1.2}.att-toolbar-actions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.att-toolbar-actions .btn,.att-toolbar-actions .att-month-btn,.att-toolbar-actions .att-sheet-search,.att-toolbar-actions .drop-btn,.att-pay-controls .btn,.att-pay-controls .att-month-btn,.att-pay-controls .drop-btn{height:34px;min-height:34px;box-sizing:border-box}.att-pay-controls .drop{min-width:148px}.att-pay-month{gap:8px}.att-pay-toolbar{margin:0}.att-sheets-block,.att-block{gap:6px}.att-rank{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,white 92%,var(--leaf))}.att-rank-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap}.att-rank-title{font-size:13px;font-weight:700;color:var(--ink)}.att-rank-field{display:grid;gap:2px;margin:0;min-width:0}.att-rank-field>span{font-size:11px;color:var(--muted);font-weight:600}.att-rank-field .drop{min-width:168px}.att-rank-field .drop-btn{height:34px;min-height:34px;border-radius:10px;font-size:13px}.att-rank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:8px}.att-rank-grid.busy{opacity:.65}.att-rank-card{--rank-accent: #3b6ea5;display:grid;gap:2px;align-content:start;text-align:left;min-width:0;min-height:88px;padding:10px;border:1px dashed color-mix(in srgb,var(--rank-accent) 40%,var(--line));border-radius:10px;background:transparent;cursor:pointer}.att-rank-card[data-tone=late]{--rank-accent: #c47a3a}.att-rank-card[data-tone=leave]{--rank-accent: #c45b5b}.att-rank-card[data-tone=early]{--rank-accent: #2f7d4a}.att-rank-card[data-tone=ot]{--rank-accent: #3b6ea5}.att-rank-card[data-tone=night]{--rank-accent: #4a6fa5}.att-rank-card[data-tone=teal]{--rank-accent: #2a8f8a}.att-rank-card:hover{background:color-mix(in srgb,var(--rank-accent) 7%,white)}.att-rank-card-metric{font-size:11px;font-weight:700;color:var(--rank-accent);text-transform:uppercase;letter-spacing:.03em}.att-rank-card-name{font-size:14px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-rank-card-value{font-size:18px;font-weight:700;color:var(--rank-accent);font-variant-numeric:tabular-nums;line-height:1.2}.att-rank-card-hint{font-size:11px;color:var(--muted);margin-top:2px}.att-rank-error{margin:0}.att-rank-modal{--rank-accent: #3b6ea5;width:min(560px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(78vh,560px);display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;overflow-x:hidden;box-sizing:border-box}.att-rank-modal[data-tone=late]{--rank-accent: #c47a3a}.att-rank-modal[data-tone=leave]{--rank-accent: #c45b5b}.att-rank-modal[data-tone=early]{--rank-accent: #2f7d4a}.att-rank-modal[data-tone=ot]{--rank-accent: #3b6ea5}.att-rank-modal[data-tone=night]{--rank-accent: #4a6fa5}.att-rank-modal[data-tone=teal]{--rank-accent: #2a8f8a}.att-rank-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px 8px;flex:0 0 auto}.att-rank-modal-head h3{margin:0;font-size:17px;line-height:1.2}.att-rank-modal-head .btn{height:32px;flex:0 0 auto}.att-rank-modal-tools{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px;padding:0 14px 8px;flex:0 0 auto;min-width:0}.att-rank-modal-tools .drop{min-width:0;width:100%}.att-rank-modal-tools .drop-btn{height:34px;min-height:34px;width:100%;max-width:100%}.att-rank-modal-tools .drop-label,.att-rank-modal-tools .drop-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-rank-modal-rule{margin:0;padding:0 14px 8px;font-size:12px;line-height:1.35;color:var(--muted);flex:0 0 auto}.att-rank-modal-table{flex:1 1 auto;min-height:0;width:100%;overflow-x:hidden;overflow-y:auto;border-top:1px solid var(--line);box-sizing:border-box}.att-rank-board{width:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0}.att-rank-board th,.att-rank-board td{border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap;height:44px;line-height:1.3;box-sizing:border-box;padding:0 10px;overflow:hidden;text-overflow:ellipsis}.att-rank-board th:first-child,.att-rank-board td:first-child{padding-left:12px}.att-rank-board th:last-child,.att-rank-board td:last-child{padding-right:12px}.att-rank-board thead th{background:#f4f7f5;font-size:12px;font-weight:650;color:var(--muted);text-align:left}.att-rank-board thead th.num,.att-rank-board td.num{text-align:right}.att-rank-board .att-emp{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.att-rank-board .att-emp .hint{margin-left:6px}.att-rank-pos{color:var(--muted);font-variant-numeric:tabular-nums}.att-rank-cell{color:var(--rank-accent);font-weight:700;font-variant-numeric:tabular-nums}@media(max-width:720px){.att-main-tabs,.att-subtabs{flex-wrap:nowrap}}.att-emp-name{display:inline;font-weight:600;margin:0 8px 0 0}.att-emp-code{display:inline;margin:0}.att-qr-visual{display:grid;justify-items:start;gap:8px;margin:4px 0}.att-qr-visual img{width:136px;height:136px;border-radius:14px;border:1px solid var(--line);background:#fff}.att-qr-token{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;letter-spacing:.08em;color:var(--muted)}.att-punch{padding:12px 14px}.att-punch-grid{align-items:start}.att-setup-grid{gap:12px 16px}.att-field{gap:3px}.att-col{gap:6px}.att-more{position:relative;display:inline-flex}.att-more-btn{min-width:34px;font-weight:700;letter-spacing:.08em}.att-more-menu{min-width:220px;max-height:min(320px,calc(100vh - 24px));overflow:auto;padding:6px;border-radius:12px;border:1px solid color-mix(in srgb,var(--green) 28%,var(--line));background:#fff;box-shadow:var(--shadow);display:grid;gap:2px}.att-more-menu button{border:0;background:transparent;text-align:left;padding:9px 12px;border-radius:8px;font:inherit;cursor:pointer;color:var(--ink)}.att-more-menu button:hover{background:var(--leaf)}.att-more-menu button.danger{color:var(--red)}.att-more-menu .att-more-sep{height:1px;margin:4px 6px;background:var(--line)}.att-month-picker{display:inline-flex}.att-month-btn{display:inline-flex;align-items:center;gap:8px;min-width:160px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--green-deep);font:inherit;font-weight:600;cursor:pointer}.att-month-btn:hover{border-color:color-mix(in srgb,var(--green) 40%,var(--line));background:var(--leaf)}.att-month-menu{border-radius:14px;border:1px solid color-mix(in srgb,var(--green) 28%,var(--line));background:#fff;box-shadow:var(--shadow);padding:10px}.att-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.att-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.att-month-cell{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 6px;font:inherit;font-size:12px;font-weight:600;color:var(--green-deep);cursor:pointer}.att-month-cell:hover{background:var(--leaf)}.att-month-cell.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.att-pay-controls{flex-wrap:wrap;gap:8px;align-items:center}.btn.danger-soft{background:#fff5f5;color:#b42318;border:1px solid #f0c2c2}.btn.danger-soft:hover:not(:disabled){filter:brightness(.98);background:#ffecec}.att-switch-copy{display:grid;gap:2px}.att-switch-copy small{color:var(--muted);font-weight:500;font-size:12px}.att-switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--green) 18%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--leaf) 55%,white);font-size:13px;font-weight:500;color:var(--ink)}.att-switch-row .att-switch-copy{flex:1 1 auto;min-width:0;width:auto;max-width:none}.att-switch,input.att-switch{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:42px!important;min-width:42px;max-width:42px;height:24px;border-radius:999px;border:1px solid var(--line);background:#dfe7e2;position:relative;cursor:pointer;flex:0 0 42px;margin:0;transition:background-color var(--motion-fast),border-color var(--motion-fast)}.att-switch:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026;transition:transform var(--motion-fast)}.att-switch:checked{background:var(--green);border-color:var(--green)}.att-switch:checked:after{transform:translate(18px)}.modal.card.form.att-modal{display:flex;flex-direction:column;gap:0;max-height:min(92vh,720px);width:min(520px,calc(100vw - 24px));padding:0;overflow:hidden}.att-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px 8px;flex:0 0 auto}.att-modal-head h3{margin:0}.att-modal-name{margin:4px 0 0}.att-modal-body{display:grid;gap:10px;padding:4px 18px 8px;overflow:auto;min-height:0;flex:1 1 auto}.att-punch-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.att-modal-actions{justify-content:flex-end;gap:8px;margin:0;padding:12px 18px 16px;border-top:1px solid var(--line);background:#fff;flex:0 0 auto}@media(max-width:560px){.att-punch-times{grid-template-columns:1fr}}.att-pay-month{display:grid;gap:8px}.att-pay-toolbar{justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center}.att-pay-title{margin:0;font-size:16px;display:inline-flex;align-items:center}.att-pay-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.att-pay-kpi{border:1px solid var(--line);border-radius:12px;background:#f7faf8;padding:10px 12px;display:grid;gap:4px}.att-pay-kpi-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:650}.att-pay-kpi strong{font-size:16px;font-variant-numeric:tabular-nums;color:var(--green-deep)}.page.inv-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:12px;overflow:hidden;padding:16px 22px 12px}.inv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:0 0 auto}.inv-kpis.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.inv-kpis .card{padding:8px 12px;box-shadow:none}.inv-kpis .card .label{font-size:12px;white-space:normal;line-height:1.35}.inv-kpis .card .value{font-size:22px;margin-top:2px}.inv-kpis .card.is-link{cursor:pointer}.inv-substats{display:flex;flex-wrap:wrap;gap:8px 18px;flex:0 0 auto;color:var(--muted);font-size:13px}.inv-substats strong{color:var(--ink, var(--green-deep));font-weight:700}.inv-kpis .val-low{color:var(--amber)}.inv-kpis .val-zero{color:var(--muted)}.inv-kpis .val-neg{color:var(--red)}.inv-kpis .val-fifo{color:var(--green);font-size:18px}.inv-tabs{flex:0 0 auto}.inv-panel.stock{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overflow:hidden}.inv-ops{flex:1;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.inv-open-row{display:flex;align-items:center;gap:16px;width:100%;min-width:0;min-height:40px}.inv-open-row>span{white-space:nowrap}.inv-open-row .inv-more{flex:0 0 auto}.inv-ops-card,.inv-settings{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px}.inv-ops-card h2{margin:0 0 8px;font-size:16px}.inv-ops-card p{margin:0 0 8px}.inv-kpis .card{border:1px solid var(--line)}.inv-kpis .kpi-total{background:#f4faf6;border-color:color-mix(in srgb,var(--green-deep) 22%,var(--line))}.inv-kpis .kpi-total .value{color:var(--green-deep)}.inv-kpis .kpi-low{background:var(--amber-bg);border-color:#f0ddb0}.inv-kpis .kpi-low .value{color:#9a6700}.inv-kpis .kpi-zero{background:#f4f7f6;border-color:#d5e0db}.inv-kpis .kpi-zero .value{color:#3d5a66}.inv-kpis .kpi-neg{background:var(--red-bg);border-color:#f0c9c4}.inv-kpis .kpi-neg .value{color:var(--fig-cost)}.inv-kpis .kpi-fifo{background:#f3fbf8;border-color:#b7e0d6}.inv-kpis .kpi-fifo .value{color:#0f766e;font-size:18px}.inv-kpis .kpi-hot{background:#fff4ee;border-color:#f0c2a8}.inv-kpis .kpi-hot .value{color:#c2410c}.inv-check-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}.inv-check-bit{flex:1 1 220px;min-width:180px}.inv-check-start{flex:0 0 auto;margin-left:auto;height:42px}.inv-choice{display:flex;flex-wrap:wrap;gap:8px}.inv-choice button{height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--green-deep);font:inherit;font-weight:650;cursor:pointer}.inv-choice button.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.inv-review{border:1px solid var(--line);border-radius:12px;padding:12px;background:#f7fbf8}.inv-review p{margin:6px 0 0}.inv-act{text-align:right;white-space:nowrap}.inv-act .btn+.btn{margin-left:6px}.inv-page .btn{white-space:nowrap}.inv-page .btn.secondary{border-color:var(--green)}.modal.inv-modal.list{width:min(920px,calc(100vw - 32px));max-height:min(86vh,calc(100dvh - 32px));overflow:auto}.inv-list-scroll{max-height:min(52vh,480px)}.inv-list-scroll thead th{position:sticky;top:0;background:#fff;z-index:1}.inv-list-count{margin:8px 0 0;color:var(--muted);font-size:13px}.inv-sale{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:10px}.modal.inv-modal label.inv-reorder{display:inline-flex;flex-direction:row;align-items:center;gap:8px;width:auto;margin:0;color:var(--ink);font-size:13px;font-weight:600;white-space:nowrap}.modal.inv-modal label.inv-reorder>input{width:16px;height:16px;max-width:16px;margin:0;flex:0 0 auto}.inv-sale>button{height:40px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--green-deep);font:inherit;cursor:pointer;flex:0 0 auto}.inv-sale>button.active{background:var(--leaf);border-color:var(--green)}.inv-sale-label{color:var(--ink);font-weight:600;white-space:nowrap}.inv-sale-qty{width:72px;height:40px;padding:0 8px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center;flex:0 0 auto}.inv-sale-qty.active,.inv-sale-qty:focus{border-color:var(--green);outline:none}.inv-demand tbody tr:nth-child(2n){background:#f4f7f8}.inv-demand .inv-sold{border:0;background:none;padding:0;color:#0f766e;font:inherit;font-weight:750;cursor:pointer}.inv-demand .inv-zero{background:var(--red-bg);color:var(--fig-cost)}.inv-demand .inv-last{color:var(--muted)}.inv-check-split{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.inv-check-split>.inv-ops-card{min-width:0}.inv-saved-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.inv-saved-head h2{margin:0}.inv-saved-head span{color:var(--muted);font-size:13px;font-weight:600}.inv-saved-list{width:100%;margin-top:8px;overflow:visible}.inv-saved-list.many{max-height:240px;overflow-x:hidden;overflow-y:auto}.inv-saved-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px 16px;width:100%;min-height:44px;padding:4px 0;border-bottom:1px solid var(--line)}.inv-saved-main{display:flex;align-items:center;gap:16px;min-width:0;justify-self:start}.inv-saved-meta,.inv-saved-sku{color:var(--muted);font-size:13px;white-space:nowrap}.inv-saved-sku{justify-self:center}.inv-saved-row .inv-more{justify-self:end}.inv-ops>.inv-ops-card,.inv-check-split>.inv-ops-card{padding:10px 14px}.inv-ops>.inv-ops-card>h2,.inv-check-split h2{margin:0 0 4px}.inv-set-group+.inv-set-group{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.inv-set-group h3{margin:0 0 6px;font-size:14px}.inv-set-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.inv-set-head h3{margin:0}.inv-set-head .btn,.inv-set-token .btn,.inv-set-msg .btn{width:auto;height:42px;padding:0 14px;flex:0 0 auto}.inv-set-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;align-items:end}.inv-set-grid label,.inv-set-token label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:700;color:var(--muted)}.inv-set-grid input,.inv-set-token input{height:42px;width:100%;min-width:0;box-sizing:border-box}.inv-set-token,.inv-set-msg{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.inv-set-token label{flex:1 1 180px}.inv-set-msg{align-items:center;margin-top:6px}.inv-set-msg .drop{flex:0 0 auto;width:auto;min-width:0}.inv-set-msg .drop-btn,.inv-set-msg .btn{height:32px;padding:0 10px;font-size:13px}.inv-set-msg .drop-btn{width:auto}.inv-set-note{margin:0 0 6px;color:var(--muted);font-size:12px;font-weight:700}.inv-check-flags{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px}.inv-check-flags label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;width:auto;margin:0;font-weight:600;color:var(--ink)}.inv-tick{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;padding:0;flex:0 0 18px;border:1.5px solid var(--green);border-radius:4px;background:#fff;display:inline-grid;place-items:center}.inv-tick:checked{background:var(--green);border-color:var(--green)}.inv-tick:checked:after{content:"";width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}.inv-tick:focus-visible{outline:2px solid var(--green);outline-offset:2px}@media(max-width:900px){.inv-check-grid{display:flex;flex-wrap:wrap}.inv-check-flags{flex-wrap:wrap}.inv-check-split{grid-template-columns:1fr}}.inv-table .tag.green{background:var(--leaf);color:var(--green-deep)}.inv-table .tag.amber{background:var(--amber-bg);color:#9a6700}.inv-table .tag.quiet{background:#e7eef0;color:#3d5a66}.inv-table .tag.red{background:var(--red-bg);color:var(--fig-cost)}.inv-cost{color:var(--green-deep)}.inv-settings:not([open])>.inv-check{display:none}.inv-more:not([open])>.inv-more-menu{display:none}.inv-more{position:relative;display:inline-block}.inv-page .inv-more>summary{list-style:none;width:36px;height:36px;min-width:36px;padding:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.inv-more summary::-webkit-details-marker{display:none}.inv-mini td.inv-act{width:48px}.inv-more-menu{display:none;position:absolute;right:0;top:calc(100% + 14px);z-index:5;min-width:140px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:4px;flex-direction:column}.inv-more[open]>.inv-more-menu{display:flex}.inv-more-menu button{border:0;background:transparent;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;color:inherit}.inv-more-menu button:hover{background:var(--leaf)}.inv-settings>summary{font-weight:650;cursor:pointer}.inv-ops .inv-search{width:100%;margin-top:8px;height:42px;box-sizing:border-box}.inv-check{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:16px;background:#fff}.inv-check-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.inv-check-grid{display:grid;grid-template-columns:max-content repeat(3,150px) max-content minmax(160px,220px) max-content max-content;align-items:end;gap:8px 10px;overflow-x:auto}.inv-check-grid label{display:grid;gap:4px;white-space:nowrap}.inv-check-grid input,.inv-check-grid .btn{height:42px}.inv-check-grid>.btn{width:auto}.inv-check-flags{flex-wrap:wrap;align-items:center}.inv-check-flags .drop-btn,.inv-check-flags .btn{height:42px}.inv-check-name{font-weight:750;margin-right:2px}.inv-check label{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:650}.inv-check-flags,.inv-check-flags label{font-weight:500;font-size:13px}.inv-check input[type=time]{width:118px}.inv-check input[type=text]{width:148px}.inv-check input.inv-token{width:220px}.inv-check select{width:132px}.inv-check input,.inv-check select{height:40px;box-sizing:border-box;padding:0 10px}.inv-check input[type=checkbox]{width:16px;height:16px;padding:0}.inv-check .btn,.inv-check .drop-btn,.inv-check input[type=time],.inv-check input.inv-token{height:40px}.inv-check .btn{height:40px;padding:0 12px}.inv-chip{display:inline-flex;align-items:center;gap:6px;padding:2px 4px 2px 10px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:13px;white-space:nowrap}.inv-chip .btn{height:32px}.inv-seen{color:var(--muted);font-size:13px}.inv-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex:0 0 auto}.inv-toolbar .inv-search{flex:1 1 220px;min-width:0;max-width:100%}.inv-page .drop{flex:0 0 auto;min-width:148px;width:auto}.inv-page .drop-btn{height:42px}.inv-page .inv-set-msg .drop{min-width:0}.inv-page .inv-set-msg .drop-btn{height:32px;width:auto;padding:0 10px;font-size:13px}.inv-toolbar input,.inv-toolbar select,.inv-modal .inv-search{height:42px;box-sizing:border-box}.inv-toolbar .btn{height:42px}.inv-scroll{flex:1;min-height:0;overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.inv-table{width:100%;table-layout:fixed;border-collapse:collapse}.inv-table thead th{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 1px 0 var(--line)}.inv-table th,.inv-table td{vertical-align:middle;white-space:nowrap}.inv-table .th-sort,.inv-sku-table .th-sort{border:0;background:transparent;padding:0;font:inherit;font-weight:700;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:4px;width:auto;white-space:nowrap}.inv-table th.num .th-sort,.inv-sku-table th.num .th-sort{justify-content:flex-end}.inv-table .th-sort span,.inv-sku-table .th-sort span{width:.8em;text-align:center;flex:0 0 auto}.inv-table .mid{text-align:center}.inv-table tbody tr{height:auto}.inv-table .num{text-align:right;font-variant-numeric:tabular-nums}.inv-table .tag{white-space:nowrap;line-height:1.25;text-align:center}.inv-name{white-space:nowrap}.inv-sku-table td,.inv-lot td{vertical-align:middle}.inv-empty{text-align:center;color:var(--muted)}.inv-page .pager{flex:0 0 auto}.modal.inv-modal{width:min(560px,calc(100vw - 32px))}.modal.inv-modal.wide{width:min(760px,calc(100vw - 32px))}.inv-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.inv-modal-head h3{margin:0}.inv-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:12px}.inv-form .span-2{grid-column:1 / -1}.inv-form input,.inv-form select{height:42px;padding:0 12px;box-sizing:border-box}.inv-page .inv-form label{display:grid;gap:4px;align-content:start;font-size:13px;font-weight:650}.inv-page .inv-form input{width:100%}.inv-page .inv-form label.inv-check{display:flex}.inv-form-actions{flex-wrap:wrap;gap:8px}.inv-form label.inv-check{display:flex;align-items:center;gap:8px;min-height:42px;font-weight:500}.inv-form label.inv-check input{width:16px;height:16px;padding:0;flex:0 0 auto}.inv-form-actions{display:flex;justify-content:flex-end}.inv-form-actions .btn{height:42px;padding:0 18px}.inv-fold{margin-top:12px}.inv-fold summary{cursor:pointer;font-weight:650}.inv-fold-scroll{max-height:240px;overflow:auto}.inv-receipt-bar{display:flex;align-items:center;justify-content:flex-end;min-height:52px;padding:6px 16px;background:#fff;border:1px solid var(--line);border-radius:16px;flex:0 0 auto}.inv-receipt-bar .btn{height:42px}.inv-drawer-back{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0f241959;display:flex;justify-content:flex-end}.inv-drawer{width:min(520px,100%);height:100%;background:#fff;display:flex;flex-direction:column;gap:12px;padding:16px;box-shadow:var(--shadow)}.inv-drawer-form{display:flex;flex-direction:column;flex:1;min-height:0}.inv-drawer-body{flex:1;min-height:0;overflow:auto}.inv-drawer .inv-form{margin-top:4px;gap:12px 16px}.inv-drawer .inv-form input{height:42px}.inv-drawer-foot{display:flex;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.inv-drawer-foot .btn{height:42px;width:auto;padding:0 16px}.inv-fifo-card{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.inv-lot-search{display:block;width:100%;margin:12px 0;position:static;flex:0 0 auto}.inv-fifo-card .inv-lot-scroll{flex:1;min-height:0;max-height:none;margin-top:0;overflow:auto}.inv-fifo-card .pager{margin-top:8px;flex-shrink:0}.inv-lot thead th{position:sticky;top:0;background:#fff;z-index:1}.inv-lot th,.inv-lot td{white-space:nowrap}.inv-lot,.inv-sku-table{width:100%;table-layout:fixed;border-collapse:collapse}.inv-sku-table td.inv-act{width:auto;white-space:nowrap;text-align:center;vertical-align:middle}.inv-sku-table .inv-act .btn{height:32px}.inv-list-scroll{overflow:auto}.pager-size{display:inline-flex;flex-direction:row;align-items:center;gap:6px;width:auto;font-weight:600;color:var(--muted)}.pager-size select{width:auto;height:36px;padding:0 8px;border:1px solid var(--line);border-radius:10px;background:#fff}.modal.inv-modal label.pager-size{display:inline-flex;flex-direction:row;width:auto;margin:0;color:var(--muted);font-weight:600}.modal.inv-modal label.pager-size>select{width:auto;max-width:none;flex:0 0 auto}.modal.inv-modal.check{width:min(1120px,calc(100vw - 32px));height:min(86vh,calc(100dvh - 32px));display:flex;flex-direction:column;overflow:hidden}.inv-check-sheet{flex:1;min-height:0;overflow:auto;margin-top:8px}.inv-check-sheet table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.inv-check-sheet thead th{position:sticky;top:0;z-index:1;background:#fff;white-space:nowrap}.inv-check-sheet th:first-child,.inv-check-sheet td:first-child{position:sticky;left:0;z-index:1;background:#fff}.inv-check-sheet thead th:first-child{z-index:2}.inv-mini{width:100%;font-size:13px}.inv-mini .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.inv-modal .inv-search{width:100%;margin-top:12px}.inv-modal .excel-import.stacked>.btn.secondary{width:auto;justify-self:start}.recipes-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;min-width:0}.recipes-title{min-width:0;flex:1 1 240px}.recipes-title .lede{max-width:none}.recipes-head .btn{height:42px;flex:0 0 auto;white-space:nowrap}.recipes-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.recipes-search{flex:1 1 220px;min-width:0;width:auto;height:42px;box-sizing:border-box}.recipes-groups{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%;padding:2px;border:1px solid var(--line);border-radius:14px;background:#fff}.recipes-groups button{height:36px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:650;padding:0 12px;white-space:nowrap}.recipes-groups button.on{background:var(--leaf);color:var(--green-deep)}.recipes-tools select{height:42px;width:auto;max-width:100%;box-sizing:border-box}.recipes-size{display:inline-flex;align-items:center;gap:8px;height:42px;margin:0;color:var(--muted);font-size:13px;font-weight:650;white-space:nowrap}.recipes-page .table-wrap{overflow-x:auto;overflow-y:visible;max-width:100%}.recipes-table{width:100%}.recipes-table th,.recipes-table td{vertical-align:middle}.recipes-table .name{font-weight:650;min-width:8rem}.recipes-table .grp{white-space:nowrap}.recipes-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.recipes-table .act{width:1%;text-align:right;white-space:nowrap}.recipes-table tbody tr{cursor:pointer}.recipes-table tbody tr:hover td{background:color-mix(in srgb,var(--leaf) 45%,white)}.recipes-table tbody tr.on td{background:var(--leaf)}.recipes-table .margin{color:var(--fig-revenue);font-weight:650}.recipes-table .margin.loss{color:var(--fig-cost)}.recipes-empty{text-align:center;color:var(--muted)}.recipes-page .pager{flex-wrap:wrap;min-width:0}.recipes-page .tag.milk{background:var(--leaf);color:var(--green-deep)}.recipes-page .tag.tea{background:var(--info-bg);color:var(--info)}.recipes-page .tag.coffee{background:var(--amber-bg);color:var(--amber)}.recipes-drawer{width:min(720px,100%)}.recipes-drawer .inv-modal-head{align-items:flex-start}.recipes-drawer .inv-modal-head h3{min-width:0}.recipes-drawer .inv-modal-head .btn{flex:0 0 auto;height:36px}.recipes-drawer .inv-drawer-body{display:grid;gap:18px;align-content:start}.recipes-block{display:grid;gap:8px;justify-items:start;min-width:0}.recipes-block h3{margin:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.recipes-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.recipes-metric{min-width:0;border:1px solid var(--line);border-radius:12px;padding:8px 10px}.recipes-metric span{display:block;color:var(--muted);font-size:12px;font-weight:650}.recipes-metric strong{display:block;font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.recipes-metric.price strong{color:var(--ink)}.recipes-metric.cost strong{color:var(--amber)}.recipes-metric.profit strong{color:var(--fig-revenue)}.recipes-metric.profit.loss strong{color:var(--fig-cost)}.recipes-lines{width:100%}.recipes-lines th,.recipes-lines td{vertical-align:middle}.recipes-lines td:nth-child(2),.recipes-lines th:nth-child(2){white-space:nowrap}.recipes-how{margin:0;line-height:1.5;white-space:pre-wrap}.modal.recipes-add{width:min(640px,calc(100vw - 32px))}.recipes-add-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.recipes-add-margin{grid-column:1 / -1;margin:0;font-weight:650;color:var(--fig-revenue)}.recipes-add-margin.loss{color:var(--fig-cost)}.recipes-lines-edit{display:grid;gap:8px;min-width:0}.recipes-lines-edit .hint{margin:0}.recipes-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.recipes-line .name-pick{flex:1 1 180px;min-width:0}.recipes-line .unit-pick{flex:0 0 120px;width:120px}.recipes-line .name-pick .drop,.recipes-line .unit-pick .drop{min-width:0;width:100%}.recipes-add .drop-btn,.recipes-size .drop-btn{height:42px}.recipes-size .drop{min-width:0;width:84px;flex:0 0 auto}.recipes-line .qty{flex:0 1 96px;width:96px;min-width:72px;height:42px}.recipes-line .btn,.recipes-add-foot .btn{height:42px;padding:0 14px}.recipes-add-foot{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:4px}@media(max-width:560px){.recipes-add-prices{grid-template-columns:1fr}}@media(max-width:640px){.recipes-metrics{grid-template-columns:1fr}.recipes-head .btn{width:100%}}@media(max-width:980px){.page.inv-page{height:auto;overflow:visible;display:grid}.inv-panel.stock{overflow:visible;height:auto}.inv-scroll{overflow:auto;max-height:none}.inv-kpis,.inv-kpis.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.inv-form{grid-template-columns:1fr}}@media(max-width:900px){.att-setup-grid,.att-punch-grid{grid-template-columns:1fr}.att-field-narrow{width:100%;flex:1 1 120px}.att-pay-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.main:has(.page.products-page){background:#f4f8fc}.page.products-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:12px;overflow:hidden;padding:16px 22px 12px;background:#f4f8fc}.products-page h1,.products-page h3{color:#1e3a8a}.products-page .btn:not(.secondary):not(.danger):not(.danger-soft){background:#1e3a8a}.products-page .lede{max-width:none}.prod-head,.prod-tops,.prod-tools,.prod-excel,.products-page .pager,.products-page .error{flex:0 0 auto}.prod-tops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.prod-top{display:grid;gap:2px;min-width:0;text-align:left;border-radius:14px;padding:10px 12px;border:1px solid transparent;cursor:pointer;font:inherit;color:inherit}.prod-top span{font-size:12px;color:#3d4d63}.prod-top strong{font-size:15px;font-weight:680;color:#1e3a8a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prod-top em{font-style:normal;font-size:13px;font-variant-numeric:tabular-nums;color:#1c2b24}.prod-top.m3{background:#e8f1fb;border-color:#c5d7f2}.prod-top.d7{background:#e7f4fb;border-color:#c5e0f0}.prod-top.yd{background:#eef0fb;border-color:#d4d8f2}.prod-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.prod-tools input{flex:1 1 220px;min-width:0;height:44px;box-sizing:border-box}.prod-tools .drop{flex:0 0 180px;min-width:160px;width:180px}.prod-tools .btn{height:44px;white-space:nowrap}.prod-excel{border:1px dashed #d5e0ea;border-radius:14px;background:#fff}.prod-excel summary{cursor:pointer;padding:10px 14px;color:#3d4d63;font-weight:650}.prod-excel .excel-import{border:0;box-shadow:none;background:transparent;padding-top:0}.prod-scroll{flex:1;min-height:0;overflow:auto;background:#fff;border:1px solid #d7e3ee;border-radius:18px}.prod-table{width:100%;min-width:880px;table-layout:fixed;border-collapse:collapse}.prod-table .c-sku{width:168px}.prod-table .c-sup{width:180px}.prod-table .c-line{width:148px}.prod-table .c-money{width:124px}.prod-table .c-cur{width:72px}.prod-table .c-qty{width:112px}.prod-table .c-act{width:156px}.prod-table thead th{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 1px #d7e3ee}.prod-table th,.prod-table td{padding:10px 12px;vertical-align:middle}.prod-table th:first-child,.prod-table td:first-child{padding-left:12px}.prod-table th:last-child,.prod-table td:last-child{padding-right:12px}.prod-table .num{text-align:right;font-variant-numeric:tabular-nums}.prod-table .act{text-align:right;white-space:nowrap}.prod-table .sku{white-space:nowrap}.prod-table .name{white-space:normal;overflow-wrap:anywhere}.prod-table tbody tr:nth-child(2n){background:#f7fafc}.prod-table tbody tr.archived{color:#64748b}.prod-table .stock-ok{color:#079455;font-weight:650}.prod-table .stock-low{color:#9a6408;font-weight:650}.prod-table .stock-out{color:#d9485f;font-weight:650}.prod-table .prod-empty{text-align:center;color:var(--muted)}.prod-table .act .btn{margin-left:6px}.products-page .prod-pagesize{min-width:84px;width:84px}.products-page .pager{color:#3d4d63}.modal.prod-modal{width:min(720px,calc(100vw - 32px));border-top:3px solid var(--rank, #23845B)}.prod-modal.quarter{--rank: #23845B;--rank-bg: #EAF5EF}.prod-modal.week{--rank: #3B6FC4;--rank-bg: #EEF4FF}.prod-modal.yesterday{--rank: #B86A12;--rank-bg: #FFF5E8}.prod-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.prod-modal-head h3{margin:0;min-width:0}.prod-modal h3{color:var(--rank);font-weight:700}.prod-modal .btn.prod-close{background:#fff;color:#1c2b24;border:1px solid var(--rank)}.prod-modal .btn.prod-close:hover:not(:disabled){background:var(--rank-bg);border-color:var(--rank);filter:none}.prod-rank-scroll{max-height:min(60vh,480px);overflow:auto;margin-top:12px}.prod-rank{width:100%;table-layout:fixed;border-collapse:collapse}.prod-rank .c-rank{width:52px}.prod-rank .c-sku{width:108px}.prod-rank .c-sold{width:118px}.prod-rank th{position:sticky;top:0;background:var(--rank-bg);color:#1c2b24;font-weight:700}.prod-rank td{color:#1c2b24}.prod-rank tbody tr:nth-child(2n){background:#f3f6f8}.prod-rank .name{font-weight:650}.prod-rank .num{text-align:right;font-variant-numeric:tabular-nums}.prod-place{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#eef2f4;color:#3d4d63;font-weight:700;font-size:12px}.prod-place.gold{background:#f6e3a1;color:#7a4e00}.prod-place.silver{background:#e4e9ee;color:#3e4a56}.prod-place.bronze{background:#f0d2be;color:#7a3e1d}.prod-sku{display:inline-block;max-width:100%;padding:2px 7px;border-radius:6px;background:#e7eef2;color:#3d5260;font-weight:650;font-size:12px}.prod-sold{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--rank-bg);color:var(--rank);font-weight:700}.products-page .modal label{display:grid;gap:4px;font-size:13px;color:#3d4d63}.products-page .modal label input,.products-page .modal label .drop{width:100%;min-width:0}.prod-confirm{display:flex;justify-content:flex-end;gap:8px}@media(max-width:980px){.page.products-page{height:auto;overflow:visible;display:grid}.prod-scroll{overflow:auto;max-height:none}.prod-tops{grid-template-columns:1fr}}.purchases-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:14px;min-width:0;overflow:hidden}.po-suggest,.po-orders{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overflow:hidden}.po-suggest>.po-block,.po-orders>.po-received{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.po-orders>.po-progress{flex:0 1 auto;max-height:34%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.po-lots-tab>.po-received,.po-progress-tab>.po-progress{flex:1 1 auto;max-height:none;align-content:start}.po-progress-tab{overflow:auto}.po-suggest>.po-block>.po-table-scroll,.po-orders>.po-block>.po-table-scroll{flex:1;min-height:0;overflow:auto}.po-block>header,.po-pager{flex:0 0 auto}.po-field .drop{width:100%}.purchases-page h1{color:var(--green-ink)}.purchases-page h2{margin:0;font-size:16px;font-weight:680}.po-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}.po-head>div{min-width:0}.po-tabs{display:flex;gap:6px;align-self:flex-start}.po-tabs button,.po-period button,.po-btn,.po-mini,.purchases-page .po-control,.purchases-page .po-search,.purchases-page .drop-btn{height:40px;border-radius:10px;border:1px solid var(--line);background:#fff;box-sizing:border-box}.po-tabs button{padding:0 14px;color:var(--green-deep);font-weight:650}.po-tabs button.active{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.po-toolbar{display:flex;align-items:center;gap:8px;min-width:0}.po-search{flex:1 1 280px;min-width:180px;padding:0 12px}.po-date{width:150px;flex:0 0 150px;padding:0 10px}.po-count{margin-left:6px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#fff;color:var(--green-deep);font-size:12px}.po-botbar{display:flex;align-items:center;gap:10px 14px;min-height:44px;padding:6px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;color:#243246}.po-botbar strong{white-space:nowrap}.po-botbar .po-btn{margin-left:auto}.po-alert{color:#9a3412;font-weight:650}.po-help{width:28px;height:28px;border-radius:99px;border:1px solid var(--line);background:#fff;color:#1d4f91;font-weight:750}.po-block{display:grid;gap:10px;min-width:0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px}.po-block>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.po-block>header span{color:var(--muted);font-weight:650}.po-block>header .drop{width:190px}.po-toolbar-actions{display:flex;gap:8px;flex:0 0 auto}.po-period{display:flex;flex:0 0 auto;overflow:hidden}.po-period button{padding:0 12px;color:var(--green-deep);border-radius:0;margin-left:-1px}.po-period button:first-child{border-radius:10px 0 0 10px;margin-left:0}.po-period button:last-child{border-radius:0 10px 10px 0}.po-period button.active{background:#e8f1fb;color:#1d4f91;border-color:#b9d0ea;position:relative;z-index:1}.po-btn,.po-mini{display:inline-flex;align-items:center;justify-content:center;padding:0 14px;font-weight:650;white-space:nowrap;transform:none}.po-btn{background:var(--green-deep);color:#fff;border-color:var(--green-deep)}.po-btn.secondary,.po-mini{background:#fff;color:var(--green-deep)}.po-btn.danger{background:#fff;color:var(--red);border-color:#f3c5cc}.po-btn:hover,.po-mini:hover,.po-tabs button:hover{transform:none;filter:none}.po-btn:disabled{opacity:.5}.purchases-page .drop{min-width:180px;width:190px;flex:0 0 auto}.purchases-page .drop-btn{padding:0 12px}.po-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.po-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0;align-items:stretch}.po-stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;height:100%;min-height:112px;padding:12px 12px 12px 14px;text-align:left;background:#fff;border:1px solid var(--line);border-left-width:4px;border-radius:14px;color:#1c2838}.po-stat.tone-best{border-left-color:#1d4f91;background:#f4f8fd}.po-stat.tone-steady{border-left-color:#0f766e;background:#f3faf8}.po-stat.tone-slow{border-left-color:#d97706;background:#fff8ee}.po-stat.tone-oldest{border-left-color:#c2410c;background:#fff5f0}.po-stat strong,.po-stat small,.po-stat span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-stat span{color:#3d4d63;font-size:12px;font-weight:700}.po-stat strong{font-size:15px;color:#1c2838}.po-stat small{color:#3d4d63}.po-stat.active{border-color:#1d4f91;box-shadow:inset 0 0 0 1px #1d4f91}.po-board{grid-column:1 / -1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0}.po-board header,.po-bot-top,.po-drawer-head,.po-line header{display:flex;align-items:center;gap:8px}.po-board header h2,.po-line header span{flex:1;min-width:0}.po-bot{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:8px}.po-bot p,.po-muted,.po-note,.po-warn{margin:0}.po-bot ul{margin:0;padding-left:18px;display:grid;gap:4px}.po-muted{color:var(--muted);font-size:13px}.po-note{color:#1d4f91;font-size:13px}.po-warn{color:#9a3412;background:#fff6e4;border-radius:10px;padding:8px 10px;font-size:13px}.po-dot{width:8px;height:8px;border-radius:99px;background:#d9485f}.po-dot.on{background:var(--green)}.po-dot.wait{background:#d97706}.po-chat{display:grid;gap:8px}.po-control{width:100%;padding:0 12px}.po-hits{list-style:none;margin:0;padding:0;display:grid;gap:6px}.po-hits button{width:100%;display:flex;gap:8px;align-items:baseline;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left}.po-hits button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-hits small{color:var(--muted);white-space:nowrap}.po-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.po-table{width:100%;min-width:1360px;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0}.po-table th,.po-table td{height:48px;padding:0 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none;letter-spacing:0;font-size:14px;font-weight:500;color:var(--ink)}.po-table th{position:sticky;top:0;z-index:3;font-size:12px;font-weight:700;color:#334155;background:#f7fafc;box-shadow:inset 0 -1px 0 var(--line)}.po-table .col-po{width:148px}.po-table .col-sup{width:160px}.po-table .col-sku{width:110px}.po-table .col-date{width:148px}.po-table .col-num{width:108px}.po-table .col-money,.po-table .col-price{width:136px}.po-table .col-fx{width:168px}.po-table .col-php{width:128px}.po-table .col-status{width:132px}.po-table .col-act{width:84px;text-align:right}.po-table td.col-date,.po-table th.col-date,.po-table td.col-money,.po-table th.col-money,.po-table td.col-sku,.po-table th.col-sku{text-overflow:clip}.po-sort{display:inline-flex;align-items:center;gap:4px;width:100%;height:auto;padding:0;border:0;background:transparent;color:#334155;font:inherit;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}.col-num .po-sort,.col-money .po-sort,.col-price .po-sort,.col-php .po-sort{justify-content:flex-end}.po-sort i{font-style:normal;color:#94a3b8}.po-sort.on i{color:#1d4f91}.po-name-line{display:flex;align-items:center;gap:8px;min-width:0}.po-name-line>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.po-name-line .po-tag{flex:0 0 auto;font-style:normal}.po-table td.col-num,.po-table th.col-num,.po-table td.col-money,.po-table th.col-money,.po-table td.col-price,.po-table th.col-price,.po-table td.col-fx,.po-table th.col-fx,.po-table td.col-php,.po-table th.col-php{text-align:right;font-variant-numeric:tabular-nums}.po-table .col-po b,.po-table .col-po small{display:block;overflow:hidden;text-overflow:ellipsis}.po-table .col-po small{color:var(--muted);font-size:11px;font-weight:550}.po-table tbody tr{cursor:pointer}.po-table tbody tr:hover td{background:#f3f8fb}.po-table .is-php{color:#1d4f91;font-weight:700}.po-table .is-vnd{color:#c2410c;font-weight:700}.po-tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.po-tag.green{background:var(--leaf);color:var(--green)}.po-tag.amber{background:var(--amber-bg);color:var(--amber)}.po-tag.red{background:var(--red-bg);color:var(--red)}.po-tag.gray{background:#eef2f6;color:#64748b}.po-tag.teal{background:#e6f7f4;color:#0f766e}.po-orders-table{min-width:0;width:100%}.po-orders-slim{table-layout:fixed;min-width:0}.po-orders-slim th,.po-orders-slim td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.po-orders-slim .col-exp{width:40px}.po-orders-slim .col-po{width:14%}.po-orders-slim .col-sup{width:16%}.po-orders-slim .col-date{width:10%}.po-orders-slim .col-php{width:11%}.po-orders-slim .col-state{width:18%;white-space:normal}.po-orders-slim .col-act{width:88px;text-align:center;overflow:visible}.po-orders-slim td.col-po{white-space:normal}.po-orders-slim td.col-po b,.po-orders-slim td.col-po small{display:block;overflow:hidden;text-overflow:ellipsis}.po-orders-slim td.col-po small{color:#64748b;font-size:11px;font-weight:550}.po-detail-btn{min-width:72px;justify-content:center}.po-state{display:inline-block;font-size:12px;font-weight:700;color:#334155;line-height:1.35}.is-paid{color:#15803d;font-weight:750}.po-pay-cell{display:grid;gap:4px;justify-items:start}.po-pay-ratio{font-size:12px;color:#0f766e;font-weight:650;font-variant-numeric:tabular-nums}.po-bar{display:block;width:100%;max-width:140px;height:6px;border-radius:999px;background:#e8eef5;overflow:hidden}.po-bar i{display:block;height:100%;background:#0f766e}.po-doc-btn{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);background:#fff;border-radius:8px;height:28px;padding:0 8px;cursor:pointer}.po-doc-btn.empty{color:#94a3b8}.po-doc-btn b{font-variant-numeric:tabular-nums}.po-expand-row td{background:#f8fafc;padding:8px 12px}.po-sku-expand-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.po-sku-expand{min-width:720px;width:100%;background:#fff;table-layout:fixed}.po-sku-expand tbody tr{cursor:default}.po-sku-expand .col-num,.po-sku-expand .col-money,.po-sku-expand .col-php{text-align:right}.po-sku-expand .sticky-l,.po-sku-expand .sticky-l2{position:sticky;background:#fff;z-index:1}.po-sku-expand thead .sticky-l,.po-sku-expand thead .sticky-l2{background:#f7fafc;z-index:2}.po-sku-expand .sticky-l{left:0;min-width:88px}.po-sku-expand .sticky-l2{left:88px;min-width:180px;white-space:normal}.po-sku-cards{display:none;gap:8px}.po-progress-cards{display:none;gap:10px;padding:4px 0 8px}.po-order-card,.po-sku-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;display:grid;gap:8px}.po-order-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.po-order-card header b,.po-order-card header small{display:block}.po-order-card header small{color:#64748b;font-size:11px;margin-top:2px}.po-order-card-sup{margin:0;font-weight:650}.po-order-card-grid,.po-sku-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.po-order-card-grid dt,.po-sku-card dt{color:#64748b;font-size:11px;font-weight:650}.po-order-card-grid dd,.po-sku-card dd{margin:2px 0 0;font-variant-numeric:tabular-nums;font-weight:700;text-align:right}.po-sku-card header{display:grid;gap:2px}.po-sku-card header span{color:#334155;font-size:13px;line-height:1.35}.po-drawer.wide{width:min(560px,100vw)}.po-drawer.po-detail-modal{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:min(1040px,calc(100vw - 24px));height:min(90vh,920px);max-height:min(90vh,920px);border:1px solid var(--line);border-radius:16px;overflow:hidden}.po-drawer-title{flex:1;min-width:0;display:grid;gap:2px}.po-drawer-title h2{margin:0}.po-drawer.po-detail-modal .po-drawer-body{gap:14px;padding-bottom:16px}.po-detail-top{display:grid;gap:10px}.po-detail-sup{margin:0;font-size:15px;font-weight:750;color:var(--ink)}.po-detail-sup.warn{color:#b45309}.po-money-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.po-money-summary>div{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:4px;background:#f8fafc}.po-money-summary span{color:#64748b;font-size:11px;font-weight:650}.po-money-summary b{font-size:15px;font-variant-numeric:tabular-nums}.po-assign-ncc h3{color:#b45309}.po-pay-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.po-pay-table{min-width:760px;width:100%;table-layout:auto}.po-pay-table th,.po-pay-table td{white-space:nowrap;overflow:visible;text-overflow:clip}.po-pay-table .col-money{text-align:right}.po-pay-cards{display:none;list-style:none;margin:0;padding:0;gap:8px}.po-pay-cards li{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:2px;background:#f8fafc}.po-progress-tab>.po-progress>.po-table-scroll{flex:0 1 auto}.po-batch-kids{display:grid;gap:8px}.po-batch-kid{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px}.po-batch-kid>div:first-child{display:grid;gap:2px;min-width:0}.po-batch-kid-money{display:flex;align-items:center;gap:8px;flex:0 0 auto}.po-batch-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.po-batch-panel-head h3{margin:0;font-size:15px}.po-batch-panel-head p{margin:4px 0 0}.po-money-summary-compact>div{padding:8px 10px}.po-batch-lines{list-style:none;margin:0;padding:0;display:grid;gap:6px}.po-batch-lines li{display:grid;grid-template-columns:88px minmax(0,1fr) 64px 96px;gap:8px;align-items:center;font-size:13px}.po-batch-lines li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-batch-lines li em,.po-batch-lines li strong{font-style:normal;text-align:right;font-variant-numeric:tabular-nums}@media(max-width:720px){.po-batch-lines li{grid-template-columns:72px minmax(0,1fr)}.po-batch-lines li em,.po-batch-lines li strong{grid-column:2;text-align:left}}@media(max-width:900px){.po-progress-desktop{display:none}.po-progress-cards{display:grid}.po-sku-expand-wrap{display:none}.po-sku-cards,.po-sku-cards.is-open{display:grid}.po-drawer.po-detail-modal{top:0;left:0;transform:none;width:100vw;height:100vh;max-height:100vh;border-radius:0}.po-form-row{grid-template-columns:1fr}.po-pay-scroll{display:none}.po-pay-cards{display:grid}}.po-modal{position:fixed;z-index:40;top:50%;left:50%;transform:translate(-50%,-50%);width:min(1120px,calc(100vw - 24px));height:min(90vh,920px);max-height:min(90vh,920px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}.po-modal-head,.po-modal-meta,.po-modal-foot{flex:0 0 auto;padding:14px 18px;border-bottom:1px solid var(--line)}.po-modal-head{display:flex;align-items:flex-start;gap:12px}.po-modal-title{flex:1;min-width:0;display:grid;gap:4px}.po-modal-title h2{margin:0}.po-modal-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 12px;background:#f8fafc}.po-modal-meta .drop{width:100%;min-width:0}.po-modal-body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:scroll;scrollbar-gutter:stable;padding:12px 18px 40px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.po-modal-foot{border-bottom:0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;z-index:5}.po-modal-foot .po-quick-sum{flex:1 1 220px;flex-direction:column;align-items:flex-start;gap:4px}.po-foot-error{margin:0;font-size:13px;max-width:42ch}.po-tabs-inline{flex:0 0 auto;display:flex;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;width:max-content;max-width:100%}.po-tabs-inline button{border:0;border-right:1px solid var(--line);background:#fff;padding:9px 14px;color:var(--muted);font-weight:650}.po-tabs-inline button:last-child{border-right:0}.po-tabs-inline button.active{background:#eef2ff;color:#4338ca}.po-add-pane{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;min-width:0}.po-paste-pane{max-height:none}.po-quick-sum{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0;font-size:13px;align-items:center}.po-quick-sum .is-php{color:#1d4f91}.po-modal .po-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.po-modal .po-table th,.po-modal .po-table td{height:auto;min-height:44px;padding-top:10px;padding-bottom:10px}.po-modal .po-table th{position:static;z-index:auto;background:#f7fafc;box-shadow:inset 0 -1px 0 var(--line)}.po-modal .po-table .col-num,.po-modal .po-table .col-money,.po-modal .po-table .col-php{text-align:right}.po-modal-list-scroll,.po-pick-table-wrap,.po-order-table-wrap{flex:0 0 auto;min-width:0;overflow:visible;border:1px solid var(--line);border-radius:12px;background:#fff}.po-pick-table-wrap{overflow-x:auto}.po-order-table-wrap{min-height:160px;overflow:visible;isolation:isolate}.po-modal .po-quick-table{width:100%;min-width:0;table-layout:fixed}.po-modal .po-quick-table thead th{position:static;z-index:auto}.po-quick-table col.col-sku{width:8%}.po-quick-table col.col-name{width:22%}.po-quick-table col.col-unit{width:6%}.po-quick-table col.col-ncc{width:14%}.po-quick-table td.col-ncc{white-space:normal;word-break:break-word;line-height:1.3}.po-quick-table col.col-num{width:9%}.po-quick-table col.col-money{width:11%}.po-quick-table col.col-currency,.po-quick-table col.col-php{width:10%}.po-quick-table col.col-act{width:8%}.po-quick-table th,.po-quick-table td{overflow:hidden;text-overflow:clip;white-space:nowrap;padding-left:8px;padding-right:8px}.po-quick-table th{white-space:normal;line-height:1.25}.po-quick-table th.col-name,.po-quick-table td.col-name{white-space:normal;overflow:hidden;line-height:1.35;word-break:break-word;vertical-align:middle}.po-quick-table th.col-ncc,.po-quick-table td.col-ncc{overflow:hidden;white-space:normal}.po-quick-table td.col-ncc .drop,.po-quick-table td.col-ncc .drop-btn{width:100%;min-width:0}.po-quick-table td.col-ncc .drop-label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.po-quick-table .po-qty,.po-quick-table .po-price{width:100%;min-width:0;box-sizing:border-box;text-align:right}.po-quick-table td.col-currency{text-align:center;overflow:hidden}.po-quick-table td.col-currency .po-period{width:100%;max-width:100%;justify-content:center}.po-quick-table td.col-currency .po-period button{flex:1 1 auto;padding:0 6px;font-size:12px;min-width:0}.po-quick-table td.col-act,.po-quick-table th.col-act{text-align:center;overflow:hidden;white-space:nowrap;text-overflow:clip}.po-quick-table td.col-act .po-text{white-space:nowrap}.po-price-edit{display:grid;gap:6px;min-width:0}.po-pick-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex:0 0 auto}.po-pick-tools .po-control{flex:1 1 180px}.po-pick-tools .drop{width:180px;min-width:160px}.po-pick-table{min-width:720px}.po-pick-table tbody tr{cursor:pointer}.po-pick-table .col-check,.po-pick-table col.col-check{width:36px}.po-pick-table col.col-sku{width:120px}.po-pick-table col.col-unit{width:72px}.po-pick-table col.col-ncc{width:140px}.po-pick-table col.col-num{width:88px}.po-pick-table col.col-money{width:140px}.po-paste-modes{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;width:max-content;max-width:100%}.po-paste-modes button{border:0;border-right:1px solid var(--line);background:#fff;padding:8px 12px;color:var(--muted);font-weight:650}.po-paste-modes button:last-child{border-right:0}.po-paste-modes button.active{background:#eef2ff;color:#4338ca}.po-paste-errors{display:grid;gap:6px;align-content:start;max-height:120px;overflow:auto;padding:8px 10px;border:1px solid color-mix(in srgb,var(--amber) 40%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--amber-bg) 70%,white)}.po-paste-errors .po-warn{margin:0}.po-paste-area{width:100%;min-height:96px;max-height:180px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical;box-sizing:border-box}.po-order-lines{flex:0 0 auto;display:flex;flex-direction:column;gap:10px;min-width:0;padding-bottom:8px}.po-order-lines-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.po-order-lines-head h3{margin:0;font-size:15px}.po-modal-body>.po-drawer-actions,.po-add-pane>.po-drawer-actions{padding:0}@media(max-width:720px){.po-modal{width:100vw;max-height:100vh;height:100vh;top:0;left:0;transform:none;border-radius:0}.po-tabs-inline{width:100%}.po-tabs-inline button{flex:1}.po-paste-modes{width:100%}.po-paste-modes button{flex:1}}.po-status-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}.po-panel{border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:10px}.po-panel h3{margin:0;font-size:14px}.po-pay-form{display:grid;gap:8px}.po-amount-input{font-variant-numeric:tabular-nums;letter-spacing:.01em}.po-field>small.po-muted{display:block;margin-top:2px;font-size:11px;line-height:1.35}.po-mini-table{min-width:0}.po-doc-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.po-doc-list li{display:flex;align-items:center;gap:8px}.po-doc-item{flex:1;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#f8fafc;border-radius:10px;padding:8px 10px;text-align:left;cursor:pointer}.po-doc-item span{display:grid;gap:2px;min-width:0}.po-doc-item small{color:var(--muted)}.po-scan{display:block;font-weight:650}.po-scan.ok{color:var(--green)}.po-scan.warn{color:var(--amber)}.po-scan.bad{color:var(--red)}.is-teal{color:#0f766e;font-weight:700}.muted{color:var(--muted)}.po-empty{margin:0;color:var(--muted)}.po-fifo{display:grid;gap:8px;min-width:0}.po-lots{min-width:1480px}.po-suggest-table{min-width:1280px}.po-suggest-table .col-num{width:148px}.po-lots tbody tr{cursor:pointer}.po-pager .drop{width:88px;min-width:88px}.po-rank{min-width:760px}.po-preview{min-width:0}.po-preview td:last-child,.po-preview th:last-child{white-space:normal}.po-preview tr.bad td{background:#fcebed}.po-preview tr.skip td{color:var(--muted)}.po-shade{position:fixed;top:0;right:0;bottom:0;left:0;background:#12352447;z-index:30}.po-drawer{position:fixed;top:0;right:0;z-index:40;width:min(460px,100vw);height:100vh;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:var(--shadow)}.po-drawer-head,.po-drawer-actions{padding:14px 16px;flex:0 0 auto}.po-drawer-head{border-bottom:1px solid var(--line)}.po-drawer-head h2{flex:1;min-width:0}.po-drawer-body{padding:14px 16px 24px;overflow:auto;display:grid;gap:10px;align-content:start}.po-drawer .drop{width:100%;min-width:0}.po-drawer-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.po-form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.po-field{display:grid;gap:4px;min-width:0;font-size:12px;color:var(--muted)}.po-currency{width:max-content}.po-prices{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0}.po-prices .is-vnd{color:#c2410c;font-weight:750}.po-prices .is-php{color:#1d4f91;font-weight:750}.po-line,.po-ship{border:1px solid var(--line);border-radius:12px;padding:10px;display:grid;gap:8px}.po-line header b{white-space:nowrap}.po-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.po-metrics div{display:grid;gap:2px}.po-metrics span{color:var(--muted);font-size:11px}.po-steps{margin:0;padding-left:18px;display:grid;gap:4px;color:var(--muted)}.po-file{display:none}.po-text{border:0;background:transparent;color:#1d4f91;padding:0;height:auto;font-weight:650}.po-fx{margin:0;color:#1d4f91}@media(max-width:1100px){.po-stats{grid-template-columns:1fr 1fr}.po-toolbar{flex-wrap:wrap}.po-search{flex:1 1 100%}}@media(max-width:860px){.po-head,.po-toolbar{flex-wrap:wrap}.po-search{flex:1 1 100%}.po-toolbar-actions,.po-period{flex:1 1 auto}.po-stats,.po-metrics,.po-form-row{grid-template-columns:1fr}}.settings-page{gap:14px}.settings-head{margin-bottom:0}.settings-tabs{gap:8px;padding:2px 0 4px}.settings-tabs button{border-radius:12px;border:1px solid color-mix(in srgb,var(--green) 28%,var(--line));background:#fff;color:var(--green-deep);padding:9px 14px}.settings-tabs button.active{background:var(--green-deep);border-color:var(--green-deep);color:#fff}.settings-panel{display:grid;gap:12px;min-width:0}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.settings-grid-solo{grid-template-columns:minmax(0,1fr)}.settings-grid-solo .settings-integration{max-width:820px}.settings-integration{display:grid;gap:12px;align-content:start;min-height:100%;padding:16px}.settings-int-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.settings-int-head h3{margin:0}.settings-more{position:relative}.settings-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:5;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:var(--shadow);min-width:160px}.settings-status{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-radius:12px;padding:10px 12px;border:1px solid var(--line);background:var(--mist)}.settings-status.green{background:var(--leaf);border-color:color-mix(in srgb,var(--green) 35%,var(--line));color:var(--fig-revenue)}.settings-status.amber{background:var(--amber-bg);border-color:color-mix(in srgb,var(--amber) 35%,var(--line));color:var(--amber)}.settings-status.red{background:var(--red-bg);border-color:color-mix(in srgb,var(--red) 35%,var(--line));color:var(--red)}.settings-inline-error{margin:0}.settings-meta{display:flex;flex-wrap:wrap;gap:6px}.settings-guide,.settings-checks{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}.settings-guide summary,.settings-checks summary{cursor:pointer;font-weight:650;color:var(--green-deep)}.settings-guide .hint,.settings-checks .hint{margin:8px 0 0}.settings-checks ul{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:8px}.settings-checks li{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.settings-creds{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-creds label,.settings-brand label{display:grid;gap:6px;min-width:0}.settings-secret{display:flex;gap:8px;align-items:center}.settings-secret input{flex:1;min-width:0}.settings-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.settings-brand{gap:12px;padding:16px}.settings-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-brand-actions{display:flex;justify-content:flex-end}.settings-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.settings-section-head h3{margin:0}.settings-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.settings-tools .drop{flex:0 1 180px;min-width:140px}.settings-tools input[type=date]{height:44px;border:1px solid var(--line);border-radius:12px;padding:0 10px;background:#fff}.settings-search{flex:1 1 220px;min-width:180px;height:44px;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff}.settings-audit-act{width:110px;text-align:right;white-space:nowrap}.settings-audit-detail td{background:var(--mist)}.settings-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.settings-diff pre{margin:6px 0 0;padding:10px;border-radius:10px;background:#fff;border:1px solid var(--line);white-space:pre-wrap;word-break:break-word;font-size:12px;max-height:220px;overflow:auto}.nowrap{white-space:nowrap}@media(max-width:900px){.settings-grid,.settings-creds,.settings-brand-grid,.settings-diff{grid-template-columns:1fr}.settings-grid-solo .settings-integration{max-width:none}}.page.payroll-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;gap:12px;overflow:hidden;padding-bottom:12px;align-content:stretch}.payroll-page .page-head{display:grid;gap:4px;flex:0 0 auto}.payroll-page .page-head .lede{margin:0;max-width:64ch}.pay-title-row{align-items:center;gap:10px;flex-wrap:wrap;margin:0}.pay-title-row h1{margin:0}.pay-tabs{margin:0;flex:0 0 auto}.payroll-page>.error,.payroll-page>.note{flex:0 0 auto}.pay-tab-panel{display:grid;gap:12px;min-width:0;min-height:0;flex:1;overflow:auto;align-content:start}.pay-tab-panel-fill{display:flex;flex-direction:column;gap:10px;overflow:hidden;align-content:stretch}.pay-tab-panel-fill .pay-section-head,.pay-tab-panel-fill .pay-closed-hint,.pay-tab-panel-fill .pay-table-tools,.pay-tab-panel-fill .pay-pager{flex:0 0 auto}.pay-tab-panel-fill .pay-table-wrap{flex:1 1 auto;min-height:0;max-height:none}.pay-preview-panel{align-content:start}.pay-section-head{justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.pay-section-head h3{margin:0;font-size:16px}.pay-month{display:grid;gap:12px;min-width:0}.pay-month-toolbar{justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.pay-month-title{margin:0;font-size:16px}.pay-sync{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;border-radius:12px;border:1px solid var(--line);background:#f7faf8}.pay-sync.is-synced{background:var(--leaf);border-color:#c6e6d7}.pay-sync.is-pending{background:var(--amber-bg);border-color:#f0dfb5}.pay-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pay-kpis-5{grid-template-columns:repeat(5,minmax(0,1fr))}.pay-kpis-preview{grid-template-columns:repeat(6,minmax(0,1fr))}.pay-kpi{min-height:76px;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:12px;display:grid;align-content:space-between;gap:6px}.pay-kpi-paid{background:#f3faf6}.pay-kpi-remain{background:#fffaf0}.pay-kpi-bonus{background:#f7f3ff}.pay-kpi-ot{background:#eef5ff}.pay-kpi-deduct{background:#fff5f6}.pay-kpi-commission{background:#eefaf8}.pay-kpi-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:650}.pay-kpi strong,.pay-table .num{font-variant-numeric:tabular-nums}.pay-kpi strong{font-size:18px;color:var(--green-deep);line-height:1.2}.pay-table-tools{gap:8px;flex-wrap:wrap;align-items:center;margin:0}.pay-table-tools .btn,.pay-table-tools .drop-btn,.pay-table-tools .att-month-btn,.pay-preview-form .btn,.pay-preview-form select,.att-pay-controls .btn,.att-pay-controls .drop-btn,.att-pay-controls .att-month-btn,.pay-row-actions .btn,.pay-rule-actions .btn{height:36px;min-height:36px;box-sizing:border-box}.pay-search{min-width:min(240px,100%);flex:1 1 180px;height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.pay-table-wrap{width:100%;max-height:min(56vh,560px);overflow:auto;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--paper);scroll-padding-bottom:16px;padding-bottom:2px}.pay-table-wrap .pay-table{margin-bottom:12px}.pay-table-wrap .pay-table tbody tr:last-child td{border-bottom:0;padding-bottom:14px}.pay-history-table{max-height:min(50vh,420px)}.pay-table{width:100%;min-width:880px;border-collapse:separate;border-spacing:0}.pay-table thead th{position:sticky;top:0;z-index:2;background:#edf3f0;color:var(--green-deep);box-shadow:inset 0 -1px 0 var(--line);text-align:left}.pay-table thead th.num{text-align:right}.pay-table tbody tr:nth-child(2n) td{background:#f7faf8}.pay-table tbody tr:nth-child(odd) td{background:var(--paper)}.pay-table th,.pay-table td{padding:10px 12px;vertical-align:middle}.pay-table th:first-child,.pay-table td:first-child{padding-left:12px}.pay-table th:last-child,.pay-table td:last-child{padding-right:12px}.pay-table .num{text-align:right;white-space:nowrap}.pay-col-emp,.pay-table .att-emp{text-align:left;min-width:160px}.pay-table .att-col-actions{width:1%;white-space:nowrap;text-align:right}.pay-row-actions{justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}.pay-confirm-btn{padding:0 12px;font-size:13px;white-space:nowrap}.pay-closed-hint{margin:0;max-width:72ch}.pay-closed-status{display:grid;gap:2px;justify-items:start}.pay-pager{justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0;flex:0 0 auto}.pay-pager-btns{gap:8px;align-items:center;margin:0}.pay-zero{color:var(--muted)!important;font-weight:500}.tone-paid{color:var(--fig-revenue)!important}.tone-remain{color:var(--amber)!important}.tone-bonus{color:#7c3aed!important}.tone-deduct{color:var(--fig-cost)!important}.tone-ot{color:#2563eb!important}.tone-commission{color:#0f766e!important}.tone-book{color:#64748b!important}.tone-variance{color:#b45309!important;font-weight:650}.pay-preview-card{position:relative;gap:10px;height:fit-content;align-self:start;padding-top:18px;overflow:visible}.pay-preview-badge{position:absolute;top:10px;right:12px;z-index:1;max-width:min(280px,calc(100% - 24px));white-space:normal;line-height:1.25;text-align:center}.pay-preview-title{margin:0 180px 0 0;font-size:16px;padding-right:8px}.pay-preview-hint{margin:0}.pay-preview-toolbar{gap:8px;flex-wrap:wrap;align-items:center;margin:0}.pay-preview-toolbar select,.pay-preview-toolbar .btn,.pay-preview-toolbar .day-pick-btn{height:36px;min-height:36px;box-sizing:border-box}.pay-preview-toolbar select{min-width:132px;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:0 10px}.day-pick{position:relative;display:inline-flex}.day-pick.disabled{opacity:.6;pointer-events:none}.day-pick-btn{min-width:132px;justify-content:space-between;gap:8px;padding:0 10px}.day-pick-panel{padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow)}.day-pick-panel .cal-actions{justify-content:space-between}.pay-how{border:1px solid var(--line);border-radius:10px;background:#f7faf8;padding:0 12px}.pay-how summary{cursor:pointer;list-style:none;min-height:36px;display:flex;align-items:center;font-weight:650;color:var(--green-deep)}.pay-how summary::-webkit-details-marker{display:none}.pay-how summary:before{content:"▸";margin-right:8px;color:var(--muted)}.pay-how[open] summary:before{content:"▾"}.pay-how-body{display:grid;gap:6px;padding:0 0 10px}.pay-how-body p{margin:0;font-size:13px}.pay-preview-wrap{overflow-x:hidden;max-height:none}.pay-preview-table{min-width:0!important;width:100%;table-layout:fixed}.pay-preview-table th,.pay-preview-table td{padding:8px 6px;vertical-align:middle}.pay-preview-table th:first-child,.pay-preview-table td:first-child{padding-left:12px}.pay-preview-table th:last-child,.pay-preview-table td:last-child{padding-right:12px}.pay-preview-table thead th{white-space:normal;line-height:1.2;font-size:11px;letter-spacing:.02em;-webkit-hyphens:auto;hyphens:auto}.pay-th-with-tip .pay-th-label{justify-content:flex-end;gap:2px;flex-wrap:nowrap}.pay-th-with-tip .tip{margin-left:2px;width:14px;height:14px;font-size:9px}.pay-preview-table td{height:42px;font-size:12.5px}.pay-preview-table .num{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.pay-preview-table .pay-col-emp{width:11%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pay-preview-table .att-col-actions{width:44px;padding-left:4px;padding-right:8px}.pay-detail-btn{width:32px;min-width:32px;padding:0;height:32px;min-height:32px}.pay-preview-detail-row td{height:auto;background:#f3f7f5!important;padding-top:8px;padding-bottom:10px;white-space:normal}.pay-date-field{display:grid;gap:4px;font-size:12px;color:var(--muted)}.pay-rule-form input,.pay-rule-form select{height:36px;min-width:140px}.pay-check{display:inline-flex;align-items:center;gap:8px;min-height:36px;white-space:nowrap}.pay-rule-group{display:grid;gap:10px}.pay-rule-place{margin:0;font-size:14px;color:var(--green-deep)}.pay-rule-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.pay-rule-card{display:grid;gap:10px;min-height:100%;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.pay-rule-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pay-rule-actions{gap:6px;align-items:center;margin:0;flex-wrap:nowrap}.pay-rule-model{font-weight:700;color:var(--green-deep)}.pay-rule-blocks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pay-rule-block{padding:10px;border-radius:10px;background:#f7faf8;border:1px solid var(--line);display:grid;gap:4px;min-height:92px}.pay-rule-block p{margin:0;font-size:13px}.pay-rule-block-label{font-size:11px;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);font-weight:650}.pay-rule-form{display:grid;gap:12px}.pay-rule-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pay-rule-notes-field{grid-column:1 / -1}.pay-rule-modal,.pay-history-modal{width:min(640px,94vw)}@media(max-width:1200px){.pay-kpis-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.pay-kpis-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.pay-kpis,.pay-kpis-5,.pay-kpis-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.pay-rule-blocks,.pay-rule-form-grid{grid-template-columns:1fr}.pay-preview-title{margin-right:0;padding-top:28px}.pay-preview-badge{max-width:calc(100% - 24px)}}@media(max-width:560px){.pay-kpis,.pay-kpis-5,.pay-kpis-preview{grid-template-columns:1fr}}.packing-page[data-v-c5718cf0]{padding-bottom:16px;scroll-margin-top:12px}.packing-page.is-settings[data-v-c5718cf0]{gap:10px;padding-bottom:8px;overflow:hidden}.packing-head[data-v-c5718cf0]{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 20px;margin:0 0 12px;padding:4px 0 10px;position:sticky;top:0;z-index:4;background:color-mix(in srgb,var(--mist) 92%,white);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.packing-page.is-settings .packing-head[data-v-c5718cf0]{margin-bottom:4px}.packing-head h1[data-v-c5718cf0]{margin:0 0 6px}.packing-head .lede[data-v-c5718cf0]{margin:0;max-width:52rem}.packing-tabs[data-v-c5718cf0]{display:flex;flex-wrap:wrap;gap:8px}.packing-hint[data-v-c5718cf0]{margin:0 0 16px}.packing-kpis[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin:0 0 24px}.packing-kpi[data-v-c5718cf0]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px;min-height:76px}.packing-kpi-label[data-v-c5718cf0]{font-size:13px;color:var(--muted);line-height:1.3}.packing-kpi-value[data-v-c5718cf0]{font-size:1.5rem;line-height:1.1;font-weight:700}.packing-toolbar[data-v-c5718cf0]{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 16px}.packing-search[data-v-c5718cf0]{min-width:min(100%,240px);flex:1 1 220px}.packing-table-wrap[data-v-c5718cf0]{margin-top:4px;overflow-x:auto;align-self:start;width:100%}.packing-table-wrap table[data-v-c5718cf0]{width:100%;border-collapse:collapse;table-layout:auto}.packing-table-wrap th[data-v-c5718cf0],.packing-table-wrap td[data-v-c5718cf0]{vertical-align:middle!important;padding-top:12px;padding-bottom:12px;height:auto;line-height:1.35}.packing-table-wrap tbody tr[data-v-c5718cf0]{height:auto}.packing-row-act[data-v-c5718cf0]{width:1%;white-space:nowrap;text-align:right}.packing-row-act .btn[data-v-c5718cf0]{display:inline-flex;align-items:center;justify-content:center;height:32px;margin:0}.packing-empty[data-v-c5718cf0]{text-align:center;padding:36px 16px!important;color:var(--muted);background:var(--paper)}.packing-detail-shell[data-v-c5718cf0]{width:min(100%,1080px);margin:0 auto;display:grid;gap:14px;min-width:0}.packing-back[data-v-c5718cf0]{width:max-content;justify-self:start;padding:6px 12px;min-height:34px;height:34px;font-size:13px}.packing-summary[data-v-c5718cf0]{margin:0;padding:16px;display:grid;gap:14px;min-width:0}.packing-summary-grid[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 16px}.packing-field-pair[data-v-c5718cf0]{display:grid;gap:4px;min-width:0}.packing-field-label[data-v-c5718cf0]{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:.02em}.packing-field-value[data-v-c5718cf0]{font-size:14px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.packing-summary-note[data-v-c5718cf0]{margin:0;font-size:13px}.packing-ops[data-v-c5718cf0]{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center}.packing-ops-actions[data-v-c5718cf0],.packing-ops-correct[data-v-c5718cf0]{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}.packing-ops .btn[data-v-c5718cf0]{height:40px;min-height:40px;padding-top:0;padding-bottom:0;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.packing-correct-input[data-v-c5718cf0]{width:220px;max-width:100%;min-width:140px;height:40px;padding:0 12px;box-sizing:border-box;line-height:40px}.packing-detail-body[data-v-c5718cf0]{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:14px;align-items:start}.packing-photos-panel[data-v-c5718cf0]{display:grid;gap:14px;min-width:0}.packing-photos[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;width:100%}.packing-photos-extra[data-v-c5718cf0]{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.packing-photo-card[data-v-c5718cf0]{display:flex;flex-direction:column;gap:8px;padding:12px;min-width:0;overflow:visible}.packing-photo-title[data-v-c5718cf0]{margin:0;font-size:13px;font-weight:650;line-height:1.3}.packing-photo-media[data-v-c5718cf0]{width:100%;aspect-ratio:3 / 4;border-radius:10px;overflow:hidden;background:#111;display:grid;place-items:center}.packing-photo-media.empty[data-v-c5718cf0]{background:color-mix(in srgb,var(--mist) 80%,#dfe7e2);border:1px dashed var(--line)}.packing-photo-media img[data-v-c5718cf0]{width:100%;height:100%;object-fit:contain;display:block}.packing-photo-placeholder[data-v-c5718cf0]{padding:16px 10px;text-align:center;font-size:13px;line-height:1.35}.packing-photo-type[data-v-c5718cf0]{width:100%;min-width:0}.packing-photo-type[data-v-c5718cf0] .drop-btn{height:40px;font-size:13px}.packing-photo-time[data-v-c5718cf0]{margin:0;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.packing-section-title[data-v-c5718cf0]{margin:0;font-size:14px}.packing-audit-card[data-v-c5718cf0]{padding:12px 14px;display:grid;gap:10px;min-width:0;position:sticky;top:64px}.packing-audit-toggle[data-v-c5718cf0]{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.packing-audit[data-v-c5718cf0]{margin:0;padding-left:1.1rem;display:grid;gap:8px;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.packing-audit-time[data-v-c5718cf0]{white-space:nowrap;font-variant-numeric:tabular-nums}.packing-return-grid[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,220px));gap:12px;justify-content:start}.packing-return-card[data-v-c5718cf0]{display:grid;gap:8px;padding:12px;min-width:0}.packing-return-meta[data-v-c5718cf0]{display:grid;gap:4px;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.packing-report-grid[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:4px}.packing-report-card[data-v-c5718cf0]{display:flex;flex-direction:column;gap:6px;padding:12px 14px}.packing-settings-grid[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;width:100%}.packing-settings-card[data-v-c5718cf0]{display:flex;flex-direction:column;gap:8px;padding:12px 14px;height:auto}.packing-settings-card h3[data-v-c5718cf0]{margin:0;font-size:1rem}.packing-field[data-v-c5718cf0]{display:grid;gap:4px}.packing-field label[data-v-c5718cf0]{font-size:12px;color:var(--muted)}.packing-token-mask[data-v-c5718cf0]{font-weight:500;color:var(--ink)}.packing-field input[data-v-c5718cf0]{width:100%;padding:7px 10px}.packing-num-row[data-v-c5718cf0]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.packing-check-row[data-v-c5718cf0]{display:grid;gap:6px}.packing-check[data-v-c5718cf0]{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.3}.packing-check input[data-v-c5718cf0]{width:15px;height:15px;margin:0;flex:0 0 auto}.packing-storage-status[data-v-c5718cf0]{margin:0;font-size:13px;font-weight:600}.packing-storage-status.is-ok[data-v-c5718cf0]{color:var(--green)}.packing-storage-status.is-bad[data-v-c5718cf0]{color:var(--red)}.packing-actions-inline[data-v-c5718cf0],.packing-actions-footer[data-v-c5718cf0]{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:4px}.packing-actions-footer[data-v-c5718cf0]{border-top:1px solid var(--line);padding-top:8px}@media(max-width:980px){.packing-detail-body[data-v-c5718cf0]{grid-template-columns:1fr}.packing-audit-card[data-v-c5718cf0]{position:static}.packing-photos[data-v-c5718cf0]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.packing-settings-grid[data-v-c5718cf0]{grid-template-columns:1fr}.packing-page.is-settings[data-v-c5718cf0]{overflow:auto}}@media(max-width:640px){.packing-num-row[data-v-c5718cf0],.packing-photos[data-v-c5718cf0]{grid-template-columns:1fr}.packing-ops[data-v-c5718cf0],.packing-ops-actions[data-v-c5718cf0],.packing-ops-correct[data-v-c5718cf0]{width:100%}.packing-ops-correct[data-v-c5718cf0]{flex-direction:column;align-items:stretch}.packing-correct-input[data-v-c5718cf0],.packing-ops .btn[data-v-c5718cf0]{width:100%}}@media(max-width:720px){.packing-kpis[data-v-c5718cf0]{grid-template-columns:repeat(2,minmax(0,1fr))}}
