@font-face{font-family:Fraunces;src:url(/fonts/Fraunces.ttf)format("truetype");font-weight:500 700;font-style:normal;font-display:swap}@font-face{font-family:Fraunces;src:url(/fonts/Fraunces-Italic.ttf)format("truetype");font-weight:500 700;font-style:italic;font-display:swap}@font-face{font-family:Outfit;src:url(/fonts/Outfit.ttf)format("truetype");font-weight:400 700;font-style:normal;font-display:swap}:root{--bg:#f3ecdf;--ink:#1e1a16;--ink-soft:#5e554b;--card:#fffaf3;--line:#e3d5c3;--line-strong:#d3c2ab;--accent:#9a3412;--accent-deep:#7c2d12;--accent-soft:#f8e6df;--sage:#1f6f5b;--sage-soft:#e5f3ed;--gold:#a16207;--gold-soft:#f8efd8;--blue:#2c4e7a;--danger:#9f1239;--shadow:0 16px 40px #3e2a1814;--radius:18px;--font:"Outfit", "Avenir Next", "Segoe UI", sans-serif;--display:"Fraunces", "Iowan Old Style", Georgia, serif;color:var(--ink);background:var(--bg);font-family:var(--font);font-size:16px;line-height:1.45}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:radial-gradient(1100px 520px at -10% -20%, #b4412424, transparent 55%), radial-gradient(900px 480px at 110% -10%, #1f6f5b21, transparent 50%), var(--bg);margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}h2,h3,.brand-name,.money,.assignee{font-family:var(--display);letter-spacing:-.02em;font-weight:560}.shell{width:min(1120px,100% - 28px);min-width:0;margin:0 auto;padding:18px 0 96px}.skip{background:var(--ink);color:#fff;z-index:50;border-radius:8px;padding:8px 12px;position:absolute;top:-40px;left:12px}.skip:focus{top:12px}.top{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:14px;display:flex}.brand{align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{flex:none;width:36px;height:36px}.brand-name{font-size:1.35rem;line-height:1}.brand-tag{color:var(--ink-soft);font-size:.86rem}.house-name{flex-direction:column;flex:1;gap:4px;min-width:min(100%,220px);display:flex}.house-name span,label,legend,.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);font-size:.75rem;font-weight:650}.header-actions{flex-wrap:wrap;gap:8px;display:flex}input,select,textarea{border:1px solid var(--line-strong);background:#fff;border-radius:12px;width:100%;min-height:44px;padding:11px 12px}textarea{resize:none;min-height:88px}fieldset{border:0;min-inline-size:0;margin:0;padding:0}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn{background:#fff;border:1px solid #0000;border-radius:999px;min-height:44px;padding:0 14px;font-weight:650}.btn.primary{background:var(--accent);color:#fffaf3}.btn.primary:hover{background:var(--accent-deep)}.btn.ghost{border-color:var(--line-strong);background:0 0}.btn.ghost:hover{background:#fffaf3b3}.btn.wide{width:100%}.btn.tiny{border-radius:999px;min-height:36px;padding:0 12px}.btn.yes{background:var(--sage);color:#fff}.btn.no{border:1px solid var(--line-strong);background:#fff}.btn:disabled{opacity:.45;cursor:not-allowed}.danger-text{color:var(--danger)}.household{margin-bottom:14px}.people-row{flex-direction:column;gap:10px;width:100%;min-width:0;display:flex}.people{flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;margin:0;padding:2px 0 6px;list-style:none;display:flex}.person-chip,.pill-status,.pills li,.preview li{align-items:center;gap:8px;display:flex}.person-chip{background:var(--card);border:1px solid var(--line);white-space:nowrap;border-radius:999px;padding:4px 8px 4px 4px;box-shadow:0 1px #3e2a180a}.people-empty{color:var(--ink-soft)}.add-person{gap:8px;display:flex}.add-person input{flex:1}.icon-x{width:32px;height:32px;color:var(--ink-soft);background:0 0;border:0;border-radius:999px;font-size:1.2rem;line-height:1}.face{font-family:var(--display);border-radius:999px;flex:none;place-items:center;font-weight:650;display:inline-grid}.face-md{width:42px;height:42px}.face-sm{width:28px;height:28px;font-size:.72rem}.banner{border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;display:flex}.banner-error{color:#6b1230;background:#fde8ee}.banner-ok{background:var(--sage-soft);color:#145744}.tabs{z-index:20;border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffaf3f5;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #3e2a1814}.tabs button{min-height:56px;color:var(--ink-soft);background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:650;display:flex}.tabs button svg{width:22px;height:22px}.tabs button.on{color:var(--accent-deep);background:var(--accent-soft)}.section-head{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:10px;display:flex}.section-head h2{font-size:1.55rem}.section-head p,.meta,.hint,.quiet{color:var(--ink-soft)}.layout,.stack{flex-direction:column;gap:16px;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.cards,.settle-list,.history,.counts,.vote-list,.participants,.pills,.preview ul,.balance-grid{margin:0;padding:0;list-style:none}.cards{flex-direction:column;gap:12px;display:flex}.card-top,.history li,.settle-list li,.vote-list li,.counts li{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-top{align-items:flex-start}.card h3{font-size:1.25rem}.money{white-space:nowrap;font-size:1.35rem}.meta{margin-top:2px;font-size:.88rem}.pills{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.pills li{background:#f6efe4;border-radius:999px;padding:4px 10px 4px 4px;font-size:.92rem}.form-card,.card label,.mode-set{flex-direction:column;gap:6px;display:flex}.form-card{gap:12px}.field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.segmented{background:#f6efe4;border-radius:14px;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;display:grid}.segmented button{min-height:40px;color:var(--ink-soft);background:0 0;border:0;border-radius:10px;font-weight:650}.segmented button.on{color:var(--ink);background:#fff;box-shadow:0 1px 2px #3e2a1814}.participants{flex-direction:column;gap:8px;display:flex}.participants li{justify-content:space-between;align-items:center;gap:8px;display:flex}.check{text-transform:none;letter-spacing:0;color:var(--ink);flex-direction:row;align-items:center;gap:8px;font-size:1rem;font-weight:550;display:flex}.check input{width:18px;height:18px;min-height:0}.mini-field{text-transform:none;letter-spacing:0;width:108px;color:var(--ink);flex-direction:row;align-items:center;font-size:1rem}.mini-field.exact{width:128px}.mini-field input{min-height:40px;padding:8px}.percent-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.preview{background:#f7f1e7;border-radius:14px;padding:10px 12px}.preview ul{flex-direction:column;gap:4px;margin-top:6px;display:flex}.preview li{justify-content:space-between}.ok-note{color:var(--sage);font-weight:650}.warn-note{color:var(--accent-deep);font-weight:650}.inline-error{color:var(--danger);font-weight:650}.text-btn{color:var(--ink-soft);text-align:left;text-underline-offset:3px;background:0 0;border:0;padding:6px 0 0;text-decoration:underline}.empty{border:1px dashed var(--line-strong);border-radius:var(--radius);background:#fffaf38c;padding:22px 16px}.empty h3{margin-bottom:6px;font-size:1.4rem}.balance-grid{grid-template-columns:1fr;gap:10px;display:grid}.balance-card{border-radius:var(--radius);background:var(--card);border:1px solid var(--line);align-items:center;gap:12px;padding:14px;display:flex}.tone-owed{background:var(--sage-soft)}.tone-owes{background:var(--accent-soft)}.tone-even{background:var(--card)}.balance-card p strong{font-family:var(--display);font-size:1.2rem}.settle-list,.history{flex-direction:column;gap:12px;display:flex}.settle-list li,.history li{border-bottom:1px solid var(--line);align-items:center;padding-bottom:12px}.settle-list li:last-child,.history li:last-child{border-bottom:0;padding-bottom:0}.settle-list .money{font-size:1.15rem;display:block}.history-side{flex-direction:column;align-items:flex-end;display:flex}.pay-form{border-top:1px solid var(--line);flex-direction:column;gap:10px;margin-top:8px;padding-top:8px;display:flex}.up-next{align-items:center;gap:10px;margin:8px 0;display:flex}.assignee{font-size:1.35rem}.pill-status{letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700}.pace-due,.status-failed{color:#9f1239;background:#fde8ee}.pace-ok,.status-passed{background:var(--sage-soft);color:#145744}.pace-done-today{color:var(--blue);background:#e7eef8}.pace-never,.status-open{color:var(--ink-soft);background:#f6efe4}.status-tied{background:var(--gold-soft);color:#854d0e}.counts{flex-direction:column;gap:6px;margin:10px 0 4px;display:flex}.counts li{font-size:.92rem}.bar{background:#f0e6d8;border-radius:999px;flex:1;height:8px;overflow:hidden}.bar span{border-radius:inherit;height:100%;display:block}.eyebrow{margin-bottom:2px}.details{margin:8px 0}.vote-list{flex-direction:column;gap:8px;margin-top:8px;display:flex}.choice{border-radius:999px;padding:4px 10px;font-weight:700}.choice-yes{background:var(--sage-soft);color:#145744}.choice-no{color:#9f1239;background:#fde8ee}.choice-actions{gap:6px;display:flex}.modal-back{z-index:40;background:#1e1a1675;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:var(--card);width:min(440px,100%);box-shadow:var(--shadow);border-radius:22px;padding:20px}.modal h2{font-family:var(--display);margin-bottom:8px;font-size:1.7rem}.modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=720px){.balance-grid{grid-template-columns:1fr 1fr}.people-row{flex-direction:row;align-items:center}.add-person{flex:none;width:320px}.people{flex:1}}@media (width>=880px){.shell{padding-bottom:36px}.section-head{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px}.brand-name{font-size:1.7rem}.tabs{border:1px solid var(--line);width:max-content;max-width:100%;box-shadow:var(--shadow);border-radius:999px;margin:0 auto 18px;padding:4px;position:static}.tabs button{flex-direction:row;gap:8px;min-height:44px;padding:0 16px;font-size:.95rem}.layout.form-side{grid-template-columns:minmax(300px,400px) minmax(0,1fr);align-items:start;display:grid}.layout.form-side .layout-form{order:-1}.stack .layout{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:start;display:grid}.balance-grid{grid-template-columns:repeat(4,1fr)}}@media (width<=879px){.brand-tag{display:none}.top{align-items:flex-start}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
