/* A paper's fold tracks opening. Pencil lines track decisions, never correctness. */
.saved-practice-list { min-width: 0; scroll-margin-top: 20px; }
.saved-practice-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.saved-practice-heading h2 { max-width: 650px; margin: 8px 0 12px; font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.055em; }
.saved-practice-heading p:not(.home-section-kicker) { max-width: 620px; margin: 0; color: #485c50; font-size: .87rem; line-height: 1.5; }
.saved-practice-pencil { color: #a64b32; font-size: 4.5rem; transform: rotate(-12deg); }
.saved-practice-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 25px 0; }
.saved-practice-row { position: relative; min-width: 0; padding: 21px; border: 1px solid #9a8b72; background: #fffdf6; box-shadow: 3px 4px 0 #cdc5b4; scroll-margin-top: 25px; }
.saved-practice-row::after { position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; background: linear-gradient(225deg, #f6f1e5 49%, #d9d1ba 50%, #e8e0cd 100%); border-left: 1px solid #aa9b7f; border-bottom: 1px solid #aa9b7f; content: ""; pointer-events: none; transition: width 160ms ease, height 160ms ease; }
.saved-practice-row[data-open="true"] { border-color: #315d46; box-shadow: 3px 4px 0 #93a58b; }
.saved-practice-row[data-open="true"]::after { width: 14px; height: 14px; }
.saved-practice-row h3 { padding-right: 15px; margin: 0 0 15px; font-size: 1.1rem; line-height: 1.25; letter-spacing: -.02em; }
.saved-practice-progress { display: inline-block; margin: 0; padding: 5px 8px; border: 1px dashed #856843; color: #694d2e; font: 750 .72rem/1.4 var(--home-mono); }
.saved-practice-row[data-practice-state="finished"] .saved-practice-progress { border: 3px double #315d46; color: #315d46; transform: rotate(-2deg); }
.saved-practice-reply-status { margin: 10px 0 0; color: #8c3f2c; font-size: .82rem; font-weight: 800; line-height: 1.4; }
.saved-practice-marks { display: grid; gap: 8px; margin: 15px 0; padding: 13px 0; border-block: 1px solid #ded6c5; }
.saved-practice-marks p { margin: 0; color: #354e42; font-size: .83rem; line-height: 1.5; overflow-wrap: anywhere; }
.saved-practice-marks [data-mark="reviewed"] { padding-left: 10px; border-left: 3px solid #a64b32; }
.saved-practice-marks [data-mark="first"] { color: #665f50; }
.saved-practice-note { margin: 12px 0; color: #645d4c; font-size: .73rem; line-height: 1.45; }
.saved-practice-list button { min-height: 46px; max-width: 100%; padding: 11px 14px; border: 1px solid #17342f; border-radius: 0; background: #17342f; color: #fffdf8; font-family: inherit; font-size: .82rem; font-weight: 750; line-height: 1.4; text-align: left; cursor: pointer; }
.saved-practice-list button:hover { background: #2e5d4a; }
.saved-practice-row > button { width: 100%; }
.saved-practice-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding: 18px 0 8px; border-top: 1px dashed #9a8b72; }
.saved-practice-footer p { margin: 0; font-size: .76rem; color: #485c50; }
.saved-practice-footer button { color: #17342f; background: #fffdf6; }
.saved-practice-footer button:hover { background: #e9f0e4; }
.saved-practice-empty { padding: 20px; border: 1px dashed #9a8b72; font-size: .85rem; line-height: 1.5; }
#more-cases-panel .more-cases-current { margin: 26px 0 20px; }
#more-cases-panel .sentence-review { margin: 26px 0 0; }
#more-cases-heading { margin-top: 25px; scroll-margin-top: 20px; }
.saved-practice-list :is(button, a):focus-visible, .saved-practice-list:focus-visible { outline: 3px solid #a64b32; outline-offset: 4px; }
@media (max-width: 640px) {
  .saved-practice-rows { grid-template-columns: 1fr; gap: 13px; margin: 20px 0; }
  .saved-practice-row { padding: 18px 16px; }
  .saved-practice-pencil { display: none; }
  .saved-practice-heading h2 { font-size: 2rem; }
  .saved-practice-footer { align-items: stretch; flex-direction: column; }
  .more-cases-current-actions { width: 100%; }
  .more-cases-current-actions button { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .saved-practice-row::after { transition: none; }
  .saved-practice-row[data-practice-state="finished"] .saved-practice-progress { transform: none; }
}
