:root {
  --bg: #0e1116;
  --bg-grad: radial-gradient(1200px 600px at 80% -10%, rgba(45,212,191,.10), transparent 60%), #0e1116;
  --surface: #161b22;
  --surface-2: #1c232c;
  --line: #232b35;
  --text: #e6edf3;
  --muted: #8b949e;
  --faint: #5b6470;
  --accent: #2dd4bf;
  --accent-2: #3b82f6;
  --up: #f04848;      /* 盈利/上涨 = 红 (A股惯例) */
  --down: #2ecc71;    /* 亏损/下跌 = 绿 */
  --warn: #f5a623;
  --danger: #ff5c5c;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
[data-theme="light"] {
  --bg: #f4f6f9;
  --bg-grad: radial-gradient(1200px 600px at 80% -10%, rgba(45,212,191,.18), transparent 60%), #eef1f6;
  --surface: #ffffff;
  --surface-2: #f1f4f8;
  --line: #e2e8f0;
  --text: #0f1724;
  --muted: #5b6470;
  --faint: #94a3b8;
  --shadow: 0 6px 24px rgba(15,23,42,.10);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg-grad);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  overscroll-behavior-y: none;
}
#app { display: flex; flex-direction: column; min-height: 100%; max-width: 540px; margin: 0 auto; }

/* App bar */
.appbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top,0px) + 14px) 16px 12px;
  background: linear-gradient(to bottom, var(--bg), color-mix(in srgb, var(--bg) 80%, transparent));
  backdrop-filter: blur(8px);
}
.appbar-main { display: flex; align-items: center; gap: 12px; }
.appbar-mark { display: flex; gap: 3px; align-items: flex-end; height: 26px; }
.appbar-mark span { width: 4px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent-2)); }
.appbar-mark span:nth-child(1){ height: 12px; }
.appbar-mark span:nth-child(2){ height: 22px; }
.appbar-mark span:nth-child(3){ height: 16px; }
.appbar-title { font-weight: 700; font-size: 17px; letter-spacing: .5px; }
.appbar-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
}

/* Views */
main { flex: 1; padding: 6px 14px 96px; }
.view { display: none; animation: fade .25s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.card.tight { padding: 13px 14px; }
.card-title { font-size: 13px; color: var(--muted); margin: 0 0 10px; display:flex; justify-content:space-between; align-items:center; }
.card-title b { color: var(--text); font-weight: 600; }

/* Hero / equity */
.hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.hero .label { font-size: 12px; color: var(--muted); }
.hero .equity { font-size: 32px; font-weight: 800; letter-spacing: .5px; margin: 4px 0 2px; }
.hero .row { display: flex; gap: 18px; margin-top: 12px; }
.hero .row .k { font-size: 12px; color: var(--muted); }
.hero .row .v { font-size: 16px; font-weight: 700; margin-top: 2px; }

/* Grid stats */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 13px; }
.stat .k { font-size: 11px; color: var(--muted); }
.stat .v { font-size: 19px; font-weight: 800; margin-top: 3px; }
.stat .s { font-size: 11px; color: var(--faint); margin-top: 2px; }

/* up/down colors for P&L */
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .06s ease, filter .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05221d; border: none; }
.btn.danger { background: var(--danger); color: #fff; border: none; }
.btn.ghost { background: transparent; }
.btn.block { width: 100%; }
.btn.sm { padding: 8px 11px; font-size: 13px; border-radius: 10px; }
.fab {
  position: fixed; right: 18px; bottom: calc(78px + var(--safe-b)); z-index: 30;
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05221d;
  font-size: 26px; font-weight: 700; box-shadow: 0 8px 24px rgba(45,212,191,.45); cursor: pointer;
}

/* Tab bar */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 25;
  width: 100%; max-width: 540px;
  display: flex; padding: 6px 6px calc(6px + var(--safe-b)); gap: 2px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
.tab {
  flex: 1; border: none; background: transparent; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0; font-size: 11px; cursor: pointer; border-radius: 10px;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: var(--accent); }
.tab.active svg { stroke: var(--accent); }

/* Lists */
.trade {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 10px;
}
.trade .sym { font-weight: 700; font-size: 15px; }
.trade .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.trade .side { font-size: 11px; padding: 1px 7px; border-radius: 6px; font-weight: 700; }
.side.long { background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up); }
.side.short { background: color-mix(in srgb, var(--down) 18%, transparent); color: var(--down); }
.trade .pnl { margin-left: auto; text-align: right; font-weight: 800; font-size: 16px; }
.trade .spacer { flex: 1; }
.mini-btn { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 5px 8px; font-size: 12px; cursor: pointer; }

/* Forms */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 11px 12px; font-size: 15px; font-family: inherit;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-weight: 600; cursor: pointer; }
.seg button.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Checkbox list */
.check { display: flex; align-items: flex-start; gap: 10px; padding: 9px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.check .t { font-size: 14px; }
.check .d { font-size: 12px; color: var(--muted); }

/* Range / rating */
.rate { display: flex; gap: 6px; }
.rate button { flex: 1; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-weight: 700; cursor: pointer; }
.rate button.on { background: color-mix(in srgb, var(--accent) 20%, transparent); border-color: var(--accent); color: var(--accent); }
.range-wrap { display: flex; align-items: center; gap: 10px; }
.range-wrap input[type=range] { flex: 1; accent-color: var(--accent); }
.range-val { font-weight: 700; min-width: 42px; text-align: right; }

/* Modal */
.modal-mask { position: fixed; inset: 0; z-index: 50; background: rgba(3,6,10,.6); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
.modal {
  width: 100%; max-width: 540px; max-height: 90vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(20px + var(--safe-b)); animation: slideup .25s ease;
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-close { background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 10px; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }

/* Toast */
#toast-root { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); animation: pop .2s ease; }
.toast.ok { border-color: var(--accent); }
.toast.warn { border-color: var(--warn); }
.toast.err { border-color: var(--danger); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Empty */
.empty { text-align: center; color: var(--muted); padding: 30px 16px; }
.empty .big { font-size: 34px; margin-bottom: 8px; }

/* Gauge / ring */
.gauge-wrap { display: flex; align-items: center; gap: 16px; }
.gauge-wrap canvas { flex: none; }
.gauge-info .k { font-size: 12px; color: var(--muted); }
.gauge-info .v { font-size: 22px; font-weight: 800; }

/* Discipline ring */
.ring-wrap { display: flex; align-items: center; gap: 14px; }
.ring-wrap canvas { flex: none; }

/* Lock banner */
.lock-banner {
  background: color-mix(in srgb, var(--danger) 16%, var(--surface)); border: 1px solid var(--danger);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.lock-banner h4 { margin: 0 0 4px; color: var(--danger); font-size: 15px; }
.lock-banner p { margin: 0 0 10px; font-size: 13px; color: var(--text); }

/* Breathing overlay */
.breathing-overlay { position: fixed; inset: 0; z-index: 80; background: radial-gradient(circle at 50% 40%, #0b2b27, #05100e); display: flex; align-items: center; justify-content: center; }
.breathing-overlay.hidden { display: none; }
.breathing-inner { text-align: center; color: #d7fff7; }
.breathing-circle {
  width: 180px; height: 180px; margin: 0 auto 26px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.55), rgba(45,212,191,.08));
  display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #eafff9;
  box-shadow: 0 0 60px rgba(45,212,191,.4); transform: scale(.55); transition: transform 1s ease-in-out;
}
.breathing-phase { font-size: 24px; font-weight: 700; letter-spacing: 4px; margin-bottom: 8px; }
.breathing-hint { font-size: 13px; opacity: .7; margin-bottom: 22px; }

/* Affirmation */
.affirm { font-size: 16px; line-height: 1.7; color: var(--text); font-style: normal; }
.affirm .q { color: var(--accent); font-size: 22px; }

/* Misc */
.pill { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 7px; font-weight: 600; }
.tag.ok { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.tag.bad { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
canvas { display: block; }
.sub { color: var(--muted); font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); }

/* trade row extras */
.trade .tmain { min-width: 0; }
.trade .spacer { flex: 1; }
.tpills { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; margin-right: 4px; }
.pill.sm { font-size: 10px; padding: 1px 7px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; font-family: inherit; }
.chip.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* mainline rows */
.ml-row { display: grid; grid-template-columns: 1fr 1fr 84px; gap: 7px; margin-bottom: 7px; }
.ml-row input, .ml-row select { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 8px 9px; font-size: 13px; font-family: inherit; }
.ml-line { font-size: 13px; padding: 2px 0; border-bottom: 1px dashed var(--line); }
.ml-line:last-child { border-bottom: none; }

/* human traps */
.trap { font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--text); }
.trap:last-child { border-bottom: none; }

/* system reference (details) */
details.ref { padding: 0; }
details.ref > summary { list-style: none; cursor: pointer; padding: 14px 16px; margin: 0; }
details.ref > summary::-webkit-details-marker { display: none; }
details.ref[open] > summary { border-bottom: 1px solid var(--line); }
.ref-sec { padding: 10px 16px; border-bottom: 1px dashed var(--line); }
.ref-sec:last-child { border-bottom: none; }
.ref-h { font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--accent); }
.ref-row { font-size: 13px; padding: 3px 0; line-height: 1.6; }
.ref-row b { color: var(--text); }

/* 数据导入 */
.table-scroll { overflow-x: auto; margin-top: 6px; -webkit-overflow-scrolling: touch; }
.imp-tab { width: 100%; border-collapse: collapse; font-size: 12px; }
.imp-tab th, .imp-tab td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.imp-tab th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--surface); }
.imp-tab td:first-child, .imp-tab th:first-child, .imp-tab td:nth-child(2), .imp-tab th:nth-child(2) { text-align: left; }
.imp-tab td:nth-child(2) { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.link-btn { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; padding: 0; font-family: inherit; text-decoration: underline; }
#import-preview { margin-top: 8px; }
.import-map .field { margin-bottom: 9px; }
.import-map .field label { margin-bottom: 4px; }

/* ============ 心理训练舱（作用域隔离，避免与原应用类名冲突） ============ */
#view-train .hidden { display: none !important; }
#view-train { font-size: 14px; line-height: 1.6; }
#view-train .trtabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#view-train .trtab { flex: 1; min-width: 64px; padding: 9px 6px; text-align: center; border-radius: 8px; cursor: pointer; transition: all .2s; font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; border: none; background: none; font-family: inherit; }
#view-train .trtab.on { background: var(--accent); color: #04201d; }
#view-train .trtab:hover:not(.on) { background: var(--surface-2); }

#view-train .tr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
#view-train .tr-h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--text); }
#view-train .tr-muted { color: var(--muted); font-size: 12px; }
#view-train .tr-field { margin-bottom: 14px; }
#view-train .tr-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
#view-train .tr-field input[type=number], #view-train .tr-field input[type=text], #view-train .tr-field select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; background: var(--surface-2); color: var(--text); font-family: inherit; }
#view-train .tr-field input[type=range] { width: 100%; accent-color: var(--accent); margin-top: 4px; }

#view-train .tr-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
#view-train .tr-col { flex: 1; min-width: 120px; }
#view-train .tr-metric { background: var(--surface-2); border-radius: 9px; padding: 10px; text-align: center; flex: 1; min-width: 70px; }
#view-train .tr-metric .val { font-size: 19px; font-weight: 700; }
#view-train .tr-metric .lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

#view-train .tr-btn { padding: 10px 22px; border-radius: 9px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; font-family: inherit; }
#view-train .tr-btn-primary { background: var(--accent); color: #04201d; }
#view-train .tr-btn-primary:hover { opacity: .9; }
#view-train .tr-btn-up { background: var(--up); color: #fff; }
#view-train .tr-btn-down { background: var(--down); color: #06301a; }
#view-train .tr-btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--text); }
#view-train .tr-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
#view-train .tr-btn:disabled { opacity: .4; cursor: not-allowed; }
#view-train .tr-btn-lg { padding: 13px 30px; font-size: 15px; width: 100%; }

#view-train .tr-badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
#view-train .tr-badge-up { background: rgba(240,72,72,.15); color: var(--up); }
#view-train .tr-badge-down { background: rgba(46,204,113,.15); color: var(--down); }
#view-train .tr-badge-info { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

#view-train .tr-nudge { padding: 9px 13px; border-radius: 9px; margin: 8px 0; font-size: 13px; }
#view-train .tr-nudge-warn { background: rgba(245,166,35,.12); border-left: 3px solid var(--warn); }
#view-train .tr-nudge-danger { background: rgba(240,72,72,.12); border-left: 3px solid var(--up); }
#view-train .tr-nudge-info { background: color-mix(in srgb, var(--accent) 12%, transparent); border-left: 3px solid var(--accent); }
#view-train .tr-tip { padding: 9px 13px; border-radius: 9px; font-size: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-top: 8px; }

#view-train .tr-quiz-q { margin-bottom: 16px; padding: 14px; background: var(--surface-2); border-radius: 9px; }
#view-train .q-text { font-size: 14px; font-weight: 500; margin-bottom: 9px; }
#view-train .tr-quiz-opt { display: block; padding: 10px 13px; margin-bottom: 6px; border: 1.5px solid var(--line); border-radius: 9px; cursor: pointer; transition: all .15s; font-size: 13px; background: var(--surface); }
#view-train .tr-quiz-opt:hover { border-color: var(--accent); }
#view-train .tr-quiz-opt.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
#view-train .tr-feedback { padding: 13px; border-radius: 9px; margin-top: 10px; font-size: 13px; }
#view-train .tr-feedback.good { background: rgba(46,204,113,.12); border-left: 3px solid var(--down); }
#view-train .tr-feedback.bad { background: rgba(240,72,72,.12); border-left: 3px solid var(--up); }
#view-train .tr-scenario { padding: 14px; background: var(--surface-2); border-radius: 9px; margin-bottom: 12px; }
#view-train .tr-rule { padding: 8px 11px; background: var(--surface); border-radius: 7px; border-left: 3px solid var(--accent); margin: 8px 0; font-size: 13px; }

#view-train .tr-result-bar { margin-bottom: 12px; }
#view-train .bar-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 3px; }
#view-train .bar-track { height: 9px; background: var(--line); border-radius: 5px; overflow: hidden; }
#view-train .bar-fill { height: 100%; border-radius: 5px; transition: width .6s; }
#view-train .result-score { font-size: 30px; font-weight: 700; text-align: center; }

#view-train .tr-progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0 14px; }
#view-train .tr-progress-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width .4s; }
#view-train .tr-stage { display: flex; gap: 12px; margin-bottom: 12px; padding: 14px; background: var(--surface-2); border-radius: 9px; }
#view-train .tr-stage.done { border-left: 3px solid var(--down); }
#view-train .tr-stage.current { border-left: 3px solid var(--accent); }
#view-train .tr-stage-num { width: 32px; height: 32px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; color: var(--text); }
#view-train .tr-stage.done .tr-stage-num { background: var(--down); color: #06301a; }
#view-train .tr-stage.current .tr-stage-num { background: var(--accent); color: #04201d; }
#view-train .tr-stage-content { flex: 1; min-width: 0; }
#view-train .tr-stage-content h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
#view-train .tr-stage-content p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
#view-train .tr-checklist { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 4px; cursor: pointer; }
#view-train .tr-checklist input { margin-top: 3px; accent-color: var(--accent); }

#view-train #tr-chart { display: block; width: 100%; }
#view-train #tr-price-tag { pointer-events: none; }
#view-train .tr-quiz-opt, #view-train .tr-checklist, #view-train .tr-btn, #view-train .trtab { -webkit-tap-highlight-color: transparent; }
