/* /build — the builder: your business → building → the editor → publish → your site. Tokens, buttons, the mark
   and the idea box come from styles.css; this file lays out the builder's views in the same language. */

body.bld { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-soft); }
body.bld main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.find, .iv, .gen, .ws, .pub, .dash, .tabbar, .claimbar { display: none; }
body[data-view="find"] .find, body[data-view="interview"] .iv, body[data-view="gen"] .gen, body[data-view="pub"] .pub, body[data-view="dash"] .dash { display: block; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body[data-view="ws"] .ws { display: grid; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }
.err { color: var(--red); font-size: 0.875rem; font-weight: 600; margin-top: 8px; }
.err[hidden] { display: none; }
.hint { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }
/* A field's own notice (a link held until the site is verified): the inline-alert pattern, warning status. */
.hint.held { color: var(--text); background: #f8f3ea; border-left: 4px solid var(--amber); border-radius: var(--r-sm); padding: 8px 12px; margin-top: 8px; }
.hint[hidden] { display: none; }
/* "Check your details" (plan L9): the business details with Edit, and one button. A card on the publish page and
   the dashboard; plain inside the sheet. Rows are 44 px tall so "Edit" is a full touch target. */
.cyd { margin: 0 0 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; text-align: left; }
.sheet .cyd { margin: 0; padding: 0; border: 0; background: none; }
.sheet .cyd-row { grid-template-columns: 7.5rem minmax(0, 1fr) auto; }
.cyd h2 { margin: 0 0 6px; font-size: 1.125rem; line-height: 1.3; }
.cyd-lead { margin: 0 0 12px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.cyd-list { margin: 0; border-bottom: 1px solid var(--line); }
.cyd-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; min-height: 44px; padding: 4px 0; border-top: 1px solid var(--line); }
.cyd-row dt { font-size: 0.8125rem; color: var(--muted); }
.cyd-row dd { margin: 0; display: grid; gap: 2px; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.cyd-row dd .muted { font-weight: 400; }
.cyd-row .linkbtn { min-width: 44px; min-height: 44px; font-weight: 600; }
.cyd-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 16px 0 0; }
.cyd-go .btn { min-height: 46px; margin: 0; }
.cyd-go .linkbtn { min-height: 44px; }
@media (max-width: 640px) {
  .cyd { padding: 16px; }
  .cyd-row, .sheet .cyd-row { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 0; }
  .cyd-row dt, .cyd-row dd { grid-column: 1; }
  .cyd-row .linkbtn { grid-column: 2; grid-row: 1 / span 2; }
}
/* What a publish check refused (plan L3): each item says where, why, and opens the field. */
.chk-lead { margin: 0 0 16px; color: var(--text-2); }
.chk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.chk-list li { padding: 12px 14px; background: #fbefee; border-left: 4px solid var(--red); border-radius: var(--r-sm); }
.chk-list b { display: block; font-size: 0.875rem; }
.chk-list p { margin: 4px 0 8px; font-size: 0.9375rem; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.chk-list .linkbtn { min-height: 44px; margin: -10px 0; font-weight: 600; }
.chk-fine { margin: 16px 0 0; font-size: 0.8125rem; color: var(--muted); }
.pub-check .row { margin-top: 20px; }
.pub-plan > .pub-wait { margin: 0 0 28px; }
.pub-plan > .pub-wait input { margin-top: 6px; }
.pub-held { margin-top: 12px; color: var(--text-2); }
.pub-warn .chk { margin-top: 12px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.btn.danger { color: var(--red); }
.linkbtn:disabled { color: var(--muted); text-decoration-color: transparent; cursor: default; }

/* ---------- header ---------- */
.bbar { flex: none; position: relative; z-index: 20; display: flex; align-items: center; gap: 16px; height: 70px; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.bbar .brand { font-size: 1.5rem; gap: 9px; flex: none; }
.bbar .mark { width: 22px; }
.bsteps, .bexit, .ws-head, .dash-nav { display: none; }
body[data-view="find"] .bsteps, body[data-view="interview"] .bsteps, body[data-view="gen"] .bsteps, body[data-view="pub"] .bsteps { display: flex; }
body[data-view="find"] .bexit, body[data-view="interview"] .bexit, body[data-view="pub"] .bexit { display: inline-flex; }
body[data-view="ws"] .ws-head { display: flex; }
body[data-view="dash"] .dash-nav { display: flex; }
.bsteps { position: absolute; left: 50%; transform: translateX(-50%); list-style: none; margin: 0; padding: 0; align-items: center; gap: 16px; font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.bsteps b { font-weight: 600; }
body[data-view="find"] [data-step="1"], body[data-view="interview"] [data-step="1"], body[data-view="gen"] [data-step="2"], body[data-view="pub"] [data-step="3"] { color: var(--text); font-weight: 600; }
.bexit { margin-left: auto; align-items: center; min-height: 44px; font-size: 1rem; text-decoration: none; color: var(--text); }
.bexit:hover { color: var(--orange-text); }
.ws-head { flex: 1; min-width: 0; align-items: center; gap: 12px; }
.ws-name { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line-2); color: var(--text-2); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.save { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); white-space: nowrap; flex: none; }
.save i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); }
.save[data-s="saving"] i, .save[data-s="dirty"] i { background: var(--orange); animation: pulse 1s ease-in-out infinite; }
.save[data-s="offline"] i, .save[data-s="error"] i { width: 7px; height: 7px; background: var(--red); }
.save[data-s="offline"], .save[data-s="error"] { color: var(--red); font-weight: 600; }
.save[data-unpub] i { width: 7px; height: 7px; background: var(--amber); }
.save[data-s="ro"] i { background: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
.hist { display: flex; gap: 2px; margin-left: auto; }
.hist button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: var(--text); }
.hist button svg { width: 19px; height: 19px; }
.hist button:hover:not(:disabled) { background: var(--bg); }
.hist button:disabled { color: #c4c1bb; cursor: default; }
.hdr-link { min-height: 44px; padding: 0 10px; border: 0; background: none; font-size: 1rem; color: var(--text); border-radius: 8px; }
.hdr-link:hover { background: var(--bg); }
.hdr-link[aria-pressed="true"] { color: var(--orange-text); }
.pv { display: inline-flex; align-items: center; gap: 7px; }
.pv svg { width: 18px; height: 18px; }
.golive { flex: none; min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.gl-short { display: none; }
[data-golive].has-unpublished { position: relative; }
[data-golive].has-unpublished::after { content: ''; position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px var(--surface); }
body.ro .hist, body.ro [data-preview] { display: none; }
body.building .save, body.building .hist, body.building .golive, body.building [data-preview] { visibility: hidden; }
.dash-nav { margin-left: auto; gap: 8px; align-items: center; }
.dash-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 1rem; border-radius: 8px; }
.dash-nav a:hover { background: var(--bg); }

/* ---------- 1. your business ---------- */
.find-in { max-width: 1356px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) 6% 64px; }
.find h1 { font-size: clamp(2.5rem, 4.2vw, 3.625rem); letter-spacing: -0.055em; line-height: 1.08; }
.find-sub { font-size: 1.1875rem; line-height: 1.45; color: var(--text-2); margin-top: 22px; max-width: 46em; }
.find-grid { display: grid; grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 60px); align-items: start; }
.find-form { position: relative; }
.find .prompt { min-height: 280px; padding: 26px 28px 23px; }
.find .prompt textarea { min-height: 148px; font-size: 1.125rem; line-height: 1.4; }
.find .prompt textarea::placeholder { color: #777; }
.create { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.tool.nudge { color: var(--orange-text); font-weight: 600; }
.sugg { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% - 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-pop); }
.sugg li[role="option"] { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.sugg li[role="option"] span { color: var(--muted); font-size: 0.875rem; }
.sugg li[aria-selected="true"], .sugg li[role="option"]:hover { background: var(--bg); }
.sugg .sg-foot { padding: 8px 12px 6px; font-size: 0.8125rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 4px; }
.find-note { min-height: 1.4em; margin-top: 12px; font-size: 0.875rem; color: var(--text-2); }
.find-err { margin-top: 4px; padding: 14px 16px; background: #fff4ec; border: 1px solid #f6d3bb; border-radius: 10px; font-size: 0.9375rem; color: var(--text); }
.find-acts { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.helper { font-size: 0.875rem; color: var(--muted); line-height: 1.5; margin-top: 28px; }
.helper + .helper { margin-top: 14px; }
.find-alts { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 0.9375rem; color: var(--text-2); }
.find-alts .linkbtn { min-height: 40px; }
.find-recover { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 10px; }
.find-recover[hidden] { display: none; }
.find-recover .gate label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; }
.rv-sites { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rv-sites .btn { width: 100%; justify-content: flex-start; }
.resume { margin-bottom: 28px; }
.resume-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.resume-in > div { display: grid; gap: 2px; min-width: 0; }
.resume-in b { font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resume-in small { color: var(--muted); font-size: 0.8125rem; }
.resume-more { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.inspo h2 { font-size: 1.375rem; letter-spacing: -0.04em; margin: 3px 0 12px; }
.inspo > p { font-size: 0.875rem; line-height: 1.5; color: var(--muted); margin-bottom: 24px; }
.inspo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inspo-card { position: relative; display: block; padding: 8px; text-align: left; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.inspo-card:hover { border-color: var(--line-field); }
.inspo-card[aria-pressed="true"] { border: 2px solid var(--orange); padding: 7px; }
.inspo-shot { display: block; height: 119px; overflow: hidden; border-radius: 4px; background: #f5f0eb; }
.inspo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.inspo-meta { display: grid; gap: 1px; margin-top: 8px; padding-right: 24px; }
.inspo-meta strong { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.02em; }
.inspo-meta small { font-size: 0.75rem; color: var(--muted); }
.inspo-check { position: absolute; right: 10px; bottom: 10px; display: none; color: var(--orange-text); }
.inspo-check .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.inspo-card[aria-pressed="true"] .inspo-check { display: block; }
.browse-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 12px; font-size: 0.8125rem; color: var(--muted); }
.browse-link:hover { color: var(--text); }
.browse-link .ic { width: 13px; height: 13px; }

/* ---------- 1b. interview ---------- */
.iv-in { max-width: 640px; margin: 0 auto; padding: 40px 20px 48px; }
.iv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.iv-top .linkbtn { min-height: 44px; }
.iv-prog { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.iv-prog i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s var(--ease); }
.iv-count { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.iv h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.05em; margin-bottom: 10px; outline: none; }
.iv-sub { color: var(--text-2); margin-bottom: 22px; }
.iv-q .field, .form .field { display: grid; gap: 6px; margin-bottom: 16px; }
.iv-q label, .form label { font-weight: 600; font-size: 0.875rem; }
.iv-q input:not([type=radio]):not([type=checkbox]), .iv-q textarea, .form input:not([type=radio]):not([type=checkbox]):not([type=color]), .form textarea, .gate input, .gate select, .addrow input {
  width: 100%; min-height: 46px; border: 1px solid var(--line-field); background: var(--surface); border-radius: 8px; padding: 11px 13px; font-size: 1rem; outline: none; }
.iv-q input:focus, .iv-q textarea:focus, .form input:focus, .form textarea:focus, .gate input:focus, .gate select:focus, .addrow input:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 98, 0, .25); }
.iv-q [aria-invalid="true"] { border-color: var(--red); }
.iv-q textarea, .form textarea { resize: vertical; line-height: 1.45; }
.kindset { border: 0; padding: 0; margin: 0 0 22px; }
.kindset legend { font-weight: 600; font-size: 0.875rem; margin-bottom: 10px; padding: 0; }
.addrow { display: flex; gap: 8px; }
.addrow input { flex: 1; min-width: 0; }
.iv-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.iv-nav .btn--dark { min-width: 160px; }
.iv-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 10px; }
.iv-note { margin-top: 28px; font-size: 0.8125rem; color: var(--muted); }
.iv-q .chips + .field, .iv-q .chips + .kindset { margin-top: 20px; }

/* ---------- 1c. building ---------- */
.gen-in { max-width: 740px; margin: clamp(48px, 9vh, 80px) auto; padding: 20px; text-align: center; }
.gen-mark { width: 44px; margin: 0 auto 40px; animation: breathe 1.7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.9); } }
.gen .eyebrow { font-size: 0.8125rem; }
.gen h1 { font-size: clamp(2.75rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.05em; margin: 22px 0; outline: none; }
.gen-sub { color: var(--text-2); }
.gen-tasks { list-style: none; display: grid; gap: 22px; max-width: 360px; margin: 45px auto; padding: 0; text-align: left; color: #a8a49d; }
.gen-tasks li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; align-items: center; }
.gen-tasks .ic { width: 20px; height: 20px; }
.gen-tasks li.done, .gen-tasks li.now { color: var(--text); }
.gen-tasks li.done .ic { color: var(--orange-text); stroke-width: 2.6; }
.gen-tasks li.now .ic { color: var(--orange); animation: spin 1.4s linear infinite; }
.gen-note { color: var(--muted); font-size: 0.8125rem; }

/* ---------- 2. the editor ---------- */
.ws { flex: 1; min-height: 0; grid-template-columns: 300px minmax(0, 1fr); }
body.previewing .ws { grid-template-columns: minmax(0, 1fr); }
body.previewing .panel, body.previewing .px-tools, body.previewing .px-chip, body.previewing .px-pop, body.previewing .tap-hint { display: none !important; }
.panel { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 14px 28px; background: var(--surface); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.pg-h { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 16px; border: 0; border-radius: 8px; background: none; font-size: 1rem; text-align: left; color: var(--text); }
.pg-h:hover { background: var(--bg); }
.pg-h .ic { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t); }
.pg-h[aria-expanded="true"] { background: #f6f3f0; color: var(--orange-text); font-weight: 600; }
.pg-h[aria-expanded="true"] .ic { color: var(--orange-text); transform: rotate(45deg); }
.pg-b { padding: 6px 4px 18px; display: grid; gap: 18px; }
.pg-tip { font-size: 0.8125rem; color: var(--muted); padding: 0 12px; line-height: 1.45; }
.card { padding: 0 12px; scroll-margin-top: 16px; }
.card + .card { padding-top: 18px; border-top: 1px solid var(--line); }
.card-h { font-size: 1rem; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 10px; }
.card-b > p { font-size: 0.875rem; margin-bottom: 10px; color: var(--text-2); }
.card.words { padding: 16px; margin: 0 4px; background: #fffaf6; border: 1px solid #f4dccb; border-radius: 12px; }
.card.words + .card { border-top: 0; padding-top: 0; }
.card.words.claim { background: #fff4ec; }
.card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 20% { box-shadow: 0 0 0 3px var(--orange); } }
.gate label { display: block; font-weight: 600; font-size: 0.8125rem; margin-bottom: 6px; }
.gate .addrow { flex-wrap: wrap; }
.gate .addrow input { flex: 1 1 150px; }
.gate .btn { min-height: 46px; padding: 0 16px; }
input.code { font-size: 1.375rem !important; letter-spacing: .3em; font-variant-numeric: tabular-nums; font-weight: 700; width: 9.5em; max-width: 100%; padding-left: .7em !important; }
.prog { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0 10px; }
.prog i { display: block; height: 100%; width: 2%; background: var(--orange); transition: width .4s linear; }
.prog-l { font-weight: 600; font-size: 0.875rem; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.todo li:first-child { border-top: 0; padding-top: 2px; }
.todo li > span { display: grid; gap: 2px; min-width: 0; }
.todo b { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.todo small { color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.todo li.info b { font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.todo .btn { flex: none; min-height: 36px; padding: 0 12px; font-size: 0.8125rem; border-radius: 8px; }
.ok { color: var(--green); font-weight: 600; font-size: 0.875rem; }
.lookrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.lookrow > div { display: grid; }
.lookrow b { font-size: 1rem; }
.lookrow small { color: var(--muted); font-size: 0.75rem; }
.card fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.card legend, .flabel { font-weight: 600; font-size: 0.8125rem; margin-bottom: 8px; padding: 0; display: block; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.swatch { position: relative; width: 36px; height: 36px; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); font-size: 0.625rem; font-weight: 700; pointer-events: none; }
.swatch.def span { background: var(--surface); color: var(--text); border: 1px dashed var(--line-field); font-weight: 600; text-shadow: none; }
.swatch.pick span { background: var(--bg); font-size: 1.125rem; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-field); }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--text); }
.swatch input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 5px; }
.swatch.none span { background: repeating-linear-gradient(135deg, #fff 0 5px, #e8e3d8 5px 7px); color: var(--text); text-shadow: none; }
.swatch.adj span { background: linear-gradient(var(--c) 55%, var(--u) 55%); }
.logorow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logorow img { max-height: 44px; max-width: 130px; object-fit: contain; }
.logorow img.plate { background: var(--dark); padding: 5px 8px; border-radius: 6px; }
.nologo { font-size: 0.8125rem; color: var(--muted); }
.lsub { margin: 4px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.panel .fonts { grid-template-columns: 1fr; }
.pullbtn { margin-top: 10px; }
.font { position: relative; display: block; }
.font input, .lchip input, .lay input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.font > span { display: grid; gap: 1px; min-height: 50px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); pointer-events: none; }
.font b { font-size: 0.9375rem; line-height: 1.15; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font small { font-size: 0.6875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font:hover > span, .lchip:hover > span, .lay:hover .lay-pic { border-color: var(--line-field); }
.font input:checked + span, .lchip input:checked + span { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: #fffaf6; }
.font input:focus-visible + span, .lchip input:focus-visible + span, .lay input:focus-visible ~ .lay-pic { outline: 2px solid var(--orange); outline-offset: 2px; }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lchip { position: relative; display: inline-flex; }
.lchip > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-weight: 500; font-size: 0.8125rem; pointer-events: none; }
.lpic { display: inline-block; flex: none; }
.btnpic { width: 24px; height: 11px; background: var(--dark); }
.cornerpic { width: 15px; height: 15px; background: #b9b2a3; }
.aa { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; font-size: 0.8125rem; line-height: 1.4; color: #7a3d00; background: #fff4e0; border-radius: 8px; padding: 8px 10px; }
.aa i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); margin-top: 1px; }
/* section layout picker (sheet) and menu (toolbar) */
.layfield { border: 0; padding: 0; margin: 0 0 16px; }
.layfield legend { font-weight: 600; font-size: 0.8125rem; margin-bottom: 8px; padding: 0; }
.lays { display: flex; flex-wrap: wrap; gap: 8px; }
.lay { position: relative; display: grid; justify-items: center; gap: 4px; width: 84px; font-size: 0.75rem; font-weight: 500; text-align: center; }
.lay-pic { display: grid; place-items: center; width: 84px; height: 56px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--muted); pointer-events: none; }
.lay-pic svg, .px-lay-pic svg { width: 48px; height: 32px; }
.lay input:checked ~ .lay-pic { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); color: var(--text); }
.lay-n { pointer-events: none; }
.px-mi.px-lay { grid-template-columns: 56px 1fr; align-items: center; gap: 10px; }
.px-mi.px-lay > span:last-child { display: grid; }
.px-lay-pic { display: grid; place-items: center; width: 56px; height: 38px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); background: var(--surface); }
.px-lay[aria-checked="true"] .px-lay-pic { border-color: var(--orange); color: var(--text); box-shadow: inset 0 0 0 1px var(--orange); }
.pgrid { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pgrid.big { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pgrid li { position: relative; aspect-ratio: 1; }
.pgrid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--bg); }
.pgrid button[aria-pressed="true"] { outline: 2px solid var(--orange); outline-offset: 2px; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; }
.pgrid .tag { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 3px; background: rgba(25,25,25,.78); color: #fff; font-size: 0.625rem; font-weight: 600; pointer-events: none; }
.card.first .addph { width: 100%; }
.slist { list-style: none; margin: 0; padding: 0; }
.slist li { display: flex; align-items: center; gap: 2px; border-top: 1px solid var(--line); padding: 2px 0; }
.slist li:first-child { border-top: 0; }
.slist .sname { flex: 1; min-width: 0; display: grid; min-height: 44px; align-content: center; text-align: left; padding: 6px 6px; border: 0; background: none; font: inherit; font-weight: 500; font-size: 0.875rem; border-radius: 6px; }
.slist .sname:hover { background: var(--bg); }
.slist .sname small { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.slist li.off .sname { color: var(--muted); }
.ib { display: grid; place-items: center; min-width: 40px; height: 40px; border: 0; border-radius: 6px; background: none; color: var(--text); }
.ib svg { width: 17px; height: 17px; }
.ib.t { padding: 0 8px; font-size: 0.8125rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ib:hover:not(:disabled) { background: var(--bg); }
.ib:disabled { color: #c4c1bb; cursor: default; }
.addsec { width: 100%; margin-top: 8px; border-style: dashed; }
/* business details: the facts we found, each opens its field */
.strip { display: grid; gap: 8px; padding: 0 12px; }
.strip-h { font-size: 0.8125rem; }
.strip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.schip { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 0.8125rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schip:hover { border-color: var(--line-field); }
.schip.missing { border-style: dashed; color: var(--muted); }
.schip.missing::before { content: "+ "; color: var(--orange-text); }
.schip.wait { color: var(--muted); cursor: default; }
.sfound { font-size: 0.75rem; color: var(--muted); }
.strip-x { justify-self: start; min-height: 36px; padding: 0; border: 0; background: none; font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.strip.loading .strip-x { display: none; }
[data-strip].paused .strip-h, [data-strip].paused [data-strip-x] { display: none; }
.biz-all { justify-self: start; margin: 0 12px; }
.sidebar-help { margin: 22px 12px 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.sidebar-help a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8125rem; color: var(--text-2); text-underline-offset: 3px; }

/* the stage: the site on a quiet workspace */
.stage { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--sunken); padding: 28px 5% 0; }
.editor-hint { flex: none; text-align: center; font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.view { position: relative; flex: 1; min-height: 0; width: 100%; max-width: 1020px; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid #e4ddd7; box-shadow: 0 8px 35px rgba(0,0,0,.05); }
.view.phone { background: transparent; border-color: transparent; box-shadow: none; max-width: none; }
.sframe { position: absolute; top: 0; left: 0; transform-origin: 0 0; background: #fff; }
.sframe iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.view.phone .sframe { border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 10px #191919, 0 0 0 11px #4a4943, 0 24px 60px rgba(0,0,0,.25); transition: left .26s var(--ease), transform .26s var(--ease); }
body.building .sframe { visibility: hidden; }
.canvas-foot { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; max-width: 1020px; margin: 0 auto; padding: 6px 0 10px; font-size: 0.75rem; color: var(--muted); }
.vdevices { display: flex; align-items: center; gap: 6px; }
.vdevices button { min-height: 44px; padding: 0 6px; border: 0; background: none; font-size: 0.75rem; color: var(--muted); }
.vdevices button[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.vdevices button:hover { color: var(--text); }

/* opening a draft */
.skel { position: absolute; inset: 0; display: flex; justify-content: center; padding: 24px; overflow: hidden; background: #fff; }
.sk-page { width: 100%; display: grid; align-content: start; gap: 32px; }
.sk-page i, .sk-page span, .sk-page .ph { display: block; border-radius: 6px; background: linear-gradient(90deg, #efede9 25%, #f7f6f3 50%, #efede9 75%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk-bar { display: flex; gap: 16px; align-items: center; }
.sk-bar i { height: 14px; width: 70px; }
.sk-bar i:first-child { width: 160px; height: 30px; margin-right: auto; }
.sk-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.sk-hero div { display: grid; gap: 14px; }
.sk-hero .l1 { height: 40px; width: 90%; } .sk-hero .l2 { height: 40px; width: 70%; } .sk-hero .l3 { height: 16px; width: 80%; margin-top: 8px; }
.sk-hero .b { height: 46px; width: 180px; margin-top: 10px; }
.sk-hero .ph { aspect-ratio: 4 / 3; border-radius: 10px; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sk-cards span { height: 130px; }
.skel-step { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; padding: 10px 18px; border-radius: 999px; background: #242321; color: #fff; font-weight: 600; font-size: 0.875rem; white-space: nowrap; display: none; }
body.building .skel-step { display: block; }

/* edit overlays (positioned over the iframe) */
.px-tools { position: absolute; z-index: 5; display: flex; align-items: flex-start; gap: 4px; pointer-events: none; }
.px-tools > * { pointer-events: auto; }
.px-gap { flex: 1; pointer-events: none !important; }
.px-name { padding: 6px 10px; border-radius: 6px; background: var(--orange); color: var(--on-orange); font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.px-b, .px-name { flex: none; white-space: nowrap; }
/* Adjust photo */
.crop-box { width: min(100%, calc(52vh * var(--ar, 1.33))); max-height: 52vh; margin: 12px auto 4px; border-radius: 8px; background-color: var(--sunken); background-repeat: no-repeat; cursor: grab; touch-action: none; outline-offset: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.crop-box.dragging { cursor: grabbing; }
/* a toast never covers a dialog's buttons */
body.sheet-on .toast { top: 10px; bottom: auto; }
.field.pick input, .field.pick textarea { border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255,98,0,.3) !important; transition: box-shadow .3s; }
.crop-box:focus-visible { outline: 3px solid var(--orange); }
.crop-zoom .row { margin-top: 4px; flex-wrap: nowrap; }
.crop-zoom input[type=range] { flex: 1; accent-color: var(--orange); min-height: 44px; }
.px-mi:disabled { color: var(--muted); cursor: default; }
.px-b { display: inline-flex; align-items: center; gap: 6px; height: 36px; min-width: 36px; justify-content: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 0.8125rem; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.px-b svg { width: 16px; height: 16px; flex: none; }
.px-b:hover:not(:disabled) { background: var(--bg); }
.px-b:disabled { color: #c4c1bb; cursor: default; }
.px-b.txt { padding: 0 11px 0 9px; }
.px-chip { position: absolute; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; border-radius: 6px; background: #242321; color: #fff; font-size: 0.75rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.px-chip > span { padding-right: 5px; }
.px-acc { pointer-events: auto; height: 28px; padding: 0 9px; border: 0; border-radius: 4px; background: var(--orange); color: var(--on-orange); font: inherit; font-size: 0.75rem; font-weight: 700; }
.px-acc[hidden] { display: none; }
.px-chip.full { animation: shake .35s; background: var(--red); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.px-pop { position: absolute; z-index: 8; width: 260px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop); }
.px-poph { padding: 6px 10px 4px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.px-mi { display: grid; width: 100%; min-height: 40px; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 600; font-size: 0.875rem; }
.px-mi small { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.px-mi:hover, .px-mi:focus-visible { background: var(--bg); outline: none; }

/* looks */
.looks { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; background: var(--sunken); padding: 24px 5%; gap: 18px; overflow-y: auto; }
.looks[hidden] { display: none; }
.looks-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.looks-head h2 { font-size: 1.75rem; letter-spacing: -0.05em; outline: none; }
.looks-sub { color: var(--muted); font-size: 0.875rem; margin-top: 6px; }
.looks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.lk { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; padding: 6px; }
.lk.on { border: 2px solid var(--orange); padding: 5px; }
.lk-frame { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #fff; border-radius: 8px; }
.lk-frame iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; transition: opacity .25s; }
.lk-frame.loading { background: linear-gradient(90deg, #efede9 25%, #f7f6f3 50%, #efede9 75%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
.lk-frame.loading iframe { opacity: 0; }
.lk-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px 8px; }
.lk-meta h3 { font-size: 1.0625rem; }
.lk-meta p { font-size: 0.75rem; margin-top: 2px; }
.lk-meta .fit { color: var(--green); }
.lk-meta .nofit { color: var(--muted); }
.lk-cur { font-size: 0.8125rem; font-weight: 700; color: var(--orange-text); }
.looks-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; row-gap: 8px; }
.looks-nav[hidden] { display: none; }
.looks-nav > * { white-space: nowrap; }
.lk-more { grid-column: 1 / -1; justify-self: center; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; padding: 8px; }

/* ---------- sheet: bottom sheet (phone), drawer (desktop forms), dialog ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 90; }
.sheet-wrap[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(25,25,25,.4); opacity: 0; transition: opacity .2s; }
.sheet-wrap.open .sheet-back { opacity: 1; }
.sheet { position: absolute; display: flex; flex-direction: column; background: #faf9f6; outline: none; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transition: transform .26s var(--ease); }
.sheet-head { flex: none; position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { flex: 1; font-size: 1.25rem; letter-spacing: -0.04em; line-height: 1.15; }
.grab { display: none; }
.sheet-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.sheet-x svg { width: 22px; height: 22px; }
.sheet-x:hover { background: var(--bg); color: var(--text); }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 24px; }
.sheet-foot { flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #faf9f6; }
.sheet-foot[hidden] { display: none; }
.sheet .card { padding: 0; border: 0; background: none; margin: 0; }
.sheet .card .card-h { display: none; }
.sheet .cards { display: grid; gap: 22px; }
.sheet .cards .card .card-h { display: block; font-size: 1rem; }
.sheet .cards .card + .card { padding-top: 18px; border-top: 1px solid var(--line); }
.fx-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fx-acts > * { white-space: nowrap; }
.form .acc { font-size: 0.8125rem; }
.form .field.pick { animation: pick 1.6s var(--ease); border-radius: 6px; }
@keyframes pick { 0%, 50% { box-shadow: 0 0 0 3px rgba(255,98,0,.35); background: #fff4ec; } }
.paste { margin: -6px 0 18px; padding: 12px 14px; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); }
.paste summary { cursor: pointer; font-weight: 600; font-size: 0.875rem; }
.paste[open] summary { margin-bottom: 12px; }
.paste label { font-weight: 400 !important; color: var(--muted); }
.addlist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.addlist button { display: grid; gap: 2px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font: inherit; }
.addlist button:hover, .addlist button:focus-visible { border-color: var(--line-field); }
.addlist b { font-size: 0.9375rem; }
.addlist span { font-size: 0.8125rem; color: var(--muted); }
.form .list { border: 0; padding: 0; margin: 4px 0 18px; display: grid; gap: 0; }
.form .list > legend { font-weight: 700; font-size: 0.9375rem; margin-bottom: 10px; padding: 0; }
.form .list > .hint { margin: -4px 0 10px; }
.form .item { position: relative; padding: 14px 14px 6px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.form .item .iacts { position: absolute; right: 8px; top: 8px; display: flex; align-items: center; gap: 2px; }
.form .item .rm { font-size: 0.75rem; color: var(--muted); padding: 4px; }
.form .item .mv { min-width: 32px; height: 32px; }
.form .item .mv svg { width: 16px; height: 16px; }
.form .item > .field:first-child label, .form .item > .pair:first-child .field:last-child label { padding-right: 70px; }
.form .item.mov > .field:first-child label, .form .item.mov > .pair:first-child .field:last-child label { padding-right: 138px; }
.form .item.mov > .pair:first-child .field:first-child label { padding-right: 0; }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .add { justify-self: start; }
.form label .count, .form .count { float: right; font-weight: 400; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.form .rw { justify-self: start; font-size: 0.8125rem; }
.form h3.sub { font-size: 0.9375rem; margin: 18px 0 10px; }
.form h3.sub:first-child { margin-top: 0; }
.photorow .prow { display: flex; align-items: center; gap: 12px; }
.photorow img, .photorow .noph { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--bg); flex: none; }
.photorow .noph { display: grid; place-items: center; font-size: 0.6875rem; color: var(--muted); }
.photorow .pbtns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.photorow .btn { min-height: 38px; padding: 0 12px; font-size: 0.8125rem; }
.secacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.secacts .btn { min-height: 40px; padding: 0 12px; font-size: 0.8125rem; }
.secacts .done { margin-left: auto; min-width: 96px; }
.altimg { width: 100%; max-height: 240px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.stack { display: grid; gap: 8px; margin-top: 14px; }
.golive-b .big { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.golive-b .glist { margin: 16px 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.9375rem; }
code.dnsval { overflow-wrap: normal; word-break: normal; }
/* desktop: forms are a drawer at the right of the preview; dialogs sit in the middle */
.sheet-wrap[data-kind="form"] .sheet-back, .sheet-wrap[data-kind="card"] .sheet-back { background: rgba(25,25,25,.1); }
.sheet-wrap[data-kind="form"] .sheet, .sheet-wrap[data-kind="card"] .sheet { top: 70px; right: 0; bottom: 0; width: min(420px, 100vw); transform: translateX(100%); border-left: 1px solid var(--line-2); box-shadow: -14px 0 40px rgba(0,0,0,.1); }
.sheet-wrap.open[data-kind="form"] .sheet, .sheet-wrap.open[data-kind="card"] .sheet { transform: none; }
.sheet-wrap[data-kind="dialog"] .sheet { left: 50%; top: 50%; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); transform: translate(-50%, -47%); opacity: 0; border-radius: 16px; box-shadow: 0 20px 80px rgba(0,0,0,.18); transition: transform .22s var(--ease), opacity .22s; }
.sheet-wrap.open[data-kind="dialog"] .sheet { transform: translate(-50%, -50%); opacity: 1; }

/* toast */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 14px 18px 14px 22px; border-radius: 9px; background: #242321; color: #fff; font-size: 0.875rem; box-shadow: 0 5px 25px rgba(0,0,0,.15); }
.toast[hidden] { display: none; }
.toast button { flex: none; min-height: 32px; border: 0; background: none; color: #ffb38a; font: inherit; font-weight: 700; padding: 4px 6px; text-decoration: underline; text-underline-offset: 3px; }
.ts:empty { display: none; }
.ts { position: fixed; z-index: 96; left: 50%; top: 86px; transform: translateX(-50%); }
.ts.ask { padding: 14px; background: #fff4ec; border: 1px solid var(--orange); border-radius: 10px; }
.ts.ask::before { content: "One quick check that you're a person:"; display: block; margin-bottom: 10px; font-size: 0.875rem; font-weight: 600; }
.tap-hint, .coach { display: none; }

/* claim (outreach draft, not yet theirs) */
body.ro[data-view="ws"] .claimbar { display: none; }
body.ro .strip { display: none; }
body.ro .golive { margin-left: auto; }
body.ro .panel .pgroup:not([data-group="page"]) { display: none; }
body.ro .panel [data-card]:not([data-card="words"]) { display: none; }
body.building .panel .card { pointer-events: none; }
.card-b:empty::before { content: ""; display: block; height: 44px; border-radius: 8px; background: linear-gradient(90deg, #efede9 25%, #f7f6f3 50%, #efede9 75%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .ws { grid-template-columns: 270px minmax(0, 1fr); }
  .bsteps { gap: 10px; font-size: 0.8125rem; }
  .ws-name { max-width: 180px; }
  .stage { padding: 24px 24px 0; }
}
@media (max-width: 999px) {
  .find-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .inspo-shot { height: 96px; }
  .bsteps { display: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .bbar { height: 64px; gap: 8px; padding: 0 12px 0 16px; }
  .bbar .brand { font-size: 1.375rem; }
  body[data-view="ws"] .brand-w { display: none; }
  .ws-name { padding-left: 10px; font-size: 0.8125rem; max-width: 96px; }
  .save { font-size: 0.75rem; gap: 5px; flex: 0 1 auto; min-width: 0; }
  .save span { overflow: hidden; text-overflow: ellipsis; }
  .hist, .golive, .pv, .to-dash { flex: none; }
  .ws-head { gap: 6px; }
  .ws-name { display: none; }
  .pv svg { width: 21px; height: 21px; }
  .pv { display: inline-grid; place-items: center; min-width: 44px; padding: 0; }
  .pv .pv-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.previewing .pv { padding: 0 10px; } body.previewing .pv svg { display: none; }
  body.previewing .pv .pv-t { position: static; width: auto; height: auto; clip: auto; }
  body.previewing .hist, body.previewing .save { display: none; }
  body.previewing .tabbar { display: none !important; }
  body.previewing .stage { padding-bottom: env(safe-area-inset-bottom); }
  .to-dash { min-width: 44px; padding: 0; justify-content: center; }
  .to-dash .td-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body[data-view="ws"]:has([data-to-dash]:not([hidden])) .bbar .brand { display: none; }
  .hist { gap: 0; }
  .golive { padding: 0 14px; font-size: 0.875rem; }
  .gl-long { display: none; } .gl-short { display: inline; }
  .ws { grid-template-columns: 1fr; }
  .panel { display: none; }
  .find-in { padding: 36px 20px 48px; }
  .find h1 { font-size: 2.5rem; letter-spacing: -0.055em; }
  .find-sub { font-size: 1rem; line-height: 1.5; margin-top: 18px; }
  .find-grid { display: flex; flex-direction: column; gap: 44px; margin-top: 28px; }
  .find .prompt { padding: 20px; min-height: 260px; }
  .find .prompt textarea { font-size: 1rem; min-height: 150px; }
  .create { min-height: 46px; padding: 0 14px; font-size: 0.875rem; flex: none; }
  .find .prompt-tools .tools { flex-wrap: nowrap; }
  .tools { gap: 14px !important; }
  .tool { font-size: 0.8125rem; gap: 6px; }
  .helper { font-size: 0.8125rem; margin-top: 22px; }
  .inspo-grid { gap: 12px; }
  .inspo-shot { height: 92px; }
  .iv-in { padding-top: 22px; }
  .iv-top { margin-bottom: 24px; }
  .iv-nav { position: sticky; bottom: 0; margin: 24px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(250,249,247,.97); border-top: 1px solid var(--line); }
  .iv-nav .btn--dark { flex: 1; }
  .gen-in { margin: 48px auto; }
  .stage { padding: 0 0 calc(64px + env(safe-area-inset-bottom)); }
  .editor-hint, .canvas-foot { display: none; }
  .view { max-width: none; border: 0; box-shadow: none; }
  body.ro .stage { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 4px 6px env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line-2); }
  body[data-view="ws"]:not(.ro):not(.building) .tabbar { display: flex; }
  .tabbar button { position: relative; flex: 1; display: grid; justify-items: center; gap: 3px; height: 60px; padding: 9px 0 6px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 0.6875rem; font-weight: 600; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar button:active, .tabbar button[aria-current="true"] { color: var(--orange-text); }
  .tabbar .badge { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: var(--on-orange); font-style: normal; font-size: 0.625rem; font-weight: 800; line-height: 17px; }
  .tabbar .badge:empty { display: none; }
  body.ro[data-view="ws"] .claimbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line-2); font-size: 0.875rem; }
  .claimbar p { min-width: 0; }
  .skel { padding: 16px; }
  .sk-hero { grid-template-columns: 1fr; }
  .sk-cards { grid-template-columns: 1fr; }
  .skel-step { bottom: 18px; font-size: 0.8125rem; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
  .looks { bottom: calc(64px + env(safe-area-inset-bottom)); padding: 14px; gap: 12px; overflow: hidden; }
  .looks-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); flex: 1; min-height: 0; align-items: stretch; touch-action: pan-y; }
  .lk { display: flex; flex-direction: column; min-height: 0; }
  .lk-frame { aspect-ratio: auto; flex: 1; min-height: 0; }
  .looks-sub { font-size: 0.8125rem; }
  /* bottom sheet */
  .sheet-wrap[data-kind] .sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 88dvh; border-radius: 16px 16px 0 0; border-left: 0; transform: translateY(100%); opacity: 1; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
  .sheet-wrap.open[data-kind] .sheet { transform: none; }
  .sheet-wrap[data-kind] .sheet-back { background: rgba(25,25,25,.4); }
  .grab { display: block; position: absolute; left: 50%; top: 0; width: 72px; height: 24px; margin-left: -36px; padding: 0; border: 0; background: none; cursor: grab; }
  .grab::before { content: ""; display: block; width: 40px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: #cfcbc4; }
  /* a section's fields: half height, the section stays visible and tappable above; drag up for full */
  .sheet-wrap.half .sheet { height: 52dvh; max-height: 52dvh; }
  .sheet-wrap.half .sheet-back { background: transparent; pointer-events: none; }
  .sheet-wrap.half { pointer-events: none; }
  .sheet-wrap.half .sheet { pointer-events: auto; transition: transform .26s var(--ease), height .22s var(--ease); }
  .sheet-wrap[data-kind="form"]:not(.half) .sheet { height: 88dvh; }
  .tap-hint { position: absolute; z-index: 4; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(36,35,33,.88); color: #fff; font-size: 0.75rem; font-weight: 600; pointer-events: none; }
  .tap-hint svg { width: 14px; height: 14px; }
  body.ro .tap-hint, body.building .tap-hint, body.sheet-on .tap-hint, body.looks-on .tap-hint { display: none; }
  .coach:not([hidden]) { position: absolute; z-index: 9; inset: 0; display: flex; align-items: flex-end; padding: 16px 14px 22px; background: rgba(25,25,25,.4); }
  .coach-b { width: 100%; padding: 18px 18px 16px; border-radius: 14px; background: #faf9f6; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
  .coach-b p { font-size: 0.9375rem; margin-bottom: 8px; }
  .coach-b p b { font-size: 1.0625rem; }
  .coach-b .btn { width: 100%; margin-top: 6px; min-height: 46px; }
  .sheet-head { padding-top: 22px; touch-action: none; }
  .sheet-body { padding: 16px 16px 24px; }
  .form .pair { grid-template-columns: 1fr; gap: 0; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.sheet-on .toast { top: calc(10px + env(safe-area-inset-top)); bottom: auto; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) { .bexit { font-size: 0.9375rem; } }
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-back, .iv-prog i, .prog i, .view.phone .sframe { transition: none; }
  .sk-page i, .sk-page span, .lk-frame.loading, .card-b:empty::before { animation: none; }
  .gen-mark { animation: none; }
}

/* styles.css styles the template viewer's size buttons as pills; the builder's are plain words */
.canvas-foot .vdevices { margin: 0; padding: 0; background: none; }
.canvas-foot .vdevices button[aria-pressed="true"] { background: none; box-shadow: none; }
.card .linkbtn, .card-b > .linkbtn { justify-self: start; min-height: 40px; }

/* ---------- 3. publish: plan → email → web address → payment, the site beside it ---------- */
.icw { display: inline-flex; flex: none; }
.icw .ic { width: 18px; height: 18px; }
.btn .icw .arrow { width: 18px; height: 18px; }
.pub-in { max-width: 1160px; margin: 0 auto; padding: 44px 30px 72px; }
.back-link { display: flex; width: max-content; align-items: center; gap: 8px; min-height: 44px; padding: 0; margin-bottom: 28px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.875rem; cursor: pointer; }
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--text); }
.pub h1, .dash h1 { font-size: clamp(2.5rem, 4.4vw, 3.625rem); letter-spacing: -0.055em; line-height: 1.08; margin-top: 18px; }
.pub h1:focus, .dash h1:focus { outline: none; }
.pub-intro { font-size: 1.1875rem; line-height: 1.45; color: var(--text-2); margin-top: 20px; max-width: 40em; }
.pub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; margin-top: 48px; align-items: start; }
.pub-body h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.035em; }
.pub-body > * > p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.pub-plan .btn--lg, .pub-addr .btn--lg, .mockpay .btn--lg { margin-top: 8px; }
.pub-fine { margin-top: 20px; font-size: 0.8125rem !important; color: var(--muted) !important; }
.pub-fine a { color: inherit; }
.pub-warn { margin: 0 0 28px; padding: 16px 18px; border-radius: 10px; background: #fff4e5; border: 1px solid #f3d3a6; font-size: 0.9375rem; line-height: 1.5; }
.pub-warn .btn { margin-top: 12px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }
.wa-subrow .linkbtn { min-height: 44px; }
/* very narrow phones (360): a little less air in the header */
@media (max-width: 380px) { .bbar { gap: 4px; padding: 0 8px 0 12px; } .golive { padding: 0 10px; } .save { font-size: 0.6875rem; } }
.pub-wait { margin-top: 8px; padding: 18px 20px; border-radius: var(--r-md, 10px); background: var(--sunken); font-size: 0.9375rem; line-height: 1.5; }
.pub-wait .btn { margin-top: 14px; }
.pub-side { position: sticky; top: 24px; }
.pub-side p { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.pub-preview, .dash-preview { position: relative; display: block; height: 330px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--sunken); box-shadow: 0 10px 40px rgba(0, 0, 0, .04); }
.pub-preview iframe, .dash-preview iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.pub-preview.loading iframe, .dash-preview.loading iframe { opacity: 0; }
/* the email card, borrowed from the editor */
.pub-body > .card { border: 0; padding: 0; background: none; box-shadow: none; }
.pub-body > .card .card-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* the web address choices */
.pub-addr, .pub-addr .wa-opts, .pub-addr .wa-panel, .pub-addr form { min-width: 0; }
.pub-addr .wa-opt { grid-template-columns: auto minmax(0, 1fr); }
.pub-addr .wa-opt b, .pub-addr .wa-opt small { min-width: 0; overflow-wrap: break-word; }
/* The domain picker (domainpick.js): the search, the free names as radio rows, the years picker. One set of rules for
   the web address step and for the dashboard's "Get a domain" (build section 4.9). */
.dpick, .dpick form { min-width: 0; }
.dpick .wa-res { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.dpick .wa-res label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.dpick .wa-res b { flex: 1; min-width: 0; overflow-wrap: break-word; }
.dpick .wa-res .p { white-space: nowrap; text-align: right; }
.dpick .wa-res .p small { display: block; color: var(--muted); font-size: 0.78rem; }
.dpick .wa-res { grid-template-columns: minmax(0, 1fr); }
.dpick .wa-res li, .dpick .wa-res label { min-width: 0; }
.pub-addr .wa-opts { gap: 10px; margin: 0 0 18px; }
.pub-addr .wa-opt { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); min-height: 44px; }
.pub-addr .wa-opt b { font-weight: 600; }
.pub-addr .wa-opt small { font-size: 0.8125rem; line-height: 1.45; }
.pub-addr .wa-opt:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.pub-addr .wa-panel { margin: 0 0 6px; padding: 4px 4px 8px; }
.wa-subfield { flex: 1 1 200px; display: flex; align-items: center; gap: 0; border: 1px solid var(--line-field); border-radius: 8px; background: var(--surface); padding-right: 12px; }
.wa-subfield input { border: 0 !important; box-shadow: none !important; }
.wa-subfield:focus-within { border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 98, 0, .25); }
.wa-ok { color: var(--green); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.wa-ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.wa-ok .linkbtn { color: var(--text); min-height: 44px; }
.pub-sum .ticks { margin-top: 0; }
.pub-pay .checkout { margin-top: 18px; min-height: 120px; }
.mockpay { margin-top: 18px; padding: 18px 20px; border: 1px dashed var(--line-field); border-radius: 10px; font-size: 0.9375rem; line-height: 1.5; }

/* ---------- the owner's dashboard ---------- */
.dash-nav a[aria-current] { font-weight: 600; }
.to-dash { display: inline-flex; align-items: center; gap: 6px; }
.to-dash[hidden] { display: none; }
.to-dash svg { width: 16px; height: 16px; }
.dash-in { max-width: 1250px; margin: 0 auto; padding: 64px 30px 80px; }
.dash-new { margin-bottom: 36px; padding: 16px 20px; border-radius: 10px; background: #e8f4ec; color: #14532d; font-size: 0.9375rem; line-height: 1.5; }
.dash-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 68px; align-items: center; }
.live-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 28px; font-size: 1.125rem; }
.live-status .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); }
.live-status .dot.live { background: var(--green); }
.live-status .dot.going { animation: pulse 1.2s ease-in-out infinite; }
.live-status a { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.dash-sub { margin-top: 12px; color: var(--muted); }
.dash-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.dash-msg { margin-top: 12px; font-size: 0.875rem; }
.dash-msg:empty { display: none; }
.dash-preview { height: 280px; }
a.dash-preview:hover { border-color: var(--text); }
a.dash-preview:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.dash-bottom { display: grid; grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr); gap: 32px; margin-top: 64px; align-items: start; }
.dash-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 28px 34px; }
.dash-card h2 { font-size: 1.5625rem; letter-spacing: -0.04em; font-weight: 600; }
.dash-card > p.muted { margin-top: 8px; }
.dash-row { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.dash-row:last-child { padding-bottom: 6px; }
.dash-row-h { display: flex; align-items: flex-start; gap: 16px; }
.dash-row-h > div { flex: 1; min-width: 0; }
.dash-row h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.dash-row p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.dash-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: -10px; padding: 0 2px; border: 0; background: none; color: var(--orange-text); font: inherit; font-size: 1rem; font-weight: 500; white-space: nowrap; cursor: pointer; }
.dash-go:hover { color: var(--text); }
.dash-go[aria-expanded="true"] .arrow { transform: rotate(90deg); }
.dash-go:disabled { color: var(--muted); cursor: default; }
.dash-tag { flex: none; padding: 4px 10px; border-radius: 99px; background: #f6efe2; color: #6f5221; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.dash-tag.ok { background: #e8f4ec; color: #14532d; }
.dash-more { margin-top: 14px; padding: 16px 18px; border-radius: 10px; background: var(--bg-soft); }
.dash-more .wa-dom { margin: 0; padding: 0; border: 0; }
/* "Get a domain": the picker inside the row's panel, then the one button that goes on to payment. */
.dash-domain { min-width: 0; }
.dash-domain .err { margin: 10px 0 0; color: var(--red); }
.dash-domain > .row { margin-top: 18px; }
.dash-domain > .row .btn { min-height: 48px; }
.plan-card .plan-price { margin-top: 12px; }
.plan-card p.small { margin-top: 6px; }
.dash-bill { margin-top: 18px; }
.dash-bill .dash-go { margin-top: 0; }
.dash-bill p { margin-top: 2px; }
.share-address { margin: 8px 0 4px; padding: 14px 16px; border-radius: 8px; background: var(--sunken); overflow-wrap: anywhere; }
.share-address code { font-size: 0.9375rem; user-select: all; }
.dash-share a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 999px) {
  .pub-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pub-side { position: static; order: -1; }
  .pub-preview { height: 220px; }
  .dash-top { grid-template-columns: 1fr; gap: 32px; }
  .dash-bottom { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
}
@media (max-width: 640px) {
  .pub-in { padding: 20px 20px 56px; }
  .back-link { margin-bottom: 8px; }
  .pub h1, .dash h1 { font-size: 2.5rem; letter-spacing: -0.05em; }
  .pub-intro { font-size: 1rem; line-height: 1.5; margin-top: 14px; }
  .pub-grid { margin-top: 28px; }
  .pub-preview { height: 180px; }
  .pub-plan .btn--lg, .pub-addr .btn--lg, .mockpay .btn--lg { width: 100%; }
  .dash-in { padding: 36px 20px 56px; }
  .dash-preview { height: 200px; }
  .dash-actions .btn { flex: 1 1 auto; }
  .dash-card { padding: 22px 20px; }
  .dash-row-h { flex-wrap: wrap; }
  .dash-row-h > div { flex-basis: 100%; }
  .dash-go { margin-top: 0; }
  .dash-domain > .row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .live-status .dot.going { animation: none; } }

/* ---------- build section 4.8 (plan §7): the publish page's panel card, radio cards and price sentence; the
   years picker; the dashboard plan card's rows and its confirm sheets ---------- */
/* The panel card: the one raised object on the screen, raised the way the idea box and /billing's main card are
   (styles.css --shadow). While "Check your details" is waiting, that card is the one to act on, so it carries the
   lift and the plan sits flat under it. */
.pub-card { padding: 28px 30px; background: var(--surface); border: 1px solid var(--line-field); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.pub-card > p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }
.pub-card > .pub-warn { margin: 16px 0 0; }
.pub-card > .plan-price { margin-top: 12px; }
.pub-plan > .cyd { border-color: var(--line-field); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.pub-plan > .cyd ~ .pub-card { border-color: var(--line-2); box-shadow: none; }
/* Radio cards (choice.js): the card is the label. Checked is the filled dot and the heavier edge, never colour alone.
   Side by side when the panel card is wide enough; the rows are then shared (subgrid) so both figures sit on one line. */
.pub-card { container-type: inline-size; }
.rcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0; }
.rcard { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-content: start; gap: 4px 12px; min-height: 44px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
@container (min-width: 440px) {
  .rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .rcard { grid-row: span 3; grid-template-rows: subgrid; }
}
.rcard:hover { border-color: var(--line-field); }
.rcard input { grid-row: 1 / span 3; align-self: start; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); cursor: pointer; }
.rcard-t, .rcard-f, .rcard-n { grid-column: 2; min-width: 0; }
.rcard-t { font-weight: 600; line-height: 1.3; }
.rcard-f { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rcard-f small { font-size: 0.9375rem; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
.rcard-n { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.rcard:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.rcard:has(input:focus-visible), .pub-addr .wa-opt:has(input:focus-visible), .dpick .wa-res label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.rcard input:focus-visible, .pub-addr .wa-opt input:focus-visible, .dpick .wa-res input:focus-visible { outline: none; }
/* The price sentence, above the button that leads to the charge: the money in bold, how to stop after it. */
.pub-card > .pub-price { margin: 20px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); }
.pub-price b { font-weight: 600; }
div.pub-fine { display: grid; gap: 6px; }
div.pub-fine a { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0; }
/* The web address step: the same radios as the plan cards; each domain found is a full 44 px row. */
.pub-addr .wa-opt input, .dpick .wa-res input { accent-color: var(--text); width: 20px; height: 20px; flex: none; }
.dpick .wa-res label { min-height: 48px; background: var(--surface); border-color: var(--line-2); border-radius: 8px; }
.dpick .wa-res label:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.dpick .wa-res b { font-weight: 600; }
.dpick .wa-res .p { font-variant-numeric: tabular-nums; }
.wa-years { margin: 16px 0 10px; }
.wa-years select { max-width: 340px; font-variant-numeric: tabular-nums; }
.wa-years-sum { margin-top: 8px; color: var(--text-2); font-variant-numeric: tabular-nums; }
/* The payment step: the two ways back are full touch targets. */
.pub-sum-acts { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: -6px; }
.pub-sum-acts .linkbtn { min-height: 44px; }
/* The dashboard's plan card: each thing they can do is a row, the whole row the button, with one line under it. */
.plan-acts { margin-top: 20px; border-bottom: 1px solid var(--line); }
.plan-act { padding: 2px 0 14px; border-top: 1px solid var(--line); }
.plan-act .dash-go { display: flex; justify-content: space-between; width: 100%; min-height: 48px; margin: 0; padding: 0; color: var(--text); font-weight: 600; text-align: left; white-space: normal; }
.plan-act .dash-go .icw { color: var(--orange-text); }
.plan-act .dash-go:hover { color: var(--orange-text); }
.plan-act .dash-go:disabled, .plan-act .dash-go:disabled .icw { color: var(--muted); }
.plan-act.danger .dash-go, .plan-act.danger .dash-go .icw { color: var(--red); }
.plan-act.danger .dash-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.plan-card .plan-act p { margin-top: 0; }
.plan-out:empty, .confirm-msg:empty { display: none; }
.plan-card .plan-more { margin-top: 4px; }
.plan-card > .btn--sm { min-height: 44px; margin-top: 16px; }
.plan-more a { display: inline-flex; align-items: center; min-height: 44px; }
/* Their confirm sheets: what changes first, what it costs or what follows after it, the two buttons in the footer. */
.dash-confirm { display: grid; gap: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.dash-confirm .confirm-lead { color: var(--text); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.confirm-points { list-style: none; margin: 4px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.confirm-points li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); }
.confirm-acts { display: grid; gap: 8px; }
.confirm-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.confirm-btns .btn { flex: 1 1 auto; min-height: 46px; padding: 8px 18px; white-space: normal; text-align: center; }
.confirm-btns .btn.danger { border-color: var(--red); }
.confirm-btns .btn.danger:hover { --bg: #fbefee; border-color: var(--red); }
@media (min-width: 768px) { .sheet-wrap[data-kind="dialog"] .sheet-foot { padding: 14px 22px 18px; border-radius: 0 0 16px 16px; } }
@media (max-width: 640px) {
  .pub-card { padding: 20px 16px; }
  /* A found domain on a phone: the name on its own line (it only breaks after a dot or a dash), its price under it. */
  .dpick .wa-res label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 12px; }
  .dpick .wa-res input { grid-row: 1 / span 2; align-self: center; }
  .dpick .wa-res .p { text-align: left; white-space: normal; font-size: 0.875rem; color: var(--text-2); }
  .dpick .wa-res .p small { display: inline; margin-left: 6px; font-size: inherit; }
  .confirm-btns .btn { flex-basis: 100%; }
}
