/* Xeris design tokens. Dark is the brand's existing palette, unchanged. Light keeps
   the same blue accents on white with near-black text. Every maintained style reads
   these, so the two themes can never drift apart. */
:root{
  color-scheme:dark;
  --x-bg:#010414;--x-bg-elevated:#0C1333;--x-bg-inset:#0A0F2A;--x-bg-table:#080E27;--x-bg-hover:#111A45;
  --x-border:#4E5BA6;--x-border-soft:rgba(78,91,166,.45);--x-border-strong:#4E5BA6;
  --x-text:#F0F2F5;--x-text-body:#C5D0E6;--x-text-dim:#94A3B8;--x-text-faint:#7C8AA8;
  --x-accent:#8FA3FF;--x-brand:#0019A5;--x-brand-hover:#0A1550;--x-on-brand:#F0F2F5;
  --x-positive:#8FE3B4;--x-positive-bg:#0B2A22;--x-positive-border:#2E6B52;
  --x-negative:#F0B7C0;--x-negative-bg:#2A1119;--x-negative-border:#7A3F4C;
  --x-warning:#F2D28B;--x-focus:#8FA3FF;--x-focus-halo:#8FA3FF26;
  --x-shadow:0 0 0 rgba(0,0,0,0);--x-grid-line:rgba(10,18,61,.5);--x-glow:rgba(0,25,165,.15);
}
html[data-theme="light"]{
  color-scheme:light;
  --x-bg:#F5F7FC;--x-bg-elevated:#FFFFFF;--x-bg-inset:#F0F3FA;--x-bg-table:#FFFFFF;--x-bg-hover:#EAF0FF;
  --x-border:#C7D1EC;--x-border-soft:#DDE4F5;--x-border-strong:#7684B4;
  --x-text:#05070F;--x-text-body:#141B2E;--x-text-dim:#46516B;--x-text-faint:#5C6783;
  --x-accent:#0019A5;--x-brand:#0019A5;--x-brand-hover:#0A2BD6;--x-on-brand:#FFFFFF;
  --x-positive:#0A7A4A;--x-positive-bg:#E5F6ED;--x-positive-border:#9BD8B9;
  --x-negative:#B3213A;--x-negative-bg:#FDECEF;--x-negative-border:#F0B3BE;
  --x-warning:#8A5A00;--x-focus:#0019A5;--x-focus-halo:rgba(0,25,165,.18);
  --x-shadow:0 1px 2px rgba(10,20,60,.06),0 8px 24px rgba(10,20,60,.06);--x-grid-line:rgba(0,25,165,.045);--x-glow:rgba(0,25,165,.07);
}
/* A change of theme (sunrise, sunset or the reader's choice) fades like the sky does. */
html.theme-transition,html.theme-transition *,html.theme-transition *::before,html.theme-transition *::after{
  transition:background-color 1.6s ease-in-out,color 1.6s ease-in-out,border-color 1.6s ease-in-out,fill 1.6s ease-in-out,stroke 1.6s ease-in-out,box-shadow 1.6s ease-in-out!important}
@media(prefers-reduced-motion:reduce){html.theme-transition,html.theme-transition *,html.theme-transition *::before,html.theme-transition *::after{transition:none!important}}

/* Light theme for the compiled original interface (the vendored Tailwind build,
   served as /assets/explorer-ui.css). That stylesheet bakes the dark palette into
   its utility classes, so this file gives every colour-bearing class its light
   value from the Xeris tokens. Every rule is scoped to html[data-theme="light"]:
   nothing written here can reach the dark theme.

   Two kinds of selector, on purpose:
   - :where(html[data-theme="light"]) .utility   keeps the utility's original
     specificity. It replaces the vendor value and nothing else, so explorer.css
     keeps winning wherever it already pins a vendor class (cards, table rules,
     dim ink) and its tokenised values apply to both themes.
   - html[data-theme="light"] #root .thing       is used only where light needs
     something explorer.css does not give: the card shadow, readable button
     labels, and hover feedback its !important rules would otherwise swallow. */

/* Washes of the accent, derived from the tokens. The plain values are the same
   colours for browsers without color-mix(). */
html[data-theme="light"]{
  --vl-wash-1:rgba(0,25,165,.05);--vl-wash-2:rgba(0,25,165,.09);--vl-wash-3:rgba(0,25,165,.14);--vl-wash-4:rgba(0,25,165,.2);--vl-edge:rgba(0,25,165,.4);
}
@supports (color:color-mix(in srgb,red 50%,blue)){
  html[data-theme="light"]{
    --vl-wash-1:color-mix(in srgb,var(--x-accent) 5%,transparent);--vl-wash-2:color-mix(in srgb,var(--x-accent) 9%,transparent);
    --vl-wash-3:color-mix(in srgb,var(--x-accent) 14%,transparent);--vl-wash-4:color-mix(in srgb,var(--x-accent) 20%,transparent);
    --vl-edge:color-mix(in srgb,var(--x-accent) 40%,transparent);
  }
}

/* 1. Page canvas and base elements ------------------------------------------- */
:where(html[data-theme="light"]) body{background-color:var(--x-bg);color:var(--x-text-body)}
:where(html[data-theme="light"]) .bg-brand-navy{background-color:var(--x-bg)}
:where(html[data-theme="light"]) :is(.bg-brand-navy\/80,.bg-brand-navy\/95){background-color:var(--x-bg-elevated)}
:where(html[data-theme="light"]) :is(h1,h2,h3,h4,h5,h6){color:var(--x-text)}
:where(html[data-theme="light"]) body ::selection{background-color:var(--vl-wash-4)}
:where(html[data-theme="light"]) body::selection{background-color:var(--vl-wash-4)}
:where(html[data-theme="light"]) :is(input,textarea)::placeholder{color:var(--x-text-faint)}

/* 2. Ink ----------------------------------------------------------------------
   White was the primary ink, slate the supporting ink, periwinkle the accent. */
:where(html[data-theme="light"]) .text-white{color:var(--x-text)}
:where(html[data-theme="light"]) .text-text-body{color:var(--x-text-body)}
:where(html[data-theme="light"]) .text-text-dim{color:var(--x-text-dim)}
:where(html[data-theme="light"]) :is(.text-brand-vibrant,.text-brand-blue,.text-brand-accent){color:var(--x-accent)}
:where(html[data-theme="light"]) .text-brand-muted{color:var(--x-text-faint)}
:where(html[data-theme="light"]) .text-brand-muted\/20{color:var(--x-border)}
/* Status ink keeps its meaning: green in or healthy, red out or failed, amber waiting. */
:where(html[data-theme="light"]) .text-green-400{color:var(--x-positive)}
:where(html[data-theme="light"]) .text-red-400{color:var(--x-negative)}
:where(html[data-theme="light"]) :is(.text-yellow-400,.text-orange-400){color:var(--x-warning)}
/* Hover and group states: supporting ink strengthens, plain ink turns to the accent,
   accent ink brightens. */
:where(html[data-theme="light"]) .hover\:text-white:hover{color:var(--x-text)}
html[data-theme="light"] #root .text-text-dim.hover\:text-white:hover{color:var(--x-text)!important}
:where(html[data-theme="light"]) .hover\:text-brand-accent:hover{color:var(--x-accent)}
:where(html[data-theme="light"]) .hover\:text-brand-vibrant\/80:hover{color:var(--x-brand-hover)}
:where(html[data-theme="light"]) .group:hover .group-hover\:text-brand-vibrant,
:where(html[data-theme="light"]) .group:focus-within .group-focus-within\:text-brand-vibrant{color:var(--x-accent)}
/* Ink that sits on a solid brand fill stays light. */
:where(html[data-theme="light"]) :is(.bg-brand-blue,.bg-gradient-to-br):is(.text-white,.hover\:text-white:hover),
:where(html[data-theme="light"]) :is(.bg-brand-blue,.bg-gradient-to-br) :is(.text-white,.hover\:text-white:hover){color:var(--x-on-brand)}

/* 3. Surfaces -----------------------------------------------------------------
   Cards are clean white sheets on the tinted canvas, lifted by the soft token
   shadow; the translucent navy panels inside them become the inset tone. */
:where(html[data-theme="light"]) .glass-card{background-color:var(--x-bg-elevated);border-color:var(--x-border);box-shadow:var(--x-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-theme="light"] #root .glass-card{box-shadow:var(--x-shadow)!important}
/* The original build names a card surface it never defined; in light it is a card. */
:where(html[data-theme="light"]) .bg-brand-surface{background-color:var(--x-bg-elevated);box-shadow:var(--x-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}
:where(html[data-theme="light"]) :is(.bg-brand-deep,.bg-brand-deep\/10,.bg-brand-deep\/20,.bg-brand-deep\/30,.bg-brand-deep\/40,.bg-brand-deep\/50,.bg-brand-dark\/50){background-color:var(--x-bg-inset)}
/* A panel inside a panel steps back up to white, as the stacked navy tints did. */
:where(html[data-theme="light"]) [class*="bg-brand-deep"] [class*="bg-brand-deep"]{background-color:var(--x-bg-elevated)}
:where(html[data-theme="light"]) .bg-brand-muted\/20{background-color:var(--x-border-soft)}
/* Accent fills and washes. */
:where(html[data-theme="light"]) .bg-brand-blue{background-color:var(--x-brand)}
:where(html[data-theme="light"]) .bg-brand-vibrant{background-color:var(--x-accent)}
:where(html[data-theme="light"]) :is(.bg-brand-blue\/5,.bg-brand-vibrant\/5){background-color:var(--vl-wash-1)}
:where(html[data-theme="light"]) :is(.bg-brand-vibrant\/10,.bg-brand-accent\/10){background-color:var(--vl-wash-2)}
:where(html[data-theme="light"]) .bg-brand-vibrant\/20{background-color:var(--vl-wash-3)}
:where(html[data-theme="light"]) .bg-gradient-to-br.from-brand-vibrant{--tw-gradient-from:var(--x-brand-hover) var(--tw-gradient-from-position);--tw-gradient-to:transparent var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}
:where(html[data-theme="light"]) .bg-gradient-to-br.to-brand-blue{--tw-gradient-to:var(--x-brand) var(--tw-gradient-to-position)}
/* Status dots and badges. */
:where(html[data-theme="light"]) .bg-green-400{background-color:var(--x-positive)}
:where(html[data-theme="light"]) .bg-red-400{background-color:var(--x-negative)}
:where(html[data-theme="light"]) .bg-yellow-400{background-color:var(--x-warning)}
:where(html[data-theme="light"]) .bg-green-400\/10{background-color:var(--x-positive-bg)}
:where(html[data-theme="light"]) .bg-red-400\/10{background-color:var(--x-negative-bg)}
/* Loading placeholders need more presence than an inset panel to read on white. */
:where(html[data-theme="light"]) :is(.animate-pulse,.shimmer):is(.bg-brand-deep\/20,.bg-brand-deep\/30,.bg-brand-deep\/40,.bg-brand-deep\/50){background-color:var(--x-border-soft)}
:where(html[data-theme="light"]) .shimmer{background-image:linear-gradient(90deg,transparent,var(--vl-wash-2),transparent)}
:where(html[data-theme="light"]) .scanning-line{background-color:var(--vl-edge);box-shadow:none}
/* Progress: a visible track with the accent as its fill. */
:where(html[data-theme="light"]) .rounded-full.overflow-hidden:is(.h-1,.h-1\.5,.h-2).bg-brand-deep\/50{background-color:var(--x-border-soft)}
/* Hover washes. */
:where(html[data-theme="light"]) :is(.hover\:bg-white\/5,.hover\:bg-white\/10,.hover\:bg-brand-blue\/10,.hover\:bg-brand-muted\/5):hover{background-color:var(--x-bg-hover)}
:where(html[data-theme="light"]) .hover\:bg-brand-vibrant\/20:hover{background-color:var(--vl-wash-3)}
:where(html[data-theme="light"]) .hover\:bg-brand-vibrant\/30:hover{background-color:var(--vl-wash-4)}
:where(html[data-theme="light"]) .group:hover .group-hover\:bg-brand-vibrant\/10{background-color:var(--vl-wash-2)}
/* The original glows have no place on a light page. */
:where(html[data-theme="light"]) [class*="shadow-[0_0_"]{--tw-shadow:0 0 #0000;box-shadow:none}

/* 4. Lines --------------------------------------------------------------------
   Faint navy hairlines become the soft border; stronger ones the border. */
:where(html[data-theme="light"]) :is(.border-brand-muted\/5,.border-brand-muted\/10,.border-white\/5){border-color:var(--x-border-soft)}
:where(html[data-theme="light"]) :is(.border-brand-muted\/20,.border-brand-muted\/30,.border-brand-blue\/20){border-color:var(--x-border)}
:where(html[data-theme="light"]) .border-brand-vibrant{border-color:var(--x-accent)}
:where(html[data-theme="light"]) .divide-brand-muted\/10>:not([hidden])~:not([hidden]){border-color:var(--x-border-soft)}
:where(html[data-theme="light"]) .hover\:border-brand-vibrant:hover{border-color:var(--x-accent)}
:where(html[data-theme="light"]) :is(.hover\:border-brand-vibrant\/20,.hover\:border-brand-vibrant\/30):hover{border-color:var(--vl-edge)}
:where(html[data-theme="light"]) .focus\:border-brand-vibrant:focus{border-color:var(--x-focus)}

/* 5. Tables ------------------------------------------------------------------- */
:where(html[data-theme="light"]) .data-table-header{border-color:var(--x-border);color:var(--x-text-dim)}
:where(html[data-theme="light"]) .data-table-row{border-color:var(--x-border-soft)}
:where(html[data-theme="light"]) .data-table-row:hover{background-color:var(--x-bg-hover)}

/* 6. Controls -----------------------------------------------------------------
   Fields are white with an edge strong enough to find; buttons stay quiet until
   hovered; the original hid the focus outline on its fields, here it shows. */
:where(html[data-theme="light"]) :is(input,select,textarea):is(.bg-brand-deep\/50,.bg-brand-deep){background-color:var(--x-bg-elevated);border-color:var(--x-border-strong,var(--x-text-faint));color:var(--x-text)}
:where(html[data-theme="light"]) .focus\:outline-none:focus-visible{outline-color:var(--x-focus)}
:where(html[data-theme="light"]) button:is(.bg-brand-deep,.border-brand-muted\/20){background-color:var(--x-bg-elevated);border-color:var(--x-border-strong,var(--x-text-faint))}
html[data-theme="light"] #root button:is(.bg-brand-deep,.border-brand-muted\/20).text-text-dim{color:var(--x-text-body)!important}
html[data-theme="light"] #root button:is(.bg-brand-deep,.border-brand-muted\/20):hover:not(:disabled){background-color:var(--x-bg-hover);border-color:var(--x-accent);color:var(--x-accent)!important}

/* 7. Cards you can point at ---------------------------------------------------
   They answer with their edge, not a glow. */
html[data-theme="light"] #root .glass-card:is(.cursor-pointer,.hover\:border-brand-vibrant\/30):hover{border-color:var(--vl-edge)!important}

/* Estimated values (src/money.mjs, src/money-views.mjs). An estimate must never
   outweigh the on-chain amount beside it, so the secondary form is smaller and
   dimmer. Numerals are tabular so a live price update cannot make a column jump.
   Colours come only from the design tokens, so both themes stay in step.
   Nothing here moves, so there is no motion to reduce. */
.fiat{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap}

/* After the XRS amount on one line; drops under it, as one piece, when the line is full. */
.fiat-secondary{display:inline-block;margin-inline-start:.25em;vertical-align:baseline;
  font-family:Inter,system-ui,sans-serif;font-size:max(.8125em,12px);font-weight:400;line-height:1.35;letter-spacing:0;
  color:var(--x-text-dim)}

.xrs-with-fiat{display:inline}
.xrs-with-fiat>.xrs-amount{white-space:nowrap}
/* Add "stacked" where the estimate should always sit under the amount (cards, detail rows). */
.xrs-with-fiat.stacked>.fiat-secondary{display:block;margin-inline-start:0;margin-block-start:.125em}

/* A value worked out from an older price or rate. The tooltip says how old; the
   dotted line is the cue for readers who cannot hover. */
.fiat[data-stale="true"]{text-decoration:underline dotted;text-decoration-color:var(--x-warning);
  text-decoration-thickness:1px;text-underline-offset:.2em;cursor:help}

/* Name tag: a short, truthful label beside a known address. */
.name-tag{display:inline-flex;align-items:center;max-width:160px;margin-left:6px;padding:1px 7px;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-small,4px);background:var(--x-bg-inset);color:var(--x-text-dim);font:600 11px/1.5 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.name-tag.is-validator{color:var(--x-accent);border-color:var(--x-border)}

/* ==== Controls ================================================================
   One set of parts for every control in the top bar and the footer: a labelled
   field, a menu, a choice between a few options, and a plain button. They share
   one height, one corner (the site's own), one outline and one focus ring, and every
   colour is a palette token, so day and night stay in step. The outline is the
   palette's strong border: firm enough on white to read as the edge of a control. */
.network-bar,.site-footer{--ctl-edge:var(--x-border-strong,var(--x-border));--ctl-radius:var(--x-radius,8px);--ctl-height:48px}
.site-icon{display:block;flex:none;width:16px;height:16px}
.site-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* Field: the word that names it, then the value. The browser's own menu lies
   invisibly over both, so the whole field opens it and a phone shows its usual picker. */
.site-field{position:relative;display:flex;flex-direction:column;justify-content:center;gap:1px;box-sizing:border-box;min-height:var(--ctl-height);margin:0;padding:4px 38px 4px 13px;
  border:1px solid var(--ctl-edge);border-radius:var(--ctl-radius);background:var(--x-bg-inset);color:var(--x-text);cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.site-field[hidden]{display:none}
.site-field-label{display:block;color:var(--x-text-dim);font:500 12px/1.3 Inter,system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap}
.site-field-value{display:block;min-width:0;overflow:hidden;color:var(--x-text);font:600 15px/1.3 Inter,system-ui,sans-serif;white-space:nowrap;text-overflow:ellipsis}
.site-field select{position:absolute;inset:0;box-sizing:border-box;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer;
  -webkit-appearance:none;appearance:none;font:400 16px Inter,system-ui,sans-serif}
.site-field::after,.site-select::after{content:"";position:absolute;inset-inline-end:15px;top:50%;width:7px;height:7px;margin-block-start:-6px;
  border:solid var(--x-text-dim);border-width:0 2px 2px 0;transform:rotate(45deg);pointer-events:none}
.site-field:hover{border-color:var(--x-accent);background:var(--x-bg-hover)}
.site-field:active{background:var(--x-border-soft)}
.site-field:focus-within{outline:3px solid var(--x-focus);outline-offset:2px}
@supports selector(:has(a)){
  .site-field:focus-within{outline:0}
  .site-field:has(select:focus-visible){outline:3px solid var(--x-focus);outline-offset:2px}
}

/* Menu: the same field where there is room for a label above it and the full value inside. */
.site-select{position:relative;display:block}
.site-select select{display:block;box-sizing:border-box;width:100%;height:var(--ctl-height);margin:0;padding:0 40px 0 14px;border:1px solid var(--ctl-edge);border-radius:var(--ctl-radius);
  background:var(--x-bg-inset);color:var(--x-text);font:500 16px/1.3 Inter,system-ui,sans-serif;text-overflow:ellipsis;cursor:pointer;
  -webkit-appearance:none;appearance:none;transition:background-color .15s ease,border-color .15s ease}
.site-select select:hover{border-color:var(--x-accent);background:var(--x-bg-hover)}
.site-select select:active{background:var(--x-border-soft)}
.site-select select:focus-visible{outline:3px solid var(--x-focus);outline-offset:2px}
.site-field option,.site-field optgroup,.site-select option,.site-select optgroup{background:var(--x-bg-elevated);color:var(--x-text)}

/* Choice: a few options side by side, one of them chosen. The chosen one is filled,
   heavier and carries a tick, so it never depends on colour alone. Under the pointer an
   option gains the same accent edge and fill as a field does. Options share the
   width equally unless a long word needs more than its share. The page's own
   network buttons are the same part (the leading html keeps these rules ahead of
   the older network-choice ones). */
html :is(.site-choice,.site-footer .network-choice){display:grid;grid-auto-flow:column;grid-auto-columns:minmax(min-content,1fr);grid-template-columns:none;gap:0;box-sizing:border-box;
  width:100%;min-height:var(--ctl-height);margin:0;padding:0;border:1px solid var(--ctl-edge);border-radius:var(--ctl-radius);background:var(--x-bg-inset)}
html :is(.site-choice,.site-footer .network-choice) button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;
  width:auto;min-width:0;min-height:46px;margin:0;padding:6px 10px;border:0;border-radius:0;background:transparent;color:var(--x-text-body);
  font:500 15px/1.2 Inter,system-ui,sans-serif;text-align:center;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,color .15s ease}
html :is(.site-choice,.site-footer .network-choice) button+button{border-inline-start:1px solid var(--ctl-edge)}
html :is(.site-choice,.site-footer .network-choice) button:first-child{border-start-start-radius:calc(var(--ctl-radius) - 1px);border-end-start-radius:calc(var(--ctl-radius) - 1px)}
html :is(.site-choice,.site-footer .network-choice) button:last-child{border-start-end-radius:calc(var(--ctl-radius) - 1px);border-end-end-radius:calc(var(--ctl-radius) - 1px)}
html :is(.site-choice,.site-footer .network-choice) button:hover{background:var(--x-bg-hover);color:var(--x-text);box-shadow:inset 0 0 0 1px var(--x-accent)}
html :is(.site-choice,.site-footer .network-choice) button:active{background:var(--x-border-soft)}
html :is(.site-choice,.site-footer .network-choice) button[aria-pressed="true"]{background:var(--x-brand);color:var(--x-on-brand);font-weight:700;box-shadow:inset 0 0 0 1px var(--x-accent)}
html :is(.site-choice,.site-footer .network-choice) button[aria-pressed="true"]::before{content:"";flex:none;width:5px;height:10px;margin-block-start:-3px;
  border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
/* The chosen option is already in effect: pressing it changes nothing, so it does not react. */
html :is(.site-choice,.site-footer .network-choice) button[aria-pressed="true"]:is(:hover,:active){background:var(--x-brand);color:var(--x-on-brand);cursor:default}
html :is(.site-choice,.site-footer .network-choice) button:focus-visible{z-index:1;outline:3px solid var(--x-focus);outline-offset:2px}

/* Button: for an action that is not a choice. */
.site-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;margin:0;padding:0 16px;
  border:1px solid var(--ctl-edge);border-radius:var(--ctl-radius);background:transparent;color:var(--x-text);font:600 14px/1.2 Inter,system-ui,sans-serif;
  text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.site-button:hover{border-color:var(--x-accent);background:var(--x-bg-hover)}
.site-button:active{background:var(--x-border-soft)}
.site-button:focus-visible{outline:3px solid var(--x-focus);outline-offset:2px}

/* ==== Top bar =================================================================
   One calm row on the page's own grid: the XRS price, which network this is and
   whether it is live, then on the right the three fields. Nothing in it is boxed
   except the controls, and nothing in it makes the row jump: the two quiet notes
   (how fresh the data is, and the audit) are shown only when there is room for
   them whole, the freshness note first. */
.network-bar{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px 0;min-height:0;padding:8px max(40px,calc((100vw - 1200px)/2));
  border-bottom-color:var(--x-border-soft);font:500 14px/1.5 Inter,system-ui,sans-serif}
.network-identification{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:2px 14px;width:auto;min-width:0}
.network-identification>*{white-space:nowrap}
/* The page header carries the name once the explorer is up, so here it is read out but
   not shown. While the explorer is still connecting there is no header, and it shows. */
.network-identification>strong{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
@supports selector(:has(a)){
  body:not(:has(.explorer-header)) .network-identification>strong{position:static;order:-1;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;
    color:var(--x-text);font:600 14px/1.5 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:0;text-transform:lowercase}
  body:not(:has(.explorer-header)) .network-identification>strong::first-letter{text-transform:uppercase}
}
.network-price{display:inline-flex;align-items:baseline;gap:7px;padding:0;padding-inline-end:14px;border-inline-end:1px solid var(--x-border-soft);
  color:var(--x-text-dim);font:500 13px/1.5 Inter,system-ui,sans-serif;white-space:nowrap}
.network-price[hidden]{display:none}
.network-price strong{color:var(--x-text);font:700 15px/1.5 'Plus Jakarta Sans',Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0}
/* Which network, and its state in words. It keeps the text colour while all is well and
   takes a colour only when the data is late or cannot be checked. */
html #network-status,html[data-freshness] #network-status{color:var(--x-text);font-size:14px;font-weight:500}
html[data-freshness="delayed"] #network-status{color:var(--x-warning)}
html[data-freshness="unavailable"] #network-status{color:var(--x-negative)}
html #network-freshness{color:var(--x-text-dim);font-size:13px;font-weight:400}
html #network-freshness:empty{display:none}
/* The audit statement is two quiet words here; the footer gives the full sentence. */
.network-audit{display:none;margin:0;color:var(--x-text-dim);font:400 13px/1.5 Inter,system-ui,sans-serif;letter-spacing:0;text-align:start}
.network-audit strong{display:block;flex:none;min-height:0;padding:0;padding-inline-start:18px;border:0;border-inline-start:1px solid var(--x-border-soft);border-radius:0;background:none;
  color:var(--x-text-dim);font:inherit;letter-spacing:0;text-transform:lowercase;white-space:nowrap}
.network-audit strong::first-letter{text-transform:uppercase}
.network-audit span{display:none}
/* The three fields: one size, a clear gap, and never squeezed. If a long language name
   or price leaves no room beside them, they move together to a row of their own. */
.quick-controls{display:flex;flex:none;align-items:stretch;gap:12px;margin-inline-start:auto}
.quick-controls:empty{display:none}
.quick-controls .site-field{flex:none;min-width:124px}

@media(min-width:768px){
  /* One row. Each quiet note is a strip one line high whose words drop out of sight,
     whole, when the strip is narrower than they are, so a note is never cut short and
     never pushes the fields down. The strips ask for no room of their own. */
  .network-identification{display:contents}
  .network-identification>*{flex:none}
  .network-price{margin-inline-end:18px;padding-inline-end:18px}
  @supports selector(:has(a)){body:not(:has(.explorer-header)) .network-identification>strong{margin-inline-end:18px}}
  html #network-freshness,.network-audit{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;min-width:0;height:1.5em;overflow:hidden}
  html #network-freshness{flex:1000 1 0;max-width:max-content}
  .network-audit{flex:1 1 0}
  #network-freshness::before,.network-audit::before{content:"";flex:none;width:18px;height:1.5em}
  .quick-controls{padding-inline-start:18px}
}
@media(max-width:900px){
  /* A little tighter, so the row still holds when the status line grows. */
  .network-price{margin-inline-end:14px;padding-inline-end:14px}
  .quick-controls .site-field{min-width:96px;padding-inline:12px 34px}
  .quick-controls .site-field::after{inset-inline-end:13px}
}
@media(max-width:767px){
  /* Phones: the price and the network on one row, then Currency and Language side by
     side at full width. Appearance is in the footer. */
  .network-bar{row-gap:8px;padding:8px 16px 10px}
  .network-identification{flex:1 1 100%;min-height:28px;gap:2px 29px;overflow:hidden;overflow:clip visible}
  /* The line between the price and the network is drawn in the gap before the network.
     When a long price or status puts the network on a row of its own, the line falls
     outside the row and is cut off with it, so it is never left hanging after the price. */
  .network-price{margin-inline-end:0;padding-inline-end:0;border-inline-end:0}
  html #network-status{position:relative}
  html #network-status::after{content:"";position:absolute;inset-block:3px;inset-inline-start:-15px;width:1px;background:var(--x-border-soft)}
  /* While the explorer is connecting, its name has the first row to itself. */
  @supports selector(:has(a)){body:not(:has(.explorer-header)) .network-identification>strong{flex:1 1 100%}}
  /* The status line already says whether the data is live or late, in words and colour.
     The freshness note is left out here so the bar never changes height under a thumb. */
  html #network-freshness{display:none}
  /* The two fields share the row equally. A language is always named in full, so its
     field takes more than its half when a long name needs it, and Currency has the rest. */
  .quick-controls{flex:1 1 100%;margin:0}
  .quick-controls .site-field{flex:1 1 0;min-width:0}
  .quick-controls .site-field.is-language{min-width:auto;max-width:68%}
  /* There is room here for a larger label. */
  .site-field-label{font-size:13px}
}
@media(max-width:480px){
  .network-bar{padding:8px 12px 10px}
}
@media(max-width:359px){
  /* The narrowest phones: a little tighter, so the same two fields still fit. */
  html #network-status,html[data-freshness] #network-status{font-size:13px}
  .quick-controls .site-field{padding-inline:11px 32px}
  .quick-controls .site-field::after{inset-inline-end:12px}
}
@media(prefers-reduced-motion:reduce){
  .site-field,.site-select select,.site-button,html :is(.site-choice,.site-footer .network-choice) button{transition:none}
}
@media print{
  .quick-controls{display:none}
}

/* ==== Network choice without the full footer ===================================
   The page ships these two buttons in a plain row, so the network can be changed
   even if the footer itself cannot load. The footer moves them into its Network section. */
.site-footer{display:block;margin:0;border-top:1px solid var(--x-border-soft);background:var(--x-bg-table);color:var(--x-text-body)}
.site-footer [hidden]{display:none}
.footer-network{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;box-sizing:border-box;max-width:1280px;margin:0 auto;padding:24px 40px}
.footer-network-label{color:var(--x-text);font:600 15px/1.4 'Plus Jakarta Sans',Inter,system-ui,sans-serif}
.footer-network .network-choice{flex:0 1 320px}
@media(max-width:767px){.footer-network{padding:20px 16px}.footer-network .network-choice{flex-basis:100%}}
@media(max-width:480px){.footer-network{padding:20px 12px}}

/* Glossary help: a small round "?" beside a term and the note it opens
   (src/glossary.mjs). Every colour is a design token, so both themes follow.
   Rules are scoped under .glossary-hint so that page rules written for plain
   "button" or "span" (for example ".history-view button") cannot restyle them. */
.glossary-term{display:inline}
/* Negative block margins keep the 20px circle from stretching a header or label line. */
.glossary-hint{display:inline-flex;vertical-align:middle;margin-block:-3px;margin-inline:4px 0;line-height:1}
.glossary-hint .glossary-button{position:relative;display:inline-grid;place-items:center;box-sizing:border-box;
  width:20px;height:20px;min-width:0;min-height:0;margin:0;padding:0;
  border:1px solid var(--x-border);border-radius:50%;background:transparent;color:var(--x-text-dim);box-shadow:none;
  font:600 12px/1 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;
  cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.glossary-hint .glossary-mark{font:inherit;color:inherit}
/* The circle stays 20px. An unseen pad around it takes the press: 28px for a mouse,
   44px wherever a finger may be used. */
.glossary-hint .glossary-button::after{content:"";position:absolute;top:50%;left:50%;width:28px;height:28px;transform:translate(-50%,-50%);border-radius:50%}
@media(any-pointer:coarse){.glossary-hint .glossary-button::after{width:44px;height:44px}}
.glossary-hint .glossary-button:hover,.glossary-hint .glossary-button[aria-expanded="true"]{border-color:var(--x-accent);background:var(--x-bg-hover);color:var(--x-text)}
.glossary-hint .glossary-button:active{transform:none}
.glossary-hint .glossary-button:focus-visible{outline:2px solid var(--x-focus);outline-offset:2px}

/* The note. The script places it beside its button and keeps it inside the viewport;
   it stays hidden for the instant before it has been placed. Text styles are reset
   because the note sits inside table headers and uppercase labels. It scrolls only
   when it is taller than the screen, and never holds the page's own scrolling back. */
.glossary-hint .glossary-popover{position:fixed;inset:0 auto auto 0;z-index:1000;display:block;box-sizing:border-box;
  width:max-content;max-width:min(320px,calc(100vw - 24px));height:auto;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
  margin:0;padding:12px 14px;overflow:auto;
  border:1px solid var(--x-border);border-radius:12px;background:var(--x-bg-elevated);color:var(--x-text-body);box-shadow:var(--x-shadow);
  font:400 14px/1.5 Inter,system-ui,sans-serif;letter-spacing:normal;text-align:start;text-transform:none;text-indent:0;
  white-space:normal;overflow-wrap:break-word;word-break:normal;cursor:auto;visibility:hidden}
.glossary-hint .glossary-popover::backdrop{background:transparent}
.glossary-hint .glossary-popover.is-placed,.glossary-hint .glossary-popover.is-sheet{visibility:visible;animation:glossary-arrive .14s ease-out}
/* If the page cannot be measured, the note sits at the bottom of the screen, where it always fits. */
.glossary-hint .glossary-popover.is-sheet{inset:auto 12px 12px 12px;width:auto;max-width:320px;margin:0 auto}
.glossary-hint .glossary-popover-term,.glossary-hint .glossary-popover-short,.glossary-hint .glossary-popover-long{display:block;
  min-height:0;max-width:none;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;white-space:inherit}
.glossary-hint .glossary-popover-term{margin-bottom:4px;color:var(--x-text);font:700 15px/1.3 'Plus Jakarta Sans',Inter,system-ui,sans-serif}
.glossary-hint .glossary-popover-short{color:var(--x-text);font-weight:500}
.glossary-hint .glossary-popover-long{margin-top:6px}
@keyframes glossary-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .glossary-hint .glossary-button{transition:none}
  .glossary-hint .glossary-popover.is-placed,.glossary-hint .glossary-popover.is-sheet{animation:none}
}
@media print{.glossary-hint{display:none}}

/* The site footer (src/footer.mjs): where to go, then the reader's preferences and
   the network choice, then the small print. Its controls are the shared parts in
   25-kit.css; this file is layout and type. Everything sits on one four-column
   grid, so the links above line up with the fields below. Every colour is a design
   token. Nothing animates except a short colour change on hover, which is switched
   off for readers who ask for reduced motion. */
.site-footer{font:400 15px/1.6 Inter,system-ui,sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.site-footer-inner{box-sizing:border-box;max-width:1280px;margin:0 auto;padding:56px 40px 24px}
.site-footer :where(p,h2,ul){margin:0}
.site-footer a{color:var(--x-text-body);text-decoration:none;transition:color .15s ease}
.site-footer a:hover{color:var(--x-accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.site-footer a:focus-visible{outline:3px solid var(--x-focus);outline-offset:3px;border-radius:var(--x-radius-small,4px)}

.site-footer-grid,.site-footer-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:32px}
/* Headings are written as sentences, whatever the page's own headings do. */
.site-footer-title,.site-footer-name{color:var(--x-text);text-transform:none}
.site-footer-title{font:700 16px/1.4 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.01em}

/* ---- where to go: the explorer, its sections, the other Xeris sites ---------- */
.site-footer-grid{row-gap:36px;align-items:start;padding-block-end:44px}
.site-footer-explore{grid-column:span 2}
.site-footer-name{font:700 19px/1.2 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em}
.site-footer-home{display:inline-flex;align-items:center;gap:12px;min-height:44px}
.site-footer .site-footer-home,.site-footer .site-footer-home:hover{color:var(--x-text);text-decoration:none}
.site-footer-mark{display:block;flex:none;width:32px;height:32px;max-width:none}
.site-footer-mark.is-on-light,html[data-theme="light"] .site-footer-mark.is-on-dark{display:none}
html[data-theme="light"] .site-footer-mark.is-on-light{display:block}
.site-footer-lead{max-width:28ch;margin-block-start:8px;color:var(--x-text-dim)}

.site-footer-links{margin-block-start:4px;padding:0;list-style:none}
.site-footer-explore .site-footer-links{columns:2;column-gap:32px}
.site-footer-links li{position:relative;min-width:0;margin:0;padding:0;break-inside:avoid}
.site-footer-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
/* A section's whole row answers a tap, not only its word. */
.site-footer-explore .site-footer-links a::after{content:"";position:absolute;inset:0}
/* Another Xeris site: its name and what it is for, as one link. */
.site-footer-links.is-sites a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:44px;padding-block:7px}
.site-footer .site-footer-links.is-sites a:hover{text-decoration:none}
.site-footer-site{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.site-footer-site .site-icon{width:15px;height:15px;color:var(--x-text-faint)}
.site-footer-links.is-sites a:hover .site-footer-site{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.site-footer-links.is-sites a:hover .site-icon{color:var(--x-accent)}
.site-footer-about{color:var(--x-text-dim);font-size:14px;font-weight:400;line-height:1.45}

/* ---- preferences and network: the heading on the left, its controls beside it -- */
.site-footer-row{row-gap:16px;align-items:start;padding-block:32px;border-top:1px solid var(--x-border-soft)}
.site-footer-fields{grid-column:2/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px;align-items:start}
.site-footer-field{min-width:0;margin:0;padding:0;border:0}
.site-footer-label{display:block;margin-block-end:8px;color:var(--x-text-body);font:500 14px/1.5 Inter,system-ui,sans-serif}
.site-footer-hint{margin-block-start:8px;color:var(--x-text-dim);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.site-footer-hint.is-status{color:var(--x-text-body);font-variant-numeric:tabular-nums}
.site-footer-hint.is-status:empty{display:none}
.site-footer-notes{margin-block-start:8px}
.site-footer-notes .site-footer-hint{margin:0}
.site-footer-notes .site-footer-hint+.site-footer-hint{margin-block-start:2px}
.site-footer-network{align-items:center}
.site-footer-network .site-footer-hint{grid-column:span 2;max-width:56ch;margin:0}

/* ---- small print ---------------------------------------------------------------- */
.site-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;padding-block-start:20px;border-top:1px solid var(--x-border-soft);
  color:var(--x-text-dim);font-size:13px;line-height:1.5}
.site-footer-legal{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-width:0}
/* The dots between the three are for the eye only (the second form says so to a screen reader). */
.site-footer-legal span+span::before{content:"·";content:"·" / "";margin-inline-end:12px;color:var(--x-text-faint)}

/* ---- narrower screens --------------------------------------------------------- */
@media(max-width:1099px){
  /* Three columns: the name takes a row of its own, and each heading sits above its controls. */
  .site-footer-grid,.site-footer-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .site-footer-brand,.site-footer-row>.site-footer-title,.site-footer-fields{grid-column:1/-1}
  .site-footer-lead{max-width:none}
  .site-footer-legal{flex-direction:column;align-items:flex-start;gap:2px}
  .site-footer-legal span+span::before{content:none}
}
@media(max-width:859px){
  .site-footer-grid,.site-footer-row,.site-footer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-footer-explore,.site-footer-network .site-footer-hint{grid-column:auto}
}
@media(min-width:640px) and (max-width:859px){
  /* Two columns: like the network choice below it, Appearance has its control on the left and its words beside it. */
  .site-footer-field.is-appearance{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;align-items:start}
  .site-footer-field.is-appearance .site-footer-label{grid-column:1/-1}
  .site-footer-field.is-appearance .site-footer-notes{margin:0}
}
@media(max-width:767px){
  .site-footer-inner{padding:40px 16px 20px}
  .site-footer-grid,.site-footer-row,.site-footer-fields,.site-footer-field.is-appearance{column-gap:24px}
}
@media(max-width:639px){
  .site-footer-grid,.site-footer-row,.site-footer-fields{grid-template-columns:minmax(0,1fr)}
  .site-footer-grid{row-gap:28px;padding-block-end:32px}
  .site-footer-row{padding-block:28px}
  .site-footer-fields{row-gap:20px}
  .site-footer-bottom{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){
  .site-footer-inner{padding:36px 12px 20px}
}
@media(prefers-reduced-motion:reduce){
  .site-footer a{transition:none}
}
@media print{
  .site-footer-preferences,.site-footer-network,.site-footer-top,.footer-network{display:none}
}

/* Header: wordmark, guided search and the section links. Loaded after explorer.css
   and refines its header rules; every colour is a palette token so day and night match. */
.explorer-header{position:relative;z-index:60;background:var(--x-bg-table);border-bottom:1px solid var(--x-border)}
.explorer-header-main{box-sizing:border-box;max-width:1280px;margin:0 auto;padding:18px 40px 14px;display:flex;align-items:center;justify-content:space-between;gap:32px}

.explorer-wordmark{flex:0 0 auto;min-height:44px;color:var(--x-text);border-radius:var(--x-radius,6px)}
.explorer-wordmark span span{color:var(--x-accent)}

/* Search: the text box leads, the type choice is a quiet second step. */
.explorer-search-field{position:relative;flex:1 1 auto;min-width:0;max-width:720px}
.explorer-search{box-sizing:border-box;width:100%;max-width:none;min-height:48px;overflow:visible;border:1px solid var(--x-border-strong);border-radius:var(--x-radius,6px);background:var(--x-bg-inset)}
.explorer-search:focus-within{border-color:var(--x-focus);box-shadow:0 0 0 3px var(--x-focus-halo)}
.explorer-search:has(input[aria-invalid=true]){border-color:var(--x-negative)}
.explorer-search:has(input[aria-invalid=true]):focus-within{box-shadow:0 0 0 1px var(--x-negative);box-shadow:0 0 0 3px color-mix(in srgb,var(--x-negative) 24%,transparent)}
.explorer-search-icon{flex:0 0 auto;margin-left:14px;color:var(--x-text-dim)}
.explorer-search input{flex:1 1 auto;box-sizing:border-box;min-width:0;width:100%;height:46px;margin:0;padding:0 10px;border:0;outline:none;background:none;color:var(--x-text);
  font:400 15px/1.4 Inter,system-ui,sans-serif;text-overflow:ellipsis}
.explorer-search input::placeholder{color:var(--x-text-dim);opacity:1}
.explorer-search-shortcut{width:auto;margin:0 10px 0 2px;border:0;background:none;color:var(--x-text-dim)}
.explorer-search:focus-within .explorer-search-shortcut{display:none}
/* Unseen copies of the field's hints, kept only so their width can be measured in the reader's language. */
.explorer-search-hints{display:none!important}
.explorer-search-type{position:relative;flex:0 0 auto;display:flex;align-items:center;height:46px;color:var(--x-text-dim);
  background:linear-gradient(var(--x-border-soft),var(--x-border-soft)) left center/1px 22px no-repeat}
.explorer-search-type:hover,.explorer-search-type.is-chosen{color:var(--x-text)}
.explorer-search select{-webkit-appearance:none;appearance:none;box-sizing:border-box;height:46px;min-height:0;min-width:0;max-width:140px;margin:0;padding:0 30px 0 12px;border:0;border-radius:0;
  background:transparent;color:inherit;font:500 13px/1.2 Inter,system-ui,sans-serif;text-overflow:ellipsis;cursor:pointer}
.explorer-search-type-icon{position:absolute;top:50%;right:9px;width:16px;height:16px;margin-top:-8px;pointer-events:none}
.explorer-search select option{background:var(--x-bg-elevated);color:var(--x-text)}
.explorer-search button{flex:0 0 auto;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:46px;min-height:0;min-width:48px;margin:0 0 0 8px;padding:0 18px;
  border:0;border-radius:0 calc(var(--x-radius,6px) - 1px) calc(var(--x-radius,6px) - 1px) 0;background:var(--x-brand);color:var(--x-on-brand);font:600 14px/1 Inter,system-ui,sans-serif;cursor:pointer}
.explorer-search button:hover{background:var(--x-brand-hover);color:var(--x-on-brand)}
.explorer-search button::after{content:none}
.explorer-search-submit-icon{display:none}
/* The field is one outlined box, so focus inside it is drawn inside it. */
.explorer-search select:focus-visible{outline:2px solid var(--x-focus);outline-offset:-4px;border-radius:var(--x-radius,6px)}
.explorer-search button:focus-visible{outline:2px solid var(--x-on-brand);outline-offset:-4px}

/* What the typed text looks like so far. It floats under the field so nothing on the page moves. */
.explorer-search-assist{position:absolute;z-index:5;top:calc(100% + 6px);left:0;right:0;box-sizing:border-box;display:none;align-items:flex-start;gap:10px;padding:10px 12px;
  border:1px solid var(--x-border);border-radius:var(--x-radius,6px);background:var(--x-bg-elevated);box-shadow:var(--x-shadow);color:var(--x-text-body);
  font:400 13px/1.5 Inter,system-ui,sans-serif;text-align:left;pointer-events:none;animation:explorer-assist-arrive .14s ease-out both}
.explorer-search-field:focus-within .explorer-search-assist,.explorer-search-assist.is-error{display:flex}
.explorer-search-assist.is-idle{padding:0;border:0;background:none;box-shadow:none;animation:none}
.explorer-search-assist p{flex:1 1 auto;min-width:0;margin:0;overflow-wrap:anywhere}
.explorer-search-assist p>span{display:block}
/* While an error shows, the empty polite region stays available to screen readers but takes no room. */
.explorer-search-assist.is-error .explorer-search-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.explorer-search-assist .explorer-search-tip{color:var(--x-text-dim)}
.explorer-search-assist-icon{flex:0 0 auto;margin-top:1px;color:var(--x-text-dim)}
.explorer-search-assist.is-ready{color:var(--x-text)}
.explorer-search-assist.is-ready .explorer-search-assist-icon{color:var(--x-positive)}
.explorer-search-assist.is-error{border-color:var(--x-negative-border);background:var(--x-negative-bg)}
.explorer-search-assist.is-error .explorer-search-assist-icon{color:var(--x-negative)}
.explorer-search-assist .explorer-search-error{max-width:none;margin:0;padding:0;color:var(--x-negative);font-size:13px;line-height:1.5}
.explorer-search-assist.is-error .explorer-search-tip{color:var(--x-text-body)}
.explorer-search-count,.explorer-search-enter{flex:0 0 auto;color:var(--x-text-dim);font:500 12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;white-space:nowrap}
.explorer-search-enter{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:24px;height:22px;padding:0 5px;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-small,4px);background:var(--x-bg-inset)}
@keyframes explorer-assist-arrive{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}

/* Section links. Longer words in other languages wrap onto a second row instead of scrolling out of sight. */
.explorer-navigation{box-sizing:border-box;max-width:1280px;margin:0 auto;padding:0 30px;flex-wrap:wrap;gap:0 6px;overflow:visible}
.explorer-navigation a{position:relative;min-height:48px;padding:0 10px;border-bottom:0;border-radius:var(--x-radius,6px);color:var(--x-text-dim);font:500 14px/1.2 Inter,system-ui,sans-serif;letter-spacing:.005em}
.explorer-navigation a:hover{color:var(--x-text)}
.explorer-navigation a[aria-current]{color:var(--x-text);font-weight:500}
.explorer-navigation a[aria-current]::after{content:'';position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px 2px 0 0;background:var(--x-accent)}
.explorer-navigation a:focus-visible{outline-offset:-3px}

.explorer-menu{align-items:center;gap:8px;box-sizing:border-box;min-height:44px;padding:0 14px;border:1px solid var(--x-border-strong);border-radius:var(--x-radius,6px);background:transparent;color:var(--x-text);font:600 14px/1 Inter,system-ui,sans-serif}
.explorer-menu:hover,.explorer-menu[aria-expanded=true]{background:var(--x-bg-hover);color:var(--x-text)}
.explorer-menu[aria-expanded=true]{border-color:var(--x-accent)}
.explorer-menu-icon{flex:0 0 auto}

/* Desktop: the hint covers the row of links beneath the field cleanly instead of cutting through it. */
@media(min-width:901px){.explorer-search-assist:not(.is-idle){min-height:58px;align-items:center}}
/* Tablet and phone: the links fold into a menu and the search takes its own full row, always in view. */
@media(max-width:900px){
 .explorer-header-main{flex-wrap:wrap;gap:12px 16px;padding:14px 40px 18px}
 .explorer-menu{display:inline-flex;margin-left:auto}
 .explorer-search-field{flex-basis:100%;max-width:none}
 .explorer-navigation{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;padding:8px 40px 16px;overflow:visible;border-top:1px solid var(--x-border-soft)}
 .explorer-navigation.is-open{display:grid}
 .explorer-navigation a{min-height:48px;padding:4px 12px;border-bottom:0;border-radius:var(--x-radius,6px);font-size:15px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 .explorer-navigation a:hover{background:var(--x-bg-hover)}
 /* The section you are in is the one filled row, in full-strength words. No stripe or mark is drawn on it. */
 .explorer-navigation a[aria-current]{padding-left:12px;border-radius:var(--x-radius,6px);background:var(--x-bg-hover);color:var(--x-text);font-weight:600}
 .explorer-navigation a[aria-current]::after{content:none}
}
@media(max-width:767px){
 .explorer-header-main{padding:12px 16px 16px}
 /* 16px text keeps phones from zooming the page when the field is tapped. */
 .explorer-search input,.explorer-search select{font-size:16px}
 .explorer-search input{padding:0 8px}
 .explorer-search select{max-width:106px;padding:0 26px 0 10px}
 .explorer-search-type-icon{right:7px}
 .explorer-navigation{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 16px 14px}
}
@media(max-width:480px){
 .explorer-header-main{padding:10px 12px 14px}
 .explorer-navigation{padding:8px 12px 12px}
 .explorer-search-icon{display:none}
 .explorer-search input{padding-left:12px}
 .explorer-search button{width:46px;min-width:46px;margin-left:0;padding:0}
 .explorer-search button>span{display:none}
 .explorer-search-submit-icon{display:block}
}
@media(hover:none){.explorer-search-enter,.explorer-search-shortcut{display:none}}
/* Where the system replaces colours, the open section is marked by an underline instead of a tint. */
@media(forced-colors:active){.explorer-navigation a[aria-current]{text-decoration:underline;text-underline-offset:6px}.explorer-navigation a[aria-current]::after{content:none}}
@media(prefers-reduced-motion:reduce){.explorer-search-assist{animation:none}}

/* Maintained transaction, wallet and block views (src/history-views.mjs).
   Every colour is a design token, so the light and dark themes stay in step.
   The base rules for these views live in explorer.css; this file adds the
   plain-language summary, values, name tags, the filter and the download.
   Corners are var(--x-radius) or var(--x-radius-small): nothing here is a pill,
   and a status is plain coloured words (see 90-shape.css). */

/* Page top: where you are, then the title. The content starts right after. */
.history-view .history-breadcrumb{margin-bottom:18px}
.history-breadcrumb>span[aria-hidden="true"]{color:var(--x-text-dim)}
.history-view .history-hero{margin-bottom:4px}
#root .history-view .history-hero h1,.history-view .history-hero h1{margin:0}
.history-view .history-hero>div>p{margin:8px 0 0;font-size:14px}

/* Previous and next block share one line, at any width. */
.history-view .history-adjacent{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 16px}
.history-view .history-adjacent>:last-child{align-self:auto;margin-inline-start:auto}

/* Sections: one sentence-case heading each, with any actions on its right (under it when there is no room). */
.history-view .history-section-heading{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 24px}
.history-view .history-record-actions{width:auto;gap:12px}
.history-view .history-record-actions>*{flex:0 0 auto}
#root .history-view .history-section-heading h2,.history-view .history-section-heading h2{margin:0}
#root .history-view h3,.history-view h3{letter-spacing:0;text-transform:none}
.history-section-heading+.history-instruction,.history-section-heading+.history-record-list,.history-section-heading+.history-table-wrap,.history-section-heading+.history-empty-inline{margin-top:14px}
.history-record-section>.history-instruction:last-child{padding-bottom:0}
.history-view .history-quiet-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}

/* Amount: the on-chain figure first, its value as a quieter line under it. */
.activity-amount-stack{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.35;vertical-align:middle}
.activity-amount-xrs{white-space:nowrap}
.activity-fiat{display:block;color:var(--x-text-dim);font:400 12px/1.35 Inter,system-ui,sans-serif;letter-spacing:0}

/* From / To: the address, with the name tag of a known address under it. */
.activity-party-stack{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;max-width:100%;vertical-align:middle}
.activity-party-stack>.name-tag,.history-identifier-stack>.name-tag{margin-left:0}
.history-view .activity-party.is-self{font-family:Inter,system-ui,sans-serif;font-size:13px;color:var(--x-text-dim)}
.history-identifier-stack{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%}
.history-identifier-stack>.history-identifier-row{max-width:100%}
.history-identifier-stack.is-inline{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 10px}
.history-identifier-stack>a{min-width:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.activity-direction{border-radius:var(--x-radius-small)}

/* Copy buttons are a quiet icon beside the value they copy; the box appears on hover and after a copy. */
.history-view .history-copy:not(.is-copied){border-color:transparent;background:transparent!important;color:var(--x-text-dim)}
.history-view .history-copy:not(.is-copied):hover,html[data-theme="light"] .history-view .history-copy:not(.is-copied):hover{background:var(--x-bg-hover)!important;color:var(--x-accent)}

/* A label and the help button beside it share one baseline. */
.history-detail dt,.history-metrics dt,.history-table th{line-height:1.5}

/* Wallet tools: what to show on the left, the download on the right.
   Both are 44px high with the same small corners. The chosen filter is bold
   and carries a check mark, so it does not rely on colour alone. */
.activity-actions{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin:16px 0 0}
.activity-filter-group{display:flex;align-items:center;gap:12px;min-width:0}
.activity-filter-label{color:var(--x-text-dim);font:500 14px/1.4 Inter,system-ui,sans-serif}
.activity-filters{display:flex;min-width:0}
.history-view .activity-filter{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:8px 16px;
  border:1px solid var(--x-border);border-radius:0;background:var(--x-bg-inset);color:var(--x-text-body);font:500 14px/1.3 Inter,system-ui,sans-serif;
  white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.history-view .activity-filter+.activity-filter{margin-inline-start:-1px}
.history-view .activity-filter:first-child{border-start-start-radius:var(--x-radius);border-end-start-radius:var(--x-radius)}
.history-view .activity-filter:last-child{border-start-end-radius:var(--x-radius);border-end-end-radius:var(--x-radius)}
.history-view .activity-filter:hover{background:var(--x-bg-hover);color:var(--x-text)}
.history-view .activity-filter:active{transform:none}
.history-view .activity-filter:focus-visible{z-index:2}
.history-view .activity-filter[aria-pressed="true"]{z-index:1;border-color:var(--x-accent);background:var(--x-brand);color:var(--x-on-brand);font-weight:700;cursor:default}
.history-view .activity-filter[aria-pressed="true"]::before{content:"";flex:none;width:5px;height:10px;margin-block-start:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.activity-filter-count{font-weight:500;font-variant-numeric:tabular-nums;opacity:.85}
.history-view .activity-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid var(--x-border);
  border-radius:var(--x-radius);background:var(--x-bg-inset);color:var(--x-text);font:600 14px/1.3 Inter,system-ui,sans-serif;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.history-view .activity-download:hover:not(:disabled){border-color:var(--x-accent);background:var(--x-bg-hover);color:var(--x-text)}
.activity-download svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.activity-export-status{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;color:var(--x-text-body);font-size:13px;line-height:1.6}
.activity-export-status .loading-circle{width:16px;height:16px;margin-top:2px;border-width:2px}
.activity-export-status.is-failed{color:var(--x-negative)}
.activity-scope{margin:0 0 12px;color:var(--x-warning);font-size:13px;line-height:1.6}
.history-state-actions{display:flex;gap:8px;flex-wrap:wrap}
.history-view .history-quiet-action{background:transparent;color:var(--x-accent)}
.history-view .history-quiet-action:hover{background:var(--x-bg-hover)}
.history-state>.history-quiet-action{margin-top:4px}
.history-view .history-state>h2:only-child{margin:0}

/* Transaction page: one sentence says what happened, and it is the heading of its box.
   The status sits alone in the top right corner, level with the first line. */
.tx-story-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px 24px}
#root .history-view .tx-headline,.history-view .tx-headline{min-width:0;margin:0;color:var(--x-text);font:700 clamp(20px,2.1vw,27px)/1.4 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.015em;overflow-wrap:anywhere}
.tx-story-status{flex:none;margin:0;line-height:1.4}
.tx-story-status .history-outcome{font-size:15px}
.tx-party{white-space:nowrap}
.history-view .tx-party a{font:600 .86em/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0}
.tx-party .name-tag{margin-left:8px}
.tx-amount{white-space:nowrap}
.tx-amount strong{font-weight:800}
.tx-amount .fiat-secondary{font-size:max(.62em,13px);font-weight:500}
.tx-outcome{margin:12px 0 0;color:var(--x-text-body);font-size:15px;line-height:1.5}
.tx-when{margin:4px 0 0;color:var(--x-text-dim);font-size:14px;line-height:1.6}
.tx-when-divider{margin:0 8px;color:var(--x-text-faint)}

/* The two closed rows that end a page (raw record, archive coverage) are quiet and alike. */
.history-view details.history-raw,.history-view details.history-coverage{padding-top:6px;padding-bottom:6px;box-shadow:none}
.history-view details.history-raw[open],.history-view details.history-coverage[open]{padding-bottom:20px}
/* A long summary wraps under its own words, not under the arrow. */
.history-coverage>summary{padding-inline-start:1.1em;text-indent:-1.1em}
.history-coverage-title{margin-inline-end:12px;white-space:nowrap}
.history-coverage-range{margin-inline-end:12px;color:var(--x-text-dim);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.history-coverage .history-metrics{margin:6px 0 14px}
.history-coverage .history-provenance{margin:0}

/* Dashboard card: the value sits on the line that already holds the time. */
.recent-value .recent-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:0 8px}
.recent-value .recent-fiat{color:var(--x-text-body)}

/* Table layout: a column heading starts where its cells start, and the right-aligned amount keeps clear of the outcome. */
@container activity (min-width:1061px){
 #root .history-view .activity-table th{padding-inline:12px}
 #root .history-view .activity-table :is(th,td):last-child{padding-inline-start:22px}
}
/* Card layout (the table turns into cards by its own width): everything reads from the left. */
@container activity (max-width:1060px){
 .activity-amount-stack{align-items:flex-start}
}
@container activity (max-width:620px){
 .activity-actions{align-items:stretch;flex-direction:column}
 .activity-filter-group{align-items:stretch;flex-direction:column;gap:6px}
 .activity-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .history-view .activity-filter{flex-wrap:wrap;gap:0 6px;padding:6px 8px;white-space:normal}
}
@media(max-width:600px){
 /* The status keeps the top right corner; the sentence takes the full width under it. */
 .tx-story-top{align-items:stretch;flex-direction:column-reverse}
 .tx-story-status{align-self:flex-end}
}
@media(max-width:480px){.tx-party,.tx-amount{white-space:normal}.tx-party a{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.history-view .activity-filter,.history-view .activity-download{transition:none}}
/* The card label of the amount stays as quiet as its neighbours. */
.activity-panel .activity-table td.activity-amount[data-label]::before{font-weight:400}

/* Touch: every link in these views can be hit on a 44px area without changing how the
   text is set. The area is an unseen pad centred on the link. A shortened identifier
   clips its overflow for the ellipsis, so there the link's own line is made tall instead
   (its row already holds a 44px copy button, so nothing moves). */
@media(max-width:480px),(any-pointer:coarse){
 .history-view a,.recent-activity .recent-signature{position:relative}
 .history-view a::after,.recent-activity .recent-signature::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
 .history-identifier-row.is-compact>a{line-height:44px}
 /* In the headline the pads sit behind the words, so a tap on one address never lands on the other. */
 .tx-headline{isolation:isolate}
 .tx-headline a::after{z-index:-1}
}

/* Values in the reader's currency and name tags that ui_money.py adds to the
   recovered compiled views. Every colour is a design token, so the light and dark
   themes stay in step. Where there is no value the amount stands alone and still
   looks finished. Nothing here animates. */

/* Wallet page: the address with its name tag beside it. */
.wallet-identity{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:100%}
.wallet-identity>div{min-width:0;max-width:100%}
.wallet-identity .name-tag{flex:0 0 auto;margin-left:0}
@media(min-width:768px){.wallet-identity{justify-content:flex-start}}

/* Wallet page: the balance in the reader's currency, directly under the balance,
   then the price of 1 XRS. The XRS amount stays the larger figure: it is what the
   chain records. Where the balance card sits beside the facts card it keeps the
   height of both lines before the price arrives, so the cards do not grow when it
   does. In one column an empty line would only be a hole, so none is kept. */
.wallet-value,.wallet-value-line,.wallet-value-rate{margin:0}
#root .wallet-value-amount{color:var(--x-text);font:700 26px/36px 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em}
.wallet-value-rate{color:var(--x-text-dim);font:400 14px/22px Inter,system-ui,sans-serif}
.wallet-value-rate:not(:empty){margin-top:2px}
@media(min-width:768px){.wallet-value{min-height:60px}}
@media(max-width:767px){#root .wallet-value-amount{font-size:22px;line-height:32px}}

/* Wallet facts (stake, blocks proposed): the figure on the right, any value under it. */
.wallet-fact{color:var(--x-text);font:600 15px/1.4 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}

/* A whole-XRS figure with its short value underneath (network totals). */
.money-stack{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.money-stack>.fiat-secondary{margin-inline-start:0}

/* An amount with its value underneath keeps the height of both lines before the
   price arrives, so a table row never grows when it does. Until then the amount
   sits in the middle of that height, level with the rest of its row. */
.xrs-with-fiat.stacked.value-room{display:inline-grid;align-content:start;min-height:calc(1lh + .125em + 1.35 * max(.8125em, 12px))}
td>.xrs-with-fiat.stacked.value-room,.wallet-fact>.xrs-with-fiat.stacked.value-room{align-content:center}

/* Wallets list: the address and its name tag stay together, left of the copy button. */
.accounts-identity{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.accounts-identity>a{min-width:0}
.accounts-identity .name-tag{flex:0 0 auto;margin-left:0}
/* The value column keeps its width while the price loads, so the other columns stay put. */
@media(min-width:768px){.accounts-table td.accounts-usd{min-width:148px}}

/* Pools: a long reserve breaks inside its own column instead of running into the next. */
#root .glass-card .grid>.flex-col{min-width:0}
#root .glass-card .grid>.flex-col>span.font-mono{overflow-wrap:anywhere}

/* The home page (the "/" view; its markup comes from ui_home.py). One calm column:
   a welcome, the figures, the two latest lists, then the three Xeris sites. Every
   colour is a design token, so the light and dark themes stay in step and the
   brand blue is the only accent. Corners use the site's shape tokens. Figures
   sit in reserved line boxes with tabular numerals, so nothing moves when a value
   arrives or changes. */

.home{color:var(--x-text-body)}
/* Read aloud, not shown: what a dash or a waiting bar means. */
.home-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* 1. Welcome ------------------------------------------------------------------ */
#root .home-welcome{max-width:760px;margin:0 0 32px}
#root .home-welcome h1{margin:0 0 12px;color:var(--x-text);font:800 clamp(28px,3.4vw,40px)/1.15 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.035em;text-transform:none;text-wrap:balance}
.home-lede{margin:0;color:var(--x-text-body);font:400 18px/1.6 Inter,system-ui,sans-serif;text-wrap:balance}

/* 2. Panels ------------------------------------------------------------------- */
.home-panel{box-sizing:border-box;min-width:0;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-card,10px);background:var(--x-bg-elevated);box-shadow:var(--x-shadow)}

/* 3. Figures ------------------------------------------------------------------
   No title: each figure is named by its own label and stands in its own rounded
   box. Mainnet is four over four (the coin, then the chain); Testnet is the
   chain's five in one row. Label, figure and second line share the row's own
   tracks, so the figures in a row stay level even when one label needs two lines
   (a narrow phone, a longer language). The space between two rows of boxes is each
   box's own top margin, because the rows inside a box share the grid's tracks. */
.home-panel.home-figures{border:0;border-radius:0;background:none;box-shadow:none}
.home-stats{--home-gap:16px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:var(--home-gap);row-gap:0;margin:calc(var(--home-gap)*-1) 0 0;padding:0}
.home-stats.is-mainnet{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-stat{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;margin-top:var(--home-gap);padding:20px 24px 22px;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-card,10px);
  background:var(--x-bg-elevated);box-shadow:var(--x-shadow)}
/* The box's one column is held to the box, so a long word in a label wraps instead of pushing the box wider. */
@supports(grid-template-rows:subgrid){.home-stat{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 3;row-gap:0}}
.home-stat-label{margin:0;color:var(--x-text-dim);font:500 14px/24px Inter,system-ui,sans-serif;overflow-wrap:anywhere;hyphens:auto}
/* A help mark takes no room of its own on the line (its label keeps that room free at its end), so it always
   stays beside the last word and is never left alone on a second line. */
.home-stat-label.has-hint{padding-inline-end:24px}
.home-stat-label .glossary-hint{margin-inline-end:-24px}
.home-stat-value{min-height:36px;margin:6px 0 0;overflow:hidden;container-type:inline-size;color:var(--x-text);font:700 26px/36px 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap;text-overflow:ellipsis}
/* A figure is set at the full size whenever it fits. A long one (a price in bitcoin, a nine-digit count) is
   sized to the room its cell has, from its own length, and never below 15px: no digit is ever cut off. It
   keeps the line's height and baseline, so the row does not move. */
.home-figure{line-height:1}
.home-figure.has-unit{--home-unit:34px}
@supports(width:1cqw){.home-figure{font-size:min(1em,max(15px,calc((100cqw - var(--home-unit,0px))/(var(--home-chars,1)*.62))))}}
.home-stat-value .fiat{font:inherit;letter-spacing:inherit}
.home-stat-sub{min-height:22px;margin:2px 0 0;overflow:hidden;color:var(--x-text-dim);font:400 14px/22px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis}
.home-unit{color:var(--x-text-dim);font:600 14px/1 Inter,system-ui,sans-serif;letter-spacing:0}
.home-missing{color:var(--x-text-faint)}
/* A figure from an older price keeps showing as it is; its title says how old. */
.home-stats .fiat[data-stale="true"]{text-decoration:none;cursor:inherit}
.home-skeleton{display:inline-block;width:min(112px,70%);height:16px;margin:10px 0;border-radius:var(--x-radius-small,4px);background:var(--x-border-soft);vertical-align:top}
@keyframes home-waiting{0%,100%{opacity:.45}50%{opacity:1}}
@media(prefers-reduced-motion:no-preference){.home-skeleton{animation:home-waiting 1.6s ease-in-out infinite}}

/* 4. Latest blocks beside latest transactions ---------------------------------- */
.home-lists{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:stretch;margin-top:20px}
.home-list{display:flex;flex-direction:column}
/* A heading keeps its height with or without its link, so the two lists start level. */
.home-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:66px;padding:14px 24px 8px}
#root .home-list-head h2{margin:0;color:var(--x-text);font:700 19px/1.35 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;text-transform:none}
/* "View all": a quiet link with a full-size target. */
.home-more{display:inline-flex;flex:none;align-items:center;gap:6px;box-sizing:border-box;min-height:44px;margin-inline-end:-10px;padding:0 10px;border-radius:var(--x-radius,6px);
  color:var(--x-accent);font:600 15px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;text-decoration:none;transition:background-color .15s ease}
.home-more:hover{background:var(--x-bg-hover)}
#root .home-more:focus-visible{outline:2px solid var(--x-focus);outline-offset:2px}
.home-arrow{flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s ease}
.home-more:hover .home-arrow{transform:translateX(2px)}

.home-table-wrap{padding:0 12px 8px}
#root .home-table{width:100%;border-collapse:collapse}
#root .home-table .data-table-header{padding:10px 12px;border-bottom:1px solid var(--x-border-soft);color:var(--x-text-dim);font:500 14px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:0;text-transform:none;white-space:nowrap}
#root .home-table .data-table-row{border-bottom:1px solid var(--x-border-soft);cursor:auto}
#root .home-table tbody tr:last-child{border-bottom:0}
#root .home-table tbody td{height:44px;padding:10px 12px;border-color:var(--x-border-soft)!important;font-size:15px;line-height:1.5;vertical-align:middle;font-variant-numeric:tabular-nums}
#root .home-table .home-col-count{text-align:right;padding-inline-end:28px}
/* Where a block's date has to wrap, it breaks after the day and never leaves the time zone alone on a line. */
#root .home-table tbody td:last-child{text-wrap:balance}
/* The same count as a phrase, used where the column has no room (see the narrow layout). */
.home-count-phrase{display:none}
/* Links in a row are as tall as the row's 44px target. */
#root .home-table td a{display:inline-flex;align-items:center;min-height:44px;color:var(--x-accent);text-decoration:none}
#root .home-table td a:hover{text-decoration:underline}
#root .home-table td a:focus-visible{outline:2px solid var(--x-focus);outline-offset:2px;border-radius:var(--x-radius-small,4px)}
#root .home-table td a.home-producer{font-size:14px;font-weight:400;white-space:nowrap}
#root .home-table .home-col-hash{max-width:220px;font-size:13px!important}
/* While a list loads it already has the height of its six rows, so the page below does not move. */
#root .home-table .view-loading{box-sizing:border-box;min-height:369px}
.home-activity .view-loading{box-sizing:border-box;min-height:413px}

/* The activity rows belong to the shared recent-activity list. The panel places them and sets their type at
   this page's sizes; six rows stand as tall as the six blocks beside them. */
.home-activity>:not(.home-list-head){margin:4px 24px 24px}
.home-activity .recent-activity{gap:7px}
.home-activity .recent-signature{font-size:14px;line-height:20px}
.home-activity .recent-value strong{font-size:15px;line-height:20px}
.home-activity .recent-route,.home-activity .recent-value time,.home-activity .recent-value span{font-size:13px;line-height:18px}
.home-activity .recent-empty{font-size:15px;line-height:1.5}

/* 5. The three Xeris sites ------------------------------------------------------ */
.home-next{margin:40px 0}
#root .home-next h2{margin:0 0 14px;color:var(--x-text);font:700 19px/1.35 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;text-transform:none}
.home-next-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.home-next-links li{display:flex;min-width:0}
.home-next-links a{position:relative;display:grid;flex:1;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-content:center;align-items:center;box-sizing:border-box;min-width:0;min-height:76px;padding:14px 20px;
  border:1px solid var(--x-border-soft);border-radius:var(--x-radius-card,10px);background:var(--x-bg-elevated);box-shadow:var(--x-shadow);color:var(--x-text-body);text-decoration:none;transition:border-color .15s ease,background-color .15s ease}
.home-next-links a:hover{border-color:var(--x-accent);background:var(--x-bg-hover)}
#root .home-next-links a:focus-visible{outline:2px solid var(--x-focus);outline-offset:2px}
.home-next-name{grid-column:1;color:var(--x-text);font:600 16px/1.4 Inter,system-ui,sans-serif}
.home-next-text{grid-column:1;color:var(--x-text-dim);font:400 14px/1.5 Inter,system-ui,sans-serif;text-wrap:balance}
.home-next-links .home-arrow{grid-column:2;grid-row:1/span 2;color:var(--x-accent)}
.home-next-links a:hover .home-arrow{transform:translate(1px,-1px)}

/* Narrower screens ------------------------------------------------------------- */
@media(min-width:1024px) and (max-width:1179px){
  /* Still side by side on a small laptop or a tablet held wide: the table gives up some padding so a block's
     date stays on one line. */
  .home-table-wrap{padding-inline:16px}
  #root .home-table .data-table-header,#root .home-table tbody td{padding-inline:8px}
  #root .home-table .home-col-count{padding-inline-end:16px}
  /* The narrower list keeps a transaction's value and age on one line by standing a little closer to its edge. */
  .home-activity .home-list-head{padding-inline:16px}
  .home-activity>:not(.home-list-head){margin-inline:16px}
}
@media(max-width:1023px){
  .home-lists{grid-template-columns:minmax(0,1fr)}
  .home-stat{padding-inline:18px}
  .home-stat-value{font-size:24px}
}
@media(max-width:899px){
  /* Testnet's five: two to a row, and the odd one out takes the last row. */
  .home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-stats>.home-stat:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:767px){
  /* Mainnet's eight: four rows of two. */
  .home-stats.is-mainnet{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639px){
  #root .home-welcome{margin-bottom:24px}
  .home-lede{font-size:17px}
  .home-stats{--home-gap:12px}
  .home-stat{padding:16px 16px 18px}
  .home-stat-value{font-size:22px}
  .home-lists{gap:16px;margin-top:16px}
  .home-list-head{min-height:62px;padding:12px 16px 6px}
  .home-table-wrap{padding:0 6px 6px}
  #root .home-table .data-table-header,#root .home-table tbody td{padding:10px}
  /* Two columns: the block with its transaction count under it, and when. The producer waits for a wider screen. */
  #root .home-table .home-col-wide,#root .home-table .home-col-count{display:none}
  #root .home-table tbody td{padding-block:6px}
  #root .home-table .view-loading{min-height:401px}
  .home-count-phrase{display:block;margin-top:-8px;color:var(--x-text-dim);font:400 14px/20px Inter,system-ui,sans-serif;white-space:nowrap}
  .home-activity>:not(.home-list-head){margin:4px 16px 16px}
  /* The value and the time each take a line, so every row is the same height whatever its age reads. */
  .home-activity .recent-meta{flex-direction:column;align-items:flex-end}
  .home-activity .view-loading{min-height:521px}
  .home-next{margin:32px 0}
  .home-next-links{grid-template-columns:minmax(0,1fr);gap:12px}
}
@media(max-width:359px){
  .home-stat{padding-inline:12px}
  /* On the narrowest phone the two addresses of a transaction take a line each. */
  .home-activity .recent-route{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  .home-more,.home-arrow,.home-next-links a{transition:none}
  .home-more:hover .home-arrow,.home-next-links a:hover .home-arrow{transform:none}
}
@media print{.home-next,.home-more{display:none}}

/* Charts on the Network page (src/charts.mjs). The series colors are a fixed order
   starting from the brand blue, each checked for color-blind separation and for
   contrast on its theme's card surface (light #FFFFFF, dark #0C1333). A color is
   never the only clue: lanes and legends are named in text beside their key. Text
   is always a text token; only marks wear a series color. Dark is the default,
   as in 00-tokens.css. */
:root,html[data-theme="dark"]{
  --x-chart-1:#6D86F5;--x-chart-2:#E76624;--x-chart-3:#00A888;--x-chart-4:#D28E05;
  --x-chart-on-1:#FFFFFF;--x-chart-on-2:#FFFFFF;--x-chart-on-3:#FFFFFF;--x-chart-on-4:#05070F;
  --x-chart-surface:var(--x-bg-elevated);--x-chart-muted:var(--x-text-faint);--x-chart-on-muted:#05070F;
  --x-chart-grid:#1C2550;--x-chart-axis:#3A4677;--x-chart-crosshair:var(--x-text-dim);--x-chart-ref:var(--x-text-dim);
  --x-chart-tip-bg:var(--x-bg-hover);--x-chart-tip-edge:var(--x-border);--x-chart-empty:var(--x-chart-axis);
}
html[data-theme="light"]{
  --x-chart-1:#2F55DB;--x-chart-2:#E0631F;--x-chart-3:#00A383;--x-chart-4:#B07D00;
  --x-chart-on-1:#FFFFFF;--x-chart-on-2:#FFFFFF;--x-chart-on-3:#FFFFFF;--x-chart-on-4:#FFFFFF;
  --x-chart-surface:var(--x-bg-elevated);--x-chart-muted:var(--x-border-strong);--x-chart-on-muted:#FFFFFF;
  --x-chart-grid:#EBEFF8;--x-chart-axis:#C7D1EC;--x-chart-crosshair:var(--x-text-dim);--x-chart-ref:var(--x-text-dim);
  --x-chart-tip-bg:var(--x-bg-elevated);--x-chart-tip-edge:var(--x-border);--x-chart-empty:var(--x-chart-axis);
}

/* The box around a chart: a content box, like the home page figures. */
.chart-frame{box-sizing:border-box;min-width:0;margin:0 0 16px;padding:20px 24px 22px;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-card,10px);
  background:var(--x-chart-surface);box-shadow:var(--x-shadow);color:var(--x-text-body)}
.chart-frame-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 20px;margin:0 0 14px}
.chart-frame-text{min-width:0;flex:1 1 260px}
#root .chart-frame .chart-title,.chart-frame .chart-title{margin:0;color:var(--x-text);font:700 19px/1.35 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;text-transform:none}
#root .chart-frame h3.chart-title,.chart-frame h3.chart-title{font-size:17px}
.chart-summary{margin:4px 0 0;color:var(--x-text-dim);font:400 15px/1.5 Inter,system-ui,sans-serif;text-wrap:pretty}
.chart-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* Range: ordinary buttons side by side; the chosen one is filled and ticked. */
.chart-ranges{display:inline-flex;border:1px solid var(--x-border-strong);border-radius:var(--x-radius,6px);background:var(--x-bg-inset)}
.chart-frame .chart-range,.chart-frame .chart-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-width:44px;min-height:44px;margin:0;padding:0 14px;
  border:0;border-radius:0;background:transparent;color:var(--x-text-body);font:500 14px/1.2 Inter,system-ui,sans-serif;text-transform:none;white-space:nowrap;cursor:pointer;
  transition:background-color .15s ease,color .15s ease}
.chart-frame .chart-range+.chart-range{border-inline-start:1px solid var(--x-border-strong)}
.chart-frame .chart-range:first-child{border-start-start-radius:calc(var(--x-radius,6px) - 1px);border-end-start-radius:calc(var(--x-radius,6px) - 1px)}
.chart-frame .chart-range:last-child{border-start-end-radius:calc(var(--x-radius,6px) - 1px);border-end-end-radius:calc(var(--x-radius,6px) - 1px)}
.chart-frame .chart-range:hover{background:var(--x-bg-hover);color:var(--x-text)}
.chart-frame .chart-range[aria-pressed="true"]{background:var(--x-brand);color:var(--x-on-brand);font-weight:700;cursor:default}
.chart-frame .chart-range[aria-pressed="true"]::before{content:"";flex:none;width:5px;height:10px;margin-block-start:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.chart-frame .chart-toggle{border:1px solid var(--x-border-strong);border-radius:var(--x-radius,6px);color:var(--x-text);font-weight:600}
.chart-frame .chart-toggle:hover{border-color:var(--x-accent);background:var(--x-bg-hover)}
.chart-frame :is(.chart-range,.chart-toggle):focus-visible{position:relative;z-index:1;outline:3px solid var(--x-focus);outline-offset:2px}

/* The plot. Text inside the drawing is real text at its real size: the drawing is
   redrawn at the container's width, never stretched. */
.chart{position:relative;min-width:0}
.chart-plot{position:relative;touch-action:pan-y;-webkit-tap-highlight-color:transparent;border-radius:var(--x-radius-small,4px)}
.chart-plot:focus{outline:0}
.chart-plot:focus-visible{outline:3px solid var(--x-focus);outline-offset:4px}
.chart-lanes.is-linked .chart-plot{cursor:pointer}
.chart-svg{display:block;width:100%;overflow:visible}
.chart-grid{stroke:var(--x-chart-grid);stroke-width:1;shape-rendering:crispEdges}
.chart-baseline{stroke:var(--x-chart-axis);stroke-width:1;shape-rendering:crispEdges}
.chart-tick{fill:var(--x-text-dim);font:400 12px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.chart-value{fill:var(--x-text-dim);font:500 11px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.chart-lane-label{fill:var(--x-text-body);font:500 13px Inter,system-ui,sans-serif}

/* Marks: 2px lines, a faint wash under a single line, thin rounded ticks and bars. */
.chart-s1{--chart-ink:var(--x-chart-1);--chart-on:var(--x-chart-on-1)}
.chart-s2{--chart-ink:var(--x-chart-2);--chart-on:var(--x-chart-on-2)}
.chart-s3{--chart-ink:var(--x-chart-3);--chart-on:var(--x-chart-on-3)}
.chart-s4{--chart-ink:var(--x-chart-4);--chart-on:var(--x-chart-on-4)}
.chart-muted{--chart-ink:var(--x-chart-muted);--chart-on:var(--x-chart-on-muted)}
.chart-line-path{fill:none;stroke:var(--chart-ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart-area{fill:var(--chart-ink);fill-opacity:.1;stroke:none}
.chart-spark-line{fill:none;stroke:var(--x-chart-muted);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart-marker{fill:var(--chart-ink);stroke:var(--x-chart-surface);stroke-width:2}
.chart-ref-line{stroke:var(--x-chart-ref);stroke-width:1;shape-rendering:crispEdges}
/* The average's label keeps a ring of card color, so it stays readable where the line crosses it. */
.chart-ref-label{fill:var(--x-text-body);font:500 12px Inter,system-ui,sans-serif;paint-order:stroke;stroke:var(--x-chart-surface);stroke-width:4px;stroke-linejoin:round}
.chart-ref-label .chart-num{font-weight:600;font-variant-numeric:tabular-nums}
.chart-tick-mark,.chart-lane-key{fill:var(--chart-ink)}
.chart-tick-mark.is-active{stroke:var(--x-chart-surface);stroke-width:2}
.chart-crosshair{stroke:var(--x-chart-crosshair);stroke-width:1;shape-rendering:crispEdges;pointer-events:none}
.chart-bar{fill:var(--chart-ink)}
.chart-bar-empty{fill:var(--x-chart-empty)}
.chart-hit{fill:transparent}
.chart-bar-slot.is-active .chart-hit{fill:var(--x-chart-grid);fill-opacity:.6}

/* One horizontal bar split into shares, with 2px of card between the parts. */
.chart-share-bar{display:flex;gap:2px;height:28px}
.chart-share-part{display:flex;align-items:center;min-width:0;padding:0 8px;border-radius:var(--x-radius-small,4px);background:var(--chart-ink)}
/* The part being read is lifted by a ring of card color and its own ink. */
.chart-share-part.is-active{box-shadow:0 0 0 2px var(--x-chart-surface),0 0 0 4px var(--chart-ink)}
/* The share bar's tooltip opens above it, so it never covers the legend it explains. */
.chart-share .chart-tip{top:auto;bottom:calc(100% + 8px)}
.chart-share-text{color:var(--chart-on);font:600 13px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}

/* The tooltip: the value is the strong part, the name after it is quieter. */
.chart-tip{position:absolute;top:8px;z-index:2;box-sizing:border-box;min-width:120px;max-width:min(280px,70%);padding:8px 12px;border:1px solid var(--x-chart-tip-edge);
  border-radius:var(--x-radius,6px);background:var(--x-chart-tip-bg);box-shadow:var(--x-shadow);color:var(--x-text-body);font:400 13px/1.45 Inter,system-ui,sans-serif;pointer-events:none}
.chart-tip-title{margin:0 0 4px;color:var(--x-text-dim);font:500 12px/1.4 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
.chart-tip-row{display:flex;align-items:baseline;gap:8px;min-width:0}
.chart-tip-value{color:var(--x-text);font:600 14px/1.45 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.chart-tip-label{min-width:0;color:var(--x-text-dim);overflow-wrap:anywhere}
.chart-key-line{flex:none;display:inline-block;width:12px;height:2px;border-radius:1px;background:var(--chart-ink);transform:translateY(-4px)}
.chart-key-box{flex:none;display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--chart-ink)}
.chart-key-dot{flex:none;display:block;overflow:visible}

.chart-legend{display:flex;flex-wrap:wrap;gap:6px 20px;margin:12px 0 0;padding:0;list-style:none}
.chart-legend-item{display:inline-flex;align-items:center;gap:8px;min-width:0;color:var(--x-text-body);font:500 14px/1.4 Inter,system-ui,sans-serif}
.chart-legend-value{color:var(--x-text-dim);font-weight:400;font-variant-numeric:tabular-nums}

.chart-spark{min-width:0}
.chart-empty{display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:var(--x-radius-small,4px);background:var(--x-bg-inset)}
.chart-empty p{margin:0;color:var(--x-text-dim);font:400 14px/1.5 Inter,system-ui,sans-serif}
.chart-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* The table view of the same numbers. */
.chart-table-wrap{max-width:100%;overflow-x:auto;border-radius:var(--x-radius-small,4px)}
.chart-table-wrap:focus-visible{outline:3px solid var(--x-focus);outline-offset:2px}
.chart-table{width:100%;border-collapse:collapse;color:var(--x-text-body);font:400 14px/1.45 Inter,system-ui,sans-serif}
.chart-table caption{padding:0 0 8px;color:var(--x-text-dim);font:500 13px/1.4 Inter,system-ui,sans-serif;text-align:start;caption-side:top}
#root .chart-table th,#root .chart-table td,.chart-table th,.chart-table td{padding:8px 12px;border-bottom:1px solid var(--x-border-soft);text-align:start;text-transform:none;letter-spacing:0;white-space:nowrap}
#root .chart-table thead th,.chart-table thead th{color:var(--x-text-dim);font-weight:500}
#root .chart-table tbody th,.chart-table tbody th{color:var(--x-text);font-weight:500}
.chart-table .is-numeric{text-align:end;font-variant-numeric:tabular-nums}
.chart-table-note{margin:10px 0 0;color:var(--x-text-dim);font:400 13px/1.5 Inter,system-ui,sans-serif}

@media(max-width:640px){
  .chart-frame{padding:16px 16px 18px}
  .chart-frame-head{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){
  .chart-frame .chart-range,.chart-frame .chart-toggle{transition:none}
}

/* The Network page (/stats; markup from src/network-views.mjs, charts from
   src/charts.mjs and 80-charts.css). One column of rounded boxes on the site's
   width: the heading, the figures (the overview's own figure boxes), the range of
   blocks everything below is drawn from, then the charts and two plain boxes.
   Figures and sentences that carry numbers use tabular numerals in reserved line
   boxes, so a new block changes numbers without moving anything. */

#root main.network,main.network{box-sizing:border-box;max-width:1280px;margin:0 auto;padding:40px 24px 96px;color:var(--x-text-body)}
.network-num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}

/* 1. Heading: the overview's scale, with how fresh the data is at the right. */
.network-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px;margin:0 0 32px}
.network-head-text{flex:1 1 420px;min-width:0;max-width:760px}
#root .network-head h1{margin:0 0 12px;color:var(--x-text);font:800 clamp(28px,3.4vw,40px)/1.15 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.035em;text-transform:none;text-wrap:balance}
.network-lede{margin:0;color:var(--x-text-body);font:400 18px/1.6 Inter,system-ui,sans-serif;text-wrap:balance}
.network-fresh{flex:none;min-width:12em;min-height:24px;margin:0 0 4px;color:var(--x-text-dim);font:400 14px/24px Inter,system-ui,sans-serif;text-align:end;white-space:nowrap}
.network-fresh.is-stale{color:var(--x-warning)}

/* 2. Figures: the overview's boxes (home-stat), three in a row so each second line reads whole,
   each with a fourth row kept for a trend. */
.network-figures{margin:0 0 28px}
.home-stats.network-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@supports(grid-template-rows:subgrid){.network-stats .home-stat{grid-row:span 4}}
.network-stats .home-stat-value .network-num{font:inherit}
.network-of{color:var(--x-text-dim);font:600 15px/1 Inter,system-ui,sans-serif;letter-spacing:0}
.network-stat-trend{min-height:32px;margin:10px 0 0}
.network-stats .chart-spark{max-width:220px}

/* 3. Range: one row of ordinary buttons above everything it changes. */
.network-rangebar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:0 0 16px}
.network-ranges{display:inline-flex;border:1px solid var(--x-border-strong);border-radius:var(--x-radius,6px);background:var(--x-bg-inset)}
#root .network-range,.network-range{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-width:44px;min-height:44px;margin:0;padding:0 16px;
  border:0;border-radius:0;background:transparent;color:var(--x-text-body);font:500 15px/1.2 Inter,system-ui,sans-serif;text-transform:none;white-space:nowrap;cursor:pointer;
  transition:background-color .15s ease,color .15s ease}
.network-range+.network-range{border-inline-start:1px solid var(--x-border-strong)}
.network-range:first-child{border-start-start-radius:calc(var(--x-radius,6px) - 1px);border-end-start-radius:calc(var(--x-radius,6px) - 1px)}
.network-range:last-child{border-start-end-radius:calc(var(--x-radius,6px) - 1px);border-end-end-radius:calc(var(--x-radius,6px) - 1px)}
.network-range:hover{background:var(--x-bg-hover);color:var(--x-text)}
#root .network-range[aria-pressed="true"],.network-range[aria-pressed="true"]{background:var(--x-brand);color:var(--x-on-brand);font-weight:700;cursor:default}
.network-range[aria-pressed="true"]::before{content:"";flex:none;width:5px;height:10px;margin-block-start:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.network-range:focus-visible{position:relative;z-index:1;outline:3px solid var(--x-focus);outline-offset:2px}
.network-range-note{min-height:22px;margin:0;color:var(--x-text-dim);font:400 14px/22px Inter,system-ui,sans-serif}

/* 4-6. Chart boxes. A sentence above each chart keeps room for two lines, so a new
   number never pushes the chart down. While older blocks load, the chart keeps its
   frame and dims a little. */
.network-chart .chart-summary{min-height:45px}
.network-chart .chart-frame-body{transition:opacity .2s ease}
.network-chart.is-refreshing .chart-frame-body{opacity:.72}
.network-share{margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--x-border-soft)}
#root .network-share-title,.network-share-title{margin:0 0 10px;color:var(--x-text);font:600 15px/1.4 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none}

/* 7-8. Plain boxes: the same content box as a chart. */
.network-box{box-sizing:border-box;min-width:0;margin:0 0 16px;padding:20px 24px 22px;border:1px solid var(--x-border-soft);border-radius:var(--x-radius-card,10px);
  background:var(--x-bg-elevated);box-shadow:var(--x-shadow);color:var(--x-text-body)}
.network-box-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 20px;margin:0 0 12px}
#root .network-box h2,.network-box h2{margin:0;color:var(--x-text);font:700 19px/1.35 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;text-transform:none}
.network-note,.network-waiting{margin:0;color:var(--x-text-dim);font:400 14px/1.5 Inter,system-ui,sans-serif}
.network-waiting{min-height:132px}

/* The validators table. Each row's share of the range is a meter in that validator's
   own color, so it matches its lane and its part of the share bar. */
.network-table-wrap{margin:0 -12px}
.network-table{width:100%;border-collapse:collapse;color:var(--x-text-body);font:400 15px/1.45 Inter,system-ui,sans-serif}
#root .network-table th,#root .network-table td,.network-table th,.network-table td{padding:6px 12px;border-bottom:1px solid var(--x-border-soft);text-align:start;vertical-align:middle;text-transform:none;letter-spacing:0}
#root .network-table tbody tr:last-child>*,.network-table tbody tr:last-child>*{border-bottom:0}
#root .network-table thead th,.network-table thead th{padding-block:10px;color:var(--x-text-dim);font:500 14px/1.4 Inter,system-ui,sans-serif;white-space:nowrap}
#root .network-table tbody th,.network-table tbody th{color:var(--x-text);font-weight:500}
#root .network-table .is-numeric,.network-table .is-numeric{text-align:end;font-variant-numeric:tabular-nums}
.network-validator{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:0 10px;min-width:0}
#root .network-link,.network-link{display:inline-flex;align-items:center;min-height:44px;color:var(--x-accent);text-decoration:none}
#root .network-link:hover{text-decoration:underline}
#root .network-link:focus-visible{outline:2px solid var(--x-focus);outline-offset:2px;border-radius:var(--x-radius-small,4px)}
.network-address{font:500 14px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}
.network-money{display:inline-flex;flex-direction:column;align-items:flex-end;white-space:nowrap}
.network-money .fiat-secondary{color:var(--x-text-dim);font-size:13px}
.network-meter-row{display:grid;grid-template-columns:minmax(72px,140px) 3.5em 3em;align-items:center;gap:12px}
.network-meter{display:block;height:8px;overflow:hidden;border-radius:4px;background:var(--x-chart-grid)}
.network-meter-fill{display:block;height:100%;border-radius:4px;background:var(--chart-ink)}
.network-meter-row>.network-num{text-align:end}
.network-meter-share{color:var(--x-text-dim);font-size:14px;text-align:end}
.network-table .is-idle{color:var(--x-text-dim)}
.network-table .is-producing{color:var(--x-text)}

/* Supply and value: four figures in a row. */
.network-figures-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 24px;margin:4px 0 0}
.network-figures-grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px}
.network-figure{min-width:0}
.network-figure dt{margin:0;color:var(--x-text-dim);font:500 14px/24px Inter,system-ui,sans-serif}
.network-figure-value{min-height:32px;margin:4px 0 0;overflow-wrap:anywhere;color:var(--x-text);font:700 22px/32px 'Plus Jakarta Sans',Inter,system-ui,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.network-figure-value .fiat{font:inherit;letter-spacing:inherit}
.network-figure-sub{min-height:22px;margin:2px 0 0;color:var(--x-text-dim);font:400 14px/22px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}

/* Narrower screens ------------------------------------------------------------- */
/* Below a laptop's width the second line of a figure is too narrow for one line of words: it gets
   two, in every box, so the boxes of a row stay level. */
@media(max-width:1023px){.network-stats .home-stat-sub{min-height:44px;white-space:normal;text-wrap:balance}}
@media(max-width:899px){
  .network-figures-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* The validators table becomes one stacked row per validator, each value under its own label. */
  .network-table-wrap{margin:0}
  .network-table,.network-table tbody{display:block}
  .network-table thead{display:none}
  .network-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px;padding:14px 0;border-bottom:1px solid var(--x-border-soft)}
  .network-table tbody tr:last-child{border-bottom:0}
  #root .network-table th,#root .network-table td,.network-table th,.network-table td{padding:0;border:0;min-width:0}
  #root .network-table tbody th,.network-table tbody th{grid-column:1/-1}
  #root .network-table .is-numeric,.network-table .is-numeric{text-align:start}
  .network-table td[data-label]::before{content:attr(data-label);display:block;margin:0 0 2px;color:var(--x-text-dim);font:400 13px/1.4 Inter,system-ui,sans-serif}
  .network-table td.is-wide{grid-column:1/-1}
  .network-money{align-items:flex-start}
  #root .network-table td .network-link{min-height:0}
}
@media(max-width:767px){
  #root main.network,main.network{padding:28px 16px 64px}
  .network-head{margin-bottom:24px}
  .network-fresh{min-width:0;text-align:start}
  .home-stats.network-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:639px){
  .network-lede{font-size:17px}
  .network-figures{margin-bottom:20px}
  .network-box{padding:16px 16px 18px}
  .network-figures-grid{gap:16px}
  .network-figure-value{font-size:19px;white-space:nowrap}
  /* The three range buttons share the row equally; a long label takes two lines. */
  .network-rangebar{gap:8px}
  .network-ranges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  #root .network-range,.network-range{padding:4px 8px;font-size:14px;line-height:1.25;text-align:center;white-space:normal}
  .network-range[aria-pressed="true"]::before{display:none}
}
@media(max-width:359px){
  .network-figures-grid{grid-template-columns:minmax(0,1fr)}
  .network-figure-value{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .network-range,.network-chart .chart-frame-body{transition:none}
}
@media print{
  .network-rangebar,.network-chart .chart-controls{display:none}
  .network-chart.is-refreshing .chart-frame-body{opacity:1}
}

/* The Charts view of a wallet (src/wallet-views.mjs), inside the wallet's Transactions
   box. The box stays one box: each chart sits in a quiet inset panel, like the summary
   figures above the transaction list, with no shadow and no card of its own. Marks take
   the chart colors of 80-charts.css; every other color is a design token. Numbers use
   tabular figures and reserved line boxes, so nothing moves as values arrive. */

/* The List / Charts switch shares the heading row with the box's title. It is the same
   kind of control as the All / Received / Sent choice under it: ordinary buttons side
   by side, the chosen one filled and ticked. */
.history-view .history-section-heading:has(.wallet-view-switch){justify-content:space-between}
.wallet-view-switch{display:flex;flex:none;min-width:0}
.history-view .wallet-view-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;margin:0;padding:8px 16px;
  border:1px solid var(--x-border);border-radius:0;background:var(--x-bg-inset);color:var(--x-text-body);font:500 14px/1.3 Inter,system-ui,sans-serif;
  white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.history-view .wallet-view-choice+.wallet-view-choice{margin-inline-start:-1px}
.history-view .wallet-view-choice:first-child{border-start-start-radius:var(--x-radius,6px);border-end-start-radius:var(--x-radius,6px)}
.history-view .wallet-view-choice:last-child{border-start-end-radius:var(--x-radius,6px);border-end-end-radius:var(--x-radius,6px)}
.history-view .wallet-view-choice:hover{background:var(--x-bg-hover);color:var(--x-text)}
.history-view .wallet-view-choice:active{transform:none}
.history-view .wallet-view-choice:focus-visible{z-index:2}
.history-view .wallet-view-choice[aria-pressed="true"]{z-index:1;border-color:var(--x-accent);background:var(--x-brand);color:var(--x-on-brand);font-weight:700;cursor:default}
.history-view .wallet-view-choice[aria-pressed="true"]::before{content:"";flex:none;width:5px;height:10px;margin-block-start:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}

/* Inside the inset panels the grid is mixed from the axis color, so it shows on that surface in both themes. */
.wallet-charts{display:grid;gap:16px;min-width:0;margin-top:14px;--x-chart-surface:var(--x-bg-inset);--x-chart-grid:color-mix(in srgb,var(--x-chart-axis) 50%,var(--x-bg-inset))}
.wallet-num{font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet-charts-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.wallet-charts-note{margin:0;color:var(--x-text-dim);font:400 14px/1.5 Inter,system-ui,sans-serif}
.wallet-charts-progress{display:flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;min-height:160px;margin:0;color:var(--x-text-body);
  font:400 15px/1.5 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:center}
.wallet-charts .history-state{margin:0}
.wallet-charts .history-metrics{margin:0}
.wallet-charts .wallet-figures dd .wallet-num{font:inherit}

/* A chart's panel inside the box. */
.wallet-charts .chart-frame{margin:0;padding:18px 20px 20px;border-color:var(--x-border-soft);border-radius:var(--x-radius,6px);background:var(--x-bg-inset);box-shadow:none}
.wallet-charts .chart-frame .chart-toggle{background:var(--x-bg-elevated)}
/* A balance holds until the next transfer, so its line has square steps. */
.wallet-step{stroke-linejoin:miter;stroke-linecap:butt}
.wallet-flow .chart-legend{margin-top:10px}

/* Received from / Sent to: the amount leads; the share is drawn as a thin bar with its
   figure and the number of transfers beside it. */
.wallet-parties-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.wallet-party-list{margin:10px 0 0;padding:0;list-style:none}
.wallet-party{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 16px;padding:12px 0;border-top:1px solid var(--x-border-soft)}
.wallet-party:first-child{padding-top:2px;border-top:0}
.wallet-party:last-child{padding-bottom:0}
.wallet-party-who{min-width:0}
.wallet-party-address{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}
.wallet-party-address a{color:var(--x-accent);font:500 14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.wallet-party-address a:hover{color:var(--x-text)}
.wallet-party-address a:focus-visible{outline:3px solid var(--x-focus);outline-offset:2px;border-radius:var(--x-radius-small,4px)}
.wallet-party-others{color:var(--x-text-body);font:500 14px/1.5 Inter,system-ui,sans-serif}
.wallet-party-amount{text-align:end}
.wallet-party-xrs{color:var(--x-text);font:600 15px/1.5 Inter,system-ui,sans-serif}
.wallet-party-share{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-width:0;color:var(--x-text-dim);font:400 13px/1.5 Inter,system-ui,sans-serif}
.wallet-party-track{flex:1 1 auto;min-width:40px;height:6px;border-radius:2px;background:var(--x-chart-grid);overflow:hidden}
.wallet-party-bar{display:block;height:100%;border-radius:2px;background:var(--chart-ink)}
.wallet-party-percent{flex:none;min-width:5ch;color:var(--x-text-body);font-weight:600;text-align:end}
.wallet-party-count{flex:none;min-width:11ch;text-align:end;white-space:nowrap}
.wallet-parties-empty{margin:10px 0 0;color:var(--x-text-dim);font:400 15px/1.5 Inter,system-ui,sans-serif}

/* Activity by day: one hue from light to dark by the number of transactions; an empty
   day is still a cell, so the calendar keeps its shape. */
.wallet-calendar-plot{overflow:visible}
.wallet-day,.wallet-day-key{--day-ink:var(--x-chart-grid)}
.wallet-day.is-level-1,.wallet-day-key.is-level-1{--day-ink:color-mix(in srgb,var(--x-chart-1) 30%,var(--x-chart-surface))}
.wallet-day.is-level-2,.wallet-day-key.is-level-2{--day-ink:color-mix(in srgb,var(--x-chart-1) 52%,var(--x-chart-surface))}
.wallet-day.is-level-3,.wallet-day-key.is-level-3{--day-ink:color-mix(in srgb,var(--x-chart-1) 76%,var(--x-chart-surface))}
.wallet-day.is-level-4,.wallet-day-key.is-level-4{--day-ink:var(--x-chart-1)}
.wallet-day{fill:var(--day-ink)}
.wallet-day.is-active{stroke:var(--x-text);stroke-width:2}
.wallet-calendar-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:14px 0 0;color:var(--x-text-dim);font:400 13px/1.5 Inter,system-ui,sans-serif}
.wallet-calendar-scale{display:inline-flex;gap:3px}
.wallet-day-key{display:block;width:12px;height:12px;border-radius:3px;background:var(--day-ink)}
.wallet-calendar-busiest{margin-inline-start:16px;color:var(--x-text-body)}

@media(max-width:899px){
  .wallet-parties-row{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  .wallet-charts{gap:12px}
  .wallet-charts .chart-frame{padding:14px 14px 16px}
  .wallet-charts-bar{align-items:flex-start;flex-direction:column}
  .wallet-charts-bar .activity-filter-group{width:100%}
  .wallet-charts-bar .activity-filters{flex:1}
  .wallet-charts-bar .activity-filter{flex:1 1 0;min-width:0;padding-inline:8px}
  /* On a phone the address has a line to itself, so it is never broken into pieces. */
  .wallet-party{grid-template-columns:minmax(0,1fr)}
  .wallet-party-amount{text-align:start}
  .wallet-party-count{min-width:0}
  .wallet-calendar-busiest{margin-inline-start:0;flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.history-view .wallet-view-choice{transition:none}}
@media print{.wallet-view-switch,.wallet-charts-bar .activity-filter-group{display:none}}
/* A tooltip here can hold an exact amount with its value, so it is given the room for one line,
   and its parts wrap as whole words when a narrow screen cannot give it. */
.wallet-charts .chart-tip{max-width:min(440px,92%)}
.wallet-charts .chart-tip-row{flex-wrap:wrap;column-gap:8px}
.wallet-charts .chart-tip-label{white-space:nowrap;overflow-wrap:normal}
.wallet-charts .chart-tip .fiat-secondary{margin-inline-start:0}
/* Figures in a table line up on their right edge, under their heading. */
#root .wallet-charts .chart-table .is-numeric,.wallet-charts .chart-table .is-numeric{text-align:end}
/* Received and sent wear the two colors "In" and "Out" already have in this wallet's list, so one meaning
   has one color on the whole page. Which is which is also said by position (above and below the line),
   by the legend and by each list's heading, never by color alone. */
.wallet-flow .chart-s1,.wallet-party-bar.chart-s1{--chart-ink:var(--x-positive)}
.wallet-flow .chart-s2,.wallet-party-bar.chart-s2{--chart-ink:var(--x-negative)}

/* Shape rule for the whole site: no pill shapes. Fields, chips, tags and badges have
   small corners; boxes that hold content (a figure, a panel, a record) are rounded
   boxes; only true circles (icons, dots, spinners) are round. This file loads last
   so it also corrects the original compiled interface. */
:root{--x-radius:6px;--x-radius-small:4px;--x-radius-card:10px}
.name-tag{border-radius:var(--x-radius-small)}
#root .rounded-full.py-2.px-4,#root .rounded-full.px-3.py-1,#root .rounded-full.py-1\.5{border-radius:var(--x-radius)}
#root .h-1\.5.rounded-full,#root .h-full.rounded-full{border-radius:2px}
/* A status is said in words and color. No dot, and no box around a one-word label. */
.history-outcome,.history-status{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:none;font:600 13px/1.4 Inter,system-ui,sans-serif;white-space:nowrap}
.history-outcome::before,.history-status::before{content:none}
.history-outcome.is-positive,.history-status.is-confirmed{color:var(--x-positive)}
.history-outcome.is-negative{color:var(--x-negative);border:0;background:none}
.history-outcome.is-pending,.history-status.is-delayed{color:var(--x-warning)}
.history-outcome.is-neutral{color:var(--x-text-dim)}
/* No decorative dots: the network line is plain text. */
#network-status::before{content:none}
/* A name beside an address is plain quiet text, not a boxed label. */
.name-tag{padding:0;border:0;background:none;font-weight:500;max-width:none}
.name-tag.is-validator{color:var(--x-text-dim)}
/* A direction word or a lone figure is plain text in its color, not a boxed chip. */
.activity-direction,.activity-direction.is-in,.activity-direction.is-out,.activity-direction.is-other{display:inline;min-width:0;padding:0;border:0;border-radius:0;background:none;font-size:14px;line-height:1.5;letter-spacing:normal}
#root span.w-fit.rounded.text-xs.font-bold{padding:0;border-radius:0;background:none;font-size:14px;line-height:1.5}
