/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f5f7;--surface:#fff;--surface-strong:#f8fafc;--surface-muted:#e9eef2;--text:#172027;--muted:#5c6973;--border:#ccd5dc;--primary:#075e54;--primary-strong:#06483f;--primary-soft:#d9f2ed;--accent:#f4b942;--danger:#b42318;--danger-soft:#fee4e2;--success:#087443;--shadow:0 12px 36px #15222c1a;--radius:18px;--header-height:88px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1519;--surface:#172127;--surface-strong:#1d2930;--surface-muted:#26343c;--text:#f6f8f9;--muted:#aebbc3;--border:#42525c;--primary:#38bda8;--primary-strong:#61d8c4;--primary-soft:#153d37;--accent:#f4b942;--danger:#ff8178;--danger-soft:#4b2626;--success:#58d99a;--shadow:0 16px 40px #00000052}@media (prefers-color-scheme:dark){:root[data-theme=system]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1519;--surface:#172127;--surface-strong:#1d2930;--surface-muted:#26343c;--text:#f6f8f9;--muted:#aebbc3;--border:#42525c;--primary:#38bda8;--primary-strong:#61d8c4;--primary-soft:#153d37;--accent:#f4b942;--danger:#ff8178;--danger-soft:#4b2626;--success:#58d99a;--shadow:0 16px 40px #00000052}}*{box-sizing:border-box}html{background:var(--bg);-webkit-tap-highlight-color:transparent;min-height:100%}body{background:var(--bg);min-height:100vh;color:var(--text);margin:0;font-family:Arial,Helvetica Neue,system-ui,sans-serif;font-size:17px;font-weight:500}button,input,select{font:inherit}button,label,summary{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:4px solid var(--accent)}@supports (color:color-mix(in lab, red, red)){button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:4px solid color-mix(in srgb, var(--accent) 82%, white)}}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.48}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong{letter-spacing:-.015em}.screen{min-height:100vh}.app-header{z-index:20;min-height:var(--header-height);border-bottom:1px solid var(--border);background:var(--surface);position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.app-header{background:color-mix(in srgb, var(--surface) 94%, transparent)}}.app-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-row{width:min(1180px,100%);min-height:var(--header-height);align-items:center;gap:14px;margin:0 auto;padding:14px clamp(16px,3vw,34px);display:flex}.app-mark{background:var(--primary);color:#fff;letter-spacing:-.04em;border-radius:17px;flex:0 0 56px;place-items:center;width:56px;height:56px;font-size:18px;font-weight:900;display:grid}.app-mark-large{border-radius:26px;flex-basis:88px;width:88px;height:88px;font-size:27px}.header-copy{min-width:0}.header-copy h1{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(22px,3vw,30px);line-height:1.12;overflow:hidden}.header-copy p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:14px;font-weight:700;overflow:hidden}.header-trailing{align-items:center;margin-left:auto;display:flex}.button,.icon-button{cursor:pointer;border:0;border-radius:14px;min-height:52px;font-weight:800}.button{justify-content:center;align-items:center;gap:9px;padding:13px 20px;display:inline-flex}.icon-button{background:var(--surface-muted);min-width:52px;color:var(--text);place-items:center;padding:0;font-size:28px;display:inline-grid}.back-button{flex:0 0 56px;width:56px;height:56px;font-size:27px}.button-primary{background:var(--primary);color:#fff}:root[data-theme=dark] .button-primary{color:#062b25}.button-secondary{border:2px solid var(--border);background:var(--surface);color:var(--text)}.button-quiet{background:var(--surface-muted);color:var(--text)}.button-danger{background:var(--danger);color:#fff}.button-danger-quiet{border:2px solid var(--danger);background:var(--danger-soft);color:var(--danger)}.button-paid{background:var(--success);color:#fff;min-height:76px;font-size:22px}.button-large{min-height:64px;font-size:19px}.button-full{width:100%}.small-button{min-height:46px;padding:9px 14px;font-size:14px}.status-pill{background:var(--primary-soft);min-height:38px;color:var(--primary-strong);border-radius:999px;align-items:center;gap:7px;padding:8px 12px;font-size:13px;font-weight:900;display:inline-flex}.status-dot{background:var(--success);border-radius:50%;width:9px;height:9px}.home-content,.order-content,.summary-content,.history-content,.admin-content{width:min(1180px,100%);margin:0 auto;padding:clamp(18px,3vw,34px)}.home-content{gap:20px;max-width:800px;padding-top:clamp(24px,5vw,54px);display:grid}.operator-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.operator-card>div{gap:5px;display:grid}.operator-card strong{font-size:24px}.eyebrow{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:13px;font-weight:900}.new-order-button{background:var(--primary);min-height:220px;box-shadow:var(--shadow);color:#fff;cursor:pointer;border:0;border-radius:26px;place-items:center;padding:28px;font-size:clamp(30px,7vw,48px);font-weight:900;line-height:1;display:grid}.new-order-button:active{background:var(--primary-strong)}.new-order-icon{background:#ffffff29;border-radius:50%;place-items:center;width:70px;height:70px;font-size:54px;font-weight:400;display:grid}.new-order-button small{color:#ffffffd1;font-size:15px;font-weight:700}.home-actions{grid-template-columns:1fr 1fr;gap:14px;display:grid}.home-action{text-align:left;justify-content:flex-start;min-height:112px;padding:20px}.home-action>span:last-child{gap:5px;display:grid}.home-action small{color:var(--muted);font-size:13px}.home-action-icon{font-size:30px}.today-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.today-card>div{gap:6px;padding:18px 22px;display:grid}.today-card>div+div{border-left:1px solid var(--border)}.today-card span{color:var(--muted);font-size:13px;font-weight:800}.today-card strong{font-size:21px}.install-button{color:var(--primary-strong);background:0 0;justify-self:center;text-decoration:underline}.undo-button{background:var(--surface-muted);min-height:48px;color:var(--text);padding:9px 14px;font-size:14px}.order-content{padding-bottom:132px}.person-picker{z-index:12;top:calc(var(--header-height) + 10px);border:2px solid var(--primary);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);gap:12px;margin-bottom:16px;padding:16px;display:grid;position:sticky}.person-picker-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.person-picker-heading>div{gap:3px;display:grid}.person-picker-heading strong{text-overflow:ellipsis;white-space:nowrap;max-width:48vw;font-size:22px;overflow:hidden}.person-chips{scrollbar-width:thin;gap:9px;padding-bottom:3px;display:flex;overflow-x:auto}.person-chips button{border:2px solid var(--border);background:var(--surface-strong);min-width:138px;min-height:62px;color:var(--text);cursor:pointer;text-align:left;border-radius:13px;flex:none;gap:3px;padding:9px 13px;display:grid}.person-chips button[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.person-chips span{text-overflow:ellipsis;white-space:nowrap;max-width:170px;font-size:14px;font-weight:900;overflow:hidden}.person-chips strong{font-size:16px}.person-picker>p{color:var(--muted);margin:0;font-size:13px;line-height:1.35}.search-field{border:2px solid var(--border);background:var(--surface);border-radius:16px;align-items:center;gap:10px;min-height:58px;padding:0 8px 0 18px;display:flex}.search-field>span{color:var(--muted);font-size:28px}.search-field input{width:100%;min-width:0;height:54px;color:var(--text);background:0 0;border:0;outline:0;font-size:18px;font-weight:700}.search-field .icon-button{min-width:46px;min-height:46px}.tile-section{margin-top:26px}.tile-section h2,.summary-section h2,.section-heading h2{margin-bottom:14px;font-size:19px}.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.section-heading>span{color:var(--muted);font-size:14px;font-weight:800}.category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.category-button,.product-button{border-radius:var(--radius);background:var(--surface);min-height:128px;color:var(--text);cursor:pointer;text-align:left;border:0;padding:20px;position:relative;overflow:hidden;box-shadow:0 3px 12px #15222c14}.category-button:before,.product-button:before{background:var(--category-color);content:"";width:9px;position:absolute;inset:0 auto 0 0}.category-button{border:2px solid #0000;align-content:space-between;display:grid}.category-button span{font-size:clamp(22px,4vw,31px);font-weight:900}.category-button small,.product-button small{color:var(--muted);font-size:13px;font-weight:700}.product-button{border:2px solid var(--border);flex-direction:column;justify-content:center;gap:5px;min-height:156px;padding-left:25px;display:flex}.product-button strong{padding-right:32px;font-size:clamp(20px,4vw,27px);line-height:1.08}.product-button.is-selected{border-color:var(--category-color);background:var(--category-color)}@supports (color:color-mix(in lab, red, red)){.product-button.is-selected{background:color-mix(in srgb, var(--category-color) 10%, var(--surface))}}.product-price{margin-top:8px;font-size:19px;font-weight:900}.quantity-badge{background:var(--category-color);color:#fff;border-radius:999px;place-items:center;min-width:42px;height:42px;padding:0 8px;font-size:17px;font-weight:900;display:grid;position:absolute;top:11px;right:11px}.order-bottom-bar{z-index:30;min-height:96px;padding:14px max(18px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));border-top:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:18px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 30px #15222c1a}.order-bottom-bar>div{gap:2px;display:grid}.order-bottom-bar span{color:var(--muted);font-size:13px;font-weight:800}.order-bottom-bar strong{font-size:clamp(22px,5vw,30px)}.summary-button{min-width:min(52vw,320px);min-height:62px;font-size:19px}.summary-content{gap:24px;max-width:850px;padding-bottom:60px;display:grid}.split-overview{border:2px solid var(--primary);border-radius:var(--radius);background:var(--primary-soft);justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;display:flex}.split-overview h2{margin:4px 0 0;font-size:25px}.split-overview p,.split-offer p,.allocation-empty p{color:var(--muted);margin:7px 0 0}.split-overview-actions{gap:8px;min-width:190px;display:grid}.split-offer,.allocation-empty{border:2px solid var(--primary);border-radius:var(--radius);background:var(--primary-soft);justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex}.split-offer h2{margin:5px 0 0;font-size:clamp(22px,4vw,28px)}.allocation-empty{text-align:center;flex-direction:column}.allocation-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:18px;padding:22px;display:grid}.allocation-list{gap:14px;display:grid}.allocation-row{border:1px solid var(--border);background:var(--surface-raised);border-radius:14px;overflow:hidden}.allocation-title{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.allocation-title>div{gap:3px;display:grid}.allocation-title small{color:var(--muted)}.open-count,.done-count{white-space:nowrap;border-radius:999px;padding:7px 10px;font-weight:800}.open-count{color:#7c2d12;background:#ffedd5}.done-count{color:#166534;background:#dcfce7}.allocation-persons{display:grid}.allocation-person{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:8px 12px 8px 16px;display:grid}.allocation-person+.allocation-person{border-top:1px solid var(--border)}.allocation-person>span{text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.allocation-person .quantity-control button{min-width:50px;min-height:50px}.payer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px;display:grid}.payer-card{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:16px;padding:20px;display:grid}.payer-card.is-paid{background:#dcfce7;border-color:#15803d}@supports (color:color-mix(in lab, red, red)){.payer-card.is-paid{background:color-mix(in srgb, #dcfce7 55%, var(--surface))}}.payer-card-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.payer-card-heading h2{margin:3px 0 0;font-size:24px}.payer-card-heading>strong{color:var(--primary-strong);font-size:25px}.payer-card-actions{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid}.payer-card-actions .button-paid{min-height:56px}.split-hint{color:var(--muted);text-align:center;margin:-4px 0 4px}.summary-section,.totals-card,.cash-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.summary-section{padding:22px}.person-summary{gap:18px;display:grid}.person-summary-header{border-bottom:2px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding-bottom:16px;display:grid}.person-summary-header h2{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:26px;overflow:hidden}.person-summary-header>strong{color:var(--primary-strong);white-space:nowrap;font-size:25px}.person-summary-actions{gap:7px;display:flex}.person-summary-actions .icon-button{min-width:46px;min-height:46px}.person-empty{border:2px dashed var(--border);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.person-empty p{color:var(--muted);margin:0}.person-deposit-block{border-top:2px solid var(--accent);padding-top:18px;display:grid}@supports (color:color-mix(in lab, red, red)){.person-deposit-block{border-top:2px solid color-mix(in srgb, var(--accent) 55%, var(--border))}}.person-deposit-block{gap:12px}.person-deposit-block h3{margin:0;font-size:18px}.person-subtotals{border:1px solid var(--border);border-radius:13px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.person-subtotals>div{gap:4px;padding:12px 14px;display:grid}.person-subtotals>div+div{border-left:1px solid var(--border)}.person-subtotals>div:last-child{background:var(--surface-muted)}.person-subtotals span{color:var(--muted);font-size:12px;font-weight:800}.person-subtotals strong{white-space:nowrap}.line-list{gap:14px;display:grid}.order-line{border:1px solid var(--border);background:var(--surface-strong);border-radius:15px;gap:14px;padding:16px;display:grid}.line-main{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.line-main>div{gap:4px;display:grid}.line-main small{color:var(--muted);font-size:13px}.line-main>strong{white-space:nowrap}.quantity-control{border:2px solid var(--border);border-radius:14px;grid-template-columns:64px minmax(60px,1fr) 64px;align-items:center;display:grid;overflow:hidden}.quantity-control .icon-button{background:var(--surface-muted);border-radius:0;min-width:64px;min-height:60px;font-size:34px}.quantity-control output{text-align:center;font-size:23px;font-weight:900}.deposit-section{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.deposit-section{border-color:color-mix(in srgb, var(--accent) 60%, var(--border))}}.negative{color:var(--danger)}.totals-card{overflow:hidden}.totals-card>div{justify-content:space-between;padding:14px 22px;display:flex}.totals-card>div+div{border-top:1px solid var(--border)}.grand-total{background:var(--primary);color:#fff;align-items:center}.grand-total span{font-weight:900}.grand-total strong{font-size:28px}.cash-card{padding:0}.cash-card summary{cursor:pointer;min-height:58px;padding:17px 22px;font-weight:900}.cash-card[open]{padding-bottom:20px}.cash-card .field,.change-output{margin:0 22px}.change-output{background:var(--primary-soft);border-radius:12px;justify-content:space-between;margin-top:14px;padding:15px;display:flex}.summary-actions{gap:12px;display:grid}.filter-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:14px;padding:18px;display:grid}.segmented-control,.theme-buttons{background:var(--surface-muted);border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid;overflow:hidden}.segmented-control button,.theme-buttons button{min-height:48px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:11px;padding:9px;font-weight:800}.segmented-control button[aria-pressed=true],.theme-buttons button[aria-pressed=true]{background:var(--surface);color:var(--primary-strong);box-shadow:0 2px 8px #15222c1f}.date-filter{grid-template-columns:1fr 1fr;gap:12px;display:grid}.compact-field{max-width:360px}.statistics-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px;display:grid}.stat-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-content:center;gap:8px;min-height:108px;padding:18px;display:grid}.stat-card span{color:var(--muted);font-size:13px;font-weight:800}.stat-card strong{font-size:clamp(20px,3vw,28px)}.primary-stat{border-color:var(--primary);background:var(--primary);color:#fff}.primary-stat span{color:#ffffffc7}.history-grid{grid-template-columns:minmax(320px,.95fr) minmax(380px,1.05fr);gap:24px;margin-top:24px;display:grid}.history-list-panel,.statistics-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;padding:22px}.history-list{gap:9px;display:grid}.history-row{border:1px solid var(--border);background:var(--surface-strong);min-height:76px;color:var(--text);cursor:pointer;text-align:left;border-radius:13px;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.history-row>div{gap:4px;display:grid}.history-row>div:nth-child(2){justify-items:end}.history-row span{color:var(--muted);font-size:13px}.history-row>span:last-child{font-size:28px}.data-table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:left;padding:12px 9px}th{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px}th:nth-child(n+2),td:nth-child(n+2){text-align:right}.statistics-panel h3{margin:28px 0 10px;font-size:16px}.category-stats{gap:7px;display:grid}.category-stats>div{background:var(--surface-muted);border-radius:10px;justify-content:space-between;padding:11px 12px;display:flex}.admin-tabs{z-index:19;top:var(--header-height);border-bottom:1px solid var(--border);background:var(--surface);padding:0 max(16px,50vw - 560px);display:flex;position:sticky;overflow-x:auto}.admin-tabs button{min-width:max-content;min-height:56px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:4px solid #0000;padding:8px 18px;font-weight:900}.admin-tabs button[aria-current=page]{border-bottom-color:var(--primary);color:var(--primary-strong)}.admin-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px;display:flex}.admin-toolbar .search-field{width:min(560px,100%)}.admin-toolbar h2{margin-bottom:6px}.admin-list{gap:11px;display:grid}.admin-row{border:1px solid var(--border);background:var(--surface);border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;display:grid}.admin-row.is-inactive{opacity:.62}.admin-row-main{justify-content:space-between;align-items:center;gap:18px;min-width:0;display:flex}.admin-row-main>div:first-child,.price-stack{gap:4px;min-width:0;display:grid}.admin-row-main span,.price-stack span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.price-stack{white-space:nowrap;justify-items:end}.admin-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.admin-row-actions .icon-button{min-width:46px;min-height:46px;font-size:21px}.danger-icon{background:var(--danger-soft);color:var(--danger)}.category-admin-row{grid-template-columns:18px minmax(0,1fr) auto}.category-swatch{border-radius:999px;width:18px;height:58px}.data-settings,.settings-layout{gap:18px;max-width:850px;margin:0 auto;display:grid}.settings-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:18px;padding:24px;display:grid}.settings-card h2{margin:4px 0 8px;font-size:21px}.settings-card p{color:var(--muted);margin-bottom:0;font-size:15px;line-height:1.5}.settings-icon{background:var(--primary-soft);width:50px;height:50px;color:var(--primary-strong);border-radius:14px;place-items:center;font-size:27px;font-weight:900;display:grid}.settings-actions{flex-wrap:wrap;gap:10px;display:flex}.backup-card{border-color:var(--primary)}.danger-card{border-color:var(--danger)}.file-button{cursor:pointer;width:fit-content;position:relative}.file-button input{opacity:0;width:1px;height:1px;position:absolute}.form-stack{gap:17px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.field{gap:7px;display:grid}.field>span{font-size:14px;font-weight:900}.field input,.field select{border:2px solid var(--border);background:var(--surface);width:100%;min-height:54px;color:var(--text);border-radius:12px;outline:0;padding:11px 13px}.field input:focus,.field select:focus{border-color:var(--primary)}.money-input{border:2px solid var(--border);background:var(--surface);border-radius:12px;grid-template-columns:1fr auto;align-items:center;display:grid}.money-input input{border:0}.money-input>span{padding-right:15px;font-weight:900}.color-field{grid-template-columns:1fr auto auto;align-items:center}.color-field>span{grid-column:1/-1}.color-field input{width:84px;padding:5px}.check-field{cursor:pointer;align-items:center;gap:12px;min-height:56px;display:flex}.check-field input{width:28px;height:28px;accent-color:var(--primary)}.form-error{background:var(--danger-soft);color:var(--danger);white-space:pre-line;border-radius:10px;margin:0;padding:12px;font-size:14px;font-weight:800}.notice{border-left:5px solid var(--accent);background:var(--accent);border-radius:10px;margin:0 0 14px;padding:13px}@supports (color:color-mix(in lab, red, red)){.notice{background:color-mix(in srgb, var(--accent) 16%, var(--surface))}}.muted{color:var(--muted);font-size:15px;line-height:1.5}.modal-backdrop{z-index:100;padding:max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));background:#020a0eb8;place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{background:var(--surface);border-radius:22px;width:min(620px,100%);max-height:calc(100vh - 36px);padding:clamp(20px,4vw,30px);overflow-y:auto;box-shadow:0 24px 70px #00000052}.modal-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.modal-header h2{margin:0;font-size:clamp(24px,5vw,32px)}.modal-actions{grid-template-columns:1fr 1.4fr;gap:10px;display:grid}.order-detail{gap:16px;display:grid}.detail-meta,.detail-total{background:var(--surface-muted);border-radius:12px;justify-content:space-between;padding:13px;display:flex}.detail-lines{gap:10px;display:grid}.detail-persons{gap:20px;display:grid}.detail-persons>section{border:1px solid var(--border);background:var(--surface-strong);border-radius:14px;padding:14px}.detail-person-heading{border-bottom:2px solid var(--border);justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;padding-bottom:10px;display:flex}.detail-person-heading h3{margin:0}.detail-person-heading>strong{color:var(--primary-strong);font-size:20px}.detail-lines>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:18px;padding-bottom:10px;display:flex}.detail-lines span{gap:3px;display:grid}.detail-lines small{color:var(--muted);font-size:12px}.detail-deposit{color:var(--primary-strong)}.detail-total{background:var(--primary);color:#fff;align-items:center}.detail-total strong{font-size:25px}.preview-numbers{grid-template-columns:1fr 1fr;gap:12px;display:grid}.preview-numbers>div{background:var(--surface-muted);text-align:center;border-radius:14px;gap:5px;padding:20px;display:grid}.preview-numbers strong{font-size:30px}.preview-numbers span{color:var(--muted);font-size:13px}.import-preview{gap:18px;display:grid}.import-preview p{margin:0;line-height:1.5}.import-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.import-actions .button{min-height:84px;display:grid}.import-actions small{opacity:.8;font-size:11px}.toast,.error-banner{z-index:200;width:min(560px,100% - 36px);box-shadow:var(--shadow);border-radius:14px;align-items:center;margin:0 auto;font-weight:900;display:flex;position:fixed;left:18px;right:18px}.toast{bottom:max(22px, env(safe-area-inset-bottom));background:var(--success);color:#fff;justify-content:center;min-height:58px;padding:14px 18px}.error-banner{top:max(18px, env(safe-area-inset-top));background:var(--danger);color:#fff;justify-content:space-between;padding:10px 10px 10px 17px}.error-banner .icon-button{color:#fff;background:#ffffff2e}.empty-state{border:2px dashed var(--border);border-radius:var(--radius);min-height:180px;color:var(--muted);text-align:center;place-content:center;padding:28px;display:grid}.empty-state.compact{min-height:110px}.empty-state p{margin:7px 0 0}.loading-screen,.confirmation-screen{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:30px;display:grid}.loading-screen h1{margin:22px 0 8px}.loading-screen p,.confirmation-screen p{color:var(--muted)}.confirmation-screen{background:var(--primary);color:#fff}.confirmation-mark{border:5px solid #fff;border-radius:50%;place-items:center;width:110px;height:110px;margin-bottom:26px;font-size:68px;font-weight:900;display:grid}.confirmation-screen>span{letter-spacing:.06em;text-transform:uppercase;font-size:17px;font-weight:900}.confirmation-screen h1{margin:10px 0;font-size:clamp(34px,8vw,58px)}.confirmation-screen>strong{font-size:clamp(34px,8vw,58px)}.confirmation-screen p{color:#ffffffc7}@media (width>=760px){.category-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-line{grid-template-columns:minmax(0,1fr) 270px;align-items:center}.line-main{align-items:center}.summary-content{padding-top:32px}}@media (width>=1060px){.category-grid,.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=820px){.statistics-grid{grid-template-columns:1fr 1fr}.history-grid,.admin-row,.category-admin-row{grid-template-columns:1fr}.category-swatch{width:64px;height:12px}.admin-row-actions{justify-content:flex-start}}@media (width<=620px){:root{--header-height:80px}body{font-size:16px}.header-row{min-height:var(--header-height);padding:10px 14px}.app-mark,.back-button{flex-basis:52px;width:52px;height:52px}.status-pill{padding:8px;font-size:0}.status-dot{width:12px;height:12px}.home-actions,.today-card,.form-grid,.date-filter,.import-actions{grid-template-columns:1fr}.person-picker{top:calc(var(--header-height) + 6px);padding:12px}.person-picker>p{display:none}.person-picker-heading strong{max-width:44vw;font-size:19px}.person-chips button{min-width:122px;min-height:58px}.split-overview{flex-direction:column;align-items:stretch}.split-overview-actions{width:100%}.split-offer{flex-direction:column;align-items:stretch}.allocation-panel{padding:14px}.allocation-title{align-items:flex-start}.allocation-person{grid-template-columns:minmax(0,1fr) auto;padding-left:12px}.payer-card-actions{grid-template-columns:1fr auto}.payer-card-actions .button-paid{grid-column:1/-1}.person-summary-header{grid-template-columns:minmax(0,1fr) auto}.person-summary-actions{grid-column:1/-1}.person-empty{flex-direction:column;align-items:stretch}.person-subtotals{grid-template-columns:1fr}.person-subtotals>div+div,.today-card>div+div{border-top:1px solid var(--border);border-left:0}.new-order-button{min-height:190px}.category-grid,.product-grid{grid-template-columns:1fr 1fr;gap:10px}.category-button,.product-button{min-height:130px;padding:16px 16px 16px 20px}.category-button small{display:none}.product-button strong{padding-right:0;font-size:18px}.quantity-badge{min-width:36px;height:36px;font-size:14px;top:8px;right:8px}.product-button.is-selected strong{padding-right:26px}.undo-button{width:50px;padding:0;font-size:0;overflow:hidden}.undo-button:first-letter{font-size:25px}.summary-section{padding:15px}.line-main{gap:10px}.history-row{grid-template-columns:1fr auto}.history-row>div:nth-child(2){justify-items:end}.history-row>span:last-child{display:none}.admin-toolbar{flex-direction:column;align-items:stretch}.admin-toolbar>.button{width:100%}.admin-row-main{flex-direction:column;align-items:flex-start}.price-stack{justify-items:start}.modal-actions{grid-template-columns:1fr}}@media (width<=390px){.category-grid,.product-grid{grid-template-columns:1fr}.product-button{min-height:120px}}@media print{.app-header,.admin-tabs,.button,.icon-button,.filter-card{display:none!important}body,.screen{color:#000;background:#fff}}
