/* Arsavela intake wizard + portal base styles (status, password, admin and architect pages build on this).
   Light only, like every page: the same neutrals as the landing page (web/portal/landing.css) and its brand colour
   (--brand) as the accent; anything filled with --accent uses --on-accent for its content. */

:root {
  --bg: #fff;
  --bg-rgb: 255 255 255;
  --surface: #fff;
  --surface-2: #f4f4f5;
  --border: #e4e4e7;
  --border-2: #d4d4d8;
  --text: #09090b;
  --text-2: #52525b;
  --text-3: #71717a;
  --accent: #a16207;
  --on-accent: #fff;
  --accent-2: #854d0e;
  --accent-soft: rgba(161, 98, 7, .08);
  --ok: #16a34a;
  --ok-soft: rgba(22, 163, 74, .1);
  --warn: #d97706;
  --warn-soft: rgba(217, 119, 6, .1);
  --bad: #dc2626;
  --bad-soft: rgba(220, 38, 38, .08);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* drawing tokens */
  --lot-fill: #f4f4f5;
  --lot-line: #52525b;
  --street: #e4e4e7;
  --focus: rgba(161, 98, 7, .32);
  --lot-bld: rgba(0, 0, 0, .06);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
::selection { background: var(--border-2); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--text); text-underline-offset: 3px; }
main a:not([class]) { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
code { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

/* ---------- kit (same names as the viewer) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--border-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
.btn.lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); font-size: 16px; /* 16px: no iOS zoom */
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.45; }
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--border-2); }
.input:focus, .btn:focus-visible, .choice:focus-within, .chk:focus-within {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--text-2);
}
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.tbl th { font-size: 12px; color: var(--text-2); font-weight: 600; background: var(--surface-2); }
table.tbl td.num, table.tbl th.num { text-align: right; }
.grid { display: grid; gap: 12px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- page shells */
body.plain { min-height: 100vh; }
.site-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  /* same logo position as the landing nav: a 1200px container with the landing gutter */
  height: 68px; padding: 0 max(clamp(20px, 4vw, 32px), calc((100% - 1200px) / 2 + clamp(20px, 4vw, 32px)));
  background: rgb(var(--bg-rgb) / .8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.site-top .spacer { flex: 1; }
main.narrow { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
main.wide { max-width: 1200px; margin: 0 auto; padding: 24px 16px 64px; }
.table-wrap { overflow-x: auto; }
.notice { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); border: 1px solid var(--warn); }

/* ---------- wizard */
.wz-progress { position: sticky; top: 68px; z-index: 15; background: rgb(var(--bg-rgb) / .88); backdrop-filter: blur(12px); padding: 12px 16px 10px; border-bottom: 1px solid var(--border); }
.wz-progress-inner { max-width: 720px; margin: 0 auto; }
.wz-progress .bar { height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.wz-progress .bar > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.wz-progress .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text-2); margin-top: 6px; }
.wz-progress .meta b { color: var(--text); font-weight: 650; }
.wz-progress select { border: 0; background: transparent; color: var(--text); font-size: 13px; font-weight: 600; max-width: 55%; cursor: pointer; }
.wz-progress select option { background: var(--surface-2); color: var(--text); }

.wz { max-width: 720px; margin: 0 auto; padding: 36px 16px 128px; }
.wz h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.wz .lead { color: var(--text-2); margin: 0 0 24px; font-size: 17px; }
.wz section.group { margin-bottom: 16px; padding: 22px; }
.wz section.group > h2 { font-size: 18px; margin: 0 0 4px; }
.wz section.group > .group-sub { color: var(--text-2); font-size: 14px; margin: 0 0 12px; }

.q { margin: 0 0 18px; }
.q:last-child { margin-bottom: 0; }
.q > .q-label { display: block; font-weight: 600; margin-bottom: 6px; }
.q > .q-label .req { color: var(--text-3); margin-left: 2px; }
.q > .q-label .opt { color: var(--text-3); font-weight: 400; font-size: 13px; margin-left: 4px; }
.q .hint { color: var(--text-2); font-size: 14px; margin: 0 0 8px; }
.q details.why { margin: 2px 0 8px; font-size: 14px; }
.q details.why summary { cursor: pointer; color: var(--accent-2); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.q details.why summary::-webkit-details-marker { display: none; }
.q details.why summary::before { content: "?"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11px; font-weight: 800; }
.q details.why p { margin: 6px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text-2); }
.q .err { color: var(--bad); font-size: 14px; margin-top: 6px; font-weight: 550; }
.q.invalid .input, .q.invalid .choices, .q.invalid .dropzone { border-color: var(--bad); }
.q.invalid .choices { outline: 1px solid var(--bad); outline-offset: 4px; border-radius: var(--radius-sm); }
.q.invalid .consent, .q.invalid .compass .ring { border-color: var(--bad); stroke: var(--bad); }
.q.invalid .rooms-tbl .input { border-color: var(--border); }
.q.invalid .rooms-tbl { outline: 1px solid var(--bad); outline-offset: 4px; border-radius: var(--radius-sm); }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 140px; }
.with-unit { position: relative; display: flex; align-items: stretch; }
.with-unit .input { padding-right: 52px; }
.with-unit .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14px; pointer-events: none; }
.unknown-btn { min-height: 44px; }
.unknown-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }

/* radio cards */
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 480px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { padding: 10px 12px; }
  .wz section.group { padding: 14px; }
}
.choices.cols-1 { grid-template-columns: 1fr; }
.choices.big { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choice { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; min-height: 48px; justify-content: center; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .c-title { font-weight: 600; font-size: 15px; }
.choice .c-sub { color: var(--text-2); font-size: 13px; line-height: 1.35; }
.choice:hover { border-color: var(--border-2); }
.choice.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice svg { width: 100%; max-width: 140px; height: 72px; margin: 0 auto 6px; color: var(--text-2); }
.choice.on svg { color: var(--text); }
.choices.big .choice { padding: 18px; align-items: center; text-align: center; }

/* option cards with an example picture (style, roof, material, kitchen) or a colour palette */
.choices.pics { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.choices.pics .choice { justify-content: flex-start; padding: 8px 8px 12px; gap: 3px; }
.choices.pics .choice .c-title, .choices.pics .choice .c-sub { padding: 0 6px; }
.c-pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 8px; background: var(--surface-2); }
.choice.on .c-pic { outline: 2px solid var(--accent); outline-offset: -2px; }
/* material cards: picture on top, then [checkbox] title (the picture may be missing) */
.chk-cards .chk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }
.chk-cards .chk .c-pic { grid-column: 1 / -1; order: -1; }
.chk-cards .chk .c-title { padding: 0; }
.chk-cards .chk.on { color: var(--text); }
.c-swatch { display: flex; height: 30px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; border: 1px solid var(--border); }
.c-swatch i { flex: 1; }
@media (max-width: 480px) { .choices.pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choices.pics .c-sub { font-size: 12px; } }

/* checkbox chips */
.chks { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 550; user-select: none; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--text-3); flex: 0 0 auto; }
.chk:hover { border-color: var(--border-2); }
.chk.on { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.chk.on::before { background: var(--accent) var(--check) center/12px no-repeat; border-color: var(--accent); }
.chk .c-sub { display: none; }
.chk.preset::before { display: none; }
.chk.preset { padding: 9px 16px; }

.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 0; }
.toggle input { width: 22px; height: 22px; accent-color: var(--accent); flex: 0 0 auto; }

/* stepper (+/-) */
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; border: 0; background: var(--surface-2); font-size: 20px; cursor: pointer; }
.stepper button:hover { background: var(--border); }
.stepper input { width: 64px; text-align: center; border: 0; background: transparent; font-size: 17px; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.counters { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.counter .lbl { font-weight: 600; font-size: 15px; }
.counter .lbl small { display: block; font-weight: 400; color: var(--text-2); font-size: 12px; }
.stepper-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.stepper-note { color: var(--text-3); font-size: 12px; min-height: 1em; }
.stepper input::placeholder { color: var(--text-3); }

/* budget per phase (pembiayaan bertahap) */
.phases { display: grid; gap: 10px; margin-bottom: 10px; }
.phase { display: grid; grid-template-columns: 72px minmax(0, 360px) auto; gap: 8px; align-items: center; }
.phase-n { font-size: 14px; }
@media (max-width: 560px) { .phase { grid-template-columns: 64px minmax(0, 1fr) auto; } }

/* bottom nav */
.wz-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgb(var(--bg-rgb) / .88); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.wz-nav-inner { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.wz-nav .grow { flex: 1; }
.wz-nav .saved { font-size: 12px; color: var(--text-3); }
@media (max-width: 480px) { .wz-nav .saved { display: none; } .wz-nav .btn { flex: 1; } .wz-nav .grow { display: none; } }

/* region search */
.combo { position: relative; }
.combo-list { position: absolute; z-index: 25; left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.combo-list button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; cursor: pointer; border-bottom: 1px solid var(--border); }
.combo-list button:last-child { border-bottom: 0; }
.combo-list button:hover, .combo-list button.hl { background: var(--accent-soft); }
.combo-list .prov { color: var(--text-2); font-size: 13px; }
.picked { margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.picked b { color: var(--text); }

.loc-box { display: grid; gap: 10px; }
.loc-status { font-size: 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.loc-status b { font-variant-numeric: tabular-nums; }
#map { height: 320px; border-radius: var(--radius-sm); border: 1px solid var(--border); z-index: 1; }

/* compass + lot preview */
.orient { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 600px) { .orient { grid-template-columns: 1fr; } }
.compass { width: 100%; max-width: 260px; aspect-ratio: 1; margin: 0 auto; display: block; touch-action: manipulation; }
.compass .dir { cursor: pointer; outline: none; }
.compass .dir:focus-visible circle { stroke: var(--accent); stroke-width: 3; }
.compass .dir circle { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.compass .dir text { fill: var(--text-2); font-size: 12px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.compass .dir:hover circle { stroke: var(--accent); }
.compass .dir.on circle { fill: var(--accent); stroke: var(--accent); }
.compass .dir.on text { fill: var(--on-accent); }
.compass .ring { fill: none; stroke: var(--border); stroke-width: 1.5; }
.compass .house-body { fill: var(--surface-2); stroke: var(--text-2); stroke-width: 1.5; }
.compass .house-front { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
.compass .street { stroke: var(--text-3); stroke-width: 6; stroke-linecap: round; opacity: .6; }
.compass .arrow { fill: var(--accent); }
.compass .unk { fill: var(--text-3); font-size: 40px; font-weight: 800; text-anchor: middle; dominant-baseline: central; }
.lot-svg { width: 100%; height: auto; max-height: 340px; display: block; }
.lot-svg .lot { fill: var(--lot-fill); stroke: var(--lot-line); stroke-width: 2; }
.lot-svg .street { fill: var(--street); }
.lot-svg .gsb { fill: none; stroke: var(--text-3); stroke-dasharray: 5 4; stroke-width: 1.5; }
.lot-svg .bld { fill: var(--lot-bld); stroke: var(--accent); stroke-width: 1.5; }
.lot-svg text { fill: var(--text-2); font-size: 12px; font-family: var(--font); }
.lot-svg .dim { fill: var(--text); font-weight: 700; font-size: 13px; }
.lot-svg .att { stroke: var(--text-2); stroke-width: 5; }
.lot-svg .north path { fill: var(--accent); }
.lot-svg .north text { fill: var(--accent); font-weight: 800; }
.fine { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 8px; }
.fine input[type=range] { flex: 1; accent-color: var(--accent); }

/* uploads */
.dropzone { border: 1.5px dashed var(--border-2); border-radius: var(--radius); padding: 14px; background: var(--surface); }
.dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .dz-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dropzone .dz-head .grow { flex: 1; min-width: 160px; font-size: 14px; color: var(--text-2); }
.dropzone input[type=file] { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.thumb img, .thumb .pdf { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb .pdf { display: grid; place-items: center; font-weight: 700; color: var(--text-2); font-size: 18px; }
.thumb .x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.thumb .nm { font-size: 11px; padding: 3px 6px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb input.cap { width: 100%; border: 0; border-top: 1px solid var(--border); padding: 5px 6px; font-size: 12px; background: var(--surface); }
.slot-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.slot-grid .q { margin: 0; }
.badge-req { display: inline-block; font-size: 11px; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }

/* room table */
.rooms-tbl input.input { min-height: 38px; padding: 4px 8px; font-size: 15px; }
.rooms-tbl td { padding: 4px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rooms-tbl th { font-size: 12px; color: var(--text-2); text-align: left; padding: 4px; font-weight: 600; }
.rooms-tbl .area { font-size: 13px; color: var(--text-2); white-space: nowrap; text-align: right; }
@media (max-width: 640px) {
  .rooms-tbl thead { display: none; }
  .rooms-tbl, .rooms-tbl tbody, .rooms-tbl tr, .rooms-tbl td { display: block; width: 100%; }
  .rooms-tbl tr { display: grid; grid-template-columns: 1fr 1fr 1fr 58px; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; align-items: center; }
  .rooms-tbl td { border: 0; padding: 0; }
  .rooms-tbl td.c-name { grid-column: 1 / -1; }
  .rooms-tbl td.c-notes { grid-column: 1 / 4; }
  .rooms-tbl td.c-area { text-align: right; }
}

/* review */
.review-sec { margin-bottom: 14px; }
.review-sec h3 { display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin: 0 0 8px; }
.review-sec dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.review-sec dt { color: var(--text-2); }
.review-sec dd { margin: 0; font-weight: 550; word-break: break-word; }
@media (max-width: 480px) { .review-sec dl { grid-template-columns: 1fr; } .review-sec dt { margin-top: 6px; } }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }
.alert.bad { background: var(--bad-soft); border: 1px solid var(--bad); }
.alert.info { background: var(--surface-2); border: 1px solid var(--border); }
.alert.warn { background: var(--warn-soft); border: 1px solid var(--warn); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.overlay { position: fixed; inset: 0; z-index: 50; background: rgb(var(--bg-rgb) / .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.overlay .card { width: min(420px, 100%); padding: 22px; text-align: center; }
.overlay .bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin: 14px 0 6px; }
.overlay .bar > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.type-illus { color: var(--text-2); }
.example { font-size: 13px; color: var(--text-3); }
.subq { margin-left: 0; padding: 12px 14px; border-left: 2px solid var(--border-2); background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 10px; }

/* thank-you screen */
.thanks { text-align: center; padding: 28px 20px; margin-top: 12px; }
.thanks-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.thanks-icon svg { width: 30px; height: 30px; }
.thanks h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -.03em; margin: 0 0 12px; }
.thanks p { margin: 0 0 12px; }
.thanks .wa { font-weight: 700; white-space: nowrap; }
body.done .wz-nav, body.done .wz-progress, body.done #btn-reset { display: none; }
