.practice-progress { margin-block: 28px; color: var(--text); }
.practice-progress h2 { font-size: 1.35rem; margin: 0 0 20px; }
.practice-progress h2.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.practice-totals { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 0 0 16px; }
.practice-totals div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 5px; }
.practice-totals dt { color: var(--text2); font-size: .85rem; }
.practice-totals dd { margin: 0; font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.practice-note { color: var(--text2); font-size: .9rem; line-height: 1.6; max-width: 68ch; }
.practice-progress > p { margin-block: 12px; }
.practice-module { border-block-start: 1px solid var(--border); padding-block: 20px; }
.practice-module summary { cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; min-height: 44px; align-items: center; }
.practice-module summary span { color: var(--text2); font-size: .85rem; }
.practice-module summary { position: relative; padding-right: 24px; }
.practice-module summary::after { content: ''; position: absolute; right: 4px; top: 16px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.practice-module[open] summary::after { transform: rotate(225deg); top: 20px; }
.practice-progress progress, .module-practice progress { display: block; width: 100%; height: 8px; accent-color: var(--blue, #2365a8); margin-block: 12px 20px; }
.practice-progress progress, .module-practice progress { appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: var(--surface-hover); }
.practice-progress progress::-webkit-progress-bar, .module-practice progress::-webkit-progress-bar { background: var(--surface-hover); }
.practice-progress progress::-webkit-progress-value, .module-practice progress::-webkit-progress-value { background: var(--blue); }
.practice-progress progress::-moz-progress-bar, .module-practice progress::-moz-progress-bar { background: var(--blue); }
.practice-tactics { list-style: none; padding: 0; margin: 8px 0 24px; }
.practice-tactics li { padding-block: 16px; border-block-end: 1px solid var(--border); display: grid; gap: 8px; }
.practice-tactics a { display: flex; gap: 12px; color: var(--text); text-decoration: none; min-height: 36px; align-items: center; }
.practice-tactics a:hover { text-decoration: underline; text-underline-offset: 4px; }
.practice-tactics li > span { color: var(--text2); font-size: .85rem; }
.practice-number { color: var(--text2); font-variant-numeric: tabular-nums; }
.practice-levels { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.practice-level { color: var(--text2); }
.practice-level.is-complete { color: var(--blue, #2365a8); opacity: 1; font-weight: 700; }
.practice-secondary { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: var(--text); }
.module-practice { margin: 24px 0; }
.practice-paths { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.practice-paths a { padding: 12px 16px; min-height: 44px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); }
.practice-paths a[aria-current=page] { background: var(--blue, #2365a8); color: #fff; border-color: var(--blue, #2365a8); }
.tactic-practice-state { display: block; margin-top: 10px; color: var(--text2); font-size: .82rem; line-height: 1.5; }
.module-card.marathon-locked { cursor: default; background: var(--surface-2); }
:root:not([data-theme=light]) .practice-paths a[aria-current=page] { color: #0b1525; }
.practice-progress a:focus-visible, .practice-progress summary:focus-visible, .practice-paths a:focus-visible { outline: 3px solid var(--blue, #2365a8); outline-offset: 3px; }
@media (max-width: 600px) {
  .practice-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .practice-module summary { align-items: flex-start; flex-direction: column; }
  .practice-paths a { flex: 1; text-align: center; }
}
.history-actions, .history-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 14px; }
.history-actions a, .history-pagination a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); text-underline-offset: 4px; }
.history-pagination { border-top: 1px solid var(--border); padding-top: 18px; }
.history-pagination span { color: var(--text2); font-size: 14px; }

/* One practice area; tabs are native links so history and back navigation survive without JS. */
.practice-tabs a:hover { color: var(--text); background: var(--surface-hover); }
.practice-tabs a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.practice-recent { margin-block: 28px; }
.practice-recent .account-card-top { align-items: baseline; gap: 4px 20px; }
.practice-recent h2 { margin: 0; }
.practice-history-link, .practice-recent-list > li > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: .875rem; text-underline-offset: 4px; }
.practice-recent-list { list-style: none; padding: 0; margin: 8px 0 0; }
.practice-recent-list li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 20px; padding-block: 14px; border-top: 1px solid var(--border); }
.practice-recent-list li > div { min-width: 0; }
.practice-recent-list h3 { margin: 0; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.5; }
.practice-recent-list p { margin: 4px 0 0; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.practice-recent .account-empty { padding-top: 4px; }
.practice-recent .account-empty p { margin-top: 8px; }
