body[data-page="practice"] .site-main { width: min(1120px, calc(100% - 64px)); padding-top: 36px; }
.practice-page-heading { max-width: none; min-height: 0; margin-bottom: 30px; padding: 0; overflow: visible; border: 0; }
.practice-page-heading::after { content: none; }
.practice-page-heading h1 { font-size: 30px; font-weight: 550; }
.practice-page-heading p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.practice-page-heading + .practice-layout { margin-top: 0; }
.practice-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 40px; }
.practice-topics { top: 24px; padding: 8px 0 0; border: 0; }
.practice-topics h2 { margin: 0 12px 14px; color: var(--muted); font-size: 15px; font-weight: 500; }
.practice-topics .topic-list { display: grid; gap: 5px; border: 0; }
.practice-topics .topic-row { display: block; min-height: 0; padding: 12px; border: 0; border-radius: 8px; transition: background-color 130ms ease; }
.practice-topics .topic-row:hover, .practice-topics .topic-row.is-active { padding: 12px; }
.practice-topics .topic-row.is-active { background: #ece7de; box-shadow: none; }
.practice-topics .topic-body { gap: 5px; }
.practice-topics .topic-body strong { color: #49443e; font-size: 16px; font-weight: 500; line-height: 1.6; }
.practice-topics .topic-row.is-active strong { color: #693c31; font-weight: 600; }
.practice-topics .topic-body small { color: var(--muted); font-size: 14px; }
.practice-topics .topic-arrow { display: none; }
.practice-workspace { min-width: 0; padding: 26px 32px 22px; background: #fffefa; border: 1px solid var(--line); border-radius: 14px; }
.practice-workspace .section-heading { min-height: 30px; gap: 16px; padding: 0; border: 0; }
.practice-workspace .section-heading h2 { max-width: none; margin: 0; font-size: 20px; font-weight: 550; line-height: 1.6; text-wrap: pretty; }
.practice-save-state { flex-shrink: 0; gap: 0; color: var(--muted); font-size: 14px; }
.practice-save-state::before { content: none; }
.practice-save-state.is-unavailable { color: var(--red-800); }
.practice-overview { position: static; margin: 14px 0 28px; padding: 0; background: transparent; border: 0; }
.practice-progress-track { height: 2px; background: #eae5dc; border-radius: 1px; }
.practice-progress-track > span { background: #a47762; }
.practice-question-map { border: 0; }
.practice-question-map > summary { display: grid; grid-template-columns: 1fr auto; min-height: 0; margin: 0; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
.practice-map-trigger { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.practice-question-map .practice-progress-track { grid-column: 1 / -1; display: block; width: 100%; }
.practice-map-chevron { width: 14px; height: 14px; }
.practice-map-panel { margin-top: 8px; padding: 16px; background: #f5f2ec; border-radius: 10px; }
.practice-map-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.practice-map-legend { gap: 8px 16px; padding: 0; color: #6b655d; font-size: 14px; }
.practice-map-tools .text-button { min-height: 36px; padding: 2px 0; color: #6c5146; font-size: 14px; font-weight: 500; text-underline-offset: 4px; }
.practice-map-legend span::before { border-radius: 2px; }
.practice-map-grid { gap: 8px; }
.practice-map-item { min-height: 36px; aspect-ratio: 1.05; color: #514b44; background: #fffefa; border-color: #ded7cb; border-radius: 6px; font-size: 13px; }
.practice-map-item.is-correct { background: #57715c; border-color: #57715c; }
.practice-map-item.is-incorrect { background: #934a40; border-color: #934a40; }
.practice-map-item[aria-current="step"] { outline: 2px solid #8a5a43; outline-offset: 2px; box-shadow: none; font-weight: 600; }
.practice-map-item:focus-visible { outline-offset: 4px; }
.practice-map-pagination { padding-top: 14px; color: #6b655d; font-size: 14px; }
.practice-map-page { min-height: 32px; }
.practice-map-page:disabled { color: #8b857b; }
.practice-workspace .practice-mount { min-height: 0; }
.practice-workspace .question-panel { padding: 0; border: 0; }
.practice-workspace .question-meta { gap: 12px; margin-bottom: 18px; }
.practice-workspace .question-count { color: var(--muted); font-size: 14px; font-weight: 400; }
.practice-workspace .question-type { padding: 0; color: #7c5846; background: none; font-size: 14px; font-weight: 400; }
.practice-workspace .question-stem { margin-bottom: 24px; color: var(--ink); font-size: 22px; font-weight: 500; line-height: 1.8; }
.practice-workspace .answer-option { min-height: 56px; margin-top: 10px; padding: 12px 16px; gap: 12px; color: #48443e; background: transparent; border: 1px solid #e2ddd3; border-radius: 10px; }
.practice-workspace .answer-option:has(input:checked) { background: #f4eee5; border-color: #ae8b70; }
.practice-workspace .answer-option:has(input:focus-visible) { outline: 2px solid #934a40; outline-offset: 3px; }
.practice-workspace .answer-option:has(input:disabled) { cursor: default; }
.practice-workspace .answer-option span { font-size: 17px; font-weight: 400; line-height: 1.8; }
.practice-workspace .answer-option input { width: 17px; height: 17px; margin: 0; accent-color: #8c5746; }
.practice-workspace .button { min-height: 44px; padding: 9px 20px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.practice-workspace .button-red { color: #fffefa; background: #934a40; }
.practice-workspace .answer-submit { min-width: 128px; margin-top: 24px; }
.practice-workspace .button-quiet { color: #64594e; background: transparent; border-color: #ded7cb; }
.practice-navigation { margin-top: 28px; padding-top: 18px; border-top-color: #eee9e0; }
.practice-navigation .button { min-width: 88px; padding: 8px 14px; border: 0; }
.practice-workspace .button:disabled { color: #a39c92; background: transparent; border-color: transparent; }
.practice-workspace .answer-feedback { margin-top: 24px; padding: 20px; background: #f6f3ed; border: 0; border-radius: 10px; }
.practice-workspace .feedback-status { margin-bottom: 8px; font-size: 17px; font-weight: 550; }
.practice-workspace .feedback-explanation, .practice-workspace .feedback-answer { color: #514b44; font-size: 16px; line-height: 1.9; }
.practice-workspace .learning-notes { border-color: #e5dfd4; }
.practice-workspace .learning-notes-title { color: #695345; font-size: 14px; font-weight: 550; }
.practice-workspace .source-link { font-size: 14px; font-weight: 400; }
.practice-welcome { min-height: 330px; align-items: flex-start; padding: 38px 0; background: none; border: 0; }
.practice-welcome::after { content: none; }
.practice-welcome h3 { font-size: 25px; font-weight: 500; }
.practice-welcome > p { max-width: 30ch; margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.practice-welcome .button { margin-top: 28px; }
.practice-summary { padding: 30px 0 10px; background: none; border: 0; }
.practice-summary h3 { font-size: 25px; font-weight: 500; }
.practice-summary .summary-score { margin-top: 14px; color: #704f3c; font-size: 21px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .practice-topics .topic-row:not(.is-active):hover { background: #f0ece4; }
  .practice-workspace .answer-option:hover:not(:has(input:disabled)) { background: #f8f5ef; border-color: #bfae99; }
  .practice-workspace .answer-option:has(input:checked):hover { background: #f1e9dc; }
  .practice-workspace .button-red:hover { background: #7b3a32; }
  .practice-workspace .button-quiet:hover { color: #493d32; background: #f1ede5; }
  .practice-map-item:hover:not([aria-current="step"]) { border-color: #8a5a43; transform: none; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .practice-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .practice-workspace { padding-inline: 24px; }
}
@media (max-width: 760px) {
  body[data-page="practice"] .site-main { width: calc(100% - 32px); padding-top: 24px; }
  .practice-page-heading { min-height: 0; margin-bottom: 20px; }
  .practice-page-heading h1 { font-size: 27px; }
  .practice-page-heading p { font-size: 14px; }
  .practice-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .practice-topics { position: static; min-width: 0; padding: 0; border: 0; }
  .practice-topics h2 { margin: 0 0 10px; font-size: 14px; }
  .practice-topics .topic-list { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 12px; scrollbar-width: thin; scrollbar-color: #cec3b3 transparent; scroll-padding-inline: 3px; }
  .practice-topics .topic-row { flex: 0 0 auto; max-width: 232px; min-height: 0; padding: 10px 12px; background: #efebe3; }
  .practice-topics .topic-row:hover, .practice-topics .topic-row.is-active { padding: 10px 12px; }
  .practice-topics .topic-row.is-active { background: #e4dacb; }
  .practice-topics .topic-body strong { font-size: 15px; line-height: 1.55; }
  .practice-topics .topic-body small { font-size: 14px; }
  .practice-workspace { padding: 22px 20px 16px; border-radius: 12px; }
  .practice-workspace .section-heading h2 { font-size: 18px; }
  .practice-workspace .section-heading { gap: 12px; }
  .practice-workspace .question-stem { margin-bottom: 20px; font-size: 20px; line-height: 1.85; }
  .practice-workspace .answer-option { padding: 12px; }
  .practice-workspace .answer-option span { font-size: 16px; }
  .practice-navigation .button { flex: 0 1 auto; min-width: 72px; }
  .practice-map-panel { padding: 12px; }
  .practice-map-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .practice-map-item { min-height: 36px; }
  .practice-map-legend { gap: 8px 12px; }
  .practice-welcome { min-height: 280px; padding: 28px 0; }
  .practice-welcome h3 { font-size: 23px; }
}
