/* Painting, type and market instruments share a small set of dark tones. */
:root {
  --display: "Newsreader", Georgia, serif;
  --bg: #090c0c;
  --ink: #eeefe8;
  --surface: #141b1b;
  --muted: #a3afaa;
  --line: #2a3432;
  --jade: #b6edcb;
  --ember: #e9ba82;
}
.house {
  background-color: var(--bg);
}
.house .brand,
.pro-app .pro-brand .brand,
.pro-app .top-logo {
  font-family: "Instrument Serif", Georgia, serif;
}
.house-header {
  background: #090d0e;
  border: 0;
}
.house-nav {
  height: 68px;
}
.house-nav nav {
  gap: 32px;
}
.house-nav nav a {
  position: relative;
  padding: 9px 0;
  color: #c3ccc7;
}
.house-nav nav a:hover,
.house-nav nav a[aria-current] {
  text-decoration: none;
  color: #f2faf4;
}
.house-nav nav a::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
.house-nav nav a:hover::after,
.house-nav nav a[aria-current]::after,
.house-nav nav a:focus-visible::after {
  transform: scaleX(1);
}
.house-action,
.horizon-intro .house-action {
  color: #10211a;
  background: #c7efce;
  border: 0;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.house-action:hover,
.horizon-intro .house-action:hover {
  background: #dcf4df;
}
.house-action:hover .arrow {
  transform: translateY(2px);
}
.horizon-sequence {
  --scene-height: clamp(510px, 68svh, 735px);
  background: #090d0d;
}
.horizon-opening picture img {
  object-position: 57% 48%;
}
.horizon-wash {
  background:
    linear-gradient(90deg, #080f11b8, #080e1140 51%, transparent 75%),
    linear-gradient(0deg, #090c0c 0%, #090c0c59 14%, transparent 42%);
}
.horizon-lines {
  opacity: 0.28;
}
.horizon-intro {
  padding-block: 44px 55px;
}
.venue-sign {
  color: #d4ebd9;
  font-size: 12px;
  margin-bottom: 26px;
}
.house .horizon-intro h1 {
  font-size: clamp(79px, 7.5vw, 131px);
  line-height: 0.89;
  letter-spacing: -0.058em;
  font-weight: 400;
}
.horizon-intro h1 > span {
  display: block;
}
.house .horizon-intro h1 em {
  color: #f1dbb7;
}
.horizon-summary {
  max-width: 36ch;
  color: #e0e5df;
  line-height: 1.55;
  margin: 21px 0 23px;
}
.hero-actions .quiet-link,
.house .quiet-link {
  border: 0;
}
.sky-spotlight {
  position: absolute;
  right: 0;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 11px 10px 14px;
  min-width: 230px;
  border-radius: 13px;
  background: #0b1211ba;
  backdrop-filter: blur(16px);
  color: #ecf1e9;
  isolation: isolate;
}
.spotlight-body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spotlight-body img {
  width: 34px;
  height: 34px;
}
.spotlight-body a {
  display: grid;
  gap: 2px;
}
.spotlight-body small,
.spotlight-body a > span {
  font-size: 10px;
  color: #b5c0b8;
}
.spotlight-body strong {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
}
.spotlight-body strong span {
  font: 10px var(--mono);
}
.spotlight-switch {
  display: flex;
  margin-left: auto;
}
.spotlight-switch button {
  width: 30px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #d4dcd4;
  border-radius: 6px;
}
.spotlight-switch button:hover {
  background: #ffffff16;
}
.spotlight-switch button:first-child svg {
  transform: rotate(180deg);
}
.basket-arrival {
  background: #090c0c;
}
.basket-edge {
  background: linear-gradient(90deg, transparent, #548c74, transparent);
  opacity: calc(0.1 + 0.42 * var(--journey));
}
.basket-contents {
  padding-top: clamp(30px, 4vw, 66px);
}
.basket-arrival .section-line h2,
.house .section-line h2 {
  font-size: clamp(35px, 3.8vw, 63px);
  letter-spacing: -0.06em;
}
.basket-arrival .section-line {
  margin-bottom: 22px;
}
.house .quiet-link {
  color: #c9e7d5;
}
.house .quiet-link:hover {
  color: #fff;
}
.basket-note {
  --note-a: #b3e6c9;
  --note-b: #619582;
  --card-tint: #243a34;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(125deg, #192623, #101717);
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.24s,
    background-color 0.24s;
}
.basket-note:nth-child(2) {
  --note-a: #cabeec;
  --note-b: #89829d;
  --card-tint: #322f3d;
  background: linear-gradient(125deg, #24242c, #151619);
}
.basket-note:nth-child(3) {
  --note-a: #edc590;
  --note-b: #ab8c6a;
  --card-tint: #39352d;
  background: linear-gradient(125deg, #29251e, #181714);
}
.basket-note:focus-visible,
.basket-note:hover {
  background-color: var(--card-tint);
}
.note-top img,
.cabinet-art img {
  border: 0;
  background: transparent;
  padding: 1px;
}
.note-top {
  margin-bottom: 20px;
  font-size: 12px;
}
.note-top img {
  height: 35px;
  width: 35px;
}
.note-bottom {
  color: var(--note-a);
}
.note-bottom > div {
  max-width: 124px;
}
.note-bottom > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #ffffff08;
  color: var(--note-a);
  border-radius: 50%;
  transition:
    transform 0.21s,
    background-color 0.21s;
}
.basket-note:hover .note-bottom > span,
.basket-note:focus-visible .note-bottom > span {
  transform: translate(2px, -2px);
  background: #ffffff15;
}
.house .basket-note h3 {
  font-size: clamp(25px, 2.25vw, 38px);
  letter-spacing: -0.055em;
}
.basket-note p {
  color: #b5bfba;
  font-size: 11px;
}
.note-weights {
  height: 3px;
  gap: 3px;
}
.landing .mark-strip {
  border: 0;
  background: #0f1514;
}
.mark-cell,
.feed-title {
  border-color: #2d38314f;
}
.house .anatomy {
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 78% 45%, #1b3029, transparent 65%), #101816;
}
.house .anatomy::before {
  display: none;
}
.house h2 {
  letter-spacing: -0.065em;
}
.selector-tabs button {
  border: 0;
  border-radius: 24px;
  background: #ffffff09;
  color: #cbd7d0;
  padding: 10px 16px;
}
.selector-tabs button[aria-pressed="true"] {
  background: #c6e6d0;
  color: #17271e;
}
.holding-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 7px 8px;
  text-align: left;
  font: 12px var(--mono);
  color: #d9e0d7;
  border-radius: 5px;
}
.holding-key span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.holding-key i {
  background: var(--holding-color);
}
.holding-key:hover,
.holding-key:focus-visible,
.holding-key[aria-pressed="true"] {
  background: #c9e6ce13;
  color: #fbfff9;
}
.dial {
  border-color: #15201b;
}
.dial.reading-weight b {
  color: #c9f4d6;
}
.method-panel {
  border: 0;
}
.film-still {
  overflow: hidden;
  border-radius: 12px;
}
.film-still img {
  border: 0;
  transition: transform 0.5s;
}
.film-still:hover img {
  transform: scale(1.025);
}
.film-still span {
  border: 0;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.house-faq {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  max-width: 1160px;
  gap: 6px 7%;
}
.house-faq h2 {
  grid-area: 1/1/5/2;
}
.house-faq details {
  grid-column: 2;
  border: 0;
  border-radius: 9px;
  background: #111817;
}
.house-faq details:last-child {
  border: 0;
}
.house-faq summary {
  font-weight: 500;
  font-size: 15px;
  padding: 16px 18px;
}
.house-faq details[open] {
  background: #17211e;
}
.house-faq details p {
  padding: 0 18px 18px;
}
.painted-footer {
  isolation: isolate;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: clamp(300px, 30vw, 485px);
  padding: clamp(34px, 5vw, 80px) 0 110px;
  color: #f1f2ec;
  background: #080d0e;
}
.house.landing > .painted-footer {
  max-width: none;
  width: 100%;
  margin: 0;
  border: 0;
  padding: clamp(34px, 5vw, 80px) 0 110px;
  display: block;
}
.footer-paint,
.footer-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: 50% 64%;
}
.footer-veil {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      #090c0c 0%,
      #090c0c99 16%,
      #090c0c26 65%,
      #090c0c36
    ),
    linear-gradient(90deg, #070d0e78, transparent 72%);
}
.footer-inner {
  width: var(--page);
  margin: auto;
  display: flex;
  gap: 8vw;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-signature .brand {
  font-size: clamp(42px, 5.8vw, 90px);
  color: #f0eadc;
  gap: 14px;
}
.footer-signature .brand img {
  width: 0.8em;
  height: 0.8em;
}
.footer-signature p {
  margin-top: 12px;
  color: #c1ccc6;
  font-size: 14px;
}
.painted-footer nav {
  display: flex;
  gap: clamp(24px, 5vw, 100px);
}
.painted-footer nav div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.painted-footer nav b {
  color: #ecddc6;
  font-size: 13px;
  margin-bottom: 5px;
}
.painted-footer nav a {
  color: #e1e6de;
  font-size: 13px;
  width: fit-content;
}
.painted-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.fieldnote .quiet-link {
  color: #41503c;
}
.fieldnote .anatomy .quiet-link {
  color: #c9e7d5;
}
/* Localized lighting stays behind the content. Focus gets the same surface treatment. */
@media (hover: hover) and (pointer: fine) {
  :is(
    .basket-note,
    .pro-card,
    .sky-spotlight,
    .house-action,
    .pro-intro
  )::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
      220px circle at var(--light-x, 50%) var(--light-y, 50%),
      #c4eedb18,
      transparent 78%
    );
    opacity: 0;
    transition: opacity 0.27s;
  }
  :is(
      .basket-note,
      .pro-card,
      .sky-spotlight,
      .house-action,
      .pro-intro
    ):hover::after {
    opacity: 1;
  }
  .basket-note:hover {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .proof-brand path {
    stroke-dasharray: 1;
    animation: trace-mark .69s ease-out both;
  }
  .proof-brand path:nth-child(2) { animation-delay: .1s; }
  .proof-brand path:nth-child(3) { animation-delay: .18s; }
  .proof-brand span { animation: wordmark-in .64s .1s ease-out both; }
  .arriving .horizon-opening {
    animation: paint-in 1.65s cubic-bezier(0.24, 0.66, 0.22, 1) both;
  }
  .arriving .horizon-intro h1 span,
  .arriving .horizon-intro h1 em {
    animation: letterpress 0.9s 0.65s cubic-bezier(0.19, 0.78, 0.2, 1) both;
  }
  .arriving .horizon-intro h1 em {
    animation-delay: 0.78s;
  }
  .spotlight-body,
  .instrument .dial.reading-weight b {
    animation: wordmark-in 0.28s ease-out both;
  }
  .painted-footer.revealed .footer-paint {
    animation: shore-in 1.25s ease-out both;
  }
  .basket-arrival.revealed .basket-note,
  .pro-page-enter .pro-intro,
  .pro-page-enter .title-block {
    animation: surface-in 0.55s cubic-bezier(0.19, 0.78, 0.2, 1) both;
  }
  .basket-arrival.revealed .basket-note:nth-child(2) {
    animation-delay: 0.08s;
  }
  .basket-arrival.revealed .basket-note:nth-child(3) {
    animation-delay: 0.16s;
  }
  @keyframes trace-mark {
    from {
      stroke-dashoffset: 1;
      transform: translateY(4px);
    }
    to {
      stroke-dashoffset: 0;
      transform: none;
    }
  }
  @keyframes paint-in {
    from { opacity: .72; }
    to { opacity: 1; }
  }
  @keyframes letterpress {
    from {
      clip-path: inset(0 0 95%);
      transform: translateY(0.15em);
    }
    to {
      clip-path: inset(-12% -3% -19%);
      transform: none;
    }
  }
  @keyframes wordmark-in {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes surface-in {
    from {
      opacity: 0.42;
      translate: 0 12px;
    }
    to {
      opacity: 1;
      translate: 0;
    }
  }
  @keyframes shore-in {
    from {
      transform: scale(1.025);
      filter: brightness(0.75);
    }
    to {
      transform: none;
      filter: brightness(1);
    }
  }
}
/* Terminal controls use filled surfaces. Rules are reserved for ledger rows. */
.pro-app {
  --bg: #090d0e;
  --surface: #12191a;
  --raised: #1a2323;
  --line: #293332;
  --ink: #e9eeea;
  --muted: #a5b2ad;
  --accent: #b2e9c8;
  --selected-bg: #203830;
  --button-ink: #102019;
}
.pro-app.pro-light {
  --bg: #eaf0eb;
  --surface: #f6f8f4;
  --raised: #e0e8df;
  --line: #c6d1c6;
  --ink: #18261f;
  --muted: #526258;
  --accent: #31654f;
  --selected-bg: #d6e7dc;
  --button-ink: #fff;
}
.pro-app .sidebar {
  background: var(--bg);
  border: 0;
}
.pro-app .pro-brand,
.pro-app .topbar,
.pro-app .sidebar .resources {
  border: 0;
}
.pro-app .sidebar .navlink {
  border: 0;
  border-radius: 8px;
  transition:
    background-color 0.18s,
    color 0.18s;
}
.pro-app .sidebar .navlink.active {
  background: var(--selected-bg);
  color: var(--accent);
}
.pro-app .sidebar .navlink:hover {
  background: var(--raised);
}
.pro-app .rail-toggle,
.pro-brand small {
  border: 0;
}
.pro-app .pro-brand small {
  background: var(--selected-bg);
  border-radius: 4px;
  padding: 3px 5px;
}
.pro-app .topbar {
  background: var(--bg);
}
.pro-app .walletbtn,
.pro-app .iconbtn,
.pro-app .pro-theme,
.pro-app .primary,
.pro-app .secondary {
  border: 0;
  border-radius: 7px;
}
.pro-app .secondary {
  background: var(--raised);
}
.jump-trigger {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  background: var(--surface);
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 12px;
}
.jump-trigger kbd {
  font: 10px var(--mono);
  background: var(--raised);
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 12px;
}
.jump-trigger:hover,
.chart-expand:hover {
  background: var(--raised);
  color: var(--ink);
}
.pro-app .pro-intro {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1918;
  padding: clamp(22px, 3vw, 44px);
}
.pro-intro > img {
  width: 61%;
  opacity: 0.82;
  object-position: 60% 57%;
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.pro-intro .desk-eyebrow {
  color: #c5e8d0;
  text-transform: none;
  font:
    12px "DM Sans",
    sans-serif;
  letter-spacing: 0.04em;
}
.pro-app .workspace .pro-intro h1 {
  font-size: clamp(41px, 4.15vw, 69px);
  letter-spacing: -0.068em;
}
.pro-intro a {
  border: 0;
  color: #d5f1df;
}
.pro-app .workspace h1,
.pro-app .workspace .pro-shelf h2 {
  letter-spacing: -0.06em;
}
.pro-app .title-block {
  border: 0;
}
.pro-app .pro-box,
.pro-app .pro-card,
.pro-app .panel,
.pro-app .empty,
.pro-app .ledger-wrap {
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
}
.pro-app .pro-card {
  position: relative;
  isolation: isolate;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.pro-app .pro-card:hover {
  background: var(--raised);
}
.pro-app .pro-cardfoot {
  border: 0;
}
.pro-app .pro-box {
  padding: 19px;
}
.pro-app .pro-selector {
  padding: 12px 19px;
}
.pro-switch,
.pro-app .filter-tabs {
  border: 0;
  border-radius: 9px;
}
.pro-switch a,
.pro-app .filter-tabs button,
.plot-controls button {
  border: 0;
  border-radius: 6px;
}
.pro-switch a:hover,
.plot-controls button:hover {
  background: var(--raised);
}
.pro-app .study-select select,
.pro-app .pro-input,
.pro-app .pro-amount,
.pro-app .amount,
.pro-app .search,
.pro-app .sort {
  border: 0;
  border-radius: 7px;
  background: var(--raised);
}
.pro-app .pro-stats {
  padding-top: 10px;
}
.pro-app .pro-stats > div + div {
  border: 0;
}
.pro-plot .rebalanced {
  stroke: var(--accent);
}
.pro-plot .held {
  opacity: 0.8;
}
.pro-plot svg {
  background: repeating-linear-gradient(
    to top,
    color-mix(in srgb, var(--line) 65%, transparent) 0 1px,
    transparent 1px 49.7%
  );
}
.chart-expand {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  background: var(--raised);
  border-radius: 5px;
  padding: 6px 9px;
}
.pro-overview:has(.expanded-chart),
.pro-sim:has(.expanded-chart) {
  grid-template-columns: minmax(0, 1fr);
}
.pro-sim:has(.expanded-chart) > .pro-stack:last-child {
  order: -1;
}
.expanded-chart [data-plot] {
  min-height: clamp(245px, 46svh, 560px);
}
.pro-app .pro-faq details,
.pro-app .workspace footer {
  border-color: color-mix(in srgb, var(--line) 48%, transparent);
}
.pro-app .index-list .pro-card {
  border: 0;
  border-radius: 0;
}
.pro-app .index-list .pro-card:nth-child(2n) {
  background: var(--bg);
}
#quick-jump {
  width: min(540px, calc(100% - 24px));
  max-height: 80svh;
  overflow: auto;
  padding: 22px;
  border: 0;
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 100px #0008;
}
#quick-jump[open] {
  animation: surface-in 0.2s ease-out;
}
.jump-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.jump-head h2 {
  font: 400 30px var(--display);
  letter-spacing: -0.055em;
}
.jump-head button {
  background: var(--raised);
  border-radius: 5px;
  color: var(--muted);
  padding: 4px 8px;
  font-size: 11px;
}
#quick-jump input {
  width: 100%;
  display: block;
  padding: 12px;
  border: 0;
  border-radius: 7px;
  background: var(--raised);
  color: var(--ink);
  font-size: 15px;
}
#jump-results {
  max-height: 44svh;
  overflow: auto;
  overscroll-behavior: contain;
  margin-top: 12px;
}
#jump-results [role="option"] {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
}
#jump-results [role="option"]:hover,
#jump-results [aria-selected="true"] {
  background: var(--selected-bg);
  color: var(--ink);
}
#jump-results strong,
#jump-results small {
  display: block;
}
#jump-results strong {
  font-size: 14px;
  font-weight: 500;
}
#jump-results small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
#jump-results i {
  margin-left: auto;
  color: var(--accent);
  visibility: hidden;
}
#jump-results [aria-selected="true"] i {
  visibility: visible;
}
.jump-empty {
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
}
@media (min-width: 1100px) {
  .basket-contents {
    display: grid;
    grid-template-columns: minmax(170px, 0.63fr) minmax(0, 3fr);
    gap: clamp(26px, 3vw, 55px);
    align-items: stretch;
  }
  .basket-arrival .section-line {
    margin: 0;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }
  .basket-arrival .section-line h2 {
    max-width: 6.4ch;
    line-height: 0.96;
  }
  .basket-arrival .note-grid {
    gap: 12px;
  }
  .pro-overview {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
  }
}
@media (max-width: 850px) {
  .house-faq {
    grid-template-columns: 1fr;
  }
  .house-faq h2,
  .house-faq details {
    grid-area: auto;
  }
  .horizon-sequence {
    --scene-height: clamp(500px, 67svh, 640px);
  }
  .house .horizon-intro h1 {
    font-size: clamp(68px, 9vw, 88px);
  }
}
@media (max-width: 760px) {
  .jump-trigger {
    width: 33px;
    height: 33px;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  .jump-trigger span,
  .jump-trigger kbd {
    display: none;
  }
  .pro-app .pro-box {
    padding: 15px;
  }
  .pro-app .topbar {
    gap: 5px;
  }
  .pro-intro > img {
    width: 52%;
    opacity: 0.63;
  }
}
@media (max-width: 600px) {
  .house-nav {
    height: auto;
  }
  .house-nav nav {
    gap: 20px;
  }
  .horizon-sequence {
    --scene-height: clamp(525px, 67svh, 635px);
  }
  .horizon-intro {
    padding: 37px 0 108px;
    align-content: center;
  }
  .house .horizon-intro h1 {
    font-size: clamp(55px, 12.5vw, 74px);
    line-height: 0.93;
  }
  .horizon-opening picture img {
    object-position: 60% 40%;
  }
  .horizon-wash {
    background:
      linear-gradient(90deg, #060e11b5, #08101132 75%),
      linear-gradient(0deg, #090c0c 1%, #090c0c55 45%, transparent 76%);
  }
  .venue-sign {
    margin-bottom: 18px;
  }
  .horizon-summary {
    font-size: 15px;
    max-width: 31ch;
    margin: 17px 0 21px;
  }
  .sky-spotlight {
    left: 0;
    right: auto;
    bottom: 16px;
    min-width: 236px;
    padding: 8px 10px 8px 13px;
  }
  .spotlight-body > img {
    width: 26px;
    height: 26px;
  }
  .basket-note {
    border-radius: 10px;
  }
  .note-bottom > span {
    display: none;
  }
  .note-top {
    margin: 0;
  }
  .house .basket-note h3 {
    font-size: 23px;
  }
  .basket-note p {
    font-size: 10px;
  }
  .footer-inner {
    display: grid;
    gap: 25px;
  }
  .painted-footer nav {
    gap: 40px;
  }
  .painted-footer,
  .house.landing > .painted-footer {
    min-height: 370px;
    padding-bottom: 100px;
  }
  .footer-paint {
    object-position: 65% 70%;
  }
  .footer-signature .brand {
    font-size: 39px;
  }
  .pro-app .workspace .pro-intro h1 {
    font-size: 38px;
  }
}
@media (max-width: 385px) {
  .pro-app .topbar .top-logo {
    font-size: 20px;
  }
  .pro-app .topbar .pro-theme,
  .pro-app .topbar .iconbtn,
  .pro-app .topbar .jump-trigger {
    width: 28px;
    flex-shrink: 0;
  }
  .pro-app .topbar .walletbtn {
    gap: 3px;
  }
  .pro-app .topbar {
    padding: 0 5px;
    gap: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .basket-note:hover,
  .film-still:hover img,
  .basket-note:hover .note-bottom > span {
    transform: none;
  }
}
.dial.reading-weight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from -90deg,
    #05100c99 0 var(--arc-from),
    transparent var(--arc-from) var(--arc-to),
    #05100c99 var(--arc-to) 100%
  );
  mask: radial-gradient(closest-side, transparent 82.8%, #000 83.3%);
}
.plot-probe.inspecting i::after {
  content: "";
  position: absolute;
  left: -1px;
  top: var(--probe-y);
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.mark-cell:hover,
.mark-cell:focus-visible {
  background: #b6edd207;
}
.mark-cell:hover strong {
  color: var(--jade);
}

/* Three passes of engraved lines develop the oil painting on a solid ink ground. */
#page-prelude {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  pointer-events: none;
  background: #080d0d;
}
#page-prelude[hidden],
.motion-toggle[hidden] {
  display: none;
}
#page-prelude:not([hidden]) {
  animation: prelude-dissolve 1.45s cubic-bezier(.52, 0, .27, 1) both;
}
.proof-print {
  position: absolute; inset: 0; margin: auto; width: min(72vw, 490px);
  aspect-ratio: 480 / 170; height: min(25.5vw, 174px); color: #788676;
}
.proof-image { position: absolute; inset: 4% 2%; }
.proof-image img, .proof-registration { position: absolute; inset: 0; width: 100%; height: 100%; }
.proof-image img { object-fit: fill; animation: register-print .55s cubic-bezier(.18,.7,.18,1) both; }
.proof-image img:nth-child(2) { animation-delay: .11s; }
.proof-image img:nth-child(3) { animation-delay: .22s; }
.proof-registration { animation: registration-fade 1s ease both; }
@keyframes register-print {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
@keyframes registration-fade {
  0% { opacity: 0; } 30%, 70% { opacity: .8; } 100% { opacity: 0; }
}
@keyframes prelude-dissolve {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
.paint-plane,
.cloud-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cloud-film {
  display: block;
  object-fit: cover;
  object-position: 57% 48%;
  opacity: 0;
  transition: opacity 0.48s ease;
}
.cloud-film.is-playing {
  opacity: 1;
}
.motion-toggle {
  position: absolute;
  bottom: calc(var(--shelf-overlap, 0px) + 24px);
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10201bc9;
  backdrop-filter: blur(12px);
  color: #d8e3d5;
  transition:
    background-color 0.2s,
    scale 0.2s;
}
.motion-toggle:hover {
  background: #253f32;
  scale: 1.06;
}
.motion-toggle .play-icon,
.motion-toggle.is-paused .pause-icon {
  display: none;
}
.motion-toggle.is-paused .play-icon {
  display: block;
}
.horizon-sequence {
  overflow: clip;
  --shelf-overlap: clamp(66px, 9svh, 108px);
  --scene-height: clamp(570px, 75svh, 790px);
  background: #090c0c;
}
.horizon-wash {
  background:
    linear-gradient(90deg, #080f11b3, #080e1130 51%, transparent 76%),
    linear-gradient(0deg, #090c0c 1%, #090c0c6b 13%, transparent 42%);
}
.horizon-intro {
  padding-bottom: calc(var(--shelf-overlap) + 26px);
}
.sky-spotlight {
  bottom: calc(var(--shelf-overlap) + 19px);
}
.tracks-scroll .horizon-window {
  clip-path: none;
  opacity: clamp(0, calc(1 - 1.12 * var(--journey)), 1);
}
.tracks-scroll .horizon-opening picture {
  transform: none;
}
.tracks-scroll .paint-plane {
  transform: translateY(calc(-0.024 * var(--travel)))
    scale(calc(1 + 0.065 * var(--journey)));
  transform-origin: 64% 45%;
}
.tracks-scroll .horizon-copy {
  transform: translateY(calc(0.08 * var(--travel)));
}
.basket-arrival {
  margin-top: calc(-1 * var(--shelf-overlap));
  background: linear-gradient(
    to bottom,
    transparent 0,
    #090c0c94 calc(var(--shelf-overlap) * 0.62),
    #090c0c calc(var(--shelf-overlap) + 32px)
  );
  padding-bottom: clamp(42px, 5vw, 78px);
}
.basket-edge {
  display: none;
}
.basket-contents {
  padding-top: clamp(28px, 3.6vw, 55px);
}
.basket-note,
.pro-card {
  --develop: 1;
  --engrave: 0.33;
}
.card-stock {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.card-stock img {
  position: absolute;
  right: -4%;
  top: 0;
  width: 66%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: var(--engrave);
  transform: rotate(-7deg) scale(1.11);
  mask-image: linear-gradient(90deg, transparent 3%, #000 58%);
  transition:
    opacity 0.42s,
    transform 0.65s cubic-bezier(0.2, 0.66, 0.22, 1);
}
.basket-note .card-stock {
  background:
    radial-gradient(
      ellipse at 94% 4%,
      color-mix(in srgb, var(--note-a) 13%, transparent),
      transparent 70%
    ),
    linear-gradient(126deg, var(--card-tint), #0e1515 92%);
}
.basket-note,
.basket-note:nth-child(n),
.basket-note:hover {
  background: transparent;
}
.pro-card .card-stock img {
  width: 56%;
  right: -3%;
  object-position: right 35%;
  opacity: 0.18;
}
.pro-card .card-stock {
  background: radial-gradient(
    ellipse at 97% 10%,
    color-mix(in srgb, var(--accent) 6%, transparent),
    transparent 68%
  );
}
.pro-light .pro-card .card-stock img {
  filter: brightness(0.62);
  opacity: 0.17;
}
.index-list .card-stock {
  display: none;
}
.tracks-scroll .basket-arrival .basket-note {
  translate: 0 calc(32px * (1 - var(--develop)));
  scale: calc(0.968 + 0.032 * var(--develop));
  transform-origin: center 100%;
}
.tracks-scroll .basket-arrival .card-stock {
  opacity: calc(0.6 + 0.4 * var(--develop));
}
.tracks-scroll .basket-arrival .card-stock img {
  opacity: calc(0.19 + 0.17 * var(--develop));
}
.basket-note:focus-visible .card-stock img,
.pro-card:focus-within .card-stock img {
  opacity: 0.52;
}
.basket-note:focus-visible,
.pro-card:focus-within {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}
.note-weights {
  transform-origin: left;
}
.landing [data-marks] {
  background: linear-gradient(#090c0c, #101815 49%, #090c0c);
}
.landing .mark-strip {
  background: transparent;
}
.landing .method-panel {
  position: relative;
  isolation: isolate;
}
.landing .method-panel::before {
  content: "";
  position: absolute;
  inset: -12% -2% -16%;
  background: radial-gradient(ellipse at 70% 55%, #19272280, transparent 69%);
  z-index: -1;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .basket-note:hover .card-stock img,
  .tracks-scroll .basket-arrival .basket-note:hover .card-stock img,
  .pro-card:hover .card-stock img {
    opacity: 0.54;
    transform: translate(-3%, -1%) rotate(-2deg) scale(1.16);
  }
  .basket-note:hover .note-top img,
  .pro-card:hover .cabinet-art img {
    transform: translateY(-2px) rotate(-4deg);
  }
  .note-top img,
  .cabinet-art img {
    transition: transform 0.32s cubic-bezier(0.2, 0.72, 0.24, 1);
  }
  .house .quiet-link {
    background: linear-gradient(currentColor, currentColor) left bottom 3px/0
      1px no-repeat;
    transition:
      color 0.2s,
      background-size 0.27s;
  }
  .house .quiet-link:hover {
    background-size: 100% 1px;
  }
}
@media (max-width: 600px) {
  .horizon-sequence {
    --scene-height: clamp(550px, 71svh, 665px);
    --shelf-overlap: 47px;
  }
  .horizon-intro {
    padding-bottom: calc(var(--shelf-overlap) + 80px);
  }
  .horizon-wash {
    background:
      linear-gradient(90deg, #060e11b0, #08101132 75%),
      linear-gradient(0deg, #090c0c 2%, #090c0c55 45%, transparent 76%);
  }
  .cloud-film {
    object-position: 60% 40%;
  }
  .sky-spotlight {
    bottom: calc(var(--shelf-overlap) + 10px);
  }
  .motion-toggle {
    left: auto;
    right: 0;
    bottom: calc(var(--shelf-overlap) + 23px);
  }
  .basket-contents {
    padding-top: 20px;
  }
  .basket-note .card-stock img {
    right: 8%;
    width: 46%;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 48%,
      #000 80%,
      transparent
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  #page-prelude,
  .cloud-film,
  .motion-toggle {
    display: none !important;
  }
  .card-stock img {
    transition: none;
  }
}

/* Route changes are independent from quote updates and anchor scrolling. */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: leaf-out 0.19s ease-in both;
  }
  ::view-transition-new(root) {
    animation: leaf-in 0.34s cubic-bezier(0.19, 0.72, 0.2, 1) both;
  }
  @keyframes leaf-out {
    to {
      opacity: 0;
      transform: translateY(-6px) scale(0.996);
    }
  }
  @keyframes leaf-in {
    from {
      opacity: 0.05;
      transform: translateY(10px);
      clip-path: inset(0 0 1.5% round 7px);
    }
    to {
      opacity: 1;
      transform: none;
      clip-path: inset(0 round 0);
    }
  }
}
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .landing .film-still {
      animation: unmat-film linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 92%;
    }
    .landing .anatomy .dial::before {
      animation: read-scale linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
    @keyframes unmat-film {
      from {
        clip-path: inset(5% 4% round 13px);
      }
      to {
        clip-path: inset(0 round 12px);
      }
    }
    @keyframes read-scale {
      from {
        transform: rotate(-19deg);
      }
      to {
        transform: rotate(0);
      }
    }
  }
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.detail-identity > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.basket-seal {
  width: clamp(36px, 4.5vw, 58px);
  height: auto;
  flex: none;
}
.travelling-emblem {
  view-transition-name: basket-stamp;
}
::view-transition,
::view-transition-group(*),
::view-transition-image-pair(*),
::view-transition-old(*),
::view-transition-new(*) {
  pointer-events: none;
}
::view-transition-group(basket-stamp) {
  animation-duration: 0.37s;
  animation-timing-function: cubic-bezier(0.2, 0.76, 0.23, 1);
}
@media (max-width: 600px) {
  .motion-toggle {
    width: 42px;
    height: 42px;
  }
}

/* The allocation desk uses the basket seal as its registration mark. */
.pro-app .pro-chart {
  background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--accent) 5%, transparent), transparent 57%), var(--surface);
}
.pro-chart .plot-controls { align-items: center; flex-wrap: wrap; row-gap: 6px; }
.pro-chart .plot-controls > div {
  padding: 3px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--bg) 75%, var(--surface));
}
.pro-chart .plot-controls button {
  min-height: 28px;
  padding-inline: clamp(6px, .75vw, 11px);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  transition: color .16s ease, background-color .16s ease;
}
.pro-chart .plot-controls button[aria-pressed=true],
.ticket-presets button[aria-pressed=true] {
  background: var(--selected-bg);
  color: var(--accent);
}
.chart-name { margin: 18px 0 6px; }
.chart-identity, .ticket-heading, .switch-ticket, .study-picker strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.chart-identity img { flex: none; }
.chart-identity strong { font-size: 1rem; overflow-wrap: anywhere; }
.chart-reading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 14px; }
.chart-reading strong, .premium-number, .ticket .amount input {
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.045em;
}
.chart-reading strong { font: 400 clamp(1.8rem, 2.7vw, 2.6rem)/1.1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.chart-reading span, .study-picker > span { color: var(--muted); font-size: .78rem; }
.pro-chart .pro-x { grid-column: 1; }
.pro-chart .pro-y, .pro-chart .pro-x { font-size: .7rem; }
.pro-chart .pro-y { padding-inline-start: 2px; }
.pro-chart .pro-legend { margin-top: 12px; gap: 14px; flex-wrap: wrap; font-size: .75rem; }
.pro-chart .pro-legend span::before { width: 14px; height: 2px; vertical-align: middle; }
.pro-chart .pro-legend span + span::before { background: repeating-linear-gradient(to right, #8da9aa 0 4px, transparent 4px 6px); }
.pro-chart .pro-nochart { display: grid; align-content: center; margin: 0; padding: 14px; color: var(--muted); background: transparent; font: inherit; font-size: .82rem; }
.pro-chart [aria-busy=true] .pro-nochart::before {
  content: ""; display: block; margin: 0 auto 10px; width: 46px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.plot-probe.inspecting output {
  border: 0; border-radius: 8px; padding: 9px 12px;
  background: var(--bg); box-shadow: 0 3px 14px #0003;
  font: .76rem/1.5 "DM Sans", sans-serif; font-variant-numeric: tabular-nums;
}
.plot-probe output :is(time, strong, small) { display: block; }
.plot-probe output time, .plot-probe output small { font-size: .71rem; color: var(--muted); }
.plot-probe output small:empty { display: none; }
.plot-probe :focus-visible { outline: none; }
.study-picker {
  width: 100%; min-height: 42px; display: grid; align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px;
  color: var(--ink); background: transparent; padding: 2px 4px; text-align: left;
}
.study-picker strong { justify-content: flex-end; font-size: .95rem; overflow-wrap: anywhere; }
.study-picker > svg, .switch-ticket > svg { color: var(--muted); }
.picker-frame { margin-bottom: 10px; }
.pro-app .pro-selector { background: linear-gradient(105deg, var(--surface) 38%, var(--raised)); }
#quick-jump.basket-picker { display: none; }
#quick-jump.basket-picker[open] { display: flex; flex-direction: column; }
.basket-picker #jump-results { min-height: 0; max-height: min(48svh, 430px); overflow: auto; overscroll-behavior: contain; }
.basket-picker #jump-results [role=option] { min-height: 49px; }
.basket-picker .picker-emblem { flex: none; }
.pro-app .pro-amount, .pro-app .ticket .amount { box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .18s ease; }
.pro-app :is(.pro-amount, .ticket .amount):focus-within { box-shadow: inset 0 0 0 1px var(--accent); }
:is(.pro-amount, .ticket .amount) input:focus-visible { outline: none; }
.pro-app .pro-amount i { border-color: var(--accent); background: var(--selected-bg); color: var(--accent); }
.pro-app .performance { background: linear-gradient(125deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface) 80%); }
.pro-app .ticket { position: relative; isolation: isolate; overflow: hidden; }
.ticket .card-stock { bottom: auto; height: 132px; }
.ticket .card-stock img { width: 45%; opacity: .13; }
.ticket-heading { justify-content: space-between; margin-bottom: 24px; }
.ticket-heading h2 { margin: 0; }
.switch-ticket, .ticket-presets button {
  color: var(--muted); border-radius: 6px; background: var(--raised);
  padding: 6px 9px; min-height: 32px; font-size: .78rem;
}
.ticket .amount { margin-bottom: 8px; }
.ticket .amount input { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ticket-presets { display: flex; gap: 5px; margin-bottom: 16px; }
.ticket-presets button { font-variant-numeric: tabular-nums; }
.ticket-split { margin: 6px 0 12px; }
.ticket-split summary { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: .86rem; cursor: pointer; list-style: none; }
.ticket-split summary::-webkit-details-marker { display: none; }
.ticket-split summary span { display: inline-flex; transition: transform .2s ease; }
.ticket-split summary svg { transition: transform .18s ease; }
.ticket-split .split-row { display: grid; align-items: center; grid-template-columns: 21px 1fr auto minmax(65px,auto); gap: 7px; margin: 9px 0; font-size: .78rem; }
.split-row .token { width: 20px; height: 20px; }
.split-row span, .ticket .amount b { color: var(--muted); }
.split-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.ticket .primary { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ticket .primary:disabled { opacity: .55; cursor: default; }
#ticket-status:not(:empty) { font-size: .82rem; margin-top: 10px; color: var(--muted); }
@media (hover: hover) {
  .switch-ticket:hover, .ticket-presets button:hover, .study-picker:hover strong { color: var(--accent); }
}
@media (prefers-reduced-motion: no-preference) {
  .pro-chart [data-plot] > .pro-plot { animation: desk-print .36s ease-out; }
  .chart-identity img, .study-picker img { animation: ink-register .3s ease-out; }
  .ticket-split[open] .split-row, .plot-probe.inspecting output { animation: desk-print .18s ease-out; }
  .study-picker > svg, .ticket .primary svg { transition: transform .2s ease; }
  .study-picker:hover > svg { transform: translateY(2px); }
  .ticket .primary:enabled:hover svg { transform: translateX(2px); }
  @keyframes desk-print { from { opacity: .25; } to { opacity: 1; } }
  @keyframes ink-register { from { opacity: .4; transform: scale(.9) rotate(-5deg); } to { opacity: 1; transform: none; } }
}
@media (max-width: 420px) {
  .pro-app .pro-chart { padding: 15px 12px; }
  .chart-reading { margin-bottom: 9px; }
}
.pro-chart .desk-segments {
  display: grid; grid-template-columns: repeat(var(--count), 1fr); gap: 0;
  position: relative; isolation: isolate;
}
.desk-segments::before {
  content: ""; position: absolute; z-index: -1; inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / var(--count));
  border-radius: 6px; background: var(--selected-bg);
  transform: translateX(calc(var(--selected) * 100%));
}
.pro-chart .desk-segments button[aria-pressed=true] { background: transparent; }
.book-check { display: flex; align-items: center; gap: 12px; }
.book-check > span { display: inline-flex; gap: 2px; transform: skewX(-23deg); }
.book-check i { width: 4px; height: 14px; background: var(--accent); }
.book-check i:last-child { height: 8px; align-self: flex-end; }
@media (prefers-reduced-motion: no-preference) {
  .desk-segments::before { transition: transform .22s cubic-bezier(.22,.78,.2,1); }
  .book-check i { animation: check-ink 1.05s ease-in-out infinite alternate; }
  .book-check i:nth-child(2) { animation-delay: .14s; }
  .book-check i:nth-child(3) { animation-delay: .28s; }
  @keyframes check-ink { from { opacity: .35; } to { opacity: 1; } }
}

.basket-workspace > div, .detail-result { min-width: 0; }
.pro-app .detail-history { padding: clamp(15px,2vw,26px); }
.detail-chart-head, .holdings-head, .leverage-setting { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.detail-chart-head h2, .holdings-head h2 { margin: 0; }
.detail-chart-head label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.detail-history .plot-controls { margin: 20px 0; }
.detail-result [data-plot] { height: clamp(190px, 24vw, 300px); }
.return-lines { display: flex; align-items: flex-end; gap: clamp(10px,2vw,34px); flex-wrap: wrap; margin: 0 0 18px; }
.return-lines small, .chart-method, .quote-stamp, .holdings-head span { color: var(--muted); font-size: .78rem; }
.return-lines strong, .return-lines b { display: block; font-variant-numeric: tabular-nums; }
.return-lines strong { font: 400 clamp(2rem,3vw,2.8rem)/1.1 var(--display); }
.return-lines b { font-size: 1rem; font-weight: 500; line-height: 1.6; }
.chart-method, .quote-stamp { display: block; margin-top: 14px; line-height: 1.5; }
.detail-loading { min-height: 300px; display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.retry-history { padding: 6px 10px; background: var(--raised); color: var(--ink); border-radius: 6px; }
.benchmark-gap { color: var(--muted); font-size:.8rem; }
.pro-app .holdings-panel { margin-top: 18px; padding: clamp(16px,2vw,27px); min-width:0; }
.holdings-panel .pro-bar { margin: 16px 0; }
.holdings-scroll { overflow-x:auto; overscroll-behavior-x:contain; }
.holdings-table { border-collapse: collapse; width:100%; font-variant-numeric:tabular-nums; white-space:nowrap; }
.holdings-table th, .holdings-table td { font-size:.81rem; padding:12px 10px; text-align:right; }
.holdings-table thead th { color:var(--muted); font-weight:500; font-size:.75rem; }
.holdings-table th:first-child { text-align:left; padding-left:0; }
.holdings-table tr + tr { border-top:1px solid color-mix(in srgb,var(--line) 48%,transparent); }
.holdings-table th a, .collateral-asset { display:inline-flex; align-items:center; gap:9px; }
.holdings-table small { display:block; color:var(--muted); font-size:.72rem; font-weight:400; margin-top:2px; }
.holdings-table .token { width:30px; height:30px; }
.pro-app .token, .venue-sign img { object-fit:contain; border-radius:50%; }
.collateral-asset .token { width:19px;height:19px; }
.leverage-setting { margin-block:15px 9px; }
.leverage-setting select { min-width:74px; }
.plan-sizing { font-variant-numeric:tabular-nums; text-align:right; }
.plan-sizing small { display:block; margin-top:3px; color:var(--muted); font-size:.75rem; font-weight:400; }
@media(max-width:680px) {
  .basket-workspace { grid-template-columns:minmax(0,1fr); }
  .detail-chart-head label { flex-wrap:wrap; }
  .holdings-table th:first-child { position:sticky; left:0; z-index:1; background:var(--surface); }
  .holdings-table th small { max-width:105px; overflow:hidden; text-overflow:ellipsis; }
}

.pro-legend .benchmark-key { display:inline-flex; align-items:center; gap:4px; }
.pro-legend .benchmark-key::before { margin-right:2px; }
.pro-legend .benchmark-key img { width:16px; height:16px; }
