
:root{--navy:#1a344a;--gold:#a98655;--line:#d7e3ea;--muted:#587184}
*{box-sizing:border-box}body{margin:0;background:#e9f0f5;color:var(--navy);font:14px 'Segoe UI',Tahoma,Arial,sans-serif}
header{min-height:64px;background:var(--navy);color:#fff;padding:10px 20px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.brand{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:17px;letter-spacing:.3px}.brand span{font-size:11px;color:#c2d3df}
header .stamp{font-size:12px;color:#c1d0dc}.workspace-shell{padding:10px 14px 14px;display:flex;flex-direction:column;height:calc(100dvh - 64px);gap:9px;min-height:0}
nav{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.selector{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.selector label{font-size:12px;color:var(--muted);font-weight:700}
select,button{border:1px solid #cddde5;border-radius:8px;background:#fff;padding:9px 11px;color:var(--navy);font:inherit}select{min-width:178px}
.lectures{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.lectures button{min-width:92px;cursor:pointer}.lectures button.active{color:#fff;background:var(--navy);border-color:var(--navy)}.lectures button:disabled{opacity:.45;cursor:default}
.counter{font-size:12px;color:#476b7f;font-weight:650}
.content{position:relative;flex:1;min-height:0;border-radius:13px;overflow:hidden;border:1px solid #cbdde8;background:white;box-shadow:0 5px 20px #1a344a11}
.content iframe{display:block;width:100%;height:100%;border:0;background:#eaf0f3}
.placeholder{padding:30px;background:#fff;border-radius:14px;border:1px solid var(--line);margin:30px auto;max-width:600px}.placeholder h2{margin-top:0}
.mobile{display:none}@media(max-width:740px){header{padding:10px 12px}.workspace-shell{padding:6px;height:calc(100dvh - 64px)}nav{padding:6px;gap:8px}.counter{display:none}select{min-width:150px}.lectures button{min-width:83px;padding:7px 8px}}

/* V31 chapter holding screen: never overlays published lessons. */
[hidden]{display:none!important}
.chapter-holding{height:100%;min-height:320px;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f5f9fc,#e9f1f7)}
.holding-card{max-width:610px;width:100%;padding:40px;border-radius:20px;border:1px solid #d7e3ea;background:#fff;box-shadow:0 14px 40px #1a344a12}
.holding-eyebrow{color:#8f6a38;font-size:12px;letter-spacing:.11em;font-weight:750}
.holding-card h1{font-size:clamp(23px,3vw,34px);margin:14px 0}.holding-card p{font-size:15px;line-height:1.65;color:#456579}
.holding-card .holding-note{font-size:13px;color:#697b87;border-top:1px solid #e1e9ed;padding-top:15px;margin-top:24px}
