.vocab-mode-switch{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}
.vocab-mode-switch button,.memory-card button{font:inherit;cursor:pointer;border:1px solid #cddad4;border-radius:12px;padding:12px 16px;background:#fff;color:#183f35}
.vocab-mode-switch button.active{background:#193f35;color:#fff}
#vocabLegacy[hidden],#vocabMemory[hidden]{display:none!important}
#vocabMemory{max-width:850px;margin:auto}
.memory-heading h2{font-size:clamp(25px,4.5vw,36px);line-height:1.35;margin:10px 0}
.memory-heading>p,.memory-guide p{color:#52675e;line-height:1.8}
.memory-stats{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.memory-stats span{background:#e7eeea;border-radius:10px;padding:9px 12px;font-size:14px}
.memory-guide{margin:16px 0 22px;padding:16px;background:#f1f3ed;border-radius:12px;font-size:14px}
.memory-guide summary{cursor:pointer;font-weight:600}
.memory-card{background:#fff;border:1px solid #dce3dc;border-radius:20px;padding:clamp(20px,4vw,36px);overflow-wrap:anywhere}
.memory-card-meta{font-size:13px;color:#60756a}
.memory-card h3{font-size:clamp(24px,5vw,34px);line-height:1.4;margin:20px 0 12px}
.memory-instruction{color:#52675e;line-height:1.8}
.memory-card .memory-primary{display:block;background:#193f35;color:#fff;margin-top:20px;min-height:48px}
.memory-secondary{margin:8px 0 4px}
.memory-cue{background:#f0f4ee;padding:16px;line-height:1.8;border-radius:12px}
.memory-answer{border-top:1px solid #e0e7e1;margin-top:20px;padding-top:16px}
.memory-answer h4{font-size:28px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.memory-card .memory-audio{font-size:14px;padding:6px 10px;font-weight:400}
.memory-pron{color:#60756a;margin:4px 0 16px}
.memory-phrase{color:#365e4e;font-size:15px}
.memory-example{font-size:19px;line-height:1.8}
.memory-anchor{padding:14px;background:#f8f3e6;border-radius:12px;line-height:1.8;font-size:14px}
.memory-answer label{display:block;font-weight:600;margin:22px 0 8px}
.memory-answer label span{display:block;font-size:13px;font-weight:400;color:#65766c;margin-top:5px;line-height:1.6}
.memory-answer textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #ccd9d0;border-radius:10px;font:inherit;line-height:1.7;resize:vertical}
.memory-answer small{display:block;color:#65766c;font-size:12px;margin:7px 0 0}
.memory-rating-label{margin:22px 0 12px;font-weight:600}
.memory-ratings{display:grid;gap:10px;grid-template-columns:1fr}
.memory-ratings button:first-child{background:#e5f1e9}
.memory-note{font-size:13px;color:#68796d;line-height:1.8;margin:22px 0 0}
.memory-finish>p{line-height:1.8}
@media(min-width:760px){.memory-ratings{grid-template-columns:repeat(3,1fr)}}
