:root{--bg:#1c1917;--bg-surface:#231f1c;--bg-elevated:#2c2724;--text:#ede8e3;--text-muted:#b5ada7;--text-dim:#978f89;--accent:#d4a574;--accent-hover:#c4905e;--accent-muted:#b8926d;--accent-dim:#7c6650;--accent-glow:#d4a57414;--success:#86b88a;--warning:#d4b86a;--error:#c98a8a;--border:#332e2b;--border-subtle:#2a2522;--radius:6px;--radius-lg:12px;--font-display:"Instrument Serif", Georgia, serif;--font-body:"DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;--font-mono:"IBM Plex Mono", "Menlo", monospace;--max-width:620px;--transition:.18s ease}:root[data-theme=light]{--bg:#f7f3ee;--bg-surface:#fff;--bg-elevated:#eee9e2;--text:#1c1917;--text-muted:#4a4641;--text-dim:#635d58;--accent:#9e6b3a;--accent-hover:#8a5c30;--accent-muted:#b8926d;--accent-dim:#d4c4b0;--accent-glow:#9e6b3a0f;--border:#e7e0d8;--border-subtle:#ede8e2}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{font-family:var(--font-body);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:1.65}body{min-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0)}h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:-.01em;font-weight:400;line-height:1.2}strong{font-weight:500}h1{font-size:2.25rem}h2{font-size:1.65rem}h3{font-size:1.2rem}a{color:var(--accent);transition:color var(--transition);text-decoration:none}a:hover{color:var(--accent-hover)}button{font-family:inherit;font-size:inherit;cursor:pointer;color:inherit;background:0 0;border:none}.btn{border-radius:var(--radius);letter-spacing:.01em;transition:all var(--transition);justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1.5rem;font-size:.9rem;font-weight:500;display:inline-flex}.btn-primary{background:var(--accent);color:var(--bg)}.btn-primary:hover{background:var(--accent-hover)}.btn-primary:disabled{opacity:.5;cursor:default}.btn-secondary{background:var(--bg-elevated);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{border-color:var(--accent-dim)}.card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.75rem}.card.consent-warning{border-left:3px solid var(--warning,#d4b86a);background:var(--bg)}.card.consent-warning h3{color:var(--warning,#d4b86a);text-transform:uppercase;letter-spacing:.05em;font-size:1rem}.container{max-width:var(--max-width);margin:0 auto;padding:0 1.5rem}input[type=text],input[type=number],input[type=password],input[type=email],textarea{font-family:var(--font-body);background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);width:100%;transition:border-color var(--transition);padding:.85rem 1rem;font-size:.95rem}input::placeholder,textarea::placeholder{color:var(--text-dim);opacity:1}input:focus,textarea:focus{border-color:var(--accent);outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:1px}textarea{resize:vertical;line-height:1.7}.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}.fade-in{animation:.35s fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.fade-in{animation:none}}::selection{background:var(--accent);color:var(--bg)}@media (width<=480px){h1{font-size:1.75rem}h2{font-size:1.35rem}.container{padding:0 1.25rem;padding-left:max(1.25rem, env(safe-area-inset-left,0));padding-right:max(1.25rem, env(safe-area-inset-right,0))}}.install-hint.svelte-apbpob{left:.75rem;right:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom,0));background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius);z-index:200;align-items:flex-start;gap:.5rem;max-width:480px;margin:0 auto;padding:.85rem 1rem;display:flex;position:fixed;box-shadow:0 10px 30px #00000059}.hint-body.svelte-apbpob{flex:1}.hint-title.svelte-apbpob{font-family:var(--font-display);color:var(--text);margin:0 0 .2rem;font-size:1rem}.hint-text.svelte-apbpob{color:var(--text-muted);margin:0;font-size:.85rem;line-height:1.5}.hint-text.svelte-apbpob strong:where(.svelte-apbpob){color:var(--text)}.icon.svelte-apbpob{font-family:var(--font-mono);color:var(--accent)}.dismiss.svelte-apbpob{color:var(--text-dim);cursor:pointer;transition:color var(--transition);background:0 0;border:none;flex-shrink:0;padding:.25rem .5rem;font-size:1.4rem;line-height:1}.dismiss.svelte-apbpob:hover{color:var(--text-muted)}.onboarding.svelte-5qxchf{justify-content:center;align-items:center;min-height:calc(100vh - 4rem);padding:2rem 1.5rem;display:flex}.card.svelte-5qxchf{width:100%;max-width:36rem}.eyebrow.svelte-5qxchf{letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim);margin-bottom:1rem;font-size:.75rem}h1.svelte-5qxchf{font-family:var(--font-display);letter-spacing:-.02em;margin-bottom:1.25rem;font-size:clamp(1.6rem,4vw,2rem);line-height:1.2}.lede.svelte-5qxchf{color:var(--text-muted);margin-bottom:1rem;line-height:1.7}.aside.svelte-5qxchf{color:var(--text-dim);margin-bottom:2rem;font-size:.85rem;line-height:1.6}.options.svelte-5qxchf{flex-direction:column;gap:.75rem;display:flex}.option.svelte-5qxchf{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius);text-align:left;cursor:pointer;transition:all var(--transition);flex-direction:column;align-items:flex-start;gap:.4rem;padding:1rem 1.25rem;display:flex}.option.svelte-5qxchf:hover{border-color:var(--accent-dim);background:var(--bg-elevated)}.option-label.svelte-5qxchf{color:var(--text);font-size:.95rem;font-weight:500}.option-desc.svelte-5qxchf{color:var(--text-muted);font-size:.85rem;line-height:1.5}.app-nav.svelte-12qhfyh{z-index:100;border-bottom:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(16px);background:#1c1917d9;position:sticky;top:0}html[data-theme=light] .app-nav.svelte-12qhfyh{background:#f7f3eed9}.nav-inner.svelte-12qhfyh{max-width:var(--max-width);align-items:center;gap:1rem;margin:0 auto;padding:.65rem 1.5rem;display:flex}.nav-brand.svelte-12qhfyh{font-family:var(--font-display);color:var(--text);letter-spacing:-.02em;flex-shrink:0;font-size:1.15rem;font-weight:400;text-decoration:none}.nav-brand.svelte-12qhfyh:hover{color:var(--text)}.nav-links.svelte-12qhfyh{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:1;gap:.15rem;display:flex;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 1.5rem),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 1.5rem),#0000)}.nav-links.svelte-12qhfyh::-webkit-scrollbar{display:none}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--text-dim);border-radius:var(--radius);white-space:nowrap;transition:all var(--transition);letter-spacing:.01em;align-items:center;min-height:44px;padding:.5rem .65rem;font-size:.78rem;text-decoration:none;display:flex}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{color:var(--text-muted)}.nav-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--accent)}.theme-toggle.svelte-12qhfyh{width:44px;height:44px;color:var(--text-dim);transition:color var(--transition);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.theme-toggle.svelte-12qhfyh:hover{color:var(--text-muted)}@media (width<=480px){.nav-inner.svelte-12qhfyh{gap:.5rem;padding:.6rem 1.25rem}}.app-footer.svelte-12qhfyh{border-top:1px solid var(--border-subtle);margin-top:4rem;padding:1.5rem 1.5rem 2.5rem}.crisis-line.svelte-12qhfyh{max-width:var(--max-width);color:var(--text-dim);text-align:center;margin:0 auto 1rem;padding:0 1.5rem;font-size:.78rem;line-height:1.6}.crisis-line.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--text-muted);border-bottom:1px dotted var(--border);text-decoration:none}.crisis-line.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{color:var(--text);border-bottom-color:var(--accent-dim)}.footer-inner.svelte-12qhfyh{max-width:var(--max-width);flex-wrap:wrap;justify-content:center;gap:1.25rem;margin:0 auto;display:flex}.footer-inner.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--text-dim);transition:color var(--transition);font-size:.8rem;text-decoration:none}.footer-inner.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{color:var(--text-muted)}
