.link-button,.order-row-link{text-decoration:none}.danger-text{color:var(--danger)}.success-text{color:#166534}.action-tile:active,.order-row:active{transform:scale(.98)}.page-actions{display:flex;justify-content:flex-end}.count-badge{min-width:32px;height:32px;display:inline-grid;place-items:center;border-radius:var(--radius-pill);background:var(--surface-muted);color:var(--ink);font-weight:700}.metric-strip,.owner-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-strip>div,.kpi-cell{min-height:92px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}.metric-strip span,.kpi-cell span{display:block;color:var(--muted);font-size:13px;font-weight:600}.metric-strip strong,.kpi-cell strong{display:block;margin-top:10px;color:var(--ink);font-size:28px;line-height:1;font-variant-numeric:tabular-nums}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.action-tile{min-height:76px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);font-weight:700;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.action-tile svg{color:var(--accent);flex:0 0 auto}.owner-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.owner-grid .action-tile{min-height:86px;flex-direction:column;justify-content:center;text-align:center;gap:8px}.list-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:none}.section-heading{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid var(--line);background:var(--surface)}.section-heading h2{margin:0;font-size:18px;line-height:1.25;color:var(--ink)}.section-heading button{height:34px;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font-weight:700;padding:0 12px}.order-list,.alert-list{display:grid;gap:12px;padding:12px}.order-row,.alert-row{min-height:68px;display:grid;grid-template-columns:minmax(54px,.7fr) minmax(72px,1fr) auto auto;align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);text-align:left;transition:border-color .16s ease,background .16s ease,transform .16s ease}.active-orders-section{background:transparent;border:0;overflow:visible}.active-orders-section .section-heading{min-height:44px;padding:0;border:0;background:transparent}.active-orders-section .order-list{padding:0}.active-order-card{min-height:132px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"seat status" "time time" "guest guest" "amount cta";align-items:start;gap:8px 12px;padding:16px}.active-order-card .order-seat{grid-area:seat;font-size:18px;line-height:1.3}.active-order-card .order-guest{grid-area:guest;padding-top:10px;border-top:1px solid var(--line)}.active-order-card .order-amount{grid-area:amount;align-self:end;font-size:26px;line-height:1;font-variant-numeric:tabular-nums}.active-order-card .order-time{grid-area:time;align-self:start}.active-order-card .status-badge{grid-area:status}.active-order-card:after{content:"View Order";grid-area:cta;align-self:end;justify-self:end;display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 20px;border-radius:var(--radius-inner);background:var(--primary);color:#fff;font-weight:700}.status-badge{display:inline-flex;min-height:28px;align-items:center;justify-content:center;padding:0 10px;border:1px solid transparent;border-radius:var(--radius-pill);font-size:12px;font-weight:700;white-space:nowrap}.status-badge.status-ongoing,.status-badge.status-open,.status-badge.status-paid,.status-badge.status-partially_refunded{border-color:#bbf7d0;background:#dcfce7;color:#166534}.status-badge.status-awaiting,.status-badge.status-canceled,.status-badge.status-voided,.status-badge.status-fully_refunded{border-color:#fde68a;background:#fef9c3;color:#854d0e}.order-row:last-child,.alert-row:last-child{border-bottom:1px solid var(--line)}.order-seat,.order-amount,.alert-row strong{font-weight:700}.order-guest,.order-time{color:var(--muted);font-weight:500}.alert-row{grid-template-columns:12px 1fr auto}.alert-dot{width:10px;height:10px;border-radius:50%;background:var(--muted)}.alert-dot.warning{background:var(--warning)}.alert-dot.success{background:var(--success)}.padded{padding:14px}.muted-line{margin:0;color:var(--muted);font-weight:700}.form-panel,.detail-header,.summary-panel{display:grid;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}.form-panel h2{margin:0;font-size:18px}.quantity-input{width:100%;min-height:48px;border:1px solid var(--line);border-radius:var(--radius-inner);background:var(--surface);color:var(--ink);padding:0 12px;outline:0}.quantity-input:focus{border-color:var(--accent);box-shadow:var(--focus-ring)}.detail-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.detail-header span{display:block;color:var(--muted);font-weight:700}.detail-header strong{display:block;margin-top:4px;font-size:30px;line-height:1.08;font-variant-numeric:tabular-nums}.detail-actions,.dual-actions{display:flex;gap:8px;flex-wrap:wrap}.item-row,.refund-row,.member-row{min-height:64px;display:grid;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--ink)}.item-row{grid-template-columns:minmax(0,1fr) auto auto 34px}.refund-row,.member-row{grid-template-columns:minmax(0,1fr) auto}.member-row{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.item-row:last-child,.refund-row:last-child,.member-row:last-child{border-bottom:0}.item-row strong,.refund-row strong,.member-row strong{display:block}.item-row small,.refund-row small,.member-row small{display:block;margin-top:3px;color:var(--muted);font-weight:700}.stepper{display:grid;grid-template-columns:34px minmax(54px,auto) 34px;align-items:center;border:1px solid var(--line);border-radius:var(--radius-pill);overflow:hidden;background:var(--surface-muted)}.stepper button{width:34px;height:34px;border:0;background:transparent;color:var(--ink)}.stepper span{text-align:center;font-weight:800}.icon-button.danger{color:var(--danger)}.segmented-control{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;border:0;border-radius:var(--radius);background:transparent}.segmented-control button{min-height:56px;border:1px solid var(--line);border-radius:var(--radius-inner);background:var(--surface);color:var(--muted);font-weight:700;transition:border-color .16s ease,background .16s ease,color .16s ease}.segmented-control button.active{border:2px solid var(--accent);background:var(--color-brand-soft);color:var(--ink)}.segmented-control.two{grid-template-columns:repeat(2,minmax(0,1fr))}.category-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:8px}.category-filter button{min-height:42px;border:1px solid var(--line);border-radius:var(--radius-inner);background:var(--surface);color:var(--muted);font-weight:700}.category-filter button.active{border-color:var(--accent);background:var(--color-brand-soft);color:var(--ink)}.order-detail-header{border-radius:8px;padding:18px}.order-detail-header .primary-button{min-width:116px}.order-menu-panel{grid-template-columns:82px minmax(0,1fr);grid-template-areas:"categoryLabel productLabel" "categories product" "categories quantityLabel" "categories quantity" "categories add" "error error";align-items:start;gap:10px 14px}.order-menu-panel>.field-label:first-of-type{grid-area:categoryLabel;text-align:center}.order-menu-panel .category-filter{grid-area:categories;grid-template-columns:minmax(0,1fr);align-self:stretch;padding-right:10px;border-right:1px solid var(--line)}.order-menu-panel .category-filter button{min-height:64px;padding:8px 6px;border-radius:var(--radius);font-size:13px;line-height:1.25}.order-product-select{grid-area:product;min-height:58px;font-weight:700}.order-quantity-input{grid-area:quantity;min-height:56px;text-align:center;font-size:20px;font-weight:700}.add-product-button{grid-area:add;min-height:56px}.order-menu-panel>.field-label:nth-of-type(2){grid-area:productLabel}.order-menu-panel>.field-label:nth-of-type(3){grid-area:quantityLabel}.order-items-section .item-row{grid-template-columns:minmax(0,1fr) auto auto 40px}.auto-refresh-control{width:min(100%,860px);display:grid;grid-template-columns:auto minmax(120px,180px) minmax(0,1fr);align-items:center;gap:10px;margin:0 auto;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.auto-refresh-control .field-label{margin:0;white-space:nowrap}.auto-refresh-control .text-input{min-height:42px;height:42px}.auto-refresh-control .muted-line{margin:0;text-align:right}.admin-row{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);color:var(--ink)}.admin-row:last-child{border-bottom:0}.admin-row span{min-width:0}.admin-row strong,.admin-row small{display:block}.admin-row small{margin-top:3px;overflow:hidden;color:var(--muted);font-weight:700;text-overflow:ellipsis;white-space:nowrap}.admin-row b{justify-self:end}.admin-row-stack{grid-template-columns:minmax(0,1fr);align-items:stretch}.admin-row-stack>b{justify-self:start}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px}.inline-form .text-input{min-width:0}.filter-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.filter-row button{min-height:42px;border:1px solid var(--line);border-radius:var(--radius-inner);background:var(--surface);color:var(--muted);font-weight:700}.filter-row button.active{border-color:var(--accent);background:var(--color-brand-soft);color:var(--ink)}.date-filter-row{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.date-range-inputs{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.order-record-note span,.order-record-items span{min-width:0}.order-record-note strong,.order-record-note span,.order-record-items span{display:block}.order-record-note span,.order-record-items span,.ledger-line small{margin-top:3px;color:var(--muted);font-size:13px;font-weight:700;line-height:1.45}.order-record-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px;border-radius:var(--radius-inner);background:var(--surface-muted)}.order-record-grid span{color:var(--muted);font-size:12px;font-weight:800}.order-record-grid b{display:block;margin-top:2px;font-size:15px}.order-record-note,.order-record-items{display:grid;gap:4px}.order-record-warning{margin:0;color:var(--danger);font-weight:800}.order-void-form{grid-template-columns:minmax(0,1fr) auto}.ledger-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.chart-shell{height:220px;padding:12px 8px 8px 0}.summary-panel div{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-weight:700}.summary-panel strong{color:var(--ink)}.checkout-total-card{min-height:150px;place-items:center;text-align:center;border-radius:8px}.checkout-total-card span{color:var(--muted);font-size:13px;font-weight:700;letter-spacing:0;text-transform:uppercase}.checkout-total-card strong{margin-top:8px;color:var(--ink);font-size:40px;line-height:1}.payment-method-grid{margin-top:4px}.payment-method-grid button{min-height:86px;border-width:1px;background:var(--surface);color:var(--ink)}.payment-method-grid button.active{border-width:2px;border-color:var(--accent);background:var(--color-brand-soft);box-shadow:inset 0 0 0 1px #176b7026}.checkout-summary-panel{overflow:hidden;padding:0}.checkout-summary-panel div{min-height:52px;align-items:center;padding:0 16px;border-bottom:1px solid var(--line)}.checkout-summary-panel div:last-child{border-bottom:0}.checkout-confirm-button{position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));z-index:12;min-height:56px;margin-top:2px;border-radius:var(--radius-pill)}.toggle-line{min-height:44px;display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:800}.toggle-line input{width:32px;height:32px;accent-color:var(--accent)}.quantity-input{width:84px;text-align:center;font-weight:800}.dialog-list{min-height:120px;overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-panel)}@media(max-width:520px){.owner-grid,.owner-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.metric-strip strong,.kpi-cell strong{font-size:22px}.action-tile{min-height:68px;padding:12px}.order-row,.alert-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;padding:12px 14px}.active-order-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"seat status" "time time" "guest guest" "amount amount";gap:8px}.active-order-card:after{display:none}.order-time,.order-amount{justify-self:start}.detail-header{grid-template-columns:minmax(0,1fr)}.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.item-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.order-items-section .item-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.order-items-section .item-row>div:first-child{grid-column:1;grid-row:1}.order-items-section .item-row .stepper{grid-column:1;grid-row:2;justify-self:start}.order-items-section .item-row>b{grid-column:2;grid-row:1;justify-self:end}.order-items-section .item-row>.icon-button{grid-column:2;grid-row:2;justify-self:end}.quantity-input{width:100%}.order-menu-panel{grid-template-columns:74px minmax(0,1fr);gap:8px 10px}.order-menu-panel .category-filter{padding-right:8px}.order-menu-panel .category-filter button{min-height:58px;font-size:12px}.payment-method-grid{gap:8px}.payment-method-grid button{min-height:74px;padding:0 6px}.inline-form,.order-void-form,.date-range-inputs,.auto-refresh-control{grid-template-columns:minmax(0,1fr)}.auto-refresh-control .muted-line{text-align:left}.date-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.order-record-grid{grid-template-columns:minmax(0,1fr)}}@media(min-width:720px){.metric-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.action-grid:not(.owner-grid){grid-template-columns:repeat(4,minmax(0,1fr))}}html,body,#root{height:100%}body{overflow-y:auto}.quantity-input{border-radius:var(--radius-inner)}.section-heading button,.filter-row button,.category-filter button,.segmented-control button,.product-add-button,.product-stepper button{min-height:44px}.form-panel,.detail-header,.summary-panel,.list-section,.metric-strip>div,.kpi-cell,.action-tile,.auto-refresh-control{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none}.form-panel{padding:16px;gap:12px}.form-panel h2{color:var(--ink);font-size:17px;font-weight:800}.quantity-input{min-height:50px;border-color:var(--line);background:#fff;font-size:15px}.metric-strip,.owner-kpis,.action-grid{gap:12px}.metric-strip>div,.kpi-cell{min-height:96px;padding:16px}.metric-strip strong,.kpi-cell strong{font-size:28px;letter-spacing:0}.action-tile{min-height:82px;padding:14px}.action-tile svg{color:var(--accent)}.list-section{overflow:hidden}.section-heading{min-height:56px;padding:0 16px;background:#fff}.section-heading h2{font-size:17px;font-weight:800}.count-badge{min-width:30px;height:30px;background:var(--surface-muted);color:var(--ink)}.order-list,.alert-list{padding:12px}.order-row,.alert-row,.member-row,.admin-row{background:#fff}.member-row{min-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left}.member-row:last-child{border-bottom:0}.member-row strong,.member-row small{display:block}.member-row small{margin-top:3px;color:var(--muted);font-weight:700}.member-row b{font-size:17px;font-variant-numeric:tabular-nums}.member-row.active{background:var(--color-brand-soft);box-shadow:inset 3px 0 0 var(--accent)}.member-create-toggle-panel{padding:12px}.active-orders-section{border:0;background:transparent}.active-order-card{min-height:136px;border-radius:var(--radius);box-shadow:none}.active-order-card:after{content:"查看";min-height:46px;border-radius:999px}.status-badge{min-height:28px;padding:0 10px}.status-badge.status-ongoing,.status-badge.status-open,.status-badge.status-paid,.status-badge.status-partially_refunded{background:var(--success-bg);color:var(--success-ink)}.status-badge.status-awaiting,.status-badge.status-canceled,.status-badge.status-voided,.status-badge.status-fully_refunded{background:var(--warning-bg);color:var(--warning-ink)}.detail-header{padding:18px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px}.detail-actions .primary-button,.detail-actions .secondary-button{min-width:98px}.order-menu-panel{display:grid;grid-template-columns:82px minmax(0,1fr);grid-template-areas:"searchLabel search" "categoryLabel products" "categories products" "error error";align-items:start;gap:10px 12px;padding:12px}.order-menu-panel>.field-label.product-search-label{grid-area:searchLabel;margin:0;align-self:center;text-align:left}.product-search-input{grid-area:search}.order-menu-panel>.field-label:nth-of-type(2){grid-area:categoryLabel;margin:0;text-align:center}.order-menu-panel .category-filter{grid-area:categories;position:sticky;top:0;grid-template-columns:minmax(0,1fr);align-self:start;gap:8px;max-height:calc(100dvh - 210px);overflow:auto;padding:0 10px 0 0;border-right:1px solid var(--line)}.order-menu-panel .category-filter button{min-height:60px;padding:8px 6px;border-radius:var(--radius-inner);font-size:13px;line-height:1.2}.product-card-grid{grid-area:products;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.product-card{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);min-height:156px;overflow:visible;border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:10px}.product-sale-spec-control{min-width:0;display:grid;align-content:start;gap:8px}.product-shared-stock{width:fit-content;max-width:100%;border-radius:999px;background:var(--success-bg);color:var(--success-ink);padding:3px 7px;font-size:11px;font-weight:800;line-height:1.2}.product-sale-spec-buttons{min-width:0;display:grid;gap:6px}.product-sale-spec-button{min-width:0;min-height:46px;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:3px 8px;padding:8px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:var(--ink);text-align:left}.product-sale-spec-button:not(:disabled):hover{border-color:var(--color-brand);background:var(--color-brand-soft)}.product-sale-spec-button:disabled{cursor:not-allowed;opacity:.66}.product-sale-spec-name{min-width:0;overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-sale-spec-meta{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.product-sale-spec-meta b{color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.product-sale-spec-disabled-reason{grid-column:1 / -1;color:#b42318;font-size:11px;font-weight:700}.order-record-refund-item,.refund-selection-summary span{display:block;margin-top:4px;color:var(--muted)}.refund-selection-summary{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted)}.product-card-body{min-width:0;display:grid;align-content:start;gap:4px;padding:0}.product-card-body strong{display:-webkit-box;overflow-wrap:anywhere;overflow:hidden;color:var(--ink);font-size:14px;line-height:1.28;-webkit-box-orient:vertical;-webkit-line-clamp:2}.product-card-body small{width:fit-content;max-width:100%;overflow:hidden;border-radius:999px;background:var(--success-bg);color:var(--success-ink);font-size:10px;font-weight:800;line-height:1.2;padding:3px 6px;text-overflow:ellipsis;white-space:nowrap}.product-card-footer{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-self:end;align-items:stretch;gap:6px;padding:0}.product-card-footer b{min-width:0;overflow:hidden;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.product-add-button{width:100%;min-height:32px;height:32px;border:0;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center}.product-stepper{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:center;overflow:hidden;width:100%;height:32px;border:1px solid var(--line);border-radius:999px;background:var(--surface-muted)}.product-stepper button{width:100%;min-height:30px;border:0;background:transparent;color:var(--ink);display:grid;place-items:center}.product-stepper span{color:var(--ink);font-size:13px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}.order-menu-panel .form-error{grid-area:error}.list-toolbar{padding:0 14px 12px;border-bottom:1px solid var(--line)}.product-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.member-balance-actions{display:grid;gap:12px}.balance-action-panel{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.receipt-print-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px}.item-row{border-color:var(--line)}.checkout-total-card{min-height:154px;border-radius:8px;background:#fff}.payment-method-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.payment-method-grid button{min-height:84px;border-radius:var(--radius);background:#fff}.payment-method-grid button.active{border-color:var(--accent);background:var(--color-brand-soft);color:var(--ink)}.checkout-summary-panel div{min-height:54px}.checkout-confirm-button{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));z-index:45;width:min(calc(100% - 32px),860px);min-height:56px;transform:translate(-50%)}.app-content:has(.checkout-confirm-button){padding-bottom:calc(180px + env(safe-area-inset-bottom))}.auto-refresh-control{width:100%;margin:0;padding:12px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.auto-refresh-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.auto-refresh-toggle,.auto-refresh-manual{min-width:0;min-height:46px;border-radius:var(--radius-inner);white-space:nowrap}.auto-refresh-toggle{justify-content:space-between}.auto-refresh-manual{padding:0 12px}.auto-refresh-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.auto-refresh-options button{min-height:42px;border:1px solid var(--line);border-radius:var(--radius-inner);background:#fff;color:var(--muted);font-weight:800}.auto-refresh-options button.active{border-color:var(--accent);background:var(--color-brand-soft);color:var(--ink)}.open-orders-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.open-orders-toolbar .auto-refresh-control{min-width:0;padding:0;border:0;background:transparent}.open-orders-toolbar .auto-refresh-summary{grid-template-columns:minmax(0,1fr) 48px;gap:8px}.open-orders-toolbar .auto-refresh-toggle,.open-orders-toolbar .auto-refresh-manual,.open-orders-toolbar .primary-button{min-height:50px;height:50px}.open-orders-toolbar .auto-refresh-toggle{overflow:hidden;padding:0 10px 0 12px;font-size:13px}.open-orders-toolbar .auto-refresh-toggle svg{flex:0 0 auto}.open-orders-toolbar .auto-refresh-manual{width:48px;padding:0;font-size:0}.open-orders-toolbar .auto-refresh-manual svg{width:18px;height:18px}.open-orders-toolbar .primary-button{padding:0 14px;font-size:14px}.open-orders-toolbar .auto-refresh-options{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-row button.active,.category-filter button.active,.segmented-control button.active{border-color:var(--accent);background:var(--color-brand-soft)}.chart-shell{height:240px;padding:14px 8px 10px 0}.audit-log-section{overflow:hidden}.audit-log-row{display:grid;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff}.audit-log-row:last-child{border-bottom:0}.audit-log-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.audit-log-main strong,.audit-log-main small{display:block}.audit-log-main strong{color:var(--ink);font-size:16px;line-height:1.3}.audit-log-main small,.audit-log-meta{color:var(--muted);font-size:13px;font-weight:700}.audit-log-main b{color:var(--ink);font-size:13px;white-space:nowrap}.audit-log-meta{display:grid;gap:4px;min-width:0}.audit-log-meta span,.audit-log-meta em{overflow-wrap:anywhere;font-style:normal}.audit-log-json{border-radius:var(--radius-inner);background:var(--surface-muted);padding:10px 12px}.audit-log-json summary{color:var(--ink);cursor:pointer;font-weight:800}.audit-log-json pre{max-height:180px;overflow:auto;margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.toggle-line{min-height:52px;padding:0 4px}.toggle-line input{width:28px;height:28px}@media(min-width:720px){.product-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.owner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-method-grid{gap:8px}}@media(max-width:420px){.product-card-footer{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}.product-add-button{width:100%}.product-stepper{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);width:100%}.product-stepper button{width:100%}}@media(max-width:380px){.order-menu-panel{grid-template-columns:68px minmax(0,1fr);gap:8px;padding:10px}.order-menu-panel .category-filter{padding-right:8px}.order-menu-panel .category-filter button{min-height:56px;font-size:12px}.product-card-grid{gap:8px}.product-card{padding:8px}.product-card-body,.product-card-footer{padding:0}.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.payment-method-grid button{min-height:76px;padding:0 4px;font-size:13px}.auto-refresh-summary{grid-template-columns:minmax(0,1fr)}.auto-refresh-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:340px){.product-card-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.product-edit-grid{grid-template-columns:minmax(0,1fr)}.admin-row-stack .inline-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-row-stack .inline-form b{grid-column:1 / -1;justify-self:start}}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--color-brand);outline-offset:2px}a[aria-disabled=true]{pointer-events:none;opacity:.55;cursor:not-allowed}.eyebrow{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}@media(max-width:1023px){.checkout-confirm-button{bottom:calc(86px + env(safe-area-inset-bottom));z-index:55}}@media(min-width:1024px){.list-section,.form-panel,.detail-header,.owner-kpis>.kpi-cell,.metric-strip>div{border-radius:8px}.owner-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.owner-kpis>.kpi-cell{min-height:112px}.owner-kpis>.kpi-cell strong{font-size:27px}.checkout-confirm-button{position:static;width:auto;transform:none}.app-content:has(.checkout-confirm-button){padding-bottom:56px}.product-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:520px){.product-card-grid{grid-template-columns:minmax(0,1fr)}}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.member-merge-panel{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.pagination-bar{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;color:var(--muted);font-size:13px}@media(max-width:640px){.form-grid-2{grid-template-columns:1fr}}.warning-text{color:var(--color-warning)}.refund-text,.direction-outflow b{color:var(--color-danger)}.payment-channel-card{padding:18px;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.payment-channel-card-heading{margin-bottom:4px}.payment-channel-card-heading>span,.payment-channel-card-heading small{display:block}.payment-channel-card-heading small{margin-top:3px;color:var(--color-muted);font-size:12px;font-weight:700}.payment-channel-state{min-height:184px;display:grid;place-items:center;color:var(--color-muted);font-weight:700}.payment-channel-state-error{align-content:center;gap:12px;color:var(--color-danger)}.payment-channel-stale-warning{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid var(--color-danger);border-radius:var(--radius-control);background:var(--color-danger-soft);color:var(--color-danger);font-size:12px;font-weight:800}.payment-channel-body{display:grid;grid-template-columns:184px minmax(220px,1fr);align-items:center;gap:24px;max-width:680px;margin-top:12px}.payment-channel-donut{position:relative;width:184px;height:184px}.payment-channel-donut:focus-visible{border-radius:50%;outline:2px solid var(--color-brand);outline-offset:3px}.payment-channel-center{position:absolute;top:49px;right:49px;bottom:49px;left:49px;display:grid;align-content:center;justify-items:center;pointer-events:none;text-align:center}.payment-channel-center small{color:var(--color-muted);font-size:11px;font-weight:800}.payment-channel-center strong{margin-top:3px;color:var(--color-ink);font-size:16px;font-variant-numeric:tabular-nums}.payment-channel-legend{display:grid;gap:5px}.payment-channel-legend-row{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:5px 8px;border-bottom:1px solid var(--color-border-soft);color:var(--color-ink);font-size:13px}.payment-channel-legend-row:last-child{border-bottom:0}.payment-channel-legend-row>span{display:inline-flex;align-items:center;gap:8px;color:var(--color-ink);font-weight:750}.payment-channel-legend-row>span small{color:var(--color-danger);font-size:10px;font-weight:800}.payment-channel-legend-row:focus-visible{border-radius:var(--radius-compact);outline:2px solid var(--color-brand);outline-offset:2px}.payment-channel-legend-row i{width:9px;height:9px;border-radius:50%}.payment-channel-legend-row b{font-variant-numeric:tabular-nums}.payment-channel-tooltip{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--color-control-border);border-radius:var(--radius-panel);background:var(--color-surface);box-shadow:var(--shadow-float);color:var(--color-ink);font-size:12px}.payment-channel-total{display:flex;flex-wrap:wrap;gap:5px 9px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--color-border-soft);color:var(--color-muted);font-size:13px}.payment-channel-total b{color:var(--color-ink);font-variant-numeric:tabular-nums}.payment-channel-total b.danger-text{color:var(--color-danger)}.payment-channel-note{margin:6px 0 0;color:var(--color-muted);font-size:11px}@media(max-width:640px){.payment-channel-card{padding:14px}.payment-channel-body{grid-template-columns:132px minmax(0,1fr);gap:12px}.payment-channel-donut{width:132px;height:132px}.payment-channel-center{top:35px;right:35px;bottom:35px;left:35px}.payment-channel-center strong{font-size:13px}.payment-channel-legend-row{min-height:30px;padding-inline:2px;gap:8px;font-size:12px}}.filter-row button.active,.category-filter button.active,.segmented-control button.active{border-color:var(--color-brand);background:var(--color-brand-soft);color:var(--color-brand-hover)}:root{color:#1d2623;background:#f4f6f3;font-family:Microsoft YaHei UI,PingFang SC,Noto Sans SC,system-ui,sans-serif;font-synthesis:none;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;--color-page: #f4f6f3;--color-surface: #ffffff;--color-surface-muted: #edf2ef;--color-ink: #1d2623;--color-muted: #65716c;--color-border: #d4dcd7;--color-border-soft: #e8ece9;--color-control-border: #829087;--color-brand: #176b70;--color-brand-hover: #12595d;--color-brand-soft: #dcebea;--color-success: #3c6a35;--color-success-soft: #e7f0e4;--color-warning: #855a00;--color-warning-soft: #f5ecd7;--color-danger: #b3261e;--color-danger-soft: #f8e5e3;--radius-panel: 8px;--radius-control: 8px;--radius-compact: 6px;--shadow-overlay: 0 22px 60px rgb(29 38 35 / 18%);--shadow-float: 0 12px 32px rgb(29 38 35 / 8%);--focus-ring: 0 0 0 3px rgb(23 107 112 / 24%);--sidebar-width: 232px;--sidebar-rail-width: 76px;--content-max: 1440px;--mobile-nav-height: 68px;--page-gutter: 32px;--surface: var(--color-surface);--surface-muted: var(--color-surface-muted);--surface-page: var(--color-page);--ink: var(--color-ink);--muted: var(--color-muted);--line: var(--color-border);--line-strong: var(--color-control-border);--accent: var(--color-brand);--accent-strong: var(--color-brand-hover);--primary: var(--color-brand);--success: var(--color-success);--warning: var(--color-warning);--danger: var(--color-danger);--radius: var(--radius-panel);--radius-inner: var(--radius-control);--shadow: none;--radius-pill: 999px;--success-bg: var(--color-success-soft);--success-ink: var(--color-success);--warning-bg: var(--color-warning-soft);--warning-ink: var(--color-warning)}@media(max-width:1023px){:root{--page-gutter: 16px}}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--color-page);color:var(--color-ink)}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}strong,b,.tabular-number{font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);background:var(--color-page)}.desktop-sidebar{position:sticky;top:0;z-index:10;grid-column:1;grid-row:1 / -1;height:100dvh;display:flex;flex-direction:column;overflow-y:auto;padding:24px 16px 16px;border-right:1px solid var(--color-border);background:#edf1ee;color:var(--color-ink)}.sidebar-brand{min-height:42px;display:flex;align-items:center;gap:10px;margin-bottom:22px}.sidebar-brand-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:var(--radius-control);background:var(--color-brand);color:#fff;font-size:18px;font-weight:700}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:15px;line-height:1.2}.sidebar-brand small,.sidebar-section-label,.sidebar-role{color:var(--color-muted);font-size:12px}.sidebar-brand small{margin-top:3px;line-height:1.2}.sidebar-nav{display:grid;gap:4px}.sidebar-section-label{margin:0 12px 8px;font-weight:600}.sidebar-nav-item,.sidebar-logout{min-height:44px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;border-radius:var(--radius-control);background:transparent;color:var(--color-muted);font-size:14px;font-weight:600;text-align:left;text-decoration:none;cursor:pointer;transition:background .17s ease,color .17s ease}.sidebar-nav-item svg,.sidebar-logout svg{flex:0 0 auto}.sidebar-nav-item:hover,.sidebar-logout:hover{background:#176b7014;color:var(--color-ink)}.sidebar-nav-item.active{background:var(--color-brand-soft);color:var(--color-brand-hover)}.sidebar-footer{display:grid;gap:8px;margin-top:auto;padding-top:16px;border-top:1px solid var(--color-border)}.sidebar-role{font-weight:600}.sidebar-logout{width:100%}.top-bar{grid-column:2;grid-row:1;width:100%;max-width:none;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:14px var(--page-gutter);border-bottom:1px solid var(--color-border);background:#f4f6f3f0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.top-bar-copy{min-width:0;flex:1 1 auto}.top-bar-copy p,.top-bar-copy h1{margin:0}.top-bar-copy p{color:var(--color-muted);font-size:12px}.top-bar-copy h1{overflow:hidden;margin-top:3px;color:var(--color-ink);font-size:24px;font-weight:700;line-height:1.2;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.account-chip{min-width:0;min-height:40px;flex:0 1 auto;display:flex;align-items:center;gap:8px;padding:3px 4px 3px 12px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-ink)}.account-chip-role,.account-chip-name{overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.account-chip-role{color:var(--color-muted)}.account-chip-name{max-width:128px}.app-content{grid-column:2;grid-row:2;width:min(100%,var(--content-max));min-height:0;display:grid;align-content:start;gap:20px;margin:0 auto;padding:24px var(--page-gutter) 40px;overflow:visible}.mobile-bottom-nav{display:none}.skip-link{position:fixed;top:8px;left:8px;z-index:120;transform:translateY(-150%);padding:8px 12px;border-radius:var(--radius-compact);background:var(--color-ink);color:#fff;font-weight:700;text-decoration:none}.skip-link:focus,.skip-link:focus-visible{transform:translateY(0)}.more-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;justify-content:flex-end;background:#1d262366}.more-menu-drawer{width:min(88vw,360px);height:100dvh;overflow-y:auto;padding:20px 16px;background:var(--color-surface);box-shadow:var(--shadow-overlay)}.more-menu-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--color-border)}.more-menu-header h2{margin:4px 0 0;font-size:22px}.more-menu-list{display:grid;gap:4px;padding-top:14px}@media(min-width:1024px){.more-menu-backdrop{display:none}}@media(min-width:1024px)and (max-width:1179px){.app-shell{grid-template-columns:var(--sidebar-rail-width) minmax(0,1fr)}.desktop-sidebar{align-items:center;padding-inline:10px}.sidebar-brand{justify-content:center}.sidebar-brand>span:last-child,.sidebar-section-label,.sidebar-nav-item span,.sidebar-role,.sidebar-logout span{display:none}.sidebar-nav,.sidebar-footer{width:100%}.sidebar-nav-item,.sidebar-logout{justify-content:center;padding:0}}@media(max-width:1023px){.app-shell{display:block;padding:0}.desktop-sidebar{display:none}.top-bar{position:sticky;top:0;z-index:20;min-height:64px;padding:10px var(--page-gutter)}.top-bar-copy h1{font-size:21px}.account-chip-role{display:none}.account-chip-name{max-width:96px}.app-content{width:100%;gap:16px;margin:0;padding:18px var(--page-gutter) calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 24px)}.mobile-bottom-nav{position:fixed;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));left:10px;z-index:30;min-height:var(--mobile-nav-height);display:grid;align-items:center;padding:6px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);box-shadow:var(--shadow-float)}.mobile-nav-item{min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0 6px;border:0;border-radius:var(--radius-control);background:transparent;color:var(--color-muted);font-size:11px;font-weight:600;text-decoration:none;cursor:pointer}.mobile-nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-nav-item.active{background:var(--color-brand-soft);color:var(--color-brand-hover)}}.primary-button,.secondary-button,.warning-button,.danger-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:var(--radius-control);padding:0 16px;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;transition:transform .17s ease,background-color .17s ease,border-color .17s ease}.primary-button{border-color:var(--color-brand);background:var(--color-brand);color:#fff}.secondary-button{border-color:var(--color-control-border);background:var(--color-surface);color:var(--color-ink)}.warning-button{border-color:var(--color-warning);background:var(--color-warning);color:#fff}.danger-button{border-color:var(--color-danger);background:var(--color-danger);color:#fff}.primary-button:hover:not(:disabled){border-color:var(--color-brand-hover);background:var(--color-brand-hover)}.secondary-button:hover:not(:disabled){border-color:var(--color-brand);background:var(--color-surface-muted)}.warning-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--color-warning) 88%,var(--color-ink));background:color-mix(in srgb,var(--color-warning) 88%,var(--color-ink))}.danger-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--color-danger) 88%,var(--color-ink));background:color-mix(in srgb,var(--color-danger) 88%,var(--color-ink))}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),.warning-button:active:not(:disabled),.danger-button:active:not(:disabled){transform:translateY(1px)}.primary-button:disabled,.secondary-button:disabled,.warning-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.52;transform:none}.icon-button{width:40px;min-width:40px;height:40px;min-height:40px;display:grid;place-items:center;border:1px solid var(--color-control-border);border-radius:var(--radius-control);padding:0;background:var(--color-surface);color:var(--color-ink);cursor:pointer;transition:transform .17s ease,background-color .17s ease,border-color .17s ease}.icon-button:hover:not(:disabled){border-color:var(--color-brand);background:var(--color-surface-muted)}.icon-button:active:not(:disabled){transform:translateY(1px)}.icon-button:disabled{cursor:not-allowed;opacity:.52;transform:none}.text-input,.text-area,select.text-input{width:100%;min-height:44px;border:1px solid var(--color-control-border);border-radius:var(--radius-control);padding:0 12px;background:var(--color-surface);color:var(--color-ink)}.text-area,textarea.text-input{min-height:88px;padding-block:10px;resize:vertical}.text-input:focus,.text-area:focus,select.text-input:focus{border-color:var(--color-brand);outline:none;box-shadow:var(--focus-ring)}.text-input::placeholder,.text-area::placeholder{color:var(--color-muted);opacity:1}.field-label{color:var(--color-ink);font-size:14px;font-weight:600;line-height:1.4}.login-screen,.state-screen{min-height:100dvh;display:grid;place-items:center;padding:24px 16px}.login-panel,.state-panel{width:min(100%,420px);border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:28px;background:var(--color-surface)}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.brand-mark{width:48px;height:48px;flex:0 0 auto;display:grid;place-items:center;border-radius:var(--radius-control);background:var(--color-brand);color:#fff;font-size:20px;font-weight:800}.login-brand p,.login-brand h1{margin:0}.login-brand p{color:var(--color-muted);font-size:12px;line-height:1.4}.login-brand h1{margin-top:3px;color:var(--color-ink);font-size:28px;line-height:1.15;letter-spacing:0}.login-form{display:grid;gap:10px}.input-shell{width:100%;min-width:0;min-height:48px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--color-control-border);border-radius:var(--radius-control);padding:0 12px;background:var(--color-surface);color:var(--color-muted)}.input-shell:focus-within{border-color:var(--color-brand);box-shadow:var(--focus-ring)}.input-shell input{width:100%;min-width:0;height:46px;border:0;padding:0;outline:0;background:transparent;color:var(--color-ink);font-size:16px}.form-error{margin:4px 0 0;color:var(--color-danger);font-size:14px;line-height:1.5}.login-button{width:100%;margin-top:8px}.state-panel{text-align:center}.state-panel h1{margin:0;color:var(--color-ink);font-size:28px;line-height:1.2;letter-spacing:0}.state-kicker{margin:0 0 6px;color:var(--color-brand-hover);font-size:12px;font-weight:700;letter-spacing:.08em}.state-copy{max-width:32ch;margin:10px auto 0;color:var(--color-muted);font-size:14px;line-height:1.6}.state-action{margin-top:22px}.state-loading-indicator{width:24px;height:24px;margin:0 auto 18px;border:2px solid var(--color-brand-soft);border-top-color:var(--color-brand);border-radius:50%;animation:state-indicator-spin .8s linear infinite}@keyframes state-indicator-spin{to{transform:rotate(360deg)}}@media(max-width:360px){.login-panel,.state-panel{padding:22px}}.status-chip{min-height:24px;display:inline-flex;align-items:center;padding:2px 7px;border-radius:var(--radius-compact);font-size:12px;font-weight:600;line-height:1.3}.status-chip-success{background:var(--color-success-soft);color:var(--color-success)}.status-chip-info{background:var(--color-brand-soft);color:var(--color-brand-hover)}.status-chip-warning{background:var(--color-warning-soft);color:var(--color-warning)}.status-chip-danger{background:var(--color-danger-soft);color:var(--color-danger)}.status-chip-neutral{background:var(--color-surface-muted);color:var(--color-ink)}.query-state{min-height:112px;display:grid;align-content:center;justify-items:start;gap:8px;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:20px;background:var(--color-surface);color:var(--color-ink)}.query-state p{margin:0;color:var(--color-muted);line-height:1.5}.query-state-error{border-color:#b3261e59}.query-state-error>strong{color:var(--color-danger)}.confirm-dialog{width:min(calc(100vw - 24px),440px);max-width:none;max-height:calc(100dvh - 24px);margin:auto;border:0;padding:0;overflow:visible;background:transparent;color:var(--color-ink)}.confirm-dialog::backdrop{background:#1d262385}.confirm-dialog-surface{max-height:calc(100dvh - 24px);display:grid;gap:20px;overflow-y:auto;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:20px;background:var(--color-surface);box-shadow:var(--shadow-overlay)}.confirm-dialog-brand{border-color:var(--color-brand)}.confirm-dialog-warning{border-color:var(--color-warning)}.confirm-dialog-danger{border-color:var(--color-danger)}.confirm-dialog-surface header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px}.confirm-dialog-surface h2,.confirm-dialog-surface p{margin:0}.confirm-dialog-surface h2{color:var(--color-ink);font-size:18px;line-height:1.35}.confirm-dialog-surface p{margin-top:6px;color:var(--color-muted);font-size:14px;line-height:1.55}.confirm-dialog-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%}.confirm-dialog-icon-brand{background:var(--color-brand-soft);color:var(--color-brand)}.confirm-dialog-icon-warning{background:var(--color-warning-soft);color:var(--color-warning)}.confirm-dialog-icon-danger{background:var(--color-danger-soft);color:var(--color-danger)}.confirm-dialog-surface footer{display:flex;justify-content:flex-end;gap:8px}@media(max-width:520px){.confirm-dialog-surface{padding:18px 16px max(18px,env(safe-area-inset-bottom))}.confirm-dialog-surface footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-drawer{position:fixed;inset:0 0 0 auto;width:auto;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;padding:0;overflow:visible;background:transparent;color:var(--color-ink)}.admin-drawer-standard{width:clamp(480px,38vw,560px)}.admin-drawer-wide{width:min(720px,calc(100vw - 32px))}.admin-drawer::backdrop{background:color-mix(in srgb,var(--color-ink) 48%,transparent)}.admin-drawer-surface{width:100%;height:100%;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-left:1px solid var(--color-border);background:var(--color-surface);box-shadow:var(--shadow-overlay);outline:0}.admin-drawer-header{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;border-bottom:1px solid var(--color-border-soft);padding:20px 24px}.admin-drawer-header>div{min-width:0}.admin-drawer-header h2,.admin-drawer-header p{margin:0}.admin-drawer-header h2{color:var(--color-ink);font-size:20px;line-height:1.3;overflow-wrap:anywhere}.admin-drawer-header p{margin-top:6px;color:var(--color-muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere}.admin-drawer-header .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}.admin-drawer-body{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px}.admin-drawer-footer{min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;border-top:1px solid var(--color-border-soft);padding:16px 24px max(16px,env(safe-area-inset-bottom));background:var(--color-surface)}.workbench-toolbar{width:100%;min-width:0;max-width:100%;display:flex;flex-wrap:nowrap;align-items:end;gap:12px;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:12px;background:var(--color-surface)}.workbench-toolbar>*{min-width:0;flex:0 1 auto}.workbench-table-frame{width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.workbench-table-header{min-width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--color-border-soft);padding:14px 16px}.workbench-table-header h2{margin:0;color:var(--color-ink);font-size:18px;line-height:1.35}.workbench-table-count{color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.workbench-pagination{min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums}.workbench-pagination>span{text-align:center;white-space:nowrap}@media(max-width:767px){.admin-drawer{top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;max-height:100dvh}.admin-drawer-surface{border-left:0}.admin-drawer-header,.admin-drawer-body{padding:16px}.admin-drawer-footer{padding-inline:16px}.workbench-toolbar{flex-wrap:wrap}.workbench-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.workbench-pagination>span{grid-column:1 / -1;grid-row:1}}.owner-cockpit{min-width:0;max-width:100%;display:grid;gap:16px}.owner-revenue-hero,.owner-attention-panel,.owner-channel-summary{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.owner-revenue-hero{min-height:220px;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);overflow:hidden}.owner-kpi-strip{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.owner-kpi-strip>.kpi-cell{min-width:0;min-height:96px;padding:16px;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface);box-shadow:none}.owner-kpi-strip>.kpi-cell span{display:block;color:var(--color-muted);font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.owner-kpi-strip>.kpi-cell strong{display:block;margin-top:10px;color:var(--color-ink);font-size:28px;font-variant-numeric:tabular-nums;line-height:1;overflow-wrap:anywhere}.owner-cockpit-secondary{min-width:0;display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,5fr);align-items:start;gap:16px}.owner-attention-state{min-width:0}.owner-attention-state>.query-state{min-height:100%;margin:0}.owner-revenue-summary{min-width:0;display:grid;align-content:center;gap:10px;border-right:1px solid var(--color-border-soft);padding:24px;background:var(--color-surface-muted)}.owner-revenue-summary h2,.owner-revenue-summary p,.owner-attention-heading h2,.owner-channel-heading h2,.owner-attention-empty,.owner-revenue-empty{margin:0}.owner-revenue-summary h2,.owner-attention-heading h2,.owner-channel-heading h2{color:var(--color-ink);font-size:18px;line-height:1.35}.owner-revenue-value{color:var(--color-brand-hover);font-size:48px;font-variant-numeric:tabular-nums;line-height:1;letter-spacing:0;overflow-wrap:anywhere}.owner-revenue-date{color:var(--color-muted);font-size:13px;line-height:1.5}.owner-revenue-chart-region{min-width:0;padding:20px 20px 12px}.owner-revenue-chart-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.owner-revenue-chart-viewport{width:100%;min-width:360px;height:188px;min-height:180px}.owner-revenue-empty{min-width:0;min-height:180px;display:grid;place-items:center;padding:24px;color:var(--color-muted);line-height:1.6;text-align:center}.owner-revenue-data-table{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.owner-attention-heading{border-bottom:1px solid var(--color-border-soft);padding:18px 20px}.owner-attention-list{display:grid}.owner-attention-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 20px}.owner-attention-row+.owner-attention-row{border-top:1px solid var(--color-border-soft)}.owner-attention-label{min-width:0;color:var(--color-ink);line-height:1.5;overflow-wrap:anywhere}.owner-attention-value{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.owner-attention-empty{padding:24px 20px;color:var(--color-muted);line-height:1.6}.owner-channel-heading{border-bottom:1px solid var(--color-border-soft);padding:18px 20px}.owner-channel-list{display:grid}.owner-channel-row{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 20px}.owner-channel-row+.owner-channel-row{border-top:1px solid var(--color-border-soft)}.owner-channel-row span{min-width:0;color:var(--color-muted);line-height:1.5;overflow-wrap:anywhere}.owner-channel-row strong{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.owner-quick-actions{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.owner-quick-action{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-ink);font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease}.owner-quick-action svg{flex:0 0 auto;color:var(--color-brand)}.owner-quick-action span{min-width:0;overflow-wrap:anywhere}.owner-quick-action:hover{border-color:var(--color-brand);background:var(--color-brand-soft);color:var(--color-brand-hover)}.owner-quick-action:active{transform:translateY(1px)}.owner-quick-action:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}@media(max-width:767px){.owner-revenue-value{font-size:36px}.owner-revenue-hero{grid-template-columns:minmax(0,1fr)}.owner-kpi-strip,.owner-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-cockpit-secondary{grid-template-columns:minmax(0,1fr)}.owner-revenue-summary{border-right:0;border-bottom:1px solid var(--color-border-soft);padding:20px 16px}.owner-revenue-chart-region{padding-inline:16px}.owner-revenue-chart-viewport{min-width:320px}.owner-attention-heading,.owner-attention-row,.owner-attention-empty,.owner-channel-heading,.owner-channel-row{padding-inline:16px}.owner-attention-row{grid-template-columns:minmax(0,1fr) auto}.owner-attention-row .status-chip{justify-self:start}.owner-attention-value{grid-column:2;grid-row:1 / span 2}.owner-quick-action{min-height:48px;padding-inline:10px}}.report-cockpit{min-width:0;max-width:100%;display:grid;gap:16px}.report-toolbar{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.date-range-filter{min-width:0;display:grid;gap:12px;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:14px;background:var(--color-surface)}.date-range-filter .muted-line,.date-range-filter .form-error{margin:0}.report-auto-refresh{width:auto;max-width:none;margin:0;align-self:stretch}.report-primary-grid,.report-secondary-grid,.report-ranking-grid{min-width:0;display:grid;gap:16px}.report-primary-grid{grid-template-columns:minmax(0,8fr) minmax(280px,4fr)}.report-secondary-grid,.report-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-primary-grid>*,.report-secondary-grid>*,.report-ranking-grid>*{min-width:0}.report-kpi-strip{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-kpi-cell,.report-trend-panel,.report-payment-breakdown,.report-cost-summary,.report-member-funds,.report-ranking{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.report-kpi-cell{min-height:96px;padding:16px}.report-kpi-cell span,.report-kpi-cell small{display:block;color:var(--color-muted);font-size:13px;font-weight:600;line-height:1.5}.report-kpi-cell strong{display:block;margin-top:10px;color:var(--color-ink);font-size:28px;font-variant-numeric:tabular-nums;line-height:1;overflow-wrap:anywhere}.report-kpi-cell small{margin-top:7px}.report-panel-heading{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--color-border-soft);padding:14px 20px}.report-panel-heading h2{margin:0;color:var(--color-ink);font-size:18px;line-height:1.35}.report-count-badge{min-width:28px;min-height:28px;display:inline-grid;place-items:center;border-radius:999px;padding-inline:8px;background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700}.report-trend-panel{min-height:360px;overflow:hidden}.report-trend-chart-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding:12px 16px 16px}.report-trend-chart-shell{width:100%;min-width:420px;height:280px}.report-trend-empty{min-height:280px;display:grid;place-items:center;margin:0;padding:24px;color:var(--color-muted);line-height:1.6;text-align:center}.report-trend-data-table{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.report-payment-list{display:grid}.report-payment-row{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 20px}.report-payment-row+.report-payment-row{border-top:1px solid var(--color-border-soft)}.report-payment-row span{color:var(--color-muted)}.report-payment-row strong{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.report-cost-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;background:var(--color-border-soft)}.report-cost-metrics>div{min-width:0;padding:18px 20px;background:var(--color-surface)}.report-cost-metrics dt{color:var(--color-muted);font-size:13px;line-height:1.5}.report-cost-metrics dd{margin:8px 0 0;color:var(--color-ink);font-size:22px;font-variant-numeric:tabular-nums;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.report-cost-warning,.report-cost-complete{margin:0;border-top:1px solid var(--color-border-soft);padding:13px 20px;font-size:13px;font-weight:600;line-height:1.5}.report-cost-warning{background:var(--color-warning-soft);color:var(--color-warning)}.report-cost-complete{color:var(--color-success)}.member-funds-primary{display:grid;gap:8px;border-bottom:1px solid var(--color-border-soft);padding:18px 20px;background:var(--color-surface-muted)}.member-funds-primary span{color:var(--color-muted);font-size:13px;font-weight:600}.member-funds-net-value{color:var(--color-brand-hover);font-size:30px;font-variant-numeric:tabular-nums;line-height:1;overflow-wrap:anywhere}.member-funds-net-value.danger-text{color:var(--color-danger)}.member-funds-details{display:grid}.member-funds-row{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 20px}.member-funds-row+.member-funds-row{border-top:1px solid var(--color-border-soft)}.member-funds-row span{color:var(--color-muted)}.member-funds-row strong{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.report-ranking-list{display:grid}.report-ranking-row{min-width:0;min-height:60px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 20px}.report-ranking-row+.report-ranking-row{border-top:1px solid var(--color-border-soft)}.report-ranking-row span,.report-ranking-row strong,.report-ranking-row small{min-width:0;display:block}.report-ranking-row strong{color:var(--color-ink);line-height:1.45;overflow-wrap:anywhere}.report-ranking-row small{margin-top:3px;color:var(--color-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.report-ranking-row b{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.report-ranking-empty{min-height:96px;display:grid;place-items:center;margin:0;padding:20px;color:var(--color-muted);line-height:1.6;text-align:center}@media(max-width:767px){.report-toolbar,.report-primary-grid,.report-secondary-grid,.report-ranking-grid{grid-template-columns:minmax(0,1fr)}.report-auto-refresh{width:100%}.report-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.report-panel-heading,.report-payment-row,.report-cost-metrics>div,.report-cost-warning,.report-cost-complete,.member-funds-primary,.member-funds-row,.report-ranking-row{padding-inline:16px}.report-trend-panel{min-height:280px}.report-trend-chart-scroll{padding-inline:12px}.report-trend-chart-shell{min-width:360px;height:240px}.report-cost-metrics{grid-template-columns:minmax(0,1fr)}}.order-workbench{min-width:0;max-width:100%;display:grid;gap:16px}.order-workbench>.workbench-toolbar{align-items:stretch}.order-workbench>.workbench-toolbar>.date-range-filter{min-width:0;flex:1 1 340px;align-content:center;gap:6px;border:0;padding:0;background:transparent}.order-workbench>.workbench-toolbar .date-filter-row{flex-wrap:wrap;gap:6px}.order-workbench>.workbench-toolbar .date-filter-row button{min-height:36px;padding:0 10px}.order-workbench>.workbench-toolbar .date-range-filter .muted-line,.order-workbench>.workbench-toolbar .date-range-filter .form-error{font-size:12px}.order-workbench-field{min-width:0;flex:1 1 190px;display:grid;align-content:center;gap:6px;color:var(--color-muted);font-size:12px;font-weight:700}.order-workbench-field .text-input{width:100%;min-width:0}.order-workbench-status{flex-basis:150px}.order-workbench>.workbench-toolbar>.order-workbench-refresh{width:auto;min-width:0;flex:0 1 280px;align-content:center;border:0;padding:0;background:transparent}.order-workbench-refresh .auto-refresh-toggle,.order-workbench-refresh .auto-refresh-manual{min-height:42px;height:42px}.order-workbench-result-count{min-width:72px;flex:0 0 auto;align-self:center;color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums;font-weight:700;text-align:right;white-space:nowrap}.order-workbench-feedback{margin:0;border:1px solid currentColor;border-radius:var(--radius-control);padding:10px 12px;background:var(--color-surface)}.order-workbench-grid{min-width:0;display:grid;align-items:start;gap:16px}.order-workbench-grid.has-payment-channels{grid-template-columns:minmax(0,1fr) 260px;grid-template-areas:"orders channels"}.order-workbench-grid.orders-only{grid-template-columns:minmax(0,1fr);grid-template-areas:"orders"}.order-workbench-orders{min-width:0;grid-area:orders}.order-workbench-channels{min-width:0;grid-area:channels}.order-workbench-channels .payment-channel-card{min-width:0;padding:16px}.order-workbench-channels .payment-channel-body{min-width:0;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px}.order-workbench-channels .payment-channel-donut{width:150px;height:150px}.order-workbench-channels .payment-channel-center{top:40px;right:40px;bottom:40px;left:40px}.order-workbench-channels .payment-channel-legend{width:100%;min-width:0}.order-workbench .workbench-table-frame>.query-state{margin:16px}.order-record-table{width:100%;table-layout:fixed;border-collapse:collapse}.order-record-table th,.order-record-table td{min-height:48px;padding:10px 12px;border-bottom:1px solid var(--color-border-soft);color:var(--color-ink);text-align:left;vertical-align:middle}.order-record-table th{background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700}.order-record-table th:nth-child(1){width:20%}.order-record-table th:nth-child(2){width:15%}.order-record-table th:nth-child(3){width:12%}.order-record-table th:nth-child(4){width:29%}.order-record-table th:nth-child(5){width:13%}.order-record-table th:nth-child(6){width:11%}.order-record-table tbody tr:last-child td{border-bottom:0}.order-record-table tbody tr:hover td{background:var(--color-brand-soft)}.order-record-identity-cell strong,.order-record-identity-cell small,.order-record-payment-cell span,.order-record-payment-cell small{display:block;overflow-wrap:anywhere}.order-record-identity-cell small,.order-record-payment-cell small{margin-top:3px;color:var(--color-muted);font-size:11px}.order-record-time-cell,.order-record-amount-cell,.order-record-action-cell{white-space:nowrap}.order-record-time-cell{color:var(--color-muted);font-size:12px;font-variant-numeric:tabular-nums}.order-record-amount-cell{font-variant-numeric:tabular-nums}.order-record-action-cell .secondary-button{width:100%;min-width:0;padding-inline:8px}.order-record-mobile-list{display:none}.order-record-mobile-row{width:100%;min-width:0;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;border:1px solid var(--color-border);border-radius:var(--radius-compact);padding:12px;background:var(--color-surface);color:var(--color-ink);font:inherit;letter-spacing:0;text-align:left}.order-record-mobile-row:focus-visible{outline:2px solid var(--color-brand);outline-offset:2px}.order-record-mobile-identity,.order-record-mobile-identity strong,.order-record-mobile-identity small,.order-record-mobile-payment,.order-record-mobile-refund{min-width:0;display:block;overflow-wrap:anywhere}.order-record-mobile-identity small{margin-top:2px;color:var(--color-muted);font-size:11px}.order-record-mobile-status,.order-record-mobile-amount{justify-self:end}.order-record-mobile-payment{color:var(--color-muted);font-size:12px;font-weight:700}.order-record-mobile-payment.warning-text{color:var(--color-warning)}.order-record-mobile-refund{grid-column:1 / -1;font-size:11px}.order-record-mobile-amount{grid-column:2;grid-row:2;font-variant-numeric:tabular-nums;white-space:nowrap}.order-workbench-pagination{border-top:1px solid var(--color-border-soft);padding:14px 16px}.order-record-detail,.order-record-detail-content{min-width:0;display:grid;gap:16px}.order-record-detail .order-record-grid{margin:0}.order-record-detail .order-record-note,.order-record-detail .order-record-items{min-width:0;margin:0}.order-record-detail .order-void-form{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.order-record-detail-actions{min-width:0;display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--color-border-soft);padding-top:16px}@media(max-width:767px){.order-workbench>.workbench-toolbar>*{width:100%;flex:1 1 100%}.order-workbench>.workbench-toolbar>.date-range-filter,.order-workbench>.workbench-toolbar>.order-workbench-refresh{width:100%}.order-workbench-result-count{min-width:0;text-align:left}.order-workbench-grid.has-payment-channels,.order-workbench-grid.orders-only{grid-template-columns:minmax(0,1fr)}.order-workbench-grid.has-payment-channels{grid-template-areas:"channels" "orders"}.order-workbench-channels .payment-channel-body{grid-template-columns:112px minmax(0,1fr);justify-items:stretch;gap:10px}.order-workbench-channels .payment-channel-donut{width:112px;height:112px}.order-workbench-channels .payment-channel-center{top:30px;right:30px;bottom:30px;left:30px}.order-workbench-channels .payment-channel-center small{font-size:9px}.order-workbench-channels .payment-channel-center strong{font-size:11px}.order-workbench-orders .workbench-table-frame{overflow-x:hidden}.order-record-table{display:none}.order-record-mobile-list{display:grid;gap:8px;padding:12px}.order-record-detail .order-void-form{grid-template-columns:minmax(0,1fr)}.order-record-detail .order-void-form .secondary-button,.order-record-detail-actions>*{width:100%}}.audit-workbench{min-width:0;display:grid;gap:16px}.audit-workbench>.workbench-toolbar{align-items:flex-start}.audit-workbench>.workbench-toolbar>.date-range-filter{min-width:min(100%,560px);display:grid;gap:8px}.audit-workbench>.workbench-toolbar .date-filter-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.audit-workbench>.workbench-toolbar .date-filter-row button{min-height:36px}.audit-workbench>.workbench-toolbar .date-range-filter .muted-line,.audit-workbench>.workbench-toolbar .date-range-filter .form-error{margin:0}.audit-search-field{width:min(100%,320px);display:grid;gap:6px;margin-left:auto;color:var(--color-muted);font-size:12px;font-weight:700}.audit-search-field .text-input{min-height:42px}.audit-workbench .workbench-table-frame>.query-state{margin:16px}.audit-table-scroll{width:100%;overflow-x:auto}.audit-table{width:100%;min-width:850px;table-layout:fixed;border-collapse:collapse;color:var(--color-ink);font-size:13px}.audit-table th,.audit-table td{border-bottom:1px solid var(--color-border-soft);padding:10px 12px;text-align:left;vertical-align:middle}.audit-table th{background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700;white-space:nowrap}.audit-table th:nth-child(1){width:16%}.audit-table th:nth-child(2){width:19%}.audit-table th:nth-child(3){width:22%}.audit-table th:nth-child(4){width:18%}.audit-table th:nth-child(5){width:16%}.audit-table th:nth-child(6){width:9%}.audit-table tbody tr:hover td{background:var(--color-brand-soft)}.audit-table tbody tr:last-child td{border-bottom:0}.audit-table td{overflow-wrap:anywhere}.audit-time-cell,.audit-action-cell{white-space:nowrap}.audit-action-cell .secondary-button{min-height:34px;padding-inline:12px}.audit-mobile-list{display:none}.audit-workbench .workbench-pagination{border-top:1px solid var(--color-border-soft);padding:14px}.audit-detail{display:grid;gap:16px}.audit-detail-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.audit-detail-summary>div{min-width:0;display:grid;gap:4px;border-bottom:1px solid var(--color-border-soft);padding:0 0 10px}.audit-detail-summary dt{color:var(--color-muted);font-size:12px;font-weight:700}.audit-detail-summary dd{margin:0;color:var(--color-ink);overflow-wrap:anywhere}.audit-payload{min-width:0;display:grid;gap:8px}.audit-payload h3{margin:0;color:var(--color-ink);font-size:14px}.audit-payload pre{max-height:320px;overflow:auto;margin:0;border:1px solid var(--color-border);border-radius:var(--radius-control);padding:12px;background:var(--color-surface-muted);color:var(--color-ink);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:767px){.audit-workbench>.workbench-toolbar>*{width:100%;flex:1 1 100%}.audit-workbench>.workbench-toolbar .date-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}.audit-search-field{max-width:none;margin-left:0}.audit-table-scroll{display:none}.audit-mobile-list{display:grid}.audit-mobile-row{width:100%;min-width:0;min-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;border:0;border-bottom:1px solid var(--color-border-soft);padding:10px 12px;background:var(--color-surface);color:var(--color-ink);text-align:left}.audit-mobile-row:focus-visible{position:relative;z-index:1}.audit-mobile-row strong,.audit-mobile-row span,.audit-mobile-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-mobile-row span{color:var(--color-muted);font-size:12px}.audit-mobile-row small{grid-column:1 / -1;color:var(--color-muted);font-size:12px}.audit-detail-summary{grid-template-columns:minmax(0,1fr)}}.settings-workbench,.user-workbench{min-width:0;display:grid;gap:16px}.settings-workbench-header,.user-workbench-header{display:flex;align-items:end;justify-content:space-between;gap:16px}.settings-workbench-header p,.user-workbench-header p{margin:0 0 4px;color:var(--color-muted);font-size:12px;font-weight:700}.settings-workbench-header h2,.user-workbench-header h2{margin:0;color:var(--color-ink);font-size:22px;letter-spacing:0}.settings-table-frame,.user-table-frame{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.settings-summary-table,.user-table{width:100%;border-collapse:collapse;color:var(--color-ink);font-size:13px}.settings-summary-table th,.settings-summary-table td,.user-table th,.user-table td{border-bottom:1px solid var(--color-border-soft);padding:12px 14px;text-align:left;vertical-align:middle}.settings-summary-table tr:last-child th,.settings-summary-table tr:last-child td,.user-table tbody tr:last-child td{border-bottom:0}.settings-summary-table th,.user-table th{background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700}.settings-summary-table th{width:min(38%,300px)}.settings-summary-table td{overflow-wrap:anywhere;font-weight:600}.settings-editor-form,.user-drawer-form{display:grid;gap:18px}.settings-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-field,.user-drawer-form>label{min-width:0;display:grid;gap:7px;color:var(--color-ink);font-size:13px;font-weight:700}.settings-field-wide{grid-column:1 / -1}.settings-toggle-group{min-width:0;display:grid;gap:0;margin:0;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:0 14px}.settings-toggle-group legend{padding:0 6px;color:var(--color-muted);font-size:12px;font-weight:700}.settings-toggle{min-height:64px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;border-bottom:1px solid var(--color-border-soft)}.settings-toggle:last-child{border-bottom:0}.settings-toggle input{width:20px;height:20px;accent-color:var(--color-brand)}.settings-toggle strong,.settings-toggle small{display:block}.settings-toggle small{margin-top:3px;color:var(--color-muted);font-size:12px;font-weight:500}.settings-editor-actions,.user-drawer-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--color-border-soft);padding-top:16px}.user-operation-error{margin:0}.user-table{table-layout:fixed}.user-table th:nth-child(1){width:21%}.user-table th:nth-child(2){width:15%}.user-table th:nth-child(3){width:11%}.user-table th:nth-child(4){width:17%}.user-table th:nth-child(5){width:36%}.user-table tbody tr:hover td{background:var(--color-brand-soft)}.user-table td strong,.user-table td small{display:block}.user-table td small{margin-top:3px;color:var(--color-muted);font-size:12px}.user-role-select{min-height:36px;padding-block:0}.user-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.user-row-actions .secondary-button{min-height:36px;padding-inline:9px;font-size:12px}.user-mobile-list{display:none}@media(max-width:767px){.settings-workbench-header,.user-workbench-header{align-items:stretch;flex-direction:column}.settings-workbench-header .primary-button,.user-workbench-header .primary-button{width:100%}.settings-field-grid{grid-template-columns:minmax(0,1fr)}.settings-field-wide{grid-column:auto}.settings-editor-actions,.user-drawer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.user-table{display:none}.user-mobile-list{display:grid}.user-mobile-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid var(--color-border-soft);padding:11px 12px}.user-mobile-row:last-child{border-bottom:0}.user-mobile-row>span:first-child,.user-mobile-row strong,.user-mobile-row small{min-width:0}.user-mobile-row strong,.user-mobile-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-mobile-row small{margin-top:3px;color:var(--color-muted);font-size:12px}.user-mobile-controls{min-width:0;display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px}.user-mobile-controls .text-input,.user-mobile-controls .secondary-button{min-height:36px}.user-mobile-controls .secondary-button{padding-inline:9px;font-size:12px}}.backup-workbench{min-width:0;display:grid;gap:18px}.backup-primary-action{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--color-border);padding:0 0 18px}.backup-primary-action p,.backup-primary-action h2,.backup-primary-action span{margin:0}.backup-primary-action p{color:var(--color-muted);font-size:12px;font-weight:700}.backup-primary-action h2{margin-top:4px;color:var(--color-ink);font-size:22px;letter-spacing:0}.backup-primary-action span{display:block;margin-top:5px;color:var(--color-muted);font-size:13px}.backup-feedback{margin:-8px 0 0}.export-workspace{min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.export-group{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.export-group h2{margin:0;border-bottom:1px solid var(--color-border-soft);padding:10px 12px;background:var(--color-surface-muted);color:var(--color-ink);font-size:14px}.export-group-list{display:grid}.export-row{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid var(--color-border-soft);padding:6px 8px 6px 12px}.export-row:last-child{border-bottom:0}.export-row strong,.export-row small{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-row strong{color:var(--color-ink);font-size:12px}.export-row small{margin-top:2px;color:var(--color-muted);font-size:10px}.backup-workbench .workbench-table-frame>.query-state{margin:16px}.backup-table-scroll{width:100%;overflow-x:auto}.backup-table{width:100%;min-width:850px;table-layout:fixed;border-collapse:collapse;color:var(--color-ink);font-size:13px}.backup-table th,.backup-table td{border-bottom:1px solid var(--color-border-soft);padding:10px 12px;text-align:left;vertical-align:middle}.backup-table th{background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700}.backup-table th:nth-child(1){width:22%}.backup-table th:nth-child(2){width:10%}.backup-table th:nth-child(3){width:14%}.backup-table th:nth-child(4){width:17%}.backup-table th:nth-child(5){width:14%}.backup-table th:nth-child(6){width:23%}.backup-table tbody tr:hover td{background:var(--color-brand-soft)}.backup-table tbody tr:last-child td{border-bottom:0}.backup-table td strong,.backup-table td small{display:block}.backup-table td small{margin-top:3px;color:var(--color-muted);font-size:11px}.backup-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.backup-row-actions .secondary-button{min-height:36px;padding-inline:12px}.backup-mobile-list{display:none}.backup-detail{display:grid;gap:18px}.backup-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0}.backup-detail dl>div{min-width:0;display:grid;gap:4px;border-bottom:1px solid var(--color-border-soft);padding-bottom:10px}.backup-detail dt{color:var(--color-muted);font-size:12px;font-weight:700}.backup-detail dd{margin:0;color:var(--color-ink);overflow-wrap:anywhere}.backup-detail .primary-button{justify-self:end}@media(max-width:1100px){.export-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.backup-primary-action{align-items:stretch;flex-direction:column}.backup-primary-action .primary-button{width:100%}.export-workspace{grid-template-columns:minmax(0,1fr)}.backup-table-scroll{display:none}.backup-mobile-list{display:grid}.backup-mobile-row{width:100%;min-width:0;min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;border:0;border-bottom:1px solid var(--color-border-soft);padding:10px 12px;background:var(--color-surface);color:var(--color-ink);text-align:left}.backup-mobile-row:last-child{border-bottom:0}.backup-mobile-row strong,.backup-mobile-row small{display:block}.backup-mobile-row small{margin-top:3px;color:var(--color-muted);font-size:11px}.backup-mobile-row b{grid-column:1 / -1;color:var(--color-muted);font-size:12px}.backup-detail dl{grid-template-columns:minmax(0,1fr)}.backup-detail .primary-button{width:100%}}.staff-home-grid{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:16px;align-items:start}.staff-home-main{min-width:0;display:grid;gap:16px}.staff-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-action-link{min-width:0;min-height:76px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--color-border);border-radius:var(--radius-panel);padding:12px 14px;background:var(--color-surface);color:var(--color-ink);text-decoration:none}.staff-action-link:hover{border-color:var(--color-brand);background:var(--color-brand-soft)}.staff-action-link>span{width:38px;height:38px;display:grid;place-items:center;border-radius:var(--radius-control);background:var(--color-surface-muted);color:var(--color-brand-hover)}.staff-recent-orders,.staff-open-kpis{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.staff-recent-orders>header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--color-border-soft);padding:8px 12px}.staff-recent-orders h2{margin:0;color:var(--color-ink);font-size:15px}.staff-recent-orders header a{color:var(--color-brand-hover);font-size:12px;font-weight:700}.staff-recent-list{display:grid}.staff-recent-order{min-width:0;min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid var(--color-border-soft);padding:8px 12px;color:var(--color-ink);text-decoration:none}.staff-recent-order:last-child{border-bottom:0}.staff-recent-order strong,.staff-recent-order small{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-recent-order small,.staff-recent-order time{margin-top:2px;color:var(--color-muted);font-size:11px}.staff-open-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:sticky;top:24px}.staff-open-kpis>div{min-width:0;display:grid;gap:6px;padding:18px}.staff-open-kpis>div+div{border-left:1px solid var(--color-border-soft)}.staff-open-kpis span{color:var(--color-muted);font-size:12px;font-weight:700}.staff-open-kpis strong{color:var(--color-ink);font-size:23px;font-variant-numeric:tabular-nums}.open-orders-workbench{min-width:0;display:grid;gap:16px}.open-orders-workbench>.workbench-toolbar{justify-content:flex-end}.open-orders-workbench>.workbench-toolbar>.auto-refresh-control{margin-right:auto}.open-orders-search{width:min(100%,360px);margin-right:auto}.open-orders-search input{width:100%;min-width:0;border:0;padding:0;background:transparent;color:var(--color-ink);outline:0}.open-orders-count{min-width:40px;color:var(--color-muted);font-size:13px;font-weight:700;text-align:center}.open-orders-workbench .workbench-table-frame>.query-state{margin:16px}.open-order-list{display:grid}.open-order-summary{min-width:0;min-height:56px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid var(--color-border-soft);padding:8px 12px;color:var(--color-ink);text-decoration:none}.open-order-summary:last-child{border-bottom:0}.open-order-summary:hover{background:var(--color-brand-soft)}.open-order-identity strong,.open-order-identity small{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.open-order-identity small,.open-order-guest,.open-order-meta time{color:var(--color-muted);font-size:12px}.open-order-identity small{margin-top:2px}.open-order-guest{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.open-order-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.open-order-meta{display:flex;align-items:center;gap:8px}.open-orders-workbench .workbench-pagination{border-top:1px solid var(--color-border-soft);padding:14px}.create-order-workbench{width:min(100%,720px);display:grid;gap:16px;margin:0 auto}.create-order-workbench>header{border-bottom:1px solid var(--color-border);padding-bottom:14px}.create-order-workbench>header p,.create-order-workbench>header h2{margin:0}.create-order-workbench>header p{color:var(--color-muted);font-size:12px;font-weight:700}.create-order-workbench>header h2{margin-top:4px;color:var(--color-ink);font-size:22px}.create-order-form,.create-order-fields{display:grid;gap:14px}.create-order-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.create-order-fields label{min-width:0;display:grid;gap:7px;color:var(--color-ink);font-size:13px;font-weight:700}.create-order-note{grid-column:1 / -1}.create-order-note .text-area{min-height:112px}.create-order-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--color-border-soft);padding-top:14px}@media(max-width:767px){.staff-home-grid{grid-template-columns:minmax(0,1fr)}.staff-open-kpis{position:static;grid-row:1}.staff-action-grid{grid-template-columns:minmax(0,1fr)}.open-orders-workbench>.workbench-toolbar>*{width:100%}.open-orders-workbench>.workbench-toolbar>.open-orders-count{width:auto;margin-right:auto;text-align:left}.open-order-summary{min-height:64px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity amount" "guest meta";gap:4px 10px}.open-order-identity{grid-area:identity}.open-order-guest{grid-area:guest}.open-order-amount{grid-area:amount}.open-order-meta{grid-area:meta}.open-order-meta .status-chip{display:none}.create-order-fields{grid-template-columns:minmax(0,1fr)}.create-order-note{grid-column:auto}.create-order-actions .primary-button{width:100%}}.pos-catalog-panel,.current-order-panel{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.staff-pos-workbench{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.48fr);align-items:start;gap:16px}.staff-pos-catalog-column,.staff-pos-cart-desktop{min-width:0}.staff-pos-catalog-column{display:grid;gap:10px}.staff-pos-cart-desktop{position:sticky;top:24px}.staff-pos-feedback{margin:0}.staff-pos-reconciliation-status{margin:0;color:var(--color-muted)}.staff-pos-reconciliation-alert{display:grid;gap:8px;margin:0;padding:10px 12px;border:1px solid var(--color-warning);border-radius:var(--radius-control);background:var(--color-warning-soft);color:var(--color-warning)}.staff-pos-reconciliation-alert p{margin:0}.staff-pos-reconciliation-alert .secondary-button{justify-self:start}.staff-pos-cart-dock{display:none}.refund-workbench{min-width:0;display:grid;grid-template-columns:minmax(0,7fr) minmax(340px,5fr);align-items:start;gap:16px}.refund-items-column,.refund-processing-column{min-width:0}.refund-processing-column{display:grid;align-content:start;gap:12px}.refund-settings-panel,.refund-preview-panel,.refund-receipt{min-width:0}.refund-receipt h2,.refund-receipt p{margin:0}.refund-receipt{display:grid;gap:10px}.refund-resolution-status{margin:0;color:var(--color-muted)}.refund-resolution-alert{display:grid;gap:8px;margin:0;padding:10px 12px;border:1px solid var(--color-warning);border-radius:var(--radius-control);background:var(--color-warning-soft);color:var(--color-warning)}.refund-resolution-alert p{margin:0}.refund-resolution-alert .secondary-button{justify-self:start}.pos-panel-heading,.current-order-heading{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--color-border-soft);padding:10px 14px}.pos-panel-heading p,.pos-panel-heading h2,.current-order-heading p,.current-order-heading h2{margin:0}.pos-panel-heading p,.current-order-heading p{color:var(--color-muted);font-size:11px;font-weight:700}.pos-panel-heading h2,.current-order-heading h2{margin-top:2px;color:var(--color-ink);font-size:16px}.pos-catalog-search{width:min(100%,280px);display:grid;gap:4px;color:var(--color-muted);font-size:11px;font-weight:700}.pos-catalog-search .text-input{min-height:38px}.pos-category-filter{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--color-border-soft);padding:8px 12px}.pos-category-filter button{min-height:36px;flex:0 0 auto;border:1px solid transparent;border-radius:var(--radius-control);padding:0 12px;background:transparent;color:var(--color-muted);font-size:12px;font-weight:700}.pos-category-filter button.active{border-color:var(--color-brand);background:var(--color-brand-soft);color:var(--color-brand-hover)}.pos-catalog-panel>.query-state{margin:14px}.pos-product-grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}.pos-catalog-panel .product-card{min-width:0;display:grid;align-content:start;gap:8px;border:1px solid var(--color-border-soft);border-radius:var(--radius-panel);padding:10px;background:var(--color-surface)}.pos-catalog-panel .product-card-body strong{display:block;overflow:hidden;color:var(--color-ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.pos-catalog-panel .product-sale-spec-buttons{display:grid;gap:6px}.pos-catalog-panel .product-sale-spec-button{min-height:56px}.current-order-heading>span{color:var(--color-muted);font-size:12px;font-weight:700}.current-order-items{display:grid}.current-order-item{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;border-bottom:1px solid var(--color-border-soft);padding:10px 12px}.current-order-item-name strong,.current-order-item-name small{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-order-item-name strong{color:var(--color-ink);font-size:13px}.current-order-item-name small{margin-top:3px;color:var(--color-muted);font-size:11px}.current-order-stepper{min-width:132px;display:grid;grid-template-columns:44px minmax(44px,auto) 44px;align-items:center;border:1px solid var(--color-border);border-radius:var(--radius-control);overflow:hidden}.current-order-stepper button{width:44px;height:44px;border:0;background:var(--color-surface-muted);color:var(--color-ink)}.current-order-stepper span{padding-inline:5px;color:var(--color-ink);font-size:12px;font-weight:700;text-align:center;white-space:nowrap}.current-order-subtotal,.current-order-quantity{white-space:nowrap}.current-order-empty{margin:0;padding:24px 14px;color:var(--color-muted);text-align:center}.current-order-feedback{padding:10px 12px;border-bottom:1px solid var(--color-border-soft)}.current-order-feedback>*{margin:0}.current-order-total{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:var(--color-surface-muted)}.current-order-total span{color:var(--color-muted);font-size:12px;font-weight:700}.current-order-total strong{color:var(--color-ink);font-size:20px;font-variant-numeric:tabular-nums}.current-order-footer{display:grid;gap:8px;border-top:1px solid var(--color-border-soft);padding:12px}.current-order-footer>*{width:100%}@media(max-width:1100px){.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.staff-pos-workbench{display:block}.staff-pos-cart-desktop{display:none}.staff-pos-cart-dock{position:fixed;z-index:25;right:12px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px);left:12px;min-width:0;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--color-brand);border-radius:var(--radius-control);padding:10px 14px;background:var(--color-brand);color:var(--color-on-brand);box-shadow:var(--shadow-float);font:inherit;font-weight:700}.staff-pos-cart-dock span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-pos-cart-dock strong{flex:0 0 auto;font-variant-numeric:tabular-nums}.app-content:has(.staff-pos-cart-dock){padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 92px)}.refund-workbench{grid-template-columns:minmax(0,1fr)}.refund-confirm-button{position:fixed;z-index:25;right:12px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px);left:12px;width:auto;min-height:52px;box-shadow:var(--shadow-float)}.app-content:has(.refund-confirm-button){padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 94px)}.pos-panel-heading{align-items:stretch;flex-direction:column}.pos-catalog-search{width:100%}.pos-product-grid{grid-template-columns:minmax(0,1fr)}.current-order-item{grid-template-columns:minmax(0,1fr) auto}.current-order-stepper{grid-column:1 / -1;justify-self:start}}.member-search-control{min-width:260px;flex:1 1 420px;height:44px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;border:1px solid var(--color-control-border);border-radius:var(--radius-control);padding:0 12px;background:var(--color-surface);color:var(--color-muted)}.member-search-control:focus-within{border-color:var(--color-brand);box-shadow:var(--focus-ring)}.member-search-control input{width:100%;min-width:0;border:0;padding:0;background:transparent;color:var(--color-ink);outline:0}.member-search-control input::placeholder{color:var(--color-muted)}.member-status-control{min-width:144px;display:grid;gap:5px;color:var(--color-muted);font-size:12px;font-weight:600}.member-status-control select{min-width:144px;height:44px;border:1px solid var(--color-control-border);border-radius:var(--radius-control);padding:0 34px 0 11px;background:var(--color-surface);color:var(--color-ink)}.member-toolbar-count{min-width:52px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.member-create-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.member-workbench-table-shell{width:100%;min-width:0}.member-desktop-table-scroll{min-width:0;overflow-x:auto}.member-workbench-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.member-workbench-table th,.member-workbench-table td{height:56px;border-bottom:1px solid var(--color-border-soft);padding:10px 16px;text-align:left;vertical-align:middle}.member-workbench-table th{height:44px;background:var(--color-surface-muted);color:var(--color-muted);font-size:12px;font-weight:700}.member-workbench-table th:nth-child(1){width:26%}.member-workbench-table th:nth-child(2){width:25%}.member-workbench-table th:nth-child(3){width:20%}.member-workbench-table th:nth-child(4){width:20%}.member-workbench-table th:last-child{width:9%}.member-workbench-table .numeric{text-align:right}.member-workbench-row{cursor:pointer;transition:background-color .16s ease}.member-workbench-row:hover,.member-workbench-row:focus,.member-workbench-row.active{background:var(--color-brand-soft)}.member-workbench-row:focus{outline:2px solid var(--color-brand);outline-offset:-2px}.member-workbench-row:last-child td{border-bottom:0}.member-workbench-row td{min-width:0;color:var(--color-ink);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-balance-cell{font-variant-numeric:tabular-nums;font-weight:700}.member-row-chevron{color:var(--color-muted);text-align:right!important}.member-mobile-list{display:none}.member-search-drawer-content{min-width:0;display:grid;gap:12px}.member-search-pagination{display:grid;gap:10px;border-top:1px solid var(--color-border-soft);padding-top:12px}.member-search-pagination>span{color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums;text-align:center}.member-create-form,.member-detail-controls,.member-detail-workbench,.member-drawer-section,.member-ledger-list,.member-merge-history{min-width:0;display:grid}.member-detail-controls{width:100%;margin:0;border:0;padding:0}.member-create-form{gap:10px}.member-create-form .primary-button{margin-top:8px;justify-self:end}.member-detail-workbench{gap:0}.member-drawer-section{gap:10px;padding:4px 0 24px}.member-drawer-section+.member-drawer-section{border-top:1px solid var(--color-border-soft);padding-top:24px}.member-section-heading{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.member-section-heading h3{margin:0;color:var(--color-ink);font-size:17px;line-height:1.35}.member-section-count{color:var(--color-muted);font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.member-section-copy{max-width:62ch;margin:0;color:var(--color-muted);font-size:13px;line-height:1.6}.member-profile-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.member-section-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:2px}.member-current-balance{color:var(--color-brand-hover);font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}.member-funds-notice{margin:0;border-left:3px solid var(--color-warning);padding:9px 11px;background:var(--color-warning-soft);color:var(--color-warning);font-size:13px;line-height:1.55}.member-balance-actions{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-block:1px solid var(--color-border-soft)}.balance-action-panel{min-width:0;display:grid;align-content:start;gap:10px;padding:16px;background:var(--color-surface-muted)}.balance-action-panel+.balance-action-panel{border-left:1px solid var(--color-border)}.balance-action-panel>strong{font-size:14px}.member-ledger-list,.member-merge-history{gap:0;border-block:1px solid var(--color-border-soft)}.member-ledger-row,.member-history-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 16px;padding:14px 4px}.member-ledger-row+.member-ledger-row,.member-history-row+.member-history-row{border-top:1px solid var(--color-border-soft)}.member-ledger-row>div:first-child,.member-history-row{min-width:0}.member-ledger-row strong,.member-ledger-row small,.member-history-row strong,.member-history-row span,.member-history-row small{display:block}.member-ledger-row small,.member-history-row span,.member-history-row small{margin-top:3px;color:var(--color-muted);font-size:12px;overflow-wrap:anywhere}.member-ledger-row>small{grid-column:1 / -1}.member-ledger-row .ledger-line{display:grid;justify-items:end;align-content:start}.member-ledger-row .ledger-line b,.member-ledger-row .ledger-line small{white-space:nowrap}.member-history-row{grid-template-columns:1fr}@media(max-width:767px){.member-search-control{min-width:100%;flex-basis:100%}.member-status-control{min-width:0;flex:1 1 124px}.member-status-control select{width:100%;min-width:0}.member-toolbar-count{min-width:42px}.member-create-button{flex:0 0 auto;padding-inline:13px}.member-desktop-table-scroll{display:none}.member-mobile-list{display:grid}.member-mobile-summary{width:100%;min-width:0;min-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;grid-template-rows:repeat(2,auto);grid-template-areas:"name balance chevron" "phone status chevron";align-items:center;gap:4px 10px;border:0;border-bottom:1px solid var(--color-border-soft);padding:11px 14px;background:var(--color-surface);color:var(--color-ink);text-align:left}.member-mobile-summary:last-child{border-bottom:0}.member-mobile-summary:active{transform:translateY(1px)}.member-mobile-name{grid-area:name;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-mobile-phone{grid-area:phone;min-width:0;color:var(--color-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-mobile-balance{grid-area:balance;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.member-mobile-status{grid-area:status;justify-self:end}.member-mobile-chevron{grid-area:chevron;color:var(--color-muted)}.member-profile-grid,.member-balance-actions{grid-template-columns:minmax(0,1fr)}.member-profile-grid .field-label:nth-child(2){grid-row:3}.balance-action-panel+.balance-action-panel{border-top:1px solid var(--color-border);border-left:0}.member-ledger-row{grid-template-columns:minmax(0,1fr)}.member-ledger-row .ledger-line{justify-items:start}.member-ledger-row>small{grid-column:auto}}@media(max-width:374px){.member-create-button span{display:none}.member-section-heading{align-items:flex-start}}.inventory-document-workspace{min-width:0}.inventory-document-list{width:100%;min-width:0;max-width:100%}.inventory-document-list .query-state{margin:12px}.inventory-document-list .operations-table-scroll{max-width:100%}.inventory-document-drawer{min-width:0}.inventory-document-drawer .operation-editor{min-width:0;gap:16px;padding:0}.inventory-document-drawer .operation-editor>.operation-editor-heading{margin:0;padding:0 0 14px}.inventory-document-drawer .operation-line-items,.inventory-document-drawer .detail-line-list,.inventory-document-drawer .operation-line-row{min-width:0}@media(max-width:767px){.inventory-document-list .operations-table-scroll{overflow-x:hidden}.inventory-document-drawer,.inventory-document-drawer .operation-editor,.inventory-document-drawer .operation-line-row,.inventory-document-drawer .detail-line-list article{width:100%;max-width:100%}.inventory-document-drawer .operation-editor-heading{display:grid;grid-template-columns:minmax(0,1fr)}.inventory-document-drawer .detail-line-list article>div:first-child,.inventory-document-drawer .detail-line-numbers{min-width:0}.inventory-document-drawer .detail-line-numbers b{width:100%;margin-left:0}}.checkout-workbench{width:100%;display:grid;grid-template-columns:minmax(0,8fr) minmax(320px,4fr);align-items:start;gap:16px}.checkout-payment-column,.checkout-summary-column{min-width:0;display:grid;gap:16px}.checkout-summary-column{position:sticky;top:24px;gap:12px}.checkout-total-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.checkout-total-card>div{display:grid;gap:6px}.checkout-total-card strong{font-size:40px;line-height:1;font-variant-numeric:tabular-nums}.checkout-total-card small,.checkout-allocation-label small{color:var(--color-muted)}.checkout-payment-panel{display:grid;gap:18px}.checkout-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.checkout-section-heading h2{margin:0 0 5px;font-size:18px}.checkout-section-heading .muted-line{margin:0}.checkout-remaining-chip{flex:0 0 auto;border:1px solid var(--color-border);border-radius:999px;padding:6px 10px;color:var(--color-ink);font-size:12px;font-variant-numeric:tabular-nums}.checkout-remaining-chip.over{border-color:var(--color-danger);background:var(--color-danger-soft);color:var(--color-danger)}.payment-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.payment-method-grid button{min-height:58px;display:grid;align-content:center;justify-items:start;gap:3px;text-align:left}.payment-method-grid button small{color:var(--color-muted);font-size:11px}.payment-method-grid button.active small{color:currentColor}.checkout-allocation-list{display:grid;gap:10px}.checkout-allocation-row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(160px,.8fr) minmax(190px,1fr) minmax(160px,.8fr);align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--color-border-soft)}.checkout-allocation-label{display:grid;gap:3px}.checkout-amount-field{display:flex;align-items:center;gap:6px;min-width:0}.checkout-amount-field .text-input{min-width:0;text-align:right;font-variant-numeric:tabular-nums}.checkout-amount-field>span:last-child{color:var(--color-muted);font-size:13px}.checkout-tendered-field>span:first-child{color:var(--color-muted);font-size:13px}.checkout-member-button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checkout-summary-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.checkout-summary-panel>div{display:flex;align-items:baseline;justify-content:space-between;gap:4px}.checkout-summary-panel strong{font-variant-numeric:tabular-nums}.checkout-submit-error{margin:0;padding:10px 12px;border:1px solid var(--color-danger);border-radius:var(--radius-control);background:var(--color-danger-soft)}.checkout-verification-status{margin:0;color:var(--color-muted)}.checkout-verification-panel{display:grid;gap:8px;padding:12px;border:1px solid var(--color-warning);border-radius:var(--radius-control);background:var(--color-warning-soft);color:var(--color-warning)}.checkout-verification-panel p{margin:0}.checkout-verification-panel .secondary-button{justify-self:start}@media(max-width:900px){.checkout-workbench{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr)}.checkout-allocation-row{grid-template-columns:minmax(130px,1fr) minmax(150px,1fr)}.checkout-member-button,.checkout-tendered-field{grid-column:2}}@media(max-width:767px){.checkout-workbench{grid-template-columns:minmax(0,1fr)}.checkout-summary-column{position:static}.checkout-confirm-button{position:fixed;z-index:25;right:12px;bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px);left:12px;width:auto;min-height:52px;box-shadow:var(--shadow-float)}.app-content:has(.checkout-confirm-button){padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 94px)}}@media(max-width:620px){.checkout-total-card strong{font-size:34px}.checkout-section-heading{display:grid}.payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-allocation-row{grid-template-columns:minmax(0,1fr);align-items:stretch}.checkout-member-button,.checkout-tendered-field{grid-column:auto}}.stocktake-workbench-list{min-width:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface)}.stocktake-desktop-table .operations-table{width:100%}.stocktake-mobile-list{display:none}.operations-mobile-row{width:100%;min-width:0;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--color-border-soft);padding:10px 12px;background:var(--color-surface);color:var(--color-ink);font:inherit;text-align:left}.operations-mobile-row:last-child{border-bottom:0}.operations-mobile-row>span{min-width:0;display:grid;gap:4px}.operations-mobile-row>span:last-child{justify-items:end}.operations-mobile-row strong,.operations-mobile-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operations-mobile-row small{color:var(--color-muted);font-size:11px}.stocktake-live-variance{display:block;margin-top:4px;color:var(--color-muted);font-size:11px;font-weight:600}@media(max-width:767px){.stocktake-desktop-table{display:none}.stocktake-mobile-list{display:grid}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.inventory-workspace-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:5px;margin-bottom:18px;border:1px solid var(--line);border-radius:8px;background:#eef2f1}.inventory-workspace-tab{min-height:44px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:transparent;color:var(--muted);font-size:14px;font-weight:700;cursor:pointer;transition:background-color .16s ease,color .16s ease,transform .16s ease}.inventory-workspace-tab:hover{color:var(--ink);background:#ffffffb3}.inventory-workspace-tab:active{transform:translateY(1px)}.inventory-workspace-tab.active{color:#fff;background:#0f766e;box-shadow:0 6px 14px #0f766e29}.inventory-workspace-tab:focus-visible,.operations-workspace button:focus-visible,.operations-workspace input:focus-visible,.operations-workspace select:focus-visible,.operations-workspace textarea:focus-visible,.inventory-overview button:focus-visible,.inventory-overview input:focus-visible,.inventory-overview select:focus-visible,.inventory-overview textarea:focus-visible{outline:3px solid #0f766e;outline-offset:2px}.operations-workspace,.inventory-overview{display:grid;gap:14px}.operations-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,210px) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.operations-toolbar .text-input{min-height:42px}.operations-search{min-width:0}.operations-search .text-input{width:100%}.operations-toolbar-action{justify-self:end}.compact-button{min-height:40px;border-radius:8px;padding-inline:14px;box-shadow:none}.operations-surface{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}.operations-section-heading,.operation-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid var(--line)}.operations-section-heading h2,.operation-editor-heading h2{margin:2px 0 0;color:var(--ink);font-size:20px;line-height:1.25;letter-spacing:0}.operations-section-heading .eyebrow,.operation-editor-heading .eyebrow{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.06em}.operations-table-scroll{width:100%;overflow-x:auto}.operations-table{width:100%;border-collapse:collapse;table-layout:auto;color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.operations-table th{padding:9px 12px;border-bottom:1px solid var(--line-strong);background:#f3f6f5;color:var(--muted);font-size:12px;font-weight:700;text-align:left;white-space:nowrap}.operations-table td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.operations-table tbody tr:last-child td{border-bottom:0}.operations-table tbody tr{transition:background-color .15s ease}.operations-table tbody tr:hover{background:#f8faf9}.operations-table tbody tr.selected{background:#ecf7f5}.operations-table .numeric{text-align:right;white-space:nowrap}.operations-table td strong{font-weight:700}.table-subline{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:500}.table-action{width:1%;text-align:right;white-space:nowrap}.table-link-button,.text-action{min-height:34px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;background:transparent;color:#0f766e;font-weight:700;cursor:pointer}.table-link-button:hover,.text-action:hover{text-decoration:underline;text-underline-offset:3px}.text-action.danger-text{color:#b91c1c}.cost-status{display:inline-flex;align-items:center;min-height:24px;border-radius:6px;padding:2px 8px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;white-space:nowrap}.cost-status.complete{background:#dcfce7;color:#166534}.cost-status.unknown{background:#fee2e2;color:#991b1b}.operations-empty,.operations-error,.operations-success,.operations-warning{margin:0;padding:12px 14px;border-radius:8px;font-size:13px;line-height:1.5}.inventory-drawer-form{min-width:0;display:grid;gap:14px}.inventory-drawer-form .operation-field{text-align:left}.inventory-drawer-form .text-input{width:100%}.ingredient-opening-note{margin:0;padding:10px 12px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:var(--color-brand-soft);color:var(--color-brand-hover);font-size:13px;line-height:1.55}.ingredient-opening-note strong{margin-right:4px}.table-link-button.danger-text{color:#b91c1c}.inventory-row-actions{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px}.operations-state-bar{width:100%;height:12px;border-radius:4px;background:linear-gradient(90deg,#edf1f0 25%,#f7f9f8,#edf1f0 75%);background-size:200% 100%;animation:operations-loading 1.4s infinite linear}.operations-state-bar.short{width:64%}@keyframes operations-loading{to{background-position:-200% 0}}.operations-empty{margin:18px;border:1px dashed var(--line-strong);background:#f8faf9;color:var(--muted);text-align:center}.operations-error{border:1px solid #fecaca;background:#fef2f2;color:#991b1b}.operations-success{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534}.operations-warning{border:1px solid #fde68a;background:#fffbeb;color:#854d0e}.operations-pagination{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--line);font-size:12px}.operations-pagination-total{color:var(--color-muted);white-space:nowrap}.operations-pagination .secondary-button{min-height:36px}.operation-editor{display:grid;gap:14px;padding:0 16px 18px}.operation-editor>.operation-editor-heading{margin-inline:-16px}.operation-field{display:grid;gap:6px}.operation-field>span,.operation-line-row label>span,.stocktake-item-row label>span{color:#374151;font-size:12px;font-weight:700}.operation-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.operation-editor .text-input{width:100%;min-height:42px}.operation-textarea{min-height:88px;resize:vertical;padding-block:10px}.operation-editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:4px}.supplier-workbench-table,.supplier-workbench-table .workbench-table-frame{min-width:0}.supplier-workbench-table .query-state{margin:12px}.supplier-drawer-form{padding:0}.supplier-drawer-status{display:flex;justify-content:flex-end}.operations-detail-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px;color:var(--muted);text-align:center}.operations-detail-empty strong{color:var(--ink);font-size:16px}.operations-detail-empty span{font-size:13px}.operation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}.operation-summary div{min-width:0;display:grid;gap:4px;padding:10px 11px;background:#f8faf9}.operation-summary dt{color:var(--muted);font-size:11px;font-weight:600}.operation-summary dd{min-width:0;margin:0;color:var(--ink);font-size:13px;font-weight:700;overflow-wrap:anywhere}.operation-line-items,.detail-line-list,.stocktake-items{display:grid;gap:8px}.operation-line-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.operation-line-heading strong{font-size:13px}.operation-line-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(88px,.6fr) minmax(110px,.7fr) 34px;gap:7px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.operation-line-row label{min-width:0;display:grid;gap:5px}.operation-line-row .text-input{min-width:0;min-height:38px;padding-inline:9px;font-size:13px}.receipt-line-row{position:relative;grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-line-row label:nth-of-type(n){grid-column:auto}.receipt-line-row .receipt-line-toggle,.receipt-line-row .receipt-subject-field{grid-column:1 / 3}.receipt-line-toggle{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:8px!important;padding-right:38px}.receipt-line-toggle input{width:17px;height:17px;accent-color:#0f766e}.receipt-line-row .icon-danger-button,.receipt-line-row .line-lock-mark{position:absolute;top:8px;right:8px}.receipt-line-row .line-lock-mark{display:none}.receipt-line-row.excluded{background:#f3f4f6;opacity:.72}.icon-danger-button{width:34px;min-height:38px;border:1px solid #fecaca;border-radius:8px;display:grid;place-items:center;background:#fff;color:#b91c1c;cursor:pointer}.icon-danger-button:disabled{opacity:.35;cursor:not-allowed}.line-lock-mark{width:34px}.detail-line-list article{display:grid;gap:8px;padding:10px 11px;border:1px solid var(--line);border-radius:8px}.detail-line-list article>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.detail-line-list article strong{font-size:13px}.detail-line-list article span{color:var(--muted);font-size:12px}.detail-line-numbers{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;font-variant-numeric:tabular-nums}.detail-line-numbers b{margin-left:auto;font-size:13px}.inventory-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inventory-kpi{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.inventory-kpi.warning{border-color:#fde68a;background:#fffbeb}.inventory-kpi-icon{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;background:#e7f3f1;color:#0f766e}.inventory-kpi-icon svg{width:19px;height:19px}.inventory-kpi>div{min-width:0;display:grid;gap:3px}.inventory-kpi>div span{color:var(--muted);font-size:12px;font-weight:600}.inventory-kpi>div strong{overflow:hidden;color:var(--ink);font-size:20px;font-weight:750;line-height:1.15;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.inventory-overview-table,.inventory-overview-table .workbench-table-frame{min-width:0}.inventory-overview-table .operations-toolbar{margin:12px;padding:0;border:0;border-radius:0;background:transparent;grid-template-columns:minmax(220px,1fr) minmax(150px,220px) auto}.inventory-overview-table .query-state{margin:12px}.stocktake-detail{gap:12px}.stocktake-detail-toolbar{display:grid;grid-template-columns:minmax(140px,1fr) auto auto;gap:8px;align-items:center}.stocktake-detail-toolbar .text-input{min-height:40px}.stocktake-detail-toolbar label{min-height:40px;display:inline-flex;align-items:center;gap:6px;color:#374151;font-size:12px;font-weight:700;white-space:nowrap}.stocktake-detail-toolbar input[type=checkbox]{width:17px;height:17px;accent-color:#0f766e}.stocktake-item-row{display:grid;grid-template-columns:minmax(120px,1fr) 74px minmax(92px,.7fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.stocktake-item-title,.stocktake-book,.stocktake-result,.stocktake-item-row label{min-width:0;display:grid;gap:3px}.stocktake-item-title strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.stocktake-item-title span,.stocktake-book span,.stocktake-result span,.stocktake-book small,.stocktake-result small{color:var(--muted);font-size:11px}.stocktake-book strong,.stocktake-result strong{font-size:15px;font-variant-numeric:tabular-nums}.stocktake-item-row .text-input{min-height:38px;padding-inline:9px;font-size:13px}.stocktake-row-error{grid-column:1 / -1;padding:7px 9px}@media(max-width:1120px){.operation-line-row{grid-template-columns:minmax(140px,1fr) minmax(88px,.7fr) 34px}.operation-line-row label:nth-of-type(3){grid-column:1 / 3}.receipt-line-row label:nth-of-type(n){grid-column:auto}.receipt-line-row .receipt-line-toggle,.receipt-line-row .receipt-subject-field{grid-column:1 / 3}}@media(max-width:840px){.inventory-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.inventory-workspace-tabs{width:calc(100% + 24px);margin-inline:-12px;padding-inline:4px;border-inline:0;border-radius:0;overflow:visible;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.inventory-workspace-tab{min-height:48px;flex-direction:column;gap:2px;padding:5px 2px;font-size:10px}.inventory-workspace-tab svg{width:16px;height:16px}.operations-toolbar{grid-template-columns:minmax(0,1fr) minmax(112px,.55fr)}.operations-toolbar-action{grid-column:1 / -1;width:100%}.operations-toolbar-action .primary-button{width:100%}.operations-pagination{align-items:stretch;flex-direction:column}.inventory-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-kpi{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:11px}.inventory-kpi-icon{width:32px;height:32px}.inventory-kpi>div strong{font-size:16px}.operations-section-heading,.operation-editor-heading{padding:14px}.operations-table-scroll{overflow:visible}.inventory-overview-table .workbench-table-frame,.supplier-workbench-table .workbench-table-frame{overflow-x:hidden}.operations-table,.operations-table tbody,.operations-table tr,.operations-table td{display:block;width:100%}.operations-table thead{display:none}.operations-table tbody{display:grid;gap:8px;padding:10px}.operations-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.operations-table tbody tr.selected{border-color:#5eead4}.operations-table td{min-width:0;display:grid;gap:3px;padding:0;border:0;text-align:left!important;white-space:normal!important}.operations-table td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:600}.operations-table .table-action{grid-column:1 / -1}.inventory-row-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.inventory-row-actions .table-link-button:only-child{grid-column:1 / -1}.table-link-button{width:100%;border:1px solid var(--line);border-radius:8px;background:#f8faf9}.operation-field-grid,.operation-summary{grid-template-columns:minmax(0,1fr)}.operation-line-row{grid-template-columns:minmax(0,1fr) 34px}.operation-line-row label,.operation-line-row label:nth-of-type(3){grid-column:1 / -1}.receipt-line-row label:nth-of-type(n){grid-column:1 / -1}.operation-line-row .icon-danger-button,.operation-line-row .line-lock-mark{grid-column:2;grid-row:1;justify-self:end}.stocktake-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-detail-toolbar{grid-template-columns:minmax(0,1fr) auto}.stocktake-detail-toolbar .secondary-button,.stocktake-item-title,.stocktake-row-error{grid-column:1 / -1}.stocktake-item-row>.secondary-button{grid-column:1 / -1;width:100%}}@media(prefers-reduced-motion:reduce){.operations-state-bar{animation:none}}.product-workbench{display:grid;gap:16px}.product-workbench-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 0}.product-workbench-header h2,.product-confirm-surface h2{margin:0;color:var(--ink);font-size:22px;line-height:1.24}.product-workbench-header p:not(.product-workbench-kicker){max-width:620px;margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.product-workbench-kicker{margin:0 0 5px;color:#475569;font-size:12px;font-weight:800;letter-spacing:0}.product-workbench-header-actions,.product-panel-actions,.product-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}.product-workbench-action{min-height:42px;border-radius:7px}.product-workbench>.workbench-toolbar .product-workbench-header-actions{flex:0 0 auto;flex-wrap:nowrap}.product-feedback{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 8px 14px;border:1px solid;border-radius:8px;font-size:14px;font-weight:700}.product-feedback.success{border-color:var(--color-success);background:var(--color-success-soft);color:var(--color-success)}.product-feedback.error,.product-workbench-state.error{border-color:var(--color-danger);background:var(--color-danger-soft);color:var(--color-danger)}.product-feedback .icon-button{flex:0 0 auto;background:transparent;color:currentColor}.product-workbench-state{min-height:180px;display:grid;place-items:center;gap:8px;padding:26px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-weight:700;text-align:center}.product-workbench-state.error{display:flex;flex-direction:column}.product-workbench-state strong,.product-workbench-state p{margin:0}.product-workbench>.workbench-toolbar{align-items:center}.product-search-input{min-height:42px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#64748b}.product-workbench>.workbench-toolbar>.product-search-input{flex:1 1 260px}.product-search-input:focus-within{border-color:var(--color-brand);box-shadow:var(--focus-ring)}.product-search-input input{min-width:0;height:40px;border:0;outline:0;background:transparent;color:var(--ink)}.product-status-filter{min-height:42px;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line-strong);border-radius:7px;color:#64748b}.product-status-filter>svg{margin:0 5px 0 4px}.product-status-filter button{min-height:32px;border:0;border-radius:5px;background:transparent;color:#475569;font-size:13px;font-weight:800;padding:0 10px}.product-status-filter button.active{background:var(--color-ink);color:var(--color-surface)}.product-result-count{color:#475569;font-size:13px;font-weight:800;white-space:nowrap}.product-mobile-select-all{display:none}.product-bulk-bar{display:grid;grid-template-columns:minmax(140px,auto) minmax(0,1fr);gap:12px 18px;padding:12px 14px;border:1px solid var(--color-warning);border-radius:8px;background:var(--color-warning-soft)}.product-bulk-summary{display:flex;align-items:center;gap:10px}.product-bulk-summary strong{color:var(--color-warning);font-size:14px;white-space:nowrap}.product-link-button{border:0;background:transparent;color:var(--color-warning);font-size:13px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.product-bulk-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.product-bulk-actions .secondary-button{min-height:38px;border-radius:6px;padding:0 10px;font-size:13px}.product-danger-button{border-color:var(--color-danger)!important;color:var(--color-danger)!important}.product-bulk-select,.product-bulk-sort{min-height:38px;display:flex;align-items:center;gap:6px;color:var(--color-warning);font-size:12px;font-weight:800}.product-bulk-select select,.product-bulk-sort input{height:38px;min-width:112px;border:1px solid var(--color-warning);border-radius:6px;background:#fff;color:var(--ink);padding:0 9px}.product-bulk-sort input{width:68px;min-width:68px}.product-bulk-progress{grid-column:1 / -1;margin:0;color:var(--color-warning);font-size:13px;font-weight:800}.product-table-shell{overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.product-table{min-width:980px}.product-table-header,.product-workbench-row{display:grid;grid-template-columns:42px minmax(160px,1.35fr) minmax(104px,.8fr) 130px minmax(145px,1fr) 112px 58px minmax(194px,auto);align-items:center;gap:12px}.product-table-header{min-height:44px;padding:0 14px;border-bottom:1px solid var(--line-strong);background:#f8fafc;color:#475569;font-size:12px;font-weight:800}.product-table-header>div:first-child,.product-row-check{display:grid;place-items:center}.product-table input[type=checkbox]{width:17px;height:17px;accent-color:var(--color-brand)}.product-workbench-row{min-height:58px;padding:7px 14px;border-bottom:1px solid var(--line);color:var(--ink);cursor:pointer;outline:0}.product-workbench-row:last-child{border-bottom:0}.product-workbench-row:hover{background:#f8fafc}.product-workbench-row:focus-visible{position:relative;z-index:1;box-shadow:var(--focus-ring)}.product-row-name,.product-row-category,.product-row-price,.product-row-inventory,.product-row-sort{min-width:0}.product-row-name strong,.product-row-name small{display:block}.product-row-name strong{overflow:hidden;color:var(--ink);font-size:14px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.product-row-name small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.product-row-category,.product-row-inventory,.product-row-specs,.product-row-sort{overflow:hidden;color:#475569;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.product-row-price{color:var(--ink);font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}.product-row-specs{color:var(--color-brand);font-size:12px;font-weight:800;white-space:nowrap}.product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.product-row-mobile-meta{display:none}.product-edit-button{width:32px;height:32px;border:1px solid var(--line);border-radius:6px;background:#fff}.product-status-action{min-height:32px;border:1px solid;border-radius:6px;background:#fff;font-size:12px;font-weight:800;padding:0 9px}.product-status-action.activate{border-color:var(--color-success);color:var(--color-success)}.product-status-action.deactivate{border-color:var(--color-danger);color:var(--color-danger)}.product-empty-state{display:grid;justify-items:start;gap:8px;padding:38px 24px;color:var(--muted)}.product-empty-state strong{color:var(--ink);font-size:16px}.product-empty-state p{max-width:500px;margin:0;font-size:14px;line-height:1.5}.product-empty-state .primary-button{min-height:40px;margin-top:4px;border-radius:7px}.product-confirm-dialog{max-width:none;max-height:none;border:0;padding:0;background:transparent}.product-confirm-dialog::backdrop{background:#0f172a7a}.product-confirm-surface>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.product-confirm-surface .icon-button{flex:0 0 auto;border:1px solid var(--line);border-radius:6px;background:#fff}.product-panel-form{display:grid;gap:16px;padding-top:20px}.product-definition-form{gap:18px;padding-bottom:0}.product-form-error-summary{display:grid;gap:3px;padding:12px 14px;border:1px solid var(--color-danger);border-radius:7px;background:var(--color-danger-soft);color:var(--color-danger);outline:0}.product-form-error-summary:focus-visible{outline:2px solid var(--color-danger);outline-offset:2px}.product-form-error-summary strong{font-size:14px}.product-form-error-summary span{font-size:13px;font-weight:650;line-height:1.45}.product-definition-editor{display:grid;gap:20px}.product-definition-section{display:grid;gap:14px;padding-top:18px;border-top:1px solid var(--line)}.product-basic-section{padding-top:0;border-top:0}.product-definition-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.product-definition-heading h3{margin:0;color:var(--ink);font-size:15px;font-weight:850;letter-spacing:0}.product-definition-heading p{max-width:560px;margin:4px 0 0;color:#64748b;font-size:12px;font-weight:650;line-height:1.5}.product-basic-field-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,.8fr) 92px;gap:12px}.product-note-input{min-height:68px!important;resize:vertical}.product-inventory-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-inventory-mode-grid button{min-height:64px;display:grid;align-content:center;justify-items:start;gap:3px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#475569;text-align:left;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.product-inventory-mode-grid button:hover:not(:disabled){border-color:var(--color-brand);background:var(--color-brand-soft)}.product-inventory-mode-grid button:active:not(:disabled){transform:translateY(1px)}.product-inventory-mode-grid button.active{border-color:var(--color-brand);background:var(--color-brand-soft);color:var(--color-brand-hover);box-shadow:inset 3px 0 0 var(--color-brand)}.product-inventory-mode-grid button strong{font-size:13px}.product-inventory-mode-grid button small{color:#64748b;font-size:11px;font-weight:650}.product-stock-definition-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:12px}.product-stock-definition-grid .product-field>small:not(.product-field-error){color:#64748b;font-size:11px;font-weight:650;line-height:1.4}.product-sale-specs-section{gap:12px}.product-sale-spec-add{min-height:36px;flex:0 0 auto;border-radius:6px;padding:0 10px;font-size:12px}.product-sale-spec-list{display:grid;gap:9px}.product-sale-spec-row{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-left:3px solid var(--color-brand);border-radius:6px;background:var(--color-surface)}.product-sale-spec-row.inactive{border-left-color:var(--color-control-border);background:var(--color-surface-muted)}.product-sale-spec-row-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-sale-spec-row-header>div:first-child{display:flex;align-items:baseline;gap:8px}.product-sale-spec-index{color:#334155;font-size:12px;font-weight:850}.product-sale-spec-row-header small{color:#64748b;font-size:11px;font-weight:650}.product-sale-spec-row-actions{display:flex;align-items:center;gap:6px}.product-spec-status-button{min-height:29px;border:1px solid;border-radius:5px;background:#fff;padding:0 8px;font-size:11px;font-weight:800}.product-spec-status-button.active{border-color:var(--color-success);color:var(--color-success)}.product-spec-status-button.inactive{border-color:var(--color-border);color:var(--color-muted)}.product-spec-remove{width:30px;height:30px;border:1px solid var(--color-danger);border-radius:5px;background:#fff;color:var(--color-danger)}.product-sale-spec-fields{display:grid;grid-template-columns:minmax(140px,1.25fr) minmax(90px,.65fr) minmax(104px,.75fr) minmax(122px,.9fr) 72px;align-items:start;gap:8px}.product-sale-spec-fields .product-field{gap:5px}.product-sale-spec-fields .product-field>span,.product-stock-definition-grid .product-field>span{font-size:11px}.product-sale-spec-fields .text-input{min-height:38px;height:38px;font-size:13px}.product-money-input,.product-unit-input{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line-strong);border-radius:7px;background:#fff;overflow:hidden}.product-money-input>span,.product-unit-input>span{padding-left:9px;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap}.product-unit-input{grid-template-columns:minmax(0,1fr) auto}.product-unit-input>span{padding:0 9px 0 5px}.product-money-input .text-input,.product-unit-input .text-input{min-width:0;border:0;border-radius:0;box-shadow:none}.product-money-input:focus-within,.product-unit-input:focus-within{border-color:var(--color-brand);box-shadow:var(--focus-ring)}.product-spec-no-deduction strong{min-height:38px;display:flex;align-items:center;color:#64748b;font-size:12px}.product-sale-spec-rule{margin:0;color:var(--color-success);font-size:12px;font-weight:750;line-height:1.4}.product-sale-spec-rule.incomplete{color:var(--color-warning)}.product-sale-spec-footnote{margin:0;color:#64748b;font-size:11px;font-weight:650;line-height:1.45}.product-spec-group-error,.product-field-error{margin:0;color:var(--color-danger);font-size:11px;font-weight:750;line-height:1.35}.product-field .text-input[aria-invalid=true],.product-money-input:has(.text-input[aria-invalid=true]),.product-unit-input:has(.text-input[aria-invalid=true]){border-color:var(--color-danger)}.product-field .text-input[readonly]{background:#f8fafc;color:#475569}.product-stock-policy .product-field-grid{align-items:start}.product-policy-checkbox{min-height:68px;display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#f8fafc}.product-policy-checkbox input{width:17px;height:17px;margin-top:1px;accent-color:var(--color-brand)}.product-policy-checkbox span,.product-policy-checkbox strong,.product-policy-checkbox small{display:block}.product-policy-checkbox strong{color:#334155;font-size:12px}.product-policy-checkbox small{margin-top:3px;color:#64748b;font-size:11px;font-weight:650;line-height:1.4}.product-definition-actions{position:sticky;bottom:-24px;z-index:2;margin:0 -24px -24px;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;box-shadow:0 -12px 24px #0f172a12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.product-field,.product-field-grid{display:grid;gap:7px}.product-field>span,.product-bulk-select>span,.product-bulk-sort>span{color:#334155;font-size:13px;font-weight:800}.product-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-field-note{grid-column:1 / -1;margin:0;color:#64748b;font-size:12px;line-height:1.55}.product-panel-form .text-input{min-height:44px;border-radius:7px}.product-segmented-control{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-segmented-control button{min-height:42px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#475569;font-size:13px;font-weight:800}.product-segmented-control button.active{border-color:var(--color-brand);background:var(--color-brand-soft);color:var(--color-brand-hover)}.product-recipe-editor{min-width:0;display:grid;gap:12px;margin:0;padding:14px;border:1px solid var(--line-strong);border-radius:8px;background:#f8fafc}.product-recipe-editor legend{padding:0 6px;color:#334155;font-size:13px;font-weight:800}.product-recipe-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(140px,.8fr) 38px;align-items:end;gap:10px}.product-recipe-quantity-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.product-recipe-quantity-input>span{min-width:30px;color:#475569;font-size:13px;font-weight:800}.product-recipe-remove{width:38px;height:44px;border:1px solid var(--color-danger);border-radius:7px;background:#fff;color:var(--color-danger)}.product-recipe-add{justify-self:start;min-height:38px;border-radius:7px}.product-recipe-state{margin:0;color:#475569;font-size:13px;font-weight:700;line-height:1.5}.product-recipe-state.error{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--color-danger)}.product-recipe-state.error .secondary-button{min-height:34px;flex:0 0 auto}.product-inline-note{margin:0;padding:12px;border:1px solid var(--color-warning);border-radius:7px;background:var(--color-warning-soft);color:var(--color-warning);font-size:14px;font-weight:700;line-height:1.45}.product-panel-actions{justify-content:flex-end;padding-top:4px}.product-panel-actions .primary-button,.product-panel-actions .secondary-button,.product-confirm-actions .primary-button,.product-confirm-actions .secondary-button{min-height:42px;border-radius:7px}.product-editor-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#f8fafc;color:#475569;font-size:13px;font-weight:700}.product-confirm-dialog{width:min(calc(100vw - 32px),440px);height:auto;margin:auto}.product-confirm-surface{display:grid;gap:18px;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 20px 60px #0f172a42}.product-confirm-surface>header{padding-bottom:14px}.product-confirm-surface>p{margin:0;color:#475569;font-size:14px;font-weight:650;line-height:1.55}.product-confirm-actions{justify-content:flex-end}.product-danger-confirm-button{background:var(--color-danger)}@media(max-width:767px){.product-workbench-header{align-items:flex-start;flex-direction:column;gap:14px}.product-workbench-header-actions{width:100%}.product-workbench-header-actions>button{flex:1 1 0}.product-workbench>.workbench-toolbar>.product-search-input{flex-basis:100%}.product-status-filter{flex:1 1 100%;justify-content:space-between}.product-status-filter button{flex:1 1 0}.product-result-count{margin-right:auto}.product-mobile-select-all{min-height:38px;flex:1 1 100%;display:flex;align-items:center;gap:8px;color:#475569;font-size:13px;font-weight:800}.product-mobile-select-all input{width:18px;height:18px;accent-color:var(--color-brand)}.product-bulk-bar{grid-template-columns:minmax(0,1fr)}.product-bulk-actions{justify-content:flex-start}.product-bulk-actions .secondary-button,.product-bulk-select,.product-bulk-sort{flex:1 1 calc(50% - 4px)}.product-bulk-select select,.product-bulk-sort input{min-width:0;flex:1 1 0}.product-table-shell{overflow:visible;border:0;border-radius:0;background:transparent}.product-table{min-width:0;display:grid;gap:8px}.product-table-header{position:absolute;width:1px;height:1px;min-height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.product-workbench-row{min-height:80px;grid-template-columns:26px minmax(0,1fr) auto;grid-template-rows:auto auto;grid-template-areas:"check name actions" "check meta meta";gap:8px 10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.product-row-check{grid-area:check;align-self:start;padding-top:4px}.product-row-name{grid-area:name}.product-row-category,.product-row-price,.product-row-inventory,.product-row-specs,.product-row-sort{display:none}.product-row-mobile-meta{min-width:0;display:block;grid-area:meta;overflow-x:auto;color:var(--color-muted);font-size:12px;font-weight:700;line-height:1.4;overscroll-behavior-inline:contain;scrollbar-width:none;white-space:nowrap}.product-row-mobile-meta::-webkit-scrollbar{display:none}.product-row-actions{grid-area:actions;align-self:start}.product-empty-state{padding:28px 14px;border:1px solid var(--line);border-radius:8px;background:#fff}.product-panel-actions{position:static;margin:0;padding:14px 0 calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.product-panel-actions>button{flex:1 1 0}.product-field-grid,.product-basic-field-grid,.product-stock-definition-grid{grid-template-columns:minmax(0,1fr)}.product-definition-heading{align-items:stretch;flex-direction:column;gap:10px}.product-sale-spec-add{align-self:start}.product-inventory-mode-grid button{min-height:60px;padding:8px}.product-inventory-mode-grid button small{display:none}.product-sale-spec-row{padding:11px}.product-sale-spec-row-header{align-items:flex-start}.product-sale-spec-row-header>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}.product-sale-spec-fields{grid-template-columns:minmax(0,1fr) minmax(84px,.58fr)}.product-spec-name{grid-column:1 / -1}.product-spec-deduction{grid-column:1}.product-spec-sort{grid-column:2}.product-definition-actions{margin:0}.product-recipe-row{grid-template-columns:minmax(0,1fr) 38px}.product-recipe-quantity{grid-column:1}.product-recipe-remove{grid-column:2;grid-row:1 / span 2;align-self:center}.product-confirm-dialog{width:min(calc(100vw - 24px),440px)}}@media(max-width:420px){.product-workbench-header h2{font-size:20px}.product-workbench-action{padding:0 10px;font-size:13px}.product-bulk-actions .secondary-button,.product-bulk-select,.product-bulk-sort{flex-basis:100%}.product-row-actions{gap:4px}.product-status-action{padding:0 7px}}
