/* Platform UI: marketing pages, onboarding and the customer dashboard. */
[hidden] { display: none !important; }
:root {
  --ink: #10291f; --ink-2: #2a4238; --muted: #52655d; --paper: #f2f5f3; --white: #ffffff; --line: #d6dfdb; --line-2: #e6ece9;
  --cobalt: #2a3fe0; --cobalt-ink: #1a2aa8; --cobalt-soft: #e7eafe; --marigold: #ffc53d; --marigold-soft: #fff3d1;
  --ok: #1d7a4f; --ok-soft: #e2f4ea; --warn: #9a5b00; --warn-soft: #fff1d6; --err: #b3261e; --err-soft: #fde7e5;
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif; --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px; --r-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 3.6vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); font: 600 0.98rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--ink-2); }
.btn--primary { background: var(--cobalt); border-color: var(--cobalt); }
.btn--primary:hover { background: var(--cobalt-ink); border-color: var(--cobalt-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn--sm { min-height: 34px; padding: 6px 12px; font-size: 0.88rem; border-radius: 8px; }
.btn--danger { background: var(--white); color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, white); }
.btn--danger:hover { background: var(--err-soft); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--cobalt); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > span, .field > label, .label { font-weight: 600; font-size: 0.94rem; }
.field small, .hint, .field > span.hint { color: var(--muted); font-size: 0.86rem; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=search], input[type=date], select, textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
input[type=color] { width: 52px; height: 44px; padding: 3px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
input[type=file] { font: inherit; font-size: 0.92rem; }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cobalt); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }

/* choice tiles (radio cards) */
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice > span { display: block; height: 100%; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.choice strong { display: block; margin-bottom: 2px; }
.choice small { color: var(--muted); }
.choice input:checked + span { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }

/* notices */
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.flash--err { background: var(--err-soft); color: var(--err); }
.flash--warn { background: var(--warn-soft); color: var(--warn); }
.demo-bar { background: var(--marigold); color: var(--ink); font-size: 0.86rem; text-align: center; padding: 7px 16px; }
.demo-bar a { color: var(--ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--err { background: var(--err-soft); color: var(--err); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ============ marketing ============ */
.mk-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); }
.mk-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.mk-logo { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
/* The mark: a printer's type case seen from above, one compartment filled. */
.mk-logo__mark { width: 28px; height: 28px; flex: none; background: url("/assets/favicon.svg") center / contain no-repeat; }
.mk-nav { display: flex; align-items: center; gap: 22px; }
.mk-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
@media (max-width: 720px) { .mk-nav { gap: 14px; } .mk-nav a:not(.btn):not(.langswitch) { display: none; } }
/* Language switch: a small outlined chip, always visible. */
.langswitch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.langswitch::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; opacity: 0.7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9s1.3-6.3 3.8-9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9s1.3-6.3 3.8-9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.langswitch:hover { border-color: var(--ink); }
.langswitch.small { padding: 3px 9px; font-size: 0.8rem; }
@media (max-width: 720px) { .app-top__right .muted.small { display: none; } }

.mk-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.mk-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mk-hero h1 { font-size: clamp(2.6rem, 4.8vw + 1rem, 5rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 0.35em; }
.mk-hero .lede { font-size: clamp(1.08rem, 0.5vw + 1rem, 1.28rem); color: var(--ink-2); max-width: 46ch; }
.try { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin: 28px 0 18px; max-width: 520px; }
.try__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.try label { font-weight: 600; font-size: 0.9rem; display: grid; gap: 6px; }
.try__note { font-size: 0.86rem; color: var(--muted); margin: 10px 0 0; }
.mk-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 900px) { .mk-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .try__row { grid-template-columns: 1fr; } }

/* the live mini-site */
.browser { background: var(--white); border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(16, 41, 31, .35); overflow: hidden; border: 1px solid var(--line); transform: rotate(0.6deg); }
.browser__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--line-2); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.browser__url { flex: 1; background: var(--white); border-radius: 7px; padding: 5px 10px; font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__url b { color: var(--ink); font-weight: 600; }
.mini { --p: #2f5d50; --a: #e9a23b; --bg: #fff; --t: #142; --s: #eef3f1; --op: #fff; font-family: var(--mini-body, system-ui); color: var(--t); background: var(--bg); transition: background-color .4s ease; }
.mini__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid color-mix(in srgb, var(--t) 10%, transparent); }
.mini__brand { display: flex; align-items: center; gap: 9px; font-family: var(--mini-head); font-weight: 700; font-size: 1.02rem; }
.mini__nav { display: flex; gap: 14px; font-size: 0.78rem; opacity: .7; }
.mini__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; padding: 26px 20px 30px; align-items: center; }
.mini__hero h3 { font-family: var(--mini-head); font-size: 1.7rem; line-height: 1.05; margin: 0 0 10px; letter-spacing: -0.02em; }
.mini__hero p { font-size: 0.85rem; opacity: .75; margin: 0 0 14px; }
.mini__btn { display: inline-block; background: var(--p); color: var(--op); font-size: 0.8rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.mini__art { aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.mini__art svg { width: 100%; height: 100%; display: block; }
.mini__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 20px 22px; background: var(--s); }
.mini__strip div { font-size: 0.74rem; }
.mini__strip b { display: block; font-family: var(--mini-head); font-size: 0.86rem; margin: 6px 0 2px; }
.mini__strip i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--p); }
@media (max-width: 460px) { .mini__nav { display: none; } .mini__hero { grid-template-columns: 1fr; } .mini__art { aspect-ratio: 16 / 9; } }

.mk-section { padding: clamp(56px, 8vw, 104px) 0; }
.mk-section--white { background: var(--white); }
.mk-section__head { max-width: 640px; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.step::before { content: counter(step); font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 14px; color: var(--cobalt); }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4px 32px; }
.included li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.included li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 3px var(--marigold-soft); transform: translateY(-1px); }
ul.plain { list-style: none; margin: 0; padding: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.plan h3 { font-size: 1.4rem; margin-bottom: 2px; }
.plan__price { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; margin: 14px 0 0; }
.plan__price small { font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 18px 0 24px; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.extras { margin-top: 36px; }
.extras h3 { font-size: 1.15rem; margin-bottom: 12px; }
.extras__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.extras__list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.extras__list span { grid-column: 1; color: var(--muted); font-size: 0.95rem; }
.extras__list em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 700; white-space: nowrap; }
@media (max-width: 460px) { .extras__list li { grid-template-columns: 1fr; } .extras__list em { grid-column: 1; grid-row: auto; } }

.qa { max-width: 760px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.qa details p { color: var(--ink-2); }
.mk-footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.9rem; }
.mk-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* auth */
.auth { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 32px 16px 64px; }
.auth__card { width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); }
.auth__card h1 { font-size: 2rem; }
.auth__plan { display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-size: 0.94rem; }

/* ============ app ============ */
.app-top { background: var(--white); border-bottom: 1px solid var(--line); }
.app-top .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.app-top__right { display: flex; align-items: center; gap: 14px; font-size: 0.92rem; }
.app-top form { margin: 0; }
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.app > * { min-width: 0; }
.side { background: var(--white); border-right: 1px solid var(--line); padding: 20px 14px; }
.side__site { padding: 6px 10px 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; }
.side__site strong { display: block; font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; }
.side__site a { font-size: 0.84rem; word-break: break-all; }
.side nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.side nav a:hover { background: var(--paper); color: var(--ink); }
.side nav a[aria-current="page"] { background: var(--cobalt-soft); color: var(--cobalt-ink); font-weight: 600; }
.side nav .count { font-size: 0.75rem; background: var(--cobalt); color: var(--white); border-radius: 999px; padding: 1px 7px; font-weight: 700; }
.main { padding: clamp(20px, 3vw, 40px); min-width: 0; }
.main__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.main__head h1 { font-size: clamp(1.7rem, 1.2vw + 1.2rem, 2.3rem); margin: 0; }
.main__head p { margin: 6px 0 0; color: var(--muted); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); margin-bottom: 20px; }
.panel h2 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 14px; }
.panel--flush { padding: 0; overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.stat b { display: block; font-family: var(--f-display); font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.88rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; font-size: 0.82rem; font-weight: 600; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--paper); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state h2 { color: var(--ink); }
.site-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.preview-frame { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.msg { border-bottom: 1px solid var(--line-2); padding: 16px 0; }
.msg:last-child { border-bottom: 0; }
.msg--unread { border-left: 3px solid var(--cobalt); padding-left: 14px; }
.msg header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.msg p { white-space: pre-wrap; margin: 0; }
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .side nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .side nav a { white-space: nowrap; }
  .side__site { display: none; }
}

/* wizard */
.wiz { max-width: 820px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 32px) 80px; }
.wiz__steps { display: flex; gap: 6px; margin-bottom: 28px; padding: 0; list-style: none; }
.wiz__steps li { flex: 1; font-size: 0.8rem; color: var(--muted); }
.wiz__steps li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.wiz__steps li.is-done::before { background: var(--ink); }
.wiz__steps li.is-current { color: var(--ink); font-weight: 600; }
.wiz__steps li.is-current::before { background: var(--cobalt); }
@media (max-width: 560px) { .wiz__steps li span { display: none; } }
.wiz h1 { font-size: clamp(1.9rem, 2vw + 1.2rem, 2.8rem); }
.wiz__lede { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 28px; max-width: 60ch; }
.wiz__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.reveal { display: none; margin-top: 14px; }
.reveal.is-on { display: block; }
.reveal:not(.is-on) { display: none !important; }
.logo-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.logo-opt > span { display: flex; align-items: center; min-height: 84px; }
.logo-opt .logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-opt .logo__name { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.logo-opt .logo__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--line-2); }
.domain-list { display: grid; gap: 8px; margin-top: 12px; }
.domain-list .choice > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.domain-list .taken > span { opacity: .55; }
.swatches { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.swatches label { display: flex; gap: 8px; align-items: center; font-weight: 500; }

/* build progress */
.build { list-style: none; padding: 0; margin: 24px 0; }
.build li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; color: var(--muted); }
.build li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.build li.is-running { color: var(--ink); }
.build li.is-running::before { border-color: var(--cobalt); border-right-color: transparent; animation: spin .8s linear infinite; }
.build li.is-done { color: var(--ink); }
.build li.is-done::before { background: var(--ok); border-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; }
.build li.is-failed::before { background: var(--err); border-color: var(--err); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .build li.is-running::before { animation: none; border-right-color: var(--cobalt); } .browser { transform: none; } }

/* demo checkout */
.paybox { max-width: 460px; margin: 48px auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.paybox__amount { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 18px; }

/* editor */
.ed { display: grid; grid-template-columns: minmax(340px, 440px) 1fr; height: calc(100vh - 60px); }
.ed__panel { border-right: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; min-height: 0; }
.ed__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ed__bar .actions { flex-wrap: nowrap; }
.ed__bar a { font-size: 0.9rem; }
.ed__status { font-size: 0.82rem; color: var(--muted); line-height: 1.3; min-width: 0; }
.ed__tabs { display: flex; gap: 2px; padding: 8px 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.ed__tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px; font: 600 0.9rem var(--f-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.ed__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--cobalt); }
.ed__body { overflow-y: auto; padding: 16px; flex: 1; }
.ed__preview { background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
.ed__previewbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.ed__viewing { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 16px; background: #fff6dc; border-bottom: 1px solid #f0d78a; font-size: 0.9rem; }
.ed__viewing[hidden] { display: none; }
.history { display: grid; gap: 8px; }
.history__item { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.history__item.is-current { border-color: #9fd3b4; }
.history__item.is-viewing { outline: 2px solid var(--cobalt); outline-offset: -1px; }
.history__text .pill { margin-left: 6px; }
.history__item .actions { flex-wrap: nowrap; }
.ed__devices button { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font: 500 0.82rem var(--f-body); cursor: pointer; }
.ed__devices button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ed__frame-wrap { flex: 1; display: flex; justify-content: center; padding: 16px; min-height: 0; }
.ed__frame-wrap iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: max-width .25s ease; }
.ed__frame-wrap.is-mobile iframe { max-width: 390px; }
.sec { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: var(--white); }
.sec > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600; }
.sec > summary::-webkit-details-marker { display: none; }
.sec > summary .sec__type { font-size: 0.78rem; color: var(--muted); font-weight: 500; margin-left: auto; white-space: nowrap; }
.sec__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sec__body { padding: 4px 14px 14px; border-top: 1px solid var(--line-2); }
.sec__tools { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.item { border: 1px dashed var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.item__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.85rem; color: var(--muted); }
.imgfield { display: flex; gap: 10px; align-items: center; min-width: 0; }
.imgfield input[type=file] { min-width: 0; flex: 1 1 auto; width: 100%; }
.imgfield img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--line-2); flex: none; }
.imgfield__ph { width: 72px; height: 56px; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--line-2), var(--line-2) 6px, var(--white) 6px, var(--white) 12px); flex: none; }
.icons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.icons button { background: var(--white); border: 1px solid var(--line-2); border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); padding: 0; }
.icons button[aria-pressed="true"] { border-color: var(--cobalt); color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt-soft); }
.modal { position: fixed; inset: 0; background: rgba(16, 41, 31, .45); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal__box { background: var(--white); border-radius: var(--r-lg); width: 100%; max-width: 760px; max-height: 88vh; display: flex; flex-direction: column; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal__head h2 { margin: 0; font-size: 1.2rem; }
.modal__body { padding: 16px 20px; overflow-y: auto; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.photo-grid button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--line-2); aspect-ratio: 4 / 3; }
.photo-grid button:hover, .photo-grid button:focus-visible { border-color: var(--cobalt); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; z-index: 200; }
@media (max-width: 900px) {
  .ed { grid-template-columns: minmax(0, 1fr); height: auto; }
  .ed__panel { border-right: 0; min-width: 0; }
  .ed__body { overflow: visible; }
  .ed__preview { height: 80vh; }
}

/* materials uploader */
.drop { border-radius: var(--r-lg); }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__zone { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 34px 20px; border: 2px dashed var(--line); border-radius: var(--r-lg); background: var(--white); cursor: pointer; color: var(--muted); font-size: 0.9rem; transition: border-color .15s, background-color .15s; }
.drop__zone strong { color: var(--ink); font-size: 1.08rem; font-family: var(--f-display); letter-spacing: -0.01em; margin-bottom: 4px; }
.drop__input:focus-visible + .drop__zone { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.drop.is-over .drop__zone, .drop__zone:hover { border-color: var(--cobalt); background: var(--cobalt-soft); }
.drop__foot { margin: 10px 0 0; }
.mats { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.mat { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.mat--rejected { border-color: color-mix(in srgb, var(--err) 45%, white); background: var(--err-soft); }
.mat__thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--line-2); }
.mat__thumb--doc { display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
.mat--rejected .mat__thumb--doc { background: var(--err); color: var(--white); font-size: 1.1rem; }
.mat__body { display: grid; gap: 2px; min-width: 0; }
.mat__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.mat__meta { font-size: 0.82rem; color: var(--muted); }
.mat__note { font-size: 0.84rem; color: var(--ink-2); }
.mat__note--err { color: var(--err); font-weight: 600; }
.mat__status { font-size: 0.8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mat__status--ok { color: var(--ok); }
.mat--rejected .mat__status { color: var(--err); }
.mat__remove { font-size: 0.84rem; white-space: nowrap; }
.mat__bar { display: block; height: 4px; background: var(--line-2); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.mat__bar span { display: block; height: 100%; width: 0; background: var(--cobalt); transition: width .2s; }
@media (max-width: 560px) { .mat { grid-template-columns: 40px 1fr; } .mat__status, .mat__remove { grid-column: 2; justify-self: start; } .mat__thumb { width: 40px; height: 40px; } }

/* problems: whose side, what happened, what to do */
.problem { border: 1px solid var(--line); border-left-width: 5px; border-radius: var(--r); padding: 14px 16px; margin: 0 0 12px; background: var(--white); }
.problem h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.problem p { margin: 0 0 6px; }
.problem__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.problem__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px !important; }
.problem--provider { border-left-color: var(--warn); }
.problem--you { border-left-color: var(--cobalt); }
.problem--us { border-left-color: var(--err); }
.whose { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.whose--provider { background: var(--warn-soft); color: var(--warn); }
.whose--you { background: var(--cobalt-soft); color: var(--cobalt-ink); }
.whose--us { background: var(--err-soft); color: var(--err); }

/* payments setup */
.setup-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.setup-steps > li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.setup-steps > li:last-child { border-bottom: 0; }
.setup-steps > li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--line-2); color: var(--ink-2); }
.setup-steps > li.is-done::before { content: ""; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat; }
.setup-steps > li.is-current::before { background: var(--cobalt); color: var(--white); }
.setup-steps h3 { margin: 4px 0 4px; font-size: 1.02rem; }
.setup-steps p { margin: 0; color: var(--ink-2); }
.needs { margin: 8px 0 0; padding-left: 18px; color: var(--ink); }
.needs li { margin: 3px 0; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line); }
.checklist li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--ok); }
.checklist li.todo::before { border-color: var(--warn); background: var(--warn-soft); }
.checklist small { display: block; color: var(--muted); }
.who { display: inline-block; font-size: 0.74rem; font-weight: 700; color: var(--muted); margin-left: 6px; }
.privacy-note { background: var(--paper); border-radius: var(--r); padding: 14px 16px; font-size: 0.92rem; }
.privacy-note p { margin: 0 0 6px; }
.testmode { background: var(--marigold-soft); border: 1px solid var(--marigold); border-radius: var(--r); padding: 10px 14px; font-weight: 600; margin-bottom: 18px; }

/* ---------- Admin ---------- */
.admin-badge { font-family: var(--f-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--marigold); color: var(--ink); border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: 3px; }
.admin-search { display: flex; gap: 8px; align-items: center; }
.admin-search input[type=search] { min-width: 260px; }
.admin-search--wide { margin-bottom: 8px; flex-wrap: wrap; }
.admin-search--wide input[type=search] { flex: 1; min-width: 220px; }
.admin-search select { width: auto; }
.admin-h3 { font-size: 1rem; margin: 22px 0 10px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-actions form { margin: 0; }
.admin-offline { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-offline input { min-width: 260px; }
.admin-problem { margin-bottom: 14px; }
.admin-problem form { margin-top: 6px; }
.admin-pre { white-space: pre-wrap; font-size: 12px; background: var(--paper); padding: 10px; border-radius: 8px; overflow-x: auto; }
.admin-privacy { background: var(--paper); }
.attention { list-style: none; margin: 0; padding: 0; }
.attention__item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 12px 14px; border-bottom: 1px solid var(--line-2); border-left: 3px solid var(--line); }
.attention__item:last-child { border-bottom: 0; }
.attention__item--err { border-left-color: var(--err); }
.attention__item--warn { border-left-color: var(--marigold); }
.attention__item--info { border-left-color: var(--line); }
@media (max-width: 720px) { .admin-search input[type=search], .admin-offline input { min-width: 0; width: 100%; } .main__head .admin-search { width: 100%; } }

/* Column chart (src/platform/charts.js): thin columns, 4px rounded tops, hairline grid. */
.cchart { margin: 0; }
.cchart__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.cchart__plot { display: grid; grid-template-columns: auto 1fr; gap: 8px; height: 160px; }
.cchart__y { display: flex; flex-direction: column; justify-content: space-between; font-size: 0.75rem; color: var(--muted); text-align: right; line-height: 1; }
.cchart__area { position: relative; border-bottom: 1px solid var(--line); }
.cchart__grid { position: absolute; inset: 0 0 auto 0; border-top: 1px solid var(--line-2); }
.cchart__cols { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.cchart__col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.cchart__bar { position: relative; width: 100%; max-width: 24px; background: var(--cobalt); border-radius: 4px 4px 0 0; min-height: 0; }
.cchart__bar.is-zero { height: 0 !important; }
.cchart__val { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px; font-size: 0.75rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cchart__col:hover .cchart__bar, .cchart__col:focus-visible .cchart__bar { background: var(--cobalt-ink); }
.cchart__col:focus-visible { box-shadow: 0 0 0 2px var(--cobalt-soft); border-radius: 4px; }
.cchart__tip { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 2; background: var(--ink); color: var(--white); font-size: 0.78rem; line-height: 1.35; padding: 6px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; }
.cchart__col:hover .cchart__tip, .cchart__col:focus-visible .cchart__tip { display: block; }
.cchart__x { display: flex; gap: 2px; margin-left: 30px; margin-top: 6px; font-size: 0.75rem; color: var(--muted); }
.cchart__x span { flex: 1; text-align: center; white-space: nowrap; overflow: visible; }
.cchart__x span:first-child { text-align: left; }
.cchart__x span:last-child { text-align: right; }
.cchart__table { margin-top: 10px; font-size: 0.85rem; }
.cchart__table summary { cursor: pointer; color: var(--cobalt); }
.admin-search input[type=search] { min-width: 320px; }
.admin-offline input { width: auto; flex: 1 1 260px; }
.is-admin .panel--flush { overflow-x: auto; }
@media (max-width: 720px) {
  .app-top .wrap { flex-wrap: wrap; row-gap: 8px; }
  .admin-search input[type=search] { min-width: 0; }
  .main__head .admin-search { width: 100%; }
  .main__head .admin-search input { flex: 1; }
}
@media (max-width: 420px) { .admin-badge { display: none; } }

/* Monthly / yearly switch (CSS only): two radios, then a segmented control. */
.billing-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--line-2); margin: 0 0 22px; }
.billing-toggle label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.billing-radio[value="month"]:checked ~ .billing-toggle label[for$="month"],
.billing-radio[value="year"]:checked ~ .billing-toggle label[for$="year"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 41, 31, 0.15); }
.billing-radio:focus-visible ~ .billing-toggle { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.only-year { display: none !important; }
.billing-radio[value="year"]:checked ~ * .only-month, .billing-radio[value="year"]:checked ~ .only-month { display: none !important; }
.billing-radio[value="year"]:checked ~ * p.only-year, .billing-radio[value="year"]:checked ~ * small.only-year { display: block !important; }
.billing-radio[value="year"]:checked ~ * a.only-year { display: inline-flex !important; }
.publish-panel { border: 2px solid var(--cobalt); }
.publish .choices { margin-bottom: 8px; }
.build li.is-skipped { opacity: 0.55; }
.invite__link { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.invite__link input { flex: 1; min-width: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; }
.import-box { margin-bottom: 24px; background: var(--paper); }

/* ideas for the coming weeks */
.ideas__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.idea { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf0; }
.idea p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; max-width: 62ch; }
.idea .actions form { margin: 0; }
.report table td { font-size: 0.95rem; }

/* appointments */
.booking-switch { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.booking-switch h2 { margin: 0 0 4px; }
.booking-switch p { margin: 0; }
.appt-day { font-size: 0.95rem; margin: 18px 20px 6px; color: var(--ink-2); }
.appt-cancel summary { list-style: none; display: inline-flex; }
.appt-cancel summary::-webkit-details-marker { display: none; }
.appt-cancel[open] form { margin-top: 10px; text-align: left; min-width: 260px; max-width: 360px; white-space: normal; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.service-edit { padding: 14px 0; border-top: 1px solid var(--line); }
.service-edit.is-off { opacity: 0.7; }
.service-edit--new h3 { margin: 0 0 12px; font-size: 1rem; }
.service-edit .field { margin-bottom: 10px; }
.week { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.week .field > span::first-letter { text-transform: uppercase; }

/* website check */
.score__bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.score__bar span { display: block; height: 100%; background: var(--cobalt); border-radius: 99px; }
.score p { margin: 10px 0 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks > li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks > li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: #e3f4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23177245' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks > li.todo::before { background: #fff1d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a15c00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks p { margin: 2px 0 6px; color: var(--muted); font-size: 0.92rem; }
.checks__list { margin: 0 0 6px; padding-left: 18px; font-size: 0.9rem; }
.place-results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.place-results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.place-results li div { display: grid; }
.place-results form { margin: 0; }
.google-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.qr-box { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.checklist-form { display: grid; gap: 8px; }
@media (max-width: 700px) { .google-grid { grid-template-columns: 1fr; } }

.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }

/* email */
.mail-new { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 520px; }
.mail-new__addr { display: flex; align-items: center; gap: 8px; }
.mail-new__addr span { font-weight: 600; white-space: nowrap; }
.password-once { border-color: #9fd3b4; background: #f2fbf6; }
.password-once__value code { font-size: 1.3rem; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: inline-block; user-select: all; }
/* change requests */
.req { padding: 14px 0; border-top: 1px solid var(--line); }
.req:first-of-type { border-top: 0; }
.req__body { white-space: pre-wrap; margin: 6px 0; }
.req__reply { background: var(--paper); border-radius: 10px; padding: 10px 12px; margin-top: 8px; white-space: pre-wrap; }

/* Tables whose rows become cards on small screens */
@media (max-width: 600px) {
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack thead { display: none; }
  .table--stack tr { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack td { padding: 3px 0; border: 0; text-align: left; white-space: normal; }
  .table--stack td .actions { justify-content: flex-start !important; margin-top: 6px; }
}

/* Legal pages (terms, privacy, DPA) */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul, .legal ol { padding-left: 24px; margin: 8px 0 16px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin: 6px 0; }
.legal .table-scroll { margin: 12px 0 20px; }
.legal td, .legal th { vertical-align: top; }

/* Example websites on the landing page */
.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.example { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.example .browser { transform: none; transition: transform .2s ease, box-shadow .2s ease; }
.example:hover .browser, .example:focus-visible .browser { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 36px 60px -30px rgba(16, 41, 31, .45); }
.example .mini__head { padding: 10px 14px; }
.example .mini__brand { font-size: 0.92rem; }
.example .mini__hero { display: block; padding: 0 0 18px; }
.example .mini__art { aspect-ratio: 16 / 10; border-radius: 0; }
.example .mini__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.example .mini__copy { padding: 14px 16px 0; }
.example .mini__hero h3 { font-size: 1.3rem; }
.example__meta { display: flex; flex-direction: column; gap: 2px; }
.example__meta strong { font-family: var(--f-display); font-size: 1.08rem; }
.example__open { color: var(--cobalt); font-weight: 600; margin-top: 4px; }
.example:hover .example__open { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .example .browser { transition: none; } .example:hover .browser { transform: none; } }
