
:root {
  font-family: Inter,Segoe UI,sans-serif;
  color: #202320;
  background: #f4f3f0;
  font-synthesis: none;
  --page: #f4f3f0;
  --surface: #fff;
  --card: #e8e4dc;
  --text: #202320;
  --muted: #666b66;
  --line: #d3d2cb;
  --accent: #9f452f;
  --accent-soft: #f1dfd7;
  --green: #39704d;
  --blue: #4e6f7d;
  --amber: #9a6b20;
  --red: #a84646;
  --grid: #e6e5df;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --page: #111412;
  --surface: #181b19;
  --card: #202420;
  --text: #edf0ec;
  --muted: #aab2aa;
  --line: #414741;
  --accent: #df7459;
  --accent-soft: #392b24;
  --green: #69b584;
  --blue: #83abbc;
  --amber: #dbaf64;
  --red: #df6d6d;
  --grid: #2c322d;
  background: var(--page);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
}
button,input,select,textarea {
  font: inherit;
}
button,a,summary,select {
  touch-action: manipulation;
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,h2,h3,p {
  margin: 0;
}
button {
  border: 0;
}
small {
  line-height: 1.5;
}
main {
  max-width: 1480px;
  margin: auto;
  padding: 0 56px;
}
.site-header {
  height: 91px;
  max-width: 1480px;
  margin: auto;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -.7px;
}
.brand-mark {
  background: var(--accent);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.55px;
  color: var(--muted);
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 27px;
  font-size: 12px;
}
.site-header nav a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.theme-button {
  font-size: 23px;
  background: none;
  padding: 7px;
}
.contact-button {
  border: 1px solid var(--line);
  background: none;
  padding: 13px 16px;
  border-radius: 5px;
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.tiny-square {
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 50px;
  padding: 60px 0 43px;
}
.hero h1 {
  font-size: clamp(34px,3.7vw,56px);
  font-weight: 510;
  letter-spacing: -2.8px;
  line-height: 1.14;
  margin-top: 23px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-aside {
  max-width: 390px;
  justify-self: end;
}
.hero-aside p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.primary-link {
  display: inline-flex;
  gap: 38px;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: #fff;
  padding: 17px 21px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 550;
  margin-top: 23px;
}
.primary-link span {
  font-size: 18px;
}
.hero-aside small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 11px;
}
.principles-strip {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 11px;
  color: var(--muted);
  gap: 15px;
}
.principles-strip b {
  font-family: monospace;
  font-weight: 400;
  margin-right: 10px;
  color: var(--accent);
}
.experience {
  padding-top: 57px;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 27px;
}
.section-intro h2,h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1.16;
  margin-top: 15px;
}
.section-intro>p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 400px;
}
.strategy-tabs {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 7px;
  margin-bottom: 15px;
}
.strategy-tabs button {
  padding: 19px 16px 17px;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 118px;
  transition: background .2s,border .2s;
}
.strategy-tabs button:hover {
  background: var(--card);
}
.strategy-tabs button[aria-selected=true] {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: inset 0 -3px var(--accent);
}
.strategy-tabs button>span {
  color: var(--accent);
  font: 11px monospace;
}
.strategy-tabs strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0 5px;
}
.strategy-tabs small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.lesson {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
}
.lesson-heading {
  padding: 26px 26px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.lesson-heading h3 {
  font-size: 21px;
  letter-spacing: -.6px;
  line-height: 1.3;
  margin: 10px 0 8px;
  font-weight: 560;
  max-width: 750px;
}
.lesson-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.scenario-control {
  flex-shrink: 0;
}
.scenario-control label {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
select {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  padding: 9px 29px 9px 10px;
  font-size: 11px;
}
.theater {
  display: grid;
  grid-template-columns: minmax(0,1fr) 274px;
}
.chart-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 10px;
  gap: 15px;
}
.chart-header>div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-header strong {
  font-size: 11px;
  font-weight: 600;
}
.chart-units {
  color: var(--muted);
  font-size: 9px;
  margin-left: 6px;
}
.chart-header label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.chart-header select {
  padding: 6px 18px 6px 7px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.market-chart {
  width: 100%;
  display: block;
  min-height: 260px;
  overflow: visible;
}
.gridline {
  stroke: var(--grid);
  stroke-width: 1;
}
.vertical {
  stroke-dasharray: 2 7;
}
.axis {
  font-family: Consolas,monospace;
  font-size: 10px;
  fill: var(--muted);
}
.order-label {
  font-family: Consolas,monospace;
  font-size: 10px;
}
.svg-order {
  animation: order-in .4s ease;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  padding: 0 25px 17px;
  color: var(--muted);
  font-size: 9px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.legend .buy-key {
  background: var(--blue);
}
.legend .tp-key {
  background: var(--green);
}
.legend .stop-key {
  background: var(--amber);
}
.event-caption {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--page);
  padding: 18px 22px;
  min-height: 115px;
  border-top: 1px solid var(--line);
}
.caption-icon {
  border: 1px solid var(--line);
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.event-caption>div {
  animation: caption-in .25s ease;
}
.event-caption strong {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
.event-caption p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
  margin-top: 5px;
}
.event-caption.risk .caption-icon {
  color: var(--red);
}
.event-caption.trail .caption-icon {
  color: var(--amber);
}
.transport {
  padding: 16px 24px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.transport-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.play {
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 12px;
  min-width: 112px;
}
.icon-button {
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 21px;
}
.next-event {
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 8px;
}
.speed-label {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.speed-label span {
  font-size: 10px;
  color: var(--muted);
}
.speed-label select {
  padding: 7px 18px 7px 8px;
}
.scrubber {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
}
.scrubber>span {
  font: 10px Consolas,monospace;
  color: var(--muted);
}
input[type=range] {
  accent-color: var(--accent);
  height: 18px;
  width: 100%;
  cursor: pointer;
}
.order-panel {
  padding: 22px 20px;
  background: var(--page);
  border-left: 1px solid var(--line);
}
.panel-kicker {
  font: 9px Consolas,monospace;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.position-volume {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 18px 0 12px;
}
.position-volume>span {
  font-size: 10px;
  color: var(--muted);
}
.position-volume strong {
  font: 27px Consolas,monospace;
  white-space: nowrap;
}
.position-volume small {
  font-size: 10px;
  color: var(--muted);
}
.volume-bar {
  display: flex;
  gap: 3px;
  height: 26px;
}
.volume-bar>div {
  background: var(--line);
  transition: background .5s;
  color: var(--muted);
  display: grid;
  place-items: center;
  border-radius: 3px;
  font: 9px monospace;
}
.volume-bar>div.open {
  background: var(--accent);
  color: #fff;
}
.volume-bar>div.confirm {
  background: var(--green);
  color: #fff;
}
.volume-bar>div.buy {
  background: var(--blue);
  color: #fff;
}
.position-totals {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 11px 0 18px;
  color: var(--muted);
}
.position-totals strong {
  font-weight: 500;
}
.lanes {
  display: grid;
  gap: 7px;
}
.lane-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  background: var(--surface);
  transition: background .35s,border-color .35s;
}
.lane-card.open {
  border-left: 3px solid var(--green);
}
.lane-card.tracking {
  border-color: var(--amber);
}
.lane-card.confirm {
  background: color-mix(in srgb,var(--green) 12%,var(--surface));
  border-color: var(--green);
}
.lane-card.buy {
  border-left: 3px solid var(--blue);
}
.lane-top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lane-letter {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  background: var(--card);
  font: 10px Consolas,monospace;
  display: grid;
  place-items: center;
}
.lane-top strong {
  font-size: 11px;
  font-weight: 550;
}
.lane-qty {
  margin-left: auto;
  font: 11px Consolas,monospace;
}
.lane-rule {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 10px Consolas,monospace;
  margin: 10px 0;
}
.lane-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--grid);
  padding-top: 8px;
}
.lane-status i {
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 50%;
}
.open .lane-status {
  color: var(--green);
}
.tracking .lane-status {
  color: var(--amber);
}
.lane-status small {
  margin-left: auto;
  font-size: 8px;
}
.trailing-stats {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.trailing-stats>span {
  display: flex;
  justify-content: space-between;
}
.trailing-stats b {
  color: var(--text);
  font-family: Consolas,monospace;
  font-weight: 400;
}
.trailing-stats small {
  font-size: 9px;
  line-height: 1.6;
  margin-top: 5px;
  color: var(--amber);
}
.panel-note {
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
}
.event-timeline {
  border-top: 1px solid var(--line);
  padding: 20px 25px;
}
.timeline-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.timeline-title small {
  font-size: 9px;
  color: var(--muted);
}
.event-rail {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  margin-top: 13px;
  padding-bottom: 9px;
  scrollbar-color: var(--line) transparent;
  scrollbar-width: thin;
}
.event-rail button {
  flex: 0 0 155px;
  text-align: left;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px;
  opacity: .6;
}
.event-rail button.happened {
  opacity: 1;
  border-top: 2px solid var(--accent);
}
.event-rail time {
  display: block;
  font: 9px monospace;
  color: var(--muted);
  margin-bottom: 8px;
}
.event-rail span {
  font-size: 10px;
  line-height: 1.5;
  display: block;
}
.assumptions {
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.assumptions summary {
  padding: 15px 25px;
  cursor: pointer;
}
.assumptions>div {
  padding: 0 25px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  line-height: 1.7;
}
.attempts {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 5px;
  margin-top: 20px;
}
.attempts>div {
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px;
  color: var(--muted);
  font: 10px monospace;
}
.attempts>div.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.attempts>div.lost {
  background: color-mix(in srgb,var(--red) 12%,var(--surface));
  border-color: var(--red);
  color: var(--red);
}
.hedge-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}
.hedge-side {
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 12px;
  color: var(--green);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
}
.hedge-side:nth-child(2) {
  color: var(--blue);
  border-color: var(--blue);
}
.hedge-side>span {
  font: 10px monospace;
}
.hedge-side strong {
  font: 27px monospace;
}
.hedge-side small {
  font-size: 9px;
}
.hedge-side.side-lost {
  color: var(--red);
  border-color: var(--red);
  opacity: .7;
}
.economy {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 25px;
}
.economy>span {
  font-size: 10px;
  color: var(--muted);
}
.economy strong {
  display: block;
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 11px 0;
}
.economy p,.new-attempt {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.new-attempt {
  color: var(--blue);
  margin-top: 18px;
}
.comparison-section {
  padding: 80px 0;
}
.comparison-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th,td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
thead th {
  font: 9px Inter,sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  padding-bottom: 15px;
}
tbody th {
  font-weight: 550;
  min-width: 225px;
}
td {
  color: var(--muted);
  width: 25%;
}
.control-section {
  background: #202520;
  color: #edf0ec;
  border-radius: 9px;
  padding: 45px;
}
.control-section .eyebrow {
  color: #b5bdb3;
}
.control-section h2 {
  font-size: 37px;
  margin-top: 20px;
}
.control-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 45px;
  margin-top: 39px;
}
.control-cards article>span {
  font: 10px monospace;
  color: #d48b71;
}
.control-cards h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 15px 0 10px;
}
.control-cards p {
  font-size: 12px;
  line-height: 1.75;
  color: #b5bdb3;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  padding: 83px 0;
}
.faq-section h2 {
  font-size: 32px;
}
.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
.faq-section details:first-child {
  padding-top: 0;
}
.faq-section summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary span {
  color: var(--accent);
  font-size: 19px;
}
.faq-section details[open] summary span {
  transform: rotate(45deg);
}
.faq-section details p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 660px;
}
.bottom-cta {
  padding: 37px 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}
.bottom-cta h2 {
  font-size: 33px;
}
.bottom-cta .primary-link {
  margin: 0;
}
footer {
  max-width: 1480px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 25px 56px 35px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-brand {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
footer p {
  font-size: 10px;
  line-height: 1.65;
  max-width: 510px;
  color: var(--muted);
}
footer>span {
  margin-left: auto;
  font: 8px monospace;
  color: var(--muted);
  white-space: nowrap;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 520px;
  width: calc(100% - 32px);
  background: var(--surface);
  color: var(--text);
  padding: 32px;
}
dialog::backdrop {
  background: #111a;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  font-size: 24px;
}
dialog h2 {
  font-size: 28px;
}
dialog p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 17px 0;
}
dialog label {
  display: block;
  font-size: 11px;
  margin: 15px 0 8px;
}
dialog select,dialog textarea {
  width: 100%;
  max-width: 100%;
  font-size: 12px;
}
dialog textarea {
  resize: vertical;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px;
  color: var(--text);
}
dialog .play {
  margin-top: 18px;
}
.event-ripple {
  animation: ripple .8s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes ripple {
  0% {
    transform: scale(.5);
    opacity: .9;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
@keyframes order-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes caption-in {
  0% {
    opacity: .4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media(min-width:1500px) {
  .market-chart {
    min-height: 370px;
  }
  .hero {
    padding-top: 70px;
  }
}
@media(max-width:1100px) {
  main {
    padding: 0 28px;
  }
  .site-header {
    padding: 0 28px;
  }
  .site-header nav {
    gap: 16px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }
  .theater {
    grid-template-columns: minmax(0,1fr) 245px;
  }
  .chart-units {
    display: none;
  }
  .lesson-heading {
    align-items: start;
  }
  .lesson-heading h3 {
    font-size: 19px;
  }
  .scenario-control select {
    max-width: 220px;
  }
  .strategy-tabs button {
    padding: 15px 12px;
  }
  .strategy-tabs strong {
    font-size: 12px;
  }
  .market-chart {
    min-height: 250px;
  }
  .transport {
    padding: 15px;
  }
  .next-event {
    font-size: 10px;
    padding: 3px;
  }
  .speed-label span {
    display: none;
  }
  footer {
    padding: 25px 28px;
  }
}
@media(max-width:800px) {
  main {
    padding: 0 20px;
  }
  .site-header {
    padding: 0 20px;
    height: 76px;
  }
  .site-header nav {
    display: none;
  }
  .contact-button {
    font-size: 10px;
    padding: 10px;
  }
  .brand {
    font-size: 17px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 0;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-aside {
    justify-self: start;
    max-width: 520px;
  }
  .hero-aside p {
    font-size: 13px;
  }
  .principles-strip {
    font-size: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 30px;
  }
  .experience {
    padding-top: 38px;
  }
  .section-intro {
    align-items: start;
  }
  .section-intro h2 {
    font-size: 30px;
  }
  .section-intro>p {
    font-size: 10px;
  }
  .strategy-tabs {
    display: flex;
    overflow: auto;
    padding-bottom: 5px;
  }
  .strategy-tabs button {
    flex: 0 0 176px;
    min-height: 115px;
  }
  .lesson-heading {
    flex-direction: column;
    gap: 16px;
    padding: 21px;
  }
  .scenario-control {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .scenario-control label {
    margin: 0;
    flex-shrink: 0;
  }
  .scenario-control select {
    max-width: none;
    width: 100%;
  }
  .theater {
    grid-template-columns: 1fr;
  }
  .market-chart {
    min-height: 0;
  }
  .order-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 21px;
  }
  .lanes {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 6px;
  }
  .lane-card {
    padding: 9px;
  }
  .lane-top {
    flex-wrap: wrap;
  }
  .lane-qty {
    display: none;
  }
  .lane-status {
    font-size: 8px;
    flex-wrap: wrap;
  }
  .lane-status small {
    margin: 0;
  }
  .position-volume {
    max-width: 300px;
  }
  .volume-bar,.position-totals {
    max-width: 350px;
  }
  .trailing-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .trailing-stats small {
    margin: 0;
  }
  .panel-note {
    font-size: 10px;
    max-width: 620px;
  }
  .order-panel .attempts,.hedge-sides {
    max-width: 340px;
  }
  .economy {
    margin-top: 17px;
  }
  .event-caption {
    min-height: 104px;
  }
  .event-timeline {
    padding: 19px;
  }
  .comparison-section {
    padding: 50px 0;
  }
  .comparison-scroll table {
    min-width: 800px;
  }
  .control-section {
    padding: 30px;
  }
  .control-section h2 {
    font-size: 30px;
  }
  .control-cards {
    gap: 22px;
  }
  .control-cards h3 {
    font-size: 14px;
  }
  .control-cards p {
    font-size: 11px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 0;
  }
  .faq-section h2 br {
    display: none;
  }
  .bottom-cta h2 {
    font-size: 28px;
  }
  footer {
    flex-wrap: wrap;
    padding: 23px 20px;
    gap: 20px;
  }
  footer>span {
    margin: 0;
  }
  .assumptions>div {
    grid-template-columns: 1fr;
  }
}
@media(max-width:480px) {
  main {
    padding: 0 14px;
  }
  .site-header {
    padding: 0 14px;
    gap: 8px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
  }
  .header-actions {
    gap: 6px;
  }
  .theme-button {
    font-size: 20px;
    padding: 4px;
  }
  .contact-button {
    max-width: 105px;
    line-height: 1.5;
    padding: 7px 9px;
    font-size: 9px;
  }
  .hero {
    padding-top: 29px;
  }
  .hero h1 {
    font-size: 35px;
    letter-spacing: -1.6px;
    line-height: 1.15;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-aside p {
    font-size: 12px;
  }
  .hero-aside .primary-link {
    margin-top: 19px;
    padding: 14px 18px;
    font-size: 12px;
  }
  .principles-strip {
    display: grid;
    gap: 10px;
  }
  .section-intro {
    display: block;
  }
  .section-intro h2 {
    font-size: 29px;
  }
  .section-intro>p {
    margin-top: 15px;
    font-size: 11px;
  }
  .section-intro>p br {
    display: none;
  }
  .strategy-tabs button {
    flex-basis: 160px;
  }
  .lesson-heading {
    padding: 18px;
  }
  .lesson-heading h3 {
    font-size: 19px;
  }
  .lesson-heading p:not(.eyebrow) {
    font-size: 11px;
  }
  .scenario-control {
    display: block;
  }
  .scenario-control label {
    margin-bottom: 7px;
  }
  .chart-header {
    padding: 16px 12px;
    font-size: 9px;
  }
  .chart-header strong {
    font-size: 10px;
  }
  .chart-header label {
    gap: 5px;
  }
  .market-chart {
    width: calc(100% - 4px);
    margin-left: 2px;
    min-height: 218px;
  }
  .legend {
    padding: 0 13px 13px;
    gap: 10px;
    font-size: 8px;
  }
  .event-caption {
    padding: 15px 13px;
    gap: 9px;
    min-height: 141px;
  }
  .event-caption strong {
    font-size: 13px;
  }
  .event-caption p {
    font-size: 10px;
  }
  .caption-icon {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .transport {
    padding: 13px;
  }
  .transport-buttons {
    gap: 6px;
    flex-wrap: wrap;
  }
  .play {
    font-size: 11px;
    min-width: 100px;
    padding: 11px 12px;
  }
  .next-event {
    font-size: 9px;
    max-width: 99px;
    text-align: left;
    line-height: 1.5;
  }
  .speed-label {
    margin-left: auto;
  }
  .speed-label select {
    font-size: 10px;
    padding: 7px 14px 7px 5px;
  }
  .icon-button {
    width: 29px;
    height: 31px;
    font-size: 19px;
  }
  .order-panel {
    padding: 17px;
  }
  .lanes {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .lane-card {
    padding: 11px;
  }
  .lane-top strong {
    font-size: 11px;
  }
  .lane-qty {
    display: block;
    font-size: 10px;
  }
  .lane-rule {
    font-size: 9px;
  }
  .lane-status {
    font-size: 9px;
    min-height: 23px;
  }
  .lane-status small {
    font-size: 8px;
  }
  .trailing-stats {
    grid-template-columns: 1fr;
  }
  .timeline-title {
    display: block;
  }
  .timeline-title small {
    display: block;
    margin-top: 7px;
  }
  .event-rail button {
    flex-basis: 141px;
  }
  .control-section {
    padding: 27px 23px;
  }
  .control-section h2 {
    font-size: 28px;
  }
  .control-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 27px;
  }
  .control-cards h3 {
    margin: 9px 0 7px;
    font-size: 16px;
  }
  .control-cards p {
    font-size: 12px;
  }
  .control-cards article {
    border-top: 1px solid #40483f;
    padding-top: 18px;
  }
  .faq-section h2 {
    font-size: 28px;
  }
  .bottom-cta {
    display: block;
  }
  .bottom-cta .primary-link {
    margin-top: 23px;
  }
  .bottom-cta h2 {
    font-size: 29px;
  }
  footer {
    padding: 22px 15px;
  }
  footer p {
    font-size: 9px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  dialog {
    padding: 25px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
}
.hero {
  padding: 35px 0 30px;
}
.hero h1 {
  font-size: clamp(34px,3.35vw,49px);
  margin-top: 18px;
}
.experience {
  padding-top: 27px;
}
.experience>.section-intro {
  margin-bottom: 20px;
}
.experience>.section-intro h2 {
  font-size: 27px;
  margin-top: 10px;
}
.experience>.section-intro h2 br {
  display: none;
}
.experience>.section-intro>p {
  font-size: 10px;
}
.strategy-tabs button {
  min-height: 105px;
  padding-top: 14px;
  padding-bottom: 13px;
}
.chart-play {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 10px;
  border-radius: 5px;
  padding: 7px 12px;
  margin-left: auto;
  white-space: nowrap;
}
.chart-header {
  scroll-margin-top: 15px;
}
.chart-header>div {
  flex-shrink: 0;
}
@media(max-width:1100px) {
  .theater {
    grid-template-columns: 1fr;
  }
  .order-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .lanes {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .position-volume,.volume-bar,.position-totals {
    max-width: 350px;
  }
  .trailing-stats {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .market-chart {
    min-height: 0;
  }
  .transport {
    margin-top: 0;
  }
  .attempts,.hedge-sides {
    max-width: 350px;
  }
  .economy {
    margin-top: 20px;
  }
  .chart-units {
    display: none;
  }
}
@media(max-width:800px) {
  .hero h1 {
    font-size: 43px;
  }
  .hero {
    padding: 30px 0;
  }
  .experience>.section-intro h2 {
    font-size: 26px;
  }
  .experience>.section-intro h2 br {
    display: block;
  }
  .chart-play {
    margin-left: auto;
  }
}
@media(max-width:480px) {
  .hero h1 {
    font-size: 35px;
  }
  .hero {
    gap: 21px;
  }
  .experience>.section-intro>p {
    font-size: 11px;
  }
  .chart-header {
    flex-wrap: wrap;
  }
  .chart-header>div {
    flex: 1;
  }
  .chart-play {
    font-size: 9px;
    padding: 7px 9px;
  }
  .chart-header>label {
    font-size: 9px;
  }
  .lanes {
    grid-template-columns: 1fr 1fr;
  }
  .trailing-stats {
    grid-template-columns: 1fr;
  }
  .market-chart {
    min-height: 205px;
  }
  .order-label {
    font-size: 17px;
  }
  .axis {
    font-size: 15px;
  }
  .market-chart .order-label {
    display: none;
  }
}
@media(max-width:480px) {
  .market-chart .order-label {
    display: inline;
    font-size: 18px;
    paint-order: stroke;
    stroke: var(--surface);
    stroke-width: 3px;
  }
  .axis {
    font-size: 17px;
  }
  .market-chart text[fill=white] {
    font-size: 16px;
  }
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  flex-shrink: 0;
}
.language-switch button {
  background: transparent;
  color: var(--muted);
  border-radius: 3px;
  padding: 7px 8px;
  font: 600 10px Inter,Segoe UI,sans-serif;
  min-height: 30px;
}
.language-switch button[aria-pressed=true] {
  background: var(--accent);
  color: #fff;
}
.language-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media(max-width:1100px) {
  .site-header nav {
    gap: 12px;
  }
  .header-actions {
    gap: 10px;
  }
}
@media(max-width:600px) {
  .site-header {
    height: auto;
    min-height: 92px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    row-gap: 10px;
  }
  .site-header .brand {
    margin-right: auto;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .language-switch button {
    min-height: 32px;
    padding: 7px;
  }
  .contact-button {
    max-width: 105px;
  }
  .hero {
    padding-top: 25px;
  }
}
@media(max-width:380px) {
  .site-header {
    justify-content: space-between;
  }
  .site-header .brand {
    width: 100%;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .language-switch {
    margin-right: auto;
  }
}
.grid-overview {
  padding: 14px 22px 19px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.grid-overview-heading {
  font-size: 11px;
  color: var(--text);
  margin-bottom: 10px;
}
.grid-overview-heading small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.grid-levels {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}
.grid-levels>button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--page);
  text-align: left;
  padding: 10px;
  min-width: 0;
}
.grid-levels>button[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.grid-level-title {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}
.grid-level-title strong {
  font-size: 11px;
  font-weight: 600;
}
.grid-level-title>span {
  font-size: 8px;
  color: var(--muted);
}
.grid-exit {
  display: flex;
  gap: 6px;
  align-items: center;
  font: 9px Consolas,monospace;
  padding: 5px 0;
  color: var(--muted);
}
.grid-exit b {
  font-weight: 500;
  min-width: 27px;
}
.grid-exit small {
  margin-left: auto;
  font: 8px Inter,Segoe UI,sans-serif;
}
.grid-exit.open {
  color: var(--green);
}
.grid-exit.confirm {
  color: var(--accent);
}
.grid-exit.buy {
  color: var(--blue);
}
@media(max-width:800px) {
  .grid-level-title {
    flex-direction: column;
    align-items: start;
  }
  .grid-exit {
    flex-wrap: wrap;
  }
  .grid-exit small {
    display: block;
    width: 100%;
    margin: 0;
  }
}
@media(max-width:480px) {
  .grid-overview {
    padding: 12px;
  }
  .grid-levels {
    gap: 5px;
  }
  .grid-levels>button {
    padding: 7px;
  }
  .grid-level-title strong {
    font-size: 10px;
  }
  .grid-exit {
    font-size: 9px;
    gap: 3px;
  }
  .grid-exit span {
    overflow-wrap: anywhere;
  }
}
.site-header {
  height: auto;
  min-height: 96px;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header nav {
  display: flex;
  gap: 28px;
}
.site-header nav a {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a[aria-current=page] {
  border-color: var(--accent);
  color: var(--accent);
}
.header-actions {
  gap: 12px;
}
.site-header .contact-button {
  font-size: 14px;
  max-width: none;
  white-space: nowrap;
}
.site-header .register-button {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.fund-home {
  padding: 44px 0 12px;
}
.fund-heading {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: end;
}
.fund-heading h1 {
  font-size: clamp(34px,4vw,54px);
  letter-spacing: -1.5px;
  margin: 12px 0 18px;
}
.fund-description {
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}
.fund-environment {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  flex-shrink: 0;
  gap: 4px;
}
.fund-environment button {
  font-size: 14px;
  padding: 12px 16px;
  background: transparent;
  white-space: nowrap;
  border-radius: 5px;
}
.fund-environment button small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  opacity: .7;
}
.fund-environment button[aria-pressed=true] {
  background: var(--accent);
  color: #fff;
}
.fund-update {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  margin: 30px 0 18px;
  min-height: 22px;
}
.fund-update strong {
  font-size: 13px;
  font-weight: 500;
  margin-left: auto;
  color: var(--accent);
}
.fund-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.fund-dot.offline {
  background: var(--accent);
}
.fund-metrics {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 16px;
}
.fund-metric {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  min-width: 0;
}
.fund-metric>span {
  font-size: 14px;
  color: var(--muted);
}
.fund-metric>strong {
  font-size: clamp(24px,2.3vw,36px);
  font-weight: 600;
  letter-spacing: -1px;
  display: block;
  margin: 24px 0 14px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.fund-metric strong small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.fund-metric p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.fund-capital {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.fund-freshness {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 16px;
  color: var(--accent);
}
.fund-chart-panel {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.fund-chart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.fund-chart-title h2 {
  font-size: 24px;
  margin: 12px 0;
}
.fund-chart-title>div:last-child {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.fund-chart-title strong {
  display: block;
  font-size: 23px;
  color: var(--text);
  margin-top: 8px;
}
.fund-chart-empty {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 12px;
  text-align: center;
  background: linear-gradient(var(--surface) 49%,var(--line) 50%,var(--surface) 51%);
  background-size: 100% 70px;
}
.fund-chart-empty>span {
  font-size: 36px;
}
.fund-chart-empty p {
  background: var(--surface);
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.fund-accounting {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 18px 0 0;
}
.fund-bars {
  display: flex;
  gap: 8px;
  align-items: end;
  height: 210px;
  overflow-x: auto;
  padding: 18px 0;
}
.fund-bar-slot {
  flex: 1;
  min-width: 24px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.fund-bar {
  background: var(--green);
  min-width: 12px;
  margin: 0 auto 10px;
  border-radius: 3px 3px 0 0;
  max-width: 40px;
}
.fund-bar.negative {
  background: var(--accent);
}
.fund-principles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 44px;
  padding: 44px 0 32px;
}
.fund-principles article>span {
  color: var(--accent);
  font-size: 13px;
}
.fund-principles h3 {
  font-size: 18px;
  margin: 15px 0 10px;
}
.fund-principles p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.fund-history {
  font-size: 14px;
  margin-top: 14px;
}
.fund-history table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.fund-history th,.fund-history td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
.fund-history summary {
  cursor: pointer;
}
.site-header .brand {
  flex-shrink: 0;
}
footer p {
  font-size: 12px;
  line-height: 1.7;
}
footer span {
  font-size: 12px;
}
@media(max-width:1150px) {
  .site-header {
    flex-wrap: wrap;
    gap: 16px;
  }
  .site-header nav {
    margin-left: auto;
  }
  .header-actions {
    margin-left: auto;
  }
  .fund-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }
  .fund-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .fund-metric>strong {
    font-size: 32px;
  }
  .fund-update strong {
    margin-left: 0;
    width: 100%;
  }
}
@media(max-width:650px) {
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 28px;
  }
  .header-actions {
    flex-wrap: wrap;
    justify-content: end;
  }
  .header-actions .contact-button {
    padding: 10px 12px;
    min-height: 42px;
    font-size: 13px;
  }
  .site-header .brand {
    margin-right: auto;
  }
  .site-header {
    gap: 15px;
  }
  .site-header .brand small {
    font-size: 9px;
  }
  .fund-home {
    padding-top: 26px;
  }
  .fund-description {
    font-size: 15px;
  }
  .fund-metrics {
    gap: 10px;
  }
  .fund-metric {
    padding: 20px 15px;
  }
  .fund-metric>strong {
    font-size: 26px;
    margin: 18px 0 12px;
  }
  .fund-chart-panel {
    padding: 20px 16px;
  }
  .fund-chart-title {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .fund-chart-title>div:last-child {
    text-align: left;
  }
  .fund-principles {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
  }
  .fund-principles article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .fund-principles h3 {
    display: inline;
    margin-left: 12px;
  }
  .fund-chart-title h2 {
    font-size: 23px;
  }
  .fund-environment {
    width: 100%;
  }
  .fund-environment button {
    flex: 1;
    padding: 11px;
    font-size: 13px;
  }
}
@media(max-width:400px) {
  .fund-metrics {
    grid-template-columns: 1fr;
  }
  .fund-metric>strong {
    font-size: 34px;
  }
  .site-header .brand {
    width: auto;
  }
  .header-actions {
    width: 100%;
    justify-content: start;
  }
  .header-actions .language-switch {
    margin-left: auto;
    margin-right: 0;
  }
}
.fund-bars {
  align-items: stretch;
  height: 210px;
  background: linear-gradient(to bottom,transparent 107px,var(--line) 107px,var(--line) 108px,transparent 108px);
}
.fund-bar-slot {
  position: relative;
  height: 190px;
  font-size: 12px;
}
.fund-bar {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 100px;
  margin: 0 auto;
}
.fund-bar.negative {
  bottom: auto;
  top: 90px;
  border-radius: 0 0 3px 3px;
}
.fund-bar-slot>span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.fund-trade-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px 30px;
}
.fund-trade-panel h2 {
  font-size: 21px;
  margin: 0 0 22px;
}
.fund-trade-counts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.fund-trade-counts>div {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.fund-trade-counts span,.fund-day-details span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.fund-trade-counts strong {
  display: block;
  font-size: 32px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.fund-trade-panel p,.fund-chart-hint,.fund-chart-range {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.fund-trade-panel p {
  margin: 20px 0 0;
}
.fund-chart-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0;
}
.fund-chart-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.daily-swatch:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
}
.total-swatch:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
}
.fund-chart-hint {
  color: var(--text);
  margin: 12px 0 20px;
}
.fund-composed-chart {
  width: 100%;
  overflow: hidden;
}
.fund-composed-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
}
.fund-composed-chart text {
  font-size: 12px;
  fill: var(--muted);
}
.fund-grid-line {
  stroke: var(--line);
  stroke-dasharray: 3 4;
}
.fund-zero-line {
  stroke: var(--muted);
  stroke-width: .7;
}
.fund-cumulative-area {
  fill: var(--green);
  opacity: .08;
  pointer-events: none;
}
.fund-cumulative-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  pointer-events: none;
}
.fund-daily-bar {
  fill: var(--accent);
  pointer-events: none;
}
.fund-day-target {
  fill: transparent;
  cursor: pointer;
  outline: none;
}
.fund-day-target:hover,.fund-day-target:focus {
  fill: var(--accent);
  fill-opacity: .12;
}
.fund-day-target:focus {
  stroke: var(--accent);
  stroke-width: 1;
}
.fund-selected-line {
  stroke: var(--muted);
  stroke-dasharray: 4 4;
  pointer-events: none;
}
.fund-selected-dot {
  fill: var(--green);
  pointer-events: none;
}
.fund-day-picker {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 12px 0 16px;
}
.fund-day-picker label {
  font-size: 13px;
  color: var(--muted);
}
.fund-day-picker select {
  display: block;
  min-height: 44px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 5px;
  font: inherit;
}
.fund-day-picker>div {
  display: flex;
  gap: 8px;
}
.fund-day-picker button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
}
.fund-day-picker button:disabled {
  opacity: .3;
  cursor: default;
}
.fund-day-details {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 20px;
}
.fund-day-details strong {
  display: block;
  font-size: 25px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.fund-day-details small {
  font-size: 12px;
}
.fund-history {
  overflow-x: auto;
}
.fund-chart-range {
  margin-bottom: 0;
}
@media(max-width:650px) {
  .fund-trade-panel {
    padding: 20px 16px;
  }
  .fund-trade-counts {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .fund-day-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fund-day-details>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .fund-day-details strong {
    margin: 0;
    font-size: 22px;
  }
  .fund-day-details span {
    max-width: 50%;
  }
  .fund-chart-legend {
    gap: 12px;
    flex-direction: column;
  }
  .fund-composed-chart svg {
    min-height: 160px;
  }
  .fund-trade-panel p {
    font-size: 12px;
  }
}
.trailing-comparison {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.trailing-comparison>strong {
  font-size: 16px;
}
.trailing-comparison>p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0 18px;
}
.trailing-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.trailing-comparison article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}
.trailing-comparison article>b {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
}
.trailing-comparison article>span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin: 10px 0;
}
.trailing-comparison em {
  font-style: normal;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.trailing-own-stop {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 15px;
}
.trailing-own-stop small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.trailing-own-stop strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
@media(max-width:650px) {
  .trailing-comparison-grid {
    grid-template-columns: 1fr;
  }
  .trailing-comparison article>span {
    font-size: 13px;
  }
}
.grid-restart-panel h3 {
  font-size: 24px;
  line-height: 1.2;
}
.grid-restart-panel>p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.restart-price {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
}
.restart-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  gap: 12px;
}
.restart-level>span {
  color: var(--muted);
  text-decoration: line-through;
}
.restart-level>b {
  color: var(--accent);
}
.restart-level strong {
  font-size: 24px;
  color: var(--blue);
}
.restart-level.cancel strong {
  opacity: .3;
}
.restart-level.place strong {
  animation: restart-order-in .8s ease both;
}
.restart-level:nth-of-type(3) strong {
  animation-delay: .3s;
}
.restart-level:nth-of-type(4) strong {
  animation-delay: .6s;
}
@keyframes restart-order-in {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media(prefers-reduced-motion:reduce) {
  .restart-level.place strong {
    animation: none;
  }
}
.community-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}
.community-section h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 12px 0;
}
.community-section p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 650px;
}
.community-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.community-actions .contact-button {
  max-width: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media(max-width:800px) {
  .community-section {
    padding: 28px 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .community-section h2 {
    font-size: 24px;
  }
  .community-actions {
    width: 100%;
  }
  .community-actions a {
    flex: 1;
  }
}
:is(button,[role=button],a.btn,a.contact-button,a.play,a.bingx-referral-link):not(:disabled):not([aria-disabled=true]) {
  border: 1px solid #df7459!important;
  border-radius: 12px!important;
  box-shadow: 0 0 0 1px #df74591f,0 0 10px #df745933!important;
}
:is(button,[role=button],a.btn,a.contact-button,a.play,a.bingx-referral-link):not(:disabled):not([aria-disabled=true]):hover {
  box-shadow: 0 0 0 1px #df74594d,0 0 16px #df745966!important;
}
:is(button,[role=button],a.btn,a.contact-button,a.play,a.bingx-referral-link):focus-visible {
  outline: 2px solid #df7459;
  outline-offset: 3px;
}
.learning-hub,.learning-article {
  padding: 38px 0 56px;
}
.learning-article {
  max-width: 820px;
  margin: auto;
}
.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.guide-breadcrumb a,.guide-next a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.learning-hub h1,.learning-article h1 {
  font-size: clamp(30px,3.5vw,46px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.guide-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
}
.learning-article section {
  margin-top: 34px;
}
.learning-article h2,.learning-related h2,.learning-preview h2 {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.learning-article section p {
  font-size: 16px;
  line-height: 1.85;
}
.guide-next {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 38px;
  line-height: 1.6;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}
.guide-cards>a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}
.guide-cards>a:hover {
  border-color: var(--accent);
}
.guide-cards h3 {
  font-size: 19px;
  line-height: 1.45;
}
.guide-cards p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.guide-cards span {
  font-size: 13px;
  color: var(--accent);
  margin-top: auto;
  padding-top: 8px;
}
.learning-related,.learning-preview {
  padding: 32px 0 52px;
  border-top: 1px solid var(--line);
}
.learning-preview>a {
  color: var(--accent);
  text-decoration: underline;
}
.site-header nav {
  flex-wrap: wrap;
  row-gap: 12px;
}
@media(max-width:1000px) {
  .guide-cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .site-header {
    height: auto;
    min-height: 91px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .site-header nav {
    justify-content: center;
  }
}
@media(max-width:600px) {
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .guide-cards>a {
    padding: 20px;
  }
  .learning-hub,.learning-article {
    padding-top: 24px;
  }
  .learning-article section p {
    font-size: 16px;
  }
  .guide-lead {
    font-size: 16px;
  }
  .site-header nav {
    display: flex!important;
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
  }
  .learning-related h2,.learning-preview h2 {
    font-size: 23px;
  }
}
.creation-return-note {
  padding: 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
}
.hcx-performance,.hcx-closures {
  margin: 22px 0;
  color: var(--text-primary,var(--text));
  min-width: 0;
}
.hcx-performance>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hcx-performance h2,.hcx-closures h2 {
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0 18px;
  letter-spacing: -.3px;
}
.hcx-performance small,.hcx-closures span,.hcx-closures p,.hcx-performance p {
  color: var(--text-muted,var(--muted));
  font-size: 11px;
  line-height: 1.7;
}
.hcx-periods {
  display: flex;
  gap: 5px;
}
.hcx-periods button {
  border: 1px solid var(--border-light,var(--line));
  border-radius: 7px;
  background: var(--bg-elevated,var(--surface));
  color: inherit;
  padding: 9px 13px;
  font-size: 11px;
}
.hcx-periods button[aria-pressed=true] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.hcx-performance-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.hcx-performance-grid article,.hcx-closures {
  border: 1px solid var(--border-light,var(--line));
  border-radius: 14px;
  padding: 24px;
  background: var(--bg-elevated,var(--surface));
}
.hcx-performance h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  margin: 0;
}
.hcx-performance h3 svg {
  color: var(--accent);
}
.hcx-performance article>strong {
  display: block;
  font-size: 34px;
  font-weight: 500;
  margin-top: 22px;
  letter-spacing: -1px;
  color: var(--success,var(--green));
  font-variant-numeric: tabular-nums;
}
.hcx-performance article>strong.is-negative {
  color: var(--danger,var(--red));
}
.hcx-performance details {
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-muted,var(--muted));
  margin-top: 15px;
}
.hcx-performance summary {
  cursor: pointer;
}
.hcx-closures>div {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.hcx-closures article {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.hcx-closures strong {
  display: block;
  font-size: 28px;
  font-weight: 550;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}
.hcx-closures>p {
  margin: 20px 0 0;
}
@media(max-width:800px) {
  .hcx-performance-grid {
    grid-template-columns: 1fr;
  }
  .hcx-closures {
    padding: 18px;
  }
  .hcx-closures article {
    padding-left: 9px;
  }
  .hcx-closures strong {
    font-size: 22px;
  }
  .hcx-closures span {
    font-size: 10px;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .hcx-performance-grid article {
    animation: hcx-rise .45s both;
  }
  .hcx-performance-grid article:nth-child(2) {
    animation-delay: .06s;
  }
  .hcx-performance-grid article:nth-child(3) {
    animation-delay: .12s;
  }
}
@keyframes hcx-rise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hcx-scenario {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 19px;
  border: 1px solid var(--border-light,var(--line));
  border-radius: 12px;
  margin-bottom: 18px;
}
.hcx-scenario label {
  font-size: 12px;
}
.hcx-scenario small {
  display: block;
  margin-top: 5px;
}
.hcx-scenario-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hcx-deposit {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light,var(--line));
  border-radius: 8px;
  padding: 9px 12px;
}
.hcx-deposit:focus-within {
  border-color: var(--accent);
}
.hcx-deposit input {
  background: transparent;
  color: inherit;
  border: 0;
  width: 125px;
  max-width: 100%;
  font: inherit;
  font-weight: 600;
}
.hcx-deposit span {
  font-size: 10px;
  color: var(--text-muted,var(--muted));
}
.hcx-presets {
  display: flex;
  gap: 5px;
}
.hcx-presets button {
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted,var(--muted));
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.hcx-presets button[aria-pressed=true] {
  border-color: var(--border-light,var(--line));
  background: var(--bg-hover,var(--soft));
  color: inherit;
}
.hcx-performance-grid article {
  min-width: 0;
}
.hcx-daily {
  padding: 28px 0 24px;
  min-height: 190px;
}
.hcx-daily>span,.hcx-projection span,.hcx-comparison span {
  color: var(--text-muted,var(--muted));
  font-size: 11px;
}
.hcx-daily>strong {
  display: block;
  font-size: 39px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 500;
  color: var(--success,var(--green));
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}
.hcx-daily>small {
  display: block;
  font-size: 10px;
  margin-top: 9px;
}
.hcx-daily>p {
  margin: 17px 0 0;
}
.hcx-daily .hcx-coverage {
  color: var(--accent);
}
.hcx-projection {
  border-top: 1px solid var(--border-light,var(--line));
  padding-top: 23px;
}
.hcx-projection>div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.hcx-projection>div:first-child>small {
  font-size: 9px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 5px;
}
.hcx-projection>strong {
  display: block;
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 500;
  line-height: 1.2;
  margin: 12px 0 5px;
  font-variant-numeric: tabular-nums;
}
.hcx-projection>p {
  margin: 0;
}
.hcx-final {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  padding: 13px 0;
}
.hcx-final b {
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.hcx-comparison {
  border-top: 1px solid var(--border-light,var(--line));
  padding-top: 13px;
  margin-top: 10px;
}
.hcx-comparison>div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  align-items: baseline;
}
.hcx-comparison b {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hcx-comparison .hcx-bonus {
  border-top: 1px dashed var(--border-light,var(--line));
  padding-top: 12px;
  margin-top: 14px;
}
.hcx-bonus b {
  color: var(--success,var(--green));
}
.hcx-comparison-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
  font-size: 11px;
  color: var(--text-muted,var(--muted));
  cursor: pointer;
}
.hcx-comparison-toggle input {
  accent-color: var(--accent);
}
@media(max-width:1100px) {
  .hcx-scenario {
    align-items: flex-start;
    flex-direction: column;
  }
  .hcx-daily>strong {
    font-size: 33px;
  }
  .hcx-comparison>div {
    flex-wrap: wrap;
    gap: 4px;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .hcx-performance-grid article {
    transition: border-color .3s,transform .3s;
  }
  .hcx-performance-grid article:hover {
    border-color: var(--success,var(--green));
    transform: translateY(-3px);
  }
}
.hcx-starting-balance {
  margin-top: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light,var(--line));
}
.hcx-starting-balance>small {
  flex-basis: 100%;
}
.investor-create-dialog>.action-row,.investor-create-dialog form>.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.strategy-choice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 24px 0;
}
.strategy-choice-card {
  position: relative;
}
.strategy-choice-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  font: inherit;
  color: var(--accent);
}
.strategy-choice-action:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.strategy-choice-action:focus-visible {
  outline: none;
}
.strategy-choice-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.strategy-choice-animation {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.7;
}
.strategy-choice-performance {
  margin-top: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}
.strategy-choice-performance>span,.strategy-choice-performance small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}
.strategy-choice-performance strong {
  display: block;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.8px;
  margin: 5px 0;
  color: var(--text-primary);
}
.strategy-choice-card {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .3s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .3s;
  animation: strategy-step-in .45s both;
}
.strategy-choice-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px #17191814;
}
.strategy-choice-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.strategy-choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.strategy-choice-top>span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}
.strategy-choice-top small {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.strategy-choice-card h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 24px 0 10px;
  font-weight: 550;
}
.strategy-choice-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 22px;
  flex: 1;
}
.strategy-choice-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  gap: 10px;
}
.strategy-choice-bottom svg {
  transition: transform .25s;
}
.strategy-choice-card:hover .strategy-choice-bottom svg {
  transform: translate(2px,-2px);
}
.strategy-choice-action {
  font-size: 11px;
  color: var(--accent);
  margin-top: 16px;
}
.investor-create-dialog {
  animation: strategy-dialog-in .3s cubic-bezier(.22,1,.36,1) both;
}
.investor-create-dialog.strategy-picker {
  width: min(920px,calc(100vw - 32px));
  max-width: 920px;
}
.investor-create-dialog::backdrop {
  background: #10181180;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.strategy-wizard-step {
  animation: strategy-step-in .35s both;
}
.strategy-wizard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
}
.strategy-wizard-heading strong {
  font-size: 16px;
  color: var(--text-primary);
}
.strategy-wizard-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin: 12px 0;
}
.strategy-wizard-progress [aria-current=step] {
  color: var(--accent);
  font-weight: 650;
}
.strategy-wizard-progress span+span:before {
  content: "→";
  margin-right: 10px;
  color: var(--text-muted);
}
@keyframes strategy-step-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes strategy-dialog-in {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media(max-width:680px) {
  .strategy-choice-grid {
    grid-template-columns: 1fr;
  }
  .strategy-choice-card {
    padding: 18px;
  }
  .strategy-choice-card h3 {
    margin-top: 14px;
  }
  .strategy-choice-card p {
    margin-bottom: 14px;
  }
  .strategy-wizard-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media(prefers-reduced-motion:reduce) {
  .strategy-choice-card,.strategy-choice-bottom svg,.strategy-wizard-step,.investor-create-dialog {
    animation: none;
    transition: none;
  }
  .strategy-choice-card:hover,.strategy-choice-card:hover .strategy-choice-bottom svg {
    transform: none;
  }
}
.strategy-choice-theory {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}
.strategy-choice-theory b {
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}
.strategy-choice-performance>small {
  display: block;
  margin-top: 7px;
}
.average-daily-return {
  border-top: 1px solid var(--line,var(--border-color,#566058));
  padding: 12px 0 0;
  margin-top: 12px;
  min-width: 0;
}
.average-daily-return h2 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: normal;
  margin: 0 0 8px;
}
.average-daily-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.average-daily-value strong {
  font-size: 26px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.average-daily-value small {
  font-size: 12px;
  color: var(--text-secondary);
}
.average-daily-return p {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0;
  color: var(--muted,var(--text-secondary,#8b978f));
}
.average-daily-return summary {
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.average-daily-return details p {
  max-width: 760px;
}
.fund-home>.average-daily-return {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  background: var(--surface);
}
.hcx-welcome {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 72px 0 60px;
  color: var(--text);
}
.hcx-welcome h1 {
  font-size: clamp(34px,4.25vw,58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -2.4px;
  margin: 24px 0;
}
.hcx-welcome h1>span {
  color: var(--accent);
}
.hcx-welcome-copy>p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 430px;
}
.hcx-welcome-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 26px 0;
  font-size: 12px;
}
.hcx-welcome-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
.hcx-welcome-trust {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  flex-wrap: wrap;
}
.hcx-welcome-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hcx-welcome-trust svg {
  color: var(--green);
}
.hcx-orbit {
  position: relative;
  aspect-ratio: 440/390;
  min-width: 0;
}
.hcx-orbit-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse,#0008,transparent 70%);
  mask-image: radial-gradient(ellipse,#0008,transparent 70%);
}
.hcx-orbit>svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hcx-orbit-guide {
  stroke: var(--line);
  fill: none;
  stroke-width: 1.5;
}
.hcx-orbit-flow {
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 12 130;
}
.hcx-orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: #202520;
  color: #f3f2ed;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 37px;
  font-weight: 500;
  box-shadow: 0 16px 45px #0002;
  border: 1px solid #3c433d;
}
.hcx-orbit-center small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #b7bfb8;
}
.hcx-orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--surface);
  border-radius: 11px;
  font-size: 11px;
  box-shadow: 0 8px 24px #00000008;
}
.hcx-orbit-node svg {
  color: var(--accent);
}
.hcx-orbit-node small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.hcx-orbit-account {
  left: 0;
  top: 10%;
}
.hcx-orbit-api {
  right: 0;
  top: 43%;
}
.hcx-orbit-strategy {
  left: 10%;
  bottom: 8%;
}
@media(max-width:800px) {
  .hcx-welcome {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 24px;
  }
  .hcx-welcome h1 {
    font-size: 46px;
  }
  .hcx-orbit {
    max-width: 440px;
    width: 100%;
    margin: auto;
  }
  .hcx-welcome-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .hcx-welcome-copy,.hcx-orbit {
    animation: hcx-welcome-in .8s both;
  }
  .hcx-orbit {
    animation-delay: .1s;
  }
  .hcx-orbit-flow {
    animation: hcx-orbit-flow 15s linear infinite;
  }
  .hcx-orbit-center {
    animation: hcx-orbit-breathe 7s ease-in-out infinite;
  }
}
@keyframes hcx-orbit-flow {
  to {
    stroke-dashoffset: -568;
  }
}
@keyframes hcx-orbit-breathe {
  50% {
    box-shadow: 0 22px 60px #9f452f26;
  }
}
@keyframes hcx-welcome-in {
  0% {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
:root {
  --text-primary: var(--text);
  --text-muted: var(--muted);
  --text-secondary: var(--muted);
  --border-light: var(--line);
  --bg-elevated: var(--surface);
  --bg-soft: var(--card);
  --success: var(--green);
  --danger: var(--red);
}
.fund-heading h2 {
  font-size: clamp(28px,3vw,40px);
  font-weight: 500;
  letter-spacing: -1px;
}
.welcome-strategies,.welcome-steps {
  padding: 56px 0 18px;
  scroll-margin-top: 100px;
}
.welcome-strategies h2,.welcome-steps h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
}
.welcome-steps>div {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 28px;
  margin-top: 32px;
}
.welcome-steps article {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.welcome-steps article>span {
  color: var(--accent);
  font-size: 12px;
}
.welcome-steps h3 {
  font-size: 17px;
  font-weight: 500;
}
.welcome-steps p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.fund-metric,.fund-chart-panel,.fund-trade-panel,.fund-principles article,.community-section {
  border-radius: 14px;
}
.fund-trade-counts strong {
  font-weight: 550;
}
.fund-chart-panel {
  margin-top: 28px;
}
.fund-environment button,.contact-button {
  border-radius: 8px;
  transition: background .2s,transform .2s;
}
.contact-button:hover {
  transform: translateY(-2px);
}
@media(prefers-reduced-motion:no-preference) {
  .fund-metric,.fund-trade-panel,.fund-chart-panel,.welcome-steps article {
    animation: hcx-rise .6s both;
  }
  .fund-metric:nth-child(2) {
    animation-delay: .05s;
  }
  .fund-metric:nth-child(3) {
    animation-delay: .1s;
  }
  .fund-metric:nth-child(4) {
    animation-delay: .15s;
  }
}
@media(prefers-reduced-motion:reduce) {
  .contact-button:hover {
    transform: none;
  }
  .contact-button {
    transition: none;
  }
}
@media(max-width:800px) {
  .welcome-steps>div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .welcome-strategies h2,.welcome-steps h2 {
    font-size: 27px;
  }
}
.bingx-referral {
  display: grid;
  grid-template-columns: minmax(0,1fr) 204px;
  align-items: center;
  gap: 32px;
  padding: 28px;
  margin: 28px 0;
  border: 1px solid var(--line, var(--border-color, #566058));
  border-radius: 8px;
  background: var(--surface, var(--bg-card));
  color: var(--ink, var(--text-primary));
}
.bingx-referral .bingx-referral-eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
}
.bingx-referral h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: normal;
  margin: 12px 0;
}
.bingx-referral p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
}
.bingx-referral .bingx-referral-note {
  font-size: 12px;
  color: var(--muted, var(--text-secondary));
}
.bingx-referral-link,.bingx-referral-code button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 5px;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.bingx-referral-link {
  background: #a3422c;
  color: #fff;
  margin: 10px 0;
}
.bingx-referral-link:hover {
  background: #853824;
}
.bingx-referral-code {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
}
.bingx-referral-code span {
  font-size: 13px;
}
.bingx-referral-code code {
  font-size: 20px;
  letter-spacing: .1em;
  -webkit-user-select: all;
  user-select: all;
}
.bingx-referral-code button {
  border: 1px solid var(--line, var(--border-color, #566058));
  background: transparent;
  color: inherit;
}
.bingx-referral a:focus-visible,.bingx-referral button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.bingx-referral-qr {
  margin: 0;
  text-align: center;
  max-width: 204px;
}
.bingx-referral-qr a {
  display: block;
  width: 204px;
  padding: 12px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 8px;
}
.bingx-referral-qr img {
  display: block;
  width: 180px;
  height: auto;
  image-rendering: pixelated;
}
.bingx-referral-qr figcaption {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
}
.bingx-referral-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 56px;
}
@media(max-width:640px) {
  .bingx-referral {
    grid-template-columns: minmax(0,1fr);
    padding: 20px;
    gap: 20px;
  }
  .bingx-referral h2 {
    font-size: 23px;
  }
  .bingx-referral-section {
    padding: 0 20px;
  }
  .bingx-referral-link {
    width: 100%;
    box-sizing: border-box;
  }
}
.fund-home .fund-profit-percent {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.fund-home .fund-percent-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
/* Shared explanation stays below the chart; each value is one compact line. */
.fund-home .fund-profit-percent {
  max-width: none;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow-wrap: normal;
}
.fund-home .fund-percent-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 650px) {
  .fund-home .fund-day-details {
    gap: 14px;
    padding: 16px;
  }
  .fund-home .fund-day-details > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
  .fund-home .fund-day-details > div > span {
    max-width: none;
  }
  .fund-home .fund-day-details strong {
    text-align: right;
    white-space: nowrap;
    font-size: 20px;
  }
}
/* One coordinate system for the account → API → HC → strategy chain. */
.hcx-orbit {
  width: 100%;
  max-width: 440px;
  height: 368px;
  aspect-ratio: auto;
  margin-inline: auto;
}
.hcx-orbit > svg {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.hcx-orbit-guide, .hcx-orbit-flow {
  vector-effect: non-scaling-stroke;
}
.hcx-orbit-node {
  box-sizing: border-box;
  padding: 10px;
  gap: 8px;
}
.hcx-orbit-node > svg {
  flex-shrink: 0;
}
.hcx-orbit-node > span {
  min-width: 0;
}
.hcx-orbit-account, .hcx-orbit-api {
  top: 0;
  width: calc(50% - 12px);
  height: 68px;
}
.hcx-orbit-account {
  left: 0;
}
.hcx-orbit-api {
  right: 0;
}
.hcx-orbit-center {
  box-sizing: border-box;
  top: 140px;
  width: 108px;
  height: 108px;
  transform: translateX(-50%);
}
.hcx-orbit-strategy {
  top: 304px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  max-width: 100%;
  height: 64px;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .hcx-orbit-flow {
    display: none;
  }
}
.profit-calendar {
  --coin-stage: #ddd5c8;
  --coin-stage-light: #faf4e9;
  --coin-stage-rim: #b9a991;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(12px,2.5vw,28px);
  color: var(--text-primary,#202320);
  border: 1px solid var(--border-light,#b7b1a7);
  border-radius: 26px;
  background: radial-gradient(ellipse at 96% 90%,#c9895420,transparent 45%),linear-gradient(145deg,var(--bg-elevated,#fff),var(--bg-card,#e8e4dc));
  box-shadow: inset 0 1px 0 #ffffff75,0 18px 40px #24160c0b;
}
:root[data-theme='dark'] .profit-calendar {
  --coin-stage: #20241f;
  --coin-stage-light: #44473b;
  --coin-stage-rim: #a7a18a75;
  background: radial-gradient(ellipse at 93% 88%,#bb77491a,transparent 40%),radial-gradient(ellipse at 15% 0,#5555401c,transparent 45%),linear-gradient(140deg,#1c201b,#111612 62%,#191d17);
  border-color: #73786355;
  box-shadow: inset 0 1px 0 #e3dec315,0 20px 45px #0003;
}
.profit-calendar-header {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 24px;
}
.profit-calendar-summary {
  flex: 1 1 220px;
  min-width: 0;
  display: grid;
  gap: 6px;
}
.profit-calendar-summary>span {
  font-size: clamp(14px,1.7vw,20px);
  color: var(--text-secondary,#7b8178);
}
.profit-calendar-summary-amount {
  font-size: clamp(32px,4.5vw,54px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.15;
  color: var(--success,#69b584);
  overflow-wrap: anywhere;
}
.profit-calendar-summary-amount.is-negative {
  color: var(--danger,#df6d6d);
}
.profit-calendar-summary>small {
  font-size: 11px;
  color: var(--text-muted,#9da49e);
}
.profit-calendar-controls {
  display: flex;
  flex: 1 1 220px;
  max-width: 440px;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--border-light,#777);
  border-radius: 16px;
  background: var(--bg-elevated,#fff);
  box-shadow: inset 0 1px 1px #ffffff0a;
}
.profit-calendar .btn {
  background: var(--bg-elevated,var(--surface,#fff));
  color: var(--text-primary,var(--text,#202320));
  border: 1px solid var(--border-light,#777);
  box-shadow: none;
}
.profit-calendar-controls .btn {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  white-space: nowrap;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-size: 14px;
}
.profit-calendar-controls .btn[aria-pressed=true] {
  background: linear-gradient(135deg,#bc593d,#e3815d);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffc9a275,0 3px 12px #a94c342b;
}
.profit-calendar-controls small {
  width: 100%;
  padding: 2px 5px 0;
  color: var(--text-muted,inherit);
  text-align: right;
  font-size: 10px;
}
.profit-calendar-plot {
  position: relative;
  min-width: 0;
}
.profit-calendar-plot svg {
  width: 100%;
  height: auto;
  min-height: 260px;
  display: block;
  overflow: visible;
}
.profit-calendar svg [role=button] {
  cursor: pointer;
  outline: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.profit-calendar-focus-ring {
  opacity: 0;
}
.profit-calendar-period:focus-visible .profit-calendar-focus-ring {
  opacity: 1;
  stroke-dasharray: 3 3;
}
.profit-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
  color: var(--text-muted,inherit);
  line-height: 1.4;
  margin: 0;
}
.profit-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.profit-calendar-legend-coins:before {
  content: "";
  width: 12px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(110deg,#b26846,#efb58a,#9f5537);
  box-shadow: 0 2px 0 #874b32,0 3px 0 #cc9267;
}
.profit-calendar-legend-line:before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--success,#71b38c);
  box-shadow: 0 0 7px #69b58445;
}
.profit-calendar-period:hover .copper-coin-stack,.profit-calendar-period:focus-visible .copper-coin-stack {
  filter: brightness(1.1);
}
.profit-calendar-negative-label {
  fill: var(--danger,#df6d6d);
}
.profit-calendar-navigation {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid var(--border-light,#777);
  border-radius: 18px;
  background: linear-gradient(125deg,#ffffff07,#ffffff00);
  box-shadow: inset 0 1px 0 #ffffff06;
}
.profit-calendar-navigation label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--text-muted,inherit);
}
.profit-calendar-navigation input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  color: var(--text-primary,inherit);
  background: var(--bg-elevated,transparent);
  border: 1px solid var(--border-light,#777);
  border-radius: 10px;
  padding: 8px;
  font: inherit;
  font-size: 14px;
  margin-top: 5px;
}
.profit-calendar-navigation .btn {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border-radius: 12px;
  border-color: var(--accent,#dc7657);
  font-size: 20px;
}
.profit-calendar-navigation .btn:disabled {
  opacity: .35;
}
.profit-calendar-popup {
  position: absolute;
  top: 8px;
  box-sizing: border-box;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-elevated,var(--surface,#fff));
  color: var(--text-primary,var(--text,#202320));
  border: 1px solid var(--border-light,#777);
  box-shadow: 0 14px 32px #0003,inset 0 1px 0 #ffffff10;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
.profit-calendar-popup-date {
  display: block;
  padding-right: 26px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.profit-calendar-popup small {
  display: block;
  font-size: 11px;
  color: var(--text-muted,inherit);
  margin-top: 3px;
}
.profit-calendar-popup-close {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
  pointer-events: auto;
}
.profit-calendar-popup dl {
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.profit-calendar-popup dl>div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.profit-calendar-popup dt {
  flex-shrink: 0;
}
.profit-calendar-popup dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.profit-calendar-popup-profit {
  color: var(--accent,#dc7657);
}
.profit-calendar-popup-total {
  color: var(--success,#71b38c);
  padding-top: 7px;
  border-top: 1px solid var(--border-light,#777);
}
.profit-calendar-popup-return dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.profit-calendar-popup .profit-calendar-popup-return dd {
  text-align: left;
  font-size: 12px;
}
@media(max-width:480px) {
  .profit-calendar {
    border-radius: 20px;
  }
  .profit-calendar-header {
    gap: 16px;
    margin-bottom: 20px;
  }
  .profit-calendar-controls {
    max-width: none;
  }
  .profit-calendar-navigation {
    padding: 10px;
    gap: 8px;
  }
  .profit-calendar-legend {
    font-size: 11px;
    gap: 7px 16px;
  }
  .profit-calendar-popup {
    padding: 12px;
  }
  .profit-calendar-popup dl>div {
    gap: 4px;
  }
}
@media(max-width:360px) {
  .profit-calendar-plot svg {
    min-height: 320px;
  }
}
.profit-calendar-stack-motion {
  transform-origin: 0 0;
}
.profit-calendar-period>g {
  transition: opacity .25s ease;
}
.profit-calendar-period[aria-pressed=true] .copper-coin-stack {
  filter: brightness(1.12);
}
.profit-calendar-popup {
  animation: profit-popup-in .2s ease-out;
}
.profit-calendar-controls .btn {
  transition: background-color .2s ease,box-shadow .2s ease;
}
@keyframes profit-popup-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media(prefers-reduced-motion:reduce) {
  .profit-calendar * {
    animation: none!important;
    transition: none!important;
  }
}
.profit-calendar-scroll {
  min-width: 0;
}
.profit-calendar-scroll.is-all-time {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent,#dc7657) transparent;
}
.profit-calendar-scroll.is-all-time:focus-visible {
  outline: 2px solid var(--accent,#dc7657);
  outline-offset: 3px;
}
.profit-calendar-history-hint {
  font-size: 12px;
  color: var(--text-muted,inherit);
  line-height: 1.5;
  margin: 12px 0 0;
}
@media(max-width:480px) {
  .profit-calendar-controls {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .profit-calendar-controls small {
    grid-column: 1/-1;
    box-sizing: border-box;
  }
}
.profit-calendar-summary-values {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  min-width: 0;
}
.profit-calendar-fund-percent {
  max-width: 320px;
  font-size: clamp(16px,1.7vw,24px);
  line-height: 1.35;
  color: var(--success,#69b584);
}
.profit-calendar-fund-percent.is-negative {
  color: var(--danger,#df6d6d);
}
.profit-calendar-range {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--border-light,#777);
  border-radius: 16px;
}
.profit-calendar-range label {
  flex: 1 1 140px;
  min-width: 0;
  font-size: 12px;
  color: var(--text-muted,inherit);
}
.profit-calendar-range input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 5px;
  padding: 8px;
  border: 1px solid var(--border-light,#777);
  border-radius: 10px;
  background: var(--bg-elevated,transparent);
  color: var(--text-primary,inherit);
  font: inherit;
  font-size: 14px;
  color-scheme: light dark;
}
.profit-calendar-range .btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
}
.profit-calendar-range>small,.profit-calendar-range>p {
  flex-basis: 100%;
  font-size: 11px;
  margin: 0;
  color: var(--text-muted,inherit);
}
.profit-calendar-range>p {
  color: var(--danger,#df6d6d);
}
@media(max-width:480px) {
  .profit-calendar-range {
    gap: 10px;
    padding: 10px;
  }
  .profit-calendar-range label {
    flex-basis: calc(50% - 5px);
  }
  .profit-calendar-range .btn {
    width: 100%;
  }
}
.profit-date-field {
  flex: 1 1 230px;
  min-width: 0;
  font-size: 12px;
  color: var(--text-muted,inherit);
}
.profit-date-parts {
  display: grid;
  grid-template-columns: minmax(48px,.7fr) minmax(85px,1.5fr) minmax(68px,1fr);
  gap: 5px;
  margin-top: 5px;
}
.profit-date-parts select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 5px;
  border: 1px solid var(--border-light,#777);
  border-radius: 10px;
  background: var(--bg-elevated,transparent);
  color: var(--text-primary,inherit);
  font: inherit;
  font-size: 14px;
  color-scheme: light dark;
}
.profit-date-notice:empty {
  display: none;
}
.profit-date-notice {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
@media(max-width:480px) {
  .profit-calendar-range .profit-date-field {
    flex-basis: 100%;
  }
  .profit-calendar-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .profit-calendar-navigation .profit-date-field {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .profit-calendar-navigation .btn {
    width: 100%;
  }
}
/* Compact period selection beside chart timeframes. */
.profit-calendar {
  container-type: inline-size;
}
.profit-calendar-header {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
  align-items: center;
}
.profit-calendar-header>.profit-calendar-range {
  box-sizing: border-box;
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 10px;
  gap: 8px;
}
.profit-calendar-range .profit-date-field {
  flex: 1 1 200px;
}
.profit-calendar-range .profit-date-parts {
  grid-template-columns: 48px minmax(74px,1fr) 70px;
  gap: 4px;
}
.profit-calendar-header>.profit-calendar-controls {
  box-sizing: border-box;
  width: 100%;
  max-width: 340px;
}
.profit-calendar-header .profit-calendar-controls .btn {
  flex: 1 0 auto;
}
@container(min-width:960px) {
  .profit-calendar-header {
    grid-template-columns: minmax(0,480px) minmax(0,340px);
    justify-content: space-between;
  }
  .profit-calendar-summary {
    grid-column: 1 / -1;
  }
}
@container(min-width:1240px) {
  .profit-calendar-header {
    grid-template-columns: minmax(240px,1fr) 480px 340px;
  }
  .profit-calendar-summary {
    grid-column: auto;
  }
}
@container(max-width:479px) {
  .profit-calendar-header>.profit-calendar-controls {
    max-width: none;
  }
  .profit-calendar-range .profit-date-field {
    flex-basis: 100%;
  }
  .profit-calendar-range .btn {
    width: 100%;
  }
}
/* Compact, accessible strategy strip; detailed models stay available on demand. */
.hcx-performance>header {
  margin-bottom: 10px;
}
.hcx-performance-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hcx-performance-navigation>div {
  display: flex;
  gap: 8px;
}
.hcx-performance-navigation button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light,var(--line));
  border-radius: 8px;
  background: var(--bg-elevated,var(--surface));
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}
.hcx-performance-navigation button:disabled {
  opacity: .35;
  cursor: default;
}
.hcx-performance .hcx-performance-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  align-items: flex-start;
  scroll-snap-type: x proximity;
  scroll-padding: 2px;
  padding: 4px 2px 16px;
  scrollbar-width: auto;
  scrollbar-color: var(--accent) var(--bg-elevated,var(--surface));
}
.hcx-performance-track::-webkit-scrollbar {
  height: 10px;
}
.hcx-performance-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}
.hcx-performance-track::-webkit-scrollbar-track {
  background: var(--bg-elevated,var(--surface));
  border-radius: 8px;
}
.hcx-performance .hcx-performance-track article {
  box-sizing: border-box;
  flex: 0 0 min(320px,calc(100% - 24px));
  padding: 18px;
  scroll-snap-align: start;
  animation: none;
  transform: none;
  transition: border-color .2s;
}
.hcx-performance-track h3 {
  min-height: 36px;
  line-height: 1.5;
}
.hcx-performance-track h3 svg {
  flex-shrink: 0;
}
.hcx-performance-track .hcx-daily {
  min-height: 0;
  padding: 16px 0 0;
}
.hcx-performance-track .hcx-daily>strong {
  font-size: 32px;
}
.hcx-performance-track .hcx-daily>p {
  margin: 12px 0 0;
}
.hcx-performance-track .hcx-performance-details {
  border-top: 1px solid var(--border-light,var(--line));
  margin-top: 16px;
  padding-top: 12px;
}
.hcx-performance-track .hcx-performance-details>summary {
  color: var(--text-primary,var(--text));
  font-size: 12px;
  min-height: 28px;
  line-height: 28px;
}
.hcx-performance-track .hcx-starting-balance {
  margin-top: 8px;
}
.hcx-performance-track .hcx-projection {
  padding-top: 16px;
}
.hcx-performance-track .hcx-projection>div:first-child {
  flex-wrap: wrap;
}
.hcx-performance-track .hcx-projection>strong {
  font-size: 28px;
}
.hcx-performance-track .hcx-comparison>div {
  flex-wrap: wrap;
  gap: 4px;
}
.hcx-performance-track .hcx-coverage {
  color: var(--accent);
}
.hcx-performance-empty {
  padding: 16px 0 4px;
  min-height: 85px;
}
.hcx-performance-empty>p {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--text-primary,var(--text));
}
.hcx-performance-navigation button:focus-visible,.hcx-performance-track:focus-visible,.hcx-performance-track summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hcx-performance-slider {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 24px;
  margin: 2px 0 10px;
  accent-color: var(--accent);
  cursor: ew-resize;
}
.hcx-performance-slider:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Readable dates and the shared orange affordance for interactive controls. */
.profit-calendar-header>.profit-calendar-range {
  max-width: 560px;
}
.profit-calendar-range .profit-date-field {
  flex-basis: 250px;
}
.profit-calendar .profit-date-parts {
  grid-template-columns: 64px minmax(0,1fr) 88px;
}
.profit-calendar .profit-date-parts select {
  appearance: none;
  padding: 8px 24px 8px 8px;
  border-color: var(--accent,#dc7657);
  box-shadow: 0 0 7px #dc76571a;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23dc7657' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}
.profit-calendar button:not(:disabled) {
  border-color: var(--accent,#dc7657);
}
.profit-calendar-popup-close {
  color: var(--accent,#dc7657);
}
.profit-calendar .profit-date-parts select:hover {
  box-shadow: 0 0 10px #dc765740;
}
.profit-calendar .profit-date-parts select:focus-visible {
  outline: 2px solid var(--accent,#dc7657);
  outline-offset: 2px;
}
@container(min-width:960px) {
  .profit-calendar-header {
    grid-template-columns: minmax(0,560px) minmax(0,340px);
  }
}
@container(min-width:1240px) {
  .profit-calendar-header {
    grid-template-columns: minmax(240px,1fr) 560px 340px;
  }
}
@container(max-width:479px) {
  .profit-calendar .profit-date-parts {
    grid-template-columns: 56px minmax(0,1fr) 74px;
  }
  .profit-calendar .profit-date-parts select {
    padding-left: 6px;
    padding-right: 20px;
    background-position: right 5px center;
  }
  .profit-calendar-range .profit-date-field {
    flex-basis: 100%;
  }
}
/* Orange marks actionable controls, including collapsed calculations. */
.hcx-performance .hcx-periods button,.hcx-performance-navigation button:not(:disabled) {
  border-color: var(--accent,#dc7657);
  box-shadow: 0 0 7px #dc76571a;
}
.hcx-performance summary,.hcx-performance-track .hcx-performance-details>summary {
  color: var(--accent,#dc7657);
  text-decoration: underline;
  text-decoration-color: var(--accent,#dc7657);
  text-underline-offset: 4px;
}
.hcx-performance summary:hover {
  filter: brightness(1.15);
}
.hcx-performance summary:focus-visible {
  outline: 2px solid var(--accent,#dc7657);
  outline-offset: 2px;
}
/* Dates, apply and timeframes share one control row when space allows. */
.profit-calendar-header {
  grid-template-columns: minmax(0,1fr);
}
.profit-calendar-header>.profit-calendar-summary {
  grid-column: auto;
}
.profit-calendar-header>.profit-calendar-range {
  max-width: 620px;
}
@container(min-width:620px) {
  .profit-calendar-header>.profit-calendar-range {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
    align-items: start;
  }
  .profit-calendar-range .profit-date-field>span {
    display: block;
    line-height: 18px;
  }
  .profit-calendar-range>.btn {
    margin-top: 23px;
    white-space: nowrap;
    min-height: 44px;
    font-size: 12px;
  }
  .profit-calendar-range .profit-date-parts {
    grid-template-columns: 56px minmax(0,1fr) 78px;
  }
  .profit-calendar-range .profit-date-parts select {
    padding-left: 6px;
    padding-right: 20px;
    background-position: right 5px center;
  }
  .profit-calendar-range>small,.profit-calendar-range>p {
    grid-column: 1/-1;
    line-height: 16px;
  }
}
@container(min-width:980px) {
  .profit-calendar-header {
    grid-template-columns: minmax(0,620px) 340px;
    align-items: start;
    justify-content: space-between;
  }
  .profit-calendar-header>.profit-calendar-summary {
    grid-column: 1/-1;
  }
  .profit-calendar-header>.profit-calendar-controls {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr)) minmax(90px,1.25fr);
    padding: 10px;
    gap: 5px;
  }
  .profit-calendar-header>.profit-calendar-controls:before {
    content: "";
    grid-column: 1/-1;
    height: 18px;
  }
  .profit-calendar-header .profit-calendar-controls .btn {
    min-height: 44px;
    padding-inline: 6px;
  }
  .profit-calendar-header .profit-calendar-controls small {
    grid-column: 1/-1;
    margin-top: 3px;
    line-height: 16px;
    padding: 0;
  }
}
@container(min-width:1240px) {
  .profit-calendar-header {
    grid-template-columns: minmax(240px,1fr) 620px 340px;
    align-items: center;
  }
  .profit-calendar-header>.profit-calendar-summary {
    grid-column: auto;
  }
  .profit-calendar-header .profit-calendar-summary-amount {
    font-size: 36px;
  }
  .profit-calendar-header .profit-calendar-fund-percent {
    font-size: 16px;
  }
  .profit-calendar-header>.profit-calendar-range,.profit-calendar-header>.profit-calendar-controls {
    align-self: start;
  }
}
/* Welcome exit catalogue: eight actual modes, 4/2/1 responsive columns. */
.welcome-strategies .strategy-choice-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
@media(max-width:1199px) {
  .welcome-strategies .strategy-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px) {
  .welcome-strategies .strategy-choice-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

