:root {
  color-scheme: light;
  --page: #f5f7f4;
  --paper: #ffffff;
  --ink: #19231f;
  --muted: #77817b;
  --faint: #a4aca7;
  --line: #e4e9e5;
  --line-strong: #d5ddd7;
  --green: #278461;
  --green-deep: #176246;
  --green-soft: #e9f5ee;
  --red: #d96459;
  --red-deep: #a94740;
  --red-soft: #fff0ed;
  --lime: #c6ee73;
  --lime-dark: #94c837;
  --orange: #df8e41;
  --blue: #438fbb;
  --shadow: 0 14px 40px rgba(28, 44, 34, .055);
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 360px; min-height: 100vh; color: var(--ink); background: var(--page); }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(67,143,187,.38); outline-offset: 2px; }
[hidden] { display: none !important; }
.topbar { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand-name { font-family: 'Manrope', 'Segoe UI', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.brand-name span { color: var(--faint); font-weight: 600; }
.brand-mark { display: inline-flex; width: 28px; height: 26px; align-items: end; justify-content: center; gap: 2px; position: relative; border-bottom: 2px solid #27352d; }
.brand-mark i { display: block; width: 4px; background: #57a77e; border-radius: 2px 2px 0 0; }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 14px; background: #91c94d; }.brand-mark i:nth-child(3) { height: 19px; background: #e39a4f; }
.brand-mark b { position: absolute; right: -6px; top: -4px; color: #2b8a64; font: 700 12px 'DM Sans', sans-serif; }
.topbar-center, .data-badge { display: flex; align-items: center; gap: 9px; color: #7a847e; font: 500 10px 'DM Mono', monospace; letter-spacing: 0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #abb4ae; box-shadow: 0 0 0 3px #edf0ee; }
.live-dot.connected { background: #43a577; box-shadow: 0 0 0 3px #e8f4ec; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 4px; color: #59655e; font-size: 16px; }
.app-shell { display: grid; grid-template-columns: 222px minmax(0, 1fr); max-width: 1600px; margin: 0 auto; min-height: calc(100vh - 66px); }
.sidebar { position: relative; display: flex; flex-direction: column; min-height: calc(100vh - 66px); padding: 30px 17px 18px; background: #fbfcfa; border-right: 1px solid var(--line); }
.sidebar-heading, .eyebrow, .section-kicker, .meta-kicker, .aside-caption { color: #8d9690; font: 500 10px 'DM Mono', monospace; letter-spacing: 0; }
.sidebar-heading { padding: 0 10px 13px; }
.primary-nav { display: grid; gap: 3px; }
.nav-item { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 9px; padding: 10px 10px; border: 0; border-radius: 4px; background: transparent; color: #68736c; text-align: left; font-size: 13px; }
.nav-item:hover { background: #f1f4f1; }
.nav-item.active { color: #203b2d; background: #edf4ee; font-weight: 700; }
.nav-symbol { color: #8c9991; font-size: 16px; text-align: center; }.nav-item.active .nav-symbol { color: var(--green); }
.nav-item kbd { border: 0; color: #b2b9b4; background: transparent; font: 10px 'DM Mono', monospace; }
.sidebar-rule { height: 1px; margin: 28px 7px 23px; background: var(--line); }
.rail-stat { display: flex; justify-content: space-between; padding: 10px 9px; color: #7a847e; font-size: 12px; border-bottom: 1px solid #edf0ed; }
.rail-stat strong { color: #39463e; font: 600 14px 'DM Mono', monospace; }.rail-stat small { color: #a3aba5; font: 9px 'DM Mono', monospace; }
.sidebar-bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 13px 7px 2px; border-top: 1px solid var(--line); }
.source-mark { width: 29px; height: 29px; display: grid; place-items: center; color: #426a53; background: #eaf1eb; border-radius: 4px; font: 700 10px 'DM Mono', monospace; }
.sidebar-bottom strong, .sidebar-bottom small { display: block; }.sidebar-bottom strong { color: #56625a; font-size: 11px; font-weight: 600; }.sidebar-bottom small { margin-top: 2px; color: #9aa39c; font-size: 10px; }.source-state { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #bbc2bd; }.source-state.connected { background: #49a875; }
.main-content { min-width: 0; padding: 33px 42px 16px; }
.view { max-width: 1180px; margin: 0 auto; }.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 3px 0 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #7e8d82; }.eyebrow-line { width: 33px; height: 1px; background: #9cc68d; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 12px 0 5px; color: #1d2b23; font: 700 27px 'Manrope', 'Segoe UI', sans-serif; letter-spacing: 0; }
.page-description { margin: 0; color: #7b857e; font-size: 12px; }
.exam-meta { display: grid; gap: 5px; min-width: 118px; padding: 0 0 3px 20px; border-left: 1px solid var(--line-strong); }.exam-meta strong { color: #617067; font: 500 10px 'DM Mono', monospace; }
.score-strip { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(145px, .8fr) minmax(165px, .85fr) minmax(245px, 1.7fr); min-height: 93px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 4px 15px rgba(31,45,36,.018); margin-bottom: 18px; }
.score-cell { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px 19px; border-right: 1px solid var(--line); }.score-cell > span { color: #7f8982; font-size: 11px; }.score-cell strong { margin-top: 5px; color: #27372d; font: 600 23px 'DM Mono', monospace; }.score-cell small { margin-top: 3px; color: #a3aba5; font-size: 10px; }.score-cell small b { color: #748078; font-weight: 600; }.unit { margin-left: 5px; color: #8b9690; font-size: 11px; font-weight: 400; }
.score-note { display: flex; align-items: center; gap: 11px; padding: 13px 20px; }.score-note-icon { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #c8d9cc; border-radius: 50%; color: #659071; font: 600 11px 'DM Mono', monospace; }.score-note p { max-width: 310px; margin: 0; color: #858f88; font-size: 11px; line-height: 1.65; }
.start-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, .8fr); min-height: 310px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); }
.start-copy { padding: 30px 33px 24px; }.section-kicker { display: flex; align-items: center; gap: 9px; }.kicker-index { width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1px solid #b8cfbd; color: #518565; border-radius: 50%; font: 500 9px 'DM Mono', monospace; }
.start-copy h2 { margin: 18px 0 8px; color: #24332a; font: 700 21px 'Manrope', sans-serif; }.start-copy > p { max-width: 480px; margin: 0; color: #7d8880; font-size: 12px; line-height: 1.7; }
.session-options { display: flex; gap: 13px; margin-top: 22px; }.session-options label, .data-connect form label, #alpaca-form label { display: grid; gap: 6px; color: #7e8981; font-size: 10px; }.session-options select { min-width: 168px; height: 35px; padding: 0 27px 0 10px; border: 1px solid var(--line-strong); background: #fff; border-radius: 3px; font-size: 11px; }
.start-actions { display: flex; align-items: center; gap: 19px; margin-top: 19px; }.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 41px; padding: 0 13px 0 16px; border: 1px solid #b7df81; border-radius: 3px; color: #25341f; background: var(--lime); font-size: 12px; font-weight: 700; transition: background .15s, transform .15s; }.primary-button:hover:not(:disabled) { background: #d1f48e; transform: translateY(-1px); }.primary-button b { font-size: 18px; font-weight: 500; }.primary-button:disabled { cursor: not-allowed; color: #8a9882; background: #e7eddf; border-color: #e0e8d9; }
.text-button { padding: 5px 0; border: 0; color: #557f64; background: transparent; font-size: 11px; font-weight: 600; }.text-button span { margin-left: 7px; }.text-button:hover { color: #245a3d; }.inline-status { display: flex; align-items: center; gap: 7px; margin-top: 15px; color: #9aa39d; font-size: 10px; }.status-light { width: 6px; height: 6px; border-radius: 50%; background: #b5bdb7; }.inline-status.ready { color: #39815d; }.inline-status.ready .status-light { background: #48a774; }
.start-aside { display: flex; flex-direction: column; justify-content: center; padding: 25px 25px; border-left: 1px solid var(--line); background: #fafcf9; }.aside-caption { color: #89958c; }.format-comparison { display: flex; align-items: center; justify-content: space-between; margin: 21px 0 17px; }.format-comparison > div { display: grid; gap: 2px; }.format-comparison > div > span { color: #9ba49e; font: 9px 'DM Mono', monospace; }.format-comparison strong { color: #35443b; font: 500 30px 'DM Mono', monospace; }.format-comparison small { color: #8b958e; font-size: 9px; }.format-arrow { color: #a3b09f; font-size: 20px; }.format-divider { height: 1px; background: #e7ece7; }.start-aside > p { margin: 14px 0 4px; color: #909a93; font-size: 10px; }.format-answer { color: #4e6555; font-size: 11px; line-height: 1.55; font-weight: 600; }.start-aside > small { margin-top: 5px; color: #a0a9a2; font-size: 9px; }
.question-panel { padding: 21px 23px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); }.round-topline { display: flex; justify-content: space-between; align-items: center; }.round-identity { display: flex; align-items: center; gap: 12px; }.round-label { color: #60736a; font: 500 10px 'DM Mono', monospace; }.mode-pill { padding: 5px 7px; border: 1px solid #e0e8e1; border-radius: 2px; color: #87938a; font: 9px 'DM Mono', monospace; }.quiet-button { border: 0; padding: 7px 4px; color: #808b83; background: transparent; font-size: 10px; }.quiet-button:hover { color: #35443a; }.round-progress { display: flex; gap: 4px; margin: 13px 0 20px; }.round-progress span { flex: 1; height: 3px; background: #e9eeea; border-radius: 2px; }.round-progress span.done { background: var(--green); }.round-progress span.current { background: #c3e77b; }
.question-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }.question-head h2 { margin: 11px 0 5px; color: #28372e; font: 650 18px 'Manrope', sans-serif; }.up-word { color: var(--green); }.down-word { color: var(--red); }.question-head p { margin: 0; color: #879189; font-size: 10px; }.anchor-price { display: grid; justify-items: end; gap: 3px; flex: 0 0 auto; }.anchor-price span, .anchor-price small { color: #919c94; font-size: 9px; }.anchor-price strong { color: #38493e; font: 500 17px 'DM Mono', monospace; }
.chart-frame { overflow: hidden; border: 1px solid #e6ebe7; border-radius: 3px; background: #fff; }.chart-toolbar { height: 37px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; border-bottom: 1px solid #eff2ef; }.chart-label, .chart-indicators { display: flex; align-items: center; gap: 10px; }.chart-label strong { color: #64736a; font: 500 9px 'DM Mono', monospace; }.chart-label > span:last-child { color: #a0aaa2; font: 9px 'DM Mono', monospace; }.chart-live-mark { width: 6px; height: 6px; background: #69ae7f; border-radius: 1px; }.chart-indicators > span { display: inline-flex; align-items: center; gap: 5px; color: #87928b; font-size: 9px; }.legend-candle { width: 7px; height: 9px; border: 1px solid; }.up-candle { color: #318861; background: #e4f3ea; }.down-candle { color: #dc6c61; background: #dc6c61; }.legend-line { width: 12px; height: 2px; background: #548dbc; }
.chart-viewport { position: relative; height: 264px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 65px, rgba(230,235,231,.5) 66px); }.chart-viewport canvas { display: block; width: 100%; height: 100%; }.chart-foot { display: flex; justify-content: space-between; padding: 7px 11px; border-top: 1px solid #eff2ef; color: #929c95; font: 9px 'DM Mono', monospace; }.foot-separator { margin: 0 8px; color: #c0c7c1; }.chart-disclaimer { color: #a1aaa4; }.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa49d; font-size: 12px; }
.decision-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 19px; }.decision-block { min-width: 0; }.decision-heading { display: flex; justify-content: space-between; align-items: end; }.decision-heading h3 { margin: 8px 0 10px; color: #344239; font-size: 13px; font-weight: 650; }.choose-hint { padding-bottom: 11px; color: #a1aaa3; font-size: 9px; }.direction-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.direction-button { min-width: 0; height: 58px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e3e9e4; border-radius: 3px; background: #fff; text-align: left; transition: border-color .12s, background .12s; }.direction-button:hover { border-color: #bbc8be; }.direction-button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px currentColor; }.up-choice[aria-pressed="true"] { border-color: #4b9d72; color: var(--green-deep); background: #f3faf5; }.down-choice[aria-pressed="true"] { border-color: #dc8279; color: var(--red-deep); background: #fff7f5; }.direction-arrow { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 3px; font-size: 18px; }.up-choice .direction-arrow { color: #31875e; background: #e4f2e9; }.down-choice .direction-arrow { color: #c95f56; background: #fce9e6; }.direction-button strong, .direction-button small { display: block; }.direction-button strong { font: 600 11px 'DM Mono', monospace; }.direction-button small { margin-top: 3px; color: #929c95; font-size: 9px; }.choice-key { margin-left: auto; color: #adb5af; font: 9px 'DM Mono', monospace; }
.confidence-row { display: flex; align-items: center; gap: 10px; margin-top: 13px; color: #87928a; font-size: 10px; }.confidence-options { display: flex; gap: 4px; }.confidence-options button { width: 25px; height: 24px; border: 1px solid #e4e9e5; border-radius: 3px; color: #7f8a82; background: #fff; font: 10px 'DM Mono', monospace; }.confidence-options button[aria-pressed="true"] { border-color: #9bbc7b; color: #4f7749; background: #f0f7e9; }.confidence-row > small { color: #a4aca6; font-size: 9px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #edf0ed; }.submit-row > span { color: #9aa39d; font-size: 10px; }.submit-button { min-width: 141px; }.submit-button:disabled { opacity: .8; }
.result-panel { margin-top: 17px; padding: 15px 17px; border: 1px solid #e1e9e2; border-radius: 3px; background: #fbfdfb; }.result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.result-verdict { display: flex; align-items: center; gap: 9px; }.verdict-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #287853; background: #e6f3e9; }.verdict-mark.miss { color: #be564d; background: #fff0ed; }.result-verdict strong { display: block; color: #304238; font-size: 12px; }.result-verdict small { display: block; margin-top: 3px; color: #8b968e; font-size: 9px; }.result-points { color: #52764f; font: 600 13px 'DM Mono', monospace; }.result-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eaf0eb; }.result-metrics > div { display: grid; gap: 4px; }.result-metrics span { color: #9aa39c; font-size: 9px; }.result-metrics strong { color: #4c5e52; font: 500 11px 'DM Mono', monospace; }.result-stock { margin-top: 11px; color: #708078; font-size: 10px; }.result-stock strong { color: #3e5245; }.result-note { margin: 9px 0 0; color: #8d9890; font-size: 9px; line-height: 1.55; }.result-actions { display: flex; justify-content: end; margin-top: 12px; }.result-actions .primary-button { min-height: 35px; }
.secondary-view { min-height: 70vh; }.secondary-view .page-head { margin-bottom: 27px; }.progress-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,.6); }.progress-stat { padding: 17px 20px; border-right: 1px solid var(--line); }.progress-stat:last-child { border-right: 0; }.progress-stat span, .progress-stat small { display: block; color: #89948c; font-size: 10px; }.progress-stat strong { display: block; margin: 7px 0 4px; color: #304137; font: 500 21px 'DM Mono', monospace; }.history-section { margin-top: 35px; }.history-section h2 { margin: 13px 0 15px; font: 650 17px 'Manrope', sans-serif; }.history-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; }.history-table-wrap table { width: 100%; border-collapse: collapse; font-size: 10px; text-align: left; white-space: nowrap; }.history-table-wrap th { padding: 11px 13px; border-bottom: 1px solid var(--line); color: #8b968e; background: #fafcfa; font: 500 9px 'DM Mono', monospace; }.history-table-wrap td { padding: 11px 13px; border-bottom: 1px solid #f0f2f0; color: #59675e; }.history-table-wrap tr:last-child td { border-bottom: 0; }.history-table-wrap .empty-row { padding: 27px; color: #9ba49d; text-align: center; }.good-text { color: #2b835b !important; }.bad-text { color: #c85b52 !important; }
.data-badge { padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }.data-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); gap: 17px; }.data-connect, .data-summary { padding: 23px 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }.data-connect h2, .data-summary h2 { margin: 14px 0 7px; color: #344239; font: 650 16px 'Manrope', sans-serif; }.data-connect > p { max-width: 500px; margin: 0; color: #838e86; font-size: 11px; line-height: 1.65; }.data-connect form { display: grid; gap: 13px; margin-top: 20px; }.data-connect input { width: 100%; height: 37px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font-size: 11px; }.connect-actions { display: flex; align-items: center; gap: 14px; margin-top: 1px; }.connection-feedback { margin-top: 14px; color: #89958d; font-size: 9px; line-height: 1.6; }.connection-feedback.error { color: #bd5a51; }.connection-feedback.success { color: #387a56; }.sync-provider-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }.sync-provider-row .section-kicker, .sync-provider-row .connection-feedback { grid-column: 1 / -1; margin-top: 0; }
.data-note { margin-top: 14px; color: #7f8b83; font-size: 10px; line-height: 1.7; }.data-static-label { padding: 7px 9px; border: 1px solid var(--line); color: #68766d; background: #fff; font-size: 9px; }.coverage-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #edf0ed; color: #879189; font-size: 10px; }.coverage-row strong { color: #4e5f54; font: 500 10px 'DM Mono', monospace; }.data-terminal { margin-top: 14px; }.data-caveats { display: grid; grid-template-columns: 175px 1fr; gap: 19px; margin-top: 17px; padding: 19px 22px; border: 1px solid #ebdfc9; background: #fffaf1; border-radius: 4px; }.caveat-title { display: flex; align-items: flex-start; gap: 9px; color: #907341; font-size: 11px; }.caveat-title span { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #d4bd8e; border-radius: 50%; font: 600 10px 'DM Mono', monospace; }.caveat-copy p { margin: 0 0 9px; color: #837a69; font-size: 10px; line-height: 1.7; }.caveat-copy p:last-child { margin-bottom: 0; }.data-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 15px 0; border-top: 1px solid var(--line); }.data-next strong { color: #57645a; font-size: 11px; }.data-next p { max-width: 690px; margin: 5px 0 0; color: #8c968f; font-size: 10px; line-height: 1.6; }.data-next .quiet-button { flex: 0 0 auto; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 3px; color: #65756a; background: #fff; }.data-next .quiet-button:disabled { opacity: .45; cursor: not-allowed; }
.app-footer { display: flex; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 35px auto 0; padding: 14px 0 0; border-top: 1px solid var(--line); color: #a0a9a2; font: 9px 'DM Mono', monospace; }.app-footer i { color: #bdc5be; font-style: normal; }
.completion-copy { padding: 29px 33px; }.completion-copy h2 { margin: 16px 0 7px; color: #26372c; font: 700 21px 'Manrope', sans-serif; }.completion-copy > p { margin: 0; color: #7d8880; font-size: 11px; }.completion-stats { display: flex; gap: 30px; margin-top: 21px; }.completion-stats > div { display: grid; gap: 4px; }.completion-stats span { color: #8a958d; font-size: 10px; }.completion-stats strong { color: #2e4838; font: 600 22px 'DM Mono', monospace; }.completion-stats small { color: #9da69f; font-size: 9px; }.completion-aside { display: flex; flex-direction: column; justify-content: center; padding: 25px; border-left: 1px solid var(--line); background: #fafcf9; }.completion-mark { width: 38px; height: 38px; display: grid; place-items: center; margin: 16px 0 12px; border-radius: 50%; color: #477952; background: #eaf4e8; font-size: 21px; }.completion-aside > strong { color: #45594a; font-size: 12px; }.completion-aside > p { margin: 7px 0 0; color: #89938c; font-size: 10px; line-height: 1.7; }.chart-tooltip { position: absolute; z-index: 2; width: 148px; display: grid; gap: 4px; padding: 8px; border: 1px solid #dce4dd; border-radius: 3px; color: #6a786e; background: rgba(255,255,255,.97); box-shadow: 0 4px 12px rgba(28,44,34,.08); pointer-events: none; font: 8px 'DM Mono', monospace; }.chart-tooltip[hidden] { display: none; }.chart-tooltip strong { color: #42564a; font-size: 9px; }

@media (max-width: 720px) { .completion-copy { padding: 22px 18px; }.completion-copy h2 { font-size: 18px; }.completion-stats { gap: 23px; }.completion-stats strong { font-size: 18px; }.completion-aside { padding: 18px; border-top: 1px solid var(--line); border-left: 0; } }

@media (min-width: 1450px) { .main-content { padding-right: 56px; padding-left: 56px; } }
@media (max-width: 1050px) { .main-content { padding-right: 25px; padding-left: 25px; }.app-shell { grid-template-columns: 190px minmax(0,1fr); }.score-strip { grid-template-columns: repeat(3, minmax(120px,1fr)); }.score-note { display: none; }.start-copy { padding-left: 24px; }.start-aside { padding: 22px 18px; }.decision-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 720px) { body { min-width: 360px; }.topbar { height: 58px; padding: 0 16px; }.brand-name { font-size: 16px; }.topbar-center { font-size: 8px; }.app-shell { display: block; min-height: calc(100vh - 58px); }.sidebar { position: fixed; z-index: 4; inset: auto 0 0; min-height: 0; height: 58px; display: block; padding: 0 8px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); border-right: 0; }.sidebar-heading, .sidebar-rule, .rail-stat, .sidebar-bottom { display: none; }.primary-nav { height: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }.nav-item { grid-template-columns: auto; grid-template-rows: 20px auto; align-content: center; justify-items: center; gap: 1px; padding: 4px 3px; font-size: 9px; }.nav-item kbd { display: none; }.nav-symbol { font-size: 15px; }.main-content { padding: 23px 13px 82px; }.page-head { align-items: flex-start; margin-bottom: 18px; }.page-head h1 { font-size: 22px; }.page-description { max-width: 330px; font-size: 10px; line-height: 1.6; }.exam-meta { min-width: 83px; padding-left: 10px; margin-top: 19px; }.exam-meta strong { max-width: 80px; font-size: 8px; }.score-strip { grid-template-columns: repeat(3, 1fr); min-height: 76px; margin-bottom: 13px; }.score-cell { padding: 8px 10px; }.score-cell > span { font-size: 9px; }.score-cell strong { font-size: 17px; }.score-cell small { font-size: 8px; }.start-panel { grid-template-columns: 1fr; }.start-copy { padding: 23px 18px 20px; }.start-copy h2 { font-size: 18px; }.start-copy > p { font-size: 11px; }.session-options { gap: 8px; }.session-options label { min-width: 0; flex: 1; }.session-options select { width: 100%; min-width: 0; padding-left: 7px; font-size: 9px; }.start-actions { gap: 14px; }.primary-button { gap: 12px; font-size: 10px; }.start-aside { padding: 17px 19px; border-top: 1px solid var(--line); border-left: 0; }.format-comparison { max-width: 270px; margin: 13px 0; }.format-comparison strong { font-size: 25px; }.start-aside > p { margin-top: 10px; }.question-panel { padding: 15px 11px 17px; }.round-progress { margin: 11px 0 17px; }.round-identity { gap: 7px; }.round-label { font-size: 8px; }.mode-pill { padding: 4px 5px; font-size: 7px; }.quiet-button { font-size: 9px; }.question-head { align-items: flex-start; gap: 7px; }.question-head h2 { max-width: 300px; font-size: 14px; line-height: 1.45; }.question-head p { max-width: 300px; font-size: 9px; line-height: 1.45; }.anchor-price { margin-top: 22px; }.anchor-price span, .anchor-price small { font-size: 7px; white-space: nowrap; }.anchor-price strong { font-size: 13px; }.chart-toolbar { height: 34px; padding: 0 7px; }.chart-label, .chart-indicators { gap: 6px; }.chart-label strong { font-size: 8px; }.chart-label > span:last-child { font-size: 7px; }.chart-indicators > span { gap: 3px; font-size: 7px; }.chart-viewport { height: 220px; }.chart-foot { padding: 7px; font-size: 7px; }.chart-disclaimer { max-width: 145px; text-align: right; line-height: 1.4; }.decision-grid { gap: 13px; margin-top: 16px; }.direction-button { gap: 6px; padding: 0 7px; }.direction-button strong { font-size: 10px; }.direction-button small { font-size: 7px; }.direction-arrow { width: 25px; height: 25px; }.confidence-row { flex-wrap: wrap; gap: 7px; font-size: 9px; }.confidence-row > small { flex-basis: 100%; margin-left: 2px; }.submit-row > span { max-width: 190px; font-size: 8px; line-height: 1.5; }.submit-button { min-width: 113px; }.result-panel { padding: 12px 10px; }.result-metrics { grid-template-columns: repeat(2,1fr); row-gap: 12px; }.result-top { align-items: flex-start; }.result-verdict strong { font-size: 10px; }.result-verdict small { max-width: 200px; line-height: 1.5; }.progress-summary { grid-template-columns: repeat(2,1fr); }.progress-stat { padding: 13px; border-bottom: 1px solid var(--line); }.progress-stat:nth-child(2) { border-right: 0; }.progress-stat:nth-child(n+3) { border-bottom: 0; }.progress-stat strong { font-size: 18px; }.history-section { margin-top: 26px; }.data-layout { grid-template-columns: 1fr; gap: 12px; }.data-connect, .data-summary { padding: 19px 16px; }.data-caveats { grid-template-columns: 1fr; gap: 12px; padding: 15px; }.data-next { align-items: flex-start; flex-direction: column; gap: 11px; }.app-footer { flex-direction: column; gap: 7px; margin-top: 25px; font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.data-sync { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }.data-sync-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }.data-sync-head h2 { margin: 10px 0 0; color: #344239; font: 650 16px 'Manrope', sans-serif; }.data-sync-head .quiet-button { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; }.data-sync-head .quiet-button:disabled { opacity: .5; cursor: wait; }.sync-market-row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }.sync-market-row label { display: grid; flex: 1; max-width: 420px; gap: 6px; color: #7e8981; font-size: 10px; }.sync-market-row select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font-size: 11px; }.sync-market-row .primary-button { min-width: 154px; }.sync-market-row .primary-button:disabled { cursor: not-allowed; }.local-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 20px; margin-top: 12px; border-top: 1px solid var(--line); }.local-asset-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }.local-asset-identity { display: grid; min-width: 0; gap: 2px; }.local-asset-identity strong { color: #405046; font: 600 11px 'DM Mono', monospace; }.local-asset-identity small { overflow: hidden; color: #8a958d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.local-asset-range { color: #87928b; font: 9px 'DM Mono', monospace; text-align: right; }.local-assets-empty { margin: 0; padding: 18px 0; color: #9aa49d; font-size: 10px; }
@media (max-width: 720px) { .data-sync { margin-top: 18px; padding-top: 15px; }.data-sync-head { align-items: flex-start; }.data-sync-head h2 { font-size: 14px; }.data-sync-head .quiet-button { flex: 0 0 auto; max-width: 155px; font-size: 9px; }.sync-market-row { align-items: stretch; flex-direction: column; gap: 9px; }.sync-market-row label { max-width: none; }.sync-market-row .primary-button { align-self: flex-start; }.local-asset-row { align-items: flex-start; flex-direction: column; gap: 4px; }.local-asset-range { text-align: left; } }
