.practice-page { --practice-green: #405b4c; --practice-muted: #79776d; }
.exercise-practice { --practice-green: #405b4c; --practice-muted: #79776d; max-width: 680px; margin: 8px auto 20px; }
.exercise-practice [hidden] { display: none !important; }
.exercise-practice .practice-card { justify-content: flex-start; padding: 6px 12px 10px; }
.exercise-practice .practice-prompt { padding: 4px 0 12px; }
.exercise-practice .practice-answer-space { min-height: 68px; padding-top: 10px; }
.ollendorff-page .exercise-head-practice { position: static; flex-wrap: wrap; margin: 0; }
.exercise-head-practice .exercise-legacy-link { position: absolute; top: 22px; right: 18px; line-height: 24px; }
.exercise-practice .practice-complete h3 { font-size: 32px; font-weight: 400; }
.exercise-practice > .practice-shortcuts { text-align: center; }
.practice-editorial-note { font: 12px/1.4 system-ui, sans-serif; color: var(--practice-muted); }
.ollendorff-page .exercise-sentence-list[hidden], .ollendorff-page .exercise-toggle[hidden] { display: none; }
.exercise-legacy-link { font-size: 15px; margin-left: auto; }
.practice-shell { max-width: 1060px; min-height: 100svh; margin: 0 auto; padding: 0 48px; display: grid; grid-template-rows: auto 1fr auto; }
.practice-shell [hidden] { display: none !important; }
.practice-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; border-bottom: 1px solid #e4dfd5; font-size: 17px; }
.practice-back { text-decoration: none; color: #625f54; }
.practice-back:hover { text-decoration: underline; }
.practice-wordmark { font-size: 21px; }
.practice-wordmark span { color: #b7b0a0; padding: 0 8px; }
.practice-prototype { font: 10px/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .13em; color: var(--practice-muted); }
.practice-main { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; max-width: 680px; margin: 0 auto; }
.practice-heading { text-align: center; padding: clamp(20px, 4vh, 42px) 0 24px; }
.practice-eyebrow { margin: 0 0 12px; font: 10px/1.4 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .17em; color: var(--practice-muted); }
.practice-eyebrow span { margin: 0 7px; }
.practice-heading h1 { font-size: clamp(29px, 4vw, 39px); font-weight: 400; letter-spacing: -.025em; margin: 0 0 7px; }
.practice-intro { color: var(--practice-muted); font-size: 18px; margin: 0; }
.practice-session { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.practice-progress-heading { display: flex; justify-content: space-between; font: 11px/1.5 system-ui, sans-serif; color: var(--practice-muted); margin-bottom: 9px; }
.practice-progress { display: block; appearance: none; border: 0; width: 100%; height: 2px; background: #e7e4dc; color: var(--practice-green); }
.practice-progress::-webkit-progress-bar { background: #e7e4dc; }
.practice-progress::-webkit-progress-value { background: var(--practice-green); transition: width .2s; }
.practice-progress::-moz-progress-bar { background: var(--practice-green); }
.practice-card { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 24px 12px; outline: none; }
.practice-prompt { padding: 8px 0 24px; }
.practice-english { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.18; letter-spacing: -.015em; text-wrap: pretty; }
.practice-answer-space { min-height: 124px; display: grid; place-items: center; border-top: 1px solid #ebe7de; padding-top: 22px; }
.practice-italian { font-size: clamp(26px, 3.8vw, 36px); font-style: italic; line-height: 1.25; color: var(--practice-green); text-wrap: pretty; }
.practice-italian em { font-style: normal; }
.practice-answer-hint { color: #969184; font-size: 19px; font-style: italic; margin: 0; }
.practice-actions { width: 100%; max-width: 460px; margin: 0 auto; }
.practice-button { border: 1px solid var(--practice-green); border-radius: 4px; padding: 13px 20px; min-height: 49px; font: 18px/1.2 "Room Garamond", Georgia, serif; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; transition: background .15s; }
.practice-button:hover { background: #334d3f; color: #fffdf9; }
.practice-primary { color: #fffdf9; background: var(--practice-green); }
.practice-secondary { background: transparent; color: var(--practice-green); border-color: #c5cec5; }
.practice-secondary:hover { background: #edf0e9; color: var(--practice-green); }
.practice-reveal { width: 100%; justify-content: center; }
.practice-decisions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.practice-session-footer { display: flex; justify-content: space-between; align-items: center; color: var(--practice-muted); margin: 14px 0 20px; font-size: 15px; }
.practice-session-footer p { margin: 0; }
.practice-undo { font: inherit; color: var(--practice-muted); border: 0; background: transparent; padding: 8px 0; cursor: pointer; }
.practice-undo:hover:not(:disabled) { color: var(--practice-green); text-decoration: underline; }
.practice-undo:disabled { opacity: .35; cursor: default; }
.practice-footer { padding: 15px 0 20px; border-top: 1px solid #e4dfd5; text-align: center; color: var(--practice-muted); font-size: 16px; }
.practice-footer p { margin: 0; }
.practice-shortcuts { font: 10px/1.5 system-ui, sans-serif; margin-top: 8px !important; color: #8c887d; }
.practice-shortcuts span { padding: 0 7px; }
kbd { font: inherit; border: 1px solid #ded9ce; padding: 1px 4px; border-radius: 3px; }
.practice-complete { flex: 1; text-align: center; padding: 28px 0 40px; outline: none; }
.practice-complete-mark { width: 50px; height: 50px; line-height: 50px; border: 1px solid #bdcabc; border-radius: 50%; color: var(--practice-green); margin: 0 auto 25px; font-size: 26px; }
.practice-complete h2 { font-size: clamp(34px, 5vw, 46px); font-weight: 400; letter-spacing: -.025em; margin: 12px 0; }
.practice-complete > p:not([class]) { font-size: 21px; color: var(--practice-muted); line-height: 1.4; }
.practice-complete .practice-button { margin: 28px auto 10px; min-width: 220px; }
.practice-complete .practice-undo { font-size: 16px; }
.practice-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.practice-noscript { text-align: center; font-size: 22px; line-height: 1.5; }
@media (max-width: 600px) {
  .practice-shell { padding: 0 22px; }
  .practice-header { padding: 17px 0; font-size: 16px; }
  .practice-wordmark { font-size: 18px; }
  .practice-prototype { display: none; }
  .practice-heading { padding: 24px 0; }
  .practice-intro { font-size: 16px; }
  .practice-card { padding: 20px 0; }
  .practice-button { padding: 13px 15px; gap: 8px; }
  .practice-footer { font-size: 14px; }
  .practice-shortcuts { display: none; }
}
@media (max-height: 800px) {
  .practice-heading { padding: 16px 0; }
  .practice-heading h1 { font-size: 32px; line-height: 1.15; }
  .practice-intro { font-size: 17px; line-height: 1.3; }
  .practice-card { padding-top: 12px; padding-bottom: 12px; }
  .practice-prompt { padding-bottom: 16px; }
  .practice-answer-space { min-height: 100px; padding-top: 15px; }
  .practice-session-footer { margin: 5px 0 10px; }
}
@media (max-height: 700px) and (min-width: 601px) {
  .practice-header { padding: 16px 0; }
  .practice-english { font-size: 34px; }
  .practice-italian { font-size: 30px; }
  .practice-shortcuts { display: none; }
}
@media (max-height: 610px) {
  .practice-header { padding: 12px 0; }
  .practice-heading { padding: 12px 0; }
  .practice-heading h1 { font-size: 29px; margin-bottom: 0; }
  .practice-intro { display: none; }
  .practice-english { font-size: 28px; }
  .practice-italian { font-size: 26px; }
  .practice-answer-space { min-height: 90px; }
  .practice-shortcuts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .practice-button, .practice-progress::-webkit-progress-value { transition: none; }
}
