/* Onym Auditor — "notary's register". No web fonts, no third-party
   requests (see privacy.md): typography comes from carefully ordered local
   stacks. */
:root {
  --paper: #f2ede2;
  --paper-2: #e9e2d3;
  --card: #fbf8f1;
  --ink: #1c1a16;
  --ink-2: #4a453b;
  --ink-3: #686256;
  --rule: #cfc5b2;
  --seal: #b8321d;
  --seal-soft: rgba(184, 50, 29, 0.09);
  --clear: #2d5b3b;
  --warn: #8a5b00;
  /* Readability first: each platform's own UI face, which also covers Cyrillic. */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15140f;
    --paper-2: #1c1b15;
    --card: #1f1d17;
    --ink: #ece5d6;
    --ink-2: #c5bca9;
    --ink-3: #8f877a;
    --rule: #3a362c;
    --seal: #e0553b;
    --seal-soft: rgba(224, 85, 59, 0.12);
    --clear: #8cc79b;
    --warn: #e2b653;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { .grain { mix-blend-mode: screen; opacity: .25; } }
header, main, footer { position: relative; z-index: 1; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
a { color: inherit; text-decoration-color: var(--seal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--seal); }
code, .mono { font-family: var(--mono); font-size: .82em; letter-spacing: -.01em; overflow-wrap: anywhere; }
.small { font-size: 14px; }
.muted { color: var(--ink-3); }
q { quotes: "“" "”"; font-style: italic; }
:lang(ru) q { quotes: "«" "»"; }
:lang(sr) q { quotes: "„" "“"; }

/* masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; white-space: nowrap; min-width: 0; }
.brand-text { overflow: hidden; text-overflow: ellipsis; }
.brand-mark { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--seal); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 9px var(--seal); }
/* Only the masthead's section links; the app's tabs and a page's table of contents stay. */
.masthead nav { display: flex; gap: 22px; font-size: 15px; margin-left: auto; white-space: nowrap; }
.masthead nav a { text-decoration: none; color: var(--ink-2); }
.masthead nav a:hover { color: var(--seal); }
@media (max-width: 1040px) { .masthead nav:not(.tabs) { display: none; } }
/* The two dashboards stay in the masthead at every width. */
.cabinets { display: flex; gap: 8px; flex: none; }
.cabinets .btn { padding: 9px 14px; font-size: 14px; }
@media (max-width: 1040px) { .cabinets { margin-left: auto; } }
@media (max-width: 640px) {
  .with-cabinets { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
  .cabinets { order: 3; width: 100%; margin-left: 0; }
  .cabinets .btn { flex: 1; text-align: center; padding: 10px 8px; }
}
.langs { display: flex; border: 1px solid var(--rule); border-radius: 2px; flex: none; }
.langs a { font: 12px/1 var(--sans); letter-spacing: .06em; padding: 7px 9px; text-decoration: none; color: var(--ink-3); }
.langs a + a { border-left: 1px solid var(--rule); }
.langs a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.langs a:hover:not([aria-current]) { color: var(--seal); }
@media (max-width: 420px) { .brand .muted { display: none; } }
@media (max-width: 1100px) { .studio .brand .muted { display: none; } }
.rule-strip { border-top: 1px solid var(--rule); font: 11px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 7px 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rule-strip code { text-transform: none; font-size: 11px; color: var(--ink-2); }
.rule-strip .wrap { overflow: hidden; text-overflow: ellipsis; }

/* hero */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 40px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; } }
.kicker { font: 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--seal); margin: 0 0 22px; }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; margin: 0 0 26px; }
.lede { font-size: 21px; color: var(--ink-2); max-width: 36em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 20px; font: 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 2px; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--seal); color: inherit; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); }

.seal-fig { margin: 0; display: grid; justify-items: center; gap: 18px; }
.seal { width: min(340px, 78vw); height: auto; overflow: visible; }
.seal-ink { fill: none; stroke: var(--ink-3); color: var(--ink-3); opacity: .55; transition: opacity .4s ease; transform-origin: 120px 120px; }
.seal-outer { stroke-width: 3; stroke: currentColor; stroke-dasharray: 2 5; }
.seal-inner { stroke-width: 1.5; stroke: currentColor; }
.seal-ringtext { fill: currentColor; stroke: none; font: 600 13px var(--mono); }
.seal-ring { transform-origin: 120px 120px; animation: spin 60s linear infinite; }
.seal-small { fill: currentColor; stroke: none; font: 600 10px var(--mono); letter-spacing: .2em; }
.seal-print { fill: currentColor; stroke: none; font: 600 17px var(--mono); letter-spacing: .02em; }
.seal.verified .seal-ink { color: var(--seal); stroke: var(--seal); opacity: .95; animation: stamp .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.seal.verified .seal-outer { stroke-dasharray: none; stroke-width: 4; }
.seal.failed .seal-ink { color: var(--ink-3); opacity: .8; }
.seal-fig figcaption { font-size: 15px; color: var(--ink-3); max-width: 30em; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stamp {
  0% { transform: scale(1.45) rotate(-14deg); opacity: 0; }
  60% { transform: scale(.96) rotate(-6deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: .95; }
}

/* ledger facts */
.ledger-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 24px auto 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.ledger-facts dl > div { padding: 14px 16px 16px 0; border-right: 1px solid var(--rule); min-width: 0; }
.ledger-facts dl > div + div { padding-left: 16px; }
.ledger-facts dl > div:last-child { border-right: 0; }
.ledger-facts dt { font: 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.ledger-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .ledger-facts dl { grid-template-columns: 1fr 1fr; }
  .ledger-facts dl > div:nth-child(even) { border-right: 0; }
  .ledger-facts dl > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ledger-facts dl > div:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 520px) {
  .ledger-facts dl { grid-template-columns: 1fr; }
  .ledger-facts dl > div { border-right: 0; padding-left: 0 !important; border-top: 1px solid var(--rule); }
  .ledger-facts dl > div:first-child { border-top: 0; }
}

/* sections */
section { padding: 96px 0 0; }
/* The hidden attribute wins over any display a rule sets. */
[hidden] { display: none !important; }
#v-login[data-for=customer] .for-auditor, #v-login:not([data-for=customer]) .for-customer { display: none; }
.sec-head { max-width: 46em; margin-bottom: 40px; }
.numeral { font: 600 20px/1 var(--sans); color: var(--seal); margin: 0 0 10px; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; margin: 0 0 16px; }
h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.sec-lede { color: var(--ink-2); font-size: 19px; margin: 0; }

/* specimen */
.stamp { font: 700 13px/1 var(--sans); letter-spacing: .12em; padding: 6px 10px; border: 2px solid currentColor; border-radius: 3px; transform: rotate(-3deg); display: inline-block; }

/* register */
.credit { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; font-size: 16px; margin: -12px 0 20px; max-width: 46em; cursor: pointer; }
.credit input { accent-color: var(--seal); transform: translateY(2px); }
.entries { border-top: 2px solid var(--ink); }
.empty { padding: 28px 0; color: var(--ink-2); border-bottom: 1px solid var(--rule); margin: 0; }
.empty b { color: var(--ink); }
.entry { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 720px) { .entry { grid-template-columns: 1fr; gap: 12px; } }
.entry-side { display: grid; gap: 10px; align-content: start; }
.entry .stamp { justify-self: start; font-size: 15px; }
.r-fail { color: var(--seal); } .r-clear { color: var(--clear); } .r-findings-noted, .r-inconclusive { color: var(--warn); }
.state { font: 12px/1.3 var(--sans); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.state.s-attested { color: var(--clear); }
.entry h3 { font: 600 18px/1.35 var(--sans); overflow-wrap: anywhere; }
.entry .who { color: var(--ink-2); margin: 0 0 14px; font-size: 16px; }
.kv { margin: 0; display: grid; gap: 6px; }
.kv > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 16px; }
.kv dt { font: 12px/1.9 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv > div { grid-template-columns: 1fr; gap: 0; } }
.links { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 18px; font: 14px var(--sans); }
.reply { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--seal); background: var(--seal-soft); font-size: 16px; }
.note { color: var(--ink-3); font: 13px var(--sans); margin: 8px 0 0; }

/* the check log on an attestation's page */
.terminal { background: #15130f; color: #e9e2d2; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); border: 1px solid #2b271f; }
.terminal pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font: 13.5px/1.65 var(--mono); }
.terminal code { font-size: inherit; }
.terminal .c { color: #9a8f78; }

/* instruments */
.docs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.docs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.docs li > span { color: var(--ink-3); font-size: 15px; }
@media (max-width: 640px) { .docs li { grid-template-columns: 1fr; gap: 2px; } }

/* colophon */
.colophon { margin-top: 110px; padding: 56px 0 64px; border-top: 2px solid var(--ink); }
.motto { font-size: clamp(21px, 2.6vw, 27px); font-weight: 600; line-height: 1.35; max-width: 30em; margin: 0 0 22px; }
.motto span { display: block; font: 13px var(--sans); font-style: normal; color: var(--ink-3); margin-top: 10px; }

/* motion */
@media (prefers-reduced-motion: reduce) {
  .seal-ring, .seal.verified .seal-ink { animation: none; }
  .seal.verified .seal-ink { transform: rotate(-8deg); }
  html { scroll-behavior: auto; }
}

/* nav call to action */
.masthead nav a.nav-cta { color: var(--seal); border-bottom: 1px solid var(--seal); }

/* order page */
.order-main { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 960px) { .order-main { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; } }
.order-page h1 { font-size: clamp(38px, 5.6vw, 64px); }
.order-steps { margin: 0 0 28px; padding-left: 22px; display: grid; gap: 10px; color: var(--ink-2); font-size: 17px; }
.terms { margin: 0 0 16px; border-top: 2px solid var(--ink); }
.terms > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.terms dt { font: 12px/1.9 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.terms dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .terms > div { grid-template-columns: 1fr; gap: 2px; } }
.order-form { background: var(--card); border: 1px solid var(--rule); padding: 26px 26px 22px; box-shadow: 0 24px 48px -34px rgba(40, 30, 10, .35); }
@media (max-width: 520px) { .order-form { padding: 20px 16px; } }
.order-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.order-form legend { font: 600 20px/1.3 var(--sans); padding: 0; margin-bottom: 12px; }
.order-form label { display: grid; gap: 6px; font: 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.order-form input[type=url], .order-form input[type=email], .order-form input[type=password], .order-form input[type=text], .order-form input[type=number], .order-form input:not([type]), .order-form textarea {
  font: 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 2px; padding: 10px 12px; width: 100%;
}
.order-form input.mono { font-family: var(--mono); font-size: 14px; }
.order-form textarea { resize: vertical; min-height: 120px; }
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--seal); outline-offset: 1px; border-color: transparent; }
.order-form .hint { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }
.order-form .hint code { font-size: 12px; }
.keybox { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--seal); background: var(--seal-soft); font-size: 15px; }
.keybox p { margin: 0 0 8px; }
.order-form label.radio, .order-form label.check { display: flex; gap: 10px; align-items: baseline; font: 16px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 8px; cursor: pointer; }
.order-form label.check { margin: 14px 0 0; }
.order-form input[type=radio], .order-form input[type=checkbox] { accent-color: var(--seal); transform: translateY(2px); }
.form-error { margin: 16px 0 0; padding: 10px 14px; border: 1.5px solid var(--seal); color: var(--seal); font-size: 15px; }
.order-form button { margin-top: 20px; cursor: pointer; }
.order-form button:disabled { opacity: .6; cursor: progress; }
.order-done { grid-column: 2; background: var(--card); border: 2px solid var(--ink); padding: 26px; }
@media (max-width: 960px) { .order-done { grid-column: 1; } }
.order-done h2 { font-size: clamp(28px, 4vw, 40px); }
.order-done .warn { padding: 12px 14px; border-left: 3px solid var(--seal); background: var(--seal-soft); font-size: 16px; }

/* audit hub studio */
.studio-main { padding-top: 48px; padding-bottom: 32px; }
.studio-main > .view { padding-top: 0; }
.studio h1 { font-size: clamp(36px, 5.2vw, 60px); }
.view > .cta, .studio .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 18px; }
.studio button.btn { cursor: pointer; background: transparent; color: var(--ink); }
.studio button.btn-ink { background: var(--ink); color: var(--paper); }
.studio button.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.small-btn { padding: 7px 12px; font-size: 13px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--seal); }
.sub-h { font-size: clamp(24px, 3vw, 32px); margin: 48px 0 18px; }
.studio-main > .view > .order-form, .solo { max-width: 760px; }
.solo { margin-top: 8px; }
.pad { padding: 16px; }
.auditor-h1 { font-size: clamp(38px, 5.6vw, 64px); overflow-wrap: anywhere; }
.who-chip { font: 12px/1 var(--sans); padding: 7px 10px; border: 1px solid var(--seal); color: var(--seal); border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.order-form details { border-top: 1px solid var(--rule); padding: 10px 0; }
.order-form details:last-child { border-bottom: 1px solid var(--rule); }
.order-form summary { cursor: pointer; font-size: 17px; }
.order-form details textarea { margin-top: 10px; font: 13px/1.5 var(--mono); }
.order-form select, .lib-bar select { font: 14px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; padding: 8px 10px; }
.inline-form { display: grid; gap: 4px; }
.inline-form > .btn { justify-self: start; }
.cov-form { margin-top: 8px; }
.cov-form textarea { min-height: 64px; }
.row-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.step { margin-top: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.choice { text-align: left; display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); color: var(--ink); font: inherit; cursor: pointer; transition: background .15s ease; }
.choice b { font: 600 18px/1.25 var(--sans); }
.choice span { font-size: 15px; color: var(--ink-2); }
.choice:hover { background: var(--paper-2); }
.choice.on { background: var(--seal-soft); box-shadow: inset 0 -3px 0 var(--seal); }
.choice:focus-visible { outline: 2px solid var(--seal); outline-offset: -2px; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--rule); font: 14px/1.5 var(--sans); }
.checks li { padding: 8px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; color: var(--ink-2); }
.checks li.ok { color: var(--clear); }
.checks li.bad, p.bad { color: var(--seal); }
.studio-code { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); border: 1px solid var(--rule); background: var(--card); margin-top: 12px; }
@media (max-width: 760px) { .studio-code { grid-template-columns: 1fr; } }
.tree-col { border-right: 1px solid var(--rule); display: grid; grid-template-rows: auto 1fr; min-width: 0; max-height: 560px; }
@media (max-width: 760px) { .tree-col { border-right: 0; border-bottom: 1px solid var(--rule); max-height: 240px; } }
.tree-col .filter { font: 13px var(--mono); border: 0; border-bottom: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 9px 10px; width: 100%; }
.tree { list-style: none; margin: 0; padding: 4px 0; overflow: auto; font: 12.5px/1.5 var(--mono); }
.tree li { padding: 3px 10px; cursor: pointer; overflow-wrap: anywhere; color: var(--ink-2); }
.tree li:hover { background: var(--paper-2); }
.tree li.on { background: var(--seal-soft); color: var(--ink); }
.src-view { overflow: auto; max-height: 560px; font: 12.5px/1.55 var(--mono); background: var(--card); min-width: 0; }
.src-view:not(.studio-code .src-view) { border: 1px solid var(--rule); margin-top: 12px; }
.ln { display: grid; grid-template-columns: 52px 1fr; cursor: pointer; }
.ln:hover { background: var(--paper-2); }
.ln.sel { background: var(--seal-soft); }
.ln .num { color: var(--ink-3); text-align: right; padding-right: 12px; user-select: none; border-right: 1px solid var(--rule); }
.ln .src { white-space: pre; padding-left: 12px; }
pre.quote { margin: 10px 0; padding: 10px 12px; background: var(--paper-2); border-left: 3px solid var(--seal); font: 12.5px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.sev-critical, .sev-high { color: var(--seal); }
.sev-medium { color: var(--warn); }
.sev-low, .sev-informational { color: var(--ink-3); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px; background: var(--ink); color: var(--paper); font: 14px/1.45 var(--sans); border-radius: 2px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); z-index: 20; }
.toast.bad { background: var(--seal); color: var(--paper); }
.studio .order-done { grid-column: auto; }
.entry h3 a { color: inherit; }
@media (max-width: 520px) { .who-chip { display: none; } }

/* ordering from any auditor */
.pick-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 2px solid var(--ink); margin: 4px 0 14px; }
.pick-list:empty { display: none; }
.pick-list .choice code { font-size: 12px; color: var(--ink-3); }
.order-form .choice { margin-top: 0; }
.choice:disabled, .order-form .choice:disabled { opacity: .5; cursor: not-allowed; }
.choice:disabled:hover { background: none; }
.order-link { margin-left: 10px; font: 13px var(--sans); }
.offers-box { margin: 14px 0 0; max-width: 760px; }
#kinds { margin: 0 0 6px; }

/* the app: tabs, sign-in, pipeline, library */
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs button { font: 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; background: none; border: 1px solid transparent; border-radius: 2px; color: var(--ink-2); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--seal); border-color: var(--seal); }
@media (max-width: 640px) { .studio .masthead-row { flex-wrap: wrap; gap: 8px 12px; } .tabs { margin-left: 0; order: 3; width: 100%; } .tabs button { flex: 1; } }
.warn-box { max-width: 760px; margin: 0 0 22px; padding: 14px 16px; border-left: 3px solid var(--seal); background: var(--seal-soft); font-size: 16px; }
.login-choices { max-width: 760px; margin-bottom: 18px; }
.phrase-grid { list-style: none; counter-reset: w; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 760px; margin: 0 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.phrase-grid li { counter-increment: w; padding: 12px 10px; border-bottom: 1px solid var(--rule); font: 600 17px var(--sans); }
.phrase-grid li::before { content: counter(w) "."; display: inline-block; width: 2.2em; color: var(--ink-3); font-weight: 400; }
@media (max-width: 520px) { .phrase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 8px 0 22px; padding: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.pipeline li { padding: 12px 12px 14px 0; display: grid; gap: 4px; position: relative; }
.pipeline li + li { padding-left: 16px; border-left: 1px solid var(--rule); }
.pipeline li + li::before { content: "→"; position: absolute; left: -7px; top: 12px; background: var(--paper); color: var(--ink-3); font-size: 12px; }
.pipeline b { font: 600 28px/1 var(--sans); color: var(--seal); font-weight: 400; }
.pipeline span { font: 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.lib-bar { display: grid; gap: 10px; margin: 0 0 8px; }
.lib-bar input[type=search] { font: 16px var(--sans); padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--card); color: var(--ink); width: 100%; }
.chip { font: 12px/1 var(--sans); letter-spacing: .04em; padding: 8px 11px; border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--ink-2); cursor: pointer; }
.chip.on { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.ok-line { color: var(--clear); }
.entry:target { outline: 2px solid var(--seal); outline-offset: 6px; }
button.who-chip { background: none; cursor: pointer; font-family: var(--sans); }
button.who-chip:hover { background: var(--seal-soft); }
button.who-chip::after { content: " ⏻"; }
@media (max-width: 520px) { button.who-chip { display: inline-block; max-width: 38vw; } }
@media (max-width: 720px) {
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pipeline li, .pipeline li + li { padding-left: 0; border-left: 0; }
  .pipeline li + li::before { content: none; }
  .pipeline li:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
.response { border-left: 3px solid var(--rule); padding: 6px 0 6px 12px; margin: 10px 0; }
.response .row-inline input:not([type]) { font: 15px var(--sans); padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); min-width: 14em; }
.respond-box { margin-top: 10px; padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--rule); }
.anchor-line { margin: -10px 0 20px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.anchor-line a { font: 13px var(--sans); }

/* lists on an attestation's page */
.judge-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; }

/* one attestation's page */
.verdict-main { padding-top: 40px; padding-bottom: 56px; }
.verdict-head { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.verdict-head .entry-side { display: grid; gap: 14px; align-content: start; }
.verdict-head .stamp { justify-self: start; font-size: 20px; }
.verdict-h1 { font: 600 clamp(26px, 4vw, 40px)/1.2 var(--sans); overflow-wrap: anywhere; margin: 6px 0 12px; }
.verdict-head .lede { font-size: 17px; }
.verdict-sec { padding-top: 56px; }
.verdict-sec .sub-h { margin-top: 36px; }
.verdict-sec > .sub-h:first-child { margin-top: 0; }
.verdict-sec > .kv, .verdict-sec > div > .kv { margin-top: 12px; }
.state.s-active { color: var(--clear); } .state.s-revoked { color: var(--seal); } .state.s-superseded { color: var(--warn); }
@media (max-width: 720px) { .verdict-head { grid-template-columns: 1fr; gap: 14px; } .verdict-head .entry-side { grid-auto-flow: column; justify-content: start; align-items: center; } }
.verdict-doc { margin-top: 22px; }
.verdict-doc > summary { cursor: pointer; font: 600 16px/1.4 var(--sans); }

/* the simple landing */
.hero-simple { display: block; padding-top: 72px; padding-bottom: 40px; }
.hero-simple .lede { max-width: 40em; }
.how { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how li { counter-increment: how; border-top: 2px solid var(--ink); padding-top: 16px; }
.how li::before { content: counter(how); display: block; font: 700 28px/1 var(--sans); color: var(--seal); margin-bottom: 10px; }
.how p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } .hero-simple { padding-top: 44px; } }

/* the Connect to Onym dialog */
.dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 32px 36px 28px; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.dialog::backdrop { background: rgba(10, 9, 7, .62); }
.dialog h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); }
.dialog .kicker { margin-bottom: 10px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 24px/1 var(--sans); cursor: pointer; }
.dialog-close:hover { border-color: var(--seal); color: var(--seal); }
.copy-box { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 12px 12px 12px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; }
.copy-box code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.copy-box .btn { flex: none; padding: 9px 14px; font-size: 14px; }
.connect-steps { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 10px; }
.connect-steps b.mono { font-size: .95em; letter-spacing: .02em; }
@media (max-width: 520px) { .dialog { padding: 24px 18px 20px; } .copy-box { flex-direction: column; align-items: stretch; } }

/* the API page */
.api-head { padding: 56px 0 8px; max-width: 46em; }
.api-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 64px; }
.api-toc { position: sticky; top: 20px; font-size: 15px; padding-top: 12px; }
.api-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; color: var(--ink-3); }
.api-toc a { text-decoration: none; color: var(--ink-2); }
.api-toc a:hover { color: var(--seal); }
.api-body { min-width: 0; }
.api-body > section { padding-top: 44px; }
.api-body > section:first-child { padding-top: 12px; }
.api-body h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 14px; }
.api-body h3 { font-size: 19px; margin: 26px 0 10px; }
.api-body p, .api-body li { color: var(--ink-2); }
.api-body b { color: var(--ink); }
.api-body ul, .api-body ol { padding-left: 22px; display: grid; gap: 6px; }
.api-body pre { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 14px 16px; overflow-x: auto; font: 13px/1.55 var(--mono); color: var(--ink); margin: 12px 0 16px; }
.api-body pre code { font-size: inherit; }
.api-body code { overflow-wrap: anywhere; }
.api-body pre code { overflow-wrap: normal; }
.api-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.api-table th, .api-table td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.api-table th { width: 34%; font-weight: 600; color: var(--ink); }
.ep { border-top: 1px solid var(--rule); padding: 18px 0 4px; margin-top: 20px; }
.ep h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 10px; font-size: 18px; }
.ep h3 code { font-size: 16px; color: var(--ink); }
.verb { font: 700 12px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 3px; background: var(--seal); color: var(--paper); }
.verb.get { background: var(--clear); }
.cost, .tag { font: 12px/1 var(--sans); letter-spacing: .04em; padding: 5px 8px; border: 1px solid var(--rule); border-radius: 20px; color: var(--ink-3); font-weight: 400; }
.ep .resp { margin: 10px 0; }
@media (max-width: 860px) {
  .api-layout { grid-template-columns: 1fr; gap: 8px; }
  .api-toc { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
  .api-toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .api-table th { width: auto; }
}
@media (max-width: 520px) { .api-table tr { display: grid; } .api-table th { border-bottom: 0; padding-bottom: 0; } .api-toc ol { grid-template-columns: 1fr; } }

/* A hint inside a label reads as a hint, not as an upper-case label. */
.order-form label .hint { display: block; font: 14px/1.45 var(--sans); letter-spacing: 0; text-transform: none; }

/* the link to a public-network account, on the auditor dashboard */
.mainnet-box { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); max-width: 760px; }
.mainnet-box .anchor-line { margin: 0 0 10px; }
.mainnet-box .hint { margin: 10px 0 0; }
#d-mn-form { margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 12px; }
.mn-qr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 14px; }
.mn-qr { width: 220px; max-width: 100%; }
.mn-qr svg { display: block; width: 100%; height: auto; }
#d-mn-account { font: 14px var(--mono); padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); min-width: min(34em, 100%); flex: 1; }
#d-mn-xdr { width: 100%; font: 12px/1.5 var(--mono); padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); resize: vertical; overflow-wrap: anywhere; }
.mainnet-box .hint { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* the landing's proof from the Onym app */
.inapp-sec.wrap { padding-top: 40px; padding-bottom: 8px; }
.inapp-sec + .how-sec.wrap { padding-top: 56px; }
.inapp-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: center; }
.app-shot { margin: 0; }
.app-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.app-shot figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.inapp-list { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); margin: 0 0 8px; }
@media (max-width: 760px) { .inapp-grid { grid-template-columns: 1fr; gap: 28px; } .app-shot { max-width: 300px; margin: 0 auto; } }
/* With section links and both dashboards, the masthead has no room for the brand's subtitle. */
@media (max-width: 1500px) { .with-cabinets:has(nav) .brand .muted { display: none; } }
