:root{--bg: #f7f4ee;--surface: #fffaf2;--surface-2: #ffffff;--ink: #24211d;--muted: #706b63;--line: #e4ddd0;--brand: #d83a2e;--brand-strong: #a91f18;--accent: #0f8b7c;--accent-soft: #dcf5ef;--danger: #b91c1c;--shadow: 0 18px 40px rgba(53, 43, 31, .12);--radius: 8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--ink);scrollbar-gutter:stable}body.modal-open{overflow:hidden;overscroll-behavior:none;touch-action:none;padding-right:var(--removed-scrollbar-width, 0px)}button,input,textarea,select{font:inherit}button{cursor:pointer}img{display:block;width:100%}.topbar{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(36,33,29,.08);background:#fffaf2f0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1240px;margin:0 auto;padding:14px 20px}.topbar-admin .topbar-inner{max-width:none;padding-inline:28px}.brand{display:flex;align-items:center;min-width:0;border:0;background:transparent;color:inherit;gap:12px;text-align:left}.brand-mark,.tenant-logo{display:grid;overflow:hidden;width:40px;height:40px;flex:0 0 auto;place-items:center;border-radius:var(--radius);background:var(--ink);color:#fff;font-weight:900}.tenant-logo.hero{width:56px;height:56px}.brand-mark img,.tenant-logo img{height:100%;object-fit:cover}.brand-name{display:block;font-weight:750}.brand-subtitle,.panel-header span{display:block;color:var(--muted);font-size:.82rem}.topbar-actions{display:flex;align-items:center;gap:10px}.platform-auth-summary{display:grid;justify-items:end;line-height:1.2}.platform-auth-summary strong{font-size:.92rem}.platform-auth-summary span{color:var(--muted);font-size:.78rem}.main{max-width:1240px;margin:0 auto;padding:22px 20px 80px}.main-admin{max-width:none;padding-inline:28px}.shop-not-found{display:grid;gap:14px;max-width:560px;margin:72px auto 0;border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:var(--surface);box-shadow:var(--shadow)}.shop-not-found h1,.shop-not-found p{margin:0}.shop-not-found p{color:var(--muted);line-height:1.5}.available-stores{display:grid;gap:12px;padding-top:6px}.available-stores h2,.available-stores span{margin:0}.available-stores h2{font-size:1.05rem}.available-stores>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.available-stores>div:first-child span,.available-store-search span,.available-store-row small{color:var(--muted)}.available-store-search{display:grid;gap:6px}.available-store-search span{font-size:.78rem;font-weight:800;text-transform:uppercase}.available-store-search input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:var(--radius);padding:9px 11px;outline:none;background:#fffdf9}.available-store-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.available-store-row{display:flex;align-items:center;gap:12px;padding:12px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}.available-store-row:last-child{border-bottom:0}.available-store-row:hover{background:#fff}.available-store-row>span{display:grid;gap:2px}.login-page{display:grid;min-height:100vh;padding:24px;place-items:center;background:var(--bg)}.login-panel{display:grid;width:min(420px,100%);gap:14px;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--surface-2);box-shadow:var(--shadow)}.login-brand{margin-bottom:4px}.login-error{color:var(--danger)}.button,.topbar-actions button,.row-actions button,.product-footer button,.admin-sidebar button,.mini-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px;background:var(--surface-2);color:var(--ink);font-weight:700;text-decoration:none}.button-primary,.product-footer button{border-color:transparent;background:var(--brand);color:#fff}.button-primary:hover,.product-footer button:hover{background:var(--brand-strong)}button:disabled,.button:disabled{cursor:not-allowed;opacity:.58}.button-secondary{border-color:var(--line);background:var(--surface-2);color:var(--ink)}.button-secondary:hover{border-color:var(--accent);color:var(--accent)}.button-success{border-color:transparent;background:var(--accent);color:#fff}.button-success:hover{background:#0b6f63}.button-danger{border-color:transparent;background:var(--danger);color:#fff}.button-danger:hover{background:#991b1b}.admin-form .button-primary{min-height:44px;background:var(--ink)}.admin-form .button-primary:hover{background:#332d27}.status-pill,.small-pill,.badge,.platform-chip{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:850;line-height:1;white-space:nowrap}.status-pill.open{background:var(--accent-soft);color:#127a52}.status-pill.closed{background:#ffe4e1;color:var(--danger)}.small-pill,.platform-chip{border:1px solid var(--line);background:var(--surface-2);color:var(--muted)}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.store-strip{display:grid;overflow:hidden;grid-template-columns:minmax(0,1fr) 300px;gap:18px;margin-bottom:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.store-copy{min-width:0;padding:22px}.tenant-heading,.kicker-row,.section-title,.product-footer,.cart-item-title,.order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tenant-heading,.kicker-row{justify-content:flex-start;margin-bottom:14px}.store-title{margin:0;font-size:clamp(1.9rem,4vw,3rem);line-height:1}.store-text{margin:12px 0 20px;color:var(--muted);line-height:1.6}.mode-panel{display:grid;max-width:430px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.mode-panel button{min-height:46px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:850}.mode-panel button.active{background:var(--ink);color:#fff}.store-info-line{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:14px 0 16px;color:var(--muted);font-size:.92rem;font-weight:850;line-height:1.35}.store-info-line:before{content:"";width:8px;height:8px;border-radius:999px;background:var(--danger)}.store-info-line.open:before{background:var(--accent)}.store-info-button{min-height:30px;border:0;border-radius:999px;padding:0 10px;background:#24211d0f;color:var(--ink);font-size:.84rem;font-weight:850}.store-info-button:hover{background:var(--ink);color:#fff}.store-photo{min-height:260px;background:#1f1c18}.store-photo img{height:100%;object-fit:cover}.search-panel,.admin-panel,.cart-panel,.metric-card,.order-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);box-shadow:0 10px 24px #352b1f12}.search-panel{display:grid;gap:10px;margin-bottom:18px;padding:14px;background:#f7f4eeeb}.search-box{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:60px;border:1px solid var(--line);border-radius:var(--radius);padding:8px 16px;background:var(--surface-2)}.search-box span{color:var(--muted);font-size:.82rem;font-weight:900;text-transform:uppercase}.search-box input,.checkout-form input:not([type=radio]):not([type=checkbox]),.checkout-form textarea,.admin-form input:not([type=checkbox]),.admin-form textarea,.admin-form select,.field-group input:not([type=checkbox]),.field-group textarea,.field-group select,td select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:var(--radius);padding:9px 11px;background:#fffdf9;color:var(--ink);outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.search-box input{border:0;padding:0;background:transparent}.checkout-form input:focus,.checkout-form textarea:focus,.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus,.field-group input:focus,.field-group textarea:focus,.field-group select:focus,td select:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px #0f8b7c1f}.category-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.category-row button{min-height:46px;border:1px solid var(--line);border-radius:var(--radius);padding:0 14px;background:var(--surface-2);color:var(--muted);font-weight:850;white-space:nowrap}.category-row button.active,.admin-sidebar button.active{border-color:var(--ink);background:var(--ink);color:#fff}.section-title{margin:24px 0 12px}.section-title h2{margin:0}.section-title span{color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{display:grid;overflow:hidden;grid-template-columns:136px minmax(0,1fr);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.product-image{position:relative;min-height:148px;background:#ddd1be}.product-image img{height:100%;object-fit:cover}.badge{position:absolute;top:10px;left:10px;background:#fff0c9;color:#815000}.product-body{display:grid;align-content:space-between;gap:10px;min-width:0;padding:14px}.product-body h3,.product-body p{margin:0}.product-body p{color:var(--muted);line-height:1.5}.product-footer button.wide{min-width:96px}.cart-panel{position:sticky;top:92px;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.panel-header h2,.panel-header h3{margin:0}.panel-header>div{display:grid;gap:4px}.cart-list{display:grid;max-height:360px;overflow:auto}.empty-state{padding:24px;color:var(--muted);text-align:center}.cart-item{display:grid;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.cart-summary{margin:-4px 0 0;color:var(--muted);font-size:.84rem;line-height:1.45}.stepper{display:inline-grid;overflow:hidden;width:max-content;grid-template-columns:34px 42px 34px;border:1px solid var(--line);border-radius:var(--radius)}.stepper button,.stepper span{display:grid;min-height:34px;place-items:center;border:0;background:#fff;font-weight:850}.totals,.checkout-form{display:grid;gap:10px;padding:16px;border-top:1px solid var(--line)}.totals div{display:flex;justify-content:space-between;color:var(--muted)}.totals .grand{color:var(--ink);font-size:1.15rem;font-weight:900}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choice{position:relative}.choice input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0}.choice span{display:grid;min-height:48px;place-items:center;border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);font-weight:850;text-align:center}.choice input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:grid;overflow:hidden;place-items:center;padding:20px;background:#24211d6b;overscroll-behavior:contain;touch-action:none}.customizer-panel{display:grid;width:min(720px,100%);max-height:min(820px,calc(100dvh - 40px));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.order-sent-panel{display:grid;justify-items:center;width:min(420px,100%);gap:12px;border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:var(--surface-2);box-shadow:0 26px 80px #24211d42;text-align:center;touch-action:pan-y}.order-sent-mark{display:grid;width:56px;height:56px;place-items:center;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:950}.order-sent-mark.attention{background:#ffe4e1;color:var(--danger)}.order-sent-panel h2,.order-sent-panel p{margin:0}.order-sent-panel p{color:var(--muted)}.order-sent-panel .button{width:100%;margin-top:4px}.integration-token-panel{display:grid;width:min(620px,100%);gap:16px;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.platform-settings-panel{display:grid;width:min(720px,100%);max-height:min(820px,calc(100dvh - 40px));overflow-y:auto;gap:16px;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.platform-settings-section{display:grid;gap:14px;border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:#fffdf9}.platform-settings-section h3,.platform-settings-section p{margin:0}.platform-settings-section p{color:var(--muted);line-height:1.5}.platform-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.platform-settings-grid div{border:1px solid var(--line);border-radius:var(--radius-sm);padding:12px;background:var(--surface-2)}.platform-settings-grid span{display:block;color:var(--muted);font-size:.78rem;font-weight:850}.platform-settings-grid strong{display:block;margin-top:6px}.platform-settings-actions{display:flex;flex-wrap:wrap;gap:10px}.platform-settings-actions .button{white-space:nowrap}.platform-page{display:grid;gap:16px;width:100%;margin:0}.platform-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0}.platform-page-head h1,.platform-tenant-card h2,.platform-dialog-head h2,.platform-edit-form h3,.platform-users-section h3{margin:0}.platform-page-head h1{font-size:1.55rem}.platform-page-head span{display:block;margin-top:4px;color:var(--muted)}.platform-page .button-primary,.platform-tenant-dialog .button-primary{border-color:transparent;background:var(--ink);color:#fff}.platform-page .button-primary:hover,.platform-tenant-dialog .button-primary:hover{background:#332d27}.platform-tenant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(356px,356px));gap:16px;align-items:start;justify-content:start}.platform-tenant-card{display:grid;gap:14px;border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:var(--surface-2);box-shadow:0 10px 30px #352b1f14}.platform-tenant-head,.platform-tenant-title,.platform-tenant-actions{display:flex;align-items:center;gap:12px}.platform-tenant-head{justify-content:space-between}.platform-tenant-title{min-width:0}.platform-tenant-title h2{overflow:hidden;font-size:1rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.platform-tenant-title span,.platform-tenant-stats span{color:var(--muted);font-size:.82rem;font-weight:650}.tenant-status-text{color:var(--muted);font-size:.82rem;font-weight:750}.tenant-status-text.active{color:#05745f}.tenant-status-text.suspended{color:var(--danger)}.platform-tenant-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.platform-tenant-stats div{min-height:56px;border:1px solid var(--line);border-radius:var(--radius);padding:10px;background:#fbfdfb}.platform-tenant-stats strong{display:block;margin-top:4px}.platform-tenant-actions{justify-content:flex-end;gap:8px}.platform-tenant-actions .button,.platform-tenant-actions .icon-danger-button{height:40px;min-height:40px;padding-block:0}.platform-card-danger{border-color:var(--line);background:var(--surface-2);color:#c81e1e}.platform-card-danger:hover{border-color:#f1b8b8;background:#fff6f6}.icon-danger-button{display:inline-grid;width:40px;height:40px;place-items:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);color:#dc2626}.icon-danger-button:hover{border-color:#f1b8b8;background:#fff6f6}.platform-tenant-dialog{display:grid;width:min(620px,100%);max-height:min(860px,calc(100dvh - 24px));overflow-y:auto;gap:18px;border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.platform-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}.platform-edit-form,.platform-users-section{display:grid;gap:14px}.platform-edit-form h3,.platform-users-section h3{font-size:.95rem}.platform-logo-preview{display:grid;width:64px;height:64px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);place-items:center;background:var(--surface)}.logo-setting{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px}.logo-preview{display:grid;width:72px;aspect-ratio:1;overflow:hidden;place-items:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);color:var(--muted);font-size:.78rem;font-weight:650}.logo-preview img{height:100%;object-fit:contain;padding:6px}.logo-setting-control{display:grid;gap:6px;min-width:0;color:var(--muted);font-size:.78rem;font-weight:650}.file-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:45px;gap:10px;border:1px solid var(--line);border-radius:var(--radius);padding:6px;background:#fffdf9;cursor:pointer}.file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-picker-button{display:inline-grid;min-height:32px;place-items:center;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:var(--surface-2);color:var(--ink);font-weight:700}.file-picker-name{min-width:0;overflow:hidden;color:var(--muted);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.file-picker:focus-within{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px #0f8b7c1f}.logo-error{padding:0;color:var(--danger)}.platform-inline-actions{display:flex;flex-wrap:wrap;gap:10px}.platform-users-section{padding-top:2px;border-top:1px solid var(--line)}.user-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}.user-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--line)}.user-row:last-child{border-bottom:0}.user-row>div:first-child{min-width:0}.user-row strong,.user-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-row span{color:var(--muted);font-size:.8rem}.user-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.user-actions .small-pill{display:inline-flex;min-height:24px}.compact-empty{border:0;border-radius:0}.user-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.user-form .admin-wide-action{grid-column:1 / -1;min-height:44px}.integration-warning{border:1px solid #f2d28b;border-radius:var(--radius-sm);padding:12px;background:#fff7df;color:#7c5200;font-weight:750}.token-box{display:grid;gap:8px}.token-box span{color:var(--muted);font-size:.78rem;font-weight:850;text-transform:uppercase}.token-box textarea{min-height:92px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.integration-actions{display:flex;flex-wrap:wrap;gap:10px}.integration-cell{display:grid;justify-items:start;gap:6px}.close-guard-panel{text-align:left}.close-guard-panel .order-sent-mark,.close-guard-panel h2,.close-guard-panel p{justify-self:center;text-align:center}.close-guard-list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%}.close-guard-list span{border-radius:999px;padding:7px 10px;background:var(--surface);color:var(--muted);font-size:.82rem;font-weight:850}.store-info-panel{width:min(620px,100%);max-height:min(760px,calc(100dvh - 40px));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.store-info-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:18px;background:var(--surface-2)}.store-info-head .tenant-heading{margin:0}.store-info-kicker{color:var(--muted);font-size:.78rem;font-weight:850}.store-info-head h2{margin:2px 0 0;font-size:1.35rem}.store-info-status{padding:12px 18px;font-weight:850;text-align:center}.store-info-status.open{background:var(--accent-soft);color:#127a52}.store-info-status.closed{background:var(--surface);color:var(--ink)}.store-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.store-info-section{display:grid;align-content:start;gap:8px;border:1px solid var(--line);border-radius:var(--radius);padding:14px;background:var(--surface)}.store-info-section.full{grid-column:1 / -1}.store-info-section h3,.store-info-section p{margin:0}.store-info-section h3{font-size:.95rem}.store-info-section p{color:var(--muted);line-height:1.5}.payment-chip-row{display:flex;flex-wrap:wrap;gap:8px}.payment-chip-row span{border-radius:6px;padding:8px 10px;background:var(--surface-2);color:var(--muted);font-weight:800}.copy-error{color:var(--danger);font-size:.86rem;font-weight:800}.customizer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid var(--line)}.modal-close-button{display:grid;width:38px;height:38px;min-width:38px;flex:0 0 auto;place-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:0;background:var(--surface-2);color:var(--ink);font-size:1rem;font-weight:900;line-height:1}.modal-close-button:hover{border-color:var(--ink)}.customizer-head span,.custom-section-title span,.customizer-footer span{color:var(--muted);font-size:.82rem;font-weight:850}.customizer-head h2,.customizer-head p,.custom-section-title h3{margin:0}.customizer-head p{margin-top:6px;color:var(--muted);line-height:1.5}.custom-section{display:grid;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.custom-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.flavor-base{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;background:#fffdf9}.flavor-base span{color:var(--muted);font-weight:800}.option-list{display:grid;gap:8px}.option-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;background:#fffdf9;color:var(--ink);text-align:left}.option-list button.selected{border-color:var(--accent);background:var(--accent-soft)}.option-list button span{font-weight:850}.option-list button strong{flex:0 0 auto;color:var(--accent)}.customizer-footer{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:var(--surface)}.customizer-footer strong{display:block;margin-top:2px;font-size:1.35rem}.customizer-footer .button{min-width:190px}.admin-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.admin-sidebar{display:grid;align-content:start;gap:8px}.admin-sidebar button{justify-content:space-between}.admin-content{display:grid;gap:16px;min-width:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric-card{padding:16px}.metric-card span{color:var(--muted);font-weight:850}.metric-card strong{display:block;margin-top:8px;font-size:1.4rem}.metric-card small{display:block;margin-top:8px;color:var(--muted);font-weight:750;line-height:1.35}.dashboard-stack{display:grid;gap:16px}.summary-metrics{padding:16px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.summary-chart{display:grid;gap:12px;padding:16px}.summary-bar-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:12px}.summary-bar-row div:first-child{display:grid;gap:2px}.summary-bar-row div:first-child strong{font-size:.92rem}.summary-bar-row div:first-child span{color:var(--muted);font-size:.74rem;font-weight:750}.summary-bar-row>strong{font-size:.92rem;white-space:nowrap}.summary-bar-track{overflow:hidden;height:12px;border-radius:999px;background:var(--surface)}.summary-bar-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.summary-bar-track.orders span{background:var(--ink)}.status-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px}.status-summary-grid div,.payment-summary-list div{border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:#fffdf9}.status-summary-grid span,.payment-summary-list span{display:block;color:var(--muted);font-size:.78rem;font-weight:850}.status-summary-grid strong,.payment-summary-list strong{display:block;margin-top:6px;font-size:1.2rem}.payment-summary-list{display:grid;gap:10px;padding:16px}.payment-summary-list div{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-summary-list strong{margin:0;white-space:nowrap}.admin-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 12px;padding:16px}.field-group.full,.admin-form .button,.toggle-line,.form-note{grid-column:1 / -1}.field-group{display:grid;min-width:0;gap:7px;color:var(--muted);font-size:.78rem;font-weight:650}.field-group span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-group input,.field-group textarea,.field-group select{font-size:.95rem;font-weight:500}.field-group input::placeholder,.field-group textarea::placeholder{color:#8a8379;font-weight:600}.field-group textarea{min-height:72px;resize:vertical}.toggle-line{display:flex;align-items:center;justify-content:space-between;min-height:46px;border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;background:#fffdf9;font-weight:850}.toggle-line input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;accent-color:var(--accent)}.form-note{border:1px solid rgba(15,139,124,.22);border-radius:var(--radius);padding:10px 12px;background:var(--accent-soft);color:var(--accent);font-size:.86rem;font-weight:750}.table-wrap{overflow-x:auto}table{width:100%;min-width:760px;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}th{color:var(--muted);font-size:.78rem;text-transform:uppercase}.table-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.table-actions .icon-danger-button{width:36px;height:36px}.table-action-button{min-height:36px;padding:8px 12px}.order-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-card{display:grid;gap:12px;padding:14px}.order-card h3,.order-card p{margin:0}.order-card p{color:var(--muted)}.operations-panel,.cash-panel{overflow:hidden}.cash-collapsible{display:block}.cash-collapsible.is-open .cash-summary-bar{border-bottom:1px solid var(--line)}.cash-summary-bar{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;gap:14px;position:relative;padding:12px 16px;background:transparent;color:inherit;cursor:pointer;list-style:none;text-align:left}.cash-toggle-icon{display:block;width:10px;height:10px;flex:0 0 auto;border:1px solid var(--muted);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease}.cash-collapsible.is-open .cash-toggle-icon{transform:translateY(3px) rotate(225deg)}.cash-summary-bar strong{display:block;font-size:1rem}.cash-title-row{display:flex;align-items:center;gap:10px}.cash-title-row .status-pill{min-height:24px;padding:5px 9px;font-size:.72rem}.cash-summary-bar span{color:var(--muted);font-size:.84rem;font-weight:750}.cash-summary-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.cash-summary-actions>span:first-child{color:var(--ink);font-weight:900}.cash-form,.history-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}.cash-form .button,.history-filters .button{align-self:end;min-height:44px}.cash-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px;border-bottom:1px solid var(--line);background:#fffdf9}.cash-summary div,.history-summary{border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:var(--surface-2)}.cash-summary span,.history-summary span{display:block;color:var(--muted);font-size:.78rem;font-weight:850}.cash-summary strong,.history-summary strong{display:block;margin-top:4px;font-size:1.12rem}.history-summary{margin:0 16px 16px}.operations-header{align-items:flex-start}.operation-actions,.modal-head-actions{display:flex;align-items:center;gap:10px}.composer-modal-panel{display:grid;width:min(980px,calc(100vw - 40px));max-height:min(820px,calc(100dvh - 40px));overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);box-shadow:0 26px 80px #24211d42}.composer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.composer-grid .full{grid-column:1 / -1}.ops-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ops-mode-grid button,.composer-product-picker button{min-height:44px;border:1px solid var(--line);border-radius:var(--radius);padding:9px 12px;background:#fffdf9;color:var(--ink);font-weight:850}.ops-mode-grid button.active,.composer-product-picker button{border-color:var(--accent);background:var(--accent);color:#fff}.composer-products{display:grid;gap:10px;border:1px solid var(--line);border-radius:var(--radius);padding:12px;background:#fffdf9}.composer-product-picker{display:grid;grid-template-columns:minmax(0,1fr) 86px auto;gap:8px}.composer-product-picker select,.composer-product-picker input{min-height:44px;border:1px solid var(--line);border-radius:var(--radius);padding:9px 11px;background:#fff;color:var(--ink);font-weight:600}.order-draft{display:grid;gap:8px}.draft-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border:1px solid rgba(36,33,29,.1);border-radius:var(--radius);padding:10px;background:#fff}.draft-item div:first-child{display:grid;gap:3px}.draft-item span{color:var(--muted);font-size:.82rem;line-height:1.35}.composer-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px}.composer-total span{color:var(--muted);font-weight:750}.composer-total strong{font-size:1.1rem}.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px;overflow-x:auto;padding:12px;background:#f1ece3;scrollbar-gutter:stable}.kanban-lane{display:grid;align-content:start;min-height:520px;min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:#fffdf9eb}.kanban-lane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px;border-top:5px solid var(--muted);border-bottom:1px solid var(--line)}.kanban-lane-head h3,.kanban-card h4,.table-card h3{margin:0}.kanban-lane-head span,.kanban-card span,.table-card span,.table-card small{color:var(--muted);font-size:.78rem;font-weight:750}.kanban-lane-head strong{display:grid;min-width:30px;height:30px;place-items:center;border-radius:999px;background:var(--ink);color:#fff;font-size:.82rem}.lane-received .kanban-lane-head{border-top-color:#ef6b4a}.lane-preparing .kanban-lane-head{border-top-color:#e0a521}.lane-ready .kanban-lane-head{border-top-color:#2f80ed}.lane-handoff .kanban-lane-head{border-top-color:#0f8b7c}.lane-done .kanban-lane-head{border-top-color:#3f3a33}.kanban-list{display:grid;gap:10px;padding:10px}.kanban-card{display:grid;gap:10px;min-width:0;border:1px solid rgba(36,33,29,.12);border-radius:var(--radius);padding:12px;background:#fff;box-shadow:0 8px 18px #352b1f14;cursor:grab}.kanban-card:active{cursor:grabbing}.kanban-card-top,.kanban-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.kanban-card-top strong{flex:0 0 auto}.kanban-card-top>div,.kanban-meta span:first-child{min-width:0}.kanban-card p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}.kanban-actions{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch}.kanban-actions select,.table-card-actions select{min-width:0;min-height:38px;border:1px solid var(--line);border-radius:6px;padding:8px 9px;background:#fffdf9;color:var(--ink);font-weight:650}.kanban-actions button,.table-card-actions button{min-height:38px;min-width:0;width:100%;border:0;border-radius:6px;padding:8px 10px;background:var(--ink);color:#fff;font-weight:850;white-space:nowrap}.lane-empty{border:1px dashed var(--line);border-radius:var(--radius);padding:18px 10px;color:var(--muted);font-size:.88rem;text-align:center}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.inline-form input{min-height:44px;border:1px solid var(--line);border-radius:var(--radius);padding:9px 11px;background:#fffdf9}.table-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.table-card{display:grid;gap:14px;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:var(--radius);padding:14px;background:#fffdf9}.table-card small{display:block;margin-top:4px}.table-free{border-left-color:#16a34a}.table-occupied{border-left-color:#ef4444}.table-paying{border-left-color:#f59e0b}.table-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.row-actions button{white-space:nowrap}.toast{position:fixed;right:18px;bottom:18px;z-index:200;max-width:360px;border:0;border-radius:var(--radius);padding:12px 14px;background:var(--ink);color:#fff;box-shadow:var(--shadow);font-weight:750}.loading{display:grid;min-height:100vh;place-content:center;gap:8px;color:var(--muted);text-align:center}.loading strong{color:var(--ink);font-size:1.4rem}@media(max-width:1080px){.shop-layout,.store-strip,.dashboard-grid,.admin-layout{grid-template-columns:1fr}.cart-panel{position:static}.admin-sidebar{display:flex;overflow-x:auto}.admin-sidebar button{min-width:max-content}.table-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.modal-backdrop{padding:10px;align-items:start}.customizer-panel,.composer-modal-panel,.store-info-panel{width:100%;max-height:calc(100dvh - 20px)}.customizer-head{position:sticky;top:0;z-index:3;background:var(--surface-2)}.customizer-footer{flex-direction:column;align-items:stretch}.customizer-footer .button{width:100%}.topbar-inner{padding:12px}.topbar-admin .topbar-inner{padding-inline:12px}.brand-subtitle,.topbar-actions .small-pill{display:none}.brand-name-row{align-items:flex-start;flex-direction:column;gap:4px}.main{padding:14px 12px 80px}.store-copy{padding:18px}.store-photo{min-height:210px}.product-grid,.platform-tenant-grid,.metric-grid,.order-card-grid,.table-map,.cash-form,.cash-summary,.history-filters,.status-summary-grid,.composer-grid,.store-info-grid,.platform-settings-grid,.user-form,.admin-form,.choice-grid,.inline-form,.ops-mode-grid,.composer-product-picker,.draft-item,.cash-summary-bar,.cash-summary-actions,.platform-settings-actions,.platform-page-head,.platform-tenant-head,.platform-tenant-actions,.platform-inline-actions,.table-card-actions{grid-template-columns:1fr}.cash-summary-bar,.cash-summary-actions,.platform-page-head,.platform-tenant-head,.platform-tenant-actions{align-items:flex-start;flex-direction:column}.platform-page-head .button,.platform-tenant-actions .button,.platform-tenant-actions .icon-danger-button,.platform-inline-actions .button{width:100%}.cash-summary-bar{padding-right:42px}.cash-summary-actions{margin-left:0}.product-card{grid-template-columns:120px minmax(0,1fr)}.kicker-row{overflow-x:auto}}
