/* Block Glance site. Colours, type and layout: spec 2026-11-16 section 6. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url(/static/schibsted-grotesk.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Only the Google sign-in button uses it (Google's rule for that button). */
@font-face {
  font-family: "Google Sans";
  src: url(/static/google-sans-medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url(/static/jetbrains-mono.woff2) format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #F7F9FC;
  --white: #FFFFFF;
  --ink: #0E1F3A;
  --ink2: #2B3D5C;
  --ink3: #55678A;
  --line: #D5DCE8;
  /* Brand violet (spec 2026-11-16 head and footer): actions, links, focus. */
  --brand: #5B3FD9;
  --brand-hover: #4A31BC;
  --brand-tint: #EEEAFD;
  /* Head and footer, after the sister sites. */
  --head-ink: #0F172A;
  --head-link: #475569;
  --head-line: #E2E8F0;
  --foot: #0F172A;
  --foot-line: #1E293B;
  --foot-link: #CBD5E1;
  --foot-soft: #94A3B8;
  /* The dimmest footer text; #64748B of the mockup is 3.7:1 on --foot, this is 5.2:1. */
  --foot-dim: #7C8BA1;
  --green: #0F9D6B;
  /* Error lines under a form field; over 6:1 on --page. */
  --error: #B42318;
  --panel: #0E1F3A;
  --panel-deep: #091630;
  --accent1: #8FB4FF;
  --accent2: #FFC857;
  --accent3: #9BE3C1;
  --pad: 16px;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --monofont: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (min-width: 700px) {
  :root { --pad: 48px; }
}

* { box-sizing: border-box; }
/* Anchors land below the sticky header. */
html { scroll-padding-top: 88px; }
@media (max-width: 899px) {
  html { scroll-padding-top: 72px; }
}
/* The footer sits at the bottom of a short page. */
body > main { flex: 1 0 auto; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

/* Content is 1,180 px wide at most; the padding grows with the window. */
.headbar, .page, .footin, .internal, .band, .look {
  padding-inline: max(var(--pad), calc((100% - 1180px) / 2 + var(--pad)));
}

a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.apistrip a:focus-visible {
  outline-color: var(--accent2);
}
/* A violet ring around a violet button would blend in: ink instead. */
.btn.primary:focus-visible { outline-color: var(--ink); }

h1 { font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 6px; }
h2 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 10px; }
h3 { font-size: 20px; letter-spacing: -0.01em; font-weight: 800; margin: 0 0 10px; }

/* Header: white bar, mark and name, links, sign in and the key button.
   Below 900 px the links and buttons fold into a <details> menu. */
.sitehead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--head-line);
}
/* An open menu on a short screen (a phone on its side) scrolls inside the header. */
.sitehead:has(.menu[open]) { max-height: 100vh; overflow-y: auto; }
.headbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--head-ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand .mark { display: block; width: 36px; height: 36px; }
.headbar .brand { margin-right: auto; min-height: 64px; }
/* Visual order; the search form comes last in the source, so focus moves
   through the bar first. */
.headbar .brand { order: 0; }
.menu { order: 1; }
.headnav { order: 2; }
.headright { order: 3; }
.menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-right: -12px;
  border-radius: 8px;
  color: var(--head-ink);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--brand-tint); }
.menu summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; }
/* Three bars; a cross while the menu is open. */
.burger, .burger::before, .burger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--head-ink);
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { top: 0; transform: rotate(45deg); }
.menu[open] .burger::after { top: 0; transform: rotate(-45deg); }
.headnav, .headright { display: none; }
.headnav a, .headright .signin {
  white-space: nowrap;
  color: var(--head-link);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
}
.headnav a:hover, .headright .signin:hover { color: var(--head-ink); background: #F1F5F9; }
.headnav a[aria-current="page"] { color: var(--head-ink); }
.headright .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
}
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
@media (max-width: 899px) {
  /* The open menu: links in a column, then sign in and the button. */
  .menu[open] ~ .headnav {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    padding: 8px 0;
    border-top: 1px solid var(--head-line);
  }
  .headnav a { padding: 12px 12px; }
  .headnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 8px 8px 0; }
  .menu[open] ~ .headright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    flex-basis: 100%;
    padding: 4px 0 16px;
  }
  .headright .signin { padding: 10px 12px; }
}
@media (min-width: 900px) {
  .headbar { column-gap: 20px; }
  .headbar .brand { margin-right: 0; min-height: 80px; }
  .menu { display: none; }
  .headnav { display: flex; flex: 1 0 auto; justify-content: center; gap: 6px; }
  .headnav a { padding: 10px 16px; }
  .headnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
  .headright { display: flex; align-items: center; gap: 8px; }
  .headright .signin { padding: 10px 16px; }
}
@media (min-width: 1200px) {
  .headbar { flex-wrap: nowrap; }
}
.bodysearch { display: flex; gap: 8px; max-width: 560px; margin: 20px 0; }
/* The row that starts an explorer page: the search form and the time zone
   switch (shown by the site script; without it dates stay in UTC). */
.toprow { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.toprow .bodysearch { margin: 0; flex: 1 1 320px; }
.timetoggle { display: inline-flex; border: 1px solid var(--head-link); border-radius: 8px; overflow: hidden; }
.timetoggle[hidden] { display: none; }
.timetoggle button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink2);
}
.timetoggle button + button { border-left: 1px solid var(--head-link); }
.timetoggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.timetoggle button:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.timetoggle button[aria-pressed="true"]:focus-visible { outline-color: #fff; }
.bodysearch input {
  flex: 1;
  width: 0;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 9px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

/* Sign-in and account forms */
.authform { max-width: 420px; margin: 20px 0; }
.authform label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.authform input[type="email"],
.authform input[type="password"],
.authform input[type="text"] {
  width: 100%;
  font: inherit;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
.fielderr { margin: -6px 0 14px; font-weight: 700; color: var(--error); }
.authform .btn + .btn { margin-left: 8px; }
/* Sign-in provider buttons. Each follows its provider's rules for a custom
   button; static/LOGOS.md names the rule behind every value. The three are
   one size (236px wide, 40px tall) and stand in one row. The 20px right of
   the title is a little over 8% of the width, which Apple's rule asks for.
   On a narrow screen they stand in one column, as wide as the form, and
   every logo is centred 22px from the button's content edge with the title
   starting at 42px, so logos and titles line up down the column. */
.providers { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.pbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 236px;
  min-width: 140px;
  height: 40px;
  padding: 0 20px 0 0;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.pbtn img { flex: none; display: block; }
/* The title's box is cut to its capital letters, so the capitals of the
   three titles sit in the middle of the button's height whatever font the
   browser picks (Apple's title is the system font, whose metrics differ
   from machine to machine). A browser without text-box keeps the line box. */
.pbtn span { text-box: trim-both cap alphabetic; }
@media (max-width: 779px) {
  .providers { flex-direction: column; flex-wrap: nowrap; max-width: 420px; }
  .pbtn { width: 100%; padding-right: max(12px, 8%); }
  .pbtn span { min-width: 168px; text-align: left; }
}
.pbtn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* Google, light theme: fill #FFFFFF, 1px stroke #747775 inside, title
   #1F1F1F in Google Sans Medium 14/20. The image is Google's 40px
   logo-only light button, shown at its own size; only its middle 20px, the
   "G" on white, is drawn (the clip), so the file's own stroke is not seen
   and the button's stroke is the only one. The stroke and 1px before the
   image put 12px left of the "G", and the title right after the image is
   10px from the "G". */
.pbtn-google { background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; font: 500 14px/20px "Google Sans", Roboto, Arial, sans-serif; }
.pbtn-google img { width: 40px; height: 40px; margin-left: 1px; -webkit-clip-path: inset(10px); clip-path: inset(10px); }
/* Apple, white with outline style: fill white, logo and title black, a
   1px black outline. The logo file is as tall as the button inside its
   outline (38px; the file has a white ground that would cover the outline
   at 40px), uncropped, with no vertical padding; the title is
   the system font at 43% of the button's height; at least 8% of the
   button's width stays free right of the title (the padding above). */
.pbtn-apple { background: #FFF; color: #000; border: 1px solid #000; font: 500 17px/38px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.pbtn-apple img { width: auto; height: 38px; margin: 0 6.6px 0 7.6px; }
/* GitHub: the black Invertocat, unchanged, on white, with clear space. */
.pbtn-github { background: #FFF; color: #000; border: 1px solid #000; font: 500 16px/20px var(--sans); }
.pbtn-github img { width: 20px; height: auto; margin: 0 10px 0 11px; }
.notice { margin: 0 0 16px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
/* Filled dark: the Search buttons. Plain .btn is the outlined one. */
.btn.dark {
  background: var(--ink);
  color: #fff;
}

/* Page and bands */
.page {
  background: var(--white);
  padding-block: 32px 48px;
  min-height: 50vh;
}
.band {
  padding-block: 52px;
  border-top: 1px solid var(--line);
  background: var(--page);
}
.band.white { background: var(--white); }
.sub { font-size: 18px; line-height: 1.5; color: var(--ink2); margin: 0 0 28px; max-width: 38em; }

.crumb { font-size: 15px; color: var(--ink3); margin: 0 0 6px; }
.chain-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  margin-right: 7px;
  background: var(--ink3);
}
.chain-bitcoin { --chain: #F7931A; }
.chain-bitcoin-cash { --chain: #0AC18E; }
.chain-litecoin { --chain: #345D9D; }
.chain-dogecoin { --chain: #C2A633; }
.chain-dash { --chain: #008DE4; }
.chain-zcash { --chain: #F4B728; }
.chain-other { --chain: #55678A; }
.chain-dot[class*="chain-"] { background: var(--chain); }

.mono {
  font-family: var(--monofont);
  overflow-wrap: anywhere;
}
.muted { color: var(--ink3); }
.crumb a { color: var(--ink3); }
/* The identifier under a page heading: a hash, address or key. */
.ident { font-size: 15px; color: var(--ink2); margin: 0 0 22px; }

/* Facts: a row of label and value pairs */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
  gap: 12px 40px;
  margin: 0 0 26px;
  padding: 16px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.facts dt { font-size: 14px; color: var(--ink3); }
.facts dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; }
/* Amounts in the facts are in the text face, as in the mockup. */
.facts .mono, .io h3 .mono { font-family: inherit; }
.facts small { display: block; font-weight: 400; font-size: 14px; color: var(--ink3); }

/* Tables scroll sideways inside .scroll below 700 px */
/* position: relative makes the box the containing block of the
   visually hidden labels (.sr, absolutely placed) inside its tables, so
   they are clipped with the table instead of widening the page. */
.scroll { overflow-x: auto; max-width: 100%; position: relative; }
@media (max-width: 699px) {
  .scroll table { min-width: 640px; }
  /* The table scrolls here, so identifiers stay on one line. */
  .scroll td a.mono { white-space: nowrap; overflow-wrap: normal; }
}
/* Lists on explorer pages take the content width. */
.page > .scroll > table { width: 100%; }
table { border-collapse: collapse; margin: 0.5rem 0 1rem; }
th, td { padding: 0.5rem 0.75rem 0.5rem 0; text-align: left; vertical-align: top; }
th { font-weight: 500; font-size: 14px; color: var(--ink3); border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
th:last-child, td:last-child { padding-right: 0; }
/* Row labels (the Shielded row, the internal key and value rows) are not column heads. */
tbody th { border-bottom: 1px solid var(--line); padding-right: 1.5rem; }
/* The internal listener sections of the status page. */
.page > section > h2 { font-size: 22px; letter-spacing: -0.01em; margin: 32px 0 8px; }
td { border-bottom: 1px solid var(--line); }
th.num, td.num { text-align: right; }
td.num { font-family: var(--monofont); font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.sub td { border-top: none; color: var(--ink3); font-size: 0.875rem; }
tr.sub td:first-child { padding-left: 1.5rem; }

/* Tags */
.tag {
  display: inline-block;
  font-size: 12.5px;
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 6px;
}
.tag.unspent { background: #D9F3E8; color: #0A6B49; }
.tag.spent { background: #E8ECF3; color: var(--ink3); }

/* Dark panel */
.panel {
  background: var(--panel);
  color: #DCE6F7;
  border-radius: 10px;
  font-family: var(--monofont);
  font-size: 13.5px;
  line-height: 1.55;
  overflow: hidden;
}

/* API strip */
.apistrip {
  margin: 30px 0 0;
  background: var(--panel);
  color: #DCE6F7;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 14px;
}
.apirow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 0;
  padding: 8px 0;
}
.apirow + .apirow { border-top: 1px solid #22365A; }
.apirow .mono { flex: 1 1 240px; }
.apirow .ms { color: var(--accent3); white-space: nowrap; font-weight: 600; }
.apirow a { color: #fff; white-space: nowrap; }

/* Footer: the AllMy block and four link columns, then the Block Glance
   line, the copyright and the trademark notes. */
.sitefoot { background: var(--foot); color: var(--foot-link); font-size: 15px; }
.footin { padding-block: 56px 36px; }
.footcols { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 520px) {
  .footcols { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footcols .allmy { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footin { padding-block: 64px 36px; }
  .footcols { grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr; gap: 44px; }
  .footcols .allmy { grid-column: auto; }
}
.allmyname {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  opacity: .85;
}
.allmyname img { display: block; width: 28px; height: 28px; }
.blurb { margin: 0; font-size: 14px; line-height: 1.55; color: var(--foot-soft); max-width: 22em; }
@media (min-width: 1024px) { .blurb { max-width: 16em; } }
.sitefoot h2 { margin: 0 0 16px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: 11px; }
.sitefoot li a { color: var(--foot-link); text-decoration: none; font-size: 14px; }
.sitefoot li a:hover { color: #fff; text-decoration: underline; }
.sitefoot .chain-dot { width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; }
.footbottom { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--foot-line); }
.footbrand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footbrand .brand { color: #fff; font-size: 20px; }
.footbrand .brand .mark { width: 30px; height: 30px; }
.motto { margin: 8px 0 0; font-size: 13px; color: var(--foot-dim); }
.credit { margin: 0; font-size: 13px; color: var(--foot-dim); }
.footlegal { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.55; color: var(--foot-dim); }
.footlegal p { margin: 0; }
@media (min-width: 1024px) {
  .footlegal { flex-direction: row; justify-content: space-between; gap: 32px; }
  .footlegal p:first-child { flex: none; }
  .footlegal p:last-child { text-align: right; max-width: 46em; }
}
.sitefoot a:focus-visible { outline-color: var(--accent2); }
.internal { color: var(--foot-dim); font-size: 13.5px; padding-block: 0 16px; }
.internal p { margin: 4px 0; }
.internal a { color: #fff; }

/* Long text */
.legal { max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--ink2); overflow-wrap: anywhere; }
.legal h1 { color: var(--ink); }
.legal h1 + .muted { margin-top: 0; }
.legal h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 8px; }
.legal p, .legal ul, .legal ol { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 4px; }

/* Front page */
.front { background: var(--page); }
.look { padding-block: 0 40px; }
.look label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.lookrow { display: flex; gap: 8px; }
.lookrow input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 13px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
.lookrow .btn { padding-inline: 24px; }
.chaintable { width: 100%; }
#chains { padding-block: 36px 44px; }
#chains h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 4px; }
#chains .sub { font-size: 16px; margin: 0 0 18px; }
.chaintable { margin: 0; }
.chaintable th { padding-top: 0; padding-bottom: 8px; }
.chaintable td { padding-block: 12px; vertical-align: middle; }
.chaintable .chain-dot { width: 12px; height: 12px; margin-right: 10px; }
.chaintable .name { font-weight: 700; font-size: 18px; white-space: nowrap; }
.chaintable .h { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.chaintable .h a { color: var(--ink); text-decoration: none; }
/* The row's links look like links: underlined on hover and focus, and the
   "All blocks" link in the brand colour says the row leads somewhere. */
.chaintable .name a { color: var(--ink); text-decoration: none; }
.chaintable .name a:hover, .chaintable .name a:focus-visible,
.chaintable .h a:hover, .chaintable .h a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.chaintable tbody tr:hover { background: var(--page); }
.chaintable .more { text-align: right; white-space: nowrap; font-weight: 600; }
.chaintable .more a { color: var(--brand); text-decoration: none; }
.chaintable .more a:hover, .chaintable .more a:focus-visible { text-decoration: underline; }
.bar:hover rect, .bar:focus-visible rect { opacity: 1; stroke: var(--ink); stroke-width: 1.5; }
/* margin: -1px keeps the 1 px box inside where it starts: in a right-aligned
   cell it would otherwise stick out of the table by 1 px and give its
   .scroll box a scrollbar at every width. */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chaintable .ago { color: var(--ink2); white-space: nowrap; }
.chaintable td.usd { font-family: var(--sans); font-weight: 500; font-variant-numeric: normal; }
.blocks { display: flex; gap: 4px; align-items: center; }
.bar { display: block; line-height: 0; }
.bar svg { display: block; }
.bar rect { fill: var(--chain, var(--ink3)); }
.bar.b1 rect { opacity: .8; }
.bar.b2 rect { opacity: .62; }
.bar.b3 rect { opacity: .46; }
.bar.b4 rect { opacity: .3; }
.legend { margin: 12px 0 0; font-size: 14px; color: var(--ink3); }

/* Front page hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding-block: 40px 32px;
  padding-inline: max(var(--pad), calc((100% - 1180px) / 2 + var(--pad)));
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 5fr 6fr; gap: 48px; padding-block: 64px 44px; }
}
.hero h1 { font-size: clamp(34px, 6vw, 50px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 20px; }
.lede { font-size: 18px; line-height: 1.5; margin: 0 0 28px; max-width: 30em; color: var(--ink2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btns .btn { padding: 13px 22px; font-size: 16px; }
.btns + h2 { margin-top: 40px; }
.hero .panel { min-width: 0; }
.tabs { display: flex; background: var(--panel-deep); font-family: var(--sans); font-size: 14px; }
.tabs .tab { padding: 11px 18px; color: #8FA3C7; text-decoration: none; }
.tabs .tab[aria-selected="true"] { color: #fff; background: var(--panel); font-weight: 700; }
.tabs .tab:focus-visible { outline-color: #fff; outline-offset: -3px; }
.panelhead { margin: 0; padding: 12px 20px 0; font-family: var(--sans); font-weight: 700; color: #fff; }
.js .panelhead { display: none; }
.tabpane + .tabpane { border-top: 1px solid #22365A; }
.req { margin: 0; padding: 16px 20px 0; color: #9DB4E0; overflow-wrap: anywhere; }
.req b { color: #fff; font-weight: 600; }
pre.json { margin: 0; padding: 12px 20px 16px; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.json .k { color: var(--accent1); }
.json .n { color: var(--accent2); }
.json .s { color: var(--accent3); }
.json .p { color: #DCE6F7; }
.took { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 11px 20px; background: #0B7A54; color: #fff; font-weight: 600; }
.took.stored { background: #22365A; }
.tabpane[hidden] { display: none; }

/* Front page lower sections */
.band h2 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; margin: 0 0 10px; }
.routes { width: 100%; margin: 0; }
.scroll table.routes { min-width: 0; }
/* The pricing page's packs: three short columns fit a phone. */
.scroll table.packs { min-width: 0; }
.routes td { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: none; font-size: 16px; line-height: 1.45; }
.routes td:first-child { width: 44%; font-family: var(--monofont); font-size: 14px; padding-right: 24px; font-weight: 600; overflow-wrap: anywhere; }
.routes td:first-child a { color: var(--ink); text-decoration: none; }
.routes td:first-child a:hover { text-decoration: underline; }
.routes .v { color: var(--ink3); font-weight: 400; }
/* Below 700 px each route stacks over its description. */
@media (max-width: 699px) {
  .routes, .routes tbody, .routes tr, .routes td { display: block; }
  .routes td:first-child { width: auto; padding: 13px 0 4px; }
  .routes td + td { border-top: none; padding-top: 0; }
}
.two { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 800px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two h3 { font-size: 20px; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.01em; }
.two ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.compat { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .compat { grid-template-columns: 5fr 6fr; gap: 48px; } }
.compat .sub { margin-bottom: 12px; }
.compat .more { margin: 0; font-size: 16px; }
.code { background: var(--panel); color: #DCE6F7; border-radius: 10px; font-family: var(--monofont); font-size: 13px; line-height: 1.7; padding: 18px 20px; overflow-x: auto; min-width: 0; }
.code .line { display: block; white-space: nowrap; }
.code b { color: var(--accent2); font-weight: 600; }
.code .c { color: #8FA3C7; }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.price > div { flex: 1 1 22em; }
.price .sub { margin-bottom: 0; }
.price .btns { flex: 0 0 auto; }

/* Inputs and outputs, side by side from 800 px */
.io { display: grid; grid-template-columns: 1fr; gap: 28px 40px; }
@media (min-width: 800px) { .io { grid-template-columns: 1fr 1fr; } }
.io > div { min-width: 0; }
.io h3 { font-size: 18px; margin: 0 0 4px; }
.io h3 span { font-weight: 400; color: var(--ink3); }
.io table { width: 100%; margin: 0; }
.io td { padding: 10px 0; font-size: 14.5px; }
.io tr:first-child td { border-top: 1px solid var(--line); }
.io td.amt { text-align: right; white-space: nowrap; font-weight: 700; font-size: 15px; padding-left: 16px; }
.io td small { display: block; font-weight: 400; color: var(--ink3); font-size: 13.5px; }
.io .addr { font-family: var(--monofont); overflow-wrap: anywhere; }

/* View tabs on the address and wallet key pages */
.viewtabs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.viewtabs a { padding: 8px 0; color: var(--ink2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.viewtabs a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

/* Paging: previous, rows shown, next */
.pager { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; margin: 0.5rem 0; }
.pager span { color: var(--ink3); }

/* API documentation: a contents list at the side from 900 px, on top below */
.docs { display: block; }
.doctoc { margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.doctoc-head { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink3); }
.doctoc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.doctoc a { color: var(--ink2); text-decoration: none; }
.doctoc a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
  .doctoc { position: sticky; top: 164px; margin: 0; padding: 0; border: 0; background: none; }
  .doctoc ol { display: block; }
  .doctoc li { margin: 0 0 8px; }
}
/* Below 1,200 px the header has the search row too. */
@media (min-width: 1200px) { .doctoc { top: 96px; } }
.docbody { min-width: 0; max-width: 820px; }
.docbody .lede { margin-bottom: 32px; }
.docbody .scroll table { min-width: 0; }
.docbody section { margin-bottom: 44px; scroll-margin-top: 16px; }
.docbody h2 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 800; margin: 0 0 12px; }
.docbody h3 { font-size: 19px; margin: 28px 0 6px; }
.docbody p, .docbody ul { margin: 0 0 14px; color: var(--ink2); }
.docbody ul { padding-left: 24px; }
.docbody li { margin-bottom: 4px; }
.reqline { margin: 0 0 10px; padding: 10px 14px; background: var(--panel); color: #fff; border-radius: 6px; font-size: 14px; }
/* .docbody p would set the request line's text dark on the dark panel. */
.docbody .reqline { color: #fff; }
.keyline { font-size: 14px; color: var(--ink); }
.params { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 14px; padding: 0; }
.params dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.params dd { margin: 0; color: var(--ink2); }
@media (max-width: 599px) {
  .params { grid-template-columns: 1fr; gap: 0; }
  .params dd { margin-bottom: 8px; }
}
.example { margin: 0 0 14px; background: var(--panel); color: #DCE6F7; border-radius: 10px; font-family: var(--monofont); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }

/* API keys */
.keytable form { margin: 0; }
.keytable td, .keytable th { padding-right: 16px; text-align: left; vertical-align: middle; }
.secretkey { display: block; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; overflow-wrap: anywhere; user-select: all; }
.keyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.keyrow .secretkey { flex: 1 1 280px; }
.copykey[hidden] { display: none; }
/* A key in the API keys section: its masked form and copy icon; the whole
   key only in the row's edit form. */
.keycell { min-width: 0; }
.keynote { margin: 4px 0 0; font-size: 13px; max-width: 28em; }
/* Icon buttons (copy, edit, delete): the icon in the text colour, the site's focus
   ring, 44 px touch targets on phones. */
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin: 0;
  border: 0; border-radius: 6px; background: none; color: var(--ink2); cursor: pointer; vertical-align: middle;
}
.iconbtn[hidden] { display: none; }
.iconbtn:hover { color: var(--brand); background: var(--brand-tint); }
.iconbtn.copied { color: var(--green); }
.iconbtn .icon { display: block; }
/* The tick shows in place of the copy icon while a copy has just worked. */
.iconbtn .tick, .iconbtn.copied .icon { display: none; }
.iconbtn.copied .tick { display: block; }
@media (max-width: 899px) { .iconbtn { width: 44px; height: 44px; } }
.keymask { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.keyacts { white-space: nowrap; }
.keyacts .iconbtn { margin-right: 10px; }
/* The edit row is a tinted panel with room on every side, so the fields'
   borders and focus rings are never cut by the cell's edge. */
.keytable .editrow td { background: var(--page); padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dashmain .stacked tr[hidden] { display: none; }
.keyedit { max-width: none; margin: 0; }
/* The addresses of a key: a line under its row; the list opens in place. */
.keytable .addrrow > td { padding: 0 10px 10px 0; }
.keyaddrs > summary { cursor: pointer; color: var(--ink2); font-weight: 600; padding: 6px 0; }
.keyaddrs .scroll { margin-top: 6px; }
.keyedit input[type="text"] { max-width: 420px; }
.keyedit .keylabel { font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.keyedit .keyrow { margin: 0 0 14px; max-width: 560px; }
.keyedit .keyrow .secretkey { flex: 1 1 16em; font-size: 13px; padding: 8px 10px; }
/* A form's buttons in a row; a destructive one set apart at the end. */
.formacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.formacts .btn + .btn { margin-left: 0; }
/* A confirmation shown in place: in a key's or a passkey's row, in the
   danger zone. */
.revokeconfirm, .deleteform { margin: 14px 0 0; padding: 14px 16px; border: 1.5px solid var(--error); border-radius: 8px; background: var(--white); }
/* In a row of its own (the trash icon) the confirmation fills the row's
   tinted panel. */
.editrow .revokeconfirm { margin: 0; }
.revokeconfirm p { margin: 0 0 12px; }
.deleteform { max-width: 640px; }
.deleteform ul { margin: 0 0 12px; padding-left: 20px; }
.deleteform li { margin-bottom: 4px; }
/* Dates stay on one line, even with a key open beside them. */
.stacked td.made, .stacked td.lastused { white-space: nowrap; }

/* Passkeys: shown by the script where the browser has WebAuthn. */
.passkeyjs[hidden] { display: none; }
#passkey-error { margin-top: 8px; }
.acctable td, .acctable th { padding-right: 16px; }

/* Account dashboard (spec 2026-11-19): a sidebar of sections and the
   section's content from 900 px; below, the sections are a row of tabs
   above the content with sign out at its end, and the signed-in address
   is in the Account section only. Cards are white on the page colour; violet only for actions and
   the open section. */
.dashpage { background: var(--page); }
.dash { display: block; }
/* Narrow screens: the five sections wrap onto as many lines as they need
   (all always in view, the open one tinted), sign out at the end. */
.dashside { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dashnav { display: flex; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; gap: 4px; }
.dashout { flex: none; margin: 0 0 0 auto; font-size: 15px; }
.dashnav a {
  flex: none;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dashnav a:hover { color: var(--ink); background: var(--white); }
.dashnav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.dashwho { display: none; }
@media (min-width: 900px) {
  .dash { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: start; }
  .dashside { display: block; position: sticky; top: 112px; margin: 0; padding: 0; border: 0; }
  .dashnav { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
  .dashnav a { padding: 10px 14px; }
  .dashwho { display: block; margin-top: 28px; padding: 16px 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .dashwho p { margin: 0; }
  .dashwho .dashemail { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; margin-bottom: 6px; }
  .dashout { margin: 0; padding: 0 14px; font-size: 14px; }
}
/* An admin's view as user: a banner above the dashboard, and the section's
   controls disabled inside a fieldset that shows no border. */
.viewbanner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 20px; padding: 10px 16px; border: 1px solid var(--brand); border-radius: 10px; background: var(--brand-tint); }
.viewbanner p { margin: 0; }
.viewbanner form { margin: 0; }
.viewro .viewoff { opacity: .5; cursor: not-allowed; }
.viewro { min-width: 0; margin: 0; padding: 0; border: 0; }
/* The admin area uses the dashboard's frame; its sidebar starts with a
   small label so it is never taken for the account dashboard. */
.adminmark { flex: 0 0 100%; margin: 0; color: var(--ink3); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 900px) {
  .adminmark { padding: 0 14px 8px; }
}
/* The users list's filter: its fields in a row where they fit. */
.adminfilter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin: 0 0 18px; }
.adminfilter p { margin: 0; }
.adminfilter label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--ink3); }
.adminfilter input, .adminfilter select {
  font: inherit;
  font-size: 15px;
  padding: 8px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}
.adminfilter input[type="search"] { width: 20em; max-width: 100%; }
@media (max-width: 699px) {
  .adminfilter > p:first-child { flex: 1 1 100%; }
  .adminfilter input[type="search"] { width: 100%; }
}
.tag.admin { background: var(--brand-tint); color: var(--brand); }
/* An account page's heading is its address, which may be long. */
.adminarea .dashmain > h1 { overflow-wrap: anywhere; }
/* An account's label and value pairs, in a card. */
.adminfacts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; margin: 0 0 12px; }
.adminfacts dt { color: var(--ink3); }
.adminfacts dd { margin: 0; overflow-wrap: anywhere; }
/* An account action's form, opened in place. */
.dcard .adminact { max-width: 560px; }
.adminact .check { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.adminact .check label { margin: 0; font-weight: 400; }
.adminact .muted { margin: -8px 0 14px; font-size: 14px; }
.dcard .revokeconfirm, .dcard .deleteform { max-width: 640px; }
/* A refund form's choice of keeping or taking back the credits. */
.adminact .choice { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.adminact .choice legend { margin: 0 0 6px; padding: 0; font-weight: 700; }
.adminact .choice .check { margin: 0 0 6px; }
.tag.pending { background: #FDF0D5; color: #8A5A00; }
/* The billing list: long addresses wrap, the actions stack, and a
   purchase's refunds are a list under it. */
.billtable td.billacct a, .dcard td.billacct a { overflow-wrap: anywhere; }
.billtable td.billacts a { display: block; white-space: nowrap; }
.refundhead { margin: 0 0 8px; font-size: 15px; }
.refundlist { margin: 0 0 4px; padding: 0; list-style: none; }
.refundlist li { padding: 8px 0; border-top: 1px solid var(--line); }
.refundlist li:first-child { border-top: 0; padding-top: 0; }
.refundlist .refundwhat, .refundlist .refundstate { display: block; }
.refundlist .revokeconfirm { margin-top: 10px; }
.billtable .editrow .adminact { margin-top: 14px; }
@media (max-width: 699px) {
  .dashmain .stacked td.billacts { justify-content: flex-start; gap: 16px; }
  .dashmain .stacked td.billacct a { min-width: 0; text-align: right; }
  .dashmain .stacked td.billacct::before { flex: none; }
}
.iptable { width: 100%; margin: 0 0 10px; }
.adminarea .keytable td.num, .adminarea .keytable th.num { text-align: right; }
.iptable td code { overflow-wrap: anywhere; }
/* The dashboard's tables are small: they fit a phone instead of scrolling
   (the site's rule gives every scrolling table 640 px below 700 px). */
.dashmain .scroll table { min-width: 0; }
@media (max-width: 699px) {
  .dashmain th, .dashmain td { padding-right: 10px; }
  .dashmain td code { overflow-wrap: anywhere; }
  /* The key tables stack: one block per key, each value with its label. */
  .dashmain .stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dashmain .stacked tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .dashmain .stacked td { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border: 0; text-align: left; }
  .dashmain .stacked td[data-label]::before { content: attr(data-label); color: var(--ink3); font-family: var(--sans); }
  .dashmain .stacked td.keyname { font-weight: 700; }
  .dashmain .stacked .editrow { padding: 0; }
  .dashmain .stacked .addrrow { padding: 0 0 10px; }
  .dashmain .stacked .addrrow > td { display: block; }
  .dashmain .stacked .editrow td { display: block; padding: 14px 14px; }
  .dashmain .stacked td { align-items: center; }
  .dashmain .stacked td.keyacts { justify-content: flex-start; gap: 16px; }
  .dashmain .stacked td.keyacts .iconbtn { margin: 0; }
  .dashmain .stacked td.keyacts .iconbtn:first-child { margin-left: -10px; }
  .dashmain .packtable td.buycell { padding-top: 8px; }
  .dashmain .acctable.stacked td.receipt { justify-content: flex-start; }
  .dashmain .acctable.stacked td.receipt:empty { display: none; }
  .dashmain .packtable .buyform { justify-content: flex-start; }
}
.dashmain { min-width: 0; max-width: 1100px; }
.dashmain > h1 { margin-bottom: 18px; }
.dashmain > .sub { font-size: 16px; margin-bottom: 20px; }
.dashgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1100px) { .dashgrid { grid-template-columns: 1fr 1fr; } }
.dcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 20px;
  min-width: 0;
}
.dashgrid .dcard { margin: 0; }
.dcard h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--ink3); margin: 0 0 10px; }
.dcard p { margin: 0 0 10px; }
.dcard > :last-child { margin-bottom: 0; }
.dcard .authform { margin: 14px 0 0; }
.dcard .scroll table { width: 100%; margin-bottom: 0; }
.cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cardhead a { font-weight: 600; text-decoration: none; }
.dcard .cardact { margin-top: 14px; }
.cardact a:not(.btn) { font-weight: 600; text-decoration: none; }
.cardact a:not(.btn):hover, .cardhead a:hover { text-decoration: underline; }
.balance { font-size: 18px; color: var(--ink2); }
.balance strong { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.keylist { list-style: none; margin: 0; padding: 0; }
.keylist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.keylist li:first-child { border-top: 1px solid var(--line); }
/* A long key name takes one line and ends in an ellipsis (the whole name
   in its title); the masked key and "last used" keep their width. */
.keylist li { flex-wrap: nowrap; }
.keylist .keyname { font-weight: 700; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.keylist code, .keylist .muted { flex: none; white-space: nowrap; }
.keytable .clip { display: block; max-width: 18em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashmain .stacked td.keyname .clip { max-width: 100%; min-width: 0; }
.keylist code { font-family: var(--monofont); font-size: 14px; color: var(--ink2); }
.keylist .muted { margin-left: auto; font-size: 14px; }
.steps { list-style: none; margin: 0 0 14px; padding: 0; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.steps .tick { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--ink3); border-radius: 50%; }
.steps .done { color: var(--ink3); }
.steps .done .tick { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px var(--white); }
pre.cmd { margin: 0 0 10px; padding: 10px 12px; background: var(--panel); color: #DCE6F7; border-radius: 6px; font-family: var(--monofont); font-size: 13px; overflow-x: auto; }
/* Forms shown in place of their button (data-reveal in site.js). */
/* Enterprise, the last row of the pack tables. */
.packs .entrow .btn { padding-top: 6px; padding-bottom: 6px; }
/* Billing for an unverified account: the verify step above the packs. */
.verifybuy { margin: 0 0 14px; }
.verifybuy p { margin: 0 0 8px; }
.verifybuy .authform { margin: 0; }
/* The receipt link of a purchase. */
.acctable td.receipt, .acctable td.day { white-space: nowrap; }
.acctable td.receipt { text-align: right; }
/* The quantity next to a pack's Buy button on the Billing section. */
.buyform { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.buyform input[type=number] { width: 4.5em; padding: 8px 6px; }

/* The new key, shown once under the list after it is made. */
.newkey { margin: 16px 0 0; padding: 16px 18px; border: 1.5px solid var(--brand); border-radius: 8px; background: var(--brand-tint); }
.newkey[hidden] { display: none; }
.newkey h3 { font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; overflow-wrap: anywhere; }
.newkey .keyrow { margin: 0 0 10px; max-width: 600px; }
.newkey .keyrow .secretkey { flex: 1 1 16em; font-size: 13px; padding: 8px 10px; background: var(--white); }
.newkey p { margin: 0 0 10px; }
.newkey > :last-child { margin-bottom: 0; }
.newkey + p { margin-top: 14px; }
.authform.createkey { margin: 16px 0 0; }
.authform.createkey[hidden], .cardact[hidden] { display: none; }
.authform.createkey a.btn { margin-left: 8px; }
.vstate { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; background: #D9F3E8; color: #0A6B49; }
.vstate.no { background: #E8ECF3; color: var(--ink2); }
.addrline { overflow-wrap: anywhere; }
.revoked { margin: 0 0 20px; }
.revoked > summary { cursor: pointer; color: var(--ink2); font-weight: 600; padding: 6px 0; }
.revoked td { color: var(--ink3); }
.linkbtn { font: inherit; padding: 0; border: 0; background: none; color: var(--brand); cursor: pointer; text-decoration: underline; }
.danger { border-color: var(--error); }
.danger h2 { color: var(--error); }
.btn.dangerbtn { border-color: var(--error); color: var(--error); }
.dashmain .facts { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 22px; margin-bottom: 20px; }
.dashmain .viewtabs { margin-bottom: 20px; }
.dashmain .viewtabs a[aria-current="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
tfoot th, tfoot td { border-top: 1.5px solid var(--ink); border-bottom: 0; font-weight: 700; color: var(--ink); font-size: 16px; }
/* The usage chart: one bar per day, its height a class in steps of 5 %
   of the busiest day (the policy allows no style attributes). */
.chart { margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 160px; margin: 0; padding: 0 0 0; list-style: none; border-bottom: 1.5px solid var(--ink); }
.bars li { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.daybar { display: block; width: 100%; background: var(--brand); border-radius: 2px 2px 0 0; }
.bars li:hover .daybar { background: var(--brand-hover); }
.axis { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--ink3); }
.daybar.h0 { height: 0; }
.daybar.h5 { height: 5%; }
.daybar.h10 { height: 10%; }
.daybar.h15 { height: 15%; }
.daybar.h20 { height: 20%; }
.daybar.h25 { height: 25%; }
.daybar.h30 { height: 30%; }
.daybar.h35 { height: 35%; }
.daybar.h40 { height: 40%; }
.daybar.h45 { height: 45%; }
.daybar.h50 { height: 50%; }
.daybar.h55 { height: 55%; }
.daybar.h60 { height: 60%; }
.daybar.h65 { height: 65%; }
.daybar.h70 { height: 70%; }
.daybar.h75 { height: 75%; }
.daybar.h80 { height: 80%; }
.daybar.h85 { height: 85%; }
.daybar.h90 { height: 90%; }
.daybar.h95 { height: 95%; }
.daybar.h100 { height: 100%; }
/* The system keys list: the note sits under the name, and the row's actions stack. */
.systable .sysnote { display: block; font-size: 14px; color: var(--ink3); }
.systable .sysnote { margin-top: 4px; font-weight: 400; }
.systable td.sysacts a { display: block; white-space: nowrap; }
.systable td.keyname .clip { display: inline; max-width: none; white-space: normal; overflow-wrap: anywhere; }
/* Dates and values wrap here instead of widening the table past its card. */
.systable.stacked td.made, .systable.stacked td.lastused { white-space: normal; }
.systable td.keyname, .systable td.made { overflow-wrap: anywhere; }
.systable td[data-label]::before { overflow-wrap: normal; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 699px) {
  .dashmain .stacked td.sysacts { justify-content: flex-start; flex-wrap: wrap; gap: 4px 16px; }
  .dashmain .stacked td.sysacts a { display: inline; }
  .dashmain .stacked td.keyname .sysnote { display: block; }
}
.systable th, .systable td { padding-left: 8px; padding-right: 8px; }
@media (max-width: 699px) {
  /* The editrow rule makes every cell a block: the inner tables keep their labelled lines. */
  .dashmain .stacked .editrow .iptable td { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
  .dashmain .stacked .editrow .iptable tr { padding: 8px 0; }
}
@media (max-width: 699px) {
  .dashmain .iptable.stacked td[data-label]::before { white-space: nowrap; flex-shrink: 0; }
  .dashmain .iptable.stacked td code { min-width: 0; text-align: right; }
}
@media (max-width: 699px) {
  .dashmain .stacked td.keyname { display: block; }
  .dashmain .stacked td.keyname .clip { display: block; max-width: none; }
}
/* The admin overview, audit log and System pages. */
.old { color: var(--error); font-weight: 700; }
.ovtable th.ovlabel, .systable th.ovlabel, .dcard th.ovlabel { text-align: left; font-weight: 400; color: var(--ink); }
.systable td.tipage { white-space: nowrap; }
.audittable .auditdetails { overflow-wrap: anywhere; }
.adminfilter .check { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.adminfilter .check label { margin: 0; font-weight: 400; }
.adminfilter .check input { width: auto; }
