@font-face{font-family:Overpass;src:url(/fonts/overpass_regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Overpass;src:url(/fonts/overpass_bold.ttf) format("truetype");font-weight:700;font-display:swap}@font-face{font-family:Overpass Mono;src:url(/fonts/overpass_mono_regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Overpass Mono;src:url(/fonts/overpass_mono_bold.ttf) format("truetype");font-weight:700;font-display:swap}:root{--bg: #f3f5f4;--surface: #fff;--ink: #1d2a2e;--muted: #56656b;--line: #e2e7e6;--outline: #7e8c91;--track: #e6ebea;--primary: #0e6b47;--on-primary: #fff;--primary-soft: #e3f1ea;--business: #1f5aa6;--on-business: #fff;--business-soft: #e4ecf7;--commuting: #56656b;--on-commuting: #fff;--attention: #f0a63a;--error: #b3261e;--card-shadow: 0 3px 10px rgba(29, 42, 46, .1);--card-edge: none;--r-chip: 10px;--r-button: 12px;--r-field: 14px;--r-card: 18px;--r-sheet: 24px}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #111719;--surface: #1b2326;--ink: #e8eeec;--muted: #a3b1b4;--line: #2a3437;--outline: #71808a;--track: #242e31;--primary: #4cc38a;--on-primary: #0b1f16;--primary-soft: #173528;--business: #8db4f0;--on-business: #0d1b2e;--business-soft: #1b2a40;--commuting: #4a585e;--on-commuting: #e8eeec;--error: #ff8a80;--card-shadow: none;--card-edge: 1px solid #2a3437}}:root[data-theme=dark]{--bg: #111719;--surface: #1b2326;--ink: #e8eeec;--muted: #a3b1b4;--line: #2a3437;--outline: #71808a;--track: #242e31;--primary: #4cc38a;--on-primary: #0b1f16;--primary-soft: #173528;--business: #8db4f0;--on-business: #0d1b2e;--business-soft: #1b2a40;--commuting: #4a585e;--on-commuting: #e8eeec;--error: #ff8a80;--card-shadow: none;--card-edge: 1px solid #2a3437}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Overpass,sans-serif;font-size:16px;line-height:1.4}body{min-height:100vh}button,input,select,textarea{font:inherit;color:inherit}.num{font-family:Overpass Mono,monospace;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:14px}.bold{font-weight:700}.error-text{color:var(--error)}.shell{display:flex;flex-direction:column;min-height:100vh}.main{flex:1;width:100%;max-width:960px;margin:0 auto;padding:0 16px 112px}.topbar{position:sticky;top:0;z-index:5;background:var(--bg);padding:12px 0 8px}.tabs{position:fixed;bottom:0;left:0;right:0;height:72px;display:flex;background:var(--surface);border-top:1px solid var(--line);z-index:10}.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;border:0;background:none;font-size:13px;cursor:pointer;color:var(--ink);padding:4px}.tab .pill{display:flex;align-items:center;justify-content:center;width:56px;height:30px;border-radius:var(--r-chip)}.tab[aria-current=page]{font-weight:700}.tab[aria-current=page] .pill{background:var(--primary-soft)}.tab svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}@media(min-width:900px){.shell{flex-direction:row}.tabs{position:sticky;top:0;bottom:auto;height:100vh;width:120px;flex-direction:column;justify-content:flex-start;border-top:0;border-right:1px solid var(--line);padding-top:24px}.tab{flex:0 0 auto;height:76px}.main{padding-bottom:48px}}h1{font-size:28px;font-weight:700;margin:8px 0 12px}h2{font-size:18px;font-weight:700;margin:24px 0 8px}.card{background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);border:var(--card-edge);padding:16px;margin:0 0 12px}.row{display:flex;align-items:center;gap:12px}.row.wrap{flex-wrap:wrap}.spread{justify-content:space-between}.grow{flex:1;min-width:0}.stack>*+*{margin-top:12px}.list-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn{min-height:56px;padding:0 18px;border-radius:var(--r-button);border:1px solid var(--outline);background:var(--surface);color:var(--ink);font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.btn.primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary);min-height:64px}.btn.compact{min-height:44px;padding:0 14px;font-size:14px}.btn.danger{color:var(--error);border-color:var(--error)}.btn.full{width:100%}.btn:disabled{opacity:.5;cursor:default}.btn.class-business{background:var(--business-soft);color:var(--business);border-color:var(--business-soft)}.btn.class-business.solid{background:var(--business);color:var(--on-business)}.btn.class-commuting{background:var(--track);color:var(--ink);border-color:var(--track)}.btn.class-commuting.solid{background:var(--commuting);color:var(--on-commuting)}.btn.class-personal.solid{background:var(--ink);color:var(--bg)}.btn-row{display:flex;gap:8px;flex-wrap:wrap}.btn-row>.btn{flex:1}.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--r-chip);border:1px solid var(--outline);background:var(--surface);cursor:pointer;font-size:14px}.chip[aria-pressed=true]{background:var(--primary-soft);font-weight:700}.tag{display:inline-block;padding:2px 8px;border-radius:var(--r-chip);font-size:13px;font-weight:700}.tag.BUSINESS{background:var(--business);color:var(--on-business)}.tag.PERSONAL{background:var(--track);color:var(--ink)}.tag.COMMUTING{background:var(--commuting);color:var(--on-commuting)}.tag.UNCLASSIFIED{background:var(--attention);color:#1d2a2e}.segmented{display:flex;background:var(--track);border-radius:var(--r-button);padding:4px;gap:4px}.segmented button{flex:1;min-height:48px;border:0;border-radius:10px;background:none;cursor:pointer}.segmented button[aria-pressed=true]{background:var(--surface);font-weight:700;box-shadow:var(--card-shadow)}label.field{display:block}label.field>span{display:block;font-size:14px;color:var(--muted);margin-bottom:4px}.input{width:100%;min-height:56px;padding:12px 14px;border-radius:var(--r-field);border:1px solid var(--outline);background:var(--surface)}textarea.input{min-height:96px;resize:vertical}.search{width:100%;min-height:56px;padding:12px 14px;border-radius:var(--r-field);border:1px solid var(--outline);background:var(--surface)}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1117198c;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg);width:100%;max-width:640px;max-height:92vh;overflow:auto;border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding:20px 16px 24px}@media(min-width:900px){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--r-sheet)}}.banner{border-radius:var(--r-card);padding:12px 16px;margin:0 0 12px;background:var(--surface);border:1px solid var(--outline)}.banner.warn{border-color:var(--attention)}.big-number{font-size:28px;font-weight:700}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.doc-frame{width:100%;height:70vh;border:0;border-radius:var(--r-card);background:var(--surface)}.doc-img{max-width:100%;border-radius:var(--r-card)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
