.keys-dialog { width:min(1120px,94vw); max-height:92dvh; box-sizing:border-box; border:1px solid #bdc9b8; border-radius:18px; padding:1.2rem 1.5rem; background:#fcfaf3; color:#24463b; overflow:auto; }
.keys-dialog::backdrop { background:rgba(13,35,27,.72); }
.keys-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; position:sticky; top:-1.2rem; background:#fcfaf3; z-index:2; padding:.6rem 0; }
.keys-heading h2 { margin:.3rem 0; font-size:1.6rem; }
.keys-language { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.keys-language select { padding:.5rem; border:1px solid #a9b59f; border-radius:6px; font:inherit; background:white; }
.keys-intro,.key-general { font-size:.9rem; line-height:1.65; }
.keys-navigation { display:flex; align-items:center; justify-content:center; gap:1.5rem; margin:1.2rem 0; }
.key-stage { touch-action:pan-y; outline-offset:4px; }
.key-slide { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.5rem; }
.key-slide figure { margin:0; min-width:0; }
.key-image { display:block; width:100%; border:0; padding:0; background:white; border-radius:10px; cursor:zoom-in; }
.key-image img { width:100%; max-height:62dvh; display:block; object-fit:contain; border-radius:10px; }
.key-slide figcaption { font-size:.8rem; line-height:1.5; margin-top:.5rem; }
.key-slide article { min-width:0; line-height:1.7; overflow-wrap:anywhere; }
.key-slide h3 { font-size:1.8rem; margin:.4rem 0; }
.key-value { font-weight:600; }
.key-note { padding:.8rem; background:#edf2e8; border-radius:8px; }
.key-example { border-left:3px solid #a8bb90; padding:.5rem .9rem; background:white; line-height:1.9; }
.key-notes { padding-left:1.25rem; }
.key-notes li { margin:.65rem 0; }
.key-placeholder { padding:2.5rem 1.5rem; text-align:center; border:1px dashed #9bab8c; border-radius:12px; background:#edf2e8; }
.key-placeholder span { font-size:5rem; }
.key-slide.zoom { grid-template-columns:1fr; }
.key-slide.zoom .key-image { cursor:zoom-out; }
.key-slide.zoom img { max-height:none; }
@media(max-width:750px) { .keys-dialog { padding:1rem; }.key-slide { grid-template-columns:1fr; }.key-image img { max-height:48dvh; }.keys-navigation {gap:.6rem;} }
