.practice-tabs{flex-wrap:wrap}.practice-tabs>a{white-space:nowrap}.memory-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.memory-entry{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;color:var(--navy)}.memory-entry:hover{background:#f9fbfd}.memory-entry>div{flex:1}.memory-entry h3{font-size:17px;margin:0 0 5px}.memory-entry p{color:#66768e;font-size:13px;line-height:1.6}.memory-entry>.icon{width:18px}.memory-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:24px}.memory-kicker{font-size:10px;font-weight:850;letter-spacing:1.3px;color:#71809a}.memory-overview h2{font-size:23px;letter-spacing:-.5px;margin:11px 0}.memory-overview p{max-width:540px;font-size:14px;color:#64748b;line-height:1.75;margin-bottom:18px}.memory-totals{display:flex;gap:26px;padding:22px;border-radius:14px;background:var(--brand-yellow-soft)}.memory-totals>div{display:flex;flex-direction:column;gap:4px;min-width:63px}.memory-totals strong{font-size:33px;line-height:1.2}.memory-totals span{font-size:12px;color:#78603d}.memory-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}.memory-filters button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#657690;font-size:13px;font-weight:800;min-height:42px;padding:9px 13px}.memory-filters button.active{background:var(--brand-yellow-soft);color:var(--navy);border-color:transparent}.memory-filters span{font-size:11px;opacity:.8}.memory-list-head{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#748298;margin-bottom:12px}.memory-list{list-style:none;padding:0 22px;margin:0;background:#fff;border:1px solid var(--line);border-radius:16px}.memory-word{display:flex;align-items:center;gap:20px;padding:20px 0;min-width:0}.memory-word+.memory-word{border-top:1px solid #edf0f4}.memory-errors{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:55px;min-width:55px;padding:7px 0;border-radius:10px;background:#fff1e5;color:#986336}.memory-errors strong{font-size:20px}.memory-errors small{font-size:10px}.memory-errors.resolved{color:#408369;background:#edf7f2}.memory-word-copy{flex:1;min-width:0;text-align:left;display:flex;align-items:flex-start;flex-direction:column;gap:3px}.memory-word-copy strong{font-size:18px;overflow-wrap:anywhere}.memory-word-copy>span{font-size:14px;color:#66768e}.memory-word-copy>small{font-size:11px;color:#7b8798;margin-top:5px;line-height:1.5}.memory-word-actions{display:flex;align-items:center;gap:9px}.memory-word-actions>.btn{font-size:12px;padding:10px 12px;min-height:40px}.memory-word-actions>.btn:disabled{opacity:.8;background:#f0f4f7;color:#718096}.memory-checkbox{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:65px;cursor:pointer;padding:5px 0}.memory-checkbox input{width:23px;height:23px;accent-color:var(--blue);cursor:pointer}.memory-checkbox span{font-size:10px;color:#687c93}.memory-word.reviewed .memory-checkbox span{color:#408369}.memory-practice{display:flex;align-items:flex-end;gap:20px;background:#edf2f8;padding:22px;border-radius:14px;margin-top:18px}.memory-practice>div{flex:1;align-self:center}.memory-practice>.btn{min-height:48px}.memory-practice strong{font-size:14px}.memory-practice p{font-size:12px;color:#6f819a;margin-top:5px}.memory-mode{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:800;color:#73829a}.memory-mode select{background:#fff;color:var(--navy);font:inherit;font-size:12px;border:1px solid #dce3ec;border-radius:9px;min-height:48px;padding:8px 26px 8px 10px}.memory-note{font-size:12px;line-height:1.8;color:#7b879a;margin-top:23px;max-width:820px}.memory-empty{text-align:center;border:1px dashed #d6dfec;background:#fff;border-radius:16px;padding:42px 24px}.memory-empty>.icon{height:35px;width:35px;color:#9aaeca;margin-bottom:14px}.memory-empty h2{font-size:21px;margin-bottom:10px}.memory-empty p{font-size:14px;line-height:1.7;color:#73819a;max-width:430px;margin:0 auto 22px}.memory-detail-link{margin-top:12px}
@media(max-width:960px){.memory-overview{padding:24px;gap:20px}.memory-totals{gap:14px;padding:17px}.memory-overview h2{font-size:21px}.memory-entry{padding:18px;gap:12px}}
@media(max-width:760px){.practice-tabs>a{flex:1 1 calc(50% - 6px)}.memory-entry-grid{grid-template-columns:1fr}.memory-overview{grid-template-columns:1fr}.memory-totals{justify-content:flex-start;gap:35px;width:fit-content}.memory-word{gap:14px}.memory-practice{flex-wrap:wrap}.memory-practice>div{flex-basis:100%}.memory-mode{flex:1}.memory-overview p{font-size:13px}}
@media(max-width:480px){.practice-tabs>a{font-size:12px;padding:10px 6px}.memory-list{padding:0 15px}.memory-word{flex-wrap:wrap;gap:11px;padding:18px 0}.memory-word-copy{flex-basis:calc(100% - 80px)}.memory-word-actions{margin-left:auto}.memory-word-copy strong{font-size:17px}.memory-word-copy>small{font-size:10px}.memory-overview{padding:21px}.memory-overview h2{font-size:20px}.memory-practice{padding:18px;gap:12px}.memory-practice>.btn{width:100%}.memory-filters{gap:6px}.memory-filters button{font-size:12px;padding:8px 10px}.memory-note{font-size:11px}.memory-empty{padding:30px 18px}}

.memory-dictionary-link{display:flex;width:fit-content;gap:7px;margin:0 0 20px}.memory-checkbox input:focus-visible{outline:3px solid #9ab8ff;outline-offset:3px}

/* Reusable word checklists; applying a model preserves existing review marks. */
.checklist-template-picker{background:#fff;border:1px solid #dce5f1;border-radius:17px;margin:0 0 24px;overflow:hidden}
.checklist-template-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 23px;cursor:pointer;list-style:none}
.checklist-template-picker>summary::-webkit-details-marker,.checklist-template-preview>summary::-webkit-details-marker{display:none}
.checklist-template-picker>summary>span{font-size:18px;font-weight:850;line-height:1.5}
.checklist-template-picker>summary>span>.icon{width:21px;height:21px;color:var(--blue);margin-right:9px;vertical-align:middle}
.checklist-template-picker>summary small{display:block;font-size:13px;font-weight:600;color:#6b7f9c;margin-top:5px}
.checklist-template-picker>summary>.icon{width:20px;height:20px;flex-shrink:0;color:#6a81a4}
.checklist-template-picker[open]>summary>.icon,.checklist-template-preview[open]>summary>.icon{transform:rotate(180deg)}
.checklist-template-body{padding:0 23px 22px}
.checklist-template-body>p{color:#647996;font-size:14px;line-height:1.7;max-width:730px;margin-bottom:19px}
.checklist-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.checklist-template-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid #e1e8f2;background:#fafcff;border-radius:14px;padding:20px;align-self:stretch}
.checklist-template-card>.icon-tile{width:40px;height:40px;margin:0 0 15px;border-radius:11px}
.checklist-template-card h3{font-size:17px;line-height:1.4;margin:0 0 9px}
.checklist-template-card>p{font-size:13px;line-height:1.65;color:#657a98;margin:0 0 16px}
.checklist-template-preview{width:100%;margin:0 0 17px}
.checklist-template-preview>summary{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:42px;font-size:13px;font-weight:800;color:var(--blue);cursor:pointer;list-style:none}
.checklist-template-preview>summary .icon{width:15px;height:15px;flex-shrink:0}
.checklist-template-preview ul{list-style:none;padding:0;margin:9px 0 0;max-height:255px;overflow:auto;scrollbar-width:thin}
.checklist-template-preview li{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid #e4eaf3;font-size:13px;overflow-wrap:anywhere}
.checklist-template-preview li:last-child{border:0}
.checklist-template-preview li>span{font-size:12px;color:#697e9a}
.checklist-template-card>.btn{margin-top:auto;width:100%;min-height:44px;font-size:13px;padding:11px 12px}
.checklist-template-card>.btn:disabled{opacity:1;background:#edf1f7;border-color:transparent;color:#78879c;box-shadow:none}
.checklist-template-card>.text-link{margin-top:10px;min-height:34px;font-size:12px;align-self:center}
.checklist-template-card>.checklist-template-empty{font-size:12px;color:#7385a0}
.checklist-template-body>.checklist-template-note{margin:17px 0 0;font-size:12px}
#memory-results{scroll-margin-top:100px}
@media(max-width:1100px){.checklist-template-grid{grid-template-columns:1fr}.checklist-template-card{padding:20px}.checklist-template-preview ul{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.checklist-template-card>.btn{width:auto;min-width:190px}.checklist-template-card>.text-link{align-self:flex-start}}
@media(max-width:480px){.checklist-template-picker>summary{padding:18px}.checklist-template-picker>summary>span{font-size:17px}.checklist-template-body{padding:0 17px 18px}.checklist-template-body>p{font-size:13px}.checklist-template-card{padding:18px}.checklist-template-card>.btn{width:100%;font-size:14px}.checklist-template-preview ul{grid-template-columns:1fr}.checklist-template-card h3{font-size:18px}.checklist-template-picker>summary small{font-size:12px}.checklist-template-card>.text-link{align-self:center}}
