/* Witness Markets · Gold client office · 24 November 2026
   Additive presentation layer. Account data, rules and actions are unchanged. */
:root {
  color-scheme: dark;
  --blue: #d8b36a;
  --ink: #f5efdf;
  --muted: #b5afa1;
  --line: #373329;
  --green: #72d3ae;
  --red: #ff959e;
  --yellow: #e8be64;
  --gold: #d8b36a;
  --panel: #141410;
  --shadow: 0 5px 24px #00000020;
}
html { background: #090909; scroll-padding-top: 100px; }
body {
  background: radial-gradient(ellipse at 85% 0, #3a2c131c, transparent 42%), #090909;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
::selection { background: #dfbd78; color: #17120a; }
button, input, select { font-family: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, .svgchart:focus-visible {
  outline: 2px solid #f0d79c;
  outline-offset: 4px;
}
.office-wrap, .office-view, .panel, .two > *, .grid > *, .rules > *,
.hero-copy, .target-detail, .account-tools { min-width: 0; }
.office-wrap { max-width: 1400px; padding: 34px 32px 28px; }
.site-header {
  height: 82px;
  padding: 0 max(32px, calc((100vw - 1336px) / 2));
  gap: clamp(28px, 4vw, 62px);
  background: #0b0b0bf5;
  border-bottom-color: #d8b36a2b;
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.wordmark { font-size: 21px; font-weight: 600; letter-spacing: -.6px; gap: 11px; }
.wordmark b { color: #d8b36a; font-size: 12px; font-weight: 500; letter-spacing: .025em; margin-left: 1px; }
.brand-symbol {
  width: 38px;
  height: 40px;
  border: 1px solid #b79552;
  border-radius: 3px;
  background: linear-gradient(140deg, #f0d494, #b5883f 49%, #e3bf70);
  box-shadow: inset 0 0 0 3px #110d075e;
  color: #21170b;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.08em;
  padding: 0;
}
.brand-symbol span { display: none; }
.main-nav { gap: 28px; }
.main-nav a { padding: 30px 0 24px; color: #b5afa1; font-size: 14px; font-weight: 500; border-bottom-width: 2px; }
.main-nav a.active { color: #efd69e; border-color: #d8b36a; }
.main-nav a:hover { color: #f5efdf; }
.header-actions { gap: 24px; }
.notification-link { color: #c4b89a; }
.notification-link b { background: #4a3a1d; color: #f5dca3; border-color: #0c0c0a; font-size: 11px; }
.avatar { background: #252015; border-color: #6d5934; color: #ead09a; }
.eyebrow { color: #c7ac76; font-size: 11px; font-weight: 500; letter-spacing: .15em; }
.toolbar-title { color: #f5efdf; font-size: 29px; font-weight: 500; letter-spacing: -.035em; margin-top: 6px; }
.account-toolbar { margin-bottom: 25px; }
.account-select-wrap label { color: #aaa597; }
.account-select-wrap select {
  min-height: 42px;
  color: #e3d8c0;
  background-color: #14130f;
  border-color: #5a4c31;
  border-radius: 4px;
  background-image: linear-gradient(45deg, transparent 50%, #d8b36a 50%), linear-gradient(135deg, #d8b36a 50%, transparent 50%);
  background-position: calc(100% - 15px) 18px, calc(100% - 11px) 18px;
  box-shadow: none;
}
.syncState { color: #ada798; font-size: 12px; }
.syncDot { width: 6px; height: 6px; background: #72d3ae; }
.evaluation-hero {
  min-height: 216px;
  padding: 30px 34px;
  border: 1px solid #7f6536;
  border-radius: 6px;
  background: linear-gradient(110deg, #1c1a13, #17140e 58%, #252013);
  box-shadow: inset 0 1px #e5c68622, 0 10px 40px #0003;
}
.evaluation-hero::before {
  background-image: linear-gradient(90deg, #17150f 10%, #17150fd6 43%, #17150f38 75%, #17150f7a), url("/gold-20261124/assets/hero-gold.webp");
  background-size: cover;
  background-position: center, 68% 46%;
  mask-image: none;
  opacity: .65;
}
.evaluation-hero::after { display: none; }
.hero-label { color: #e2c382; font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.simulationFlag { color: #c8bea7; background: #15130fa8; border-color: #796747; font-size: 11px; border-radius: 3px; }
.evaluation-hero h1 { color: #f6efd9; font-size: clamp(28px, 3.1vw, 42px); letter-spacing: -.045em; font-weight: 500; line-height: 1.2; margin: 15px 0 11px; }
.hero-account { color: #c9bfa9; font-size: 13px; flex-wrap: wrap; }
.hero-divider { background: #887453; }
.evaluation-hero p { color: #bdb39e; font-size: 14px; margin-top: 14px; }
.hero-action { min-width: 230px; }
.trade-primary {
  min-height: 50px;
  border: 1px solid #e0be7b;
  border-radius: 3px;
  background: linear-gradient(110deg, #bb914c, #efd397 48%, #d3ac61);
  color: #21180b;
  font-weight: 650;
  box-shadow: inset 0 1px #ffedba, 0 4px 18px #0003;
}
.trade-primary:hover { background: linear-gradient(110deg, #d1a75d, #f8dfaa 48%, #e4bd72); transform: none; }
.hero-action > span { color: #c2b69d; font-size: 12px; }
.badge { background: #29251b; border-color: #625338; color: #d7c49b; font-size: 12px; border-radius: 3px; }
.badge.active, .hero-account .badge.active { background: #102d23; border-color: #3b715b; color: #9be0c4; }
.badge.breached, .hero-account .badge.breached { background: #32191f; border-color: #8b4650; color: #ffb6bb; }
.badge.passed, .hero-account .badge.passed { background: #342a16; border-color: #927039; color: #f1d190; }
.hero-account .badge { font-size: 12px; padding: 3px 8px; background: #29251b; border-color: #625338; color: #d7c49b; }
.overview-metrics { gap: 15px; margin: 22px 0; }
.metric-card {
  background: linear-gradient(145deg, #181711, #121310);
  border-color: #433b2b;
  border-radius: 5px;
  padding: 21px 22px;
}
.metric-top { color: #beb6a4; font-size: 14px; }
.metric-symbol { color: #c8aa6c; background: #c4a66a10; border: 1px solid #b28b4020; border-radius: 4px; flex: 0 0 27px; }
.buffer-card .metric-symbol { background: #c4a66a12; color: #e2bd73; }
.metric-card > strong { font-size: clamp(25px, 2.1vw, 31px); color: #f5efdf; letter-spacing: -.045em; font-weight: 500; margin: 12px 0 7px; overflow-wrap: anywhere; white-space: normal; }
.metric-card small { color: #a9a292; font-size: 12px; }
.metric-card small span { color: #d2c7ad; }
.panel { background: #141410; border-color: #39352b; border-radius: 5px; box-shadow: var(--shadow); }
.evaluation-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.panel-heading { padding: 24px 25px 0; }
.panel-heading h2 { color: #eee7d6; font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.panel-heading .eyebrow { color: #ad9464; font-size: 11px; letter-spacing: .12em; }
.phase-chip { background: #292316; border-color: #655233; color: #e1c386; border-radius: 3px; font-size: 12px; }
.challenge-body { grid-template-columns: 160px minmax(0, 1fr); gap: 26px; padding: 30px 26px 25px; }
.target-ring { width: 160px; height: 160px; background: conic-gradient(from 0deg, #d8b36a var(--progress, 0%), #353024 0); box-shadow: 0 0 0 1px #c9a55e24, 0 0 35px #c6a0550a; }
.target-ring::before { inset: 12px; background: radial-gradient(ellipse at center, #222017, #141410 75%); box-shadow: 0 0 0 5px #141410; }
.target-ring strong { color: #f0d79f; font-size: 32px; font-weight: 500; }
.target-ring span { color: #b7ad97; font-size: 12px; }
.detail-label, .days-row .detail-label { color: #b9b19f; font-size: 13px; }
.target-amount { white-space: normal; }
.target-amount > b { color: #f3e5c5; font-size: 28px; font-weight: 500; letter-spacing: -.04em; overflow-wrap: anywhere; }
.target-amount > span { color: #b8ac92; font-size: 14px; display: block; margin-top: 2px; }
.progress { background: #353024; height: 5px; }
.bar { background: linear-gradient(90deg, #ad8138, #efd294); }
.target-caption { flex-wrap: wrap; gap: 4px 12px; color: #aaa18e; font-size: 12px; }
.target-caption > span:last-child { color: #c9ae78; }
.phase-steps { color: #a69e8d; font-size: 12px; gap: 7px; margin-top: 22px; flex-wrap: wrap; white-space: normal; }
.phase-steps > span:not(.phase-connector) { gap: 5px; white-space: nowrap; }
.phase-steps i { background: #252319; border-color: #49412f; color: #c7b895; font-size: 11px; height: 20px; width: 20px; flex: 0 0 20px; }
.phase-steps .current { color: #ecd198; }
.phase-steps .current i { background: #d8b36a; border-color: #dfc084; color: #21190b; box-shadow: 0 0 0 3px #d8b36a12; }
.phase-connector { background: #4c422d; min-width: 5px; }
.days-row { border-top-color: #393329; flex-wrap: wrap; }
.days-row b { color: #e9d4a6; font-size: 14px; }
.day-markers { flex-wrap: wrap; }
.day-markers span { background: #1c1c16; border-color: #494333; color: #ada18a; font-size: 12px; width: 27px; height: 27px; }
.day-markers .done { background: #3a301c; border-color: #91723c; color: #f2d794; }
.progress-note { color: #aba28f; font-size: 12px; line-height: 1.7; }
.risk-panel .panel-heading { gap: 10px; }
.risk-indicator { color: #98d8bb; background: #15291f; border-color: #365f49; font-size: 12px; border-radius: 3px; padding: 4px 7px; }
.risk-indicator.risk-watch { color: #f2cf86; background: #342a14; border-color: #8b6d32; }
.risk-indicator.risk-alert { color: #ffb6bc; background: #32191f; border-color: #8b4650; }
.risk-item { margin: 0 25px; padding: 23px 0 18px; }
.risk-item.total { border-color: #393329; padding-top: 20px; }
.risk-label h3 { color: #c4bba6; font-size: 14px; font-weight: 400; }
.risk-label > span { color: #c5b897; font-size: 12px; }
.risk-amount { flex-wrap: wrap; }
.risk-amount > b { color: #f1e5cb; font-size: 27px; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.risk-amount > span { color: #aba18c; font-size: 12px; }
.risk-track { background: #373023; height: 5px; }
.risk-track i { background: #d0a65e; }
.risk-item.total .risk-track i { background: #bba47a; }
.risk-track i.low-buffer { background: #ed8c95 !important; }
.risk-meta { color: #b3a78f; font-size: 12px; }
.risk-meta > b { color: #d6c7a6; }
.reset-note { color: #ada18b; font-size: 12px; padding: 10px 25px 18px; }
.reset-note b { color: #cebc98; }
.first-session { padding: 23px 25px; background: linear-gradient(100deg, #1b1912, #121310); }
.first-session-symbol { background: #2b2416; border-color: #63502c; color: #d8b36a; border-radius: 4px; }
.first-session h2 { color: #e8dabe; font-size: 16px; font-weight: 500; }
.first-session p { color: #b1a793; font-size: 14px; }
.text-button { background: #302719; border-color: #80653a; color: #ebcc8f; font-size: 13px; border-radius: 3px; min-height: 43px; display: inline-flex; align-items: center; }
.text-button:hover { background: #40321c; border-color: #d8b36a; }
.quiet-link { color: #ddbd80; font-size: 14px; }
.quiet-link:hover { color: #f5dca8; }
.overview-bottom { margin: 21px 1px 25px; }
.tool-disclosure { background: #13130f; border-color: #3b3529; border-radius: 5px; scroll-margin-top: 100px; }
.tool-disclosure summary { color: #c9b998; padding: 18px 22px; }
.tool-disclosure summary b { color: #e0d3b8; font-size: 15px; font-weight: 500; }
.tool-disclosure summary small { color: #ada28b; font-size: 13px; }
.tool-disclosure[open] > summary { border-color: #3a3326; }
.disclosure-plus { color: #d0ac68; }
.tool-body { padding: 20px 22px; min-width: 0; }
.bound-rule-header { color: #b5a78c; flex-wrap: wrap; font-size: 13px; }
.bound-rule-header b { color: #e0c48d; overflow-wrap: anywhere; }
.rule { background: #1a1913; border-color: #3d3628; border-radius: 4px; padding: 15px; }
.rule > small { color: #b7ac94; font-size: 13px; }
.rule > b { color: #ede1c6; font-size: 15px; font-weight: 500; }
.rule .sub { color: #aea48f; font-size: 12px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hd { background: #191811; color: #e1d2b3; border-bottom-color: #383224; padding: 20px 23px; flex-wrap: wrap; gap: 6px 14px; }
.hd > b, .hd > div > b { font-size: 16px; font-weight: 500; }
.hd .sub, small, .sub { color: #afa48d; font-size: 13px; }
.body { min-width: 0; padding: 23px; }
.table { color: #c9bda4; }
.table td, .table th { border-bottom-color: #383226; color: #c4b79c; padding: 12px 11px; }
.table th { color: #ddc58f; background: #1f1c14; font-size: 12px; }
.table tbody tr:hover { background: #c7a15b08; }
.empty { color: #b6ab94; font-size: 14px; }
.notice { background: #2a2315; border-color: #796133; color: #dfc995; font-size: 14px; border-radius: 4px; }
.ghost { background: #252015; border-color: #6a5733; color: #e5cc97; border-radius: 3px; font-size: 14px; min-height: 43px; }
.ghost:hover { background: #362c19; border-color: #bf9852; }
.field { background: #0f100c; border-color: #65563a; color: #ede2c8; border-radius: 3px; min-height: 43px; }
.field::placeholder { color: #afa38b; opacity: 1; }
.field:focus { border-color: #d8b36a; }
.card { background: #1c1a13; border-color: #423927; border-radius: 4px; }
.card small { color: #b8aa8f; font-size: 13px; }
.card strong { color: #ecdbb6; font-size: 22px; font-weight: 500; }
.view-intro { margin-bottom: 24px; }
.view-intro h1 { font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -.04em; margin-top: 8px; color: #f1e7d1; }
.view-intro p { font-size: 15px; color: #b0a58e; margin-top: 10px; max-width: 620px; }
.account-info > .body > p { color: #d4c6a9; }
.account-info .sub { font-size: 13px; }
.account-exit .ghost { color: #ffb3b8; border-color: #795056; background: #2a1c1e; }
.notificationItem { background: #1d1b13; border-color: #493e29; color: #cabb9b; }
.notificationItem.unread { background: #282116; border-left-color: #d8b36a; }
.notificationMeta { color: #ada087; font-size: 12px; margin-top: 6px; }
.notificationActions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.office-footer { color: #a99c83; border-top-color: #3c3323; font-size: 12px; padding-top: 22px; line-height: 1.7; }
.office-footer b { color: #d0b57e; font-weight: 500; }
.crmConnection { background: #332811; border-bottom-color: #987238; color: #f6d68d; }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }

/* The equity curve owns a full row; account records form a compact strip below. */
#performance { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
#performance > .panel { margin-top: 0; }
#performance > .panel:first-child { border-color: #675333; background: #12130f; }
#performance > .panel:first-child > .hd { background: #19180f; }
#performance > .panel:first-child > .body { padding: 20px 24px 17px; overflow: visible; }
#performance > .panel:last-child .rules { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 20px 22px; gap: 0; }
#performance > .panel:last-child .rule { background: transparent; border: 0; border-right: 1px solid #3d3423; border-radius: 0; padding: 3px 18px; }
#performance > .panel:last-child .rule:first-child { padding-left: 0; }
#performance > .panel:last-child .rule:last-child { border-right: 0; }
#performance > .panel:last-child .rule > b { font-size: clamp(19px, 1.6vw, 24px); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -.035em; margin-top: 9px; }
.wm-chart-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 13px; padding: 2px 0 18px; border-bottom: 1px solid #d8b36a20; }
.wm-chart-summary > div { min-width: 0; }
.wm-chart-summary span, .wm-chart-summary small { display: block; font-size: 12px; color: #b6a98f; }
.wm-chart-summary strong { color: #f3e6c7; display: block; font-weight: 500; font-size: 36px; line-height: 1.3; letter-spacing: -.045em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: 4px; }
.wm-chart-change { text-align: right; }
.wm-chart-change b { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.wm-chart-change small { margin-top: 5px; }
.svgchart { width: 100%; height: 340px; background: transparent; border-radius: 3px; overflow: visible; cursor: crosshair; touch-action: pan-y pinch-zoom; font-family: inherit; }
.chartline { fill: none; stroke: #dfbc76; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.gridline { stroke: #353024; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chartlabel { fill: #b7ac95; font-family: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.wm-chart-end { fill: #edcc8d; stroke: #141410; stroke-width: 3; }
.wm-chart-crosshair { stroke: #bca373; stroke-width: 1; stroke-dasharray: 4 5; opacity: .65; }
.wm-chart-focus { fill: #f1d69f; stroke: #342b1b; stroke-width: 4; }
.wm-chart-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid #d8b36a20; padding-top: 12px; margin-top: 4px; font-size: 12px; color: #afa28a; }
.wm-chart-readout { color: #dfc794; font-variant-numeric: tabular-nums; min-height: 21px; }
.wm-chart-help { color: #aca08a; }
.wm-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.equity-empty { min-height: 320px; background: radial-gradient(ellipse at center, #29231755, #13130f 72%); border-color: #645331; border-radius: 4px; padding: 30px 20px; }
.empty-chart-icon { width: 55px; height: 55px; border-radius: 5px; background: #2a2315; border-color: #756039; color: #ddb976; }
.equity-empty h3 { color: #e9d6ae; font-size: 19px; font-weight: 500; }
.equity-empty p { color: #b6aa90; font-size: 14px; max-width: 350px; }
#catalogue, #performance, #security, #notifications, #challenge { scroll-margin-top: 100px; }

@media (max-width: 1150px) {
  .site-header { gap: 30px; padding: 0 24px; }
  .main-nav { gap: 22px; }
  .office-wrap { padding: 28px 24px; }
  .metric-card { padding: 18px 16px; }
  .metric-card > strong { font-size: 26px; }
  .evaluation-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
  .challenge-body { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 28px 22px; }
  .target-ring { width: 128px; height: 128px; }
  .target-ring strong { font-size: 28px; }
  .target-ring::before { inset: 11px; box-shadow: 0 0 0 4px #141410; }
  .target-amount > b { font-size: 25px; }
  .phase-steps { gap: 6px; font-size: 12px; }
  .phase-connector { display: none; }
  .risk-panel .panel-heading { display: flex; }
  .risk-indicator { margin-top: 0; }
  .panel-heading { padding: 22px 22px 0; }
  .risk-item { margin: 0 22px; }
  .reset-note { padding-left: 22px; }
  #performance > .panel:last-child .rule { padding-left: 14px; padding-right: 14px; }
  #performance > .panel:last-child .rule > small { font-size: 12px; }
}
@media (max-width: 900px) {
  .site-header { height: 76px; padding: 0 20px; gap: 24px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; padding-top: 27px; }
  .header-actions .avatar { display: none; }
  .wordmark { font-size: 20px; }
  .wordmark b { font-size: 11px; }
  .brand-symbol { width: 34px; height: 36px; }
  .office-wrap { padding: 27px 20px; }
  .overview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .metric-card { padding: 19px 20px; }
  .metric-card > strong { font-size: 30px; }
  .metric-top { font-size: 14px; }
  .metric-card small { font-size: 12px; }
  .evaluation-grid { grid-template-columns: minmax(0, 1fr); }
  .challenge-body { grid-template-columns: 160px minmax(0, 1fr); gap: 35px; padding: 28px; }
  .target-ring { width: 160px; height: 160px; }
  .target-ring strong { font-size: 32px; }
  .target-ring::before { inset: 12px; box-shadow: 0 0 0 5px #141410; }
  .target-amount > b { font-size: 30px; }
  .phase-connector { display: block; }
  .phase-steps { font-size: 13px; }
  .risk-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk-panel .panel-heading, .reset-note { grid-column: 1 / -1; }
  .risk-item.total { border-top: 0; border-left: 1px solid #393329; padding: 23px 0 18px 23px; margin: 0 23px 0 0; }
  .risk-label > span, .risk-meta, .reset-note { font-size: 12px; }
  .days-row { margin: 0 28px; }
  .progress-note { margin: 0 28px 22px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .hero-action { min-width: 196px; }
  .hero-action > span { font-size: 12px; }
  .first-session p { font-size: 14px; }
  #performance > .panel:last-child .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 0; }
  #performance > .panel:last-child .rule:nth-child(3n) { border-right: 0; }
  #performance > .panel:last-child .rule:nth-child(3n + 1) { padding-left: 0; }
  #performance > .panel:last-child .rule > b { font-size: 24px; }
  .svgchart { height: 310px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 125px; }
  .site-header { height: 112px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 60px 52px; gap: 0; padding: 0 18px; }
  .wordmark { grid-area: 1 / 1; font-size: 20px; gap: 10px; }
  .wordmark b { font-size: 12px; }
  .brand-symbol { width: 32px; height: 34px; font-size: 20px; border-radius: 3px; }
  .header-actions { grid-area: 1 / 2; gap: 19px; }
  .header-actions .avatar { display: grid; width: 30px; height: 30px; }
  .main-nav { grid-area: 2 / 1 / 3 / 3; justify-content: space-between; width: 100%; height: 100%; gap: 12px; border-top: 1px solid #40351f; }
  .main-nav a { font-size: 13px; padding: 16px 0 12px; }
  .office-wrap { padding: 25px 16px 22px; }
  .account-toolbar { display: block; margin-bottom: 18px; }
  .account-toolbar .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .toolbar-title { font-size: 27px; }
  .account-tools { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin-top: 16px; }
  .account-select-wrap { max-width: none; width: 100%; }
  .account-select-wrap label { display: none; }
  .account-select-wrap select { width: 100%; max-width: 100%; min-height: 42px; padding: 9px 29px 9px 12px; font-size: 13px; }
  .syncState { font-size: 12px; }
  .compact-toolbar { margin: 0 0 22px; }
  .compact-toolbar .account-tools { margin-top: 0; }
  .evaluation-hero { padding: 25px 23px 23px; display: block; min-height: 0; border-radius: 5px; }
  .evaluation-hero::before { background-position: center, 66% center; opacity: .55; }
  .evaluation-hero h1 { font-size: 34px; margin-top: 17px; }
  .hero-kicker { gap: 9px; flex-wrap: wrap; }
  .hero-label, .simulationFlag { font-size: 10px; }
  .hero-account, .hero-account .badge { font-size: 12px; }
  .evaluation-hero p { font-size: 14px; line-height: 1.65; }
  .hero-action { margin-top: 23px; min-width: 0; }
  .trade-primary { font-size: 15px; min-height: 50px; }
  .hero-action > span { font-size: 12px; }
  .overview-metrics { margin: 16px 0; gap: 11px; }
  .metric-card { padding: 16px 14px; border-radius: 4px; }
  .metric-top { font-size: 13px; align-items: flex-start; min-height: 40px; }
  .metric-symbol { width: 22px; height: 22px; flex-basis: 22px; font-size: 13px; }
  .metric-card > strong { font-size: clamp(22px, 5.6vw, 30px); margin: 4px 0 8px; }
  .metric-card small { font-size: 12px; line-height: 1.6; }
  .panel-heading { padding: 22px 20px 0; }
  .panel-heading .eyebrow { font-size: 10px; }
  .panel-heading h2 { font-size: 20px; }
  .phase-chip { font-size: 12px; }
  .challenge-body { grid-template-columns: 116px minmax(0, 1fr); padding: 27px 20px 23px; gap: 19px; }
  .target-ring { width: 116px; height: 116px; }
  .target-ring::before { inset: 10px; box-shadow: 0 0 0 4px #141410; }
  .target-ring strong { font-size: 27px; }
  .target-ring span { font-size: 11px; margin-top: 4px; }
  .detail-label { font-size: 12px; }
  .target-amount > b { font-size: 26px; }
  .target-amount > span, .target-amount > span span { font-size: 13px; }
  .target-caption { font-size: 12px; }
  .phase-steps { font-size: 11px; gap: 9px; margin-top: 17px; }
  .phase-connector { display: none; }
  .phase-steps i { font-size: 10px; width: 19px; height: 19px; flex-basis: 19px; }
  .days-row { margin: 0 20px; padding: 17px 0; gap: 13px; }
  .days-row > div:first-child { flex-wrap: wrap; gap: 7px 12px; }
  .days-row .detail-label { font-size: 13px; }
  .days-row b { font-size: 14px; }
  .day-markers span { width: 27px; height: 27px; font-size: 12px; }
  .progress-note { margin: 0 20px 21px; font-size: 12px; }
  .risk-panel { display: block; }
  .risk-panel .panel-heading { gap: 12px; flex-wrap: wrap; }
  .risk-indicator { font-size: 12px; }
  .risk-item { margin: 0 20px; padding: 23px 0 20px; }
  .risk-item.total { border-left: 0; border-top: 1px solid #393329; padding: 21px 0; margin: 0 20px; }
  .risk-amount > b { font-size: 29px; }
  .risk-label > span, .risk-meta { font-size: 12px; }
  .reset-note { padding: 8px 20px 21px; font-size: 12px; line-height: 1.7; }
  .first-session { padding: 21px 20px; gap: 13px; align-items: flex-start; flex-wrap: wrap; }
  .first-session > div:nth-child(2) { flex: 1; min-width: 0; }
  .first-session-symbol { width: 35px; height: 35px; }
  .first-session h2 { font-size: 16px; }
  .first-session p { font-size: 13px; }
  .text-button { margin: 3px 0 0 48px; font-size: 13px; }
  .overview-bottom { display: grid; gap: 14px; }
  .quiet-link { font-size: 14px; }
  .tool-disclosure { scroll-margin-top: 130px; }
  .tool-disclosure summary { padding: 18px; }
  .tool-disclosure summary b { font-size: 15px; }
  .tool-disclosure summary small { font-size: 12px; }
  .tool-body { padding: 16px; }
  .rule { padding: 13px; }
  .rule > small, .card small { font-size: 12px; }
  .rule > b { font-size: 15px; }
  .hd { padding: 18px; }
  .hd > b, .hd > div > b { font-size: 15px; }
  .hd > .sub { font-size: 12px; }
  .body { padding: 18px; }
  .view-intro h1 { font-size: 32px; }
  .view-intro p { font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .card strong { font-size: 21px; }
  .office-footer { display: grid; gap: 8px; font-size: 12px; }
  .account-info .sub { font-size: 12px; }
  #performance > .panel:first-child > .body { padding: 18px 14px 15px; }
  #performance > .panel:last-child .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; padding: 19px 20px; }
  #performance > .panel:last-child .rule { padding: 0 0 0 18px; border-right: 0; border-left: 1px solid #3d3423; }
  #performance > .panel:last-child .rule:nth-child(odd) { padding-left: 0; padding-right: 14px; border-left: 0; }
  #performance > .panel:last-child .rule:nth-child(even) { padding-left: 18px; }
  #performance > .panel:last-child .rule > b { font-size: 24px; }
  .wm-chart-summary { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 8px; padding: 0 4px 17px; }
  .wm-chart-summary strong { font-size: 33px; }
  .wm-chart-change { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .wm-chart-change b { font-size: 14px; }
  .wm-chart-change small { font-size: 12px; margin-top: 0; }
  .svgchart { height: 265px; }
  .wm-chart-caption { gap: 4px; padding: 11px 4px 0; }
  .wm-chart-readout { width: 100%; }
  .wm-chart-help { font-size: 12px; }
  .equity-empty { min-height: 285px; }
  #catalogue, #performance, #security, #notifications, #challenge { scroll-margin-top: 130px; }
}
@media (max-width: 370px) {
  .site-header { padding-left: 14px; padding-right: 14px; }
  .wordmark { font-size: 18px; gap: 8px; }
  .wordmark b { font-size: 11px; }
  .header-actions .avatar { display: none; }
  .main-nav { gap: 8px; }
  .main-nav a { font-size: 12px; }
  .office-wrap { padding-left: 12px; padding-right: 12px; }
  .evaluation-hero { padding: 23px 19px; }
  .evaluation-hero h1 { font-size: 31px; }
  .metric-card { padding: 15px 12px; }
  .metric-card > strong { font-size: 21px; letter-spacing: -.055em; }
  .metric-top { font-size: 12px; }
  .metric-symbol { display: none; }
  .challenge-body { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; padding: 27px 20px 24px; }
  .target-ring { width: 150px; height: 150px; }
  .target-ring::before { inset: 12px; }
  .target-ring strong { font-size: 34px; }
  .target-ring span { font-size: 12px; }
  .target-detail { width: 100%; }
  .target-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
  .target-amount > b { font-size: 27px; }
  .phase-steps { font-size: 12px; justify-content: space-between; }
  .panel-heading { padding-left: 18px; padding-right: 18px; }
  .panel-heading h2 { font-size: 19px; }
  .panel-heading .eyebrow { font-size: 9px; }
  .phase-chip { padding: 4px 6px; }
  .wm-chart-summary strong { font-size: 31px; }
  #performance > .panel:first-child > .body { padding-left: 10px; padding-right: 10px; }
  #performance > .panel:last-child .rule > b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
