:root{--bg:#faf8f5;--fg:#1f2328;--muted:#5f6b76;--accent:#2f6f5e;--card:#fff;--border:#e4e0da;--radius:14px;color:var(--fg);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}.page{max-width:640px;margin:0 auto;padding:24px 16px 48px}h1{margin:0 0 12px;font-size:1.6rem;line-height:1.25}p{margin:0 0 12px}button{font:inherit;min-height:44px}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}a{color:var(--accent)}.muted{color:var(--muted)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;font-weight:600;text-decoration:none;display:inline-flex}.intro{margin-bottom:20px}.greeting{color:var(--muted);margin-bottom:4px;font-size:1.1rem}.progress{margin-bottom:6px;font-weight:600}.progress-bar{background:var(--border);border-radius:3px;height:6px;margin-bottom:20px;overflow:hidden}.progress-bar>div{background:var(--accent);height:100%;transition:width .3s}.question-list{gap:10px;margin:0 0 20px;padding:0;list-style:none;display:grid}.question-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);min-height:56px;color:inherit;align-items:flex-start;gap:12px;padding:14px 16px;text-decoration:none;display:flex}.question-card:active{background:#f2efe9}.question-number{background:var(--border);border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.9rem;font-weight:600;display:grid}.question-card.is-answered .question-number{background:var(--accent);color:#fff}.question-text{padding-top:2px}.reassurance{font-size:.95rem}.privacy{border-top:1px solid var(--border);color:var(--muted);margin-top:32px;padding-top:16px;font-size:.85rem}.section-title{margin:24px 0 10px;font-size:1.05rem}.question-section .question-list{margin-bottom:0}.question-section:last-of-type{margin-bottom:20px}.small{font-size:.875rem}.back{margin-bottom:16px}.back a{align-items:center;min-height:44px;font-weight:600;text-decoration:none;display:inline-flex}.question-header{margin-bottom:20px}.question-header h1{font-size:1.35rem}.previous{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:20px;padding:14px 16px}.previous-title{color:var(--accent);margin:0 0 8px;font-size:.95rem}.answer-body p{white-space:pre-wrap;overflow-wrap:anywhere}.earlier{margin:8px 0 12px}.earlier summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.earlier-item{border-top:1px solid var(--border);padding-top:8px}.answer-form{gap:10px;display:grid}.label{font-weight:600}textarea{width:100%;font:inherit;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);color:inherit;resize:vertical;padding:12px 14px;font-size:16px}.button.wide{width:100%}.button.secondary{color:var(--accent);border:2px solid var(--accent);background:0 0}.button:disabled{opacity:.5;cursor:not-allowed}.error{color:#a3261b;margin:0}.sent{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px 16px}.sent-title{color:var(--accent);font-size:1.15rem;font-weight:700}.actions{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.link-button{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.recorder{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);justify-items:start;gap:10px;margin-bottom:8px;padding:16px;display:grid}.recorder .label{margin:0;font-size:1rem}.record-button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:64px;font-size:1.15rem;font-weight:700;display:inline-flex}.record-button.is-recording{background:#a3261b}.record-button:disabled{opacity:.5}.record-dot{background:#fff;border-radius:50%;width:16px;height:16px}.stop-square{background:#fff;border-radius:2px;width:14px;height:14px}.recording-status{font-variant-numeric:tabular-nums;align-items:center;gap:8px;margin:0;font-weight:600;display:flex}.live-dot{background:#a3261b;border-radius:50%;width:10px;height:10px;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.live-dot{animation:none}}.preview-audio{width:100%}.answer-form .progress-bar{margin:4px 0}
