:root{--bg:#faf7f2;--surface:#fff;--surface-2:#f2ede4;--text:#1d2321;--text-muted:#5b6460;--border:#e4ddd1;--brand:#0f5c4d;--brand-ink:#fff;--brand-soft:#e1efeb;--accent:#f2a93b;--warn-bg:#fff3dd;--warn-text:#7a4b00;--radius:0px;--field-radius:0px;--control-radius:0px;--tabbar-h:68px;--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:17px;line-height:1.45}h1,h2,h3{margin:0;line-height:1.2}button{font:inherit}.app{flex-direction:column;min-height:100%;display:flex}.page{width:100%;max-width:640px;padding-block:20px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));flex:1;margin:0 auto}.page-header{padding-top:env(safe-area-inset-top,0px);justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.page-header h1{letter-spacing:-.01em;font-size:1.75rem;font-weight:750}.page-header p{color:var(--text-muted);margin:4px 0 0}.tabbar{z-index:10;background:var(--surface);border-top:1px solid var(--border);padding-bottom:var(--safe-bottom);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);position:fixed;bottom:0;left:0;right:0}.tabbar ul{grid-template-columns:repeat(5,minmax(0,1fr));max-width:640px;margin:0 auto;padding:0;list-style:none;display:grid}.tabbar a{height:var(--tabbar-h);color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;font-size:min(.78rem,3.6vw);font-weight:600;text-decoration:none;display:flex;container-type:inline-size}.tab-label{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:min(1em,17cqw);overflow:hidden}.tabbar a svg{width:26px;height:26px}.tabbar a.active{color:var(--brand)}.tabbar a.active .tab-icon{background:var(--brand-soft)}.tab-icon{border-radius:var(--control-radius);place-items:center;width:min(56px,100%);height:32px;transition:background .15s;display:grid}@media (width>=900px){.app{flex-direction:row}.tabbar{border-top:0;border-right:1px solid var(--border);width:112px;height:100vh;padding:24px 0 0;position:sticky;top:0}.tabbar ul{grid-template-columns:1fr;gap:8px}.page{padding-block:40px;padding-left:32px;padding-right:32px}.tabbar{box-sizing:border-box;flex-direction:column;flex:none;gap:28px;width:240px;padding:24px 16px;display:flex}.tabbar ul{gap:2px;margin:0}.tabbar a{color:#3a423f;flex-direction:row;justify-content:flex-start;gap:12px;height:44px;padding:0 12px;font-size:.95rem;container-type:normal}.tabbar a svg{width:22px;height:22px}.tab-icon{width:24px;height:auto;background:0 0!important}.tab-label{font-size:inherit;flex:1}.tabbar a.active{background:var(--brand-soft);font-weight:700}.tabbar a:hover:not(.active){background:var(--surface-2)}.side-only{display:initial}.side-brand{align-items:center;gap:10px;min-width:0;padding:0 8px;display:flex}.side-logo{flex:none;width:36px;height:36px}.side-brand-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.side-brand-text strong{font-size:1rem;font-weight:800}.side-brand-sub{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.side-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:600}.side-backup{background:var(--bg);border:1px solid var(--border);flex-direction:column;gap:4px;margin-top:auto;padding:14px;font-size:.85rem;display:flex}.side-backup-title{letter-spacing:.06em;text-transform:uppercase;color:var(--brand);font-size:.75rem;font-weight:700}.side-backup-when{color:var(--text-muted)}.side-backup a{color:var(--brand);font-weight:700;text-decoration:none}}@media (width<=899.98px){.side-only{display:none!important}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.summary-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.summary-grid .owed{background:var(--brand);color:var(--brand-ink);border-color:var(--brand);grid-column:1/-1}.summary-grid .owed .stat-label{color:inherit;opacity:.85}.stat-label{color:var(--text-muted);font-size:.9rem;font-weight:600}.stat-value{font-variant-numeric:tabular-nums;margin-top:4px;font-size:1.6rem;font-weight:750}.section-title{margin:24px 0 10px;font-size:1.05rem;font-weight:700}.empty{text-align:center;padding:36px 20px}.empty-icon{background:var(--brand-soft);width:72px;height:72px;color:var(--brand);border-radius:50%;place-items:center;margin:0 auto 14px;display:grid}.empty-icon svg{width:34px;height:34px}.empty h2{margin-bottom:6px;font-size:1.2rem}.empty p{color:var(--text-muted);max-width:30ch;margin:0 auto 18px}.btn{border-radius:var(--control-radius);background:var(--brand);min-height:52px;color:var(--brand-ink);cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-weight:700;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-note{color:var(--text-muted);margin-top:8px;font-size:.82rem;display:block}.list{margin:0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--border);align-items:center;gap:14px;min-height:60px;padding:10px 16px;display:flex}.list li:last-child{border-bottom:0}.list .row-text{flex:1}.row-sub{color:var(--text-muted);font-size:.85rem;display:block}.list .row-icon{color:var(--brand);display:grid}.list .row-icon svg{width:24px;height:24px}.card.list-card{padding:0;overflow:hidden}.pill{border-radius:var(--control-radius);background:var(--surface-2);color:var(--text-muted);white-space:nowrap;padding:4px 10px;font-size:.8rem;font-weight:700}.pill.ok{background:var(--brand-soft);color:var(--brand)}.pill.warn{background:var(--warn-bg);color:var(--warn-text)}.banner{border-radius:var(--radius);background:var(--warn-bg);color:var(--warn-text);align-items:flex-start;gap:12px;margin-bottom:16px;padding:14px 16px;font-size:.95rem;display:flex}.banner strong{display:block}.banner svg{flex:none;width:22px;height:22px;margin-top:1px}.offline-bar{z-index:20;text-align:center;padding:6px 12px;padding-top:calc(6px + env(safe-area-inset-top,0px));background:var(--text);color:var(--bg);font-size:.85rem;font-weight:600;position:sticky;top:0}.muted{color:var(--text-muted)}.small{font-size:.85rem}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:var(--control-radius)}.offline-bar svg{vertical-align:-3px;width:16px;height:16px;margin-right:4px}:root{--danger:#b3261e;--danger-soft:#fbe9e7;--focus-ring:var(--accent)}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;min-width:0;height:1px;margin:-1px;padding:0;position:absolute;top:0;left:0;overflow:hidden}.form{flex-direction:column;gap:18px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field label{font-size:.95rem;font-weight:650}.field .optional{color:var(--text-muted);font-weight:400}.field input,.field textarea,.search input{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1.5px solid var(--border);border-radius:var(--field-radius);min-height:52px;padding:13px 14px;font-size:17px}.field textarea{resize:vertical;min-height:90px;line-height:1.4}.field input:focus,.field textarea:focus,.search input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);outline:none}.field.has-error input,.field.has-error textarea{border-color:var(--danger)}.field-hint{color:var(--text-muted);margin:0;font-size:.85rem}.field-warning{background:var(--warn-bg);color:var(--warn-text);margin:0;padding:8px 10px;font-size:.85rem}.field-error{color:var(--danger);margin:0;font-size:.9rem;font-weight:600}.field-pair{grid-template-columns:3fr 2fr;gap:12px;display:grid}a.btn{text-decoration:none}.btn-block{width:100%}.btn-small{border-radius:var(--control-radius);min-height:44px;padding:0 16px;font-size:.95rem}.btn-secondary{background:var(--brand-soft);color:var(--brand)}.btn-ghost{color:var(--text-muted);background:0 0;margin-top:8px}.btn-danger{background:var(--danger);color:#fff}.btn-danger-quiet{color:var(--danger);border:1.5px solid var(--border);background:0 0;width:100%}.btn-row{gap:10px;display:flex}.btn-row .btn{flex:1}.link-btn{min-height:44px;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:8px 4px;font-weight:650}.back-header{justify-content:flex-start}.back-header h1{overflow-wrap:anywhere;flex:1;min-width:0;font-size:1.45rem}.back-btn{border-radius:var(--control-radius);width:44px;height:44px;color:var(--text);flex:none;place-items:center;margin-left:-10px;display:grid}.back-btn svg{width:26px;height:26px}.back-btn:active{background:var(--surface-2)}.search{margin-bottom:14px;position:relative}.search svg{width:20px;height:20px;color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:14px;translate:0 -50%}.search input{padding-left:44px}.no-results{text-align:center;padding:24px 0}.list li:has(>.row-link){padding:0}.row-link{min-height:64px;color:inherit;flex:1;align-items:center;gap:14px;padding:10px 16px;text-decoration:none;display:flex}.row-link:active{background:var(--surface-2)}.row-text{overflow-wrap:anywhere;min-width:0}.chevron{color:var(--text-muted);font-size:1.5rem;line-height:1}.avatar{background:var(--brand-soft);width:40px;height:40px;color:var(--brand);border-radius:50%;flex:none;place-items:center;font-size:.9rem;font-weight:750;display:grid}.price{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.price .unit{color:var(--text-muted);font-size:.85rem;font-weight:400}.detail-card{flex-direction:column;gap:4px;margin-bottom:16px;display:flex}.detail-row{align-items:center;gap:12px;min-height:44px;display:flex}.detail-label{width:56px;color:var(--text-muted);flex:none;font-size:.85rem;font-weight:600}.detail-value{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;flex:1;min-width:0}.detail-value.multiline{white-space:pre-wrap}.empty.compact{padding:20px 16px}.empty.compact .empty-icon{width:48px;height:48px;margin-bottom:8px}.empty.compact .empty-icon svg{width:24px;height:24px}.empty.compact p{margin-bottom:0}.danger-zone{flex-direction:column;gap:10px;margin-top:32px;display:flex}.confirm-box{background:var(--danger-soft);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;display:flex}.confirm-box p{margin:0}.logo-picker{align-items:center;gap:16px;display:flex;position:relative}.logo-preview{border-radius:var(--radius);border:1.5px dashed var(--border);background:var(--surface);width:84px;height:84px;color:var(--text-muted);flex:none;place-items:center;font-size:.85rem;display:grid;overflow:hidden}.logo-preview img{object-fit:contain;width:100%;height:100%}.logo-actions{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.logo-actions label.btn{cursor:pointer}.qr-picker{flex-wrap:wrap;align-items:center;gap:16px;display:flex;position:relative}.qr-preview{border:1px solid var(--border);background:#fff;flex:none;place-items:center;width:120px;height:120px;padding:4px;display:grid;overflow:hidden}.qr-preview img{object-fit:contain;width:100%;height:100%;image-rendering:pixelated}.setup{max-width:520px;margin:0 auto}.setup-header{margin-bottom:24px}.setup-card{color:inherit;border-color:var(--accent);align-items:center;gap:14px;margin-bottom:16px;text-decoration:none;display:flex}.setup-card .row-icon{color:var(--brand);display:grid}.setup-card .row-icon svg{width:28px;height:28px}.header-logo{object-fit:contain;border-radius:var(--radius);flex:none;width:48px;height:48px}.page-header h1{overflow-wrap:anywhere}.page-header>div{min-width:0}.toast-wrap{z-index:30;pointer-events:none;left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);justify-content:center;padding:0 16px;display:flex;position:fixed}.toast{background:var(--text);color:var(--bg);border-radius:var(--radius);padding:12px 18px;font-weight:650;animation:.18s ease-out toast-in;box-shadow:0 6px 20px #0003}@keyframes toast-in{0%{opacity:0;translate:0 8px}}@media (prefers-reduced-motion:reduce){.toast{animation:none}.tab-icon{transition:none}}@media (width>=900px){.toast-wrap{bottom:24px}}:root{--info-bg:#e3edf9;--info-text:#1f4e86}.pill.status-draft{background:var(--surface-2);color:var(--text-muted)}.pill.status-sent{background:var(--info-bg);color:var(--info-text)}.pill.status-accepted{background:var(--brand-soft);color:var(--brand)}.pill.status-declined{background:var(--danger-soft);color:var(--danger)}.section-head{justify-content:space-between;align-items:center;gap:12px;margin:24px 0 10px;display:flex}.section-head .section-title{margin:0}.chips{scrollbar-width:none;gap:8px;margin:0 0 14px;padding-bottom:4px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{border-radius:var(--control-radius);border:1.5px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;flex:none;padding:0 14px;font-size:.92rem;font-weight:600}.chip.active{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}.chip-count{opacity:.7;margin-left:2px;font-weight:500}.quote-row-top{display:block}.quote-row-end{flex-direction:column;flex:none;align-items:flex-end;gap:6px;display:flex}.picker-btn{border-radius:var(--field-radius);border:1.5px solid var(--border);background:var(--surface);width:100%;min-height:56px;color:var(--text);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:17px;display:flex}.field.has-error .picker-btn{border-color:var(--danger)}.picker-main{overflow-wrap:anywhere;min-width:0;font-weight:600}.picker-btn .muted{font-weight:400}.picker-change{color:var(--brand);flex:none;font-size:.95rem;font-weight:650}.quote-lines{flex-direction:column;gap:12px;display:flex}.quote-lines .section-title{margin-bottom:0}.line-card{flex-direction:column;gap:12px;display:flex}.line-head{justify-content:space-between;align-items:center;margin:-6px 0 -8px;display:flex}.line-no{color:var(--text-muted);font-size:.9rem;font-weight:700}.link-btn.danger{color:var(--danger)}.line-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr);gap:10px;display:grid}.line-grid .field input{padding-left:10px;padding-right:10px}.line-amount{color:var(--text-muted);font-variant-numeric:tabular-nums;justify-content:space-between;display:flex}.line-amount strong{color:var(--text)}.input-with-toggle{gap:8px;display:flex}.input-with-toggle input{flex:1;min-width:0}.segmented{border:1.5px solid var(--border);border-radius:var(--field-radius);flex:none;display:flex;overflow:hidden}.segmented button{background:var(--surface);min-width:52px;color:var(--text-muted);cursor:pointer;border:0;font-size:1.05rem;font-weight:700}.segmented button.on{background:var(--brand);color:var(--brand-ink)}.totals-bar{bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 8px);z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:6px;margin-top:8px;padding:12px 14px;display:flex;position:sticky;box-shadow:0 -4px 18px #00000014}.totals-lines{color:var(--text-muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 14px;font-size:.85rem;display:flex}.totals-main{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.totals-main .btn{flex:1 0 auto}.totals-label{font-weight:700}.totals-value{font-variant-numeric:tabular-nums;white-space:nowrap;flex:1 0 auto;font-size:1.35rem;font-weight:800}@media (width>=900px){.totals-bar{bottom:16px}}.sheet-backdrop{z-index:40;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:var(--radius);width:100%;max-width:560px;max-height:85vh;padding-bottom:env(safe-area-inset-bottom,0px);flex-direction:column;animation:.18s ease-out sheet-in;display:flex}@keyframes sheet-in{0%{translate:0 30px}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}}@media (width>=900px){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--radius)}}.sheet-head{justify-content:space-between;align-items:center;padding:14px 16px 6px;display:flex}.sheet-head h2{font-size:1.2rem}.sheet-close{border-radius:var(--control-radius);background:var(--surface-2);width:44px;height:44px;color:var(--text);cursor:pointer;border:0;font-size:1.6rem;line-height:1}.sheet-body{flex-direction:column;gap:12px;padding:8px 16px 20px;display:flex;overflow-y:auto}.sheet-body .search{margin-bottom:0}.pick-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.pick-list:empty{display:none}.pick-list li+li{border-top:1px solid var(--border)}.pick-list button{width:100%;min-height:58px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:17px;display:flex}.pick-list button>span:first-child{overflow-wrap:anywhere;min-width:0}.pick-list button:active{background:var(--surface-2)}.quote-status-row{flex-wrap:wrap;align-items:center;gap:10px;margin:-8px 0 16px;display:flex}.share-actions{flex-direction:column;gap:10px;margin-bottom:18px;display:flex}.quote-image-wrap{border-radius:var(--radius);border:1px solid var(--border);background:#fff;overflow:hidden}.quote-image{width:100%;height:auto;display:block}.quote-image-loading{text-align:center;color:#5b6460;padding:48px 16px}.status-actions{flex-direction:column;gap:10px;display:flex}.status-actions p{margin:0}.chips.wrap{flex-wrap:wrap;overflow:visible}.pill.order-pending{background:var(--surface-2);color:var(--text-muted)}.pill.order-in_progress{background:var(--info-bg);color:var(--info-text)}.pill.order-ready{background:var(--warn-bg);color:var(--warn-text)}.pill.order-completed{background:var(--brand-soft);color:var(--brand)}.pill.order-cancelled,.pill.pay-unpaid{background:var(--danger-soft);color:var(--danger)}.pill.pay-partial{background:var(--warn-bg);color:var(--warn-text)}.pill.pay-paid{background:var(--brand-soft);color:var(--brand)}.pill.pay-overpaid{background:var(--info-bg);color:var(--info-text)}.order-row-sub{flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px;display:flex}.due{font-size:.85rem;font-weight:650}.due-overdue{color:var(--danger)}.due-today,.due-soon{color:var(--warn-text)}.due-later{color:var(--text-muted);font-weight:500}.warn-text{color:var(--warn-text);margin:0}.order-links{flex-wrap:wrap;gap:8px;margin:-8px 0 16px;display:flex}.pill-link{border-radius:var(--control-radius);background:var(--brand-soft);min-height:36px;color:var(--brand);align-items:center;padding:0 14px;font-size:.92rem;font-weight:650;text-decoration:none;display:inline-flex}.money-card{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.money-row{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.money-row span{color:var(--text-muted)}.money-row.balance{border-top:1px solid var(--border);margin-top:2px;padding-top:8px}.money-row.balance span{color:var(--text);font-weight:650}.money-row.balance strong{font-size:1.6rem}.money-card.is-cancelled .money-row.balance strong{color:var(--text-muted);text-decoration:line-through}.money-foot{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.row-button{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0}.order-link-card{color:inherit;align-items:center;gap:12px;text-decoration:none;display:flex}.banner.info{background:var(--info-bg);color:var(--info-text);margin-bottom:0}.message-preview{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;-webkit-user-select:text;user-select:text;margin:0;padding:14px;font-size:.95rem;line-height:1.5}.quick-actions{grid-template-columns:repeat(auto-fit,minmax(min(8rem,100%),1fr));gap:10px;margin-bottom:16px;display:grid}.summary-link{color:inherit;text-decoration:none;display:block}.summary-link:active{opacity:.85}.stat-note{color:var(--text-muted);margin-top:2px;font-size:.8rem}.owed .stat-note{color:inherit;opacity:.8}.stat-value.in{color:var(--brand)}.summary-grid .left-over{grid-column:1/-1}.left-over.negative .stat-value{color:var(--danger)}.month-switcher{justify-content:space-between;align-items:center;gap:8px;margin:8px 0 12px;font-size:1.05rem;font-weight:700;display:flex}.month-switcher button{border-radius:var(--control-radius);border:1.5px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--text);cursor:pointer;font-size:1.4rem;line-height:1}.month-switcher button:disabled{opacity:.35;cursor:default}.category-bars{flex-direction:column;gap:8px;margin:8px 0 0;padding:0;list-style:none;display:flex}.category-bars li{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:10px;font-size:.9rem;display:grid}.cat-name{overflow-wrap:anywhere}.cat-bar{background:var(--surface-2);border-radius:0;height:8px;overflow:hidden}.cat-bar span{background:var(--accent);border-radius:0;height:100%;display:block}.cat-amount{font-variant-numeric:tabular-nums;font-weight:650}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{overflow-wrap:anywhere;font-size:clamp(1.25rem,6vw,1.6rem)}.owed .stat-value{font-size:clamp(1.6rem,9vw,2.1rem)}@media (width<=379px){.summary-grid{grid-template-columns:minmax(0,1fr)}}.money-row.balance:first-child{border-top:0;margin-top:0;padding-top:0}.row-text,.picker-main,.back-header h1,.page-header h1{overflow-wrap:break-word;word-break:normal}.quick-actions .btn{white-space:nowrap;padding:0 12px}.backup-card{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.backup-card h2{font-size:1.2rem}.backup-card p{margin:0}.backup-card label.btn{cursor:pointer}.backup-last{color:var(--text-muted)}.restore-check{border-top:1px solid var(--border);flex-direction:column;gap:12px;padding-top:12px;display:flex}.restore-title{font-size:1.05rem}.backup-banner{color:var(--warn-text);text-decoration:none}.restore-hint{text-align:center;color:var(--text-muted);margin:16px 0 0}.restore-hint a{color:var(--brand);font-weight:650}.reminder-options{flex-wrap:wrap;gap:10px;display:flex}.reminder-options .segmented button{min-width:0;min-height:44px;padding:0 16px;font-size:.95rem}.activation{flex-direction:column;gap:16px;max-width:460px;margin:0 auto;padding-top:6vh;display:flex}.activation h1{font-size:1.75rem}.activation p{margin:0}.activation-mark{background:var(--brand-soft);width:64px;height:64px;color:var(--brand);place-items:center;display:grid}.activation-mark svg{width:32px;height:32px}.code-input{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:1.25rem!important}.activation-help a{color:var(--brand);font-weight:650}.crash{flex-direction:column;gap:16px;max-width:460px;padding-top:10vh;display:flex}.crash p{margin:0}.update-bar{z-index:21;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:var(--brand);color:var(--brand-ink);justify-content:center;align-items:center;gap:12px;font-size:.92rem;font-weight:600;display:flex;position:sticky;top:0}.update-bar button{background:var(--brand-ink);color:var(--brand);border-radius:var(--control-radius);cursor:pointer;border:0;min-height:36px;padding:6px 14px;font-weight:700}.show-more{margin-top:12px}.help-link-card{margin-top:16px}.help-intro{margin:-6px 0 16px}.help-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px}.help-section summary{cursor:pointer;min-height:56px;padding:14px 44px 14px 16px;font-weight:700;list-style:none;position:relative}.help-section summary::-webkit-details-marker{display:none}.help-section summary:after{content:"+";color:var(--brand);font-size:1.4rem;position:absolute;top:50%;right:16px;translate:0 -50%}.help-section[open] summary:after{content:"−"}.help-body{flex-direction:column;gap:10px;padding:0 16px 16px;display:flex}.help-body p{margin:0}.help-body ol,.help-body ul{flex-direction:column;gap:8px;margin:0;padding-left:22px;display:flex}.help-body a{color:var(--brand);font-weight:650}.export-card{margin-bottom:14px}.export-card h2{margin:0 0 12px;font-size:1.05rem}.export-period{margin-bottom:4px}.export-period button{flex:1 1 0;min-width:0;min-height:48px;padding:4px 6px;font-size:.98rem;line-height:1.15}.export-includes{overflow-wrap:break-word;min-height:1.5em;margin:4px 0 14px}.export-list{gap:6px;margin:0 0 10px;padding-left:20px;display:grid}.field-label{margin-bottom:8px;font-weight:650;display:block}.feedback-kind{flex-wrap:wrap}.feedback-kind button{flex:1 1 0;min-width:0;min-height:48px;padding:4px 6px;font-size:.95rem}.feedback-privacy{margin:-4px 0 4px}.feedback-thanks h2{margin:0 0 8px}.feedback-thanks p{margin:0 0 10px}.feedback-actions{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.feedback-actions .btn{flex:140px}.demo-bar{background:var(--accent);color:#2a1a00;padding:8px max(16px, env(safe-area-inset-left,0px));text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;font-size:.85rem;font-weight:600;line-height:1.35;display:flex}.demo-buy{color:#fff;font:inherit;cursor:pointer;background:#2a1a00;border:0;align-items:center;min-height:36px;padding:6px 12px;font-weight:700;text-decoration:none;display:inline-flex}.demo-buy-info{flex-direction:column;gap:12px;display:flex}.demo-buy-info p{margin:0}.demo-buy-info ul{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.demo-price strong{color:var(--brand);font-size:1.5rem}.demo-bar>span>strong{color:var(--accent);letter-spacing:.04em;background:#2a1a00;margin-right:6px;padding:1px 6px}.demo-sample{border-color:var(--accent);flex-direction:column;gap:10px;margin-bottom:18px;display:flex}.demo-sample p{margin:0}.demo-reset{flex-direction:column;gap:10px;margin-top:16px;display:flex}.demo-reset p{margin:0}.trial-banner{background:var(--brand-soft);color:var(--brand)}.trial-banner strong{color:var(--brand)}.trial-banner.soon{background:var(--warn-bg);color:var(--warn-text)}.trial-banner.soon strong{color:var(--warn-text)}.install-btn{width:max-content;margin-top:10px;display:flex}.desktop-only{display:none}@media (width>=1100px){.desktop-only{display:block}:is(.page:has(.home-layout),.page:has(.quote-editor.with-preview)){max-width:1180px}.home-layout{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"head head actions""notices notices notices""owed month month""owes owes side";align-items:start;column-gap:20px;display:grid}.home-head{grid-area:head;min-width:0}.home-notices{grid-area:notices;min-width:0}.home-actions{grid-area:actions;align-self:center;margin-bottom:20px}.home-owed{grid-area:owed;grid-template-columns:minmax(0,1fr);height:100%;margin-bottom:0}.home-owed .owed{flex-direction:column;justify-content:center;height:100%;display:flex}.home-month{grid-area:month;min-width:0}.home-month .month-switcher{margin-top:0}.home-month .summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.home-month .summary-grid .left-over{grid-column:auto}.home-owes{grid-area:owes;min-width:0}.home-side{grid-area:side;min-width:0}.home-owes>.section-title,.home-side>.section-title,.home-side .quotes-waiting>.section-title{margin-top:28px}}.quote-preview{flex-direction:column;gap:10px;display:flex}.quote-preview-head{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);justify-content:space-between;gap:12px;font-size:.78rem;font-weight:700;display:flex}.quote-preview-live{color:var(--brand);text-transform:none;letter-spacing:0}@media (width>=1100px){.quote-editor.with-preview{grid-template-columns:minmax(0,1fr) minmax(0,440px);align-items:start;gap:32px;display:grid}.quote-editor.with-preview .quote-preview{position:sticky;top:24px}.quote-editor.with-preview .quote-preview .quote-image-wrap{max-height:calc(100vh - 90px);overflow-y:auto;box-shadow:0 10px 30px #0f5c4d1a}}.page-header.has-leading{justify-content:flex-start}.page-header.has-leading>div{flex:1;min-width:0}.page-header.has-leading .header-logo{width:56px;height:56px}.chat-buttons{grid-template-columns:repeat(auto-fit,minmax(min(8.5rem,100%),1fr));gap:8px;margin:4px 0 16px;display:grid}.sheet-body .chat-buttons{margin:0}.chat-btn{border:1.5px solid var(--border);background:var(--surface);min-height:48px;color:var(--text);text-align:center;justify-content:center;align-items:center;padding:0 12px;font-weight:700;text-decoration:none;display:flex}.chat-btn:active{background:var(--surface-2)}.chat-whatsapp{color:#11693a;border-color:#1fa855}.chat-viber{color:#4b3bb5;border-color:#7360f2}.chat-messenger{color:#0a5bc4;border-color:#0a7cff}.message-kind{margin-bottom:4px}.message-kind button{flex:1 1 0;min-width:0;min-height:44px;padding:4px 8px;font-size:.95rem}.whats-new{flex-direction:column;gap:14px;display:flex}.whats-new h3{letter-spacing:.05em;text-transform:uppercase;color:var(--brand);margin:0 0 6px;font-size:.85rem}.whats-new ul{flex-direction:column;gap:8px;margin:0;padding-left:20px;display:flex}.chat-buttons-label{color:var(--text-muted);margin:0 0 6px;font-size:.85rem;font-weight:700}.share-actions .chat-buttons{margin:0}.due-alert{text-decoration:none}.due-alert.overdue{background:var(--danger-soft);color:var(--danger)}.due-alert.soon{background:var(--warn-bg);color:var(--warn-text)}.tab-icon{position:relative}.tab-badge{background:var(--danger);color:#fff;text-align:center;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:.7rem;font-weight:800;line-height:18px;position:absolute;top:-4px;right:calc(50% - 22px)}@media (width>=900px){.tab-badge{top:-6px;right:-10px}}.due-setting{flex-direction:column;gap:8px;margin:16px 0;display:flex}.due-setting p{margin:0}.due-setting .segmented button{flex:1 1 0;min-width:0;min-height:44px;font-size:.95rem}
