/* Onboarding v3 (web/welcome.js): #/start + #/start/settings. Builds on the onb-* cards in modules.css; dark tokens from style.css only */
.wl #view { max-width:880px; }
.wl-prog i { width:56px; }
.wl-types .onb-card { align-items:center; }
.wl-ic { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; flex:none; background:var(--ink-4); color:var(--brass); border:1px solid var(--line-2); }
.onb-card.sel .wl-ic { background:var(--brass); color:var(--brass-ink); border-color:var(--brass); }
.wl-row { display:flex; gap:10px; align-items:center; } .wl-row input { flex:1; min-width:0; }
.wl-add label:first-child { display:block; margin-bottom:8px; font-weight:600; }
.wl-ser-h { display:flex; gap:12px; align-items:center; } .wl-ser-h .t { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.wl-logo { width:44px; height:44px; border-radius:10px; object-fit:contain; background:var(--ink-4); border:1px solid var(--line); flex:none; } .wl-logo.ph { display:grid; place-items:center; color:var(--cream-3); }
.wl-aim { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:10px 0 0; }
.wl-acts { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.wl-seg { margin-bottom:14px; } .wl-seg a { padding:6px 12px; border-radius:99px; color:var(--cream-2); text-decoration:none; } .wl-seg a.on { background:var(--ink-4); color:var(--cream); }
.wl-tube { display:grid; grid-template-columns:110px minmax(0, 1fr); gap:4px 12px; align-items:center; margin:8px 0; }
.wl-tube > span { font-weight:600; color:var(--cream-2); } .wl-tube input { width:100%; }
.wl-sug { margin:0 0 10px 122px; color:var(--cream-2); overflow-wrap:anywhere; }
.wl-res { grid-column:2; font-size:12px; color:var(--cream-3); } .wl-res:empty { display:none; } .wl-res.ok { color:var(--sage); } .wl-res.err { color:var(--rose); }
.wl-look h2 { margin-top:0; } .wl-big { font-size:20px; margin:0 0 6px; } .wl-big b { color:var(--brass); }
.wl-kws { display:flex; gap:6px; flex-wrap:wrap; } .wl-lock { display:flex; gap:6px; align-items:center; margin-top:14px; }
.wl-det { width:100%; margin-top:12px; table-layout:fixed; } .wl-det td { padding:7px 10px; border-bottom:1px solid var(--line); font-size:13px; }
.wl-rev { margin:12px 0; } .wl-rev > label { display:block; margin-bottom:6px; font-weight:600; } .wl-pt { margin-top:6px; }
.wl-cap input[type=range] { accent-color:var(--brass); } .wl-cap b { font-size:20px; min-width:28px; text-align:right; color:var(--brass); }
.wl textarea { width:100%; background:var(--ink-4); color:var(--cream); border:1px solid var(--line-2); border-radius:10px; padding:10px 12px; font:13.5px var(--sans); box-sizing:border-box; }
.wl select { margin-bottom:8px; max-width:100%; }
.wl-srow { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; padding:12px 0; border-top:1px solid var(--line); } .wl-srow:first-of-type { border-top:0; }
.wl-srow b { flex:1 1 160px; align-self:center; } .wl-srow label { display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--cream-3); } .wl-srow input { width:140px; }
/* UX pass (e2e/onboarding_ux/REVIEW.md): the step name + Skip setup row, inline errors, $ inputs, the storage choice */
.wl-top { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; } .wl-top #wlexit { margin-bottom:2px; white-space:nowrap; }
.wl-err { color:var(--rose); font-size:13px; margin:6px 0 0; } .wl-err:empty { display:none; }
.wl-res { text-transform:none; letter-spacing:0; font-weight:500; }
.wl input[aria-invalid=true] { border-color:var(--rose); }
.wl-money { position:relative; display:flex; flex:1; min-width:0; } .wl-money > span { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--cream-3); pointer-events:none; font-size:13.5px; }
.wl-money input { padding-left:24px; width:100%; }
.wl-st .onb-card b { display:flex; gap:6px; align-items:center; }
.wl-tube input:disabled { opacity:.55; cursor:not-allowed; }
.wl-srow .wl-err { flex:1 0 100%; margin:0; } .wl-srow-pt { flex:1 0 100%; } .wl-srow .lnk { align-self:center; }
.wl-srow .wl-money input { width:140px; }
@media (max-width:700px) {
  .wl-add .wl-row input { flex:1 0 100%; } .wl-top { align-items:flex-start; } .wl-srow .wl-money input { width:100%; } .wl-rev .wl-row .wl-money { flex:1 0 100%; } .wl-rev .wl-row .lnk { flex:0 0 auto; }
  .wl-tube { grid-template-columns:1fr; } .wl-res { grid-column:1; } .wl-sug { margin-left:0; }
  .wl-row { flex-wrap:wrap; } .wl-row .btn, .wl-row button { flex:1 0 auto; }
  .wl-big { font-size:17px; } .wl-det th:nth-child(4), .wl-det td:nth-child(4) { display:none; }
  .wl-srow input { width:100%; } .wl-srow label { flex:1 1 140px; }
  /* the Finish bar (.onb-foot) must never sit over a panel: on a phone a bottom-sticky bar covers whatever scrolls under it (the last panel on
     the longer steps), so here it sits in the flow after the last panel, with room above it and below it */
  .wl .onb-foot { position:static; margin-top:20px; }
  .wl.onb #view { padding-bottom:24px; } .wl:not(.onb) #view { padding-bottom:calc(var(--tabclear, 16px) + 24px); }
}
.wl-know { margin:10px 0; } .wl-know button { border:0; background:none; color:var(--cream-3); padding:6px 12px; border-radius:999px; cursor:pointer; } .wl-know button.on { background:var(--cream); color:var(--ink); } #wlfig { margin-top:6px; } .wl-fig { margin-top:12px; } .wl-fig .wl-srow { border-top:0; }
