@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/abc_favorit_book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/abc_favorit_medium.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Domaine";
  src: url("/fonts/domaine_regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Domaine";
  src: url("/fonts/domaine_medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Domaine";
  src: url("/fonts/domaine_bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter_variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --fg: #ededee;
  --mid: #8a8c92;
  --dim: #5c5e66;
  --faint: #3d3f46;
  --display:
    "ABC Favorit", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Domaine", Georgia, "Times New Roman", serif;
  
  --maxw: 1088px;
  --pad: 24px;
  --btn-bg: linear-gradient(104deg, rgba(253, 253, 253, 0.05) 5%, rgba(240, 240, 228, 0.1) 100%);
  --btn-bg-h: linear-gradient(104deg, rgba(253, 253, 253, 0.1) 5%, rgba(240, 240, 228, 0.17) 100%);

  --line: rgba(255, 255, 255, 0.07);
  --line-soft: rgba(255, 255, 255, 0.045);
  --fill: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
  --fill-h: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  --err: #d99;

  --hover: rgba(255, 255, 255, 0.03);
  --hover-2: rgba(255, 255, 255, 0.055);
  --rule-done: rgba(255, 255, 255, 0.22);
  --rule-now: rgba(255, 255, 255, 0.55);
  
  --step-now: rgba(255, 255, 255, 0.09);
  --focus: rgba(255, 255, 255, 0.55);
  --field-bg: rgba(0, 0, 0, 0.35);
  --field-bg-f: rgba(0, 0, 0, 0.5);
  --field-br: rgba(255, 255, 255, 0.12);
  --field-br-f: rgba(255, 255, 255, 0.42);
  --btn-fg: #fff;
  --btn-br: rgba(255, 255, 255, 0.07);
  --btn-br-h: rgba(255, 255, 255, 0.16);
  --h-grad: linear-gradient(180deg, #ffffff 36%, #6f7178);
  --scroll-thumb: rgba(255, 255, 255, 0.2);
  --scroll-thumb-h: rgba(255, 255, 255, 0.34);
  --scroll-track: rgba(255, 255, 255, 0.05);

  --acc-head: rgba(255, 255, 255, 0.05);
  --acc-head-h: rgba(255, 255, 255, 0.085);
  --acc-ok: rgba(126, 196, 143, 0.14);
  --acc-ok-h: rgba(126, 196, 143, 0.2);
  
  --ok: #57d08a;
  --ok-wash: rgba(87, 208, 138, 0.14);
}

.sheet {
  
  --bg: #ffffff;
  --fg: #16171a;
  --mid: #5f6167;
  --dim: #8b8d94;
  --faint: #b6b8be;
  --line: rgba(0, 0, 0, 0.11);
  --line-soft: rgba(0, 0, 0, 0.07);
  --fill: linear-gradient(180deg, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.012));
  --fill-h: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
  --panel: linear-gradient(180deg, rgba(0, 0, 0, 0.028), rgba(0, 0, 0, 0.008));
  --err: #a3312f;
  --hover: rgba(0, 0, 0, 0.028);
  --hover-2: rgba(0, 0, 0, 0.055);
  --rule-done: rgba(0, 0, 0, 0.3);
  --rule-now: rgba(0, 0, 0, 0.72);
  --step-now: rgba(0, 0, 0, 0.06);
  --focus: rgba(0, 0, 0, 0.55);
  --field-bg: #ffffff;
  --field-bg-f: #ffffff;
  --field-br: rgba(0, 0, 0, 0.16);
  --field-br-f: rgba(0, 0, 0, 0.55);
  --btn-bg: #16171a;
  --btn-bg-h: #000000;
  --btn-fg: #ffffff;
  --btn-br: #16171a;
  --btn-br-h: #000000;
  --scroll-thumb: rgba(0, 0, 0, 0.22);
  --scroll-thumb-h: rgba(0, 0, 0, 0.38);
  --scroll-track: rgba(0, 0, 0, 0.05);
  --acc-head: #f0f0f1;
  --acc-head-h: #e7e7e9;
  
  --acc-ok: #edf5ee;
  --acc-ok-h: #e3efe5;
  --ok: #2fa85e;
  --ok-wash: rgba(47, 168, 94, 0.1);
  
  --st-arch: #a5352f;
  --st-arch-bg: rgba(193, 66, 60, 0.11);
  --st-eol: #866413;
  --st-eol-bg: rgba(196, 152, 30, 0.16);

  background: var(--bg);
  color: var(--fg);
  
  padding: 30px clamp(12px, 2vw, 32px) 64px;
}

:root[data-theme="dark"] .sheet {
  --bg: #0c0d0f;
  --fg: #e9eaec;
  
  --date-picker-filter: invert(1) brightness(1.4);
  --mid: #9a9ca2;
  --dim: #6c6e75;
  --faint: #45474e;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --fill: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016));
  --fill-h: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026));
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  --err: #e2807a;
  --hover: rgba(255, 255, 255, 0.04);
  --hover-2: rgba(255, 255, 255, 0.07);
  --rule-done: rgba(255, 255, 255, 0.28);
  --rule-now: rgba(255, 255, 255, 0.75);
  --step-now: rgba(255, 255, 255, 0.08);
  --focus: rgba(255, 255, 255, 0.6);
  --field-bg: rgba(255, 255, 255, 0.02);
  --field-bg-f: rgba(255, 255, 255, 0.045);
  --field-br: rgba(255, 255, 255, 0.16);
  --field-br-f: rgba(255, 255, 255, 0.5);
  
  --btn-bg: #e9eaec;
  --btn-bg-h: #ffffff;
  --btn-fg: #0c0d0f;
  --btn-br: #e9eaec;
  --btn-br-h: #ffffff;
  --scroll-thumb: rgba(255, 255, 255, 0.22);
  --scroll-thumb-h: rgba(255, 255, 255, 0.38);
  --scroll-track: rgba(255, 255, 255, 0.05);
  --acc-head: rgba(255, 255, 255, 0.05);
  --acc-head-h: rgba(255, 255, 255, 0.085);
  --acc-ok: rgba(87, 208, 138, 0.12);
  --acc-ok-h: rgba(87, 208, 138, 0.18);
  --ok: #57d08a;
  --ok-wash: rgba(87, 208, 138, 0.14);
  --st-arch: #e58b83;
  --st-arch-bg: rgba(224, 119, 111, 0.14);
  --st-eol: #d6ad55;
  --st-eol-bg: rgba(211, 163, 64, 0.16);
}

:root[data-theme="dark"] .sheet #stp-2 .pv-bar > i,
:root[data-theme="dark"] .sheet #stp-2 .pv-pw-bar > i {
  background: linear-gradient(90deg, #6f7178, #e9eaec);
}
:root[data-theme="dark"] .sheet #stp-2 .pv-hm-legend .ramp {
  background: linear-gradient(90deg, #191a1d, #55575e, #9a9ca2, #e9eaec);
}
:root[data-theme="dark"] .sheet #stp-2 .pv-pw-img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .sheet #stp-2 .pv-pw-rk {
  background: #e9eaec;
  color: #0c0d0f;
}
:root[data-theme="dark"] .sheet #stp-2 .flag,
:root[data-theme="dark"] .sheet #stp-2 .flag-x {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden]:not([hidden="until-found"]) {
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--display);
  font-weight: 400;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.main {
  position: relative;
  z-index: 1;
  padding: 8px 0 72px;
  
  transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.narrow {
  max-width: 520px;
}
.mono,
.code {
  
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.hd {
  position: relative;
  z-index: 1;
  
  overflow: hidden;
}
.hd-rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hd-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 12px;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand svg {
  width: 22px;
  height: 22px;
  stroke: #f2f3f5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.logoset {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  perspective: 340px;
}
.logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.5s ease;
}
.logo.t-pop {
  transform: scale(0.4);
}
.logo.t-up {
  transform: translateY(16px) scale(0.9);
}
.logo.t-down {
  transform: translateY(-16px) scale(0.9);
}
.logo.t-left {
  transform: translateX(-18px);
}
.logo.t-right {
  transform: translateX(18px);
}
.logo.t-rot {
  transform: rotate(-40deg) scale(0.6);
}
.logo.t-flip {
  transform: rotateY(88deg);
}
.logo.t-blur {
  transform: scale(1.18);
  filter: blur(5px);
}

.logo.active {
  opacity: 1;
  transform: none;
  filter: none;
}
.logo svg {
  width: 27px;
  height: 27px;
  stroke: #f2f3f5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo svg .f {
  fill: #f2f3f5;
  stroke: none;
}
.logo svg text {
  font-family: var(--display);
  font-weight: 700;
  fill: #f2f3f5;
  stroke: none;
}

@media (prefers-reduced-motion: reduce) {
  .logo {
    transition: none;
  }
}
.hd-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hd-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding: 8px 12px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.hd-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

.hd-nav a.on {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.07);
}

[data-page="account"] .hd-nav {
  flex: 1;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
}
[data-page="account"] .hd-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
}
[data-page="account"] .hd-nav a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
[data-page="account"] .hd-nav a.on {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}
[data-page="account"] .hd-nav a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ok);
}

[data-page="account"] .hd-sep {
  width: 1px;
  align-self: stretch;
  margin: 0 6px 0 auto;
  background: var(--line);
}
[data-page="account"] .hd-help {
  align-self: center;
}
@media (max-width: 440px) {
  
  [data-page="account"] .hd-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }
  [data-page="account"] .hd-nav a {
    padding: 0 9px;
    letter-spacing: 0.06em;
    font-size: 11px;
    flex: 0 0 auto;
  }
  [data-page="account"] .hd-sep {
    margin: 0 2px 0 5px;
  }
}

.ft-theme {
  margin-left: auto;
}

.h-help {
  margin-left: 12px;
  vertical-align: 3px;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  
  border-radius: 50%;
  border: 1px solid var(--faint);
  background: none;
  color: var(--mid);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.h-help:hover {
  color: var(--fg);
  border-color: var(--mid);
  background: var(--hover-2);
}
.hd-help {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  margin-left: 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--faint);
  background: none;
  color: var(--mid);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.hd-help:hover {
  color: var(--fg);
  border-color: var(--mid);
  background: var(--hover-2);
}

.dlg {
  width: min(430px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid var(--line);
  background: #0d0d0f;
  color: var(--fg);
}
.dlg::backdrop {
  background: rgba(6, 6, 8, 0.66);
}
.dlg-h {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.dlg-p {
  margin-top: 12px;
  color: var(--mid);
  font-size: 14.5px;
  line-height: 1.62;
}
.dlg-a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 3px;
}
.dlg-a:hover {
  text-decoration-color: var(--mid);
}
.dlg-foot {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.dlg[open] {
  animation: dlg-in 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.dlg[open]::backdrop {
  animation: dlg-fade 0.16s ease;
}
@keyframes dlg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes dlg-fade {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dlg[open],
  .dlg[open]::backdrop {
    animation: none;
  }
}

.ft {
  position: relative;
  z-index: 1;
  padding: 0 0 48px;
}
.ft-in {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.ft-in p {
  color: var(--faint);
  font-size: 13px;
}

.ft-bl {
  color: var(--faint);
  font-size: 12px;
}
.ft-build {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.ft-legal {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ft-legal p {
  margin: 0;
}

.theme-seg {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--hover);
  align-self: center;
}
.theme-opt {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--mid);
  font: inherit;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  padding: 6px 13px;
  cursor: pointer;
  transition:
    color 0.14s ease,
    background 0.14s ease;
}
.theme-opt:first-child {
  border-left: 0;
}
.theme-opt:hover {
  color: var(--fg);
  background: var(--hover-2);
}
.theme-opt[aria-pressed="true"] {
  color: var(--fg);
  background: var(--step-now);
}
.theme-opt:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: -1px;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  contain: strict;
}

.masthead {
  padding: 26px 0 30px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
  margin-bottom: 16px;
}
.h-page {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.05;
  font-size: clamp(28px, 3.4vw, 40px);
  background: linear-gradient(180deg, #ffffff 36%, #6f7178);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 18px;
  color: var(--mid);
  font-size: clamp(15px, 1.5vw, 17px);
}

.lead-note {
  margin-top: 10px;
  color: var(--dim);
  font-size: 13.5px;
}
.h-sec {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.025em;
}
.sub {
  margin-top: 10px;
  color: var(--mid);
  font-size: 14.5px;
  max-width: 68ch;
}
.hint {
  color: var(--dim);
  font-size: 13.5px;
}
.muted {
  color: var(--mid);
}
.dimtext {
  color: var(--dim);
}

.steps {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar {
  display: none;
}
.step {
  flex: 1 1 0;
  min-width: 96px;
  
  padding: 12px 10px 11px;
  border-top: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.step-l {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: inherit;
  color: var(--dim);
  white-space: nowrap;
}
button.step-l:disabled {
  cursor: default;
}

button.step-l:not(:disabled) {
  cursor: pointer;
}
button.step-l:not(:disabled):hover {
  color: var(--fg);
}
.step:has(button.step-l:not(:disabled):hover) {
  border-top-color: var(--rule-now);
}

.step-sep {
  flex: 0 0 auto;
  align-self: flex-end;
  padding: 0 1px 2px;
  line-height: 0;
}
.step-sep svg {
  width: 26px;
  height: 22px;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-sep svg .trail {
  stroke: var(--faint);
}
.step[data-state="done"] {
  border-top-color: var(--rule-done);
}
.step[data-state="done"] .step-l {
  color: var(--mid);
}

.step[data-state="now"] {
  border-top-color: var(--rule-now);
  background: var(--step-now);
}
.step[data-state="now"] .step-l {
  color: var(--fg);
  font-weight: 500;
}

.ledger-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
}

.ledger-scroll {
  max-height: 268px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
  overscroll-behavior: contain;
}
.ledger-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.ledger-scroll::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
.ledger-scroll::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid transparent;
  background-clip: content-box;
}
.ledger-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-h);
  background-clip: content-box;
}
.ledger-scroll::-webkit-scrollbar-corner {
  background: transparent;
}
.ledger {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.ledger--wide {
  min-width: 760px;
}
.ledger th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--dim);
  padding: 0 16px 10px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ledger-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
  padding-top: 10px;
}
.ledger td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.ledger tbody tr:last-child td {
  border-bottom: 1px solid var(--line-soft);
}
.ledger .c-pick {
  width: 30px;
  padding-right: 10px;
}
.ledger td.num {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--mid);
  white-space: nowrap;
}
.ledger td.code {
  color: var(--fg);
  white-space: nowrap;
}

.ledger td.c-cats {
  padding-right: 12px;
}
.ledger td.c-cats .cat {
  display: inline-block;
  margin: 2px 5px 2px 0;
  padding: 2px 9px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.ledger td.empty {
  text-align: center;
  color: var(--dim);
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pick-row {
  cursor: pointer;
  transition: background 0.12s ease;
}
.pick-row:hover td {
  background: var(--hover);
}
.pick-row.on td {
  background: var(--hover-2);
}
.sub-line {
  display: block;
  margin-top: 4px;
  color: var(--mid);
  font-size: 12.5px;
}
.stack span {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: nowrap;
}
.stack .off {
  color: var(--dim);
}
.dots {
  color: var(--mid);
  letter-spacing: 0.02em;
}
tr.revoked td {
  color: var(--dim);
  text-decoration: line-through;
}
tr.revoked td.act {
  text-decoration: none;
}

.filterbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
  flex-wrap: wrap;
}

.sec-head {
  margin-bottom: 14px;
}
.sec-head .filterbar {
  margin: 12px 0 0;
  justify-content: flex-start;
}
.in,
input[type="text"],
input[type="email"],
input[type="search"] {
  width: 100%;
  background: var(--field-bg);
  color: var(--fg);
  border: 1px solid var(--field-br);
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.in::placeholder,
input::placeholder {
  color: var(--faint);
}
.in:focus,
input:focus {
  outline: none;
  border-color: var(--field-br-f);
  background: var(--field-bg-f);
}
.in-mono {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.in-filter {
  max-width: 360px;
}
.sec-head .in-filter {
  flex: 0 1 380px;
}
.lbl {
  display: block;
  font-size: 13.5px;
  color: var(--mid);
  margin-bottom: 8px;
}
.field {
  margin-bottom: 18px;
}
.field:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.btn-primary {
  color: var(--btn-fg);
  font-size: 14px;
  padding: 11px 18px;
  background: var(--btn-bg);
  border: 2px solid var(--btn-br);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover:not(:disabled) {
  border-color: var(--btn-br-h);
  background: var(--btn-bg-h);
}
.btn-primary:disabled {
  opacity: 0.45;
  cursor: default;
}
.btn-text {
  color: var(--mid);
  font-size: 14px;
  padding: 11px 12px;
  background: none;
  border: none;
}
.btn-text:hover:not(:disabled) {
  color: var(--fg);
}
.btn-text:disabled {
  color: var(--faint);
  cursor: default;
}
.btn-small {
  font-size: 13px;
  padding: 7px 13px;
}
.lnk {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--fg);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--faint);
}
.lnk:hover {
  text-decoration-color: var(--mid);
}
.lnk-dim {
  color: var(--mid);
}

.pick {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin: 4px 0 0;
  border: 1px solid var(--faint);
  background: transparent;
  cursor: pointer;
  display: block;
  transition:
    border-color 0.14s ease,
    background 0.14s ease;
}
.pick:hover {
  border-color: var(--mid);
}
.pick:checked {
  background: var(--fg);
  border-color: var(--fg);
  box-shadow: inset 0 0 0 2.5px var(--bg);
}

.cbx {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  border: 1px solid var(--faint);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.14s ease,
    background 0.14s ease;
}
.cbx:hover:not(:disabled) {
  border-color: var(--mid);
}
.cbx:checked {
  background: var(--fg);
  border-color: var(--fg);
}
.cbx:checked::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8.5px;
  border: solid var(--bg);
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}
.cbx:disabled {
  cursor: default;
}

.panel {
  background: var(--panel);
  padding: 26px;
}
.card {
  background: var(--fill);
  padding: 22px;
}
.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.codegate {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.codegate .sub {
  margin-bottom: 22px;
}
.stp-foot {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.acks {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.acks + .stp-foot {
  margin-top: 22px;
}
.ackr {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.ack-read {
  font-size: 13px;
  color: var(--mid);
}
.ackr:has(input:disabled) .ack-read {
  color: var(--dim);
}
.ackr .fs {
  flex: 1 0 100%;
  margin: 0;
}

#legal-body,
#acc .acc-i {
  scroll-margin-top: 20px;
}
@keyframes cb-cue {
  0%,
  60% {
    background: var(--ok-wash);
    box-shadow: 0 0 0 12px var(--ok-wash);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 12px transparent;
  }
}
#legal-body.flash,
#acc .acc-i.flash {
  animation: cb-cue 1.9s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  #legal-body.flash,
  #acc .acc-i.flash {
    animation: none;
    background: var(--ok-wash);
    box-shadow: 0 0 0 12px var(--ok-wash);
  }
}
.cap {
  margin-top: 18px;
  min-height: 0;
}
.cap:empty {
  margin-top: 0;
}
.fs {
  margin-top: 14px;
  font-size: 14px;
  min-height: 18px;
  color: var(--mid);
}
.fs.err {
  color: var(--err);
}
.fs.ok {
  color: var(--fg);
}

.fs.busy::before {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  vertical-align: -1px;
  border: 2px solid var(--faint);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .fs.busy::before {
    animation: none;
    border-top-color: var(--mid);
  }
}
.fs:empty {
  min-height: 0;
  margin-top: 0;
}
.load-line {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
  padding: 18px 0;
}

.acc {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.acc-h {
  margin: 0;
}
.acc-b {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--acc-head);
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.acc-b:hover {
  background: var(--acc-head-h);
}
.acc-i[data-state="acked"] .acc-b {
  background: var(--acc-ok);
}
.acc-i[data-state="acked"] .acc-b:hover {
  background: var(--acc-ok-h);
}

.acc-t {
  flex: 1 1 auto;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--dim);
  transition: color 0.15s ease;
}
.acc-i[data-state="read"] .acc-t {
  color: var(--mid);
}
.acc-i[data-state="acked"] .acc-t,
.acc-b[aria-expanded="true"] .acc-t {
  color: var(--fg);
}
.acc-k {
  flex: 0 0 auto;
  display: block;
  width: 12px;
  height: 12px;
}
.acc-k svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--fg);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.acc-x {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-b[aria-expanded="true"] .acc-x {
  transform: rotate(180deg);
}
.acc-x svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acc-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 9px;
  border-bottom: 1px solid var(--line-soft);
  background: none;
}
.acc-hd .acc-t {
  color: var(--fg);
}
.pv-nest .acc-hd {
  padding: 9px 14px 8px;
  border-left: 2px solid var(--line-soft);
}
.pv-nest .acc-hd .acc-t {
  font-size: 15px;
}

.pv-doc {
  padding: 0;
}

.pv-doc #legal-body {
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.acc-p {
  padding: 20px 16px 30px;
}

.samp {
  margin: 4px 0 20px;
}
.samp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.samp-box {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
  overscroll-behavior: contain;
}
.samp-box::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.samp-box::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid transparent;
  background-clip: content-box;
}
.samp-box::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-h);
  background-clip: content-box;
}
.samp-t {
  min-width: 1100px;
  font-family: var(--sans);
  font-size: 12px;
}
.samp-t th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg);
  padding: 9px 14px 8px 12px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0;
}
.samp-t td {
  padding: 6px 14px 6px 12px;
  white-space: nowrap;
  vertical-align: middle;
}

.samp-t .nul {
  color: var(--faint);
  font-style: italic;
}
@media (prefers-reduced-motion: reduce) {
  .acc-x {
    transition: none;
  }
}

.sec-body {
  max-width: none;
  max-height: 440px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 20px 22px;
  border: 1px solid var(--line);
}

.d-h {
  margin: 26px 0 12px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.d-h:first-child {
  margin-top: 0;
}
.d-p {
  margin: 0 0 16px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.62;
}
.d-p:last-of-type {
  margin-bottom: 0;
}
.d-ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.d-ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.6;
}
.d-ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mid);
}
.d-table {
  margin: 0;
  font-size: 13.5px;
}
.d-table td {
  color: var(--mid);
}
.d-table td:first-child {
  color: var(--fg);
  font-family: var(--sans);
  font-size: 12.5px;
  white-space: nowrap;
}
.note {
  margin: 22px 0;
  padding: 2px 0 2px 20px;
  border-left: 1px solid var(--faint);
  color: var(--mid);
  font-size: 14.5px;
  line-height: 1.6;
}
.note-json {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.85;
  word-break: break-word;
}
.ack-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--fg);
}
.ack-label input:disabled + span {
  color: var(--mid);
}

.ack-label:has(input:disabled) {
  cursor: default;
}

.p2 {
  margin-top: 26px;
  --p2-grid: 20px minmax(112px, 1.1fr) minmax(260px, 2.5fr) minmax(96px, 0.95fr) 104px;
}

.p2-cov--spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  align-content: center;
}
.p2-spec-i {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p2-spec-k {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}
.p2-spec-v {
  font-size: 13.5px;
  line-height: 1.2;
}

.p2-sec {
  padding: 0 6px 15px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mid);
}
.p2-sec--full {
  margin-top: 40px;
}

.p2-head {
  display: grid;
  grid-template-columns: var(--p2-grid);
  align-items: end;
  column-gap: 22px;
  padding: 0 6px 9px;
  border-bottom: 1px solid var(--rule-done);
}
.p2-head span {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}
.p2-head .p2-h-price {
  text-align: right;
}

.p2-row {
  appearance: none;
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 17px 6px;
  display: grid;
  grid-template-columns: var(--p2-grid);
  align-items: center;
  column-gap: 22px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.p2-row:hover {
  background: var(--hover);
}
.p2-row:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: -2px;
}

.p2-row--on {
  background: var(--hover-2);
  border-bottom-color: var(--rule-now);
}

.p2-radio {
  justify-self: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--field-br);
  background: var(--field-bg);
  position: relative;
}
.p2-row:hover .p2-radio {
  border-color: var(--rule-done);
}
.p2-row--on .p2-radio {
  border-color: var(--ok);
  background: var(--ok-wash);
}
.p2-row--on .p2-radio::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 3.5px;
  height: 8px;
  border: solid var(--ok);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.p2-nm {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  min-inline-size: 0;
}
.p2-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
}
.p2-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ok);
  background: var(--ok-wash);
  padding: 2px 7px;
  white-space: nowrap;
}

.p2-cov,
.p2-term {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--mid);
}

.p2-price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.p2-per {
  margin-left: 0.16em;
  font-size: 0.64em;
  font-weight: 500;
  color: var(--mid);
}

@media (max-width: 760px) {
  .p2-head {
    display: none;
  }
  .p2-row {
    grid-template-columns: 20px 1fr auto;
    grid-template-areas:
      "radio name price"
      "radio cov cov"
      "radio term term";
    align-items: start;
    column-gap: 12px;
    row-gap: 5px;
    padding: 15px 2px;
  }
  .p2-radio {
    grid-area: radio;
    margin-top: 3px;
  }
  .p2-nm {
    grid-area: name;
  }
  .p2-price {
    grid-area: price;
    font-size: 17px;
  }
  .p2-cov {
    grid-area: cov;
  }
  .p2-term {
    grid-area: term;
  }
  .p2-name {
    font-size: 18px;
  }
}

.pk-view {
  animation: pkFade 0.18s ease-out;
}
@keyframes pkFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pk-view {
    animation: none;
  }
}

.act-sep {
  color: var(--mid);
  margin: 0 2px;
}

.ledger--subs th:last-child,
.ledger--subs td.act {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.kebab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: none;
  color: var(--mid);
  cursor: pointer;
}
.kebab svg {
  fill: currentcolor;
  stroke: none;
}
.kebab:hover,
.kebab.open {
  color: var(--fg);
  background: var(--hover);
}
.kebab:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  color: var(--fg);
}

.menuwrap {
  position: relative;
  display: inline-block;
}
.menupop {
  position: fixed;
  z-index: 30;
  min-width: 190px;
  padding: 4px;
  border: 1px solid var(--field-br);
  border-radius: 10px;
  background: var(--bg);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 16px 44px rgba(0, 0, 0, 0.28);
  visibility: hidden;
}
.menupop.placed {
  visibility: visible;
  animation: menuIn 0.12s ease-out;
}
@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menupop.placed {
    animation: none;
  }
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px 9px 10px;
  border: none;
  border-radius: 7px;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
  line-height: 1;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.menu-item:hover {
  background: var(--hover);
}
.menu-item:focus-visible {
  background: var(--hover);
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
.menu-ico {
  flex: 0 0 auto;
  color: var(--mid);
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
}
.menu-item:hover .menu-ico,
.menu-item:focus-visible .menu-ico {
  color: inherit;
}

.st-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.st-ok-ico {
  flex: 0 0 auto;
  color: var(--ok);
  fill: none;
  stroke: currentcolor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-go-ico {
  margin-left: 5px;
  vertical-align: -1px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  opacity: 0.55;
}
.ds-link:hover .ds-go-ico,
.ds-link:focus-visible .ds-go-ico {
  opacity: 1;
}

.ds-link {
  display: block;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.ds-link:hover,
.ds-link:focus-visible {
  text-decoration: underline;
}

.c-ver,
.ledger td.num {
  width: 88px;
  text-align: right;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mid);
}

.pane {
  margin-bottom: 56px;
}
.pane:last-child {
  margin-bottom: 0;
}
.pane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pane-head .h-sec {
  font-size: 19px;
}
.rt-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.acct-id {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.acct-id .code {
  color: var(--fg);
}
.acct-id .lab {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.keyblock {
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid var(--faint);
}
.keyblock-h {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.keyval {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  word-break: break-all;
  line-height: 1.6;
  user-select: all;
}
.keyblock-note {
  margin-top: 14px;
  color: var(--mid);
  font-size: 13.5px;
}

.quickstart {
  margin: 0 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--faint);
}

.quickstart-h {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

.quickstart-cmd {
  margin: 0 0 8px;
  padding: 12px 14px;
  overflow-x: auto;
  background: var(--faint-bg, rgba(255, 255, 255, 0.03));
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre;
  color: var(--fg);
}

.quickstart-note {
  margin: 0;
  font-size: 13px;
  color: var(--mid);
}

.hint-block {
  display: block;
  margin: 14px 0 0;
}

.keyblock-acts {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mintform {
  margin-bottom: 30px;
}
.mint-list {
  margin-top: 6px;
}
.mint-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.mint-row:first-child {
  border-top: 1px solid var(--line);
}
.mint-row .code {
  color: var(--fg);
}

.ledger td.confirm-cell {
  padding: 16px 0 18px;
}
.confirm-q {
  font-size: 14.5px;
  color: var(--fg);
}
.confirm-q .code {
  color: var(--fg);
}
.confirm-acts {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.banner {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-left: 1px solid var(--faint);
  color: var(--mid);
  font-size: 14px;
}
.sessionbar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

body[data-page="account"] .wrap {
  max-width: 1360px;
}

.acct-ov {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 4px 0 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.acct-ov:empty {
  display: none;
}
.ov-cell {
  padding: 20px 28px;
  border-left: 1px solid var(--line-soft);
}
.ov-cell:first-child {
  border-left: 0;
  padding-left: 0;
}
.ov-cell:last-child {
  padding-right: 0;
}
.ov-n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.ov-n--date {
  font-family: var(--sans);
  font-size: 21px;
  letter-spacing: 0;
}
.ov-l {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg);
}
.ov-s {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--dim);
}

.acct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(288px, 26%, 344px);
  gap: 0 56px;
  align-items: start;
}
.acct-main {
  min-width: 0;
}

.acct-main .ledger-wrap {
  margin: 0;
  padding: 0;
}
.acct-rail {
  position: sticky;
  top: 24px;
  
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.rail-sec {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rail-h {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.rail-lab {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.rail-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rail-id .code {
  color: var(--fg);
  word-break: break-all;
}

.rail-form {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.rail-form select,
.rail-form textarea {
  font: inherit;
  width: 100%;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  color-scheme: light;
}
.rail-form textarea {
  resize: vertical;
  line-height: 1.5;
}
:root[data-theme="dark"] .rail-form select,
:root[data-theme="dark"] .rail-form textarea {
  color-scheme: dark;
}

.rail-ledger {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--dim);
}
.rail-ledger li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid var(--line-soft);
}
.rail-ledger li span:last-child {
  color: var(--mid);
  text-align: right;
}
.rail-acts {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.rail-acts .btn-text {
  padding-left: 0;
  padding-right: 0;
}
.rail-endpoint {
  margin-top: 4px;
  color: var(--fg);
  word-break: break-all;
}
.rail-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
}
.rail-cmd {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: var(--hover);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.7;
  
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--fg);
}
.rail-contact {
  margin-top: 8px;
}

body[data-page="account"]:not([data-authed="1"]) .acct-grid {
  grid-template-columns: 1fr;
}
body[data-page="account"]:not([data-authed="1"]) .acct-rail {
  display: none;
}
body[data-page="account"]:not([data-authed="1"]) .acct-main {
  max-width: 560px;
}

@media (max-width: 940px) {
  .acct-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .acct-rail {
    position: static;
    margin-top: 44px;
  }
}
@media (max-width: 560px) {
  .acct-ov {
    grid-template-columns: 1fr 1fr;
  }
  .acct-ov .ov-cell:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
  }
  .ov-cell {
    padding: 16px 18px;
  }
  .ov-cell:first-child {
    padding-left: 0;
  }
  .ov-n {
    font-size: 28px;
  }
}

.rt {
  padding: 70px 0 120px;
}
.rt-actions {
  margin-top: 30px;
}

.sheet .masthead {
  padding-top: 0;
}
.sheet ::selection {
  background: rgba(0, 0, 0, 0.13);
  color: #000;
}

:root[data-theme="dark"] .sheet ::selection {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.sheet :focus-visible {
  outline: 1px solid var(--focus);
}

.sheet .h-page {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--fg);
}

@media (max-width: 720px) {
  .steps {
    gap: 0;
  }
  .step {
    min-width: 104px;
    padding-right: 10px;
  }
}
@media (max-width: 560px) {
  :root {
    --pad: 16px;
  }
  .main {
    padding: 22px 0 72px;
  }
  .masthead {
    padding: 18px 0 24px;
  }
  .panel,
  .tier {
    padding: 20px;
  }
  .in-filter {
    max-width: none;
  }
  .filterbar {
    gap: 8px;
  }
  .tier-price {
    font-size: 34px;
  }
  .keyval {
    font-size: 14px;
  }
}
@media (max-width: 400px) {
  .hd-nav {
    gap: 0;
  }
  .hd-nav a {
    padding: 8px 6px;
    font-size: 13px;
  }
  .brand {
    font-size: 16px;
  }
}

.pv-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--dim);
}
.pv-verified svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--mid);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-facts {
  list-style: none;
  margin: 16px 0 2px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pv-facts li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
}
.pv-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg);
}
.pv-facts b {
  color: var(--fg);
  font-weight: 600;
}
.pv-facts .fv {
  margin: 0 3px 0 8px;
  font-family: var(--sans);
  color: var(--fg);
}
.pv-facts .fd {
  color: var(--dim);
}

.pv-acc {
  margin-top: 22px;
}
.pv-acc .acc-p {
  border-top: 1px solid var(--line-soft);
}
.pv-acc .acc-p-flush {
  padding: 0;
}

.loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
}
.loading[hidden] {
  display: none;
}
.spinner {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  border: 2px solid var(--faint);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-top-color: var(--mid);
  }
}

.pv-outer {
  margin-top: 24px;
}

.pv-lead {
  margin-top: 20px;
}
.pv-lead-lede {
  max-inline-size: 68ch;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: balance;
}

.pv-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}
.pv-kpi {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 18px;
  background: var(--bg);
}
.pv-kpi-n {
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.pv-kpi-l {
  font-size: 12px;
  line-height: 1.3;
  color: var(--mid);
}

.pv-lead-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.pv-lead-fig {
  margin: 0;
  min-inline-size: 0;
}
.pv-fig-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.pv-fig-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--dim);
}

.pv-cmix {
  margin-top: 18px;
}
.pv-cmix-h {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--mid);
}
.pv-cmix-bar {
  display: flex;
  gap: 1px;
  height: 10px;
  overflow: hidden;
  background: var(--line);
}
.pv-cmix-seg {
  height: 100%;
}
.pv-cmix-seg[data-net="residential"] {
  background: var(--ok);
}
.pv-cmix-seg[data-net="mobile"] {
  background: var(--fg);
}
.pv-cmix-seg[data-net="hosting"] {
  background: var(--dim);
}
.pv-cmix-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--mid);
}
.pv-cmix-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: capitalize;
}
.pv-cmix-key::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
}
.pv-cmix-key[data-net="residential"]::before {
  background: var(--ok);
}
.pv-cmix-key[data-net="mobile"]::before {
  background: var(--fg);
}
.pv-cmix-key[data-net="hosting"]::before {
  background: var(--dim);
}
.pv-geo-note {
  margin-top: 14px;
  max-inline-size: 44ch;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

.pv-aud p {
  color: var(--mid);
}
@media (max-width: 760px) {
  .pv-lead-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pv-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .pv-kpi-n {
    font-size: 24px;
  }
}

.pv-unpub {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2, transparent);
}
.pv-unpub-h {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}
.pv-unpub p {
  max-inline-size: 62ch;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.62;
}
.pv-unpub p + p {
  margin-top: 10px;
}

.pv-prose {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pv-prose p {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.62;
}

.pv-doc .pv-prose {
  gap: 14px;
}
.pv-doc .pv-prose p {
  max-inline-size: none;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.68;
}

.peek {
  margin-top: 26px;
  min-inline-size: 0;
}
.peek-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.peek-lg {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.peek-max {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  color: var(--mid);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.peek-max:hover {
  background: var(--hover-2);
  color: var(--fg);
}
.peek-max svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.peek-max .i-min {
  display: none;
}
.peek-scroll {
  max-height: 520px;
  overflow-y: auto;
  padding: 14px 0 0;
}

.peek--max .peek-scroll {
  max-height: none;
  padding-top: 18px;
}
.peek--max .peek-max .i-max {
  display: none;
}
.peek--max .peek-max .i-min {
  display: inline;
}

body.wide-main .main {
  
  max-width: 80%;
}
body.wide-main .sheet {
  padding-left: clamp(8px, 1.5vw, 20px);
  padding-right: clamp(8px, 1.5vw, 20px);
}
@media (prefers-reduced-motion: reduce) {
  .main {
    transition: none;
  }
}

.pv-cases-intro {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 4px;
}
.pv-case-h {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 26px 0 10px;
}
.pv-case-h:first-of-type {
  margin-top: 16px;
}

.pv-case-lead {
  margin: -4px 0 0;
  font-size: 12.5px;
  color: var(--dim);
  max-width: 64ch;
}

.pv-nest {
  margin-top: 0;
  gap: 6px;
}
.pv-nest .acc-b {
  padding: 9px 14px;
  border-left: 2px solid var(--line);
}
.pv-nest .acc-b[aria-expanded="true"] {
  border-left-color: var(--mid);
}
.pv-nest .acc-t {
  font-size: 15px;
}
.pv-nest .acc-p {
  padding: 16px 14px 22px;
  border-left: 2px solid var(--line-soft);
}

.pv-schematbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pv-schematbl th {
  text-align: left;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
  padding: 0 12px 8px 0;
  border-bottom: 1px solid var(--line);
}
.pv-schematbl td {
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--mid);
  vertical-align: top;
}
.pv-schematbl td.mono {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--fg);
  white-space: nowrap;
}
.pv-schematbl td.dim {
  color: var(--dim);
}

.pv-er-scroll {
  overflow-x: auto;
  margin: 2px 0;
  -webkit-overflow-scrolling: touch;
}
.pv-er {
  display: block;
}
.er-box {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 1;
}
.er-dimension .er-box {
  stroke: var(--rule-done);
}
.er-hd {
  fill: var(--hover-2);
}
.er-hdline {
  stroke: var(--line);
  stroke-width: 1;
}
.er-name {
  fill: var(--fg);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}
.er-badge {
  fill: var(--dim);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.er-grain {
  fill: var(--dim);
  font-family: var(--sans);
  font-size: 10.5px;
}
.er-div {
  stroke: var(--line-soft);
  stroke-width: 1;
}
.er-pk {
  fill: var(--fg);
}
.er-fk {
  fill: none;
  stroke: var(--mid);
  stroke-width: 1.4;
}
.er-fname {
  fill: var(--fg);
  font-family: var(--sans);
  font-size: 12.5px;
}
.er-key {
  font-weight: 600;
}
.er-ftype {
  fill: var(--dim);
  font-family: var(--sans);
  font-size: 11px;
}
.er-line,
.er-foot,
.er-one {
  fill: none;
  stroke: var(--rule-done);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.er-lp {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 1;
}
.er-ll {
  fill: var(--mid);
  font-family: var(--sans);
  font-size: 10.5px;
}
.pv-er-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 12px 0 2px;
  padding: 0;
  font-size: 12px;
  color: var(--dim);
}
.pv-er-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.er-lg {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.er-lg-pk {
  background: var(--fg);
}
.er-lg-fk {
  border: 1.4px solid var(--mid);
}

.pv-erv {
  margin: 2px 0 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.pv-erv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--hover-2);
}
.pv-erv-hint {
  font-size: 11.5px;
  color: var(--dim);
}
.pv-erv-btns {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}
.pv-erv-b {
  font: inherit;
  font-size: 12px;
  line-height: 1;
  min-width: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--mid);
  cursor: pointer;
}
.pv-erv-b:hover {
  border-color: var(--faint);
  color: var(--fg);
}
.pv-erv-stage {
  height: 360px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at 1px 1px, var(--line-soft) 1px, transparent 0) 0 0 / 22px 22px;
}
.pv-erv-stage.is-panning {
  cursor: grabbing;
}
.pv-erv .pv-er {
  display: block;
  width: 100%;
  height: 100%;
}
.er-card,
.er-rel {
  transition: opacity 0.12s ease;
}
.pv-er.erv-focus .er-card:not(.is-on),
.pv-er.erv-focus .er-rel:not(.is-on) {
  opacity: 0.22;
}
.er-card {
  cursor: default;
}
@media (max-width: 640px) {
  .pv-erv-stage {
    height: 300px;
  }
  .pv-erv-hint {
    display: none;
  }
}

.h-dataset {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-wrap: balance;
}

.pv-summary {
  margin: 0 0 34px;
}

.pv-cols {
  margin: 0;
  padding-left: 0;
  list-style: none;
  columns: 2;
  column-gap: 52px;
}
.pv-cols li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--mid);
  break-inside: avoid;
}
.pv-cols li:last-child {
  margin-bottom: 0;
}
.pv-cols li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mid);
}

.pv-ident {
  margin: 0 0 4px;
  border-bottom: 1px solid var(--line);
}
.pv-ident > div {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  align-items: baseline;
  gap: 0 20px;
  padding: 13px 0 12px;
}
.pv-ident > div + div {
  border-top: 1px solid var(--line-soft);
}

.pv-ident dt {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--mid);
}
.pv-ident dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.pv-ident .v {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.pv-ident .num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.pv-ident .d {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
}
.pv-ident .d a {
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
}
.pv-ident .d a:hover {
  color: var(--fg);
  border-bottom-color: var(--mid);
}

.pv-docsec + .pv-docsec,
.pv-ident + .pv-docsec {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.pv-doch {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.16;
  color: var(--fg);
}

.pv-doc-lede {
  max-inline-size: none;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.35vw, 29px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: pretty;
}

.pv-doc-uses {
  max-inline-size: none;
  margin: 22px 0 0;
  padding-left: 0;
  list-style: none;
  columns: 2;
  column-gap: 52px;
}
.pv-doc-uses li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 22px;
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.6;
  break-inside: avoid;
}
.pv-doc-uses li:last-child {
  margin-bottom: 0;
}

.pv-doc-uses li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mid);
}

.pv-doc-uses li b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.pv-doc-uses li:has(b) {
  color: var(--mid);
}

.pv-doch3 {
  max-inline-size: none;
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--fg);
}
.pv-doch3 + .pv-doc-uses {
  margin-top: 14px;
}

.pv-doc-note {
  max-inline-size: none;
  margin: 26px 0 0;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.68;
}

.pv-plates {
  margin-top: 36px;
}
.pv-plate {
  margin: 0;
  padding: 0;
}
.pv-plate + .pv-plate {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.pv-plate-cap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.pv-plate-cap h3,
.pv-plate-cap h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--fg);
  white-space: nowrap;
}
.pv-plate-cap::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}
.pv-plate-note {
  max-inline-size: none;
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mid);
}

.pv-plate-body {
  overflow-x: auto;
}
.pv-plate-body > .pv-cmix {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .pv-cols,
  .pv-doc-uses {
    columns: 1;
  }
  .pv-ident > div {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}

.c-status {
  text-align: center;
  white-space: nowrap;
}

#src-table th:nth-child(n + 4),
#src-table td:nth-child(n + 4) {
  text-align: center;
}
.st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--mid);
}
.st-cell {
  vertical-align: middle;
}
.st-tick {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-live {
  background: var(--ok-wash);
}
.st-archived {
  background: var(--st-arch-bg);
}
.st-archived .st {
  color: var(--st-arch);
}
.st-eol {
  background: var(--st-eol-bg);
}
.st-eol .st {
  color: var(--st-eol);
}

.pv-samplescroll {
  overflow-x: auto;
}
.pv-sampletbl {
  min-width: 680px;
}
.pv-sampletbl td,
.pv-sampletbl th {
  white-space: nowrap;
}

.pv-raw-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pv-rawtabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.pv-rawtab {
  font: inherit;
  font-size: 12.5px;
  padding: 6px 13px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--bg);
  color: var(--mid);
  cursor: pointer;
}
.pv-rawtab:last-child {
  border-right: 0;
}
.pv-rawtab:hover {
  background: var(--hover-2);
  color: var(--fg);
}
.pv-rawtab.on {
  background: var(--fg);
  color: var(--bg);
}
.pv-raw-grain {
  font-size: 11.5px;
  color: var(--dim);
}

.ec {
  width: 100%;
}
.ec-hero {
  height: 300px;
}
.ec-bars {
  height: 400px;
}
.ec-heat {
  height: 340px;
}
.ec-exp {
  height: 210px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pv-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mid);
}
.pv-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pv-legend i {
  width: 16px;
  height: 2.4px;
  background: var(--fg);
}
.pv-legend i.k-seed {
  background: var(--ok);
}
.pv-legend .sp {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--dim);
}
.pv-hm-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mid);
}
.pv-hm-legend .ramp {
  width: 120px;
  height: 9px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #f0f0f1, #c7c8ca, #7f8186, #16171a);
}

.pv-mkts {
  display: flex;
  flex-direction: column;
}
.pv-mkt {
  display: grid;
  grid-template-columns: 22px 1.6fr 3fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.pv-mkt:last-child {
  border-bottom: 0;
}
.pv-mkt .rk {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--dim);
  text-align: right;
}
.pv-mkt .nm {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.pv-mkt .nm .cc {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mid);
  flex: none;
}
.pv-mkt .nm .lab {
  font-size: 13.5px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-bar {
  position: relative;
  height: 8px;
  background: var(--hover-2);
  overflow: hidden;
}
.pv-bar > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #2a2b2f, #16171a);
  transform-origin: left;
  animation: pvBarGrow 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes pvBarGrow {
  from {
    transform: scaleX(0);
  }
}
.pv-mkt .pct {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--fg);
  text-align: right;
  min-width: 52px;
}
.pv-mkt .pct .abs {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--dim);
}

.pv-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 16px 12px;
  margin-top: 14px;
}
.pv-pw {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pv-pw-img {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--hover-2);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(20, 22, 26, 0.1);
}
.pv-pw-i {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pv-pw-rk {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #16171a;
}
.pv-pw-cap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}
.pv-pw-nm {
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pv-pw-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--dim);
}
.pv-pw-bar {
  position: relative;
  height: 4px;
  margin-top: 2px;
  background: var(--hover-2);
  overflow: hidden;
}
.pv-pw-bar > i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #2a2b2f, #16171a);
  transform-origin: left;
  animation: pvBarGrow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(20, 22, 26, 0.12);
  background: var(--hover-2);
  vertical-align: middle;
}
.flag-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 15px;
  font-family: var(--sans);
  font-size: 8px;
  color: var(--dim);
  background: var(--hover-2);
  box-shadow: 0 0 0 1px rgba(20, 22, 26, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .pv-bar > i,
  .pv-pw-bar > i {
    animation: none;
  }
}

.pv-exp {
  background: var(--bg);
}
.pv-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: flex-end;
  padding: 18px 16px;
  background: var(--hover);
  border-bottom: 1px solid var(--line-soft);
}
.pv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pv-field .lbl {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.pv-field-sel {
  position: relative;
}
.pv-select {
  width: auto;
  min-width: 200px;
  padding: 8px 30px 8px 11px;
  font-size: 13px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.pv-field-sel::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--mid);
  border-bottom: 2px solid var(--mid);
  transform: rotate(45deg);
  pointer-events: none;
}
.pv-seg {
  display: inline-flex;
  border: 1px solid var(--line);
}
.pv-seg button {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mid);
  background: var(--bg);
  border: 0;
  border-left: 1px solid var(--line-soft);
  padding: 8px 12px;
  cursor: pointer;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}
.pv-seg button:first-child {
  border-left: 0;
}
.pv-seg button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}
.pv-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.pv-actions-row {
  margin: 12px 16px 14px;
  padding: 0;
}

.pv-exp-help {
  margin: 0;
  padding: 16px 16px 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mid);
}
.pv-exp-help .mono {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--fg);
}

.pv-sql {
  display: block;
  box-sizing: border-box;
  width: calc(100% - 32px);
  margin: 14px 16px 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px 14px;
  resize: vertical;
  min-height: 120px;
  tab-size: 2;
}
.pv-sql:focus {
  outline: none;
  border-color: var(--fg);
}

.pv-err {
  box-sizing: border-box;
  width: calc(100% - 32px);
  margin: 10px 16px 0;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--err);
  background: color-mix(in srgb, var(--err) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--err) 30%, transparent);
}
.pv-tablewrap {
  max-height: 360px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}
.pv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.pv-table thead th {
  position: sticky;
  top: 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--dim);
  
  background: #f2f2f3;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.pv-table thead th.num {
  text-align: right;
}
.pv-table tbody td {
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fg);
  white-space: nowrap;
}
.pv-table tbody td.num {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.pv-table tbody td.dim {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mid);
}
.pv-table tbody tr:hover td {
  background: var(--hover);
}
.pv-kindtag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--mid);
  background: var(--hover-2);
  border: 1px solid var(--line-soft);
  padding: 1px 6px;
}
.pv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  font-size: 12px;
  color: var(--mid);
  background: var(--hover);
}
.pv-foot .mono {
  font-size: 11px;
  color: var(--dim);
}

@media (max-width: 720px) {
  .pv-actions {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .pv-mkt {
    grid-template-columns: 18px 1.3fr 2fr auto;
    gap: 8px;
  }
  .ec-hero,
  .ec-heat {
    height: 260px;
  }
  .ec-bars {
    height: 380px;
  }
}

.acct-data {
  margin: 0 0 34px;
}

#pane-data {
  display: none;
}
#view-keys {
  display: none;
}
body[data-view="data"] #view-overview,
body[data-view="keys"] #view-overview {
  display: none;
}
body[data-view="data"] #pane-data {
  display: block;
}
body[data-view="keys"] #view-keys {
  display: block;
}
.acct-tabs {
  display: none;
  gap: 26px;
  margin: 2px 0 30px;
  border-bottom: 1px solid var(--line);
}
body[data-page="account"][data-authed="1"] .acct-tabs {
  display: flex;
}

body[data-page="account"][data-authed="1"][data-view="data"] .acct-tabs,
body[data-page="account"][data-authed="1"][data-view="support"] .acct-tabs,
body[data-page="account"][data-authed="1"][data-view="data"] .masthead,
body[data-page="account"][data-authed="1"][data-view="support"] .masthead {
  display: none;
}
.acct-tab {
  padding: 11px 1px;
  margin-bottom: -1px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.acct-tab:hover {
  color: var(--fg);
}
.acct-tab.on {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.dhead {
  margin-bottom: 24px;
}
.dlead {
  margin: 6px 0 0;
  max-width: 70ch;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.6;
}

.dcmd {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--field-bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
}

.dcards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dcard {
  border: 1px solid var(--line);
  background: var(--bg);
}
.dcard.open {
  border-color: var(--faint);
}

.dcard-row {
  position: relative;
}
.dcard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  
  padding: 15px 128px 15px 18px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--fg);
  transition: background 0.14s ease;
}
.dcard-head:hover {
  background: var(--hover);
}
.dcard-id {
  margin-right: auto;
  font-size: 14px;
  color: var(--fg);
}
.dcard-pkg {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--mid);
}

.dcard-st {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.dcard-st:hover {
  color: var(--fg);
  border-bottom-color: var(--faint);
}
.dcard-chev {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--mid);
  border-bottom: 1.5px solid var(--mid);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
  pointer-events: none;
}
.dcard.open .dcard-chev {
  transform: translateY(-30%) rotate(225deg);
}

@keyframes cb-flash {
  0% {
    background: var(--field-bg);
    box-shadow: inset 2px 0 0 var(--fg);
  }
  70% {
    background: var(--field-bg);
    box-shadow: inset 2px 0 0 var(--fg);
  }
  100% {
    background: transparent;
    box-shadow: inset 2px 0 0 transparent;
  }
}
.ledger tr.flash > td {
  animation: cb-flash 1.9s ease-out;
}
.dcard.flash {
  animation: cb-flash 1.9s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .ledger tr.flash > td,
  .dcard.flash {
    animation: none;
    background: var(--field-bg);
  }
}

.dbody {
  padding: 4px 18px 22px;
  border-top: 1px solid var(--line-soft);
}
.dtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.dtab {
  font: inherit;
  font-family: var(--sans);
  font-size: 13px;
  padding: 12px 14px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.14s ease;
}
.dtab:hover {
  color: var(--mid);
}
.dtab.on {
  color: var(--fg);
  border-bottom-color: var(--rule-now);
}
.dpanel {
  min-width: 0;
}

.dblock {
  margin: 0 0 24px;
}
.dblock-h {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.dnote {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 74ch;
}

.dempty {
  padding: 8px 0 4px;
}
.dempty-h {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.dloading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
}
.dspin {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  border: 2px solid var(--faint);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .dspin {
    animation: none;
    border-top-color: var(--mid);
  }
  .dcard-chev {
    transition: none;
  }
}

.pv-body {
  min-width: 0;
}
.pv-body .pv-lead {
  margin: 0 0 30px;
}
.pv-acct-sec {
  margin: 0 0 30px;
}
.pv-acct-sec:last-child {
  margin-bottom: 0;
}
.pv-acct-h {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.pv-acct-er {
  max-width: 820px;
}
.pv-acct-er .pv-erv {
  margin: 0;
}
.pv-acct-er .pv-erv-stage {
  height: 560px;
}

.dx-pane .pv-erv-stage {
  height: 504px;
}
@media (max-width: 640px) {
  .dx-pane .pv-erv-stage {
    height: 420px;
  }
}

:root[data-theme="dark"] .sheet #pane-data .pv-bar > i,
:root[data-theme="dark"] .sheet #pane-data .pv-pw-bar > i {
  background: linear-gradient(90deg, #6f7178, #e9eaec);
}
:root[data-theme="dark"] .sheet #pane-data .pv-hm-legend .ramp {
  background: linear-gradient(90deg, #191a1d, #55575e, #9a9ca2, #e9eaec);
}
:root[data-theme="dark"] .sheet #pane-data .pv-pw-img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .sheet #pane-data .pv-pw-rk {
  background: #e9eaec;
  color: #0c0d0f;
}
:root[data-theme="dark"] .sheet #pane-data .flag,
:root[data-theme="dark"] .sheet #pane-data .flag-x {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dlegal {
  max-width: 78ch;
}
.dterms {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 9px 22px;
}
.dterm {
  display: contents;
}
.dterm dt {
  align-self: baseline;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.dterm dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg);
}
.dlicence {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dlicence li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mid);
}
.dlicence li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--faint);
}

.dpg {
  min-width: 0;
}
.dpg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 4px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.dpg-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dpg-lab {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.dpg-keywrap {
  display: flex;
  gap: 8px;
}
.dpg-key {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--field-br);
  background: var(--field-bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.dpg-key:focus {
  outline: none;
  border-color: var(--field-br-f);
  background: var(--field-bg-f);
}
.dpg-key::placeholder {
  color: var(--faint);
}
.dpg-eye {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--field-br);
  background: none;
  color: var(--mid);
  font-family: var(--sans);
  font-size: 12.5px;
  cursor: pointer;
  transition:
    color 0.14s ease,
    border-color 0.14s ease;
}
.dpg-eye:hover {
  color: var(--fg);
  border-color: var(--faint);
}

.dpg-keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}
.dpg-keys-h {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.dpg-keylist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dpg-keylist li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.dpg-keyname {
  color: var(--fg);
}
.dpg-keypfx {
  font-size: 12px;
  color: var(--dim);
}
.dpg-keyacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.dpg-genok {
  font-size: 12.5px;
  color: var(--mid);
}
.dpg-keyacts .dpg-errline {
  padding: 0 0 0 12px;
}
.dpg-seg {
  display: inline-flex;
  gap: 2px;
  align-self: flex-start;
  border: 1px solid var(--field-br);
}
.dpg-op {
  font: inherit;
  font-family: var(--sans);
  font-size: 12.5px;
  padding: 8px 14px;
  border: 0;
  background: none;
  color: var(--mid);
  cursor: pointer;
  transition:
    color 0.14s ease,
    background 0.14s ease;
}
.dpg-op:hover {
  color: var(--fg);
}
.dpg-op.on {
  background: var(--fg);
  color: var(--bg);
}
.dpg-ep {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  overflow-x: auto;
}
.dpg-ep .code {
  color: var(--mid);
  white-space: nowrap;
}
.dpg-verb {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 7px;
}
.dpg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dpg-curl {
  flex: 0 1 620px;
  min-width: 0;
  margin: 0;
}
.dpg-result {
  margin-top: 18px;
}
.dpg-hint {
  margin: 0;
}
.dpg-errline {
  margin: 0;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--err);
  color: var(--err);
  font-size: 13px;
  line-height: 1.5;
}
.dpg-res {
  border: 1px solid var(--line);
}
.dpg-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.dpg-code {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 2px 9px;
  font-variant-numeric: tabular-nums;
}
.dpg-code-ok {
  color: var(--ok);
  background: var(--ok-wash);
}
.dpg-code-err {
  color: var(--err);
  background: rgba(226, 128, 122, 0.12);
}
.dpg-code-warn {
  color: var(--dim);
  background: var(--hover-2);
}
.dpg-badge {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 8px;
}
.dpg-ms {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.dpg-copyres {
  margin-left: auto;
}
.dpg-body {
  margin: 0;
  padding: 14px;
  max-height: 380px;
  overflow: auto;
  background: var(--field-bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre;
}

.hd-theme {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  margin-left: 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--faint);
  background: none;
  color: var(--mid);
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.hd-theme:hover {
  color: var(--fg);
  border-color: var(--mid);
  background: var(--hover-2);
}
.hd-theme-i {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .dbody {
    padding: 4px 14px 18px;
  }
  .dcard-head {
    padding: 14px;
  }
  .dcard-head {
    padding-right: 104px;
  }
  .dcard-st {
    right: 34px;
  }
  .dpg-form {
    padding: 14px;
  }
  
  .dpg-ep .code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.banner.err {
  border-left-color: var(--fg);
  border-left-width: 2px;
  color: var(--fg);
}
.banner.ok {
  border-left-color: var(--mid);
  border-left-width: 2px;
  color: var(--fg);
}

.sub-line--warn {
  color: var(--fg);
}

.pkgpicks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.pkgpick {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--fill);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pkgpick:hover,
.pkgpick:focus-visible {
  border-color: var(--fg);
  background: var(--fill-h);
}
.pkgpick-n {
  font-weight: 600;
}
.pkgpick-p {
  font-family: var(--sans);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pkgpick-per {
  color: var(--dim);
}
.pkgpick-t,
.pkgpick-b {
  font-size: 11.5px;
  color: var(--dim);
}
.confirm-note {
  max-inline-size: 62ch;
  color: var(--mid);
  font-size: 12.5px;
  line-height: 1.55;
}

.pane-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  color: var(--mid);
  cursor: pointer;
}
.btn-icon svg {
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
}
.btn-icon[aria-pressed="true"] {
  border-color: var(--fg);
  color: var(--fg);
}
.btn-icon-n {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .ledger--wide {
    min-width: 0;
  }
  .ledger--subs th:nth-child(3),
  .ledger--subs td:nth-child(3),
  .ledger--subs th:nth-child(5),
  .ledger--subs td:nth-child(5),
  .ledger--keys th:nth-child(4),
  .ledger--keys td:nth-child(4) {
    display: none;
  }
  .ledger--subs td.act,
  .ledger--keys td.act {
    white-space: normal;
  }
  .dapi-tbl td.code,
  .dapi-in,
  .dapi-null {
    white-space: normal;
  }
  .dfresh-age {
    margin-left: 0;
  }
}

#view-support {
  display: none;
}
body[data-view="support"] #view-overview {
  display: none;
}
body[data-view="support"] #view-support {
  display: block;
}

.sup-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sup-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sup-search {
  position: relative;
}
.sup-search input {
  width: 230px;
  padding-left: 34px;
}
.sup-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1.8;
}

.sup-seg {
  display: flex;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.sup-seg::-webkit-scrollbar {
  display: none;
}
.sup-sg {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 15px;
  background: none;
  border: 0;
  border-right: 1px solid var(--line-soft);
  color: var(--mid);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.sup-sg:last-child {
  border-right: 0;
}
.sup-sg:hover {
  background: var(--hover);
  color: var(--fg);
}
.sup-sg.on {
  color: var(--fg);
  background: var(--ok-wash);
  box-shadow: inset 0 0 0 1px var(--ok);
}
.sup-sg .n {
  color: var(--dim);
  font-size: 12px;
}
.sup-sg.on .n {
  color: var(--mid);
}

.chip {
  font-family: var(--sans);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--mid);
  background: none;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.chip:hover {
  color: var(--fg);
}
.chip.on {
  color: var(--fg);
  border-color: var(--fg);
}
.chip .n {
  color: var(--dim);
  margin-left: 7px;
  font-variant-numeric: tabular-nums;
}
.chip.on .n {
  color: var(--mid);
}

.cat {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}

.tk-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
}
.tk-status .dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--faint);
}
.tk-status[data-s="open"] .dot {
  background: var(--ok);
}
.tk-status[data-s="pending"] .dot {
  background: var(--st-eol);
}
.tk-status[data-s="pending"] {
  color: var(--st-eol);
}
.tk-status[data-s="resolved"] .dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ok);
}
.tk-status[data-s="resolved"] {
  color: var(--mid);
}
.tk-status[data-s="closed"] .dot {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--faint);
}
.tk-status[data-s="closed"] {
  color: var(--dim);
}

.tk-prio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--mid);
  white-space: nowrap;
}
.tk-prio .bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
}
.tk-prio .bars i {
  width: 3px;
  display: block;
  background: var(--faint);
}
.tk-prio .bars i:nth-child(1) {
  height: 6px;
}
.tk-prio .bars i:nth-child(2) {
  height: 9px;
}
.tk-prio .bars i:nth-child(3) {
  height: 12px;
}
.tk-prio .bars i.on {
  background: var(--mid);
}
.tk-prio[data-p="high"] .bars i.on {
  background: var(--fg);
}
.tk-prio[data-p="high"] {
  color: var(--fg);
}
.tk-prio[data-p="urgent"] .bars i.on {
  background: var(--st-arch);
}
.tk-prio[data-p="urgent"] {
  color: var(--st-arch);
}

.sup-split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid var(--line);
}
.sup-desk-l {
  border-right: 1px solid var(--line);
  max-height: 660px;
  overflow-y: auto;
}
.sup-desk-r {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sup-i {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.sup-i:hover {
  background: var(--hover);
}
.sup-i.on {
  background: var(--hover);
  box-shadow: inset 2px 0 0 var(--fg);
}
.sup-i-r {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.sup-s {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 500;
}
.sup-m {
  flex: 0 0 auto;
  color: var(--dim);
  font-size: 11.5px;
}
.sup-x {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.sup-ref {
  color: var(--dim);
  font-size: 11.5px;
}
.sup-none {
  margin: 0;
  padding: 18px 14px;
  color: var(--dim);
  font-size: 13px;
}

.sup-pick {
  padding: 72px 24px;
  text-align: center;
}
.sup-pick-h {
  margin: 0 0 6px;
  color: var(--fg);
  font-size: 15px;
}
.sup-pick-a {
  margin: 18px 0 0;
}

.th-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.th-hl {
  min-width: 0;
}
.th-t {
  margin: 4px 0 10px;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.th-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  color: var(--dim);
  font-size: 12.5px;
}

.sup-lead {
  margin-top: 6px;
}
.sup-create-h {
  margin: 14px 20px 6px;
}
.sup-create-sub {
  margin: 0 20px 24px;
}
.sup-desk-r .tk-form {
  padding: 0 20px 22px;
}
@media (max-width: 640px) {
  .sup-search input {
    width: 100%;
  }
  .sup-tools {
    width: 100%;
  }
}

.tk-back {
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--mid);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 14px 0 0 20px;
}
.tk-back:hover {
  color: var(--fg);
}
.tk-back svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tk-ref {
  font-size: 12.5px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.tk-headacts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 20px 8px;
}
.msg {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.msg:last-child {
  border-bottom: none;
}
.msg-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.msg-who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.msg-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg);
}
.msg-role {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 2px 7px;
}
.msg-role.op {
  color: var(--ok);
  border-color: var(--ok-wash);
}
.msg-time {
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.msg-b {
  margin-top: 11px;
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg--op {
  background: var(--hover);
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin: 8px 0;
}
.msg--sys {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: var(--dim);
  font-size: 12.5px;
}
.msg--sys::before,
.msg--sys::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.sup-comp {
  margin-top: auto;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
}
.sup-comp .lbl {
  margin-bottom: 10px;
}
.sup-closed {
  margin: 0;
}

@media (max-width: 860px) {
  .sup-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .sup-desk-l {
    max-height: none;
    border-right: 0;
  }
  .sup-split[data-open="1"] .sup-desk-l {
    display: none;
  }
  .sup-split[data-open="0"] .sup-desk-r {
    display: none;
  }
  .sup-split[data-open="1"] .tk-back {
    display: inline-flex;
  }
}
.composer-acts {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.composer-note {
  font-size: 12.5px;
  color: var(--dim);
}

.tk-form {
  max-width: 640px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
#view-support textarea,
#view-support select {
  width: 100%;
  background: var(--field-bg);
  color: var(--fg);
  border: 1px solid var(--field-br);
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
#view-support textarea {
  resize: vertical;
  min-height: 120px;
}
#view-support select {
  cursor: pointer;
}
#view-support textarea::placeholder {
  color: var(--faint);
}
#view-support textarea:focus,
#view-support select:focus {
  outline: none;
  border-color: var(--field-br-f);
  background: var(--field-bg-f);
}

#view-orgs {
  display: none;
}
body[data-view="orgs"] #view-overview {
  display: none;
}
body[data-view="orgs"] #view-orgs {
  display: block;
}

.org-lead {
  max-width: 60ch;
}

.org-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
  max-width: 560px;
  margin-top: 24px;
}
.org-card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.org-name {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.org-role {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.org-role[data-role="owner"] {
  color: var(--ok);
}
.org-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 22px 0 0;
}
.org-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.org-meta dt {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.org-meta dd {
  margin: 0;
  font-size: 15px;
  color: var(--fg);
}
.org-code-row {
  grid-column: 1 / -1;
}
.org-code-row dd {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.org-code {
  font-size: 16px;
  letter-spacing: 0.08em;
}
.org-note {
  margin: 22px 0 0;
  max-width: 52ch;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dim);
}
.org-view .form-actions {
  margin-top: 24px;
}
.org-leave {
  color: var(--dim);
}
.org-leave:hover:not(:disabled) {
  color: var(--st-eol, #c05540);
}

.org-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}
.org-form-h {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--fg);
}

@media (max-width: 720px) {
  .org-forms {
    grid-template-columns: 1fr;
  }
  .org-meta {
    grid-template-columns: 1fr;
  }
}

.login-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.lobby {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.lobby-in {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 412px;
  padding: 32px 24px;
}
.card-auth {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 20, 23, 0.66), rgba(9, 10, 12, 0.72));
  backdrop-filter: blur(7px) saturate(1.1);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  padding: 38px 36px 30px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}
.auth-mono {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.auth-mono svg {
  width: 26px;
  height: 26px;
  stroke: #f2f3f5;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.auth-mono .wm {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.auth-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 31px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  color: var(--fg);
}
.auth-sub {
  margin: 12px 0 26px;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.55;
}

.auth-h + .field {
  margin-top: 22px;
}
.auth-note {
  margin: 0 0 22px;
  color: var(--mid);
  font-size: 13.5px;
  line-height: 1.55;
}
.auth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  margin-top: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: #0b0c0e;
  background: #ededee;
  border: 1px solid #ededee;
  cursor: pointer;
  transition: background 0.16s ease;
}
.auth-btn:hover:not(:disabled) {
  background: #ffffff;
}
.auth-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.auth-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--dim);
}
.auth-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mid);
  font-size: 12.5px;
  margin-top: 22px;
}
.dotmark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: inline-block;
  background: var(--ok);
}
.card-auth .in-code {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  font-variant-numeric: tabular-nums;
}
.lobby-foot {
  align-self: end;
  padding: 22px 24px;
  text-align: center;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.6;
}
.lobby-banner:empty {
  display: none;
}
.lobby-banner {
  margin: 0 0 18px;
}

body[data-page="account"][data-authed="1"] .lobby,
body[data-page="account"][data-authed="1"] .login-bg {
  display: none;
}
body[data-page="account"]:not([data-authed="1"]) #bg-body,
body[data-page="account"]:not([data-authed="1"]) .hd,
body[data-page="account"]:not([data-authed="1"]) .main,
body[data-page="account"]:not([data-authed="1"]) .ft {
  display: none;
}
body[data-booting] .lobby,
body[data-booting] .hd,
body[data-booting] .main,
body[data-booting] .ft {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .auth-btn,
  .chip,
  .tk-back {
    transition: none;
  }
}

.dx-sheet {
  margin: 0 0 34px;
  min-width: 0;
}
.dx-head {
  margin: 0 0 18px;
}

.dx-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.dx-top-l {
  min-width: 0;
}
.dx-sub {
  max-width: 62ch;
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}
.dx-ctl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}
.dx-ctl-lab,
.dx-tbar-lab,
.dx-lab {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.dx-select {
  position: relative;
  align-self: flex-start;
  max-width: 100%;
}
.dx-ds-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 360px;
  max-width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--field-br);
  padding: 10px 13px;
  cursor: pointer;
  color: var(--fg);
  text-align: left;
  font: inherit;
  font-size: 14px;
}
.dx-ds-btn:hover {
  border-color: var(--field-br-f);
}
.dx-id {
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dx-pk {
  color: var(--mid);
  font-size: 12.5px;
  white-space: nowrap;
}
.dx-chev {
  margin-left: auto;
  color: var(--dim);
  width: 15px;
  height: 15px;
  flex: none;
}
.dx-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--bg);
  border: 1px solid var(--field-br);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 16px 44px rgba(0, 0, 0, 0.28);
  display: none;
  padding: 4px;
}
.dx-menu.open {
  display: block;
}
.dx-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
}
.dx-opt:hover {
  background: var(--hover);
}
.dx-opt .dx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.dx-opt .dx-pk {
  margin-left: auto;
}

.dx-tabs {
  display: flex;
  gap: 0;
  margin: 24px 0 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.dx-tabs::-webkit-scrollbar {
  display: none;
}
.dx-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin: 0 4px -1px 0;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--mid);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}
.dx-tab:hover {
  background: var(--hover);
  color: var(--fg);
}
.dx-tab.on {
  color: var(--fg);
  background: var(--ok-wash);
  border-bottom-color: var(--ok);
}

.dx-lgl {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dx-lgl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dx-lgl-t {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.dx-lgl-m {
  margin: 0;
  font-size: 12.5px;
  color: var(--dim);
}

.dx-lgl-body > .d-h:first-child {
  margin-top: 0;
}

.dx-fl {
  border: 1px solid var(--line);
}
.dx-flg > .dx-flk {
  display: none;
}
.dx-flg.open > .dx-flk {
  display: block;
}
.dx-flr,
.dx-flf {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 100px 100px;
  align-items: center;
  gap: 0 12px;
  width: 100%;
  padding: 11px 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
}
.dx-flr:hover {
  background: var(--hover);
}
.dx-flr-g {
  font-weight: 600;
}
.dx-flc {
  width: 12px;
  height: 12px;
  color: var(--faint);
  transition: transform 0.12s ease;
}
.dx-flg.open > .dx-flr .dx-flc {
  transform: rotate(90deg);
}
.dx-fld > .dx-flr .dx-fln {
  padding-left: 20px;
}
.dx-fld > .dx-flr {
  font-size: 13px;
  color: var(--mid);
  font-weight: 400;
}
.dx-flm {
  font-size: 12px;
  color: var(--dim);
  text-align: right;
}

.dx-fltag {
  margin-left: 8px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid var(--ok);
  background: var(--ok-wash);
  padding: 1px 5px;
}

.dx-fltag--n {
  color: var(--dim);
  border-color: var(--line);
  background: none;
}
.dx-flt {
  margin-left: 8px;
  color: var(--dim);
}
.dx-flf {
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 12.5px;
}
.dx-flf > .dx-flfn {
  grid-column: 2;
  padding-left: 40px;
}
.dx-flf:hover {
  background: var(--hover);
}
.dx-flfn {
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .dx-flr,
  .dx-flf {
    grid-template-columns: 16px minmax(0, 1fr) 84px;
  }
  .dx-flct {
    display: none;
  }
  .dx-flf > .dx-flfn {
    padding-left: 20px;
  }
}
.dx-pane {
  padding: 22px 0 0;
  min-width: 0;
}

.dx-tbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.dx-tbar-lab {
  margin-right: 2px;
}
.dx-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border: 1px solid var(--field-br);
  background: var(--field-bg);
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  user-select: none;
}
.dx-chip:hover {
  border-color: var(--field-br-f);
  color: var(--fg);
}
.dx-chip.on {
  color: var(--fg);
  border-color: var(--fg);
}
.dx-cbox {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dx-chip.on .dx-cbox {
  background: var(--ok);
  border-color: var(--ok);
}
.dx-cbox svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: var(--btn-fg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.dx-chip.on .dx-cbox svg {
  opacity: 1;
}
.dx-role {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.dx-tbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dx-tbar-mini {
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--dim);
  cursor: pointer;
}
.dx-tbar-mini:hover {
  color: var(--fg);
  border-color: var(--faint);
}
.dx-tbar-count {
  font-size: 11px;
  color: var(--dim);
  margin-left: 2px;
  font-variant-numeric: tabular-nums;
}

.dx-qscope {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--fill);
  font-size: 12px;
  color: var(--mid);
}

.dx-qscope svg {
  color: var(--fg);
  opacity: 0.55;
}
.dx-qscope svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.dx-tblwrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}
.dx-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.dx-grid th {
  text-align: left;
  font-weight: 600;
  color: var(--mid);
  background: var(--hover-2);
  padding: 8px 11px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
}
.dx-grid td {
  padding: 7px 11px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
  letter-spacing: -0.01em;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dx-grid tr:last-child td {
  border-bottom: none;
}
.dx-grid td.num,
.dx-grid th.num {
  text-align: right;
}
.dx-dim {
  color: var(--dim);
}
.dx-kb {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-left: 6px;
}
.dx-kb.pk {
  color: var(--ok);
}
.dx-kb.fk {
  color: var(--mid);
}

.dx-browse-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.dx-inp {
  background: var(--field-bg);
  border: 1px solid var(--field-br);
  color: var(--fg);
  padding: 8px 11px;
  font: inherit;
  font-size: 13.5px;
  min-width: 200px;
}
.dx-inp:focus {
  outline: none;
  border-color: var(--field-br-f);
}
.dx-br-sec {
  margin-bottom: 24px;
}
.dx-br-sec:last-child {
  margin-bottom: 0;
}
.dx-br-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 9px;
  flex-wrap: wrap;
}
.dx-br-h .n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.dx-br-h .g {
  font-size: 11.5px;
  color: var(--dim);
}

.dx-empty-act {
  margin: 18px 0 0;
}
.dx-empty {
  padding: 30px 0;
}
.dx-empty-h {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.dx-al {
  max-width: 640px;
}
.dx-al-head {
  margin-bottom: 18px;
}
.dx-al-h {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.dx-al-row {
  align-items: flex-start;
}
.dx-al-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dx-al-t {
  color: var(--fg);
  font-size: 14.5px;
  line-height: 1.35;
}
.dx-al-n {
  color: var(--mid);
  font-size: 13px;
  line-height: 1.45;
}

.dx-empty-box {
  padding: 26px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  border: 1px dashed var(--line);
}
.dx-note,
.dx-hint {
  color: var(--dim);
  font-size: 12.5px;
  margin: 0;
  line-height: 1.5;
}
.dx-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--mid);
  font-size: 13px;
  margin: 0;
  padding: 8px 0;
}
.dx-spin {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  flex: none;
  border: 2px solid var(--faint);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .dx-spin {
    animation: none;
    border-top-color: var(--mid);
  }
}
.dx-errline {
  color: var(--err);
  font-size: 12.5px;
  margin: 0;
}

.dx-qwork {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 22px;
  align-items: start;
}
.dx-qside {
  min-width: 0;
}
.dx-qside-h {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
  margin: 0 0 10px;
}
.dx-qside-hint {
  font-size: 11px;
  color: var(--dim);
  margin: 9px 2px 0;
  line-height: 1.45;
}
.dx-qmain {
  min-width: 0;
}
.dx-qtree {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.dx-qtnode {
  border-bottom: 1px solid var(--line-soft);
}
.dx-qtnode:last-child {
  border-bottom: none;
}
.dx-qtrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.dx-qtrow:hover {
  background: var(--hover);
}
.dx-qtname {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: -0.01em;
}
.dx-qtrole {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--line);
  padding: 1px 5px;
}
.dx-qtrole.dim {
  color: var(--ok);
  border-color: var(--ok);
  background: var(--ok-wash);
}
.dx-qtcaret {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: var(--dim);
  transition: transform 0.15s ease;
  flex: none;
}
.dx-qtnode.open .dx-qtcaret {
  transform: rotate(90deg);
}
.dx-qtcols {
  display: none;
  padding: 0 6px 8px;
  flex-direction: column;
}
.dx-qtnode.open .dx-qtcols {
  display: flex;
}
.dx-qtcol {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 8px 4px 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  font: inherit;
  font-size: 12px;
}
.dx-qtcol:hover {
  background: var(--hover-2);
}
.dx-qtcol .cn {
  letter-spacing: -0.01em;
}
.dx-qtcol .ct {
  margin-left: auto;
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
}
.dx-editor-wrap {
  border: 1px solid var(--field-br);
  background: var(--field-bg);
}
.dx-editor-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}
.dx-lang {
  color: var(--mid);
  font-weight: 600;
}
.dx-runbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 11px;
  border-top: 1px solid var(--line);
}
.dx-run-meta {
  font-size: 12px;
  color: var(--mid);
  text-transform: none;
  letter-spacing: 0;
}
.dx-run-meta b {
  color: var(--fg);
  font-weight: 600;
}
.dx-editor-host .cm-editor {
  max-height: 340px;
}
.dx-editor-ta {
  width: 100%;
  min-height: 156px;
  resize: vertical;
  border: none;
  outline: none;
  background: none;
  color: var(--fg);
  padding: 13px 14px;
  line-height: 1.65;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: -0.01em;
  tab-size: 2;
}

.dx-keyrow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.dx-keywrap {
  display: flex;
  gap: 8px;
  align-items: stretch;
  max-width: 520px;
}
.dx-key {
  flex: 1;
  background: var(--field-bg);
  border: 1px solid var(--field-br);
  color: var(--fg);
  padding: 8px 11px;
  font: inherit;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.dx-key:focus {
  outline: none;
  border-color: var(--field-br-f);
}
.dx-eye {
  background: none;
  border: 1px solid var(--field-br);
  color: var(--mid);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 0 12px;
}
.dx-eye:hover {
  color: var(--fg);
  border-color: var(--field-br-f);
}
.dx-keynote {
  font-size: 11.5px;
  color: var(--dim);
  margin: 0;
}

.dx-result {
  margin-top: 18px;
}
.dx-result-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.dx-rt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}
.dx-result-split {
  display: grid;
  grid-template-columns: 1fr 316px;
  gap: 22px;
  align-items: start;
}
.dx-chart {
  border: 1px solid var(--line);
  padding: 15px;
  min-width: 0;
}
.dx-chart-h {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
  margin: 0 0 13px;
}
.dx-bar {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 12px;
}
.dx-bar .bl {
  color: var(--mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dx-bar .bt {
  height: 8px;
  background: var(--fg);
  opacity: 0.2;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dx-bar.lead .bt {
  background: var(--ok);
  opacity: 1;
}
.dx-bar .bv {
  color: var(--fg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dx-api-seg {
  display: inline-flex;
  border: 1px solid var(--field-br);
  margin-bottom: 16px;
}
.dx-api-seg button {
  background: none;
  border: none;
  padding: 7px 13px;
  cursor: pointer;
  color: var(--mid);
  font: inherit;
  font-size: 12.5px;
  border-right: 1px solid var(--field-br);
}
.dx-api-seg button:last-child {
  border-right: none;
}
.dx-api-seg button.on {
  background: var(--hover-2);
  color: var(--fg);
  font-weight: 500;
}

.dx-apiver-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 14px 0 0;
}
.dx-apiver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--dim);
}
.dx-apiver-note {
  flex: 1 1 260px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim);
}
.dx-api-ep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.dx-verb {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ok);
  border: 1px solid var(--ok);
  padding: 2px 7px;
}
.dx-api-path {
  letter-spacing: -0.01em;
  word-break: break-all;
}
.dx-api-path .dx-ph {
  color: var(--dim);
}
.dx-api-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.dx-pre {
  background: var(--field-bg);
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  color: var(--fg);
  max-height: 440px;
  overflow: auto;
}

.dx-guide {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.dx-guide h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.dx-guide p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
}
.dx-guide b {
  font-weight: 600;
  color: var(--fg);
}
.dx-guide code {
  font-size: 12.5px;
  color: var(--fg);
  background: var(--field-bg);
  border: 1px solid var(--line);
  padding: 0 4px;
}
.dx-guide-h {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.dx-steps {
  
  counter-reset: dxstep;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 4px 0 0;
  padding: 0;
}
.dx-steps > li {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dx-steps > li > h5 {
  counter-increment: dxstep;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.dx-steps > li > h5::before {
  content: counter(dxstep) ".";
  margin-right: 7px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.dx-code {
  
  max-height: none;
  word-break: normal;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .dx-qwork {
    grid-template-columns: 1fr;
  }
  .dx-result-split {
    grid-template-columns: 1fr;
  }
  .dx-ds-btn {
    min-width: 0;
    width: 100%;
  }
}

.dx-prog {
  padding: 18px 4px 6px;
}
.dx-prog-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.dx-prog-r {
  color: var(--dim);
  font-size: 11.5px;
  white-space: nowrap;
}
.dx-prog-track {
  height: 4px;
  border-radius: 3px;
  background: var(--hover-2);
  overflow: hidden;
}
.dx-prog-track i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--fg);
  opacity: 0.8;
  transition: width 0.18s linear;
}

.dx-prog-track.idle i {
  opacity: 0.35;
  animation: dx-prog-sweep 1.15s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes dx-prog-sweep {
  0% {
    transform: scaleX(0.08) translateX(0);
  }
  50% {
    transform: scaleX(0.42) translateX(150%);
  }
  100% {
    transform: scaleX(0.08) translateX(1150%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dx-prog-track.idle i {
    animation: none;
    opacity: 0.25;
  }
}
.dx-keyfresh {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.dx-keyval {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field-bg, rgba(0, 0, 0, 0.2));
  font-size: 11.5px;
  color: var(--fg);
}
.dx-days {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  font-size: 11.5px;
  color: var(--dim);
}
.dx-days select,
.dx-apiver select,
.dx-keysel {
  font: inherit;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  
  color-scheme: light;
}
:root[data-theme="dark"] .sheet .dx-days select,
:root[data-theme="dark"] .sheet .dx-apiver select,
:root[data-theme="dark"] .sheet .dx-keysel {
  color-scheme: dark;
}
.dx-keysel {
  width: 100%;
  max-width: 420px;
  font-size: 13px;
  padding: 7px 10px;
}

.dx-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.dx-range-to {
  font-size: 11.5px;
  color: var(--dim);
}
.dx-date {
  font: inherit;
  font-size: 11.5px;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}
.dx-date::-webkit-calendar-picker-indicator {
  filter: var(--date-picker-filter, none);
  cursor: pointer;
}

.dx-keynew {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.dx-keyname {
  flex: 1 1 220px;
  max-width: 420px;
  font: inherit;
  font-size: 13px;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
}
.dx-keyok {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ok);
}

body[data-page="admin"][data-authed="1"] .lobby,
body[data-page="admin"][data-authed="1"] .login-bg {
  display: none;
}
body[data-page="admin"]:not([data-authed="1"]) .hd,
body[data-page="admin"]:not([data-authed="1"]) .main,
body[data-page="admin"]:not([data-authed="1"]) .ft {
  display: none;
}

.adm-who {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--mid);
}

.adm-lede {
  margin: 0 0 22px;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
}
.adm-none {
  margin: 0;
  padding: 18px 0;
  font-size: 14px;
  color: var(--mid);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.adm-actions {
  margin-top: 20px;
}
.adm-h2 {
  margin-top: 44px;
}

.adm-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin: 0;
  font-size: 14px;
}
.adm-facts dt {
  color: var(--dim);
}
.adm-facts dd {
  margin: 0;
  color: var(--fg);
}

.adm-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 1px;
  margin: 4px 0 34px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.adm-kpi {
  padding: 18px 18px 16px;
  background: var(--bg);
}
.adm-kpi-l {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.adm-kpi-v {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.adm-kpi-n {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mid);
  min-height: 17px;
}

.adm-alert {
  margin: 0 0 34px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--st-eol);
}
.adm-alert-h {
  margin: 0 0 9px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--st-eol);
}
.adm-alert-l {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg);
}
.adm-alert-l li {
  margin-bottom: 4px;
}

.adm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.adm-search {
  flex: 1 1 220px;
  max-width: 340px;
  padding: 6px 11px;
  font-size: 13px;
}

.adm-sect {
  margin-top: 40px;
}
.adm-sect .h-sec {
  margin-bottom: 14px;
}
.adm-sect .adm-lede {
  margin-top: -6px;
}
.adm-stamp {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.adm-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.adm-st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--mid);
}
.adm-st .dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--faint);
}
.adm-st[data-s="active"] .dot,
.adm-st[data-s="live"] .dot,
.adm-st[data-s="applied"] .dot,
.adm-st[data-s="open"] .dot {
  background: var(--ok);
}
.adm-st[data-s="active"],
.adm-st[data-s="live"],
.adm-st[data-s="applied"],
.adm-st[data-s="open"] {
  color: var(--fg);
}
.adm-st[data-s="trialing"] .dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ok);
}
.adm-st[data-s="trialing"] {
  color: var(--fg);
}
.adm-st[data-s="pending"] .dot,
.adm-st[data-s="past_due"] .dot,
.adm-st[data-s="requested"] .dot {
  background: var(--st-eol);
}
.adm-st[data-s="pending"],
.adm-st[data-s="past_due"],
.adm-st[data-s="requested"] {
  color: var(--st-eol);
}
.adm-st[data-s="canceled"] .dot,
.adm-st[data-s="declined"] .dot,
.adm-st[data-s="duplicate"] .dot {
  background: var(--st-arch);
}
.adm-st[data-s="canceled"],
.adm-st[data-s="declined"],
.adm-st[data-s="duplicate"] {
  color: var(--st-arch);
}

.adm-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--mid);
}

.adm-warn {
  color: var(--st-arch);
}

.adm-orphan {
  color: var(--dim);
}
.adm-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 3px;
}
.adm-link:hover {
  text-decoration-color: var(--fg);
}

.adm-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 96px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.adm-bar {
  flex: 1 1 0;
  min-width: 2px;
  display: block;
  background: var(--faint);
}
.adm-bar.last {
  background: var(--fg);
}
.adm-spark-f {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.adm-dhead {
  margin-bottom: 16px;
}
.adm-dsub {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--mid);
}
.adm-detail-h {
  margin: 0 0 16px;
}
.adm-detail-f {
  padding-bottom: 6px;
}

.adm-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: var(--panel);
}
.adm-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 0;
}
.adm-f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
}

.adm-f-s {
  flex: 0 1 180px;
}
.adm-f > span {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.adm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  padding-bottom: 9px;
  font-size: 13px;
  color: var(--mid);
}
.adm-ta {
  width: 100%;
  margin-top: 14px;
  resize: vertical;
  min-height: 120px;
  font: inherit;
  line-height: 1.55;
}
.adm-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.adm-hits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--dim);
}
.adm-hit {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

[data-armed="1"] {
  background: rgba(200, 150, 40, 0.14);
  border-color: var(--st-eol);
  color: var(--st-eol);
  font-weight: 500;
}

.adm-decide {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.adm-amt {
  width: 90px;
  font-variant-numeric: tabular-nums;
}
.adm-why {
  width: 200px;
}

.adm-code {
  display: block;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--fg);
  margin: 6px 0 8px;
  user-select: all;
}
.adm-code-n {
  display: block;
  font-size: 12.5px;
  color: var(--mid);
}
.adm-ok {
  color: var(--ok);
}

.adm-msg {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.adm-msg.internal {
  border-left: 2px solid var(--st-eol);
  padding-left: 14px;
}
.adm-msg-h {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.adm-msg-h b {
  color: var(--mid);
  font-weight: 500;
  text-transform: capitalize;
}
.adm-msg-b {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.adm-detail {
  display: inline-block;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
