:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#27313a;background:#f8fafb;font-size:16px}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:#f0f4f6;border-right:1px solid #e0e7eb;padding:28px 16px}.brand{font-weight:750;font-size:22px;margin:0 10px 42px}.brand small{display:block;font-weight:400;font-size:13px;color:#687783;margin-top:5px}.nav-label,.eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;color:#798793}.nav-label{margin:0 10px 14px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:11px;padding:13px 11px;text-align:left;background:transparent;color:#495761;margin:4px 0;font-size:14px}.nav-item:hover{background:#e6edef}.nav-item.active{background:#fff;color:#1d3543;font-weight:650;box-shadow:0 1px 6px #18304012}.index{color:#8b9aa5;font-size:12px}.main{min-width:0;padding:36px clamp(18px,5vw,70px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:960px;margin:0 auto 26px}.topbar h1{font-size:clamp(23px,3vw,34px);letter-spacing:-.03em;margin:7px 0}.toggle{display:flex;gap:3px;background:#eaf0f3;padding:4px;border-radius:10px;flex-shrink:0}.toggle button{border:0;background:transparent;border-radius:7px;padding:9px 12px;color:#65737d;font-size:13px}.toggle button.chosen{background:white;color:#24323b;box-shadow:0 1px 3px #0001}.content{max-width:960px;margin:auto}.card{background:white;border:1px solid #e3e9ed;border-radius:14px;padding:22px 24px;margin-bottom:15px;box-shadow:0 2px 8px #1e354509}.card h3{font-size:15px;margin:0 0 12px}.card p{line-height:1.65;margin:0;color:#46545e}.card.task{padding:28px 30px}.card.result{border:2px solid #8da8b5}.support{display:grid;grid-template-columns:1fr 1fr;gap:15px}.support .card{background:#f0f4f6;box-shadow:none}.related{margin-top:14px;font-size:13px;color:#697780}.link{border:0;background:none;text-decoration:underline;color:#35617c;padding:0 5px}.lesson-caption{font-size:12px;color:#7b8b95;margin:18px 0 7px}.result-block .card{margin-bottom:24px}@media(max-width:700px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #e0e7eb;padding:14px}.brand{margin:0 4px 12px;font-size:18px}.brand small{display:inline;margin-left:10px}.nav-label{display:none}.nav-item{display:inline-flex;width:auto;margin:2px;padding:9px;font-size:12px}.main{padding:24px 15px}.topbar{align-items:flex-start;flex-direction:column}.support{grid-template-columns:1fr}.card{padding:18px}}

.card.goal {
  background: #edf5f8;
  border-color: #cddfe7;
  border-inline-start: 4px solid #548098;
}

.card.goal h3 {
  color: #244e64;
}

.teacher-bar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 auto 28px; max-width:960px; }
.teacher-bar > button { padding:9px 12px; border:1px solid #cbd9e0; background:white; border-radius:8px; }
.course-link { color:#35617c; font-size:14px; }
.nav-row { margin-bottom:14px; }
.lesson-controls { display:flex; gap:4px; padding-left:10px; }
.icon-button { display:inline-flex; align-items:center; justify-content:center; position:relative; width:34px; height:34px; border:1px solid #b8c8d2; border-radius:8px; background:#fff; color:#667782; flex-shrink:0; }
.icon-button.enabled { background:#deedf3; color:#244e64; border-color:#548098; }
.eye-slash { position:absolute; width:25px; height:2px; background:currentColor; transform:rotate(-45deg); box-shadow:0 0 0 2px white; }
.card-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.card-heading h3 { margin:0; }
.card.unreleased { border-style:dashed; background:#f4f6f7; }
.visibility-note { color:#586b76; margin-bottom:22px; }
.attachment { margin-top:18px; }
.attachment a { color:#245d79; }
.attachment figure { margin:0; }
.attachment img { max-width:100%; height:auto; border-radius:8px; }
.attachment figcaption { margin-top:8px; color:#667782; font-size:13px; }
.attachment iframe { width:100%; height:560px; border:1px solid #cbd9e0; margin-top:12px; }
.attachment summary { cursor:pointer; margin-top:12px; }
.error { padding:16px; background:#fff0e8; color:#6e321d; }
.error button { margin-left:12px; }
button:disabled { cursor:wait; opacity:.55; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline:3px solid #548098; outline-offset:3px; }
@media(max-width:700px) { .nav-row { display:block; } .nav-item { width:100%; } .lesson-controls { padding-left:8px; } }

.brand-title { display:flex; align-items:center; gap:9px; }
.tree-logo { font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; font-size:25px; line-height:1; }
.tree-picker { display:block; font-size:13px; margin:0 10px 24px; color:#495761; }
.tree-picker select { display:block; width:100%; min-width:0; margin-top:8px; padding:9px; border:1px solid #b8c8d2; border-radius:8px; background:white; color:#27313a; font:inherit; }
.reload-control { display:flex; align-items:center; gap:10px; }
.reload-control button { padding:9px 12px; border:1px solid #cbd9e0; background:white; border-radius:8px; }
.reload-control small { color:#496477; }
