.ep-practice { margin: 26px 0; font-size: 15px; line-height: 1.6; }
.ep-practice [hidden] { display: none !important; }
.ep-practice .ep-memory { padding: 15px 18px; border-left: 4px solid #9a782c; background: #eeeada; font-weight: 650; }
.ep-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ep-heading .guide-eyebrow { margin: 0 0 8px; }
.ep-bonus { font-size: 12px; font-weight: 650; color: #70501c; }
.ep-practice [data-ep-turn] { scroll-margin-top: 100px; margin-bottom: 10px; }
.ep-layout { max-width: 400px; }
.ep-board-wrap { position: relative; width: 100%; margin: 0 auto; border: 3px solid #173b2f; border-radius: 3px; }
.ep-board { width: 100%; aspect-ratio: 1; scroll-margin-top: 80px; }
.ep-board-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); height: 12.5%; }
.ep-square { position: relative; border: 0; border-radius: 0; margin: 0; padding: 0; width: 100%; height: 100%; min-width: 0; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; color: #173b2f; }
.ep-light { background: #f3eedf; }
.ep-dark { background: #8caa85; }
.ep-square.ep-last { background: #dfcb88; }
.ep-square.ep-selected { box-shadow: inset 0 0 0 4px #073527; background: #bdd39b; }
.guides-page .ep-square:focus-visible { outline: 3px solid #073527; outline-offset: -3px; z-index: 2; }
.ep-square[aria-disabled="true"] { cursor: default; }
.ep-square.ep-movable { cursor: grab; touch-action: none; }
.ep-board.ep-dragging .ep-square { cursor: grabbing; }
.ep-square.ep-drag-source img { visibility: hidden; }
.ep-square.ep-drag-over { outline: 3px solid #073527; outline-offset: -3px; z-index: 2; }
.ep-drag-piece { position: fixed; z-index: 1000; transform: translate(-50%, -50%); pointer-events: none; user-select: none; max-width: none; filter: drop-shadow(0 4px 3px #07352755); }
.ep-square img { position: relative; width: 86%; height: 86%; max-width: none; display: block; user-select: none; pointer-events: none; }
.ep-coordinate { position: absolute; font: 650 clamp(9px, 1vw, 12px)/1.1 ui-sans-serif, system-ui, sans-serif; pointer-events: none; }
.ep-rank { left: 2px; top: 1px; }
.ep-file { right: 2px; bottom: 0; }
.ep-arrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ep-arrow line { stroke: #6c4815; stroke-width: .095; opacity: .8; }
.ep-arrow marker path { fill: #6c4815; }
.ep-practice .ep-board-note { font-size: 12px; color: #53644f; margin: 9px 0 0; }
.ep-practice .ep-history { font-weight: 600; font-size: 13px; line-height: 1.5; margin: 0 0 10px; }
.ep-actions { margin-top: 14px; }
.ep-practice .ep-step { margin: 0 0 2px; color: #53644f; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ep-practice .ep-question { font-size: 16px; font-weight: 650; margin: 0 0 10px; }
.ep-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ep-choices .ep-choice { display: grid; place-content: center; gap: 2px; min-height: 68px; padding: 10px 8px; }
.ep-choice span { font-size: 18px; }
.ep-choice small { font-size: 12px; font-weight: 500; }
.ep-help { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.ep-actions [data-ep-next] { width: 100%; }
.ep-actions button, .ep-finish button { font: 650 14px/1.45 ui-sans-serif, system-ui, sans-serif; min-height: 44px; padding: 11px 15px; border-radius: 7px; cursor: pointer; max-width: 100%; touch-action: manipulation; }
.ep-primary { background: #073527; color: #fffdf7; border: 1px solid #073527; }
.ep-primary:hover { background: #18513d; }
.ep-secondary { background: #fffdf7; color: #173b2f; border: 1px solid #637d58; }
.ep-secondary:hover { background: #e7edde; }
.ep-text-button { display: block; padding-inline: 0 !important; color: #173b2f; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.ep-actions button:disabled { opacity: .5; cursor: default; }
.ep-practice .ep-feedback { margin: 12px 0; padding: 8px 0 8px 12px; border-left: 3px solid #b6c4aa; scroll-margin-top: 85px; }
.ep-feedback[data-kind="correct"] { border-color: #376e44; font-weight: 600; }
.ep-feedback[data-kind="retry"] { border-color: #9a782c; }
.ep-finish { padding: 22px 0 10px; }
.ep-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .ep-actions { margin-top: 10px; }
  .ep-practice [data-ep-turn] { font-size: 22px; margin-top: 0; }
  .ep-heading { margin-top: 24px; }
}
@media print { .ep-practice [data-ep-controls], .ep-practice noscript { display: none !important; } }
