/* Polyword's dashboard: the brand's tokens (docs/brand/rules.md). Black, white, and a green that is always a solid fill touching black. */
:root {
  color-scheme: light;
  --pw-black: #101010; --pw-white: #FFFFFF; --pw-green: #7EFF3D; --pw-on-green: #101010;
  --pw-bg: #F6F6F4; --pw-surface: #FFFFFF; --pw-sunken: #F1F1EE; --pw-hover: #F1F1EE;
  --pw-line: #E8E8E4; --pw-line-2: #DCDCD7;
  --pw-ink: #101010; --pw-ink-2: #5B5B58; --pw-ink-3: #74746F;
  --pw-btn: #101010; --pw-btn-ink: #FFFFFF; --pw-btn-hover: #000000;
  --pw-btn2: #FFFFFF; --pw-btn2-hover: #F1F1EE;
  --pw-attention: #8A5309; --pw-attention-bg: #FDF3E2; --pw-attention-dot: #E89B23;
  --pw-error: #B42318; --pw-error-bg: #FDECEA;
  --pw-track-line: transparent;
  --pw-radius-control: 10px; --pw-radius-card: 14px; --pw-radius-dialog: 20px;
  --pw-shadow-float: 0 8px 24px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .08);
  --pw-font: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pw-font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pw-ease: cubic-bezier(.2, .8, .2, 1);
}
/* Dark: by the system's setting, unless a light or dark theme was chosen (html[data-theme]). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --pw-bg: #0B0B0B; --pw-surface: #151515; --pw-sunken: #1E1E1E; --pw-hover: #222222;
    --pw-line: #272727; --pw-line-2: #2E2E2E;
    --pw-ink: #F4F4F2; --pw-ink-2: #A6A6A2; --pw-ink-3: #8A8A84;
    --pw-btn: #7EFF3D; --pw-btn-ink: #101010; --pw-btn-hover: #63FF14;
    --pw-btn2: #1E1E1E; --pw-btn2-hover: #1E1E1E;
    --pw-attention: #F0A53A; --pw-attention-bg: #2A1F0E; --pw-attention-dot: #F0A53A;
    --pw-error: #F47B70; --pw-error-bg: #2C1513;
    --pw-track-line: #333333;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --pw-bg: #0B0B0B; --pw-surface: #151515; --pw-sunken: #1E1E1E; --pw-hover: #222222;
  --pw-line: #272727; --pw-line-2: #2E2E2E;
  --pw-ink: #F4F4F2; --pw-ink-2: #A6A6A2; --pw-ink-3: #8A8A84;
  --pw-btn: #7EFF3D; --pw-btn-ink: #101010; --pw-btn-hover: #63FF14;
  --pw-btn2: #1E1E1E; --pw-btn2-hover: #1E1E1E;
  --pw-attention: #F0A53A; --pw-attention-bg: #2A1F0E; --pw-attention-dot: #F0A53A;
  --pw-error: #F47B70; --pw-error-bg: #2C1513;
  --pw-track-line: #333333;
}
* { box-sizing: border-box; }
/* No rubber-band bounce at the page's ends: a fast scroll stops at the edge instead of showing what lies past it. */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; overscroll-behavior: none; }
html.modal-open { overflow: hidden; }
body { overscroll-behavior: none; margin: 0; background: var(--pw-bg); color: var(--pw-ink); font: 400 16px/1.5 var(--pw-font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
/* Bold inside text: 500, the scale's weight for emphasis (700 is Display's alone). */
b, strong { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--pw-green); color: var(--pw-on-green); }
:focus-visible { outline: 2px solid var(--pw-ink); outline-offset: 2px; }
svg.i { width: 16px; height: 16px; flex: none; }
/* Icons are drawn on a 16 px grid with a 1.5 px stroke: the stroke stays 1.5 px at any size. */
svg.i * { vector-effect: non-scaling-stroke; }
.num { font-variant-numeric: tabular-nums; }
.rvl, .count, .badge, .siterow .ft .w, .events time, .lc .st, .hist .when { font-variant-numeric: tabular-nums; }
/* The highlighter: a solid green behind one key word of a heading, once a screen at most. */
mark.hl { background: var(--pw-green); color: var(--pw-on-green); padding: 0 .1em; margin: 0 -.02em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* The mark alone (seven bubbles in a P): black on light, white on dark. Green only touching black. */
.mark { display: inline-block; flex: none; color: var(--pw-black); }
.mark svg { display: block; width: 100%; height: 100%; }
.mark path { fill: currentColor; }

/* ---------- top ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--pw-surface) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--pw-line); }
.top-in { height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 24px; }
.brand { display: flex; align-items: center; color: var(--pw-black); border-radius: var(--pw-radius-control); padding: 4px; }
/* The logo (polyword-logos/svg/polyword-allonge-*.svg): the mark in the brand green, the name in the text colour. */
.wm { display: block; width: 105px; height: 21px; flex: none; }
.wm-i { fill: var(--pw-green); }
/* On dark: the white logo, bubbles included. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand, :root:not([data-theme="light"]) .mark { color: var(--pw-white); } :root:not([data-theme="light"]) .wm-i { fill: currentColor; } }
:root[data-theme="dark"] .brand, :root[data-theme="dark"] .mark { color: var(--pw-white); }
:root[data-theme="dark"] .wm-i { fill: currentColor; }
.slash { color: var(--pw-line-2); font-size: 20px; font-weight: 400; margin: 0 4px 0 8px; user-select: none; }
.crumb { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 4px; border: 0; background: none; border-radius: var(--pw-radius-control); font-size: 14px; line-height: 1.4; font-weight: 500; min-width: 0; max-width: 300px; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.crumb:hover, .crumb[aria-expanded="true"] { background: var(--pw-hover); }
.crumb .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb .chev { color: var(--pw-ink-2); }
.sp { flex: 1; }
.top .ib { width: 32px; height: 32px; color: var(--pw-ink-2); }
.top .ib:hover { color: var(--pw-ink); }
.authp .theme-ic { position: absolute; top: 16px; right: 16px; }
.authp .main { position: relative; }
.menu .seg { display: flex; margin: 4px 8px 8px; }
.menu .seg button { flex: 1; justify-content: center; }
.acct { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--pw-line-2); background: var(--pw-sunken); font: 600 12px/1 var(--pw-font); letter-spacing: .04em; display: grid; place-items: center; padding: 0; text-transform: uppercase; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.acct:hover, .acct[aria-expanded="true"] { border-color: var(--pw-ink-2); }
.nav { display: flex; gap: 4px; padding: 0 12px; height: 42px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; display: flex; align-items: center; color: var(--pw-ink-2); font-weight: 500; font-size: 14px; line-height: 1.4; white-space: nowrap; outline: none; }
.nav a span { padding: 4px 12px; border-radius: var(--pw-radius-control); transition: background .15s ease-out, color .15s ease-out; }
/* The bar scrolls sideways and would clip a ring around the link: the ring goes around its pill, inside the bar. */
.nav a:focus-visible span { outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.nav a:hover span { background: var(--pw-hover); color: var(--pw-ink); }
.nav a.on { color: var(--pw-ink); }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 999px; background: var(--pw-ink); }

/* ---------- page ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 40px 32px 56px; }
.wrap.narrow { max-width: 760px; }
.wrap.wide { max-width: 1180px; }
.ph { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.ph > .t { min-width: 0; flex: 1 1 320px; }
.ph-act { display: flex; gap: 8px; align-items: center; }
.h1 { font: 600 40px/1.15 var(--pw-font); letter-spacing: -.015em; margin: 0; }
.sub { color: var(--pw-ink-2); font-size: 16px; margin: 8px 0 0; }
.sub a { color: var(--pw-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.h2row { display: flex; align-items: center; gap: 12px; margin: 56px 0 16px; }
.h2 { font: 600 28px/1.2 var(--pw-font); letter-spacing: -.01em; margin: 0; }
.h2row .right { margin-left: auto; display: flex; gap: 8px; }
.h3 { display: block; font: 500 20px/1.3 var(--pw-font); }
.muted { color: var(--pw-ink-2); font-size: 16px; line-height: 1.5; font-weight: 400; }
.muted.sm { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; }
.faint { color: var(--pw-ink-2); }
.empty { padding: 40px 0; color: var(--pw-ink-2); text-align: center; }
.over { font: 600 12px/1.4 var(--pw-font); letter-spacing: .06em; text-transform: uppercase; color: var(--pw-ink-2); margin: 0; }

/* ---------- buttons ---------- */
.b { height: 40px; padding: 0 16px; border-radius: var(--pw-radius-control); border: 1px solid var(--pw-line-2); background: var(--pw-btn2); color: var(--pw-ink); font-size: 14px; line-height: 1.4; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s ease-out, border-color .15s ease-out, color .15s ease-out, opacity .15s ease-out; }
.b:hover { background: var(--pw-btn2-hover); }
.b:active { transform: translateY(.5px); }
.b:disabled { opacity: .35; cursor: default; transform: none; }
.b.pri { background: var(--pw-btn); border-color: var(--pw-btn); color: var(--pw-btn-ink); }
.b.pri:hover:not(:disabled) { background: var(--pw-btn-hover); border-color: var(--pw-btn-hover); }
.b.ghost { border-color: transparent; background: none; box-shadow: none; color: var(--pw-ink-2); }
.b.ghost:hover { background: var(--pw-hover); color: var(--pw-ink); }
.b.sm { height: 32px; padding: 0 12px; font-size: 14px; border-radius: var(--pw-radius-control); gap: 8px; }
.b.lg { height: 48px; padding: 0 24px; font-size: 14px; border-radius: var(--pw-radius-control); }
.b.danger { color: var(--pw-error); }
.b.danger:hover { background: var(--pw-error-bg); border-color: transparent; }
.b.danger.solid { background: var(--pw-error); border-color: var(--pw-error); color: #fff; }
.b.danger.solid:hover { filter: brightness(.94); background: var(--pw-error); }
.b .spin { width: 16px; height: 16px; border-width: 1.5px; }
.b.pri .spin { border-color: color-mix(in srgb, var(--pw-btn-ink) 35%, transparent); border-top-color: var(--pw-btn-ink); }
.ib { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 0; border-radius: var(--pw-radius-control); background: none; color: var(--pw-ink-2); padding: 0; flex: none; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.ib:hover { background: var(--pw-hover); color: var(--pw-ink); }
/* Links: black and underlined. */
.lnk { all: unset; cursor: pointer; color: var(--pw-ink); font-size: 14px; line-height: 1.4; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.lnk:focus-visible { outline: 2px solid var(--pw-ink); outline-offset: 2px; border-radius: 4px; }
.lnk:disabled { opacity: .35; cursor: default; }
.lnk.danger { color: var(--pw-error); }

/* ---------- fields ---------- */
.in { height: 48px; width: 100%; border: 1px solid var(--pw-line-2); border-radius: var(--pw-radius-control); padding: 0 16px; background: var(--pw-sunken); font-size: 16px; outline: none; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.in::placeholder { color: var(--pw-ink-3); }
.in:hover { border-color: var(--pw-ink-2); }
.in:focus { border-color: var(--pw-ink); box-shadow: inset 0 0 0 .5px var(--pw-ink); outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.in:disabled { border-color: var(--pw-line); color: var(--pw-ink-2); cursor: not-allowed; }
textarea.in { height: auto; padding: 12px 16px; font: 400 16px/1.5 var(--pw-font); resize: vertical; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field > label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); }
/* A value to type or find (a field name, a path): a chip in the text's own font. Only the install code is set in Roboto Mono. */
code.c, .field .hint code, .muted code { font: inherit; font-weight: 500; background: var(--pw-sunken); padding: 0 8px; border-radius: 999px; color: var(--pw-ink); }
.search { position: relative; flex: 1; min-width: 200px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--pw-ink-2); pointer-events: none; }
.search .in { padding-left: 40px; height: 48px; font-size: 16px; }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
kbd { font: 500 13px/1.4 var(--pw-font); letter-spacing: .005em; color: var(--pw-ink-2); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-control); padding: 0 8px; background: var(--pw-surface); }
.row2 { display: flex; gap: 12px; align-items: center; }
.err { color: var(--pw-error); font-size: 14px; line-height: 1.4; font-weight: 500; margin-top: 12px; }
/* A switch, drawn on the checkbox itself. */
input.sw { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--pw-line-2); position: relative; margin: 0; flex: none; cursor: pointer; transition: background .2s ease-out; }
input.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--pw-line-2); transition: transform .2s var(--pw-ease), background .2s ease-out; }
input.sw:checked { background: var(--pw-btn); }
input.sw:checked::after { transform: translateX(14px); background: var(--pw-btn-ink); }
input.sw:focus-visible { outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.swrow { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 4px 0; }
.swrow input { margin-top: 0; }
.swrow b { display: block; font-weight: 500; font-size: 14px; }
.swrow small { display: block; color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; margin-top: 4px; }
.swrow + .swrow { margin-top: 16px; }
input.rd { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--pw-line-2); background: var(--pw-surface); margin: 0 0 0; flex: none; transition: border-width .15s ease-out, border-color .15s ease-out; cursor: pointer; }
input.rd:checked { border: 6px solid var(--pw-ink); }
input.rd:focus-visible { outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--pw-line); border-radius: 10px; cursor: pointer; transition: border-color .15s ease-out, background .15s ease-out; }
.radio + .radio { margin-top: 8px; }
.radio:hover { border-color: var(--pw-line-2); }
.radio:has(input:checked) { border-color: var(--pw-ink); box-shadow: inset 0 0 0 .5px var(--pw-ink); }
.radio b { font-size: 14px; line-height: 1.4; font-weight: 500; }
.radio small { display: block; color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; margin-top: 4px; }

/* ---------- surfaces ---------- */
.card { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); padding: 24px; }
.card-h { display: flex; align-items: center; gap: 12px; }
.card-t { font: 500 20px/1.3 var(--pw-font); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .005em; background: var(--pw-sunken); color: var(--pw-ink-2); white-space: nowrap; }
.badge.ok { background: var(--pw-green); color: var(--pw-on-green); }
.badge.ok .gd { background: var(--pw-black); box-shadow: none; }
.badge.wa { background: var(--pw-attention-bg); color: var(--pw-attention); }
.badge.wa .gd.off { box-shadow: none; }
.lc .st .badge, .siterow .ft .badge { margin-right: 4px; }
.badge svg { width: 16px; height: 16px; }
/* A dot alone: green ringed in black. Amber and red always come with a word. */
.gd { width: 8px; height: 8px; border-radius: 50%; background: var(--pw-green); box-shadow: 0 0 0 1.5px var(--pw-black); flex: none; }
.gd.off { background: var(--pw-attention-dot); box-shadow: 0 0 0 3px var(--pw-attention-bg); }
.gd.idle { background: var(--pw-ink-3); box-shadow: 0 0 0 3px var(--pw-sunken); }
/* A language code: FR, DE. The active language is solid green. */
.tag { font: 600 12px/1 var(--pw-font); letter-spacing: .04em; color: var(--pw-ink); background: var(--pw-sunken); border-radius: 999px; padding: 4px 8px; }
.tag.on { background: var(--pw-green); color: var(--pw-on-green); }
.banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--pw-radius-card); background: var(--pw-surface); border: 1px solid var(--pw-line); margin-top: 16px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--pw-ink-2); }
.banner > svg { color: var(--pw-ink); }
.banner.warn { background: var(--pw-attention-bg); border-color: transparent; color: var(--pw-attention); }
.banner.warn > svg { color: var(--pw-attention-dot); }
.banner .b { margin-left: auto; }
.banner b { color: var(--pw-ink); font-weight: 500; }
.banner.warn b { color: inherit; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--pw-line-2); border-top-color: var(--pw-ink); animation: spin .5s var(--pw-ease) infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.sk { display: block; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--pw-sunken) 25%, var(--pw-line) 40%, var(--pw-sunken) 60%); background-size: 300% 100%; animation: sk 1.2s ease-out infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.skel { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
/* The progress bar: a 10 px black capsule, filled green 6 px high, 2 px inside. Moves with the words, never a made-up figure. */
.meter, .prep-bar { height: 10px; padding: 2px; border-radius: 999px; background: var(--pw-black); box-shadow: 0 0 0 1px var(--pw-track-line); overflow: hidden; }
.meter { margin: 16px 0 12px; }
.meter i, .prep-bar i { display: block; height: 6px; border-radius: 999px; background: var(--pw-green); transition: width .5s var(--pw-ease); }
.big { font: 600 28px/1.2 var(--pw-font); letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin-top: 12px; }
.big small { font: 500 14px/1.4 var(--pw-font); font-variant-numeric: tabular-nums; color: var(--pw-ink-2); letter-spacing: 0; }
.code { display: flex; gap: 8px; align-items: center; margin-top: 12px; background: var(--pw-black); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-control); padding: 8px 8px 8px 16px; }
.code code { flex: 1; min-width: 0; font: 14px/1.5 var(--pw-font-mono); color: #FFFFFF; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
/* The install code is always white on black: its button is the dark secondary one. */
.code .b { background: #1E1E1E; border-color: #2E2E2E; color: #FFFFFF; box-shadow: none; }
.code .b:hover { background: #1E1E1E; border-color: #A6A6A2; }
details.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; border-radius: 4px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { transition: transform .25s ease-out; }
details.more[open] summary svg { transform: rotate(90deg); }
.inst { margin-top: 16px; }
.inst-b { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.banner .inst-b { margin-left: auto; flex: none; }
/* Done: the check in a green disc, the words in ink. */
.okline { display: inline-flex; align-items: center; gap: 8px; color: var(--pw-ink); font-weight: 500; }
.okline > svg, .rec .found > svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--pw-green); color: var(--pw-on-green); box-shadow: 0 0 0 1.5px var(--pw-black); }
.waiting { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); }
.waiting .lnk { margin: 0 0 0 auto; }

/* ---------- overview ---------- */
.fav { width: 36px; height: 36px; border-radius: var(--pw-radius-control); background: var(--pw-btn); color: var(--pw-btn-ink); display: grid; place-items: center; font: 600 16px/1 var(--pw-font); flex: none; }
.fav.sm { width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }
.fav.lg { width: 56px; height: 56px; border-radius: var(--pw-radius-card); font-size: 28px; }
.site-ph { align-items: center; }
.site-ph .t { display: flex; align-items: center; gap: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.lc { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-height: 152px; }
.lc-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lc-h .tag { min-width: 30px; text-align: center; }
.lc b { font: 500 20px/1.3 var(--pw-font); }
.lc .nat { display: block; color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; }
.lc .host { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); word-break: break-all; }
.lc .st { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px 12px; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); flex-wrap: wrap; }
.lc .st .gd { margin-right: 4px; }
.rvl { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--pw-attention-bg); color: var(--pw-attention); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.rvl:hover { text-decoration: underline; text-underline-offset: 4px; }
.lc .lnk { align-self: flex-start; margin-top: 8px; }
.lc.add { border-style: dashed; border-color: var(--pw-line); align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--pw-ink-2); font-size: 14px; line-height: 1.4; font-weight: 500; background: transparent; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.lc.add:hover { color: var(--pw-ink); background: var(--pw-surface); border-color: var(--pw-ink-2); }
.lc.add .plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--pw-line); display: grid; place-items: center; background: var(--pw-surface); }
.events { margin: 0; padding: 0; list-style: none; }
.events li { position: relative; display: flex; gap: 12px; padding: 8px 0 8px 24px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--pw-ink); }
.events li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--pw-ink-3); }
.events li::after { content: ""; position: absolute; left: 6.5px; top: 28px; bottom: -12px; width: 1px; background: var(--pw-line); }
.events li:last-child::after { display: none; }
.events li:first-child::before { background: var(--pw-ink); }
.events time { color: var(--pw-ink-2); margin-left: auto; white-space: nowrap; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; padding-top: 2px; }
.nudge { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.nudge > div { flex: 1; }
.installed { display: flex; align-items: flex-start; gap: 12px; }
.installed .ok-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--pw-green); color: var(--pw-on-green); box-shadow: 0 0 0 1.5px var(--pw-black); display: grid; place-items: center; flex: none; }

/* ---------- sites ---------- */
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.siterow { display: flex; flex-direction: column; gap: 16px; background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); padding: 24px; color: var(--pw-ink); transition: border-color .15s ease-out; }
.siterow:hover { border-color: var(--pw-ink-2); }
.siterow .hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.siterow .hd > div { min-width: 0; }
.siterow b { display: block; font: 500 20px/1.3 var(--pw-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.siterow .muted { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.siterow .ft { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; padding-top: 16px; border-top: 1px solid var(--pw-line); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); }
.siterow .langs { display: flex; gap: 4px; flex: none; }
.siterow .ft > * { flex: none; }
.siterow .ft .w { margin-left: auto; white-space: nowrap; }
.siterow.new { border-style: dashed; border-color: var(--pw-line); background: transparent; align-items: center; justify-content: center; color: var(--pw-ink-2); font-size: 14px; line-height: 1.4; font-weight: 500; min-height: 136px; gap: 8px; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.siterow.new:hover { color: var(--pw-ink); border-color: var(--pw-ink-2); background: var(--pw-surface); }
.hero { text-align: center; max-width: 560px; margin: 8vh auto 0; }
.hero .mark { width: 40px; height: 42px; margin-bottom: 24px; }
.hero .h1 { text-wrap: balance; }
.hero .sub { font-size: 16px; }
.hero .b { margin-top: 24px; }
.hsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; text-align: left; counter-reset: h; }
.hsteps div { border-top: 1px solid var(--pw-line); padding-top: 16px; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); counter-increment: h; }
.hsteps div::before { content: "Step " counter(h); display: block; font: 600 12px/1.4 var(--pw-font); letter-spacing: .06em; text-transform: uppercase; color: var(--pw-ink-2); margin-bottom: 8px; }
.hsteps b { display: block; color: var(--pw-ink); font-size: 14px; line-height: 1.4; font-weight: 500; margin-bottom: 4px; }

/* ---------- auth ---------- */
.authp { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.authp .side { background: var(--pw-black); color: #F4F4F2; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.authp .side .wm { color: var(--pw-white); }
.authp .side .wm-i { fill: currentColor; }
.authp .side .wm { width: 120px; height: 24px; }
.authp .claim { font: 700 56px/1.1 var(--pw-font); letter-spacing: -.02em; margin: 0; max-width: 560px; text-wrap: balance; }
@media (max-width: 1200px) { .authp .claim { font: 600 40px/1.15 var(--pw-font); letter-spacing: -.015em; } }
.authp .demo { display: flex; align-items: center; gap: 12px; margin-top: 32px; max-width: 460px; min-height: 24px; font-size: 16px; line-height: 1.5; color: var(--pw-white); }
.authp .demo .tag { flex: none; }
.authp .demo .w { display: inline-block; animation: prep-rise .5s var(--pw-ease) both; }
.authp .foot { font-size: 14px; line-height: 1.4; font-weight: 500; color: #A6A6A2; }
.authp .main { display: grid; place-items: center; padding: 40px 24px; }
.authp form { width: 100%; max-width: 360px; }
.authp .mwm { display: none; margin-bottom: 40px; }
.authp h1 { font: 600 40px/1.15 var(--pw-font); letter-spacing: -.015em; margin: 0; }
.authp .sub { margin-bottom: 24px; }
.authp .field { margin-top: 16px; }
.authp .b.pri { width: 100%; height: 48px; margin-top: 24px; font-size: 14px; }
.authp .alt { text-align: center; margin-top: 16px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); }
.authp .alt a { color: var(--pw-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pwf { position: relative; }
.pwf .in { padding-right: 56px; }
.pwf .lnk { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
/* Phones: the black panel stays, as a band on top with the logo, the promise and "Pay once". */
@media (max-width: 860px) {
  .authp { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .authp .side { padding: 24px 16px 32px; gap: 24px; justify-content: flex-start; }
  .authp .side > div { display: flex; flex-direction: column; }
  .authp .claim { font: 600 28px/1.2 var(--pw-font); letter-spacing: -.01em; }
  .authp .demo { margin-top: 16px; }
  .authp .main { place-items: start center; padding: 32px 16px 56px; }
  .authp .theme-ic { top: 16px; right: 16px; }
}

/* ---------- texts ---------- */
.tools { position: sticky; top: 99px; z-index: 6; display: flex; gap: 12px; align-items: center; padding: 12px 0; margin: -12px 0 0; background: var(--pw-bg); flex-wrap: wrap; }
.tools .b.pri { margin-left: auto; }
.seg { display: inline-flex; gap: 4px; background: var(--pw-sunken); border-radius: var(--pw-radius-control); padding: 4px; flex: none; }
.seg button { border: 0; background: none; height: 32px; padding: 0 12px; border-radius: var(--pw-radius-control); font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); display: flex; align-items: center; gap: 8px; transition: color .15s ease-out; }
.seg button:hover { color: var(--pw-ink); }
.seg button.on { background: var(--pw-surface); color: var(--pw-ink); box-shadow: inset 0 0 0 1.5px var(--pw-ink); }
.seg.langs button.on { background: var(--pw-green); color: var(--pw-on-green); box-shadow: 0 0 0 1.5px var(--pw-black); }
.seg button .n { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); font-variant-numeric: tabular-nums; }
.seg button .n.wa { color: var(--pw-attention); }
/* The list keeps at least a screen of height, so a filter never makes the page jump. */
.texts .tbl { min-height: calc(100vh - 170px); }
.tbl { background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); }
.colh, .trow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 128px; column-gap: 32px; }
.colh { font-size: 13px; color: var(--pw-ink-2); font-weight: 500; padding: 12px 24px; border-bottom: 1px solid var(--pw-line); letter-spacing: .005em; }
.trow { padding: 12px 24px; border-bottom: 1px solid var(--pw-line); position: relative; align-items: start; font-size: 16px; transition: background .15s ease-out; }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: color-mix(in srgb, var(--pw-hover) 55%, transparent); }
.trow.need::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 999px 999px 0; background: var(--pw-attention-dot); }
.trow .src { color: var(--pw-ink-2); padding-top: 4px; word-break: break-word; }
.trow .pages { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pg { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); background: var(--pw-sunken); border-radius: 999px; padding: 0 8px; }
.tr { padding: 4px 8px; margin: 0 -8px; border-radius: var(--pw-radius-control); outline: none; min-height: 32px; cursor: text; word-break: break-word; transition: background .15s ease-out, box-shadow .15s ease-out; }
.tr:hover { background: var(--pw-hover); }
.tr:focus { background: var(--pw-surface); box-shadow: inset 0 0 0 1.5px var(--pw-ink); outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.tr:empty::before { content: attr(data-ph); color: var(--pw-ink-2); }
.trow .kh { display: none; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); margin-top: 8px; }
.trow:focus-within .kh { display: block; }
.trow .acts { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding-top: 0; }
.who { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.who.you { color: var(--pw-ink); }
.who .ok { color: var(--pw-ink); display: inline-flex; }
.trow .rowerr { grid-column: 2 / -1; color: var(--pw-error); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; margin-top: 8px; }
.hist { grid-column: 1 / -1; margin-top: 12px; background: var(--pw-sunken); border-radius: var(--pw-radius-card); padding: 12px 16px; font-size: 16px; line-height: 1.5; font-weight: 400; }
.hist div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 4px 0; }
.hist .when { color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; padding-top: 2px; }
.mk-a { color: inherit; text-decoration: underline; text-decoration-color: var(--pw-line-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.mk-b { font-weight: 500; }
.chip { display: inline-block; padding: 0 8px; margin: 0; border-radius: 999px; background: var(--pw-sunken); color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; }
.listfoot { padding: 16px 24px; color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; text-align: center; border-top: 1px solid var(--pw-line); }

/* ---------- glossary ---------- */
.glh, .glr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 170px 32px; gap: 12px; align-items: center; }
.glh { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); padding: 0 0 12px; border-bottom: 1px solid var(--pw-line); }
.glr { padding: 12px 0; border-bottom: 1px solid var(--pw-line); }
.glr label { display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); cursor: pointer; }
.glr .in { height: 48px; font-size: 16px; }
.glfoot { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.glfoot .b.pri { margin-left: auto; }
.glempty { padding: 32px 8px; text-align: center; color: var(--pw-ink-2); }
.glempty b { display: block; color: var(--pw-ink); margin-bottom: 4px; }
.pair { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.pair svg { color: var(--pw-ink-2); }

/* ---------- settings ---------- */
.sect { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--pw-line); }
.sect:first-child { border-top: 0; padding-top: 4px; }
.sect-h h2 { font: 500 20px/1.3 var(--pw-font); margin: 0; }
.sect-h p { color: var(--pw-ink-2); font-size: 16px; line-height: 1.5; font-weight: 400; margin: 8px 0 0; }
.formbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.formbar .muted { margin-right: auto; }
.langrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--pw-line); }
.langrow:first-child { border-top: 0; padding-top: 0; }
.langrow .host { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); }
.langrow .acts { margin-left: auto; display: flex; gap: 16px; align-items: center; }
/* Page addresses: each page on Squarespace, and its address in the language, its own name editable. */
.adcard .seg.langs { margin-bottom: 16px; }
.ad-search { margin-bottom: 8px; }
.adrow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; align-items: center; padding: 8px 0; border-top: 1px solid var(--pw-line); }
.adlist .adrow:first-child { border-top: 0; }
.adrow[hidden] { display: none; }
.ad-o { font-size: 14px; line-height: 1.4; color: var(--pw-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-t { display: flex; align-items: center; min-width: 0; font-size: 14px; line-height: 1.4; }
.ad-pre { color: var(--pw-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
.ad-in { height: 36px; font-size: 14px; padding: 0 8px; flex: 1 1 120px; min-width: 80px; margin-left: 2px; }
.ad-fixed { color: var(--pw-ink); }
@media (max-width: 720px) { .adrow { grid-template-columns: 1fr; gap: 4px; } }
.kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; }
.kv dt { color: var(--pw-ink-2); }
.kv dd { margin: 0; }
.card.danger { border-color: color-mix(in srgb, var(--pw-error) 30%, var(--pw-line)); }

/* ---------- wizard ---------- */
.wiz { max-width: 720px; }
/* The path to a new site, as a timeline: done steps sum up, the step in progress is open, the rest say what they take. */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.steps > li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 16px; align-items: start; padding-bottom: 24px; }
.steps > li::before { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--pw-line); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::before { display: none; }
.steps > li.done::before { background: var(--pw-ink); }
.steps > li > i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--pw-line); background: var(--pw-surface); color: var(--pw-ink-2); font-variant-numeric: tabular-nums; }
.steps > li.done > i { background: var(--pw-ink); border-color: var(--pw-ink); color: var(--pw-surface); }
.steps > li.on > i { background: var(--pw-green); border: 1.5px solid var(--pw-black); color: var(--pw-on-green); }
.steps > li.on { padding-bottom: 40px; }
.st-h { display: flex; flex-direction: column; gap: 0; padding-top: 4px; min-width: 0; }
.st-n { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); }
.st-s { color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps > li.done .st-n { color: var(--pw-ink); }
.steps > li.done .st-s { color: var(--pw-ink-2); }
.st-b { min-width: 0; grid-column: 2 / -1; }
.st-b > .h1 { margin-top: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.st-b > .over { margin: 4px 0 8px; }
.lnk.chg { padding-top: 8px; }
/* Moving through the steps: the new one slides in, the one just finished checks itself off and draws the line to the next. */
.steps.enter > li.on > i { animation: dot-on .5s var(--pw-ease) both; }
.steps.enter > li.on .st-b > * { animation: st-in .5s var(--pw-ease) both; }
.steps.enter > li.on .st-b > :nth-child(2) { animation-delay: .05s; }
.steps.enter > li.on .st-b > :nth-child(3) { animation-delay: .1s; }
.steps.enter > li.on .st-b > :nth-child(4) { animation-delay: .15s; }
.steps.enter > li.on .st-b > :nth-child(n+5) { animation-delay: .2s; }
.steps.enter > li.on ~ li { animation: st-fade .5s .2s ease-out both; }
.steps > li.just > i { animation: dot-done .5s var(--pw-ease) both; }
.steps > li.just > i svg path { stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .35s .2s ease-out forwards; }
.steps > li.just::before { transform-origin: top; animation: line-in .5s .15s var(--pw-ease) both; }
.steps > li.just .st-s { animation: st-fade .4s .1s ease-out both; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes st-fade { from { opacity: 0; } }
@keyframes dot-on { from { opacity: .3; transform: scale(.55); } }
@keyframes dot-done { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes line-in { from { transform: scaleY(0); } }
.b.going { pointer-events: none; opacity: .85; }
.b.pri.going .spin { border-color: color-mix(in srgb, var(--pw-btn-ink) 35%, transparent); border-top-color: var(--pw-btn-ink); }
.detect.ok { animation: ok-in .5s var(--pw-ease) both; }
.detect.ok svg path { stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .4s .15s ease-out forwards; }
@keyframes ok-in { from { opacity: 0; transform: scale(.98); background: var(--pw-sunken); } }
.opt.on .ck { animation: ck-pop .28s var(--pw-ease); }
@keyframes ck-pop { 0% { transform: translateY(-50%) scale(.6); } 100% { transform: translateY(-50%) scale(1); } }
.opt, .opt .ck { transition: border-color .15s ease-out, box-shadow .15s ease-out, background .15s ease-out; }
.connect { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; }
.connect .muted { display: inline-flex; align-items: center; gap: 8px; }
.b .i.sq { width: 16px; height: 16px; }
.b.lg .i.sq { width: 18px; height: 18px; }
.pros.assure { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--pw-line); }
.inst.lg { margin-top: 24px; }
.inst.lg .b { height: 48px; padding: 0 24px; }
.wizbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.wizbar .b { height: 48px; padding: 0 24px; }
.wizbar .row2 { gap: 8px; }
.wizbar .count { color: var(--pw-ink-2); font-size: 14px; line-height: 1.4; font-weight: 500; }
.card.sqs { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 24px; }
.card.wg { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 24px; }
.card.wg > div { flex: 1; }
.card.wg .b { height: 48px; padding: 0 24px; flex: none; }
.card.wg .err { margin-top: 8px; }
.card.sqs > div { flex: 1; }
.card.sqs .b { height: 48px; padding: 0 24px; }
.card.folders { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.card.folders.off > :not(.note), .card.folders.off > :not(.note) * { color: var(--pw-ink-2); }
/* The Google step's choice: folders (recommended) or subdomains. */
/* minmax(0, 1fr): two equal cards inside the column, whatever the address in them. */
.gpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.gopt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.gopt:hover { border-color: var(--pw-line-2); }
.gopt:has(input:checked) { border-color: var(--pw-ink); box-shadow: inset 0 0 0 .5px var(--pw-ink); }
.gopt input.rd { margin-top: 2px; }
.gopt-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gopt-h { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.gopt-h b { font-size: 16px; line-height: 1.4; font-weight: 500; }
.gpick.off .gopt { cursor: default; }
.gpick.off .gopt-b, .gpick.off .gopt-b * { color: var(--pw-ink-2); }
.gpick.off .badge.ok { background: var(--pw-sunken); }
.note.lead { display: block; margin-top: 24px; }
@media (max-width: 720px) { .gpick { grid-template-columns: minmax(0, 1fr); } }
.mock { display: flex; align-items: center; gap: 12px; min-width: 0; background: var(--pw-sunken); border-radius: var(--pw-radius-control); padding: 12px; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); }
.mock .bar { display: flex; gap: 4px; flex: none; }
.mock .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--pw-line); }
.mock .url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--pw-surface); border-radius: 999px; padding: 4px 12px; }
.mock .url b { color: var(--pw-ink); font-weight: 500; }
.pros { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--pw-ink-2); }
.pros li { display: flex; gap: 8px; align-items: flex-start; }
.pros svg { width: 16px; height: 16px; margin-top: 4px; color: var(--pw-ink); }
.note { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-attention); background: var(--pw-attention-bg); border-radius: var(--pw-radius-control); padding: 8px 12px; }
.langpick .search { margin-top: 24px; }
.langgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; margin-top: 12px; }
/* A language to pick: its own name first, the English one under it. Picked: 1.5 px ink and a green disc checked in black. */
.opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 40px 12px 16px; border: 1px solid var(--pw-line); background: var(--pw-surface); border-radius: 12px; text-align: left; transition: border-color .15s ease-out, box-shadow .15s ease-out, background .15s ease-out; min-width: 0; }
.opt:hover { border-color: var(--pw-line-2); }
.opt b { font-weight: 500; font-size: 14px; }
.opt small { color: var(--pw-ink-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.opt .ck { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--pw-line-2); display: grid; place-items: center; transition: background .15s ease-out, border-color .15s ease-out; }
.opt .ck svg { opacity: 0; }
.opt.on { border-color: var(--pw-ink); box-shadow: inset 0 0 0 .5px var(--pw-ink); }
.opt.on .ck { background: var(--pw-green); border: 1.5px solid var(--pw-black); color: var(--pw-on-green); }
.opt.on .ck svg { opacity: 1; }
.opt[data-have] { cursor: default; }
.opt[data-have] .ck { background: var(--pw-sunken); border-color: transparent; color: var(--pw-ink-2); }
.opt[data-have] .ck svg { opacity: 1; }
.opt[data-have].on { border-color: var(--pw-line); box-shadow: none; }
.opt[data-have] small::after { content: " · Added"; }
.langnone { padding: 16px 0 4px; color: var(--pw-ink-2); font-size: 14px; line-height: 1.4; font-weight: 500; }
.langmore { margin-top: 12px; }
@media (max-width: 720px) {
  .card.sqs { flex-direction: column; align-items: stretch; }
  .card.wg { flex-direction: column; align-items: stretch; }
  .wizbar { flex-wrap: wrap; }
}

/* How-to steps: the DNS record, the snippet */
.howto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.howto > li { display: flex; gap: 16px; align-items: flex-start; }
.howto > li > span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--pw-line); color: var(--pw-ink); font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; background: var(--pw-surface); font-variant-numeric: tabular-nums; }
.howto > li > div { flex: 1; min-width: 0; font-size: 16px; line-height: 1.5; font-weight: 400; }
.howto code { font: inherit; font-weight: 500; color: var(--pw-ink); background: var(--pw-sunken); border-radius: 999px; padding: 0 8px; word-break: break-all; }
.howto .code code { padding: 0; background: none; border-radius: 0; font: 400 14px/1.5 var(--pw-font-mono); color: #FFFFFF; word-break: normal; }
.howto .b.out { margin-left: 8px; vertical-align: middle; }
.howto .muted.sm { margin-top: 8px; }
.howto > li > div > b.st { display: block; font-weight: 500; margin-bottom: 4px; }
.howto > li.done > span { background: var(--pw-ink); border-color: var(--pw-ink); color: var(--pw-surface); }
/* Not open yet: said in the secondary ink, at full contrast. */
.howto > li.locked, .howto > li.locked * { color: var(--pw-ink-2); }
.howto .okline { margin-top: 8px; }
.howto .path { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.prov { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 14px; line-height: 1.4; font-weight: 500; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--pw-line); }
.prov .b.out { margin-left: 12px; }
.rec .found { display: inline-flex; align-items: center; gap: 8px; color: var(--pw-ink); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; }
.guide { container-type: inline-size; }
.detect { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px; border-radius: var(--pw-radius-card); background: var(--pw-sunken); font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--pw-ink-2); }
.detect.ok { color: var(--pw-ink); font-weight: 500; }
.detect.ok svg { flex: none; }
/* A DNS record: label, value and copy, in rows; side by side when there is room. */
.rec { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.rec > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
.rec > div > span { grid-column: 1 / -1; }
.rec span { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); }
/* A record's values are code to copy: Roboto Mono 14, white on black, like the install code. */
.rec code, .howto .rec code { display: block; padding: 8px 12px; border-radius: var(--pw-radius-control); background: var(--pw-black); border: 1px solid var(--pw-track-line); font: 400 14px/1.5 var(--pw-font-mono); color: #FFFFFF; word-break: break-all; }
.rec .lnk { margin: 0; }
@container (min-width: 700px) {
  .rec { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
}

/* ---------- overlays ---------- */
.menu { position: fixed; z-index: 50; min-width: 232px; max-width: 320px; background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: var(--pw-radius-card); box-shadow: var(--pw-shadow-float); padding: 8px; animation: pop-in .25s ease-out; }
.menu .mh { padding: 8px 12px; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .005em; color: var(--pw-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .mi { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 0; background: none; border-radius: var(--pw-radius-control); text-align: left; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink); transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, text-decoration-color .15s ease-out; }
.menu .mi:hover, .menu .mi:focus-visible { background: var(--pw-hover); }
.menu .mi:focus-visible { outline: 2px solid var(--pw-ink); outline-offset: 2px; }
.menu .mi .ck { margin-left: auto; display: grid; }
.menu .mi .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .mi svg { color: var(--pw-ink-2); }
.menu .sep { height: 1px; background: var(--pw-line); margin: 8px 4px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.modal { position: fixed; inset: 0; z-index: 60; overscroll-behavior: contain; display: grid; place-items: center; padding: 24px; background: rgba(8, 8, 8, .36); animation: fade-in .25s ease-out; overflow-y: auto; }
@keyframes fade-in { from { opacity: 0; } }
.dlg { width: 100%; max-width: 440px; background: var(--pw-surface); border-radius: var(--pw-radius-dialog); box-shadow: var(--pw-shadow-float); padding: 24px; animation: dlg-in .25s var(--pw-ease); }
.dlg.wide { max-width: 680px; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dlg h2 { font: 500 20px/1.3 var(--pw-font); margin: 0; }
.dlg .dlg-b { color: var(--pw-ink-2); margin-top: 8px; }
.dlg .dlg-b p { margin: 0; }
.dlg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; align-items: center; }
.dlg-acts .count { margin-right: auto; color: var(--pw-ink-2); font-size: 14px; line-height: 1.4; font-weight: 500; }
.dlg .langgrid { max-height: min(46vh, 420px); overflow-y: auto; overscroll-behavior: contain; padding: 4px; margin-left: -4px; margin-right: -4px; }
/* Always a black capsule, so its green check touches black in both modes. */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--pw-black); color: #FFFFFF; border: 1px solid var(--pw-track-line); font-size: 14px; font-weight: 500; padding: 12px 16px; border-radius: 999px; display: flex; gap: 8px; align-items: center; z-index: 70; box-shadow: var(--pw-shadow-float); animation: toast-in .25s var(--pw-ease); max-width: calc(100vw - 32px); }
/* Done: a green disc checked in black. An error: its icon in the dark mode's red. Waiting: the clock, in white. */
.toast .ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pw-green); color: var(--pw-on-green); flex: none; }
.toast.err svg { color: #F47B70; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (max-width: 760px) {
  .wrap { padding: 32px 16px 56px; }
  /* Page titles take Titre 2 on phones. */
  .h1, .st-b > .h1, .prep-h, .authp h1 { font: 600 28px/1.2 var(--pw-font); letter-spacing: -.01em; }
  /* A banner with buttons: its words above, the buttons under them, full width. */
  .banner { flex-wrap: wrap; }
  .banner > span:not(.gd):not(.spin):not(.inst-b) { flex: 1 1 calc(100% - 32px); }
  .banner .inst-b { margin-left: 0; flex: 1 1 100%; }
  .banner .inst-b .b { flex: 1 1 auto; }
  .split { grid-template-columns: 1fr; }
  .colh, .trow { grid-template-columns: 1fr; }
  .colh span:nth-child(n+2) { display: none; }
  .trow .acts { justify-content: flex-start; margin-top: 8px; }
  .tools { top: 99px; }
  .sect { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .glh { display: none; }
  .glr { grid-template-columns: 1fr 1fr 32px; }
  .glr label { grid-column: 1 / 3; grid-row: 2; }
  .glr .ib { grid-column: 3; grid-row: 1; }
  .hsteps { grid-template-columns: 1fr; }
  .nudge { flex-direction: column; align-items: flex-start; }
  .hist div { grid-template-columns: 1fr; gap: 4px; }
  .crumb { max-width: 160px; }
}

/* ---------- the site getting ready: a site's first read, shown whole until everything is translated ---------- */
.prep { min-height: calc(100vh - 57px); display: grid; place-items: start center; padding-block: 13vh 56px; padding-left: max(24px, env(safe-area-inset-left, 0)); padding-right: max(24px, env(safe-area-inset-right, 0)); }
.prep-in { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 32px; }
.prep-site { margin: 0; font: 600 12px/1.4 var(--pw-font); letter-spacing: .06em; text-transform: uppercase; color: var(--pw-ink-2); }
.prep-h { margin: -16px 0 0; font: 600 40px/1.15 var(--pw-font); letter-spacing: -.015em; text-wrap: balance; }
/* The mark's seven bubbles light up one after the other while the site gets ready. */
.prep-mark { width: 40px; height: 42px; }
.prep-mark path { animation: bubble 1.2s ease-out infinite; }
.prep-mark path:nth-child(2) { animation-delay: .12s; }
.prep-mark path:nth-child(3) { animation-delay: .24s; }
.prep-mark path:nth-child(4) { animation-delay: .36s; }
.prep-mark path:nth-child(5) { animation-delay: .48s; }
.prep-mark path:nth-child(6) { animation-delay: .6s; }
.prep-mark path:nth-child(7) { animation-delay: .72s; }
.prep.ready .prep-mark path { animation: none; }
@keyframes bubble { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }
.prep-bar { display: block; }
.prep-bar i { width: 0; }
.prep-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.prep-steps li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 16px; color: var(--pw-ink-2); transition: color .4s ease-out; }
.prep-steps li i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; transition: background .4s ease-out, border-color .4s ease-out; }
.prep-steps li.on, .prep-steps li.done { color: var(--pw-ink); }
.prep-steps li.on i { background: currentColor; }
.prep-steps li.done i { background: var(--pw-green); border-color: var(--pw-black); }
.prep-steps .lb { font-size: 16px; }
.prep-steps .n { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--pw-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prep-feed { display: flex; flex-direction: column; gap: 12px; min-height: 160px; border-top: 1px solid var(--pw-line); padding-top: 24px; }
.prep-feed .ln { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 16px; animation: prep-rise .5s var(--pw-ease) both; transition: opacity .5s ease-out; }
.prep-feed .ln > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prep-feed .src { color: var(--pw-ink-2); }
.prep-feed .dst { color: var(--pw-ink); }
/* Older lines step back to the secondary ink, at full contrast. */
.prep-feed .ln:nth-last-child(n+3) .dst { color: var(--pw-ink-2); }
@keyframes prep-rise { from { opacity: 0; transform: translateY(8px); } to { transform: none; } }
.prep-note { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--pw-ink-2); }
.prep.ready .prep-bar i { transition-duration: .5s; }
.prep.ready .prep-feed .dst { color: var(--pw-ink-2); }
main.fadein { animation: prep-fade .5s ease-out both; }
@keyframes prep-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .prep-feed .ln { grid-template-columns: 1fr; gap: 4px; } .prep-steps li { grid-template-columns: 14px 1fr; } .prep-steps .n { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) {
  /* Nothing pulses or scrolls: every animation shows its still, readable state. */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Checks drawn by an animation are shown drawn. */
  .steps > li.just > i svg path, .detect.ok svg path { stroke-dashoffset: 0 !important; }
}
/* Several DNS records in a row: one block each. */
.rec + .rec { padding-top: 12px; border-top: 1px dashed var(--pw-line); }
.rec > div:first-child code { justify-self: start; min-width: 72px; }
