*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#242b36;font:17px/1.6 system-ui,sans-serif;background:white}a{color:#665020;text-underline-offset:.18em}img{max-width:100%;height:auto}.sev-header-master{max-width:1250px;margin:auto}.sev-header-author-lines span a{color:inherit}.layout,.public{max-width:1280px;margin:2.6rem auto;padding:0 clamp(16px,3vw,48px)}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:clamp(20px,4vw,70px)}aside{align-self:start;position:sticky;top:.5rem;max-height:96vh;overflow:auto}summary{cursor:pointer;color:#79541c;font-weight:650}nav a{display:block;padding:.36rem .6rem;border-left:2px solid #e8dfcd;font-size:.94rem;text-decoration:none}nav a[aria-current]{background:#faf4e5;border-color:#956916}nav a small,.tile small{display:block;color:#71695b}h1,h2,h3,.lead{font-family:Georgia,serif;color:#825b20;line-height:1.15;font-weight:500}h1{font-size:clamp(2.4rem,5vw,4.6rem);margin:.35em 0}h1 em{display:block;color:#152e55;font-style:normal}h2{font-size:clamp(1.7rem,3vw,2.4rem)}h3{font-size:1.4rem}.lead{font-size:1.55rem}.eyebrow{letter-spacing:.14em;color:#846421;font-size:.85rem;font-weight:bold}.tools,.actions,.pager{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}.tools{justify-content:flex-end;border-bottom:1px solid #ddcfaf;padding-bottom:.7rem}.btn,button{display:inline-block;background:linear-gradient(170deg,#fff8df,#f1dba0 60%,#dec17a);border:1px solid #bd9b54;border-radius:4px;padding:.56em .85em;font:600 .94rem/1.35 system-ui;color:#523b16;cursor:pointer;text-decoration:none}button:disabled{opacity:.55;cursor:default}select,input,textarea{font:inherit;max-width:100%;padding:.4em}.intro,.stage{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:2rem}.intro .cover,.stage img{width:100%;max-height:370px;object-fit:contain}.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}.tile{background:white;border:1px solid #d6c498;padding:1rem;text-align:center;text-decoration:none;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#68491a}.tile img{height:114px;width:100%;object-fit:contain}.tile b{font:600 1.3rem Georgia,serif}.red{color:#b02321}.phrase{font:500 clamp(1.6rem,3.8vw,2.7rem)/1.55 Georgia,serif}.token{color:inherit;text-decoration:underline;text-decoration-color:#bdac80;text-decoration-thickness:1px}.current{background:#ffdf86;border-radius:3px}.rows article{padding:.75rem 0;border-bottom:1px solid #e6ddc9}.rows p{margin:.1em 0}.rows article.active{border-left:3px solid #b7842c;padding-left:.8rem}.rows .phrase{font-size:1.45rem}.ru{color:#4b5460}.public audio{display:block;width:min(100%,420px);margin-bottom:1rem}.public section{border-top:1px solid #d8c8a9;margin-top:2rem;padding-top:1rem}dialog{border:1px solid #c9b17e;border-radius:6px;max-width:min(620px,96vw);width:100%;max-height:88vh;overflow:auto;padding:1.5rem}dialog::backdrop{background:#14274070}dialog img{max-height:185px;object-fit:contain;width:100%}footer{text-align:center;border-top:1px solid #dfd6bf;padding:1.8rem;margin-top:3rem;color:#765c30}audio{max-width:100%}:focus-visible{outline:3px solid #2a6390;outline-offset:3px}.toolbar{margin:1rem 0}.pager{margin-top:1rem}.worddetail{font-size:1.3rem}@media(max-width:760px){.layout{display:block;margin-top:1rem}aside{position:static;max-height:none;margin-bottom:1rem}.intro,.stage{grid-template-columns:1fr;gap:.4rem}.intro .cover,.stage img{max-height:200px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{padding:.6rem}.tile img{height:80px}.tools{justify-content:start}.public{margin-top:1rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.word-audio{display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem;margin-top:.35rem}
.stage .word-audio,dialog .word-audio{justify-content:flex-start}
.word-audio button,.tools button,.pager button{min-height:44px}
button.playing{outline:2px solid #865b16;outline-offset:2px}
.intro>img{max-height:300px;width:100%;object-fit:contain}
.rows article{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,22%);align-items:center;gap:1rem}
.rows article img{width:100%;max-height:105px;object-fit:contain}
#status{position:fixed;bottom:1rem;left:1rem;z-index:2;margin:0;background:#fff;border:1px solid #c9b17e;padding:.35rem .7rem;max-width:calc(100vw - 2rem);font-size:.875rem}
#status:empty{display:none}
@media(max-width:760px){.intro>img{max-height:170px}.rows article{gap:.65rem}.tile b{overflow-wrap:anywhere}}
@media(max-width:760px){
 aside{position:sticky;top:0;z-index:3;max-height:62vh;background:#fff;border-bottom:1px solid #ddcfaf;padding:.45rem 0}
 aside summary{min-height:44px;padding:.45rem 0}
 #main{scroll-margin-top:65px}
}

.anatomy-grid figure{margin:0;padding:0}
.anatomy-grid img{display:block;width:100%;height:auto;background:#fff}
.anatomy-grid figcaption{padding:.35rem 0 1rem}
.theory{max-width:70rem}
.theory th,.theory td{padding:.45rem;vertical-align:top;text-align:left}
.theory dt{font-weight:700;margin-top:1rem}
.theory dd{margin-inline-start:0}
@media(max-width:480px){
 .intro h1,h1{font-size:clamp(1.8rem,8vw,2.4rem)}
 .anatomy-grid{grid-template-columns:1fr}
 .theory table{width:100%;font-size:.92rem;overflow-wrap:anywhere}
}

.vocabulary-grid .tile{justify-content:start;padding:.9rem;gap:.22rem}
.vocabulary-grid .tile img{height:clamp(115px,16vw,205px);margin-bottom:.3rem}
.vocabulary-grid .tile small{font-size:.92rem}
.lex-link{display:block;margin-top:auto;padding-top:.45rem;min-height:44px;font-size:.92rem;line-height:1.35}
.lex-link span{display:block}
nav a small,.tile small{font-size:.88rem}
.recording-note{display:block;margin-top:.4rem;color:#615947}
.theory .gesture li{margin-block:.65rem}
.theory .gesture span{display:block}
.theory .anatomy-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.theory th,.theory td{border-bottom:1px solid #e8dfcd}
.theory table{width:100%;border-collapse:collapse}
.theory a.btn{min-height:44px}
@media(max-width:480px){
 .theory .anatomy-grid{grid-template-columns:1fr}
 .vocabulary-grid .tile{padding:.55rem}
 .vocabulary-grid .tile img{height:110px}
 .vocabulary-grid .word-audio button{padding-inline:.4rem}
}

/* Lesson 10 additions to the shared PHONÉTIQUE layout. */
.photo-caption{font-size:.92rem;color:#615947}
.theory .anatomy-grid figure:last-child{max-width:28rem}
#definition h2{scroll-margin:1rem}
#definition table td{padding:.2rem .65rem;border-bottom:1px solid #e8dfcd}
#body ol li,#body ul li{margin-block:.35rem}
.vocabulary-grid .token{color:inherit}
@media(min-width:761px){.rows article img{max-height:150px}}
.photo-gallery figure{margin:.5rem 0 1.2rem}
.photo-gallery figure img{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.photo-gallery figcaption small{display:block;font-size:.92rem;color:#615947}
/* Give the final spoken row the same room to scroll to the viewport center. */
.rows{padding-block-end:max(0px,calc(50vh - 3.5rem))}

#view .phrase { color: #17365e; }
.rows [lang="ru"], #view .ru, .vocabulary-grid small[lang="ru"] { color: #6d501e; }
footer .collection-links { margin: .55rem 0 0; }
footer .collection-links a { display: inline-block; padding: .14rem .27rem; border: 0; font-size: .94rem; text-decoration: underline; }
.lexicon { columns: 2; padding-inline-start: 1.15rem; }
.lexicon li { break-inside: avoid; margin-block: .28rem; }
@media (max-width: 430px) { .lexicon { columns: 1; } }

.vocab-example { margin: .15rem 0 0; color: #173450; font-size: 1.09rem; }
.vocab-translation, .worddetail + p + p { color: #715416; }
.vocab-translation { margin: 0 0 .35rem; font-size: .94rem; }

.forms{border-collapse:collapse;width:100%;margin-block:1rem 2rem}.forms th,.forms td{text-align:left;padding:.6rem;border-bottom:1px solid #e6ddc9;overflow-wrap:anywhere;vertical-align:top}.forms th{color:#825b20}.word-audio button{min-height:44px}.theory audio{width:100%}.vocabulary-grid article.tile{border:0}.intro>img{max-height:370px;width:100%;object-fit:contain}
