/* ================================================================ check / report / practice / history / info / settings */
.sec { margin: 22px 0 10px; font-size: 20px; }
.eyebrow { color: var(--vm-accent); font-weight: 700; font-size: 14px; }
.gap-top { margin-top: 14px; margin-bottom: 8px; }
.check .hero, .practice-head { text-align: center; }
.practice-head h1 { margin: 12px 0 10px; }
.practice-head .safety { margin-top: 10px; }
.plan { text-align: left; width: 100%; max-width: 30em; }
.plan ol { padding-left: 22px; display: grid; gap: 6px; }
.check-run { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; justify-items: stretch; text-align: center; }
.task-card { display: grid; gap: 12px; justify-items: center; }
.task-title { font-size: 20px; }
.bar { height: 8px; border-radius: 4px; background: var(--vm-grid); width: 100%; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--vm-accent); transition: width .25s; }
.task-prompt { font-size: 20px; font-weight: 700; max-width: 26em; }
.task-note { font-size: 18px; color: var(--vm-accent); font-weight: 700; min-height: 1.4em; }
.task-live { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.task-live-side { display: grid; gap: 8px; text-align: center; justify-items: center; }
.task-live-side:not(:has(.retry:not([hidden]), .cents:not([hidden]))) .retry { display: none; }
.task-hint { color: var(--vm-accent); font-weight: 700; min-height: 1.4em; }
.cents { position: relative; height: 10px; width: 220px; border-radius: 5px; background: linear-gradient(90deg, var(--vm-grid), rgba(72, 187, 120, .35) 25% 75%, var(--vm-grid)); }
.cents i { position: absolute; top: -5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--vm-warn); border: 3px solid #fff; }
.cents[data-ok="1"] i { background: var(--vm-good); }
.roll-wrap.small { width: 100%; }
.roll-wrap.small canvas { height: 170px; }
.qbox { display: grid; gap: 12px; justify-items: center; }
.scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.scale-btn { min-width: 46px; }
.scale-ends { display: flex; justify-content: space-between; color: var(--vm-text-dim); font-size: 13px; width: 100%; }
.checks { display: grid; gap: 8px; text-align: left; }
.check-opt { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--vm-panel-raised); border-radius: var(--radius-sm); cursor: pointer; }
.check-opt input { width: 20px; height: 20px; accent-color: var(--vm-accent); }

/* report */
.report { max-width: 820px; display: grid; gap: 14px; }
.report-head { display: grid; gap: 8px; }
.headline { font-size: clamp(24px, 4.5vw, 32px); }
.gate-notes { padding-left: 18px; color: #f6e7a8; font-size: 14px; display: grid; gap: 4px; }
.strengths h2 { margin-bottom: 10px; }
.card .strength-list, .strength-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.strength-list li { display: flex; gap: 10px; align-items: center; font-size: 17px; }
.strength-list .ico { color: var(--vm-good); }
.issue { display: grid; gap: 10px; }
.issue-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.badge.wording-confirmed { color: var(--vm-info); }
.badge.wording-tendency { color: var(--vm-warn); }
.badge.trend-better { color: var(--vm-good); }
.issue-headline { font-size: 18px; font-weight: 700; }
.issue.health { border-color: #7a6a20; background: #1a180e; }
details.why { background: var(--vm-panel-raised); border-radius: var(--radius-sm); padding: 10px 14px; }
details.why summary { cursor: pointer; font-weight: 700; color: var(--vm-accent); }
details.why ul { padding-left: 20px; margin: 8px 0; display: grid; gap: 4px; }
.exercise { display: grid; gap: 8px; border-top: 1px solid var(--vm-grid); padding-top: 12px; justify-items: start; }
.ex-title { font-weight: 800; font-size: 18px; }
.safety { display: flex; gap: 8px; align-items: flex-start; color: #f6e7a8; font-size: 14px; }
.organ { margin: 0; display: grid; gap: 6px; justify-items: center; }
.organ-canvas { width: min(100%, 280px); }
.organ canvas { width: 100%; height: 210px; display: block; border-radius: 12px; background: #0b0e13; }
.organ figcaption { color: var(--vm-text-dim); font-size: 13px; }
.disclaimer { display: flex; gap: 8px; color: var(--vm-text-dim); font-size: 13px; align-items: flex-start; }
.report-actions { margin-top: 10px; }
.card ul { padding-left: 20px; display: grid; gap: 4px; }

/* practice */
.practice { max-width: 980px; display: grid; gap: 16px; }
.practice-head .safety { justify-content: center; }
.practice-head .lead { margin: 0 auto; }
.practice-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); gap: var(--gap); align-items: start; }
.practice-card { display: grid; gap: 14px; text-align: center; }
.target-line { font-weight: 700; font-size: 18px; }
.target-note { font-size: 16px; }
.hold-timer { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.practice-msg { min-height: 1.6em; font-weight: 700; color: var(--vm-accent); font-size: 18px; }
.practice-msg[data-ok="1"] { color: var(--vm-good); font-size: 22px; }
.practice-count { color: var(--vm-text-dim); }
.practice[data-success="1"] .practice-card { border-color: var(--vm-good); box-shadow: 0 0 0 4px rgba(72, 187, 120, .2); }
.practice-organ canvas { height: 260px; background: #0b0e13; }

/* history / info / settings */
.history, .info, .settings { max-width: 860px; display: grid; gap: 14px; }
.rows { list-style: none; padding: 0; display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--vm-panel); border: 1px solid var(--vm-grid); border-radius: var(--radius-sm); padding: 12px 14px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 6px; align-items: center; }
.trend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trend { display: grid; gap: 4px; font-size: 14px; color: var(--vm-text-dim); }
.info-sec p, .info-sec ul { margin-top: 8px; color: #c6d0de; }
.info-sec h2 { margin-bottom: 4px; }
pre { background: #0b0e13; border-radius: 10px; padding: 10px 12px; overflow: auto; max-height: 320px; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
details summary { cursor: pointer; }
.empty-card { text-align: center; display: grid; gap: 12px; justify-items: center; }
.settings .chips { margin-top: 10px; }
.settings .card { display: grid; gap: 6px; }
.settings .facts { max-width: none; }

@media (max-width: 720px) {
  .practice-main { grid-template-columns: 1fr; }
  .scale { grid-template-columns: repeat(4, 1fr); }
  .cents { width: 180px; }
}
