/* squareposh staff dashboard (/staff/). Same look as the builder (onboard.css). */
:root {
  --ink: #121316;
  --ink-2: #4a4d55;
  --ink-3: #6b6e75;
  --line: #e3e5e9;
  --line-2: #cfd3da;
  --soft: #f4f5f7;
  --page: #f7f7f8;
  --black: #0b0b0d;
  --focus: #2f6fed;
  --ok: #15803d;
  --ok-soft: #e8f6ed;
  --warn: #a15c07;
  --warn-soft: #fdf3e2;
  --bad: #c2261d;
  --bad-soft: #fdecea;
  --test: #6d28d9;
  --test-soft: #f1ebfd;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.st { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
code { padding: 1px 6px; border-radius: 6px; background: var(--soft); font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--black); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.si { width: 18px; height: 18px; flex: none; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--black); color: #fff; font-weight: 800; font-size: 14px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 15px; }
.brand__text span { color: var(--ink-3); font-size: 12.5px; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff; color: var(--ink); font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--ink-3); }
.btn--primary { border-color: var(--black); background: var(--black); color: #fff; }
.btn--primary:hover { background: #2a2b30; border-color: #2a2b30; }
.btn--ghost { border-color: transparent; background: transparent; }
.btn--ghost:hover { background: var(--soft); border-color: transparent; }
.btn--danger { border-color: #f1c7c3; color: var(--bad); }
.btn--danger:hover { border-color: var(--bad); background: var(--bad-soft); }
.btn--small { min-height: 34px; padding: 6px 12px; border-radius: 9px; font-size: 13.5px; }
.btn--block { width: 100%; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; text-decoration: underline; cursor: pointer; }
.form { display: grid; gap: 14px; }
.form.narrow { max-width: 420px; }
.inline { display: inline; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14px; }
.field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.field input:focus { border-color: var(--focus); outline: 3px solid rgba(47, 111, 237, .25); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.keyform { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 16px; }

/* Messages */
.flash, .note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r); font-size: 14.5px; }
.flash p, .note p { margin: 0; }
.flash .si, .note .si { margin-top: 1px; }
.flash--ok { background: var(--ok-soft); color: #0f5c2c; }
.flash--bad { background: var(--bad-soft); color: #8f1b14; }
.note--warn { background: var(--warn-soft); color: #6f3f05; }

/* Badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--bad { background: var(--bad-soft); color: var(--bad); }
.badge--grey { background: var(--soft); color: var(--ink-2); }
.badge--test { background: var(--test-soft); color: var(--test); }

/* Sign-in */
.gate { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 24px 16px; }
.gate__card { width: 100%; max-width: 420px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.gate__card h1 { margin: 22px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.gate__card .lede { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }
.gate__card .form { margin-top: 16px; }
.gate__out { margin-top: 16px; text-align: center; font-size: 14px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); }
.top__in { display: flex; align-items: center; gap: 24px; max-width: 1180px; min-height: 64px; margin: 0 auto; padding: 0 24px; }
.tabs { display: flex; gap: 4px; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.tabs a:hover { background: var(--soft); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--black); color: #fff; }
.dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; }
.top__right { margin-left: auto; }
.mode { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; text-decoration: none; }
.mode::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mode--test { background: var(--test-soft); color: var(--test); }
.mode--live { background: var(--ok-soft); color: var(--ok); }

/* Page */
.main { max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
.h1 { margin: 0 0 20px; font-size: 26px; letter-spacing: -.02em; }
.h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 17px; letter-spacing: -.01em; }
.h2 .muted { font-weight: 500; font-size: 14px; }
.card { margin: 0 0 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.card > p { margin: 0 0 12px; color: var(--ink-2); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card__head .h2 { margin: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.grid2 > .card { margin: 0 0 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.stat__label { color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.stat__value { font-size: 30px; letter-spacing: -.03em; line-height: 1.2; }
.stat__sub { color: var(--ink-3); font-size: 13px; }
.stat--bad { border-color: #f1c7c3; background: #fffafa; }
.stat--bad .stat__value { color: var(--bad); }

/* Checklist */
.steps { display: grid; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step > div { flex: 1; min-width: 0; }
.step strong { font-size: 14.5px; }
.step p { margin: 2px 0 0; color: var(--ink-3); font-size: 13.5px; }
.step__mark { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--line-2); border-radius: 50%; color: #fff; }
.step__mark .si { width: 14px; height: 14px; stroke-width: 3; }
.step.is-done .step__mark { border-color: var(--ok); background: var(--ok); }
.step.is-done strong { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Links */
.links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.links a:hover { background: var(--soft); }
.links .si { color: var(--ink-3); }
.mini { display: grid; margin: 0; padding: 0; list-style: none; }
.mini li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mini li:last-child { border-bottom: 0; }
.mini a { text-decoration: none; }
.mini a:hover strong { text-decoration: underline; }
.mini .muted { font-size: 13.5px; }
.mini .badge { margin-left: auto; }

/* Sites */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.chips a span { color: var(--ink-3); font-weight: 500; }
.chips a[aria-current="true"] { border-color: var(--black); background: var(--black); color: #fff; }
.chips a[aria-current="true"] span { color: rgba(255, 255, 255, .75); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--soft); color: var(--ink-2); font-weight: 600; font-size: 13px; white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 400; }
.table tbody th strong { display: block; font-size: 14.5px; }
.table tbody th .small { display: block; }
.table__links { white-space: nowrap; text-align: right; }
.table__links .btn { margin: 0 0 0 4px; }

/* Settings */
.modeline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ink-2); }
.facts { display: grid; gap: 8px; margin: 0 0 4px; }
.facts > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; word-break: break-word; }
.card .small.muted { margin: 12px 0 0; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 720px) {
  .top__in { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px 0; }
  .brand__text span { display: none; }
  .tabs { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 8px; overflow-x: auto; }
  .tabs a { flex: none; min-height: 36px; padding: 6px 12px; }
  .main { padding: 20px 16px 48px; }
  .h1 { font-size: 22px; }
  .card { padding: 18px 16px; }
  .stat { padding: 14px; }
  .stat__value { font-size: 24px; }
  .keyform { grid-template-columns: minmax(0, 1fr); }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* The sites table becomes one card per site. */
  .tablewrap { overflow: visible; border: 0; background: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr { margin: 0 0 12px; padding: 6px 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
  .table th, .table td { display: flex; gap: 12px; padding: 6px 14px; border: 0; }
  .table td[data-label]::before { content: attr(data-label); flex: none; width: 110px; color: var(--ink-3); font-size: 13px; }
  .table tbody th { display: block; padding-top: 10px; }
  .table__links { flex-wrap: wrap; gap: 6px; padding-bottom: 12px !important; text-align: left; white-space: normal; }
  .table__links .btn { margin: 0; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* Sites: search and pages */
.search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.search input[type="search"] { flex: 1 1 260px; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.search input[type="search"]:focus { border-color: var(--focus); outline: 3px solid rgba(47, 111, 237, .25); outline-offset: 0; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.pager > span { margin-right: auto; }

/* ---------- Customer account (/account/) ---------- */
.site-hero .h2 { font-size: 20px; }
.site-hero__domain { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 600; }
.site-hero__domain .si { color: var(--ink-3); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat--link { text-decoration: none; color: inherit; }
.stat--link:hover { border-color: var(--ink-3); }
.stat__value--sm { font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.leads { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lead { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.lead--new { border-color: #b7e1c3; box-shadow: inset 4px 0 0 var(--ok); }
.lead__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lead__head strong { font-size: 16px; }
.lead__when { margin-left: auto; }
.lead__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; }
.lead__contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.lead__contact a:hover { text-decoration: underline; }
.lead__contact .si { width: 16px; height: 16px; color: var(--ink-3); }
.lead__svc { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.lead__msg { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 14.5px; white-space: normal; }
@media (max-width: 720px) {
  .stats--3 { grid-template-columns: minmax(0, 1fr); }
  .lead { padding: 16px; }
}

/* ---------- Templates tab (staff/templates.php) ---------- */
.h3 { display: flex; align-items: center; gap: 8px; margin: 28px 0 12px; font-size: 15px; }
.tplpick select { min-height: 42px; padding: 8px 36px 8px 14px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4d55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; font: 600 14.5px/1.2 inherit; font-family: inherit; appearance: none; cursor: pointer; }
.tplinfo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; align-items: start; }
.tplinfo__img { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.tplinfo__img img { width: 100%; height: auto; }
.tplinfo__body > p { margin: 0 0 14px; color: var(--ink-2); }
.tplinfo .facts > div { grid-template-columns: 130px minmax(0, 1fr); }
.drop { padding: 18px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); background: var(--soft); transition: border-color .2s, background-color .2s; }
.drop.is-over { border-color: var(--focus); background: #eef3fd; }
.drop__label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; text-align: center; cursor: pointer; }
.drop__label .si { width: 26px; height: 26px; color: var(--ink-3); }
.drop__link { color: var(--focus); text-decoration: underline; }
.drop__auto { justify-content: center; margin-top: 4px; font-size: 14px; }
.uploads { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.uploads:empty { display: none; }
.uploads li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) minmax(0, 1.6fr); gap: 12px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 13.5px; }
.uploads__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uploads__bar { height: 6px; overflow: hidden; border-radius: 999px; background: var(--soft); }
.uploads__bar span { display: block; width: 0; height: 100%; background: var(--focus); transition: width .2s; }
.uploads li[data-state="ok"] .uploads__bar span { background: var(--ok); }
.uploads li[data-state="ok"] .uploads__state { color: var(--ok); }
.uploads li[data-state="bad"] .uploads__state { color: var(--bad); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.slot { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.slot.is-over { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 111, 237, .25); }
.slot.is-busy { opacity: .55; pointer-events: none; }
.slot.is-flash { box-shadow: 0 0 0 3px rgba(21, 128, 61, .35); }
.slot__img { aspect-ratio: 4 / 3; background: var(--soft); }
.slot__img img { width: 100%; height: 100%; object-fit: cover; }
.slot__none { display: grid; place-items: center; height: 100%; color: var(--ink-3); font-size: 13px; }
.slot__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.slot__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 14.5px; }
.slot__where, .slot__shape { margin: 0; }
.slot__shape { color: var(--ink-2); }
.slot__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.lib__item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: grab; }
.lib__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.lib__meta { display: flex; flex-direction: column; padding: 6px 8px 8px; line-height: 1.3; }
.lib__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib__del { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(11, 11, 13, .7); color: #fff; cursor: pointer; }
.lib__del .si { width: 14px; height: 14px; }
.picker { width: min(760px, calc(100% - 32px)); max-height: 80vh; padding: 20px; border: 0; border-radius: var(--r-lg); box-shadow: 0 30px 70px -26px rgba(16, 24, 40, .45); }
.picker::backdrop { background: rgba(11, 11, 13, .5); }
.picker__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picker__head .h2 { margin: 0; }
.lib--pick { margin-top: 12px; }
.lib__pick { display: block; width: 100%; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.lib__pick:hover, .lib__pick:focus-visible { border-color: var(--focus); }
.lib__pick img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 720px) {
  .tplinfo { grid-template-columns: minmax(0, 1fr); }
  .uploads li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
.slot__pos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.slot__pos .small { margin-right: 2px; }
.slot__pos button { min-height: 28px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink-2); font: 600 12px/1 inherit; font-family: inherit; cursor: pointer; }
.slot__pos button:hover { border-color: var(--ink-3); color: var(--ink); }
.slot__pos button[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: #fff; }

/* ---------- Account → Domain (platform/domains.php) ---------- */
.dlist { display: grid; gap: 0; margin: 16px 0 10px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.dlist__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.dlist__row:last-child { border-bottom: 0; }
.dlist__row.is-taken { background: var(--soft); }
.dlist__row.is-taken .dlist__name { color: var(--ink-3); text-decoration: line-through; }
.dlist__name { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; font-weight: 600; font-size: 15.5px; }
.dlist__price { font-size: 14px; }
.dlist__row form { margin: 0; }
.dsteps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0; padding: 0; list-style: none; }
.dsteps li { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.dsteps li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--soft-2, #eceef1); font-size: 12.5px; }
.dsteps li > span .si { width: 14px; height: 14px; }
.dsteps li.is-done { color: var(--ink); }
.dsteps li.is-done > span { background: var(--ok, #15803d); color: #fff; }
.dsteps li.is-now { color: var(--ink); }
.dsteps li.is-now > span { background: var(--black, #0b0b0d); color: #fff; }
.table.dns code { font-size: 13.5px; }
.search input[type="text"] { flex: 1 1 260px; min-width: 0; min-height: 42px; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.search input[type="text"]:focus { border-color: var(--focus); outline: 3px solid rgba(47, 111, 237, .25); outline-offset: 0; }

/* ---------- Account → Messages: email alerts ---------- */
.alerts { padding-top: 16px; padding-bottom: 16px; }
.alerts__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; list-style: none; cursor: pointer; }
.alerts__head::-webkit-details-marker { display: none; }
.alerts__head .small { flex-basis: 100%; }
.alerts__emails { display: grid; gap: 8px; margin: 12px 0 10px; padding: 0; border: 0; }
.alerts__emails legend { margin-bottom: 8px; padding: 0; }
.alerts__emails .field { margin: 0; }
