/* The garage door portal (and its signup and admin pages): five intake steps (business, doors, openers, prices, send), a rail on the left, the step on the right.
   Same tokens and fonts as /garagedoor and /garagedoor/prices. Radius: cards 14px · controls 10px · pills full. */
:root {
  --night: #071426; --night-2: #0b1d35; --ink: #e8f0fb; --ink-2: #c3d2e6; --muted: #8ea3bf;
  --accent: #ffc629; --accent-ink: #121212; --ok: #3ee08f; --bad: #ff8a7a;
  --line: rgba(160, 200, 255, 0.16); --line-strong: rgba(160, 200, 255, 0.28); --well: rgba(0, 0, 0, 0.2);
  --grid: rgba(120, 180, 255, 0.05); --grid-strong: rgba(120, 180, 255, 0.1);
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --r-card: 14px; --r-control: 10px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; background-color: var(--night);
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, a, label { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: 0; }
.label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) max(16px, env(safe-area-inset-right, 0px)) 96px max(16px, env(safe-area-inset-left, 0px)); }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.brand { font-weight: 700; text-decoration: none; }
.brand b { color: var(--accent); }
.brand span { font-weight: 500; color: var(--ink-2); }
.intro { margin: clamp(28px, 5vw, 48px) 0 clamp(24px, 4vw, 36px); display: grid; gap: 14px; max-width: 46em; }
.intro h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; }
.intro p { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 18px); }

.card { border: 1px solid var(--line-strong); border-radius: var(--r-card); background: linear-gradient(180deg, var(--night-2), var(--night)); padding: clamp(16px, 2.6vw, 24px); }
.card h2 { font-size: 21px; font-weight: 700; }
.card > .muted { margin-top: 4px; font-size: 14px; }
.card + .card, .stack > * + * { margin-top: 18px; }
.field { display: grid; gap: 4px; }
.field > span { font-size: 13px; color: var(--muted); }
.field > span small { color: var(--muted); opacity: 0.8; }
.text, select, textarea { width: 100%; font: 500 15px var(--font); color: var(--ink); background: var(--well); border: 1px solid var(--line-strong); border-radius: var(--r-control); padding: 9px 10px; }
.text:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.text.bad { border-color: var(--bad); }
textarea { resize: vertical; min-height: 64px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; margin-top: 14px; }
.grid2 .wide { grid-column: 1 / -1; }
.err { color: var(--bad); font-size: 13px; }
.msg { font-size: 14px; }
.msg.ok { color: var(--ok); }
.msg.bad { color: var(--bad); }
.btn { display: inline-flex; justify-content: center; gap: 8px; align-items: center; cursor: pointer; border: 0; font: 600 15px var(--font); background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 999px; min-height: 48px; user-select: none; -webkit-user-select: none; transition: transform 160ms var(--ease-out), filter 150ms ease, opacity 150ms ease; text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.x { background: none; border: 0; color: var(--muted); font: 600 18px var(--font); cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1; }
.x:hover { color: var(--bad); }

/* money inputs, like the price sheet */
.inp { width: 128px; display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--well); padding: 0 10px; transition: border-color 150ms ease; }
.inp:focus-within { border-color: var(--accent); }
.inp span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.inp input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 16px var(--mono); padding: 9px 2px 9px 4px; text-align: right; font-variant-numeric: tabular-nums; }
.inp input::placeholder { color: var(--muted); opacity: 0.55; font-weight: 400; }
.inp input:focus { outline: none; }
.inp.set { border-color: rgba(62, 224, 143, 0.45); }
.inp.bad { border-color: var(--bad); }
.inp.pct { width: 92px; }
.rows { margin-top: 14px; display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .what b { font-weight: 600; }
.row.sub .what { padding-left: 18px; }
.row.sub .what b { font-weight: 500; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.row .what small { display: block; font-size: 12.5px; color: var(--muted); }
.doors .row { grid-template-columns: minmax(0, 1fr) auto auto; }
.doors .head { padding: 0 0 4px; border: 0; }
.doors .head span { width: 128px; text-align: right; }
.range-row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 14px; align-items: center; }
.range-row label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }

/* the layout: rail + step */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.rail { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.rail .who span { min-width: 0; overflow-wrap: anywhere; } /* a long sign-in email must not push the steps under the form */
.rail button[data-go] { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; text-align: left; background: none; border: 1px solid transparent; border-radius: var(--r-control); padding: 10px 12px; color: var(--ink-2); font: 500 15px var(--font); cursor: pointer; }
.rail button[data-go] .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 600 13px var(--mono); color: var(--muted); }
.rail button[data-go].now { border-color: var(--line-strong); background: var(--well); color: var(--ink); }
.rail button[data-go].now .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rail button[data-go].done .n { border-color: var(--ok); color: var(--ok); }
.rail button[data-go].bad .n { border-color: var(--bad); color: var(--bad); }
/* live mode: the way to the prices, right under the status (2026-11-25) */
.rail .rail-prices { margin: 0 12px; justify-self: start; }
.rail .save { font-size: 12.5px; color: var(--muted); padding: 8px 12px; min-height: 34px; }
.rail .save.bad { color: var(--bad); }
.step { min-width: 0; }
.step > .card + .card { margin-top: 18px; }

/* doors */
.other { border: 1px dashed var(--line-strong); border-radius: var(--r-card); padding: 14px 16px; margin-top: 10px; }
.other .head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* files */
.files { margin-top: 10px; display: grid; gap: 6px; }
.file { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-control); padding: 6px 8px; font-size: 13.5px; background: var(--well); }
.file img, .file .ico { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #fff; display: grid; place-items: center; font: 600 10px var(--mono); color: #333; }
.file .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small { display: block; color: var(--muted); font-size: 12px; }
.file.up { opacity: 0.6; }
.file.bad { border-color: var(--bad); }
.drop { margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; border: 1px dashed var(--line-strong); border-radius: var(--r-control); padding: 8px 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.drop.big { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; text-align: center; padding: 28px 16px; margin-top: 14px; font-size: 16px; color: var(--ink); border-width: 2px; border-radius: var(--r-card); }
.drop:hover, .drop.over { border-color: var(--accent); color: var(--ink); }
.drop input { display: none; }
.logo-prev { height: 56px; max-width: 220px; background: #fff; border-radius: 8px; padding: 6px; object-fit: contain; }
.swatch { width: 44px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px; background: var(--well); }
.colors { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.colors label { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; margin-top: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 3px; }
.table { margin-top: 14px; display: grid; gap: 8px; }
.trow { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.6fr) 128px 32px; gap: 8px; align-items: center; }
.thead { font-size: 12px; color: var(--muted); }
.summary { display: grid; gap: 6px; margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.summary b { color: var(--ink); }
.loading { padding: 40px 0; color: var(--muted); }
.start .card { max-width: 560px; }
.cnt { font: 600 12px var(--mono); color: var(--muted); }

@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(1.06); } .btn.ghost:hover { border-color: var(--accent); } }
@media (max-width: 880px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .rail button[data-go] { grid-template-columns: 24px auto; padding: 8px 10px; font-size: 14px; }
  .rail .save { width: 100%; }
  .trow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trow .inp { width: 100%; }
  .thead { display: none; }
}
@media (max-width: 520px) {
  .doors .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; }
  .doors .row .what { grid-column: 1 / -1; }
  .doors .head { display: none; }
  .doors .row .inp { width: 100%; gap: 4px; }
  .doors .row .inp::before { font: 400 12px var(--mono); color: var(--muted); margin-right: auto; white-space: nowrap; }
  .doors .row .inp.one::before { content: "1-car"; }
  .doors .row .inp.two::before { content: "2-car"; }
  .doors .row .inp input { width: 64px; flex: none; }
  .inp { width: 112px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* login / signup boxes and the admin table */
.start .card { max-width: 560px; }
.devlink { word-break: break-all; font-family: var(--mono); font-size: 12.5px; }
.who { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.cust { display: grid; gap: 10px; margin-top: 14px; }
.cust .c { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--well); padding: 12px 14px; display: grid; gap: 8px; }
.cust .c .top-row { display: flex; gap: 10px 16px; align-items: baseline; flex-wrap: wrap; }
.cust .c h3 { font-size: 17px; }
.cust .c .meta { color: var(--muted); font-size: 13px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.cust .c .meta .fee { display: inline-flex; align-items: center; gap: 6px; color: var(--ink, inherit); cursor: pointer; }
.cust .c .contact { display: flex; gap: 4px 14px; align-items: baseline; flex-wrap: wrap; font-size: 14.5px; }
.cust .c .contact .label { font-size: 11px; }
.cust .c .contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cust .c .acts { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.cust .c select { width: auto; padding: 6px 10px; font-size: 13.5px; }
.cust .c textarea { min-height: 40px; font-size: 13.5px; }
.pill { font: 600 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; color: var(--ink-2); }
.pill.live, .pill.ready { border-color: var(--ok); color: var(--ok); }
.pill.submitted, .pill.review { border-color: var(--accent); color: var(--accent); }
.pill.paused, .pill.cancelled { border-color: var(--bad); color: var(--bad); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.filters button { background: none; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font: 500 13px var(--font); padding: 5px 12px; cursor: pointer; }
.filters button.now { border-color: var(--accent); color: var(--ink); }
/* after publishing: prices + go live */
.inp.need { border-color: rgba(255, 198, 41, 0.55); }
.need-txt { color: var(--accent); }
.snippet { background: var(--well); border: 1px solid var(--line); border-radius: var(--r-control); padding: 12px; font: 12.5px var(--mono); white-space: pre-wrap; word-break: break-all; margin: 10px 0 0; }
/* The menu editor: the business's own door page in an iframe, sized to its content (it posts its height). */
.menu-frame { display: block; width: 100%; height: 720px; min-height: 320px; margin-top: 14px; border: 0; border-radius: var(--r-card); background: #fff; }

/* admin: demo visits */
.visits { margin-top: 14px; overflow-x: auto; }
.visits table { width: 100%; border-collapse: collapse; font-size: 14px; }
.visits th, .visits td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.visits th { color: var(--muted); font-weight: 500; font-size: 12px; }
.visits td .pill { margin-right: 4px; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.outreach-form { margin-top: 12px; }
.o-made { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.o-made input { flex: 1 1 22rem; min-width: 0; }
.o-logos { margin-top: 12px; display: grid; gap: 8px; }
.o-logo-list { display: flex; flex-wrap: wrap; gap: 8px; }
.o-logo-list button { width: 132px; height: 72px; padding: 6px; border-radius: 10px; border: 1px solid var(--line, #ccd); background: #fff; cursor: pointer; display: grid; place-items: center; }
.o-logo-list button[aria-pressed="true"] { outline: 3px solid var(--accent, #f5b700); outline-offset: 1px; }
.o-logo-list img { max-width: 100%; max-height: 100%; object-fit: contain; }
.o-logo-list .dark { background: #1b2433; }
.visits td.row-acts { display: flex; gap: 6px; }
/* admin, "Who we reached": opened links first, the rest folded by campaign */
.reach-find { max-width: 320px; margin-top: 12px; }
.reach-h { margin: 18px 0 6px; font-size: 15px; }
.reach-group { border-bottom: 1px solid var(--line); }
.reach-group summary { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 10px 4px; cursor: pointer; }
.reach-group summary:hover b { text-decoration: underline; }
.reach-group[open] summary { border-bottom: 1px solid var(--line); }
.reach-group table { margin: 0 0 8px; }
/* admin: jump buttons, kept on top while scrolling */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding: 8px 0; background: var(--night); border-bottom: 1px solid var(--line); }
#customers, #outreach, #reached { scroll-margin-top: 64px; }

/* "See their portal" from the admin: a bar that stays on top while one of us looks at a business's portal (view-only) */
.viewbar { position: sticky; top: 0; z-index: 50; display: flex; gap: 6px 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-size: 14.5px; text-align: center; }
.viewbar a { font-weight: 700; white-space: nowrap; }

/* The price step (portal-prices.js): one door at a time on its own screen. The door list on the left, the door in the
   middle, its brochure page on the right. Under 1180px the brochure becomes a button; under 760px so does the list. */
html.pz-open { overflow: hidden; }
.pz { position: fixed; inset: 0; z-index: 60; overflow: auto; background: var(--night); overscroll-behavior: contain; }
.pz-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--night-2); border-bottom: 1px solid var(--line); min-height: 61px; }
.pz-top .save { font-size: 12.5px; color: var(--muted); white-space: nowrap; } .pz-top .save.bad { color: var(--bad); }
.pz-listbtn { display: none; }
.pz-prog { flex: 1; min-width: 0; display: grid; gap: 5px; }
.pz-prog span { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-bar { height: 6px; border-radius: 99px; background: var(--well); overflow: hidden; }
.pz-bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width 350ms var(--ease-out); }
.pz-sum { margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); } .pz-sum b { color: var(--ink); }
.pz-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr) 440px; align-items: start; }
.pz-side { position: sticky; top: 61px; height: calc(100dvh - 61px); overflow: auto; border-right: 1px solid var(--line); padding: 10px 10px 30px; }
.pz-side h4 { margin: 14px 10px 6px; }
.pz-side button { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; width: 100%; text-align: left; border: 0; background: transparent; color: inherit; font: inherit; border-radius: var(--r-control); padding: 8px 10px; min-height: 44px; cursor: pointer; }
.pz-side button[aria-current="true"] { background: rgba(255, 198, 41, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 198, 41, 0.45); }
.pz-side button b { display: block; font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-side button small { display: block; font-size: 12px; color: var(--muted); }
.pz-side button.isoff b { color: var(--muted); text-decoration: line-through; }
.pz-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pz-dot.done { background: var(--ok); border-color: var(--ok); color: #06231a; }
.pz-dot.part { border-color: var(--accent); background: conic-gradient(var(--accent) 50%, transparent 0); }
.pz-dot.off { border-style: dashed; color: var(--muted); }
.pz-main { min-width: 0; max-width: 780px; padding: 24px clamp(16px, 3vw, 36px) 130px; }
.pz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.pz-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-top: 4px; }
.pz-acts { display: flex; gap: 8px; flex-wrap: wrap; } .pz-acts .btn { min-height: 44px; }
.pz-brobtn { display: none; }
.pz-main .card { margin-top: 18px; }
.pz-main .card h3 { font-size: 17px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pz-main .card h3 small { font-weight: 400; font-size: 13px; color: var(--muted); }
.pz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pz-money { display: flex; align-items: center; background: var(--well); border: 1px solid var(--line-strong); border-radius: var(--r-control); padding: 0 12px; height: 46px; transition: border-color 150ms ease; }
.pz-money:focus-within { border-color: var(--accent); }
.pz-money.set { border-color: rgba(62, 224, 143, 0.45); } .pz-money.bad { border-color: var(--bad); }
.pz-money i { font-style: normal; color: var(--muted); font-size: 16px; }
.pz-money input { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); font: 600 17px var(--mono); padding: 0 4px; text-align: right; font-variant-numeric: tabular-nums; }
.pz-money input::placeholder { color: var(--muted); opacity: 0.55; font-weight: 400; }
.pz-money.big { height: 60px; } .pz-money.big input { font-size: 24px; }
.pz-fill { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-control); font-size: 14px; color: var(--ink-2); }
.pz-fill .pz-money { height: 42px; width: 120px; } .pz-fill .btn { min-height: 42px; }
.pz-rows { margin-top: 8px; }
.pz-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px 44px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.pz-row.two { grid-template-columns: minmax(0, 1fr) 132px; }
.pz-row .what b { font-weight: 500; } .pz-row .what code { font: 12px var(--mono); color: var(--muted); margin-left: 6px; }
.pz-row .what small { display: block; font-size: 12.5px; color: var(--muted); } .pz-row .what small .ok { color: var(--ok); }
.pz-x { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-control); background: transparent; color: var(--muted); font: 18px/1 var(--font); cursor: pointer; }
.pz-x:hover { color: var(--bad); border-color: var(--bad); }
.pz-row.isoff .what b { text-decoration: line-through; color: var(--muted); } .pz-row.isoff .pz-money { opacity: 0.35; }
.pz-row.isoff .pz-x { color: var(--ok); border-color: var(--ok); font-size: 13px; }
.pz-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.pz-offcard { text-align: center; padding: 34px 18px; } .pz-offcard h3 { justify-content: center; }
.pz-wrong textarea { margin-top: 12px; min-height: 110px; font-size: 16px; }
.pz-sent { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(62, 224, 143, 0.4); background: rgba(62, 224, 143, 0.08); border-radius: 12px; font-size: 14.5px; } .pz-sent b { color: var(--ok); }
.pz-foot { position: fixed; left: 270px; right: 440px; bottom: 0; z-index: 4; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 3vw, 36px) max(12px, env(safe-area-inset-bottom, 0px)); background: rgba(7, 20, 38, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.pz-foot .left { font-size: 13.5px; color: var(--muted); min-width: 0; } .pz-nav { display: flex; gap: 10px; } .pz-nav .btn { border-radius: 12px; min-height: 52px; white-space: nowrap; }
.pz-bro { position: sticky; top: 61px; height: calc(100dvh - 61px); overflow: auto; border-left: 1px solid var(--line); padding: 18px 16px 30px; }
.pz-bro h4 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; }
.pz-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pz-chips button { border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: 13px var(--font); border-radius: 99px; padding: 5px 12px; min-height: 34px; cursor: pointer; }
.pz-chips button[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); font-weight: 600; }
.pz-page { display: block; width: 100%; min-height: 200px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; cursor: zoom-in; }
.pz-hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }
.pz-nobro { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 40px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.pz-zoom { position: fixed; inset: 0; z-index: 20; overflow: auto; background: rgba(2, 8, 18, 0.92); padding: 64px 12px 30px; }
.pz-zoom img { display: block; width: min(1100px, 170vw); max-width: none; margin: 0 auto; border-radius: 8px; background: #fff; }
.pz-zbar { position: fixed; top: 0; left: 0; right: 0; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--night-2); border-bottom: 1px solid var(--line); overflow-x: auto; }
.pz-zbar .pz-chips { margin: 0; flex-wrap: nowrap; } .pz-zbar .btn { flex: none; }
@media (max-width: 1180px) {
  .pz-shell { grid-template-columns: 250px minmax(0, 1fr); } .pz-bro { display: none; } .pz-brobtn { display: inline-flex; } .pz-foot { left: 250px; right: 0; }
}
@media (max-width: 760px) {
  .pz-shell { grid-template-columns: minmax(0, 1fr); } .pz-listbtn { display: inline-flex; flex: none; } .pz-top .save { display: none; }
  .pz-side { position: fixed; inset: 61px 0 0 0; height: auto; z-index: 15; background: var(--night); border: 0; display: none; } .pz-side.open { display: block; }
  .pz-foot { left: 0; } .pz-foot .left { display: none; } .pz-nav { flex: 1; } .pz-nav #pz-next { flex: 1; }
  .pz-two { grid-template-columns: 1fr; } .pz-row { grid-template-columns: minmax(0, 1fr) 110px 44px; } .pz-row.two { grid-template-columns: minmax(0, 1fr) 110px; } .pz-main { padding-top: 16px; }
}
/* An account with garage doors and gates: a switch between its two portals (portal.js productSwitch). */
.pswitch { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.pswitch a[aria-current] { pointer-events: none; }
.pill.product { font-size: 11px; vertical-align: middle; margin-left: 6px; background: rgba(255,255,255,.08); color: var(--ink-2); }

/* The live portal's sections (portal-live.js draws each in its own box): the same gap as between two cards. */
#lv-sites:not(:empty), #lv-menu:not(:empty), #lv-rest:not(:empty), #lv-plan:not(:empty), #lv-more:not(:empty) { margin-top: 18px; }
/* "Your websites" (portal-sites.js): one row per website, its phone and its lead email. */
.site-rows { margin-top: 14px; display: grid; }
.site-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 14px; align-items: end; padding: 12px 0; border-top: 1px solid var(--line); }
.site-row:first-child { border-top: 0; padding-top: 0; }
.site-name { align-self: center; min-width: 0; }
.site-name small { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.site-row .err { grid-column: 1 / -1; }
@media (max-width: 760px) { .site-row { grid-template-columns: 1fr; } }
