:root{color-scheme:light;--bg: #f3f1ea;--surface: #fffdf9;--surface-card: #f7f5ef;--text: #1a1a1a;--muted: #5c6b63;--border: #cfd9d2;--border-strong: #b8c5bc;--navy: #14213d;--shadow: 0 10px 36px rgba(20, 33, 61, .11);--shadow-soft: 0 2px 14px rgba(20, 33, 61, .07);font-family:DM Sans,Segoe UI,system-ui,sans-serif;line-height:1.5;color:var(--text);background:radial-gradient(circle at 8% 6%,rgba(211,107,49,.07),transparent 28rem),radial-gradient(circle at 92% 12%,rgba(20,33,61,.06),transparent 24rem),var(--bg)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit}.app-shell{max-width:1280px;margin:0 auto;padding:1.25rem 1.25rem 2.5rem}.app-header{text-align:center;margin-bottom:1.25rem}.app-header p{margin:0;color:var(--muted);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.app-header h1{margin:.15rem 0 0;color:var(--navy);font-size:clamp(1.7rem,4vw,2.4rem);letter-spacing:-.03em}.layout{display:grid;grid-template-columns:minmax(16rem,22rem) minmax(0,1fr);gap:1rem;align-items:start}.sidebar{position:sticky;top:.75rem;max-height:calc(100vh - 1.5rem);overflow:auto;padding:.45rem;border:1px solid var(--border-strong);border-radius:16px;background:linear-gradient(180deg,var(--surface),#faf8f3);box-shadow:var(--shadow)}.accordion+.accordion{margin-top:.35rem}.accordion-trigger{width:100%;display:flex;align-items:center;gap:.55rem;padding:.75rem .8rem;border:0;border-radius:12px;color:#fff;font-weight:700;text-align:left;cursor:pointer}.accordion-trigger:hover{filter:brightness(1.08)}.chevron{width:1rem;font-size:.72rem}.chapter-name{line-height:1.25}.topic-list{list-style:none;margin:.35rem 0 .15rem;padding:.45rem;border-radius:0 0 12px 12px;border-top:3px solid var(--navy);background:var(--surface-card)}.topic-list li+li{margin-top:.35rem}.lesson-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.62rem .72rem;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);color:inherit;text-align:left;cursor:pointer;box-shadow:var(--shadow-soft)}.lesson-card:hover:not(:disabled){background:#f4f7f5}.lesson-card:disabled{cursor:default;opacity:.62;box-shadow:none}.lesson-card-title{font-weight:600}.lesson-card-arrow{color:var(--navy);font-size:1.2rem}.soon{flex-shrink:0;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}main{min-width:0;min-height:24rem;padding:1.1rem;border:1px solid var(--border-strong);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.welcome h2,.lesson-head h2{margin:.15rem 0 0;color:var(--navy);letter-spacing:-.02em}.welcome p,.lesson-head p{margin:0;color:var(--muted)}.welcome p{max-width:38rem;margin-top:.7rem}.media-tabs,.doc-switch{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0}.media-tabs button,.doc-switch button,.lightbox button,.close-word,.doc-open a{border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-card);color:var(--navy);padding:.4rem .8rem;font-weight:700;cursor:pointer;text-decoration:none}.media-tabs button.active,.doc-switch button.active{background:var(--navy);border-color:var(--navy);color:#fff}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.8rem}.gallery-card{margin:0}.gallery-card button{display:block;width:100%;padding:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;cursor:zoom-in}.gallery-card img,.lightbox img{display:block;width:100%;height:auto}.gallery-card figcaption{margin-top:.4rem;color:var(--navy);font-size:.95rem;font-weight:700;line-height:1.3}.vocabulary section+section{margin-top:1.6rem}.vocabulary h3{margin:0 0 .65rem;color:#2d4636;font-size:1.35rem;font-weight:700;letter-spacing:-.02em}.vocabulary ul{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}.vocabulary li button{border:1px solid var(--border-strong);border-radius:999px;background:#fff;color:var(--navy);padding:.35rem .7rem;cursor:pointer;font-weight:600}.vocabulary li button:hover{background:#eef2f8}.word-window,.lightbox{width:min(40rem,calc(100vw - 2rem));border:0;border-radius:18px;padding:0;box-shadow:var(--shadow)}.word-window::backdrop,.lightbox::backdrop{background:#14213d75}.word-window article,.lightbox-body{padding:1.2rem 1.25rem 1.3rem}.word-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.word-head h2,.lightbox h3{margin:0;color:var(--navy);font-size:1.7rem}.speak{width:3rem;height:3rem;display:grid;place-items:center;border:0;border-radius:50%;background:var(--navy);color:#fff;cursor:pointer}.speak svg{width:1.45rem;height:1.45rem}.word-label{margin:1rem 0 .15rem;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.word-origin,.word-hook{margin:0}.close-word{margin-top:1.1rem}.question-progress{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.9rem}.question-progress button{width:2.1rem;height:2.1rem;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--navy);font-size:.78rem;font-weight:700;cursor:pointer}.question-progress button.active{background:var(--navy);border-color:var(--navy);color:#fff}.question-card h3{margin:.35rem 0 0;color:var(--navy);font-size:1.2rem;line-height:1.4}.question-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem;margin:0;color:var(--muted);font-size:.82rem;font-weight:700}.answer{margin-top:1rem;padding:.9rem 1rem;border-left:4px solid var(--navy);border-radius:0 12px 12px 0;background:#f4f7f5}.answer-label{margin:0;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.answer-text{margin:.25rem 0 0;color:var(--navy);font-weight:700}.answer-why{margin:.55rem 0 0}.question-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1rem}.question-actions button{border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-card);color:var(--navy);padding:.4rem .85rem;font-weight:700;cursor:pointer}.question-actions button:disabled{opacity:.45;cursor:default}.question-actions .reveal{background:var(--navy);border-color:var(--navy);color:#fff}.video{width:100%;max-height:72vh;border-radius:12px;background:#111}.lesson-video,.podcast{display:grid;gap:.7rem;margin:0}.video-parts,.podcast-parts{display:flex;flex-wrap:wrap;gap:.35rem}.video-parts button,.podcast-parts button,.transcript-toggle{border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-card);color:var(--navy);font-weight:700;cursor:pointer}.video-parts button,.podcast-parts button{width:2.1rem;height:2.1rem}.video-parts button.active,.podcast-parts button.active,.transcript-toggle[aria-expanded=true]{background:var(--navy);border-color:var(--navy);color:#fff}.podcast-title{margin:0;color:var(--navy);font-size:1.05rem;line-height:1.35}.radio{justify-self:center;width:min(100%,16rem);padding:0;border:0;background:transparent;cursor:pointer}.radio-art{display:block;width:100%;height:auto;filter:drop-shadow(0 8px 16px rgba(20,33,61,.12))}.radio.is-on .lamp{fill:#d36b31}.podcast audio{width:100%}.transcript-toggle{justify-self:start;padding:.4rem .85rem}.transcript{max-height:22rem;overflow:auto;padding:.85rem 1rem;border:1px solid var(--border);border-radius:12px;background:#fff}.transcript p{margin:0}.transcript p+p{margin-top:.75rem}.transcript p.is-spoken{padding:.35rem .55rem;border-radius:8px;background:#f3e2c8;color:#14213d;font-weight:600}.textbook iframe,.schematics iframe{width:100%;height:min(72vh,48rem);border:1px solid var(--border);border-radius:12px;background:#fff}.schematics{display:grid;gap:.75rem}.schematic-list{display:flex;flex-wrap:wrap;gap:.4rem}.schematic-list button{border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-card);color:var(--navy);padding:.4rem .8rem;font-weight:700;cursor:pointer}.schematic-list button.active{background:var(--navy);border-color:var(--navy);color:#fff}.lightbox{width:min(64rem,calc(100vw - 1.5rem))}.lightbox-body header,.lightbox-nav{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.lightbox-nav{margin-top:.8rem}.lightbox img{max-height:72vh;object-fit:contain;background:#f7f5ef}@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{position:static;max-height:none}}
