/* Guided setup: one group per screen. Touch targets are at least 44px; nothing scrolls sideways. */
.setup-panel { max-width:640px; }
.setup-progress { width:100%; height:8px; accent-color:var(--accent); margin:4px 0 0; }
.setup-step { margin:6px 0 14px; font-size:.9rem; }
.setup-hint { margin:4px 0 18px; }
.setup-form { display:grid; gap:22px; }
.setup-question { border:0; padding:0; margin:0; min-width:0; }
.setup-question legend { font-weight:600; padding:0; margin-bottom:8px; }
.setup-question legend .muted { font-weight:400; font-size:.85rem; }
.setup-why { margin:-4px 0 8px; font-size:.88rem; }
.setup-options { display:flex; flex-wrap:wrap; gap:8px; }
.setup-chip { min-height:44px; padding:8px 14px; border-radius:22px; background:transparent; color:var(--ink); border:1px solid var(--line); text-align:left; white-space:normal; font-weight:500; }
.setup-chip[aria-pressed="true"] { background:var(--accent); color:#fff; border-color:var(--accent); }
.setup-chip.setup-unsure { border-style:dashed; color:var(--muted); }
.setup-chip.setup-unsure[aria-pressed="true"] { background:var(--accent-soft); color:var(--ink); border-style:solid; border-color:var(--ink); }
.setup-input { display:flex; flex-wrap:wrap; gap:8px; align-items:flex-start; }
.setup-input input, .setup-input textarea { flex:1 1 220px; min-height:44px; min-width:0; }
.setup-input textarea { min-height:88px; }
.setup-actions { display:flex; gap:10px; margin-top:6px; }
.setup-actions button { min-height:48px; flex:1 1 0; white-space:nowrap; }
.setup-actions button.quiet { flex:0 0 auto; min-width:96px; }
.setup-skip { background:transparent; border:0; color:var(--muted); text-decoration:underline; min-height:44px; margin-top:14px; padding:0 4px; }
.setup-skip:hover, .setup-skip:focus-visible { color:var(--ink); background:transparent; }
.setup-saved { font-size:.85rem; margin-top:10px; }
.setup-doctor { border:1px solid #b3261e; border-radius:10px; padding:12px 14px; margin:0; font-weight:600; }
.setup-review { border-top:1px solid var(--line); padding:14px 0; }
.setup-review-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.setup-review-head h2 { margin:0; font-size:1.05rem; }
.setup-review-head button { min-height:44px; }
.setup-review dl { margin:8px 0 0; display:grid; gap:2px; }
.setup-review dt { color:var(--muted); font-size:.85rem; margin-top:8px; }
.setup-review dd { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.setup-unknowns ul { margin:8px 0 0; padding-left:20px; }
.calibration-banner { margin:0 0 12px; padding:10px 14px; border-radius:10px; background:var(--accent-soft); font-size:.92rem; }
/* The Chat / Session switch belongs to the app, not to setup. */
.in-setup [role="tablist"][aria-label="Coach workspace"] { display:none; }
.setup-more { border-top:1px solid var(--line); padding-top:6px; }
.setup-more summary { min-height:44px; display:flex; align-items:center; cursor:pointer; color:var(--muted); font-weight:600; }
.setup-more[open] summary { margin-bottom:10px; }
.setup-more .setup-question + .setup-question { margin-top:22px; }
.calibration-banner { position:relative; z-index:0; }
/* Long lists of choices: two columns, so a step fits on a phone screen. */
.setup-options.setup-many { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.setup-options.setup-many .setup-chip { border-radius:12px; width:100%; }
@media (min-width:700px) { .setup-options.setup-many { grid-template-columns:repeat(3,minmax(0,1fr)); } }
