/* Shared cream, gold and cocoa palette; the vocabulary session stays inside its section. */
.vocabulary-guide,.vocabulary-practice{scroll-margin-top:105px}
.vocabulary-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.vocabulary-totals>div{padding:18px 20px;border:1px solid #ebdfc7;border-radius:12px;background:#faf5e9}
.vocabulary-totals strong{display:block;font:30px/1.3 Georgia,serif;color:#796034}.vocabulary-totals span{font-size:12px;color:#8b7348}
.vocabulary-parts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.vocabulary-parts button[aria-pressed="true"]{background:#54472c;color:#fffef8;border-color:#54472c}
.vocabulary-practice{border:1px solid #e7d7b7;border-radius:16px;margin:20px 0;background:#fffefb;padding:24px}
.vocabulary-practice-stats{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#80693e}
.vocabulary-practice progress{width:100%;height:5px;margin:16px 0 24px;accent-color:#a48444}
#vocabulary-sentence{font-size:clamp(21px,2.1vw,27px);line-height:1.6;color:#4d3e25;margin:12px 0 16px;overflow-wrap:anywhere}
#vocabulary-form label{display:block;font-size:14px;color:#65512f;margin:20px 0 8px}
#vocabulary-answer{display:block;width:100%;min-height:50px;border:1px solid #d4bc8e;border-radius:10px;background:#fffdfa;padding:12px 15px;color:#42331b;font:inherit}
#vocabulary-answer:disabled{background:#f6f0e4;color:#6b5939}
.vocabulary-feedback{border:1px solid #bfcfa8;background:#f2f6ec;border-radius:12px;padding:20px;margin:22px 0;color:#4c6034}
.vocabulary-feedback.vocabulary-wrong{border-color:#ddbd9f;background:#fff7ee;color:#855032}
.vocabulary-feedback summary{cursor:pointer;font-weight:600;margin-top:12px;font-size:14px}
.vocabulary-feedback>p{font-size:15px;line-height:1.8}
.vocabulary-notes{padding:0 2px 12px;max-width:900px;font-size:14px;line-height:1.85;overflow-wrap:anywhere;color:#55472e}
.vocabulary-notes h4{font-size:14px;color:#6b552c;margin:24px 0 8px}.vocabulary-notes p{margin:8px 0}
.vocabulary-notes blockquote{margin:12px 0;border-left:3px solid #c4a266;padding:10px 16px;background:#faf6ed;color:#675333}
.vocabulary-notes ul{padding-left:24px;margin:8px 0}.vocabulary-notes code{background:#f5ecd9;border-radius:4px;padding:2px 5px;font-size:.93em;color:#6e5127;white-space:normal}
#vocabulary-back{display:block;margin-top:24px;border-color:transparent;font-size:12px;color:#957840}
.vocabulary-result{text-align:center;padding:30px 10px}.vocabulary-result h3{font-size:25px}#vocabulary-final-score{font:36px Georgia,serif;color:#927134;margin:24px 0}
.vocabulary-history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px;border-top:1px solid #ecdfc6;padding-top:20px}.vocabulary-history-heading h3{font-size:18px;margin:0}
.vocabulary-record{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #eee2cc;padding:14px 0;font-size:13px;color:#7c653e}.vocabulary-record button{white-space:nowrap;flex-shrink:0}
.site-nav{flex-wrap:wrap}
@media(max-width:650px){.vocabulary-practice{padding:16px}.vocabulary-parts button{font-size:12px;padding:10px 12px}.vocabulary-totals{gap:8px}.vocabulary-totals>div{padding:14px 10px}.vocabulary-totals strong{font-size:25px}.vocabulary-record{align-items:flex-start;flex-direction:column;gap:8px}.vocabulary-feedback{padding:14px}.vocabulary-practice-stats{font-size:12px}}