/* ═══════════════════════════════════════════════════════════════
   cleanthis.io — pages.css  (2026-10 redesign, inner pages)
   404 · How it works · Extension · Sign in · Dashboard · Docs ·
   Privacy · What your photo knows. Builds on site.css.
   ═══════════════════════════════════════════════════════════════ */

.skip:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; margin: 0; z-index: 100; padding: 8px 12px; background: var(--surf); color: var(--ink); border: 2px solid var(--frame); border-radius: var(--radius-sm); font-family: var(--font-mono); }
.pmain { padding: 64px var(--gutter-r) 96px var(--gutter); }
.pmain--tight { padding-top: 40px; }
.psec { position: relative; padding: 88px var(--gutter-r) 88px var(--gutter); }
.psec + .psec::before, .psec--dither::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background-image: conic-gradient(var(--line) 25%, transparent 0 50%, var(--line) 0 75%, transparent 0); background-size: 8px 8px; }
.psec--alt { background-color: var(--bg2); }
.phero { padding: 64px var(--gutter-r) 72px var(--gutter); }
.phero__in { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; }
.phero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.phero__boo { flex: none; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 46em; margin-bottom: 36px; }
.go-row { margin-top: 36px; }
.wherelist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line); font-family: var(--font-mono); font-size: 14px; min-height: 48px; }
.wherelist a:last-child { border-bottom: 0; }
.wherelist a:hover { background: var(--surf2); color: var(--ink); }
.wherelist .n, .wherelist .arr { color: var(--muted); }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink2); }
.prose p + p { margin-top: 14px; }
.prose h2 { font-family: var(--font-mono); font-size: 22px; line-height: 1.25; color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-family: var(--font-mono); font-size: 17px; color: var(--ink); margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--surf2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1px 5px; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }

/* ── 404 · catch Boo ───────────────────────────────────────────── */
.nf { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.nf__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.nf__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.big404 { margin: 0; font-family: var(--font-mono); font-size: 30px; line-height: 1; color: var(--teal); white-space: pre; overflow: hidden; }
.nf__h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.nf__lead { max-width: 520px; font-size: 17px; line-height: 1.65; color: var(--ink2); }
.arena { position: relative; height: 260px; background: var(--bg2); overflow: hidden; }
.arena__boo { position: absolute; width: 72px; height: 72px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: left .5s steps(5), top .5s steps(5); border-radius: var(--radius-ctl); }
.arena__boo img, .arena__poof { width: 72px; height: 72px; display: block; }
.arena__poof { position: absolute; pointer-events: none; }
.arena__hint { position: absolute; left: 14px; bottom: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.term { padding: 14px 16px; font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--ink2); overflow-wrap: anywhere; }
.term .p { color: var(--lime-ink); }
.term .e { color: var(--red); }
.term .blk { display: inline-block; width: 9px; height: 15px; background: var(--lime); vertical-align: middle; animation: blink 1s steps(1) infinite; }
@media (max-width: 767px) {
  .pmain { padding-top: 32px; padding-bottom: 56px; }
  .big404 { font-size: 18px; }
  .arena { height: 220px; }
}
.arena__boo { left: 2%; top: 4%; }
.nf__side { order: 2; }

/* ── Inner-page hero bits (shared) ─────────────────────────────── */
.phero--jump { padding-bottom: 40px; }
.phero__stack { gap: 28px; }
.phero .lead--lg { font-size: 19px; line-height: 1.6; max-width: 34em; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.jumps { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); }
.jump { display: inline-flex; align-items: center; padding: 8px 12px; border: 2px solid var(--frame); border-radius: var(--radius-ctl); background: var(--surf); color: var(--ink2); text-decoration: none; font-size: 13px; }
.jump:hover { color: var(--ink); border-color: var(--teal); }

/* ── Reading-width page flow (How it works, Extension, Privacy…) ─ */
.readflow { display: flex; flex-direction: column; gap: 88px; padding-block: 72px 96px; }
.rsec { display: flex; flex-direction: column; gap: 24px; }
.rsec__head { display: flex; flex-direction: column; gap: 10px; }
.rsec__head .lead { font-size: 17px; line-height: 1.6; max-width: 40em; }
.rsec .h2--sm { font-size: 33px; line-height: 1.15; }

/* ── How it works ──────────────────────────────────────────────── */
.stepcards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.stepcard { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.stepcard__n { font-family: var(--font-mono); font-size: 33px; line-height: 1; color: var(--teal); }
.stepcard__t, .chk h3 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 18px; line-height: 1.3; }
.stepcard p, .chk p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.lvlgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.lvl { display: flex; flex-direction: column; }
.lvl__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bar); border-bottom: 2px solid var(--frame); font-family: var(--font-mono); }
.lvl__name { font-size: 18px; }
.lvl__name .default-tag { vertical-align: middle; margin-left: 4px; }
.lvl__m { letter-spacing: 2px; }
.lvl__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lvl__body > p { margin: 0; font-size: 15px; line-height: 1.6; }
.lvl__dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.lvl__dl dd { margin: 0; color: var(--ink2); }
.chkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.chk { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chk h3 { font-size: 17px; }
.chk p { font-size: 14.5px; }
.spr-ico { width: 27px; height: 27px; image-rendering: pixelated; display: block; }
.links { gap: 0; }
.links__body { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.links__top { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.links__head { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.links .beta-tag { font-size: 11px; }
.depthgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.depth { padding: 16px; border: 2px solid var(--frame); border-radius: var(--radius-ctl); background: var(--bg2); display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.depth__t { font-family: var(--font-mono); font-size: 16px; color: var(--ink); }
.lookfor { display: flex; flex-direction: column; gap: 10px; }
.lookfor .arrows { font-size: 14px; }
.fmt { padding: 8px 18px; overflow-x: auto; }
.fmt__grid { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 0 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; min-width: 560px; }
.fmt__k, .fmt__v { padding: 9px 0; border-bottom: 2px solid var(--line); }
.fmt__k { color: var(--teal); }
.fmt__v { color: var(--ink2); }
.fmt__grid > :nth-last-child(-n+2) { border-bottom: 0; }
.faqgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 48px; }
.faqcol { display: flex; flex-direction: column; gap: 6px; }
.faqcol > .label { margin: 0 0 6px; font-weight: 400; font-size: 13px; }
.faqcol .qa summary { font-size: 16.5px; padding: 16px 0; }
.faqcol .qa p { font-size: 15px; margin-bottom: 18px; }
.faqcol .qa details:target summary, .faqcol .qa details.is-target summary { color: var(--lime-ink); }
.ctawin { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 28px; }
.ctawin > .spr { flex: none; }
.ctawin__t { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.ctawin__t .h3 { font-size: 27.5px; }
.ctawin__t p { margin: 0; font-size: 15px; color: var(--ink2); }

@media (max-width: 767px) {
  .phero--jump { padding-top: 40px; padding-bottom: 32px; }
  .readflow { gap: 56px; padding-block: 40px 64px; }
  .rsec .h2--sm { font-size: 26px; line-height: 1.2; }
  .links__body { padding: 18px; }
  .fmt__grid { min-width: 0; grid-template-columns: 1fr; }
  .fmt__k { border-bottom: 0; padding-bottom: 0; margin-top: 10px; }
  .fmt__grid > .fmt__k:nth-last-child(2) { border-bottom: 0; }
  .fmt__grid > .fmt__v:last-child { border-bottom: 0; }
  .ctawin { padding: 22px; }
}

/* ── Extension (download.html) ─────────────────────────────────── */
.psec--lines { border-block: 2px solid var(--line); }
.psec--lines::before { display: none; }
.xp-gap32 { gap: 32px; }
.xp-gap28 { gap: 28px; }
.xp-head { margin-bottom: 0; gap: 12px; }
.xp-h2 { font-size: 36px; line-height: 1.15; }
.xp-measure { max-width: 640px; }
.xp-hero { padding-top: 72px; padding-bottom: 88px; border-bottom: 2px solid var(--line); }
.xp-hero__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.xp-hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.xp-hero__text .lead { max-width: 540px; font-size: 18px; line-height: 1.65; }
.xp-h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; }
.xp-beta { display: inline-block; margin-left: 8px; padding: 2px 6px; border: 2px solid var(--amber); border-radius: var(--radius-sm); color: var(--amber); font-size: 11px; line-height: 1.2; vertical-align: middle; }
.xp-demo { flex: 1 1 520px; min-width: 0; }
.xp-browser__bar { gap: 10px; padding: 8px 12px; }
.xp-url { flex: 1; min-width: 0; padding: 5px 10px; background: var(--surf); border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xp-ct { padding: 3px 7px; background: var(--sel); color: var(--on-sel); outline: 2px solid var(--lime); outline-offset: 2px; border-radius: var(--radius-sm); }
.xp-page { position: relative; height: 340px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg2); }
.xp-page > i { display: block; height: 10px; background: var(--line); border-radius: 2px; }
.xp-page > i:nth-child(1) { width: 40%; height: 18px; }
.xp-page > i:nth-child(2) { width: 70%; }
.xp-page > i:nth-child(3) { width: 62%; }
.xp-page > i:nth-child(4) { width: 30%; height: 80px; margin-top: 8px; }
.xp-pop { position: absolute; top: 12px; right: 14px; width: 270px; font-family: var(--font-mono); font-size: 13px; }
.xp-pop__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 2px solid var(--line); }
.xp-pop__v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xp-pop__v > span:first-child { font-size: 16px; }
.xp-pop__host { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xp-pop__bars { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.xp-bar { display: flex; gap: 10px; white-space: nowrap; }
.xp-bar__l { width: 86px; flex: none; color: var(--ink2); }
.xp-bar__f, .xp-bar__r { letter-spacing: -1px; }
.xp-bar__f--ok { color: var(--lime-ink); }
.xp-bar__f--warn { color: var(--amber); }
.xp-bar__f--bad { color: var(--red); }
.xp-bar__r, .xp-dim { color: var(--line); }
.xp-pop__opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 2px solid var(--line); background: var(--surf2); color: var(--ink2); border-radius: 0 0 calc(var(--radius-win) - 2px) calc(var(--radius-win) - 2px); }
.xp-pop__opt > span { flex: 1; }
.xp-pop__opt .muted { font-size: 11px; }
.xp-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.xp-try .label { font-size: 13px; letter-spacing: 0; }
.xp-try .chip[aria-pressed="true"] { border-color: var(--teal); color: var(--ink); background: var(--surf2); }
.xp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.xp-card__b { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.xp-card__t { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 19px; }
.xp-card__b p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.xp-vis { padding: 14px; background: var(--bg2); border-radius: var(--radius-ctl); color: var(--ink2); }
.xp-vis--mono { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; white-space: nowrap; overflow: hidden; }
.xp-vis--tall { line-height: 1.9; }
.xp-vis--ctx { position: relative; height: 92px; }
.xp-fakelink { font-size: 14px; color: var(--teal); text-decoration: underline; }
.xp-ctx { position: absolute; left: 70px; top: 34px; width: 210px; font-family: var(--font-mono); font-size: 12.5px; }
.xp-ctx__i { padding: 6px 10px; color: var(--muted); }
.xp-ctx__i--on { background: var(--sel); color: var(--on-sel); border-radius: 0 0 calc(var(--radius-win) - 2px) calc(var(--radius-win) - 2px); }
.xp-also { padding: 18px 22px; }
.xp-also__h { margin-bottom: 10px; letter-spacing: 0; }
.xp-also ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 10px 28px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.kbd { display: inline-block; font-family: var(--font-mono); font-size: 13px; line-height: 1.4; padding: 1px 6px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surf2); color: var(--ink); }
.xp-install__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.xp-install__t { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.xp-tabs { display: flex; border: 2px solid var(--frame); border-radius: var(--radius-ctl); background: var(--surf2); overflow: hidden; }
.xp-tab { border: 0; padding: 10px 14px; font-family: var(--font-mono); font-size: 13px; cursor: pointer; background: transparent; color: var(--muted); }
.xp-tab[aria-selected="true"] { background: var(--surf); color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.xp-tab:hover { color: var(--ink); }
.xp-panel + .xp-panel { margin-top: 0; }
.xp-steps { list-style: none; margin: 0; padding: 8px 22px; }
.xp-step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 2px solid var(--line); }
.xp-step:last-child { border-bottom: 0; }
.step-n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 2px solid var(--frame); border-radius: 8px; background: var(--surf2); font-family: var(--font-mono); font-size: 14px; }
.xp-step__t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xp-step__h { font-size: 16.5px; font-weight: 600; }
.xp-step__p { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.xp-kbds { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-kbds .kbd { overflow-wrap: anywhere; }
.xp-done { padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--surf2); border-top: 2px solid var(--frame); border-radius: 0 0 calc(var(--radius-win) - 2px) calc(var(--radius-win) - 2px); }
.xp-done__t { flex: 1 1 260px; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.xp-perms { overflow-x: auto; }
.xp-perms .tbl td:first-child { font-family: var(--font-mono); color: var(--ink); }
.xp-perms .tbl th:nth-child(1) { width: 24%; }
.xp-perms .tbl th:nth-child(2) { width: 42%; }
.xp-roadmap { font-size: 14px; line-height: 1.6; }
.xp-roadmap a { color: var(--ink2); }
@media (max-width: 767px) {
  .xp-hero { padding-top: 40px; padding-bottom: 48px; }
  .xp-hero__in { gap: 36px; }
  .xp-h1 { font-size: 34px; line-height: 1.12; }
  .xp-h2 { font-size: 26px; line-height: 1.2; }
  .xp-page { height: 300px; padding: 16px; }
  .xp-pop { right: 10px; top: 10px; width: min(270px, calc(100% - 20px)); }
  .xp-tabs { width: 100%; }
  .xp-tab { flex: 1; padding: 10px 8px; min-height: 44px; }
  .xp-steps { padding: 4px 16px; }
  .xp-done { padding: 14px 16px; }
  .xp-done .btn { width: 100%; }
}
.xp-hero__text .btn-row > .btn { flex: 0 0 auto; }
.page-ext .psec::before { display: none; }
.xp-vis--tall { white-space: normal; }

/* ── Sign in / new account (login.html) ────────────────────────── */
.pmain .shell--read { display: flex; flex-direction: column; gap: 36px; }
.lg { display: flex; flex-direction: column; gap: 36px; }
.lg__head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.lg__h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.1; }
.lg__head .lead { font-size: 17px; line-height: 1.65; }
.lg__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.lg__card { display: flex; flex-direction: column; scroll-margin-top: 90px; }
.lg__card:target { border-color: var(--lime-ink); box-shadow: 0 0 0 3px var(--ring); }
.lg__body { padding: 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.lg__t { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 24px; }
.lg__label { font-size: 14px; font-weight: 600; }
.lg__input { font-family: var(--font-mono); letter-spacing: .02em; }
.lg__hint { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.lg__go { justify-content: center; margin-top: auto; }
.lg__newhead { display: flex; align-items: center; gap: 14px; }
.lg__nos { margin: 0; padding: 0; list-style: none; font-family: var(--font-mono); font-size: 14px; line-height: 2; color: var(--ink2); }
.lg__p { margin: 0; font-size: 15px; line-height: 1.6; }
.lg__nojs { max-width: 640px; }
.rv { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.rv__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; align-items: center; }
.rv__h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
.rv__h1:focus { outline: none; }
.rv__head .lead { font-size: 17px; line-height: 1.65; }
.rv__win { width: 100%; max-width: 860px; text-align: left; }
.rv__num { padding: 28px 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chunk { display: inline-grid; place-items: center; min-width: 64px; padding: 12px 8px; border: 2px solid var(--frame); border-radius: 8px; background: var(--surf2); font-family: var(--font-mono); font-size: 22px; letter-spacing: .06em; user-select: all; }
.chunk--wait { color: var(--muted); }
.chunk--on { background: var(--surf); box-shadow: 0 0 0 3px var(--ring); animation: pop .22s steps(3); }
.rv__acts { padding: 0 22px 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rv__foot { padding: 18px 22px; border-top: 2px solid var(--frame); background: var(--amber-bg); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border-radius: 0 0 calc(var(--radius-win) - 2px) calc(var(--radius-win) - 2px); }
.rv__check { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.rv__check input { width: 20px; height: 20px; accent-color: var(--lime-ink); flex: none; margin: 0; }
.rv__foot .btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 767px) {
  .lg__body { padding: 20px; }
  .lg__h1 { font-size: 34px; line-height: 1.12; }
  .rv__h1 { font-size: 30px; }
  .chunk { min-width: 0; flex: 1 0 calc(33% - 10px); font-size: 19px; padding: 10px 4px; }
  .rv__acts .btn, .rv__foot .btn { width: 100%; }
}

/* ── Dashboard ─────────────────────────────────────────────────── */
.pmain--dash { padding-top: 48px; }
.db { gap: 28px; }
.db__top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.db__who { display: flex; align-items: center; gap: 14px; flex: 1 1 420px; min-width: 0; }
.db__whot { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.db__h1 { font-size: 34px; line-height: 1.1; }
.db__acct { font-family: var(--font-mono); font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.db__acct .badge { margin-left: 6px; }
/* Keep the masked number on one line (it used to break mid-mask on phones);
   on a very narrow screen it ellipsizes — it's masked anyway. */
#account-prefix { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.db__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.db__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 18px; }
.db__stat { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.db__stat .label { letter-spacing: 0; }
.db__n { font-family: var(--font-mono); font-size: 34px; line-height: 1.1; }
.db__sub { font-size: 13px; color: var(--ink2); }
.db__cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.db__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.db__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.db__bar { flex-wrap: wrap; gap: 10px; }
.db__bt { margin: 0; font: inherit; color: inherit; }
.db__barnote { margin-left: auto; }
.db__legend { margin-left: 16px; }
.db__mk::before { color: var(--teal); }
.db__range { margin-left: auto; display: flex; gap: 4px; }
.db__range .btn--mini[aria-pressed="true"], .db__range .btn--mini[aria-selected="true"] { border-color: var(--teal); color: var(--ink); background: var(--surf2); }
.db__chart { padding: 22px 22px 14px; }
.db__bars { display: flex; align-items: flex-end; gap: var(--gap, 8px); height: 120px; padding: 0 4px; }
.db__col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.db__col i { display: block; width: 100%; background: var(--teal); border-radius: 3px 3px 0 0; }
.db__col i.is-zero { background: var(--line); }
.db__axis { display: flex; justify-content: space-between; padding-top: 8px; border-top: 2px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.db__newkey { margin-left: auto; padding: 7px 12px; font-size: 13px; }
.db__keyform { padding: 18px 22px; border-bottom: 2px solid var(--frame); background: var(--surf2); display: flex; flex-direction: column; gap: 14px; }
.db__kf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.db__kf-row .field { flex: 1 1 260px; padding: 10px 12px; font-size: 14px; }
.db__kf-row .seg { flex: none; width: 180px; }
.db__kf-row .seg__opt { padding: 8px 6px; min-height: 38px; font-size: 13px; }
.db__kf-l { font-size: 13px; font-weight: 600; min-width: 64px; }
.db__kf-hint { font-size: 13px; color: var(--muted); flex: 1 1 200px; }
.db__kf-acts { display: flex; gap: 10px; }
.db__newkeybox { padding: 18px 22px; border-bottom: 2px solid var(--frame); background: var(--lime-bg); display: flex; flex-direction: column; gap: 12px; }
.db__nk-t { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.db__nk-t img { image-rendering: pixelated; flex: none; }
.db__nk-row { display: flex; flex-wrap: wrap; gap: 10px; }
.db__nk-code { flex: 1 1 360px; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 12px 14px; background: var(--surf); border: 2px solid var(--frame); border-radius: var(--radius-ctl); font-family: var(--font-mono); font-size: 14px; user-select: all; }
.db__inline-err { margin: 14px 22px 0; }
.db__tblwrap { overflow-x: auto; }
.db__tblwrap .tbl { min-width: 560px; }
.db__empty { color: var(--muted); text-align: center; padding: 22px 14px; }
.db__kname { color: var(--ink); font-weight: 600; }
.db__kval { font-size: 13px; white-space: nowrap; }
.db__small { font-size: 13px; }
.db__act { text-align: right; white-space: nowrap; }
.db__act .btn + .btn { margin-left: 6px; }
.db__revoke:hover { border-color: var(--red); color: var(--red); }
.is-revoked td { color: var(--muted); }
.is-revoked .db__kname { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.db__what { color: var(--ink); }
.db__recent .mark { font-family: var(--font-mono); font-size: 13px; }
.db__code { position: relative; }
.db__code .code-copy { position: absolute; top: 10px; right: 12px; background: var(--code-bg); }
.db__code pre { max-height: 360px; }
.db__qsnote { margin: 0; padding: 12px 18px; border-top: 2px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.db__qsnote a { color: var(--ink); }
.db__pad { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.db__p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.db__secret { padding: 12px 14px; background: var(--code-bg); border: 2px solid var(--line); border-radius: var(--radius-ctl); font-family: var(--font-mono); font-size: 13px; overflow-x: auto; white-space: nowrap; color: var(--muted); }
.db__secret.is-shown { color: var(--ink); user-select: all; }
.db__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.db__btns a.btn--mini { text-decoration: none; }
.db__confirm { padding: 12px 14px; border: 2px solid var(--red); border-radius: var(--radius-ctl); background: var(--red-bg); display: flex; flex-direction: column; gap: 10px; }
.db__confirm p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.db__limits { font-family: var(--font-mono); font-size: 13px; color: var(--ink2); }
.db__lim { display: flex; flex-direction: column; gap: 6px; }
.db__lim-r { display: flex; justify-content: space-between; }
.db__lim-r span:last-child { color: var(--ink); }
.db__meter { height: 10px; border: 2px solid var(--frame); border-radius: var(--radius-sm); background: var(--surf2); position: relative; overflow: hidden; }
.db__meter span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--teal); }
.db__kv { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.db__kv > div { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--line); padding-top: 10px; }
.db__kv dt { color: var(--ink2); }
.db__kv dd { margin: 0; color: var(--ink); text-align: right; }
.db__fine { margin: 0; font-family: var(--font-body); font-size: 13px; line-height: 1.6; color: var(--muted); }
.db__danger { border-color: var(--red); }
.db__danger .win__bar { background: var(--red-bg); border-bottom-color: var(--red); color: var(--red); }
.db__self { align-self: flex-start; }
.badge--warn { border-color: var(--amber); color: var(--amber); background: var(--amber-bg); }
@media (max-width: 767px) {
  .pmain--dash { padding-top: 28px; }
  .db__h1 { font-size: 28px; }
  .db__n { font-size: 28px; }
  .db__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .db__stat { padding: 14px; }
  .db__legend { display: none; }
  .db__tblwrap .tbl { min-width: 0; }
  .db__act { text-align: left; padding-top: 8px !important; }
  .db__keyform, .db__newkeybox { padding: 16px; }
  .db__kf-row .seg { width: 100%; }
  .db__chart { padding: 16px 14px 10px; }
}
.db__kv dd { white-space: nowrap; }
/* Phone: the 32-char CT- number must fit the box whole (it's the only
   credential, and people check it against what they saved). The input's
   content box is ~100vw − 104px (gutters + card + field padding); Departure
   Mono advances 0.637em, so 32 chars need (100vw − 104px) / 20.4. Floor at
   10.5px for 320px phones. */
@media (max-width: 767px) { .lg__input { font-size: clamp(10.5px, calc((100vw - 104px) / 21), 13px); letter-spacing: 0; padding-left: 12px; padding-right: 12px; } }
/* Phone: the copy button floats top-right over the code; give it its own row. */
@media (max-width: 767px) { .db__code pre { padding-top: 48px; } }

/* ── API docs ──────────────────────────────────────────────────── */
.dx { width: 100%; max-width: 1320px; margin: 0 auto; display: flex; gap: 48px; align-items: flex-start; padding-top: 40px; padding-bottom: 96px; }
.dx-side { flex: 0 0 240px; position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow-y: auto; }
.dx-side__in { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.dx-chip { padding: 8px 10px; border: 2px solid var(--frame); border-radius: var(--radius-ctl); background: var(--surf); font-family: var(--font-mono); font-size: 12px; color: var(--ink2); }
.dx-group { display: flex; flex-direction: column; gap: 2px; }
.dx-gt { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding: 0 10px 6px; }
.dx-link { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 14px; color: var(--ink2); text-decoration: none; border-radius: var(--radius-sm); }
.dx-link:hover { color: var(--ink); background: var(--surf2); }
.dx-link[aria-current="true"] { color: var(--ink); background: var(--surf2); box-shadow: inset 3px 0 0 var(--lime); }
.dx-side__cta { align-self: flex-start; }
.dx-stuck { padding: 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.5; color: var(--ink2); }
.dx-stuck .spr { flex: none; }
.dx-stuck code, .dx-main code { font-family: var(--font-mono); font-size: .86em; padding: 1px 5px; background: var(--surf2); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); overflow-wrap: anywhere; }
.dx-main { flex: 1 1 auto; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 64px; }
.dx-hero { display: flex; flex-direction: column; gap: 16px; }
.dx-title { font-size: clamp(36px, 4.4vw, 50px); }
.dx-hero .lead { font-size: 17px; line-height: 1.65; }
.dx-base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dx-base .label { letter-spacing: 0; }
.dx-base code { font-size: 14px !important; padding: 4px 10px !important; }
.dx-sec { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; color: var(--ink2); }
.dx-sec > p, .dx-sec > ul, .dx-sec > ol { margin: 0; }
.dx-sec ul, .dx-sec ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.dx-sec strong { color: var(--ink); }
.dx-sec a { color: var(--ink); }
.dx-crumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0 0 -6px !important; }
.dx-h1 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 34px; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.dx-h1 .beta-tag { font-size: 12px; vertical-align: middle; margin-left: 6px; }
.dx-h2 { margin: 18px 0 0; font-family: var(--font-mono); font-weight: 400; font-size: 21px; line-height: 1.3; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dx-h2 code { background: transparent !important; border: 0 !important; padding: 0 !important; font-size: 1em !important; }
.dx-step { color: var(--teal); }
.dx-ep { padding: 12px 14px; border: 2px solid var(--frame); border-radius: var(--radius-ctl); background: var(--surf); font-size: 16px; overflow-wrap: anywhere; }
.dx-ep .badge { font-size: 12px; padding: 3px 8px; }
.badge--post { background: var(--lime); color: var(--on-lime); border-color: var(--hard); }
.dx-code { font-family: var(--font-mono); }
.dx-code pre { margin: 0; padding: 16px; background: var(--code-bg); overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: var(--ink2); tab-size: 2; }
.dx-code .win__bar { padding: 4px 6px 4px 12px; }
.dx-tabbar { gap: 2px; padding-left: 6px !important; }
.dx-tab { border: 0; background: transparent; color: var(--muted); padding: 6px 10px; font-family: var(--font-mono); font-size: 12px; border-radius: var(--radius-sm); cursor: pointer; }
.dx-tab:hover { color: var(--ink); }
.dx-tab[aria-selected="true"] { background: var(--surf); color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.dx-panelabel { margin: 0; padding: 8px 14px 0; background: var(--code-bg); font-size: 12px; color: var(--muted); }
.dx-tabs.is-js .dx-panelabel { display: none; }
.dx-tbl { overflow-x: auto; }
.dx-tbl .tbl { min-width: 520px; font-size: 14px; }
.dx-tbl .tbl td { vertical-align: top; }
.dx-tbl .tbl code { font-size: 12px; }
.dx-note { margin: 0; }
.dx-next { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; }
.dx-next p { flex: 1 1 260px; margin: 0; font-size: 15px; color: var(--ink2); }
.dx-toc { flex: 0 1 200px; min-width: 0; position: sticky; top: 72px; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; padding-top: 8px; max-height: calc(100vh - 88px); overflow-y: auto; }
.dx-toc__t { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.dx-toc a { display: block; padding: 4px 0 4px 10px; color: var(--muted); text-decoration: none; box-shadow: inset 2px 0 0 var(--line); line-height: 1.4; }
.dx-toc a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--lime); }
.dx-mbar { display: none; }
@media (max-width: 1179px) { .dx-toc { display: none !important; } }
@media (max-width: 959px) {
  .dx { display: block; padding-top: 24px; padding-bottom: 64px; }
  .dx-mbar { display: flex; position: sticky; top: var(--hdr-h, 70px); z-index: 20; gap: 10px; align-items: center; padding: 10px var(--gutter-r) 10px var(--gutter); background: var(--bg2); border-bottom: 2px solid var(--frame); }
  .dx-picker { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--surf); border: 2px solid var(--frame); border-radius: var(--radius-ctl); color: var(--ink); font-family: var(--font-mono); font-size: 14px; text-align: left; cursor: pointer; }
  .dx-picker__cur { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dx-picker[aria-expanded="true"] .dx-picker__ico { transform: rotate(180deg); }
  .dx-mbar .btn { min-height: 44px; }
  .dx-side { display: none; position: fixed; z-index: 25; top: calc(var(--hdr-h, 70px) + 66px); left: 12px; right: 12px; max-height: calc(100vh - var(--hdr-h, 70px) - 80px); background: var(--surf); border: 2px solid var(--frame); border-radius: var(--radius-win); box-shadow: var(--soft-win); padding: 14px 8px; }
  .dx-side.is-open { display: block; }
  .dx-side .dx-link { min-height: 44px; }
  .dx-side .dx-chip, .dx-side .dx-stuck { display: none; }
  .dx-main { gap: 48px; }
  .dx-h1 { font-size: 27px; }
  .dx-h2 { font-size: 18px; }
  .dx-sec { font-size: 15.5px; }
  .dx-tbl .tbl { min-width: 0; }
}
.dx-tbl td:first-child code { white-space: nowrap; }
.dx-note__b { min-width: 0; }

/* ── Privacy ───────────────────────────────────────────────────── */
.pv-shell { max-width: 820px; }
.pv-hero { padding-top: 64px; }
.pv-hero::before { display: none; }
.pv-body { display: flex; flex-direction: column; gap: 0; padding-top: 48px; padding-bottom: 96px; }
.pv-sec { padding: 28px 0; border-top: 2px solid var(--line); }
.pv-sec:first-child { border-top: 0; padding-top: 0; }
.pv-h { margin: 0 0 14px; font-family: var(--font-mono); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--ink); }
.pv-n { color: var(--teal); margin-right: 4px; }
.pv-sec .prose a { color: var(--ink); }
@media (max-width: 767px) {
  .pv-hero { padding-top: 40px; }
  .pv-h { font-size: 20px; }
  .pv-body { padding-top: 28px; padding-bottom: 64px; }
}
@media (max-width: 767px) { .page-privacy .phero__boo { display: none; } }
