.ui-icon { display: inline-block; flex: 0 0 auto; fill: currentColor; vertical-align: middle; }
.startup-notice { margin-block: 14px; padding: 12px 15px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.site-header { border-color: #293e44; }
.header-inner { min-height: 62px; }
.site-nav { gap: clamp(14px, 2.4vw, 35px); }
.site-nav a { gap: 7px; }
.site-nav .ui-icon { color: #85b4b8; }
.site-nav [aria-current] .ui-icon { color: var(--aqua-light); }
.header-actions .ui-icon { color: var(--aqua); }

.terminal-home { padding-block: 22px 56px; }
.terminal-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 19px; }
.terminal-page-head h1 {
  font-size: clamp(35px, 4vw, 51px);
  line-height: 1.06;
  letter-spacing: var(--heading-tracking);
  font-weight: var(--heading-weight);
}
.terminal-page-head p { margin-top: 6px; max-width: 37rem; }
.terminal-lab-link { flex: 0 0 auto; min-height: 44px; }
.terminal-lab-link .ui-icon { width: 17px; height: 17px; color: var(--aqua); }

.terminal-home .desk-board { background: #101c22; border-color: #3a545d; scroll-margin-top: 12px; }
.terminal-home .desk-board:focus { outline: 1px solid var(--aqua); outline-offset: 3px; }
.terminal-home .desk-board-head {
  min-height: 65px;
  padding-inline: 16px;
  background: #14232b;
  border-radius: 8px 8px 0 0;
}
.terminal-home .desk-record-id { gap: 10px; }
.terminal-home .desk-record-id .token-icon { width: 37px; height: 37px; }
.terminal-home .desk-record-id strong { font-size: 17px; }
.terminal-home .desk-record-id small { margin-top: 2px; }
.hero-switch button { display: flex; align-items: center; justify-content: center; gap: 5px; }
.hero-switch .ui-icon { width: 16px; height: 16px; }
.hero-switch [aria-pressed=true] { border-color: #497278; background: #24434b; }
.terminal-home .desk-board-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .39fr); }

.terminal-ledger { min-width: 0; }
.terminal-position {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .72fr);
  border-bottom: 1px solid var(--line);
}
.terminal-position > div { min-width: 0; padding: 11px 16px 13px; }
.terminal-position > div + div { border-left: 1px solid var(--line-soft); }
.terminal-position dt { color: var(--muted); font-size: 12px; line-height: 1.3; }
.terminal-position dd {
  margin-top: 5px;
  font: var(--value-weight) clamp(18px, 2.3vw, 30px)/1.18 var(--body);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: var(--value-tracking);
  overflow-wrap: anywhere;
}
.terminal-position small { color: var(--aqua-light); font: 11px var(--mono); letter-spacing: 0; }
.terminal-home .desk-board .lifecycle { padding: 18px 17px; }
.terminal-home .lifecycle-events { margin-top: 13px; padding-top: 10px; }
.lifecycle-events span { display: flex; align-items: center; gap: 6px; font-family: var(--body); }
.lifecycle-events .ui-icon { width: 15px; height: 15px; color: var(--aqua); }
.lifecycle-sale .lifecycle-events > div:nth-child(-n+2) .ui-icon { color: var(--amber); }

.terminal-home .desk-outcome { background: #14252d; padding: 17px 18px; }
.terminal-home .desk-value strong {
  font: var(--value-weight) clamp(37px, 4vw, 52px)/1 var(--body);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: var(--value-tracking);
}
.terminal-home .desk-value span { font-size: 11px; }
.terminal-home .desk-status .ui-icon { width: 15px; height: 15px; }
.terminal-home .desk-record-link { min-height: 39px; margin-top: 13px; padding-inline: 12px; }
.terminal-home .desk-record-link .ui-icon { width: 17px; height: 17px; }

.terminal-registry { margin-top: 23px; }
.terminal-registry .section-head { margin-bottom: 11px; align-items: center; }
.terminal-registry .section-head h2 { font-size: clamp(23px, 2.4vw, 28px); font-weight: var(--heading-weight); }
.terminal-registry .section-head p { font-size: 13px; margin-top: 3px; }
.terminal-registry .bond-row { min-height: 56px; }
.terminal-registry .table-head { min-height: 34px; }
.terminal-registry .row-value { font-weight: 600; }
.terminal-registry .row-open .ui-icon, .terminal-registry .text-link .ui-icon { width: 15px; height: 15px; }

.token-icon { overflow: hidden; border-color: #54717a66; }
.token-icon > svg { display: block; width: 100%; height: 100%; }
.token-icon.token-icon--mark { border: 0; background: transparent; }
@media (max-width: 700px) {
  .site-nav { gap: 5px; }
  .site-nav a { gap: 4px; min-height: 44px; font-size: 13px; }
  .site-nav .ui-icon { width: 14px; height: 14px; }
  .header-inner { grid-template-rows: 53px auto; }
  .terminal-home { padding-block: 15px 40px; }
  .terminal-page-head { margin-bottom: 12px; align-items: flex-start; }
  .terminal-page-head h1 { font-size: 34px; }
  .terminal-page-head p { font-size: 13px; line-height: 1.38; margin-top: 5px; }
  .terminal-page-head .terminal-lab-link { display: none; }
  .terminal-home .desk-board-head { padding: 9px 10px; min-height: 0; gap: 7px; }
  .terminal-home .desk-record-id .token-icon { width: 29px; height: 29px; }
  .terminal-home .desk-record-id strong { font-size: 14px; }
  .hero-switch .ui-icon { width: 14px; height: 14px; }
  .hero-switch button { font-size: 12px; gap: 4px; }
  .terminal-home .desk-outcome { padding: 10px 11px 11px; }
  .terminal-home .desk-value { margin-block: 4px 5px; }
  .terminal-home .desk-value strong { font-size: 31px; }
  .terminal-home .desk-outcome h2 { font-size: 16px; }
  .terminal-home .desk-record-link { margin-top: 8px; }
  .terminal-position > div { padding: 8px 5px 8px 9px; }
  .terminal-position dt { font-size: 11px; }
  .terminal-position dd { font-size: clamp(15px, 4.6vw, 20px); }
  .terminal-home .desk-board .lifecycle { padding: 11px 10px; }
  .terminal-home .lifecycle-events { margin-top: 10px; padding-top: 8px; }
  .lifecycle-events span { gap: 3px; font-size: 11px; }
  .lifecycle-events .ui-icon { width: 12px; height: 12px; }
}
@media (max-width: 345px) {
  .site-nav a { font-size: 12px; }
}

.bond-row .token-icon--mark { width: 40px; height: 40px; border-radius: 50%; }
.bond-row .token-identity small { margin-top: 2px; }
.bond-row .row-open { display: grid; place-items: center; }
.bond-row .row-open .ui-icon { width: 14px; height: 14px; transform: rotate(180deg); }
.directory-workspace .bond-row { min-height: 64px; }
.directory-page .registry-toolbar { padding-block: 5px; }
@media (hover: hover) {
  .bond-row:hover { background: #192d34; }
  .bond-row:hover .token-identity strong { color: var(--aqua-light); }
}
@media (max-width: 700px) {
  .bond-row .token-icon--mark { width: 31px; height: 31px; }
  .bond-row .row-timing { padding-left: 38px; }
  .bond-row .row-open .ui-icon { width: 11px; height: 11px; }
}

/* Each bar spans one hour of the signed commitment. */
.window-plot { margin-top: 11px; }
.window-scale {
  --hour: calc(100% / 72);
  --step-gap: 2px;
  position: relative;
  padding-top: 24px;
  height: 54px;
  border-bottom: 1px solid #456169;
}
.window-scale::before, .window-period {
  position: absolute;
  top: 24px;
  bottom: 3px;
  left: 0;
  right: 0;
  background: #2a3d45;
  mask-image: repeating-linear-gradient(90deg, #000 0 calc(var(--hour) - var(--step-gap)), transparent 0 var(--hour));
}
.window-scale::before { content: ''; }
.window-period { background: #82c8bc; clip-path: inset(0 calc(100% - var(--marker)) 0 0); }
.window-period.window-review { background: var(--amber); clip-path: inset(0 19.4444% 0 47.2222%); }
.window-pin {
  position: absolute;
  inset: 0 auto 0 var(--marker);
  transform: translateX(-100%);
  border-right: 1px solid var(--aqua-light);
  padding-right: 4px;
  color: var(--aqua-light);
  font: 11px/1.5 var(--mono);
}
.lifecycle-sale .window-pin:not(.window-claims) { color: var(--amber); border-color: var(--amber); }
.window-claims { left: 80.5556%; }
.terminal-home .desk-record-link { min-height: 44px; }
.terminal-home .desk-value span { font-size: 13px; }
@media (max-width: 700px) {
  .window-scale { height: 43px; --step-gap: 1px; }
  .window-plot { margin-top: 5px; }
  .terminal-home .hero-switch button { min-height: 44px; }
}
