:root{--bg: #f6f3ec;--card: #fffdf8;--ink: #1d1f23;--dim: #6b6a64;--line: #ddd7ca;--accent: #b5452b;--accent-ink: #fff;--ok: #2f7d5b;--warn: #a16c00;--bad: #b3261e;--field: #fff;--sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;--serif: "Iowan Old Style", Charter, Georgia, serif;--top-floor: 8px;--bottom-floor: 8px;--safe-top: max(env(safe-area-inset-top, 0px), var(--top-floor));--safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--bottom-floor));color-scheme:light dark}html.installed.p-ios{--top-floor: 47px;--bottom-floor: 20px}html.installed.p-android{--top-floor: 24px;--bottom-floor: 12px}@media(prefers-color-scheme:dark){:root{--bg: #14171c;--card: #1d2128;--ink: #ece8df;--dim: #9a978f;--line: #313741;--accent: #e0714f;--accent-ink: #1b0d07;--ok: #6cc59a;--warn: #e6b450;--bad: #ff8a80;--field: #171a20}}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font:16px/1.45 var(--sans)}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:16px;background:var(--field);border:1px solid var(--line);border-radius:10px;padding:.55rem .65rem;width:100%}textarea{resize:vertical}button{cursor:pointer;border:0;border-radius:10px;padding:.55rem 1rem;background:var(--accent);color:var(--accent-ink);font-weight:600}button:disabled{opacity:.5;cursor:default}button.ghost{background:transparent;color:var(--accent);border:1px solid var(--line);font-weight:500}button.ghost.danger{color:var(--bad)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
