:root {
  color-scheme: dark;
  --bg: #07131b;
  --sidebar: #091821;
  --panel: #0c1d27;
  --panel-raised: #102630;
  --line: #1d3540;
  --line-soft: #172c35;
  --text: #eaf3f2;
  --muted: #8da3a9;
  --faint: #5e7780;
  --mint: #6de8bd;
  --mint-deep: #173a35;
  --blue: #77aef8;
  --amber: #e9b779;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, label:focus-within { outline: 2px solid var(--mint); outline-offset: 3px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); }
.sidebar { min-height: 100vh; background: var(--sidebar); border-right: 1px solid var(--line-soft); padding: 24px 15px 16px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 9px 25px; color: var(--text); text-decoration: none; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; background: var(--mint); display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 25px; fill: none; stroke: #09221e; stroke-width: 2.4; stroke-linecap: round; }
.brand strong { display: block; font-size: 13px; letter-spacing: .13em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.nav-label { padding: 13px 10px 8px; color: #627c83; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { width: 100%; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; color: #a9bdc0; cursor: pointer; font-size: 14px; }
.nav-item:hover, .nav-item.active { color: var(--text); background: #112a34; border-color: #1b4147; }
.nav-item.active { box-shadow: inset 2px 0 var(--mint); }
.nav-icon { width: 19px; color: var(--mint); font-size: 19px; text-align: center; }
.nav-count, .nav-lock { margin-left: auto; color: #779199; font-size: 11px; }
.nav-lock { padding: 2px 6px; border: 1px solid #29414a; border-radius: 20px; }
.session-label { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.more-button { padding: 0 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 19px; }
.session-list { display: grid; gap: 3px; }
.session-item { display: flex; align-items: flex-start; gap: 9px; padding: 10px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #bdd0d1; text-align: left; cursor: pointer; }
.session-item:hover { background: #10242d; }
.session-item.selected { border-color: #214b4b; background: #10292e; }
.session-dot { width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: #4d6970; flex: 0 0 auto; }
.session-dot.on { background: var(--mint); box-shadow: 0 0 0 4px #173630; }
.session-copy { min-width: 0; }
.import-result { margin: 0 0 18px; padding: 16px 19px; border: 1px solid #28504f; border-radius: 12px; background: #102822; color: #d8eee4; font-size: 13px; }
.import-result ul { margin: 8px 0; padding-left: 20px; color: #a9c7bd; }
.import-result small { color: #62dbb2; }
.video-workflow { max-width: 760px; margin: 0 auto 24px; padding: 24px; }
.video-workflow label { display: grid; gap: 8px; margin: 14px 0; color: var(--muted); }
.video-workflow select, .video-drop { padding: 14px; border: 1px dashed #38625e; border-radius: 10px; background: #0c2025; color: #d9e8e6; }
.video-drop input { display: block; margin-top: 12px; }
.video-name { color: var(--mint); }
.sync-state { margin-top: 18px; padding: 16px; border-radius: 10px; background: #172c30; }
.sync-state p { color: var(--muted); line-height: 1.7; }
.role-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.role-toolbar button, .role-panel button { padding: 8px 12px; border: 1px solid #29474a; border-radius: 8px; background: #10252b; color: #d9e8e6; cursor: pointer; }
.role-toolbar button.selected { border-color: var(--mint); color: var(--mint); }
.role-panel { max-width: 760px; margin: 0 auto 24px; padding: 24px; }
.role-panel p, .role-panel li { color: var(--muted); line-height: 1.8; }
.role-panel li { padding: 6px 0; }
.role-panel label { display: grid; gap: 8px; margin: 14px 0; }
.role-panel textarea, .role-panel select { min-height: 42px; padding: 10px; border: 1px solid #29474a; border-radius: 8px; background: #0c2025; color: #d9e8e6; }
.role-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.warning-text { color: #ffc486 !important; }
.admin-count { display: flex; justify-content: space-between; padding: 14px 0; }
.session-copy strong { display: block; overflow: hidden; color: #dbe8e7; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.session-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.upload-cta { margin: 20px 3px 15px; min-height: 57px; display: flex; align-items: center; gap: 10px; border: 1px dashed #33544f; border-radius: 10px; padding: 9px 11px; background: #0d2428; cursor: pointer; }
.upload-cta:hover { background: #12302f; border-color: var(--mint); }
.plus { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--mint); background: #173a35; font-size: 19px; }
.upload-cta strong, .upload-cta small { display: block; }
.upload-cta strong { font-size: 13px; font-weight: 600; }
.upload-cta small { color: var(--muted); font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 6px 2px; border-top: 1px solid var(--line-soft); }
.avatar, .top-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #214044; color: var(--mint); font-size: 11px; font-weight: 700; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 12px; font-weight: 600; }
.sidebar-footer small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.online-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--amber); }
.workspace { min-width: 0; }
.topbar { height: 61px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line-soft); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.breadcrumbs b { color: #516972; font-weight: 400; }
.breadcrumbs strong { color: #d6e4e2; font-weight: 550; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.account-login-link { color: var(--mint); font-size: 12px; text-decoration: none; }
.account-login-link:hover { text-decoration: underline; }
.privacy-pill { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #284b45; border-radius: 30px; color: var(--mint); font-size: 11px; }
.privacy-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.help-button { width: 25px; height: 25px; border: 1px solid #38515a; border-radius: 50%; background: transparent; color: #a8bdc0; cursor: pointer; }
.top-avatar { width: 29px; height: 29px; background: #313f52; color: #dce6ec; }
.content { max-width: 1440px; margin: 0 auto; padding: 22px 32px 18px; }
.notice { display: flex; align-items: center; gap: 11px; padding: 9px 13px; border: 1px solid #55452f; border-radius: 9px; background: #211f1b; color: #dfc496; }
.notice-icon { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid #a47d4d; border-radius: 50%; font-size: 12px; }
.notice p { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 0; font-size: 12px; line-height: 1.5; }
.notice p strong { color: #f0ca8c; }
.notice p span { color: #d5bf9b; }
.notice-close { margin-left: auto; border: 0; background: transparent; color: #a7906d; cursor: pointer; font-size: 19px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 23px 0 18px; }
.overline { display: flex; align-items: center; gap: 8px; color: #82989d; font-size: 10px; letter-spacing: .16em; }
.live-line { width: 18px; height: 1px; background: var(--mint); }
h1 { margin: 7px 0 4px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.separator { margin: 0 6px; color: #4d666f; }
.quality-inline { color: var(--mint); }
.heading-actions { display: flex; gap: 8px; }
.primary-button, .secondary-button { min-height: 36px; display: inline-flex; align-items: center; gap: 9px; border-radius: 8px; padding: 0 12px; cursor: pointer; font-size: 13px; }
.primary-button { border: 1px solid #76eac2; background: var(--mint); color: #06231d; font-weight: 650; }
.primary-button:hover { background: #8af3cd; }
.secondary-button { border: 1px solid #314a54; background: #0c1a23; color: #cedbdc; }
.secondary-button:hover { border-color: #58757b; background: #10232d; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.metric-card, .panel { border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(155deg, #0d202a, #0b1922); }
.metric-card { min-height: 112px; padding: 13px 15px 12px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #9bb0b3; font-size: 12px; }
.metric-icon { color: #5f9a8c; font-size: 17px; }
.metric-card > strong { display: block; margin-top: 8px; font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.metric-card > strong small { margin-left: 5px; color: #93a9ac; font-size: 12px; font-weight: 450; letter-spacing: 0; }
.metric-foot { display: block; margin-top: 1px; color: #718990; font-size: 11px; }
.chart-panel { margin-top: 12px; padding: 17px 18px 12px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-heading h2 { margin: 0; font-size: 15px; font-weight: 620; }
.section-heading p { margin: 3px 0 0; color: #849ba0; font-size: 12px; }
.chart-controls { display: flex; align-items: center; gap: 13px; }
.chart-legend { display: flex; align-items: center; gap: 6px; color: #9eb2b4; font-size: 11px; }
.chart-legend i { width: 12px; height: 3px; border-radius: 3px; background: var(--mint); }
.chart-legend .legend-rate { background: var(--blue); }
.range-button { padding: 4px 8px; border: 1px solid #29414b; border-radius: 6px; background: #0a1921; color: #b1c2c3; font-size: 11px; }
.chart-area-wrap { height: 171px; margin-top: 10px; }
.trend-chart { width: 100%; height: 100%; overflow: visible; }
.trend-chart text { fill: #69828a; font-size: 10px; }
.chart-grid path { fill: none; stroke: #1b333d; stroke-width: 1; }
.chart-area { fill: url(#mint-fill); opacity: .08; }
.chart-pace, .chart-rate { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.chart-pace { stroke: var(--mint); }
.chart-rate { stroke: var(--blue); stroke-dasharray: 5 5; opacity: .85; }
.chart-axis { display: flex; justify-content: space-between; padding: 0 2px; color: #617b83; font-size: 10px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); gap: 12px; margin-top: 12px; }
.splits-panel, .insight-panel { min-width: 0; padding: 16px 17px 13px; }
.text-button { padding: 2px 0; border: 0; background: transparent; color: var(--mint); cursor: pointer; font-size: 12px; }
.text-button span { margin-left: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 12px; border-collapse: collapse; text-align: left; }
th { padding: 0 7px 8px; color: #7f969b; font-size: 11px; font-weight: 500; }
td { padding: 7px; border-top: 1px solid #192e38; color: #c0d0d0; font-size: 12px; }
th:first-child, td:first-child { padding-left: 1px; }
.pace-value { color: #e5f1ee; font-variant-numeric: tabular-nums; }
.split-bar { display: block; width: 100%; min-width: 42px; height: 5px; border-radius: 4px; background: #192f39; overflow: hidden; }
.split-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #378f77, var(--mint)); }
.ai-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #28564d; border-radius: 8px; background: #14312c; color: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.insight-card { margin-top: 13px; padding: 12px; border: 1px solid #22433e; border-radius: 9px; background: #0e2527; }
.insight-kicker { color: #b4d1c8; font-size: 12px; }
.insight-spark { color: var(--mint); }
.demo-chip { margin-left: 5px; padding: 2px 5px; border-radius: 4px; background: #1d3b34; color: var(--mint); font-size: 10px; }
.insight-card p { margin: 8px 0 12px; color: #c3d3d1; font-size: 12px; line-height: 1.7; }
.insight-meta { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid #203c3d; color: #819b9b; font-size: 10px; }
.data-boundary { display: flex; align-items: flex-start; gap: 9px; margin-top: 11px; padding: 9px 10px; border: 1px solid #263944; border-radius: 8px; background: #0c1c25; }
.boundary-icon { color: #91aeb2; font-size: 17px; }
.data-boundary p { margin: 0; }
.data-boundary strong, .data-boundary small { display: block; }
.data-boundary strong { color: #bacbcb; font-size: 11px; font-weight: 600; }
.data-boundary small { margin-top: 3px; color: #80969b; font-size: 11px; line-height: 1.55; }
.footer-note { padding: 13px 2px 0; color: #70858b; font-size: 11px; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 5; max-width: min(420px, calc(100vw - 32px)); padding: 11px 14px; border: 1px solid #385a53; border-radius: 9px; background: #112b2a; color: #d1e7dd; box-shadow: 0 10px 30px #0005; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .18s ease; font-size: 13px; }
.toast.visible { opacity: 1; transform: translateY(0); }
.workspace-switch { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 3px; border: 1px solid #28464b; border-radius: 9px; background: #0b1b22; }
.workspace-switch button { min-height: 31px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #96aaad; cursor: pointer; font-size: 12px; }
.workspace-switch button.selected { background: #18362f; color: var(--mint); }
.team-sidebar-note { margin: 20px 4px; padding: 10px; border: 1px solid #254542; border-radius: 9px; background: #0e2626; }
.team-sidebar-note p { margin: 0; color: #d4e5e0; font-size: 13px; }
.team-workspace { display: grid; gap: 14px; min-width: 0; }
.team-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.team-heading h1 { margin: 5px 0; }
.team-heading p:not(.overline) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.team-heading-actions { display: flex; align-items: center; gap: 10px; }
.team-columns { display: grid; grid-template-columns: minmax(225px, .28fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.team-panel { min-width: 0; padding: 16px 14px; }
.team-panel h2, .team-panel h3 { margin: 0 0 10px; font-size: 14px; }
.team-panel h3 { margin-top: 19px; color: #a9bfbe; font-size: 12px; }
.team-panel > p, .team-empty p, .team-ownership > p { color: #8ba1a4; font-size: 12px; line-height: 1.65; }
.team-picker { display: grid; gap: 5px; }
.team-choice { padding: 9px 10px; border: 1px solid transparent; border-radius: 7px; background: #0d2027; color: #b9ceca; text-align: left; cursor: pointer; font-size: 12px; }
.team-choice.selected { border-color: #326052; background: #12312c; color: var(--mint); }
.team-members { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: #a8bcba; font-size: 11px; }
.team-create-form, .team-invite-form { display: grid; gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #1b343b; }
.team-create-form label, .team-invite-form label, .team-comment-form label { color: #a8bfbb; font-size: 12px; }
.team-create-form input, .team-invite-form input, .team-comment-form textarea { width: 100%; min-height: 37px; padding: 8px 10px; border: 1px solid #29474c; border-radius: 7px; background: #0a1a21; color: #dce9e5; font: inherit; font-size: 12px; }
.team-create-form button, .team-invite-form button, .team-invite-card button, .team-comment-form button, .session-ownership-row button { min-height: 34px; padding: 0 10px; border: 1px solid #355a50; border-radius: 7px; background: #17362f; color: #b6f2dc; cursor: pointer; font-size: 12px; }
.team-invite-card { margin: 10px 0; padding: 10px; border: 1px solid #5a4d37; border-radius: 8px; background: #221f19; }
.team-invite-card p { margin: 0 0 8px; color: #dcc9a7; font-size: 12px; }
.team-invite-card button + button { margin-left: 7px; border-color: #3d4546; background: #182327; color: #bbc9c6; }
.team-content { display: grid; gap: 12px; min-width: 0; }
.team-section-heading { display: flex; align-items: center; justify-content: space-between; }
.team-section-heading h2 { margin: 0; font-size: 16px; }
.team-section-heading p { margin: 3px 0 0; color: #859b9e; font-size: 11px; }
.team-ownership { padding: 12px 14px; border: 1px solid #2a4546; border-radius: 9px; background: #0d2025; }
.team-ownership summary { color: #c8dad5; cursor: pointer; font-size: 12px; }
.team-ownership > p { margin: 7px 0; }
.session-ownership-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; margin: 9px 0 0; padding: 10px; border: 1px solid #263d43; border-radius: 7px; }
.session-ownership-row legend { padding: 0 5px; color: #c4d4d1; font-size: 11px; }
.session-ownership-row label { display: inline-flex; align-items: center; gap: 5px; color: #99adad; font-size: 10px; }
.session-ownership-row input { accent-color: var(--mint); }
.session-ownership-row button { min-height: 29px; margin-left: auto; }
.team-training-list { display: grid; gap: 10px; }
.team-training-card, .team-empty { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(155deg, #0d202a, #0b1922); }
.team-training-card > header { display: flex; justify-content: space-between; gap: 12px; }
.team-training-card h3 { margin: 0; color: #d8e7e2; font-size: 14px; }
.team-training-card header p, .team-training-card header > span { margin: 4px 0 0; color: #849b9e; font-size: 10px; }
.team-training-summary { margin: 12px 0; padding: 9px 0; border-top: 1px solid #1a3038; border-bottom: 1px solid #1a3038; color: #b8cbc7; font-size: 12px; font-variant-numeric: tabular-nums; }
.team-comments h4 { margin: 0 0 8px; color: #c8d8d5; font-size: 12px; }
.team-comments > p { color: #84999c; font-size: 11px; }
.team-comments blockquote { margin: 7px 0; padding: 9px 11px; border-left: 2px solid var(--mint); background: #0a1b21; }
.team-comments blockquote p { margin: 0 0 5px; color: #c5d7d1; font-size: 12px; }
.team-comments blockquote small { color: #81979a; font-size: 10px; }
.team-comment-form { display: grid; gap: 8px; margin-top: 10px; }
.team-comment-form textarea { min-height: 68px; resize: vertical; }
.team-comment-form button { justify-self: start; }
.team-empty { padding: 26px; text-align: center; }
.team-empty h2 { margin: 0; font-size: 15px; }
.team-security-note { margin: 0; padding: 9px 11px; border: 1px solid #52452f; border-radius: 8px; background: #211f1b; color: #d3bd94; font-size: 11px; line-height: 1.6; }
.compare-layout { display: grid; grid-template-columns: minmax(230px, .28fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.compare-picker { position: sticky; top: 12px; min-width: 0; padding: 16px 14px; }
.compare-selection-count { display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 7px; border: 1px solid #31524d; border-radius: 20px; color: var(--mint); font-size: 11px; font-variant-numeric: tabular-nums; }
.compare-options { display: grid; gap: 5px; max-height: min(64vh, 680px); margin-top: 12px; overflow-y: auto; }
.compare-option { display: flex; align-items: flex-start; gap: 9px; padding: 10px 8px; border: 1px solid transparent; border-radius: 8px; background: #0c1c24; cursor: pointer; }
.compare-option:has(input:checked) { border-color: #28564d; background: #102823; }
.compare-option input { margin: 3px 0 0; accent-color: var(--mint); }
.compare-option > span { min-width: 0; }
.compare-option strong, .compare-option small { display: block; }
.compare-option strong { overflow: hidden; color: #d7e5e2; font-size: 12px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.compare-option small { margin-top: 4px; color: #82999d; font-size: 10px; line-height: 1.5; }
.compare-results { display: grid; gap: 12px; min-width: 0; }
.compare-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 3px 1px 4px; }
.compare-title h1 { margin: 6px 0 4px; }
.compare-title p { margin: 0; color: var(--muted); font-size: 12px; }
.compare-chart, .compare-matrix { min-width: 0; padding: 16px 17px 13px; }
.compare-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.compare-chart h3 { margin: 0; font-size: 14px; font-weight: 620; }
.compare-chart-head p { margin: 4px 0 0; color: #849ba0; font-size: 11px; }
.compare-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; }
.compare-legend span { display: inline-flex; align-items: center; gap: 5px; color: #a9babb; font-size: 10px; }
.compare-legend i { width: 9px; height: 3px; border-radius: 3px; }
.compare-chart svg { display: block; width: 100%; height: 175px; margin-top: 5px; overflow: visible; }
.compare-chart svg text { fill: #69828a; font-size: 10px; }
.chart-grid-line { fill: none; stroke: #1b333d; stroke-width: 1; }
.compare-chart-range { color: #789097; font-size: 10px; text-align: right; }
.compare-empty { margin: 18px 0 6px; color: #879da0; font-size: 12px; }
.compare-empty-state { display: grid; min-height: 240px; align-content: center; justify-items: center; padding: 28px; text-align: center; }
.compare-empty-state h2 { margin: 13px 0 3px; font-size: 17px; }
.compare-empty-state p { max-width: 400px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.compare-empty-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #28564d; border-radius: 13px; background: #14302b; color: var(--mint); font-size: 25px; }
.compare-table { min-width: 610px; margin-top: 13px; }
.compare-table th, .compare-table td { padding: 9px 10px; vertical-align: middle; }
.compare-table thead th { min-width: 130px; border-bottom: 1px solid #29414a; color: #c6d8d6; font-size: 11px; }
.compare-table thead th:first-child { min-width: 110px; }
.compare-table thead small { display: block; margin-top: 4px; color: #80969b; font-size: 9px; font-weight: 400; }
.compare-col-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; }
.compare-table tbody th { border-top: 1px solid #192e38; color: #bdcdcc; font-size: 11px; text-transform: none; }
.compare-table tbody th small { display: inline-block; margin-left: 4px; color: #758d92; font-size: 9px; font-weight: 400; }
.compare-table td { color: #d9e7e4; font-variant-numeric: tabular-nums; }
.compare-table .compare-group th { border-top: 1px solid #31504d; color: var(--mint); }
.compare-limitations { margin: 10px 0 0; color: #859b9e; font-size: 10px; line-height: 1.6; }
.compare-biomech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 13px; }
.compare-biomech-grid article { display: grid; gap: 5px; padding: 11px; border: 1px solid #223e42; border-radius: 8px; background: #0c2025; }
.compare-biomech-grid strong { color: #cbdcd9; font-size: 11px; }
.compare-biomech-grid span, .compare-biomech-grid small { color: #81999c; font-size: 10px; }
.compare-biomech-grid b { color: var(--mint); font-size: 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 1120px) { .app-shell { grid-template-columns: 220px minmax(0, 1fr); } .topbar { padding: 0 22px; } .content { padding-right: 22px; padding-left: 22px; } .metric-card { padding-right: 11px; padding-left: 11px; } .lower-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .app-shell { display: block; } .sidebar { min-height: auto; padding: 12px 14px 10px; border-right: 0; border-bottom: 1px solid var(--line-soft); } .brand { padding: 2px 4px 11px; } .nav-label, .session-list, .session-label, .sidebar-footer { display: none; } .nav-item { display: none; } .nav-item.active { display: inline-flex; width: auto; height: 36px; padding: 0 10px; } .upload-cta { position: absolute; top: 11px; right: 12px; min-height: 35px; margin: 0; padding: 4px 9px; border-style: solid; } .upload-cta .plus { width: 24px; height: 24px; } .upload-cta strong { font-size: 12px; } .upload-cta small { display: none; } .topbar { height: 49px; padding: 0 15px; } .top-actions { gap: 8px; } .content { padding: 13px 14px 18px; } .notice { align-items: flex-start; padding: 9px; } .notice p { display: block; font-size: 11px; } .notice p strong { margin-right: 5px; } .page-heading { align-items: flex-start; flex-direction: column; margin: 18px 0 13px; } .heading-actions { width: 100%; } .heading-actions button { justify-content: center; flex: 1; } .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .metric-card { min-height: 100px; padding: 11px; } .metric-card > strong { font-size: 22px; } .chart-panel { padding: 14px 11px 10px; } .section-heading { align-items: flex-start; } .chart-controls { gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .chart-legend { font-size: 10px; } .range-button { display: none; } .chart-area-wrap { height: 153px; } .lower-grid { gap: 9px; margin-top: 9px; } .splits-panel, .insight-panel { padding: 13px 11px 11px; } .splits-panel th, .splits-panel td { padding-right: 5px; padding-left: 5px; } .splits-panel th:first-child, .splits-panel td:first-child { padding-left: 0; } .footer-note { font-size: 11px; } .compare-layout { grid-template-columns: minmax(0, 1fr); } .compare-picker { position: static; padding: 12px; } .compare-options { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 230px; } .compare-title { align-items: flex-start; flex-direction: column; } .compare-title .primary-button { width: 100%; justify-content: center; } .compare-chart, .compare-matrix { padding: 13px 11px 11px; } .compare-chart-head { flex-direction: column; } .compare-legend { justify-content: flex-start; } .compare-chart svg { height: 145px; } .compare-biomech-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .team-columns { grid-template-columns: minmax(0, 1fr); } .team-heading { align-items: flex-start; flex-direction: column; } .team-heading-actions { width: 100%; justify-content: flex-end; } .team-training-card, .team-empty { padding: 12px; } .session-ownership-row { gap: 8px; } .session-ownership-row button { width: 100%; margin-left: 0; } }
.print-report { display: none; }
#print-report-root { display: none; }
@media print { :root { color-scheme: light; } body { background: #fff; color: #12252a; } .app-shell { display: none !important; } #print-report-root { display: block; } .print-report { display: block; max-width: 190mm; margin: 0 auto; color: #15272a; font: 11pt/1.55 Arial, sans-serif; } .print-report h1 { font-size: 24pt; } .print-report table { width: 100%; margin-bottom: 18px; border-collapse: collapse; } .print-report th, .print-report td { padding: 7px; border: 1px solid #c5d1d2; text-align: left; } .print-report footer { margin-top: 24px; color: #53686c; } }
.history-view { display: grid; gap: 13px; }
.history-view .page-heading { margin: 15px 0 2px; }
.history-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.history-metric { min-height: 107px; display: grid; align-content: start; gap: 6px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(155deg, #0d202a, #0b1922); color: #9bb0b3; font-size: 12px; }
.history-metric strong { color: var(--text); font-size: clamp(18px, 2vw, 24px); font-weight: 650; line-height: 1.25; }
.history-metric strong small { margin-left: 5px; color: #93a9ac; font-size: 12px; font-weight: 450; }
.history-metric > small { color: #718990; font-size: 10px; }
.history-chart-panel, .history-recent-panel, .logfile-panel { min-width: 0; padding: 16px 18px; }
.history-metric-switch { display: flex; gap: 4px; padding: 3px; border: 1px solid #28464b; border-radius: 8px; background: #0a1a21; }
.history-metric-switch button { min-height: 29px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #91a8aa; cursor: pointer; font-size: 11px; }
.history-metric-switch button.selected { background: #18362f; color: var(--mint); }
.weekly-bars { min-height: 210px; display: flex; align-items: end; gap: clamp(8px, 2vw, 22px); overflow-x: auto; padding: 15px 4px 2px; }
.weekly-column { min-width: 76px; flex: 1 0 76px; display: grid; grid-template-rows: auto 125px auto auto; align-items: end; justify-items: center; gap: 5px; color: #80969b; text-align: center; font-size: 10px; }
.weekly-column > strong { color: #d7e7e2; font-size: 11px; font-variant-numeric: tabular-nums; }
.weekly-bar { width: min(36px, 55%); height: 100%; display: flex; align-items: end; overflow: hidden; border-radius: 7px 7px 3px 3px; background: #132831; }
.weekly-bar i { width: 100%; min-height: 4px; border-radius: inherit; background: linear-gradient(180deg, #79ecc2, #347c6b); }
.weekly-column > span { color: #aabbbc; white-space: nowrap; }
.weekly-column > small { color: #718990; font-size: 9px; }
.history-recent-list { display: grid; margin-top: 10px; }
.history-recent-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 15px; padding: 11px 3px; border: 0; border-top: 1px solid #192e38; background: transparent; color: #c5d7d2; text-align: left; cursor: pointer; font-size: 12px; }
.history-recent-row > span:first-child { min-width: 0; }
.history-recent-row strong, .history-recent-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-recent-row small { margin-top: 3px; color: #80969b; font-size: 10px; }
.history-recent-row > span:last-child { color: var(--mint); }
.history-storage-note { margin: 0; color: #7c9297; font-size: 10px; line-height: 1.6; }
.history-empty { min-height: 280px; display: grid; align-content: center; justify-items: center; padding: 28px; text-align: center; }
.history-empty-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #28564d; border-radius: 13px; background: #14302b; color: var(--mint); font-size: 24px; }
.history-empty h2 { margin: 13px 0 4px; font-size: 17px; }
.history-empty p { max-width: 530px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.history-empty-inline { margin: 20px 0 5px; color: #81979b; font-size: 12px; }
.logfile-filters { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(2, minmax(140px, .8fr)) auto; align-items: end; gap: 10px; padding-bottom: 15px; }
.logfile-filters label { display: grid; gap: 5px; color: #96acae; font-size: 11px; }
.logfile-filters input { min-width: 0; width: 100%; min-height: 37px; padding: 7px 9px; border: 1px solid #29474c; border-radius: 7px; background: #091a21; color: #dce9e5; font: inherit; font-size: 12px; color-scheme: dark; }
.logfile-filter-actions { display: flex; gap: 7px; }
.logfile-filter-actions button { min-height: 37px; }
.logfile-table { min-width: 660px; margin-top: 0; }
.logfile-table th, .logfile-table td { padding: 10px 8px; }
.logfile-table td strong, .logfile-device { display: block; }
.logfile-table td strong { color: #d5e4df; font-size: 12px; font-weight: 550; }
.logfile-row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logfile-delete { color: #e6a39a; }
.import-legacy-note { margin: 0 0 8px; color: #e6c68f; font-size: 11px; line-height: 1.5; }
.logfile-device { margin-top: 3px; color: #7e969a; font-size: 10px; }
.logfile-no-results { padding: 28px 8px !important; color: #879da0; text-align: center; }
.storage-warning { margin-bottom: 12px; padding: 10px 13px; border: 1px solid #795a34; border-radius: 8px; background: #2b2419; color: #f1cb91; font-size: 12px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(ellipse at 50% 4%, #17383a 0, #0a1a22 42%, #07131b 78%); }
.login-card { width: min(100%, 440px); padding: 30px; border: 1px solid #244148; border-radius: 16px; background: linear-gradient(150deg, #0f232c, #0a1820); box-shadow: 0 24px 80px #0005; }
.login-brand { padding: 0 0 28px; text-decoration: none; }
.login-brand strong, .login-brand small { display: block; }
.login-brand small { color: var(--muted); font-size: 11px; }
.eyebrow { margin: 4px 0 9px; color: var(--mint); font-size: 11px; letter-spacing: .08em; }
.login-card h1 { margin: 0; font-size: 27px; }
.login-copy { margin: 9px 0 22px; color: #9bb0b3; font-size: 13px; }
.login-form { display: grid; gap: 9px; }
.login-form > label { color: #c8d7d5; font-size: 12px; }
.login-form input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 12px; border: 1px solid #315057; border-radius: 8px; background: #091820; color: var(--text); }
.login-code-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 2px; }
.login-code-button, .login-wechat { min-height: 42px; border: 1px solid #34564f; border-radius: 8px; background: #102923; color: var(--mint); cursor: pointer; padding: 0 12px; }
.login-code-button:disabled, .login-wechat:disabled { cursor: not-allowed; opacity: .55; }
.login-submit { min-height: 44px; margin-top: 5px; border: 1px solid var(--mint); border-radius: 8px; background: var(--mint); color: #06231d; font-weight: 650; cursor: pointer; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #81999d; font-size: 11px; }
.login-divider::before, .login-divider::after { height: 1px; flex: 1; background: #203941; content: ''; }
.login-wechat { width: 100%; min-height: 44px; }
.login-status { min-height: 36px; margin: 14px 0 0; color: #92a9aa; font-size: 11px; line-height: 1.6; }
.login-terms { margin: 12px 0 0; color: #70888d; font-size: 10px; line-height: 1.6; }
@media (max-width: 480px) { .login-card { padding: 23px 18px; } }
@media (max-width: 900px) { .history-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logfile-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .history-view { gap: 9px; } .history-view .page-heading { align-items: flex-start; } .history-view .page-heading .secondary-button { align-self: flex-end; white-space: nowrap; } .history-metrics { gap: 8px; } .history-metric { min-height: 93px; padding: 10px; } .history-metric strong { font-size: 18px; } .history-chart-panel, .history-recent-panel, .logfile-panel { padding: 13px 11px; } .history-chart-panel .section-heading { flex-direction: column; } .history-metric-switch { align-self: flex-start; } .weekly-bars { min-height: 184px; gap: 9px; } .weekly-column { min-width: 68px; flex-basis: 68px; grid-template-rows: auto 105px auto auto; } .history-recent-row { gap: 8px; grid-template-columns: minmax(0, 1fr) auto; } .history-recent-row > span:nth-child(2) { display: none; } .logfile-filters { grid-template-columns: minmax(0, 1fr); } .logfile-filter-actions button { flex: 1; } }
