@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #0b1418;
  --deep: #080e11;
  --surface: #111e24;
  --raised: #17272d;
  --line: #294047;
  --line-soft: #223339;
  --text: #edf4f2;
  --muted: #a0b3b8;
  --subtle: #829ba1;
  --aqua: #85ced1;
  --aqua-light: #adede7;
  --amber: #e5b879;
  --coral: #f48f86;
  --radius: 12px;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --heading-weight: 650;
  --heading-tracking: -.035em;
  --value-weight: 610;
  --value-tracking: -.026em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.55 var(--body); }
body, button, input { font-family: var(--body); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; }
p { color: var(--muted); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
button { -webkit-user-select: none; user-select: none; }
button:active, .button:active { transform: translateY(1px); }
button, input, .button, a { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--aqua-light); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container {
  width: min(100% - 96px, 1248px);
  margin-inline: auto;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 8;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  background: var(--aqua);
  color: var(--ink);
}
.site-header {
  position: relative;
  z-index: 2;
  background: #0a1317;
  border-bottom: 1px solid #354d51;
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  min-height: 73px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.09em;
}
.wordmark img { margin-right: 7px; }
.wordmark span { color: var(--aqua); }
.site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { grid-column: 2; grid-row: 1; justify-content: center; gap: 32px; white-space: nowrap; }
.site-nav a, .site-footer nav a { color: var(--muted); font-size: 14px; font-weight: 550; }
.site-nav [aria-current] { color: var(--aqua-light); }
.site-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav [aria-current]::after {
  content: '';
  position: absolute;
  inset: auto 0 1px;
  height: 1px;
  background: var(--aqua);
}
.header-actions { grid-column: 3; grid-row: 1; justify-content: flex-end; gap: 14px; white-space: nowrap; }
.header-inner { reading-flow: grid-rows; }
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.demo-label {
  background: #24343a;
  color: #cedbdf;
  border-radius: 4px;
  font: 11px/1.2 var(--mono);
  padding: 4px 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.18;
  text-align: center;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.button-primary { background: var(--aqua); color: #09191c; }
.button-secondary, .button-header { border-color: #3b535a; background: #142328; }
.button-header { min-height: 42px; padding-inline: 14px; }
.button-header[aria-current] { border-color: var(--aqua); color: var(--aqua-light); }
.button-ghost { border-color: #476067; background: #0c181bd9; }
.button-danger { color: #ffb5aa; border-color: #7d4748; background: #382324; }
.text-link, .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 9px;
  min-height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--aqua-light);
  font-size: 14px;
  font-weight: 550;
}
.text-link span { font-size: 12px; }
.back-link { color: var(--muted); margin-bottom: 23px; }
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { background: var(--aqua-light); }
  .button-header:hover, .button-secondary:hover, .button-ghost:hover { background: #20353c; border-color: #789ca1; }
  .button-danger:hover { background: #4e282a; }
  .text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
  .site-nav a:hover, .site-footer nav a:hover { color: var(--text); }
  .bond-row:hover { background: #182a30; }
}

.desk-context {
  display: flex;
  gap: 9px;
  align-items: center;
  font: 11px/1.3 var(--mono);
  color: var(--aqua-light);
}
.desk-board {
  background: #101e24;
  border: 1px solid #3c595f;
  border-radius: 9px;
}
.desk-board-head {
  min-height: 67px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 11px 22px;
  border-bottom: 1px solid var(--line);
}
.desk-record-id { display: flex; align-items: center; gap: 15px; }
.desk-record-id .token-icon { width: 37px; height: 37px; }
.hero-switch { display: flex; border: 1px solid #3b555c; border-radius: 6px; padding: 2px; }
.hero-switch button {
  min-height: 39px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.hero-switch button:hover { color: var(--text); }
.hero-switch [aria-pressed=true] { color: var(--aqua-light); background: #274349; border-color: #47696d; }
.desk-board-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .43fr); }
.lifecycle {
  --marker: 45.833%;
  --track-color: var(--aqua);
  margin: 0;
  display: grid;
  align-content: center;
  min-width: 0;
}
.lifecycle-sale { --track-color: var(--amber); }
.lifecycle-matured { --marker: 100%; }
.desk-board .lifecycle { padding: clamp(18px, 2.5vw, 37px); }
.lifecycle-label, .lifecycle-events span { color: var(--muted); font: 12px/1.5 var(--mono); }
.lifecycle-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lifecycle-label strong { color: var(--track-color); font-weight: 400; }
.lifecycle-plot { margin-top: 14px; }
.lifecycle-slab {
  height: 82px;
  position: relative;
  background: repeating-linear-gradient(135deg, #1d3139 0 1px, transparent 1px 6px), #13242b;
  border: 1px solid #3b565f;
}
.lifecycle-fill {
  width: var(--marker);
  height: 100%;
  background: linear-gradient(0deg, #27494f, #477477);
  border-top: 1px solid #87b9b6;
}
.lifecycle-sale .lifecycle-fill { background: linear-gradient(0deg, #3e3527, #755c39); border-top-color: var(--amber); }
.lifecycle-marker {
  position: absolute;
  z-index: 1;
  top: -5px;
  bottom: -7px;
  left: var(--marker);
  border-left: 1px solid var(--track-color);
  color: var(--track-color);
}
.lifecycle-marker i {
  position: absolute;
  top: -2px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
}
.lifecycle-ticks { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; color: var(--subtle); font: 11px/1.3 var(--mono); }
.lifecycle-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 24px;
  gap: 12px;
}
.lifecycle-events span, .lifecycle-events strong { display: block; }
.lifecycle-events strong { font-weight: 560; font-size: 14px; margin-top: 4px; line-height: 1.3; }
.desk-outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 21px 23px 24px;
  border-left: 1px solid var(--line);
  background: #12242a;
  border-radius: 0 0 8px 0;
}
.desk-status { display: inline-flex; gap: 7px; align-items: center; color: var(--aqua-light); font: 11px/1.5 var(--mono); }
.desk-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.desk-status-sale { color: var(--amber); }
.desk-value { display: flex; align-items: baseline; gap: 9px; margin: 5px 0 8px; }
.desk-value strong { font-size: clamp(42px, 4.65vw, 67px); font-weight: 540; letter-spacing: -.075em; line-height: 1; }
.desk-value span { color: var(--aqua-light); font: 12px/1.35 var(--mono); }
.desk-outcome h2 { font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
.desk-outcome p { margin-top: 6px; font-size: 14px; max-width: 34ch; }
.desk-record-link { min-height: 42px; margin-top: 16px; }
.bond-overview .lifecycle { padding-top: 10px; }
.bond-overview .lifecycle-slab { height: 48px; }
.bond-overview .lifecycle-events { margin-top: 14px; }
.scenario-record.payout-record .bond-overview .lifecycle-slab { height: 32px; }
.scenario-record.payout-record .bond-overview .lifecycle-events { display: none; }
.holder-choices { margin-block: 15px 3px; }
.holder-choices [aria-pressed=true] { border-color: var(--aqua); color: var(--aqua-light); }
.holder-custom { margin-top: 17px; color: var(--aqua-light); }
.holder-custom summary { min-height: 44px; cursor: pointer; display: list-item; padding-block: 10px; }
.holder-custom .claim-form { margin-top: 7px; padding-block: 6px 12px; }
.scenario-links { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 10px; }
.scenario-links [aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.overview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-block: 17px;
}
.overview-metrics div + div { border-left: 1px solid #39545b; padding-left: 19px; }
.overview-metrics span { display: block; color: var(--muted); font-size: 13px; }
.overview-metrics strong {
  display: block;
  font-size: clamp(24px, 2.8vw, 35px);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.05em;
  line-height: 1.16;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.overview-metrics small { color: var(--aqua); font: 12px var(--mono); letter-spacing: 0; }
.timeline { margin-block: 15px 4px; }
progress.track {
  display: block;
  appearance: none;
  width: 100%;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: #324c51;
  color: var(--aqua);
}
.track::-webkit-progress-bar { background: #324c51; border-radius: 4px; }
.track::-webkit-progress-value { background: currentColor; border-radius: 4px; }
.track::-moz-progress-bar { background: currentColor; border-radius: 4px; }
.timeline-ended .track { color: var(--amber); }
.track-labels {
  color: var(--subtle);
  display: flex;
  justify-content: space-between;
  font: 11px/1.4 var(--mono);
  margin-top: 8px;
}
.home-section { padding-block: 49px 64px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}
.section-head h2, .panel h2 { font-size: clamp(24px, 3vw, 39px); line-height: 1.1; letter-spacing: -.045em; }
.section-head p, .page-head p { margin-top: 9px; }
.bond-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.table-head, .bond-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .64fr) minmax(0, .8fr) minmax(102px, .53fr) 16px;
  gap: 13px;
  padding-inline: 18px;
  align-items: center;
}
.table-head { background: #142128; color: var(--subtle); min-height: 39px; font-size: 12px; }
.bond-row { min-height: 71px; background: #0f1c22; border-top: 1px solid var(--line-soft); transition: background-color 150ms; }
.bond-row:focus-visible { outline-offset: -3px; }
.token-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.token-identity > span:last-child { display: grid; min-width: 0; }
.token-identity strong { font-size: 15px; line-height: 1.22; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.token-identity small { color: var(--subtle); font: 11px/1.4 var(--mono); margin-top: 5px; }
.token-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: #233c42;
  color: #b9e7e4;
  border: 1px solid currentColor;
  border-radius: 9px;
  font-size: 15px;
}
.token-gold { color: #e5cfa3; background: #3a3426; }
.token-violet { color: #d4c2f3; background: #322b47; }
.token-silver { color: #d0dee2; background: #28383c; }
.row-value { font-variant-numeric: tabular-nums; }
.row-value small { color: var(--muted); font: 11px var(--mono); }
.row-timing { font-size: 14px; color: var(--muted); }
.row-status { min-width: 0; }
.row-open { text-align: center; color: var(--aqua); font-size: 23px; }
.status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  padding: 4px 8px;
  color: var(--aqua-light);
  border: 1px solid #31595b;
  background: #1c3338;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.status-claimable { color: var(--amber); background: #332a1d; border-color: #655033; }
.status-pending, .status-review { color: #e9c99f; background: #2c251d; border-color: #604c39; }
.status-matured { color: #b7dedb; background: #283b41; }
.status-released { color: #c1d0d5; background: #273238; border-color: #425155; }
.how-section { display: grid; grid-template-columns: .65fr 1fr; gap: 45px; padding-block: 47px 72px; border-top: 1px solid var(--line); }
.how-section .section-head { align-items: flex-start; flex-direction: column; justify-content: start; }
.how-section .section-head p { max-width: 33ch; }
.mechanism { display: grid; border-bottom: 1px solid var(--line); }
.mechanism > div { display: grid; grid-template-columns: 2.25rem minmax(120px, .72fr) 1fr; align-items: baseline; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); }
.mechanism h3 { font-size: 21px; letter-spacing: -.04em; }
.mechanism p { font-size: 14px; max-width: 52ch; }
.step-number { color: var(--aqua); font: 13px var(--mono); }
.site-footer {
  min-height: 102px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex;
  gap: 23px;
  align-items: center;
}
.site-footer p { font-size: 13px; flex: 1; }
.site-footer nav { display: flex; gap: 18px; }

.inner-page { padding-block: 65px 105px; min-height: calc(100svh - 175px); }
.page-head { margin-bottom: 26px; }
.page-head h1, .inner-page > h1 { font-size: clamp(44px, 6.5vw, 78px); letter-spacing: -.05em; line-height: 1; }
.page-head p { font-size: 17px; }
.inline-note { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(146px, auto);
  gap: 12px;
  padding: 14px;
  background: #102026;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.directory-filter select {
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #3c565e;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.directory-lookup { margin-top: 14px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
  padding-inline: 12px;
  border-radius: 6px;
  border: 1px solid #3c565e;
  background: var(--surface);
}
.search-box:focus-within { border-color: var(--aqua); }
.search-box input { width: 100%; border: 0; background: transparent; color: var(--text); padding: 6px 0; }
.search-box input:focus-visible { outline: 0; }
.search-icon { width: 12px; height: 12px; border: 1px solid var(--aqua); border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-icon::after { content: ''; position: absolute; width: 5px; height: 1px; right: -4px; bottom: -2px; transform: rotate(45deg); background: var(--aqua); }
.result-count { font: 12px var(--mono); margin-block: 16px 9px; color: var(--subtle); }
.empty-state { padding: 36px 21px; text-align: center; }
.empty-state p { margin-block: 4px 14px; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel h2 { font-size: 26px; }
.panel-heading, .detail-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.stack { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--text); font-weight: 550; font-size: 14px; }
.field > input, .claim-form > input {
  color: var(--text);
  background: #0c161a;
  border: 1px solid #3c565e;
  border-radius: 6px;
  min-width: 0;
  width: 100%;
  min-height: 45px;
  padding: 8px 11px;
}
input::placeholder { color: var(--subtle); }
.confirm-box { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; }
.confirm-box input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--aqua); }
.form-feedback { color: var(--coral); font-size: 14px; }
.form-feedback:empty { display: none; }
.detail-list { margin-block: 17px; }
.detail-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list dt { color: var(--muted); font-size: 14px; }
.detail-list dd { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy-button { margin-left: 8px; }
.detail-title { display: flex; align-items: center; gap: 15px; min-width: 0; }
.detail-title .token-icon { width: clamp(44px, 6vw, 68px); height: clamp(44px, 6vw, 68px); font-size: 27px; border-radius: 13px; }
.detail-title h1, .lookup-result h2 { overflow-wrap: anywhere; }
.detail-title p { color: var(--aqua); font-family: var(--mono); font-size: 13px; }
.detail-title p span { color: var(--subtle); }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.detail-badges .status { font-size: 14px; }
.overview-metrics { margin-top: 4px; margin-bottom: 22px; }
.overview-metrics strong { font-size: clamp(26px, 4.2vw, 54px); overflow-wrap: anywhere; }
.bond-overview .timeline { margin-bottom: 21px; }
.holder-panel > p { margin-top: 13px; }
.holder-panel .text-link { margin-top: 9px; }
.claim-form { margin-top: 17px; gap: 8px; }
.eligibility:not(:empty) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.eligibility > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.eligibility strong { color: var(--aqua-light); }
.event-list { list-style: none; padding: 0; margin-top: 15px; }
.event-list li { display: flex; gap: 10px; justify-content: space-between; padding-block: 9px; border-top: 1px solid var(--line-soft); }
.event-list time { color: var(--muted); font: 12px/1.65 var(--mono); text-align: right; }
.below-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.narrow-page { max-width: 830px; }
.rules details { border-top: 1px solid var(--line); }
.rules details:last-child { border-bottom: 1px solid var(--line); }
.rules summary { cursor: pointer; padding: 17px 0; font-weight: 550; }
.rules details > p { margin-bottom: 19px; padding-right: 20px; }
dialog {
  border: 1px solid #5e7a81;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  max-width: min(100% - 38px, 460px);
  padding: 24px;
}
dialog::backdrop { background: #010609c9; backdrop-filter: blur(4px); }
dialog h2 { font-size: 24px; }
dialog p { margin-block: 9px 21px; }
.dialog-buttons { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; }
.toast {
  position: fixed;
  z-index: 5;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100vw - 36px);
  border: 1px solid #658f98;
  border-radius: 7px;
  padding: 12px 17px;
  background: #182b33;
  box-shadow: 0 9px 28px #0008;
}
.toast:empty { padding: 0; border: 0; box-shadow: none; }

@media (max-width: 970px) {
  .container { width: min(100% - 56px, 1248px); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav { gap: 20px; }

}
@media (max-width: 700px) {
  .container { width: min(100% - 36px, 550px); }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: 58px auto; column-gap: 12px; }
  .wordmark { font-size: 28px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-soft); }
  .site-nav a { font-size: 13px; min-height: 44px; }
  .header-actions { grid-column: 2; grid-row: 1; gap: 7px; }
  .button-header { font-size: 12px; min-height: 44px; padding-inline: 9px; }
  .desk-board-head { align-items: flex-start; flex-direction: column; padding: 11px 12px; gap: 8px; }
  .desk-record-id .token-icon { width: 29px; height: 29px; }
  .hero-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-switch button { padding-inline: 5px; }
  .desk-board-grid { display: flex; flex-direction: column; }
  .desk-board .lifecycle { padding: 11px 12px 12px; }
  .lifecycle-label, .lifecycle-events span { font-size: 10px; }
  .lifecycle-plot { margin-top: 8px; }
  .lifecycle-slab { height: 37px; }
  .lifecycle-ticks { margin-top: 7px; }
  .lifecycle-events { margin-top: 11px; padding-top: 8px; gap: 6px; }
  .lifecycle-events strong { font-size: 11px; }
  .desk-outcome { order: -1; padding: 11px 12px 13px; border-left: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .desk-value { margin-block: 4px 5px; }
  .desk-value strong { font-size: 39px; }
  .desk-outcome p { margin-top: 3px; font-size: 13px; }
  .desk-record-link { margin-top: 8px; }
  .home-section { padding-block: 36px 46px; }
  .section-head { align-items: start; gap: 11px; }
  .section-head > .button { min-height: 40px; font-size: 12px; padding-inline: 9px; flex: 0 0 auto; }
  .section-head p { font-size: 14px; }
  .table-head, .bond-row { grid-template-columns: minmax(0, 1.24fr) minmax(48px, .6fr) minmax(68px, .61fr) 10px; gap: 5px; padding-inline: 10px; }
  .table-head > :nth-child(3) { display: none; }
  .bond-row { grid-template-areas: 'token value status arrow' 'timing timing timing arrow'; row-gap: 3px; padding-block: 9px; }
  .bond-row .token-identity { grid-area: token; }
  .row-value { grid-area: value; }
  .row-status { grid-area: status; }
  .row-timing { grid-area: timing; padding-left: 33px; font-size: 12px; }
  .row-open { grid-area: arrow; }
  .bond-row { min-height: 61px; }
  .token-identity { gap: 7px; }
  .token-identity strong { font-size: 13px; }
  .token-icon { width: 26px; height: 26px; border-radius: 6px; font-size: 12px; }
  .row-value { font-size: 13px; }
  .row-value small { font-size: 9px; }
  .status { font-size: 10px; padding-inline: 5px; gap: 4px; }
  .status i { width: 4px; height: 4px; }
  .how-section { grid-template-columns: 1fr; padding-block: 32px 40px; gap: 10px; }
  .how-section .section-head { margin-bottom: 7px; }
  .mechanism > div { grid-template-columns: 28px 1fr; gap: 5px 8px; padding: 14px 0; }
  .mechanism p { grid-column: 2; }
  .site-footer { flex-wrap: wrap; gap: 10px 15px; }
  .site-footer p { flex-basis: calc(100% - 104px); }
  .inner-page { padding-block: 44px 62px; }
  .directory-page, .lab-page { padding-top: 27px; }
  .scenario-record { padding-top: 21px; }
  .scenario-record .back-link { min-height: 32px; margin-bottom: 4px; }
  .scenario-record .detail-head { margin-bottom: 12px; }
  .scenario-record.payout-record .bond-overview { padding-block: 13px 15px; }
  .scenario-record.payout-record .bond-overview .overview-metrics { margin-block: 5px 7px; }
  .scenario-record .overview-metrics strong { font-size: clamp(20px, 6vw, 26px); white-space: nowrap; }
  .scenario-record.payout-record .bond-overview .lifecycle { display: none; }
  .scenario-record.payout-record .eligibility:not(:empty) { margin-top: 12px; padding-top: 9px; }
  .holder-examples.holder-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .holder-choices .button { padding-inline: 5px; font-size: 13px; }
  .directory-page .page-head { margin-bottom: 16px; }
  .directory-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 9px; }
  .page-head { flex-wrap: wrap; }
  .page-head p { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; gap: 13px; }
  .search-box { width: 100%; min-width: 0; }
  .search-box input, .field input, .claim-form input { font-size: 16px; }
  .detail-list dd { font-size: 14px; }
  .detail-title { gap: 9px; }
  .detail-badges .status { font-size: 12px; }
  .event-list { font-size: 14px; }
}
@media (max-width: 365px) {
  .container { width: calc(100% - 28px); }
  .header-inner { gap: 7px; }
  .site-nav { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

.directory-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.desk-metrics {
  display: grid;
  grid-template-columns: 1.42fr 1fr 1fr;
  margin-block: 24px 48px;
  border-block: 1px solid var(--line);
}
.desk-metrics > div { min-width: 0; padding: 18px 26px; }
.desk-metrics > div:first-child { padding-left: 0; }
.desk-metrics > div + div { border-left: 1px solid var(--line); }
.desk-metrics dt { font-size: 14px; color: var(--muted); }
.desk-metrics dd { font-size: clamp(27px, 4.6vw, 52px); letter-spacing: -.06em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.desk-metrics small { font: 12px var(--mono); color: var(--aqua); }

.tab-shell { padding: 0; }
.bond-tabs { display: flex; flex-wrap: wrap; gap: 0 21px; padding-inline: 23px; border-bottom: 1px solid var(--line); }
.bond-tabs a {
  display: inline-flex;
  align-items: center;
  padding-block: 10px;
  min-height: 52px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
}
.bond-tabs [aria-selected=true] { border-color: var(--aqua); color: var(--aqua-light); }
.bond-tabs a:focus-visible, [role=tabpanel]:focus-visible { outline-offset: -3px; }
[role=tabpanel] { padding: 23px; }
.settlement-note { padding-top: 14px; border-top: 1px solid var(--line); }
.holder-panel > .button { margin-top: 16px; }
.holder-examples, .lookup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.holder-examples .text-link { margin: 0; }
#panel-payout > p, .lookup-result > p { margin-top: 9px; }
.eligibility > div { flex-wrap: wrap; }
.eligibility strong, .lookup-result code { overflow-wrap: anywhere; }
#lookup-result:empty { display: none; }
#lookup-result { grid-column: 1; min-width: 0; }
.lookup-result .detail-list dd, #review-terms dd { min-width: 0; }
.lookup-result code, #review-terms code { font: 12px/1.5 var(--mono); }
.network-label { flex-shrink: 0; color: var(--aqua); font: 11px/1.4 var(--mono); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; color: var(--aqua-light); }
#review-terms { margin: 0; }
button:disabled { cursor: wait; opacity: .64; }

@media (max-width: 700px) {
  .lookup-grid aside { order: 3; }
  .bond-tabs { gap: 0 13px; padding-inline: 14px; }
  .bond-tabs a { font-size: 12px; min-height: 48px; }
  [role=tabpanel] { padding: 17px; }
  .desk-metrics { grid-template-columns: 1fr 1fr; margin-block: 20px 34px; }
  .desk-metrics > div { padding: 13px 15px; }
  .desk-metrics > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .desk-metrics > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .table-head, .bond-row { grid-template-columns: minmax(0, 1fr) minmax(50px, .51fr) max-content 10px; }
  .detail-badges { align-items: flex-start; }
  .hero-switch button { min-height: 44px; }
}

.lab-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .76fr); align-items: start; gap: 25px; }
.lab-sidebar { display: grid; gap: 15px; min-width: 0; }
.lab-record { min-width: 0; }
.lab-record .overview-metrics { margin-top: 26px; }
.lab-record .panel-heading { flex-wrap: wrap; }
.lab-instrument { background: linear-gradient(142deg, #16292d, var(--surface) 68%); border-top-color: #658787; }
.lab-next { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.lab-record h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.lab-record h3 + p { margin-top: 10px; }
.payout-total { margin-top: 11px; font-size: 14px; color: var(--muted); }
.proof-tools { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 15px; }
.proof-report:not(:empty) { margin-top: 15px; padding: 14px; background: #0d1b1f; border: 1px solid var(--line); border-radius: 7px; }
.proof-checks { list-style: none; margin: 0 0 8px; padding: 0; font-size: 14px; }
.proof-checks li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 5px; }
.proof-pass { color: var(--aqua-light); }
.proof-fail { color: var(--coral); }
.proof-report p, .proof-report code { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
#lab-confirm p { margin: 0; }
#lab-dialog-terms { margin: 0; }
.lab-index h2 { margin-bottom: 12px; }
.lab-index-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-height: 43px; padding-block: 8px; border-top: 1px solid var(--line); }
.lab-index-row small { color: var(--muted); }
.lab-index-row[aria-current] span { color: var(--aqua-light); }
.archive-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; border-top: 1px solid var(--line); padding-top: 4px; }
.lab-network { display: flex; flex-wrap: wrap; gap: 8px 13px; font: 11px/1.4 var(--mono); color: var(--subtle); }
.lab-network code { color: var(--aqua); }
.lab-network .text-link { font: inherit; }
.lab-actions { margin-top: 17px; }
.lab-empty { min-height: 172px; }
.lab-empty p { margin-top: 8px; max-width: 48ch; }
.lab-holders { margin: 13px 0 0; padding: 0; list-style: none; }
.lab-holders li { display: grid; grid-template-columns: minmax(75px, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.lab-holders code { display: block; font: 11px/1.5 var(--mono); color: var(--muted); }
.lab-holders small, .lab-history code, .lab-history small { color: var(--muted); font: 11px/1.5 var(--mono); }
.lab-history li { flex-wrap: wrap; }
.lab-feedback:has(#lab-notice:not(:empty)) { padding: 10px 14px; margin-bottom: 13px; border-left: 2px solid var(--aqua); background: var(--surface); }
@media (max-width: 700px) {
  .lab-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lab-holders li { font-size: 13px; }
  .lab-holders .button { padding-inline: 11px; }
}

.directory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding-inline: clamp(12px, 2vw, 21px);
}
.directory-summary .result-count { margin: 0; color: var(--muted); font-size: 13px; }
.directory-summary button { min-height: 36px; font-size: 13px; }
@media (min-width: 380px) and (max-width: 700px) {
  .directory-workspace .directory-controls { grid-template-columns: minmax(0, 1fr) 142px; }
}
