:root {
  color-scheme: light;
  --ink:#17283e; --deep:#142842; --sea:#2158c4; --muted:#506176;
  --paper:#fff; --card:#fff; --line:#d9e1e9; --gold:#ffd17a;
  --mint:#eaf1ff; --wash:#f5f7fa; --gutter:clamp(14px,4vw,64px);
  font-family:"Pretendard Variable","Pretendard","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  -webkit-font-smoothing:antialiased;
  letter-spacing:-.012em;
  color:var(--ink); background:var(--paper); line-height:1.66;
}
* { box-sizing:border-box }
[hidden] { display:none!important }
body { margin:0 }
a { color:var(--sea); text-underline-offset:.22em }
a:hover { color:#16449e }
button,input,textarea,select { font:inherit }
button,.primary,.secondary { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.55rem .88rem; border:1px solid #9cb8ba; border-radius:6px; background:#fff; color:var(--ink); font-weight:690; cursor:pointer; text-decoration:none }
button:hover,.secondary:hover { background:#f0f4fa }
button:disabled { opacity:.55; cursor:not-allowed }
.primary { background:var(--sea); border-color:var(--sea); color:white }
.primary:hover { background:#1948a5; border-color:#1948a5; color:white }
:focus-visible { outline:3px solid #285bb8; outline-offset:3px }
/* Route changes move reading focus to the heading. Keep its indicator close to the title. */
:is(#lesson-title,#course-checks):focus-visible { outline:none; box-shadow:inset 3px 0 #3265c5; padding-inline-start:.37em }
.skip { position:fixed; z-index:10; top:0; left:12px; transform:translateY(-130%); padding:.7rem; background:white }
.skip:focus { transform:none }
.mast { background:#fff; border-bottom:1px solid var(--line) }
.mast-inner { max-width:1440px; margin:auto; min-height:72px; padding:.55rem var(--gutter); display:flex; justify-content:space-between; align-items:center; gap:.5rem 1.25rem }
.brand { color:var(--ink); display:inline-flex; align-items:center; min-height:44px; font-size:1.18rem; letter-spacing:-.035em; white-space:nowrap; font-weight:690; text-decoration:none }
.brand b { color:var(--sea); margin-left:.64rem; padding-inline-start:.64rem; border-inline-start:1px solid #bcc8d7; font-weight:630 }
.mast nav { display:flex; align-items:center; gap:0 clamp(.5rem,2.2vw,1.75rem); flex-wrap:wrap }
.mast nav a { display:flex; align-items:center; min-height:44px; color:#35465d; font-size:.95rem; font-weight:550; text-decoration:none }
.mast nav a:hover { color:var(--sea); text-decoration:underline }
.home { max-width:1440px; margin:auto; padding:0 var(--gutter) 3rem }
.noscript-guide { border-inline-start:4px solid var(--sea); background:white; padding:.65rem .9rem; margin:1rem 0 }
.hero { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:clamp(1.35rem,4vw,4.35rem); align-items:center; margin:1.5rem 0 1.35rem; padding:clamp(1.3rem,4vw,3.6rem); border-radius:18px 18px 18px 5px; background:var(--deep); color:#fff }
.hero-copy { min-width:0 }
.hero h1 { max-width:13ch; font-size:clamp(2.15rem,4vw,3.6rem); line-height:1.13; text-wrap:balance; word-break:keep-all }
.hero h1 span { display:block }
.kicker { color:var(--sea); font-size:.94rem; font-weight:760; margin:0 0 .35rem }
h1,h2,h3 { line-height:1.32; letter-spacing:-.03em; font-weight:690; word-break:keep-all; overflow-wrap:anywhere }
h1 { font-size:clamp(2.2rem,5vw,4.3rem); margin:.25rem 0 .9rem }
.hero-copy > p { color:#dce9ef; max-width:38ch; margin:0 0 1.1rem; text-wrap:pretty; word-break:keep-all; overflow-wrap:anywhere }
.hero .hero-meta { display:flex; align-items:center; gap:.65rem; font-size:.9rem; font-weight:720; margin-bottom:.72rem }
.hero-meta span { border-inline-start:1px solid #6e8c99; padding-inline-start:.65rem }
.featured-done { color:#c1f3da }
.hero .primary { background:#cff1e7; border-color:#cff1e7; color:var(--deep) }
.hero .primary:hover { background:#e4fff4; border-color:#e4fff4 }
.hero #hero-resume { max-width:100%; text-align:center; word-break:keep-all; overflow-wrap:anywhere }
.hero .secondary { color:#fff; background:transparent; border-color:#88a7b6 }
.hero .secondary:hover { background:#24485d }
.hero .actions .hero-beginner-link { display:inline-flex; width:fit-content; min-height:44px; padding:.35rem .22rem; align-items:center; justify-self:start; color:#dcefe9; font-size:.9rem; font-weight:720 }
.hero .actions .hero-beginner-link:hover { color:#fff }
.hero :focus-visible { outline-color:var(--gold) }
.lesson-preview { min-width:0; margin:0; padding:.82rem; border:1px solid #6a8795; border-radius:12px 12px 12px 4px; background:#214355 }
.lesson-preview figcaption { margin:0 0 .62rem; padding:0 .18rem; color:#dce9ef; font-weight:730; font-size:.83rem }
.lesson-preview img { display:block; width:100%; height:auto; border-radius:6px; background:#fff }
.task-library { margin:0 0 1.5rem; scroll-margin-top:1rem }
.task-library h2 { margin:0 0 .7rem }
.task-library ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:0; padding:0; list-style:none }
.task-card { display:grid; grid-template-rows:auto 1fr auto; min-width:0; padding:.86rem 1rem; border:1px solid var(--line); border-inline-start:3px solid #8fb3b0; border-radius:8px; background:white }
.task-card:has(.featured-done:not([hidden])) { border-inline-start-color:var(--sea) }
.task-heading { display:flex; justify-content:space-between; align-items:start; gap:.6rem }
.task-heading h3 { margin:.08rem 0; font-size:1.07rem; letter-spacing:-.025em; word-break:keep-all; overflow-wrap:anywhere }
.task-heading p { margin:0; color:var(--muted); font-size:.82rem; text-align:end; white-space:nowrap }
.task-heading .featured-done { display:block; color:var(--sea); font-weight:740 }
.task-card > p { margin:.35rem 0 .58rem; color:var(--muted); font-size:.89rem; line-height:1.53; word-break:keep-all; overflow-wrap:anywhere }
.task-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .75rem }
.task-actions a { font-size:.86rem }
.task-open { background:var(--wash); color:#074a4d }
.task-try { display:inline-flex; min-height:44px; align-items:center; font-weight:700 }
.learning-dash { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(230px,1fr); align-items:start; gap:1rem; margin-bottom:1.65rem }
.starter-path,.learning-status { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:clamp(.95rem,2.65vw,1.55rem) }
.starter-path h2,.starter-path h3 { margin:0 }
.starter-path header p { margin:.35rem 0 .85rem; color:var(--muted); font-size:.93rem }
.path-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:0 1.2rem }
.path-progress { flex:0 1 9.75rem; margin-bottom:.85rem }
.starter-path ol { list-style:none; margin:0; padding:0 }
.starter-path li { display:grid; grid-template-columns:2rem minmax(0,1fr) auto; align-items:start; gap:.72rem; padding:.34rem .12rem .56rem; border-top:1px solid var(--line) }
.starter-path li:has(.path-done:not([hidden])) .path-number { background:#bce6d5 }
.starter-path h3 a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); text-decoration:none }
.starter-path h3 a:hover,.learning-tools a:hover { color:var(--sea); text-decoration:underline }
.starter-path li p { margin:-.12rem 0 .2rem; color:var(--muted); font-size:.85rem; line-height:1.48 }
.path-number { display:grid; width:1.88rem; height:1.88rem; margin-top:.36rem; place-items:center; background:var(--mint); color:var(--sea); font-weight:760; border-radius:50% }
.path-time { padding-top:.65rem; color:var(--muted); font-size:.83rem; white-space:nowrap }
.path-done { display:block; color:var(--sea); font-weight:750 }
.starter-next { display:flex; flex-wrap:wrap; gap:0 1.2rem; border-top:1px solid var(--line) }
.starter-next a { display:flex; align-items:center; min-height:44px; font-size:.89rem; font-weight:690 }
.learning-status { background:#e8f2f0 }
.learning-status h2 { margin:0 0 .82rem }
.learning-status .resume { display:grid; gap:.1rem; margin:.8rem 0 .5rem }
.learning-status .resume a { min-height:44px; display:flex; align-items:center; color:var(--sea); font-weight:750 }
.learning-status .resume small { color:var(--muted) }
.progress-note { color:var(--muted); font-size:.83rem; margin:.4rem 0 .65rem }
.learning-tools { display:flex; flex-wrap:wrap; column-gap:1rem; padding-top:.25rem; border-top:1px solid var(--line) }
.learning-tools a { min-height:44px; display:flex; align-items:center; color:var(--ink); text-decoration:none; font-size:.86rem; font-weight:700 }
.work-paths { margin:1.45rem 0 1.75rem }
.work-paths h2 { margin:0 0 .7rem }
.work-paths ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; margin:0; padding:0; list-style:none }
.work-paths a { display:grid; gap:.22rem; align-content:start; min-height:100%; padding:.85rem .92rem; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink); text-decoration:none }
.work-paths a:hover { border-color:var(--sea); background:var(--wash) }
.work-paths a:hover strong { text-decoration:underline }
.work-paths strong { font-size:.97rem; line-height:1.4; word-break:keep-all }
.work-paths span { font-size:.83rem; color:var(--muted); line-height:1.48 }
.actions { display:flex; gap:.55rem; flex-wrap:wrap; align-items:center }
.course-library { scroll-margin-top:1rem; margin-top:1.6rem }
.overview { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:end; margin-bottom:1rem }
.overview h2,.overview p { margin:.1rem 0 }
.progress { min-width:0; font-size:.85rem }
.progress label { display:flex; justify-content:space-between; gap:.65rem }
.progress strong { white-space:nowrap; font-variant-numeric:tabular-nums }
.progress progress { display:block; width:100%; height:.58rem; margin-top:.4rem; accent-color:var(--sea) }
.module { background:var(--card); border:1px solid var(--line); border-inline-start:3px solid var(--sea); margin-bottom:.8rem; padding:.84rem 1rem; display:grid; grid-template-columns:minmax(174px,1fr) minmax(0,2.35fr); gap:.3rem 1.25rem; align-items:start; border-radius:8px }
.module h3 { margin:.11rem 0 }
.module p { font-size:.91rem; line-height:1.55; color:var(--muted); margin:0; grid-column:1; grid-row:2 }
.module-duration { display:block; margin-top:.3rem; font-size:.82rem; font-weight:700 }
.module ul { grid-column:2; grid-row:1/span 2; display:grid; grid-template-columns:1fr 1fr; gap:.25rem .65rem }
.module ul,.outline ul { padding:0; list-style:none; margin:0 }
.module a,.outline a { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.55rem .63rem; min-height:44px; border-radius:5px; text-decoration:none; color:var(--ink) }
.module a { background:#f0f5f5; font-size:.9rem; line-height:1.42 }
.module a span,.outline a span { min-width:0; word-break:keep-all; overflow-wrap:anywhere }
.module a:hover,.outline a:hover { background:#edf2fa }
.module a.complete,.outline a.complete { border-inline-start:4px solid #24816e }
.module small,.outline small { color:var(--muted); white-space:nowrap }
.scope { background:white; padding:.85rem 1rem; border:1px solid var(--line); border-radius:6px }
summary { cursor:pointer; font-weight:720 }
.lesson-layout { max-width:1440px; margin:auto; display:grid; grid-template-columns:clamp(220px,21vw,284px) minmax(0,1fr); align-items:start; min-height:calc(100vh - 128px) }
.syllabus { position:sticky; top:0; align-self:start; background:#f7f9fc; padding:.75rem .8rem 1.25rem; border-inline-end:1px solid var(--line) }
.desktop-outline,.mobile-outline { overflow:auto; overscroll-behavior:contain; padding-inline:.32rem }
.desktop-outline { max-height:max(5rem,calc(100vh - 5.6rem)); max-height:max(5rem,calc(100dvh - 5.6rem)); scrollbar-width:thin }
.return { display:inline-flex; min-height:44px; align-items:center; padding:.3rem .42rem; font-weight:740; font-size:.9rem; text-decoration:none }
.return:hover { text-decoration:underline }
.outline { padding:.85rem 0 .65rem; border-top:1px solid var(--line) }
.outline h4 { margin:.1rem .62rem .4rem; color:#414f66; font-size:.83rem; letter-spacing:0; font-weight:680 }
.outline a { font-size:.925rem; align-items:baseline; line-height:1.48; letter-spacing:-.016em; font-weight:460 }
.outline a[aria-current="page"] { background:#e5edff; color:#174391; box-shadow:inset 3px 0 0 var(--sea); font-weight:665 }
.outline a[aria-current="page"] small { color:#375680 }
#lesson-menu { display:none }
.lesson-panel { padding:clamp(1.25rem,3.1vw,2.85rem); max-width:none; min-width:0 }
.lesson-intro h1 { max-width:33ch; font-size:clamp(1.8rem,3.65vw,2.85rem); margin:.29rem 0 .57rem; text-wrap:balance; word-break:keep-all; overflow-wrap:anywhere }
.intro { max-width:46rem; font-size:1.02rem; margin:.4rem 0; word-break:keep-all; overflow-wrap:anywhere }
.lesson-intro > .muted { margin:.45rem 0 .85rem }
.week-tag { color:#51657e; font-size:.82em; font-weight:580; white-space:nowrap }
.module .week-tag,.outline .week-tag,.paging a .week-tag { color:#496887 }
.outline a[aria-current="page"] .week-tag { color:#234e9e }
.session-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem .6rem; margin:0; color:#425d7b; font-size:.87rem; font-weight:570 }
.lesson-course-position { color:#193c71; font-weight:720; font-variant-numeric:tabular-nums }
.lesson-stages { margin:.74rem 0 .78rem }
.lesson-stages ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; list-style:none; padding:0; margin:0 }
.lesson-stages a { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"title current" "note note"; gap:.14rem .45rem; align-content:start; height:100%; min-height:60px; padding:.48rem .64rem; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); text-decoration:none }
.lesson-stages a:hover { border-color:var(--sea); background:#f5f8ff }
.lesson-stages a[aria-current="step"] { border-color:var(--sea); background:#edf3ff; box-shadow:inset 0 2px var(--sea); color:#194395 }
.lesson-stage-top { grid-area:title; display:flex; align-items:center; gap:.39rem; min-width:0; line-height:1.25 }
.lesson-stage-top strong { font-size:.94rem; overflow-wrap:anywhere }
.lesson-stage-number { flex:none; display:grid; place-items:center; width:1.32rem; height:1.32rem; border-radius:50%; background:#eef2f7; color:#425d7b; font-size:.73rem; font-weight:720 }
[aria-current="step"] .lesson-stage-number { color:white; background:var(--sea) }
.lesson-stage-note { grid-area:note; color:#445b76; font-size:.83rem; line-height:1.35; font-variant-numeric:tabular-nums; word-break:keep-all; overflow-wrap:anywhere }
.lesson-stage-current { grid-area:current; align-self:center; justify-self:start; color:#194395; font-size:.75rem; line-height:1.4; font-weight:740 }
.session-meta .week-tag { font-size:inherit }
.session-week-note { color:#425d61; font-size:.83rem }
.session-runtime { border-inline-start:1px solid #b4c5c5; padding-inline-start:.55rem; font-variant-numeric:tabular-nums }
.course-lengths { display:grid; justify-items:end; gap:.14rem; line-height:1.4; font-variant-numeric:tabular-nums }
.course-lengths span:first-child { color:#125c58; font-weight:710 }
#session-complete { padding:.08rem .45rem; background:var(--mint); color:#145148; border-radius:4px; font-size:.78rem }
[data-view="watch"] .lesson-intro h1 { max-width:36ch; font-size:clamp(1.85rem,3.2vw,2.75rem); font-weight:670; letter-spacing:-.038em; line-height:1.24; margin:.45rem 0 .4rem; text-wrap:balance }
[data-view="watch"] .lesson-intro .intro { margin:.3rem 0 1.3rem; color:var(--muted); font-size:1.02rem; line-height:1.65 }
.session-lecture,.session-player,.session-reading { min-width:0; overflow-wrap:anywhere }
.session-viewed-control { display:flex; align-items:center; gap:.55rem; min-height:44px; margin:.55rem 0 0; padding:.4rem .72rem; background:#f4f7fb; border-radius:7px; font-size:.93rem; font-weight:560; cursor:pointer }
.session-viewed-control input { margin:0; accent-color:var(--sea) }
.session-screen { position:relative; display:grid; place-items:center; isolation:isolate; background:#172230; border-radius:12px 12px 0 0; overflow:hidden }
.session-screen video { display:block; width:100%; aspect-ratio:auto 16/9; max-height:70vh; background:#172230; object-fit:contain }
.session-screen .session-play { position:absolute; z-index:1; display:inline-flex; gap:.58rem; padding:.65rem 1.05rem; border:1px solid #ffffff70; background:#20314a; color:#fff; border-radius:24px; box-shadow:0 3px 12px #10223932 }
.session-screen .session-play:hover { background:#254e92 }
.session-screen .session-play span:first-child { font-size:.87rem }
.session-screen:focus-within { outline:3px solid #285bb8; outline-offset:3px }
.session-media-notes,.session-reading { background:var(--card); padding:1rem 0 .6rem; border:0 }
.session-reading { border-top:3px solid var(--sea); border-radius:8px; padding:1rem 1.2rem }
.session-media-notes h2,.session-reading h2 { margin:0; font-size:1.25rem; font-weight:660; line-height:1.42 }
.session-media-title { display:flex; align-items:center; justify-content:space-between; gap:.65rem }
.session-media-notes p,.session-reading p { margin:.42rem 0 .8rem; color:var(--muted); font-size:1rem; line-height:1.7; word-break:keep-all; overflow-wrap:anywhere }
.session-media-notes details,.session-reading details,.session-source { border-top:1px solid var(--line) }
.session-media-notes summary,.session-reading summary,.session-source summary { min-height:44px; padding:.62rem 0 .48rem; font-size:.94rem; font-weight:570; color:#254b7e }
.session-media-notes details:last-child summary:not(:focus-visible) { padding-bottom:.33rem }
.session-transcript ol,.session-alternate ol { padding-inline-start:1.28rem; margin:.15rem 0 .72rem; font-size:.9rem }
.session-transcript ol { display:grid; gap:.3rem; list-style:none; padding-inline-start:0 }
.session-transcript li { display:grid; grid-template-columns:3.3em minmax(0,1fr); gap:.6rem; align-items:baseline }
.session-transcript time { align-self:start; color:#125c58; font-variant-numeric:tabular-nums }
.session-alternate > a { display:inline-flex; align-items:center; min-height:44px; font-size:.9rem; font-weight:680 }
.session-stills { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:.15rem 0 .7rem }
.session-stills figure { margin:0 }
.session-stills a { display:block }
.session-stills img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:4px }
.session-stills figcaption { color:var(--muted); font-size:.8rem; line-height:1.5; margin-top:.24rem }
.session-media-notes .session-video-error { background:#fff3d5; border-inline-start:3px solid #946113; padding:.55rem .65rem; color:#65460d }
.session-source { margin-top:.66rem }
.session-source p { margin:0 0 .28rem; color:var(--muted); font-size:.84rem }
.session-downloads { display:flex; flex-direction:column; align-items:flex-start; margin-top:.36rem }
.session-downloads .secondary { justify-content:flex-start; min-height:44px; padding:.3rem 0; border:0; color:var(--sea); text-decoration:underline; font-size:.84rem; text-align:start; line-height:1.45 }
.session-practice { margin-top:.85rem; background:#f1f5ff; border-color:#d5e2fb; scroll-margin-top:.6rem }
.session-practice h2 { display:flex; align-items:baseline; justify-content:space-between; gap:.65rem }
.session-practice h2 span { color:var(--muted); white-space:nowrap; font-size:.85rem; font-weight:650 }
.session-practice-actions { display:grid; gap:.36rem; margin-top:.66rem; font-size:.91rem }
.session-continue { display:inline-flex; align-items:center; min-height:44px; color:#254b7e; font-size:.93rem; font-weight:570 }
.session-continue { margin-top:.2rem }
.exercise-navigation .tabs { margin-top:.15rem }
.week-check { margin-top:.8rem }
.week-check-jump { margin-bottom:.75rem; color:var(--sea) }
#week-check-title { scroll-margin-top:.6rem }
.week-check fieldset { min-width:0; margin:.7rem 0; padding:.7rem .8rem; border:1px solid var(--line); border-radius:5px }
.week-check fieldset label { display:flex; align-items:center; gap:.45rem; min-height:36px; font-size:.94rem }
.week-check input[type="radio"] { flex:none; margin:0; accent-color:var(--sea) }
.week-check .week-check-feedback { margin:.36rem 0 0; padding:.38rem .6rem; background:#e4f1eb; border-inline-start:3px solid var(--sea) }
@media (min-width:841px) and (max-width:1050px) {
}
@media (max-width:680px) {
  [data-view="watch"] .lesson-intro h1 { margin:.28rem 0 .24rem }
  [data-view="watch"] .lesson-intro .intro { margin:.3rem 0 .9rem; font-size:1rem }
  .session-screen video { max-height:58dvh }
  .session-media-notes,.session-reading { padding:.85rem 0 .4rem }
}
@media (max-width:520px) {
  .lesson-stages ol { gap:.34rem }
  .lesson-stages a { grid-template-columns:minmax(0,1fr); grid-template-areas:"title" "note" "current"; gap:.2rem; padding:.41rem .34rem }
  .lesson-stage-top { gap:.25rem }
  .lesson-stage-top strong { font-size:.88rem }
  .lesson-stage-note,.lesson-stage-current { font-size:.76rem }
}
.session-play:focus-visible { outline-color:var(--gold) }
.muted,.source { color:var(--muted); font-size:.9rem }
.tabs { display:flex; border:1px solid var(--line); border-bottom:0; border-radius:9px 9px 0 0; background:#f9fbfb; margin-top:1.15rem; padding:0 .4rem; gap:.3rem }
.tabs button { border:0; border-bottom:3px solid transparent; min-width:0; padding:.45rem .78rem .38rem; border-radius:0; background:transparent; font-weight:700 }
.tabs [aria-selected="true"] { background:#edf3ff; border-bottom-color:var(--sea); color:#19479e; font-weight:670 }
.tabs button:hover { background:#f1f5fc }
.tabs button:focus-visible { outline-offset:-3px }
.tab-panel,.check-area { background:white; border:1px solid var(--line); padding:clamp(.85rem,2.5vw,1.5rem); border-radius:0 0 8px 8px }
.tab-panel p,.check-area p,.print p { word-break:keep-all; overflow-wrap:anywhere }
.tab-panel h2,.check-area h2 { margin:.2rem 0 .65rem; font-size:1.36rem }
.tab-panel .actions { margin:1rem 0 }
.source { margin:0 0 .9rem }
.lab { background:#f3f8f7; border:1px solid #cadfdd; padding:clamp(.8rem,2.5vw,1.5rem); border-radius:8px }
.lab p { max-width:65ch; margin:.45rem 0 .85rem }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem .95rem }
label { display:block; font-weight:630; overflow-wrap:anywhere }
input:not([type=checkbox]),select,textarea { display:block; width:100%; min-height:44px; margin:.26rem 0 .55rem; padding:.52rem .65rem; border:1px solid #a2b7b9; border-radius:5px; background:white; color:var(--ink) }
textarea { min-height:110px; resize:vertical }
#prompt { min-height:195px }
.lab-form button { margin-top:.35rem }
.out:not(:empty) { background:#e3f3e9; padding:.6rem .7rem; border-left:4px solid var(--sea) }
#hits details,.tab-panel details { border-top:1px solid var(--line); margin:.55rem 0; padding:.4rem 0 }
table { width:100%; border-collapse:collapse }
td,th { text-align:left; border-bottom:1px solid var(--line); padding:.4rem .5rem }
.table-scroll { overflow:auto }
pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; background:#edf3f3; padding:.6rem }
.steps { list-style:none; counter-reset:step; padding:0; margin:1rem 0 }
.steps > li { counter-increment:step; display:grid; grid-template-columns:2rem minmax(0,1fr); gap:.65rem; padding:.65rem 0; border-top:1px solid var(--line); word-break:keep-all; overflow-wrap:anywhere }
.steps > li::before { content:counter(step); background:#e0eeed; border-radius:50%; width:1.8rem; height:1.8rem; text-align:center; font-weight:750 }
.pc-shortcuts,.step-heading { display:flex; flex-wrap:wrap; gap:.35rem .7rem; align-items:center }
.pc-shortcuts :is(button,a) { display:inline-flex; align-items:center; min-height:44px; border:0; padding:.3rem .38rem; color:var(--sea); font-weight:690; text-decoration:underline; text-underline-offset:.2em }
.pc-step-guide,.pc-proof { padding:.8rem 0; border-top:1px solid var(--line) }
.step-heading { justify-content:space-between; align-items:center }
.step-heading h2 { margin:0 }
.step-counter { color:#105457; margin:.45rem 0; font-weight:730; font-variant-numeric:tabular-nums }
.guided .steps > li::before { content:none }
.guided .steps > li { display:block; border:1px solid var(--line); border-radius:8px; padding:clamp(.8rem,2vw,1.15rem); background:var(--wash) }
.tab-panel .starter-guide { padding-top:0; border-top:0 }
.starter-step-content { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:1.15rem }
.starter-step h3 { font-size:1.16rem; margin:0 0 .4rem }
.starter-step p { margin:.45rem 0 }
.starter-step .step-why { color:var(--muted); font-size:.9rem }
.starter-step .step-check { padding:.55rem .6rem; background:#e5f0ee; border-left:3px solid var(--sea); border-radius:3px }
.step-screen figure { margin:0 0 .55rem }
.step-screen img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:6px }
.step-screen figcaption { color:var(--muted); font-size:.85rem; margin-top:.35rem }
.step-screen figcaption ol { margin:.3rem 0; padding-inline-start:1.35rem }
.step-video-slot:empty,#pc-video-home:empty { display:none }
.step-video-slot { grid-column:1/-1; min-width:0; padding-top:.72rem; border-top:1px solid var(--line) }
.tab-panel .step-video-slot > .service-video { margin:0; padding:.16rem .58rem .65rem; border:1px solid var(--line); border-radius:7px; background:white }
.step-video-slot > .service-video > summary { min-height:44px; padding:.58rem .06rem; color:var(--sea); line-height:1.48; word-break:keep-all; overflow-wrap:anywhere }
/* Reserve the height before video metadata so scene scrolling includes the controls. */
.step-video-slot > .service-video video { width:min(100%,50rem); max-height:min(440px,65vh); aspect-ratio:auto 6/5; object-fit:contain; margin:.2rem auto 0 }
.step-transcript ol { margin:.45rem 0; padding-inline-start:1.4rem }
.step-transcript time { color:var(--muted); font-variant-numeric:tabular-nums }
.starter-signin figure { max-width:29rem; margin:.55rem 0 }
.starter-signin img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:5px }
.starter-signin .marked-shot { width:fit-content; max-width:100% }
.starter-signin figcaption { color:var(--muted); font-size:.85rem; margin-top:.3rem }
.starter-signin ol { padding-inline-start:1.4rem }
.starter-signin .signin-marker-1 { left:16%; top:49% }
.starter-signin-claude .signin-marker-1 { left:91%; top:18% }
.starter-signin .signin-marker-2 { left:91%; top:61% }
.starter-signin .signin-marker-3 { left:91%; top:80% }
#starter-prompt { min-height:8rem }
.tab-panel .step-controls { margin:.55rem 0 .1rem }
.tab-panel .step-end-controls { display:flex; justify-content:space-between; align-items:center; gap:.55rem; flex-wrap:wrap; margin:1rem 0 .2rem; padding-top:.85rem; border-top:1px solid var(--line) }
.step-end-controls button { min-height:44px }
.step-end-controls .primary { margin-inline-start:auto }
.check-area { margin-top:1rem; border-radius:8px; border-inline-start:4px solid var(--sea) }
.check-area label { display:flex; gap:.6rem; align-items:flex-start; min-height:44px; padding-block:.45rem; cursor:pointer }
.review-paths { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:.7rem }
.review-paths a[aria-current="page"] { border-color:var(--sea); box-shadow:inset 0 -2px var(--sea); background:#edf3ff; color:#194395 }
#legacy-review-checks { color:var(--muted); font-size:.88rem }
#legacy-review-checks summary { min-height:44px; padding-block:.45rem }
#legacy-review-checks ul { margin:.15rem 0 .6rem; padding-inline-start:1.3rem }
.review-route { margin:.8rem 0; padding:.75rem 0 .25rem; border-top:1px solid var(--line) }
.review-route h3 { margin:0 0 .48rem; font-size:1.08rem }
.review-checks { min-width:0; margin:0 0 .55rem; padding:.22rem .65rem .42rem; border:1px solid var(--line); border-radius:6px }
.review-checks legend { padding-inline:.25rem; color:#405570; font-size:.87rem; font-weight:650 }
.review-route .completed span { font-weight:690 }
.exercise-review { margin-top:1rem }
input[type=checkbox] { width:1.03rem; height:1.03rem; flex:none; accent-color:var(--sea); margin-top:.3rem }
.completed { padding:.55rem 0; border-top:1px solid var(--line) }
.paging { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin-top:1rem }
.paging a { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; min-width:0; min-height:44px; padding:.55rem .72rem; border:1px solid var(--line); border-radius:7px; background:white; color:var(--ink); line-height:1.45; text-decoration:none }
.paging a:only-child { grid-column:1/-1 }
.paging a:hover { border-color:var(--sea); background:var(--wash) }
.paging a:hover strong { text-decoration:underline }
.paging a span { color:var(--muted); font-size:.8rem }
.paging a strong { word-break:keep-all; overflow-wrap:anywhere; font-weight:740 }
footer { display:flex; flex-wrap:wrap; gap:.6rem 1rem; justify-content:space-between; background:var(--deep); color:#fff; padding:1rem clamp(16px,5vw,80px); font-size:.9rem }
footer span,footer a { color:#cfe6e7 }
.toast { position:fixed; z-index:5; bottom:1rem; right:1rem; max-width:calc(100% - 2rem); background:var(--deep); color:#fff; padding:.7rem 1rem; border-radius:.5rem; box-shadow:0 4px 15px #0003; pointer-events:none }
.print { max-width:980px; margin:auto; padding:clamp(1rem,3vw,2.2rem); overflow-wrap:anywhere }
.print section { border-top:1px solid var(--line); margin-top:1rem }
@media (max-width: 900px) {
  .module ul { grid-template-columns:1fr }
  .task-library ul { grid-template-columns:1fr }
  .starter-step-content { grid-template-columns:1fr }
}
@media (max-width: 840px) {
  .lesson-layout { display:block }
  .syllabus { position:static; border-inline-end:0; border-radius:0; display:flex; justify-content:space-between; align-items:center; gap:.15rem .7rem; flex-wrap:wrap; padding:.15rem var(--gutter) }
  .desktop-outline { display:none }
  #lesson-menu { display:block }
  #lesson-menu summary { min-height:44px; padding:.65rem .22rem; line-height:1.4 }
  #lesson-menu[open] { flex-basis:100% }
  .mobile-outline { max-height:min(52vh,23rem); max-height:min(52dvh,23rem); padding-bottom:.42rem }
}
@media (max-width: 680px) {
  .mast-inner { flex-direction:column; align-items:flex-start; min-height:0; padding:.25rem var(--gutter) .18rem; gap:0 }
  .mast nav { gap:0 .59rem }
  .mast nav a { font-size:.87rem }
  .home { padding-bottom:1.6rem }
  .hero { grid-template-columns:1fr; gap:1rem; margin:.82rem 0 1.07rem; padding:1.03rem; border-radius:12px 12px 12px 4px }
  .hero h1 { font-size:clamp(1.88rem,7vw,2.55rem); margin-bottom:.6rem; text-wrap:initial }
  .hero-copy > p { font-size:.9rem; line-height:1.5; margin-bottom:.82rem }
  .hero .hero-meta { font-size:.82rem; margin-bottom:.55rem }
  .hero .actions a { padding:.4rem .64rem; font-size:.91rem }
  .lesson-preview { padding:.62rem }
  .lesson-preview figcaption { margin-bottom:.36rem }
  .task-library { margin-bottom:1.25rem }
  .task-library ul { gap:.54rem }
  .task-card { padding:.53rem .8rem }
  .learning-dash { grid-template-columns:1fr; gap:.7rem; margin-bottom:1.25rem }
  .starter-path h3 { font-size:1rem }
  .work-paths ul { grid-template-columns:1fr; gap:.42rem }
  .work-paths a { padding:.7rem .8rem }
  .module { display:block }
  .module p { margin:.25rem 0 .5rem }
  .lesson-panel { padding:.88rem var(--gutter) 1.45rem }
  .tabs button { flex:1 }
  .tab-panel,.check-area { padding:.82rem }
  .paging { font-size:.9rem }
}
@media (max-width: 360px) {
  .field-grid { grid-template-columns:1fr }
  .tabs button { font-size:.86rem; padding:.39rem .45rem }
  .hero .actions { display:grid; gap:.39rem }
  .hero .actions a { width:100%; text-align:center }
  .tab-panel .step-video-slot > .service-video { padding-inline:.33rem }
  .starter-path li { gap:.49rem }
}
@media (max-width: 420px) {
  .paging { grid-template-columns:1fr; gap:.46rem }
}
@media (max-width: 480px) {
  .tab-panel .step-end-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) }
  .step-end-controls :is(button,a) { padding-inline:.4rem; line-height:1.4; word-break:keep-all }
  .step-end-controls .primary { margin-inline-start:0 }
  .step-end-controls [data-step-control="restart"] { grid-column:1/-1; justify-self:start }
}
.video-preview video,.starter-signin video { display:block; width:100%; max-height:440px; margin-top:.65rem; background:var(--deep); border-radius:6px }
.cli-stills { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem }
.cli-stills figure { margin:0 }
.cli-stills img { display:block; width:100%; height:auto; border-radius:6px }
.cli-stills figcaption { margin-top:.35rem }
.office-demo .cli-stills { margin-top:.8rem }
.notebook-demo .cli-stills { margin-top:.8rem }
.marked-shot { position:relative; display:block }
.screen-marker { position:absolute; transform:translate(-50%,-50%); display:grid; place-items:center; width:1.45rem; height:1.45rem; border:2px solid white; border-radius:50%; background:#0b5055; color:white; font-size:.8rem; font-weight:bold; box-shadow:0 1px 4px #122f4780; pointer-events:none }
.claude-download-shot { max-width:416px }
.claude-download-shot .screen-marker { left:62% }
.claude-download-1 { top:30.5% }
.claude-download-2 { top:42.9% }
.claude-download-3 { top:55.4% }
.claude-download-4 { top:80.3% }
.claude-download-shot .claude-download-5 { top:91.7%; left:55% }
.web-first-shots figure { margin:1rem 0; padding:.65rem; border:1px solid var(--line); border-radius:.5rem }
.web-first-shots img { display:block; width:100%; height:auto; border-radius:.35rem }
.web-first-shots figcaption { margin-top:.65rem }
.web-first-shots ol { margin:.35rem 0 .25rem; padding-inline-start:1.5rem }
.web-chatgpt-entry-1 { left:9.17%; top:12.42% }
.web-chatgpt-entry-2 { left:34.10%; top:58.55% }
.web-chatgpt-entry-3 { left:86.39%; top:88.55% }
.web-chatgpt-result-4 { left:34.53%; top:19.17% }
.web-chatgpt-result-5 { left:2.23%; top:92.50% }
.web-chatgpt-copy-6 { left:21.53%; top:90.33% }
.web-claude-entry-1 { left:8%; top:33% }
.web-claude-send-2 { left:8%; top:49% }
.web-claude-send-3 { left:86%; top:85% }
.web-claude-result-4 { left:60%; top:40% }
.web-claude-result-5 { left:8.8%; top:92% }
.web-claude-refine-send-1 { left:90%; top:79% }
.web-claude-refine-send-2 { left:92%; top:85% }
.web-claude-refine-table-3 { left:60%; top:8% }
.web-claude-refine-reading-4 { left:28%; top:85% }
.web-meeting-start-1 { left:83%; top:85% }
.web-meeting-refine-2 { left:93%; top:88% }
.web-meeting-result-3 { left:38%; top:46% }
.web-reply-start-1 { left:89%; top:84% }
.web-reply-refine-2 { left:88%; top:93% }
.web-reply-result-3 { left:93%; top:45% }
.web-weekly-start-1 { left:84%; top:85% }
.web-weekly-refine-2 { left:93%; top:87% }
.web-weekly-result-3 { left:70%; top:52% }
.web-weekly-reading-4 { left:46%; top:67% }
.vse-wrong { left:38%; top:78% }
.vse-corrected { left:85%; top:58% }
.vse-menu { left:19%; top:9% }
.image-nav { left:9%; top:12.4% }
.image-send { left:89%; top:58.9% }
.image-account { left:80%; top:3.6% }
.law-stills figure { margin:.8rem 0 }
.law-stills img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:5px }
.law-date { left:47%; top:86% }
.law-search { left:28.6%; top:39.5% }
.addon-panel { left:63%; top:21.1% }
.addon-connected,.addon-disconnected { left:62.5%; top:15.7% }
.lab-addon-before,.lab-addon-running { left:17%; top:74% }
.lab-addon-stopped { left:17%; top:78.2% }
.csv-preview-wrong { left:13%; top:32.8% }
.csv-preview-right { left:24%; top:32.8% }
.csv-data-open { left:36%; top:36% }
.blender-stills { margin-top:.8rem }
.blender-count { left:59%; top:91.65% }
.blender-z { left:89%; top:56% }
.measured-ranks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:.7rem 0 }
.measured-ranks section { padding:.65rem; border:1px solid var(--line); border-radius:6px; background:white }
.measured-ranks h3,.measured-ranks ol,.measured-ranks p { margin:.2rem 0 }
.measured-ranks ol { padding-left:1.4rem }
@media(max-width:400px) { .measured-ranks { grid-template-columns:1fr } }
.image-example figure { margin:.75rem 0 }
.image-example img { display:block; width:min(100%,340px); height:auto; border-radius:6px }
.install-frame { margin:.8rem 0 }
.install-frame img { display:block; width:min(100%,760px); height:auto; border-radius:6px }
.repair-lab { margin-top:1rem }
.repair-lab fieldset { margin:0 0 .6rem; min-width:0; border:1px solid var(--line) }
.repair-lab fieldset label { display:block; margin:.5rem 0 }
.repair-lab input[type=radio] { width:auto }
@media(max-width:680px) { .cli-stills { grid-template-columns:1fr } }
.course-finder { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(7rem,.63fr) minmax(7rem,.64fr) minmax(10.7rem,1fr) auto; grid-template-areas:"query topic week duration state reset"; align-items:end; gap:.54rem .7rem; background:white; border:1px solid var(--line); border-radius:8px; padding:.78rem .88rem; margin:0 0 1rem }
.course-field { min-width:0 }
.course-query { grid-area:query }
.course-topic { grid-area:topic }
.course-week { grid-area:week }
.course-state { grid-area:state }
.course-duration { grid-area:duration }
.course-field label { margin-bottom:.24rem; font-size:.86rem; font-weight:740 }
.course-finder input,.course-finder select { margin:0; min-width:0; border-color:#6b8083; font-size:.9rem }
.course-finder button[type="reset"] { grid-area:reset; justify-self:end; border-color:#6b8083; font-size:.89rem; white-space:nowrap }
#course-count,#course-week-basis { grid-column:1/-1; align-self:center; margin:0; color:var(--muted); font-size:.87rem; line-height:1.47; word-break:keep-all; overflow-wrap:anywhere }
#course-count:empty { position:absolute }
.setup { padding:1rem 1.2rem; margin:1.1rem 0 1.5rem; background:white; border:1px solid var(--line); border-radius:6px; scroll-margin-top:1rem }
.setup h2,.setup h3 { margin:0 }
.setup p { margin:.35rem 0 .7rem }
.setup-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.85rem }
.setup-options>div { padding:.75rem; border-left:3px solid var(--line) }
.setup-options ul { margin:.4rem 0 0; padding-left:1.15rem }
.setup-options li+li { margin-top:.35rem }
@media(max-width:1030px) {
 .course-finder { grid-template-columns:minmax(0,1.2fr) minmax(6.5rem,.77fr) minmax(6.9rem,.75fr) minmax(10.7rem,1.1fr) auto; grid-template-areas:"query query query query query" "topic week duration state reset" }
}
@media(max-width:720px) {
 .course-finder { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-areas:"query query" "topic topic" "week duration" "state state" "reset reset"; gap:.48rem .62rem }
 #course-count:not(:empty) { grid-column:1; grid-row:5 }
}
@media(max-width:680px) {
 .setup-options { grid-template-columns:1fr; gap:.45rem }
}
.walkthrough { margin:0 0 1rem }
.walkthrough video { display:block; width:100%; max-height:420px; margin-top:.6rem; background:var(--deep); border-radius:.4rem }
.frames { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem }
.frames figure { margin:0; text-align:center }
.frames img { max-width:100%; height:auto; border-radius:.25rem }
.character-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:1rem 0 }
.character-gallery figure { margin:0; min-width:0 }
.character-gallery img { display:block; width:100%; max-height:330px; height:auto; object-fit:contain; background:#edf2ef; border-radius:.35rem }
.character-gallery figcaption { margin-top:.25rem; line-height:1.4 }
.character-references figure:first-child { grid-column:1/-1; width:min(100%,24rem); justify-self:center }
@media(max-width:480px) { .character-gallery { grid-template-columns:1fr } }
.notice-finished-guide video { display:block; width:100%; max-width:960px; aspect-ratio:16/9; margin:.75rem 0; border-radius:.45rem; background:#152d37 }
.media-routes dt { font-weight:700; margin-top:1rem }
.media-routes dd { margin-left:0; padding:.35rem 0 1rem; border-bottom:1px solid var(--line) }
.media-routes dd p { margin:.2rem 0 .55rem }
.bar { display:grid; grid-template-columns:3rem minmax(70px,260px) 4rem; gap:.5rem; align-items:center; margin:.25rem 0 }
.bar meter { width:100%; height:1.05rem }
#matrix caption { text-align:left; font-weight:760; margin-bottom:.3rem }
.impact-costs { border:1px solid var(--line); border-radius:5px; padding:.65rem; margin:.4rem 0 .8rem }
#impact-cost-result th,#impact-cost-result td { white-space:nowrap }
.matrix-active { background:#cde8e0; font-weight:730 }
.workbook { border-top:1px solid var(--line); margin-top:1rem; padding-top:.85rem }
.workbook h3 { margin:.1rem 0 .4rem }
.workbook textarea { min-height:72px }
.workbook details { margin:.75rem 0 }
.answer-case { min-width:0; border:1px solid var(--line); border-radius:5px; margin:.55rem 0; padding:.6rem .75rem }
.answer-case legend { font-weight:740; overflow-wrap:anywhere; padding:0 .25rem }
.meeting-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:.75rem; margin:.8rem 0 }
.meeting-question { min-width:0; background:white; border:1px solid var(--line); border-radius:7px; margin:0; padding:.45rem .65rem .58rem }
.meeting-question legend { max-width:100%; color:var(--deep); font-weight:750; padding:0 .27rem; overflow-wrap:anywhere }
.meeting-question label { display:flex; align-items:center; min-height:44px; gap:.5rem; padding:.33rem .22rem; font-weight:575; cursor:pointer }
.meeting-question input[type=radio] { flex:none; width:1.1rem; height:1.1rem; margin:0; accent-color:var(--sea) }
.meeting-question label:has(input:checked) { color:#074c4d; background:var(--mint); border-radius:5px }
.meeting-feedback:not(:empty) { margin:.65rem 0; padding:.62rem .72rem; background:#e1f1e7; border-inline-start:3px solid var(--sea); color:var(--ink) }
.meeting-question[data-correct="false"] { border-color:#98602a }
.meeting-feedback[data-correct="false"],.meeting-question [data-correct="false"] { color:#683612; background:#fff0db; border-inline-start-color:#a95e17 }
.meeting-draft { max-width:100%; overflow-wrap:anywhere }
.meeting-draft textarea { min-height:10rem }
.tab-panel .practice-draft { margin-top:1rem; padding:.62rem clamp(.68rem,2vw,1rem) .8rem; border:1px solid var(--line); border-radius:7px; background:white }
.practice-draft > summary { display:list-item; min-height:44px; padding:.59rem .14rem; line-height:1.52; color:var(--sea) }
.practice-draft h3 { margin:.15rem 0 .35rem }
.practice-draft p { margin:.35rem 0 .55rem; word-break:keep-all; overflow-wrap:anywhere }
.practice-draft textarea { min-height:7.1rem; border-color:#6b8083; line-height:1.57 }
.tab-panel .practice-draft-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem .6rem; margin:.45rem 0 .1rem }
.practice-draft-actions button,.practice-draft-actions a { min-height:44px; max-width:100%; line-height:1.3; word-break:keep-all }
@media(max-width:680px) { .meeting-grid { grid-template-columns:1fr } }
.field-hint { display:block; font-weight:400 }
.lab blockquote { margin:1rem 0; padding:.7rem 1rem; border-left:4px solid var(--sea); background:white }
#time-value { font-weight:800; font-variant-numeric:tabular-nums }
.voice-clips { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:.65rem 0 }
.voice-clips section { min-width:0; border:1px solid var(--line); border-radius:5px; padding:.65rem }
.voice-clips h3 { margin:0 0 .35rem }
.voice-clips audio { display:block; width:100%; min-width:0; margin-bottom:.4rem }
@media(max-width:680px) { .voice-clips { grid-template-columns:1fr } }
.poster-editor { display:grid; grid-template-columns:minmax(0,1fr) minmax(120px,.75fr); gap:1rem; align-items:start }
.poster-editor canvas { display:block; max-width:100%; height:auto; border-radius:5px }
.csv-import { margin-top:.8rem; padding-top:.5rem; border-top:1px solid var(--line) }
@media(max-width:680px) { .poster-editor { grid-template-columns:1fr } .poster-editor canvas { width:min(100%,320px) } }
.storyboard fieldset { border:1px solid var(--line); border-radius:5px; margin:0 0 .7rem; padding:.45rem .65rem; min-width:0 }
.storyboard legend { padding:0 .35rem; font-weight:740 }
.scene-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem }
.scene-grid textarea { min-height:70px }
@media(max-width:680px) { .scene-grid { grid-template-columns:1fr } }
.motion-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:.6rem 0 }
.motion-pair figure { margin:0; min-width:0 }
.motion-pair img,#loop img { display:block; max-width:100%; width:100%; height:auto; border-radius:5px }
#loop { max-width:420px }
.command-box { padding:.7rem 1rem; border:1px solid var(--line); background:#f3f8f7; border-radius:6px; margin-bottom:1rem }
.command-box > div { border-top:1px solid var(--line); margin-top:.6rem; padding-top:.6rem }
.command-box textarea { min-height:44px; font-family:ui-monospace,"Pretendard Variable",monospace; padding:.55rem .6rem; font-size:.9rem }
.command-box p { margin:.25rem 0 .45rem }
.lab dt { font-weight:760; margin-top:.45rem }
.lab dd { margin:0 0 .5rem 0; padding-inline-start:.6rem; border-inline-start:2px solid var(--line) }
.choice-feedback:empty { display:none }

.report-bars { max-width: 34rem; padding: 0; list-style: none; }
.report-bars li { display: grid; grid-template-columns: 3rem minmax(0,1fr) 4rem; gap: .5rem; align-items: center; }
.report-bar-track { width: 100%; height: 1.2rem; }
.report-marker-menu { left: 22%; top: 9.5%; }
.report-marker-range { left: 44%; top: 51.5%; }
.report-marker-elements { left: 50%; top: 42%; }
.report-marker-result { left: 46%; top: 44%; }

.notice-project-new,.notice-project-settings { width:min(100%,16rem); }
.notice-project-chat { width:min(100%,40rem); }
.project-marker-1 { left:84%; top:50%; }
.project-marker-2 { left:80%; top:20%; }
.project-marker-3 { left:10%; top:64%; }
.project-marker-4 { left:56%; top:53%; }

.law-review-shot { max-width:760px; }
.law-review dl { margin:.9rem 0 0; }
.law-review dd { margin:0 0 .7rem; }
.law-review-1 { left:43%; top:86%; }
.law-review-2 { left:3%; top:32%; }
.law-review-3 { left:2%; top:77%; }

.print-group-name { display:none; }
.print-edition .print-group-name { display:block; font-weight:750; }
.print-edition .print-prompt { border:1px solid var(--line); }
@media print {
  @page { size:A4; margin:14mm; }
  html:has(.print-edition) { background:white; color:#111; }
  .print-edition { max-width:none; padding:0; line-height:1.5; font-size:10.5pt; }
  .print-edition .guide-links,.print-edition .screen-guide-link,.print-edition .print-how,.print-edition video,.print-edition audio { display:none; }
  .print-edition .print-group-start,.print-edition #source-index { break-before:page; }
  .print-edition h2,.print-edition h3,.print-edition h4,.print-edition summary { break-after:avoid; }
  .print-edition li,.print-edition figure,.print-edition tr { break-inside:avoid; }
  .print-edition pre { background:transparent; padding:.35rem .55rem; }
  .print-edition table { width:100%; }
  .print-edition .table-scroll { overflow:visible; }
  .print-edition a { color:#111; }
  .print-edition a[href^="https://"]::after { content:" (" attr(href) ")"; font-size:.8em; overflow-wrap:anywhere; }
}

.product-shot { max-width:760px; }
.product-canva-box { max-width:420px; }
.product-heygen-guest { max-width:448px; }
.product-runway-settings { max-width:537px; }
.product-runway-export { max-width:222px; }
.product-canva-box .product-marker-1 { left:14%; top:53%; }
.product-canva-box .product-marker-2 { left:83%; top:32%; }
.product-heygen-guest .product-marker-1 { left:32%; top:76%; }
.product-heygen-guest .product-marker-2 { left:62%; top:76%; }
.product-runway-mode .product-marker-1 { left:10%; top:6%; }
.product-runway-mode .product-marker-2 { left:26%; top:56%; }
.product-runway-mode .product-marker-3 { left:43%; top:84%; }
.product-runway-mode .product-marker-4 { left:90%; top:94%; }
.product-runway-settings .product-marker-5 { left:61%; top:39%; }
.product-runway-settings .product-marker-6 { left:84%; top:78%; }
.product-runway-export .product-marker-7 { left:62%; top:50%; }
.product-chrome-entry { max-width:690px; }
.product-gmail-entry { max-width:450px; }
.product-chrome-entry .product-marker-1 { left:74%; top:21%; }
.product-chrome-entry .product-marker-2 { left:9%; top:70%; }
.product-gmail-entry .product-marker-3 { left:82%; top:43%; }
.product-gmail-entry .product-marker-4 { left:70%; top:81%; }
.product-chatgpt-data .product-marker-1 { left:18%; top:45%; }
.product-chatgpt-data .product-marker-2 { left:90%; top:34%; }
.product-chatgpt-data .product-marker-3 { left:85%; top:92%; }

.video-fallback { margin:.75rem 0; padding:.65rem .8rem; background:#edf3f3; border:1px solid var(--line); border-radius:.4rem; }
.video-help { border:0; padding:.35rem .3rem; color:var(--sea); background:transparent; text-decoration:underline; text-underline-offset:.2em; }
.video-fallback p { margin:.25rem 0; }
.video-fallback time { font-variant-numeric:tabular-nums; font-weight:700; }

.same-poster { margin-block:1.5rem; }
.media-record,.ax-evidence,.proposal-workshop { margin-block:1.5rem; padding-block:.8rem; border-top:1px solid var(--line) }
.same-poster-image { margin:1rem 0; max-width:23rem; }
.same-poster-image img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:.4rem; }
.same-poster-image figcaption { font-size:.9rem; margin-top:.4rem; }
.same-poster-routes li { margin-block:1.25rem; }
.same-poster-routes h3 { margin-bottom:.3rem; }

.lesson-support { margin-block:1.5rem; }
.product-higgsfield-tools { max-width:266px; }
.product-higgsfield-tools .product-marker-1 { left:36%; top:16%; }
.product-higgsfield-tools .product-marker-2 { left:86%; top:16%; }
.product-higgsfield-tools .product-marker-3 { left:86%; top:47%; }
.product-higgsfield-tools .product-marker-4 { left:82%; top:69%; }
.product-higgsfield-tools .product-marker-5 { left:87%; top:93%; }

.video-chapters { margin-block:.6rem; }
.video-chapters .actions { gap:.3rem; }

.product-baseline-import { max-width:451px; }
.product-baseline-sums { max-width:552px; }
.product-baseline-import .product-marker-1 { left:82%; top:11%; }
.product-baseline-import .product-marker-2 { left:73%; top:28%; }
.product-baseline-import .product-marker-3 { left:91%; top:91%; }
.product-baseline-sums .product-marker-4 { left:22%; top:12%; }
.product-baseline-sums .product-marker-5 { left:73%; top:94%; }

.product-forms-entry { max-width:402px; }
.product-forms-question { max-width:307px; }
.product-forms-preview { max-width:321px; }
.product-forms-entry .product-marker-1 { left:85%; top:13%; }
.product-forms-entry .product-marker-2 { left:91%; top:87%; }
.product-forms-question .product-marker-3 { left:94%; top:29%; }
.product-forms-question .product-marker-4 { left:67%; top:42%; }
.product-forms-question .product-marker-5 { left:67%; top:10%; }
.product-idc-fers { max-width:36rem; }
.product-idc-fers .product-marker-1 { left:56%; top:24%; }
.product-idc-fers .product-marker-2 { left:92%; top:88%; }

.static-session-video video { display:block; width:min(100%,48rem); max-height:66vh; background:#142e3a; }
.static-session-video .caption-transcript { margin-block: .6rem 1.2rem; }
@media print { .static-session-video video { display:none; } }

.lesson-playback { display:flex; gap:.45rem; flex-wrap:wrap; align-items:center; padding:.4rem .6rem; background:#f3f6fa; border-radius:0 0 12px 12px }
.lesson-playback label { display:inline-flex; align-items:center; gap:.3rem; margin:0 auto 0 0; font-size:.86rem; }
.lesson-playback select,.lesson-playback button { width:auto; min-height:40px; margin:0; padding:.22rem .46rem; font-size:.87rem; }
.session-transcript li button { min-height:42px; font-size:.88rem; font-variant-numeric:tabular-nums; padding:.25rem .38rem; align-self:start; }
.session-practice-actions a small { display:block; font-size:.81rem; font-weight:500; }
.session-practice-actions a { display:block; }
.learning-status > .progress + .progress { margin-top:.45rem; }

video::cue { font-family:"Pretendard Variable",sans-serif; font-weight:560; color:#fff; background-color:rgba(15,26,45,.92) }

/* The worksheet is the main canvas. Keep the course source and extra exercises below it. */
#practice-view { padding:clamp(.88rem,2.1vw,1.8rem); border-color:#d4deec; }
#practice-view > #lab { padding:0; border:0; border-radius:0; background:#fff; }
#practice-view #lab > h2:first-child { font-size:clamp(1.24rem,1.9vw,1.55rem); letter-spacing:-.026em; }
#practice-view #lab > h2:first-child + p { margin:.35rem 0 1.25rem; color:#43546b; }
#practice-view :is(.field-grid, .practice-answer, .lab-form) { min-width:0; }
#practice-view :is(input[type=text],input[type=number],input:not([type]),textarea) {
  border-color:#aebed3; border-radius:8px; background:#fbfcfe; font-weight:470;
}
#practice-view :is(input[type=text],input[type=number],input:not([type]),textarea):focus {
  border-color:#295ec0; background:#fff; outline:2px solid #366cc1; outline-offset:1px;
}
#practice-view .out:not(:empty),#practice-view .choice-feedback:not(:empty) {
  background:#f1f5fc; color:#243a57; border-inline-start:3px solid #6485b9; padding:.6rem .85rem;
}
#practice-view :is(ul,ol).choice-feedback:not(:empty) { padding-inline-start:2.05rem; }
#practice-view .practice-source { margin-top:1.35rem; border-color:#d9e2ed; color:#50617a; font-size:.92rem; }
#practice-view .practice-source summary { padding-block:.38rem; color:#324862; }
#practice-view .workbook { margin-top:1.6rem; padding-top:1rem; }
#practice-view #lab > .workbook:first-child { padding-top:0; border-top:0; }
@media (max-width:720px) {
  #practice-view { padding:.95rem .78rem; }
  #practice-view :is(input[type=text], input[type=number], input:not([type]), textarea) { font-size:1rem; }
}


[data-view="watch"] .lesson-intro .intro { display:none }
.session-flow { display:grid; gap:1.45rem; max-width:52rem; margin-top:1.35rem }
.session-context { border-inline-start:3px solid var(--sea); padding:.15rem 0 .1rem 1rem }
.session-flow h2 { margin:0 0 .43rem; font-size:1.11rem; font-weight:740; letter-spacing:-.015em }
.session-context p,.session-practice p,.classwork li { margin:.35rem 0; line-height:1.68; word-break:keep-all; overflow-wrap:anywhere }
.session-goal { color:var(--muted) }
.session-goal strong { color:var(--ink); margin-inline-end:.23rem }
.session-flow .session-media-title h2 { font-size:.97rem; margin:0 }
.session-media-extra summary { color:var(--sea); cursor:pointer; min-height:36px; padding:.35rem 0 }
.session-media-extra details { margin-inline-start:.4rem }
.session-flow .session-practice { margin:0; padding:1rem; border:1px solid #cbdbea; border-radius:10px }
.session-practice-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem }
.session-practice-actions a { text-align:center; margin:0 }
.session-resources { border-top:1px solid var(--line); padding-top:.7rem }
.session-resources > details summary,.classwork summary { cursor:pointer; min-height:42px; padding:.5rem 0; color:var(--sea) }
.classwork { margin:.55rem 0 0 }
.classwork ol { padding-inline-start:1.25rem }
@media (max-width:450px) {
  .session-flow { gap:1rem; margin-top:.9rem }
  .session-context { padding-inline-start:.65rem }
  .session-practice-actions { grid-template-columns:minmax(0,1fr) }
}

.exercise-classwork:empty,[data-view="watch"] .exercise-classwork,[data-view="review"] .exercise-classwork { display:none }

.session-video-heading { display:flex; justify-content:space-between; align-items:center; gap:.65rem; margin-bottom:.42rem }
.session-video-heading h2 { margin:0 }
.session-exercise-jump { color:var(--sea); min-height:38px; padding:.27rem .63rem; font-size:.86rem; white-space:nowrap }

#web-exercise-start,#pc-steps,#session-watch-title { scroll-margin-top:1rem }
.session-end-action { margin:.65rem 0 }
.session-end-action button { color:var(--sea); min-height:44px }
.exercise-entry-links { display:flex; flex-wrap:wrap; align-items:center; gap:.12rem 1rem }
.exercise-entry-links a,.pc-back-video { font-size:.9rem; padding:.35rem 0 }
.classwork-next a { display:block; padding:.32rem 0 }

/* The learning home uses the real first-lesson capture as its lead visual. */
.mast-inner,.home {
  --home-gutter:clamp(1.1rem,4.8vw,4rem);
  max-width:1280px;
  padding-inline:var(--home-gutter);
}
.mast { border-color:#e2e7ee }
.mast-inner { min-height:72px }
.mast .brand { font-size:1.07rem; font-weight:720; letter-spacing:-.035em }
.mast .brand b { margin-inline-start:.65rem; padding-inline-start:.65rem; color:#2158c4 }
.mast nav { gap:0 clamp(.55rem,2.15vw,1.55rem) }
.mast nav a { font-size:.91rem; font-weight:600; color:#3d4e64 }
.mast nav a:hover { color:#2158c4 }
.mast nav a:last-child {
  padding-inline:.8rem;
  border:1px solid #d6dfec;
  border-radius:7px;
  color:#1c4ba5;
}
.mast nav a:last-child:hover { background:#edf3fe; text-decoration:none }

.home {
  --home-blue:#2158c4;
  --home-deep-blue:#19428d;
  --home-tint:#edf3ff;
  --home-quiet:#f5f7fb;
  --home-border:#dce4ef;
  --home-ink:#17283e;
  --home-muted:#526177;
  color:var(--home-ink);
}
.home a { color:var(--home-blue) }
.home :focus-visible { outline-color:var(--home-blue) }
.home h2 { font-size:clamp(1.49rem,2.4vw,1.93rem); font-weight:690; letter-spacing:-.03em }
.hero {
  grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  gap:clamp(1.55rem,4.3vw,4.25rem);
  margin:0;
  padding:clamp(2.5rem,6vw,5.25rem) 0 clamp(2.1rem,5.4vw,4.75rem);
  border-radius:0;
  background:none;
  color:var(--home-ink);
}
.hero h1 {
  max-width:none;
  margin:0 0 1.1rem;
  font-size:clamp(2.3rem,4.45vw,4.1rem);
  font-weight:675;
  letter-spacing:-.036em;
  line-height:1.19;
  text-wrap:initial;
}
.hero-copy > p {
  max-width:26em;
  margin:0;
  color:var(--home-muted);
  font-size:clamp(1rem,1.34vw,1.125rem);
  line-height:1.62;
}
.hero .hero-meta {
  margin-bottom:.9rem;
  color:var(--home-deep-blue);
  font-size:.87rem;
  font-weight:690;
}
.hero-meta::before {
  content:"";
  display:block;
  width:1.4rem;
  height:2px;
  background:var(--home-blue);
}
.hero-meta span { border-inline-start-color:#a9bbd5 }
.hero .featured-done { color:var(--home-deep-blue) }
.hero .actions {
  display:flex;
  gap:.45rem 1rem;
  margin-top:1.55rem;
}
.hero .actions .primary,.hero .actions .secondary {
  gap:.55rem;
  width:auto;
  min-height:48px;
  padding:.57rem 1rem;
  border-radius:7px;
  border-color:var(--home-blue);
  font-size:.94rem;
  font-weight:670;
}
.hero .primary { background:var(--home-blue); color:#fff }
.hero .primary:hover { border-color:var(--home-deep-blue); background:var(--home-deep-blue) }
.hero .secondary { background:transparent; color:var(--home-deep-blue) }
.hero .secondary:hover { background:var(--home-tint) }
#hero-intro-link::before,.preview-play::before {
  content:"";
  flex:none;
  width:0;
  height:0;
  border-block:.29rem solid transparent;
  border-inline-start:.45rem solid currentColor;
}
.hero .actions .hero-beginner-link { color:var(--home-deep-blue); font-size:.91rem; font-weight:620 }
.hero .actions .hero-beginner-link:hover { color:var(--home-deep-blue); text-decoration-thickness:2px }

.lesson-preview {
  padding:clamp(.75rem,1.9vw,1.55rem);
  border:1px solid #dae6fc;
  border-radius:16px;
  background:var(--home-tint);
}
.preview-watch {
  display:block;
  overflow:hidden;
  border:1px solid #cfdcf1;
  border-radius:10px;
  background:#fff;
  color:var(--home-ink);
  text-decoration:none;
  box-shadow:0 6px 18px #244b8a12;
}
.preview-watch:hover { border-color:var(--home-blue) }
.preview-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  min-height:47px;
  padding:.4rem .65rem .4rem .85rem;
  border-bottom:1px solid #e7ecf5;
  color:var(--home-ink);
  font-size:.91rem;
  font-weight:690;
}
.preview-play {
  display:grid;
  width:2.1rem;
  height:2.1rem;
  place-items:center;
  padding-inline-start:.1rem;
  border-radius:50%;
  background:var(--home-tint);
  color:var(--home-deep-blue);
}
.preview-watch:hover .preview-play { background:var(--home-blue); color:#fff }
.lesson-preview img { border-radius:0 }
.lesson-preview figcaption {
  margin:.65rem 0 0;
  padding:0;
  color:#4b5f7e;
  font-size:.83rem;
  font-weight:540;
}

.learning-dash {
  gap:clamp(1.25rem,3vw,2.75rem);
  grid-template-columns:minmax(0,2.3fr) minmax(235px,1fr);
  margin:0;
  padding:clamp(1.6rem,3.3vw,2.75rem) 0;
  border-block:1px solid var(--home-border);
}
.starter-path {
  padding:0;
  border:0;
  background:none;
}
.starter-path header p { margin:.38rem 0 1.1rem; color:var(--home-muted) }
.learning-status {
  padding:clamp(1rem,2.2vw,1.65rem);
  border-color:var(--home-border);
  border-radius:12px;
  background:var(--home-quiet);
}
.learning-status h2 { margin-bottom:1.13rem; font-size:1.36rem }
.learning-status .progress + .progress { margin-top:.75rem }
.progress-note { margin-top:.9rem }
.home .progress progress { height:.36rem; margin-top:.55rem; accent-color:var(--home-blue); border:0 }
.home progress::-webkit-progress-bar { background:#dbe4f2; border-radius:1rem }
.home progress::-webkit-progress-value { background:var(--home-blue); border-radius:1rem }
.home progress::-moz-progress-bar { background:var(--home-blue); border-radius:1rem }
.starter-path li {
  grid-template-columns:1.9rem minmax(0,1fr) auto;
  gap:.65rem;
  padding:.38rem 0 .69rem;
  border-color:var(--home-border);
}
.starter-path h3 { font-size:clamp(1.04rem,1.56vw,1.23rem); font-weight:660 }
.starter-path h3 a { color:var(--home-ink) }
.starter-path li p { margin:-.15rem 0 0; color:var(--home-muted); font-size:.91rem }
.path-number {
  width:1.76rem;
  height:1.76rem;
  margin-top:.5rem;
  background:var(--home-tint);
  color:var(--home-deep-blue);
  font-size:.86rem;
}
.starter-path li:has(.path-done:not([hidden])) .path-number { background:#d5e3ff }
.path-done,.learning-status .resume a { color:var(--home-deep-blue) }
.starter-next { border-color:var(--home-border) }
.learning-tools {
  column-gap:.65rem;
  border-color:var(--home-border);
}
.learning-tools a { color:var(--home-deep-blue); font-weight:620 }

.task-library,.work-paths,.setup,.course-library { margin:clamp(2.15rem,4.5vw,4rem) 0 0 }
.section-heading {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:.2rem .85rem;
  margin:0 0 .62rem;
}
.section-heading h2 { margin:0 }
.section-heading a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:.92rem;
  font-weight:640;
}
.task-library ul { gap:1rem }
.task-card {
  padding:1.1rem 1.15rem .92rem;
  border-color:var(--home-border);
  border-inline-start-width:1px;
  border-radius:11px;
}
.task-card:has(.featured-done:not([hidden])) { border-color:#b3c6e8 }
.task-heading h3 {
  font-size:clamp(1.07rem,1.62vw,1.28rem);
  font-weight:710;
}
.task-heading > p { padding-top:.18rem }
.task-heading .featured-done { color:var(--home-deep-blue) }
.task-card > p { margin:.55rem 0 .7rem; font-size:.95rem }
.task-actions .task-open {
  justify-content:flex-start;
  padding-inline:0;
  border:0;
  background:none;
  color:var(--home-deep-blue);
  font-size:.92rem;
}
.task-open:hover { text-decoration:underline }
.work-paths ul { gap:.75rem 1rem }
.work-paths a {
  padding:.92rem 1rem;
  border-color:var(--home-border);
  background:var(--home-quiet);
  color:var(--home-ink);
}
.work-paths a:hover { border-color:#98b1db; background:var(--home-tint) }
.work-paths strong { font-size:1.01rem; font-weight:690 }
.work-paths span { font-size:.9rem }
.setup {
  padding:clamp(1rem,2.8vw,1.8rem);
  border-color:var(--home-border);
  border-radius:11px;
}
.setup > p { max-width:75ch; color:var(--home-muted) }
.setup-options { gap:1rem }
.setup-options > div { padding:.2rem .75rem; border-color:#dbe6fb }
.setup-options h3 { font-size:1.12rem }
.setup-options p,.setup-options li { font-size:.94rem }
.home .scope {
  margin-top:1rem;
  padding:.7rem 1rem;
  border-color:var(--home-border);
  border-radius:8px;
}
.home .scope summary { min-height:44px; padding:.62rem 0; font-weight:640 }
.course-library + .scope { margin-top:1.4rem }
.home .course-finder {
  gap:.7rem;
  padding:1rem;
  border-color:var(--home-border);
  border-radius:11px;
  background:var(--home-quiet);
}
.home .course-finder input,.home .course-finder select,.home .course-finder button[type="reset"] { border-color:#899ab0 }
.home .course-finder button[type="reset"]:hover { background:var(--home-tint) }
.home .module {
  gap:.45rem 1.15rem;
  padding:1.05rem;
  border-color:var(--home-border);
  border-inline-start-width:1px;
  border-radius:11px;
}
.home .module h3 { font-size:1.18rem }
.home .module a {
  background:var(--home-quiet);
  color:var(--home-ink);
  font-size:.94rem;
}
.home .module a:hover { background:var(--home-tint); color:var(--home-deep-blue) }
.home .module a.complete { border-inline-start-color:#456fba }

@media (max-width: 900px) {
  .hero { gap:1.6rem }
  .mast nav { gap:0 .65rem }
  .task-library ul { grid-template-columns:repeat(3,minmax(0,1fr)) }
  .task-heading { display:block }
  .task-heading > p { text-align:start }
  .task-heading .featured-done { display:inline; margin-inline-start:.55rem }
}
@media (max-width: 720px) {
  .mast-inner { flex-direction:column; align-items:flex-start; min-height:0; padding-block:.3rem .25rem; gap:0 }
  .mast nav { gap:0 .65rem }
  .mast nav a { font-size:.85rem }
  .mast nav a:last-child { padding-inline:0; border:0 }
  .hero,.learning-dash { grid-template-columns:1fr }
  .hero { gap:1.35rem; padding-block:2rem 1.9rem }
  .hero h1 { font-size:clamp(2rem,7.55vw,3.25rem); margin-bottom:.78rem }
  .hero .hero-meta { margin-bottom:.68rem }
  .hero-copy > p { max-width:34em; font-size:1rem; line-height:1.52 }
  .hero .actions { margin-top:1.13rem }
  .lesson-preview { border-radius:12px }
  .preview-toolbar { min-height:39px; padding-block:.3rem; font-size:.84rem }
  .preview-play { width:1.75rem; height:1.75rem }
  .learning-dash { gap:1.35rem }
  .task-library ul { grid-template-columns:1fr }
  .task-heading { display:flex }
  .task-heading > p { text-align:end }
  .task-heading .featured-done { display:block; margin-inline-start:0 }
  .task-card { padding:1rem 1rem .75rem }
  .home .module { padding:.86rem }
}
@media (max-width: 360px) {
  .mast nav { gap:0 .51rem }
  .mast nav a { font-size:.8rem }
  .hero .actions { column-gap:.55rem }
  .hero .actions .primary,.hero .actions .secondary { padding-inline:.72rem; font-size:.9rem }
  .hero .actions .hero-beginner-link { width:auto; font-size:.85rem }
}

#practice-view {
  --practice-border: #bbc8db;
  --practice-accent: #2158c4;
  --practice-selected: #eef3ff;
  --practice-feedback: #17283e;
  --practice-error: #8a341a;
}

#practice-view .practice-choices {
  min-inline-size: 0;
  margin: .65rem 0 1rem;
  padding: 0;
  border: 0;
}

#practice-view .practice-choices legend {
  float: none;
  margin: 0 0 .42rem;
  padding: 0;
  font-size: inherit;
  font-weight: 690;
  overflow-wrap: anywhere;
}

.practice-options, .practice-examples {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
}

#practice-view .practice-option {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: .4rem .65rem;
  border: 1px solid var(--practice-border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

#practice-view .practice-option input {
  appearance: auto;
  accent-color: var(--practice-accent);
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin: 0;
  padding: 0;
}

#practice-view .practice-option:has(input:checked) {
  border-color: var(--practice-accent);
  background: var(--practice-selected);
  color: var(--practice-feedback);
}

#practice-view .practice-option:has(input:focus-visible) {
  outline: 2px solid var(--practice-accent);
  outline-offset: 3px;
}

#practice-view .practice-answer { min-width: 0; margin: .7rem 0 1rem }
#practice-view .practice-answer input { margin: .4rem 0 .25rem }
#practice-view .practice-answer input:focus-visible,
#practice-view textarea:focus-visible { outline-offset: 1px }
#practice-view .practice-answer input[aria-invalid="true"],
#practice-view input[aria-invalid="true"] { border-color: var(--practice-error) }

#practice-view .practice-hint, #practice-view .practice-caption {
  margin: .24rem 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

#practice-view .practice-feedback, #practice-view .practice-form-status {
  margin: .36rem 0 0;
  color: var(--practice-feedback);
  font-size: .94rem;
  line-height: 1.5;
}

#practice-view .practice-form-status { color: var(--practice-error) }
#practice-view .practice-feedback:not(:empty) { padding-inline-start: .55rem; border-inline-start: 2px solid #9eb7e0 }
#practice-view .practice-examples { margin: .5rem 0 }

#practice-view .practice-example {
  min-height: 44px;
  margin: 0;
  padding-inline: .62rem;
  border: 1px solid var(--practice-border);
  border-radius: 7px;
  color: var(--practice-accent);
  background: #fff;
}

#practice-view .practice-example:hover { background: var(--practice-selected) }
.practice-code-key { display:flex; flex-wrap:wrap; gap:.35rem .75rem; padding:0; list-style:none }
.practice-code-key code { font-weight:750 }
.practice-sandbox { margin: 1rem 0; padding: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 8px }
.practice-sandbox h3 { margin-top: 0 }
.practice-preview { white-space: pre-wrap; overflow-wrap: anywhere; margin: .45rem 0; background: #eef3ff }
#practice-view .practice-draft-content { margin: 0; padding: .5rem .65rem; border-inline-start: 2px solid #9eb7e0 }

@media (max-width: 560px) {
  #practice-view .field-grid, #practice-view .poster-editor { grid-template-columns: minmax(0,1fr) }
  #practice-view .motion-pair { gap: .5rem }
  #practice-view .motion-pair .practice-option { padding-inline: .35rem }
}

#practice-view .course-entry-guide {
  margin:0 0 1.3rem; padding:.95rem 1.15rem .65rem;
  border-inline-start:3px solid #416ab3; background:#f3f6fb; border-radius:0 8px 8px 0;
}
#practice-view .course-entry-guide h2 { margin:0 0 .25rem; font-size:1.02rem; color:#233e66 }
#practice-view .course-entry-guide p { max-width:70ch; margin:.18rem 0; line-height:1.63 }
#practice-view .course-entry-guide details { margin:.26rem 0 0; padding:0; border:0 }
#practice-view .course-entry-guide summary { min-height:36px; padding:.38rem 0; color:#244b87; font-size:.92rem }
.course-entry-guide dl { margin:.35rem 0 .55rem }
.course-entry-guide dt { font-weight:650; color:#263e5e }
.course-entry-guide dd { margin:.15rem 0 .45rem }

.outcome-example summary { min-height:36px; padding:.3rem 0; color:#295092; font-size:.93rem; }
#practice-view .independent-task, #pc-step-list .sample-response-check {
  margin-top:1.25rem; padding:.65rem .95rem; border:1px solid #b9cbe3; border-radius:8px; background:#f7f9fd;
}
.independent-task summary,.sample-response-check summary { padding:.25rem 0; color:#23467d; }
.transfer-state:not(:empty),#response-feedback:not(:empty) { padding:.65rem .8rem; border-inline-start:3px solid #416ab3; background:#e9f0fb; }
.sample-response-check textarea { min-height:7rem; }

.course-map {margin:.75rem 0 0; font-size:.9rem;}
.course-map summary {width:fit-content; color:#355c62; cursor:pointer; padding:.4rem 0;}
.course-map ol {list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.35rem .8rem;}
.course-map a {display:flex; flex-direction:column; padding:.45rem .65rem; border-left:2px solid #c8d8da; color:#284950; text-decoration:none;}
.course-map a span {font-size:.8rem;}
.course-map a[aria-current] {border-color:#14766c; background:#e6f3ed;}
.course-map a:hover, .course-map a:focus-visible {text-decoration:underline;}

#practice-view .independent-task {scroll-margin-top:1.1rem; margin-bottom:1.25rem;}
.independent-task .original {line-height:1.75; word-break:keep-all; overflow-wrap:anywhere;}
.independent-task summary:focus-visible,.transfer-library summary:focus-visible {outline:3px solid #365ca0; outline-offset:3px;}
.independent-task .practice-answer {margin:.7rem 0;}
.independent-task .transfer-instruction {margin:.4rem 0 .75rem; color:#405368;}
.transfer-solution,.transfer-review {margin:.9rem 0; padding:.65rem .85rem; background:#fff; border:1px solid #c8d7e5; border-radius:7px;}
.transfer-solution li {margin:.25rem 0;}
.transfer-review p {margin:0 0 .3rem;}
.transfer-library {margin:.5rem 0; font-size:.9rem;}
.transfer-library a,.transfer-jump {display:block; width:fit-content; padding:.4rem 0;}
.transfer-library a[hidden] {display:none;}
.transfer-library p {margin:.4rem 0;}
.transfer-jump {font-size:.9rem;}
.transfer-tour {margin:.55rem 0; font-size:.92rem;}
.transfer-tour summary {cursor:pointer; padding:.35rem 0; color:#244b7c;}
.transfer-tour video {display:block; width:100%; max-height:75vh; background:#183047; border-radius:7px;}
.transfer-tour .tour-transcript ol {padding-left:1.1rem;}
.transfer-tour .tour-transcript button {padding:.25rem .4rem; font-variant-numeric:tabular-nums;}

.learning-profile {
  margin:-.35rem 0 1rem;
  border-block:1px solid var(--line);
  font-size:.89rem;
}
.learning-profile summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:0 .6rem;
  min-height:44px;
  padding:.35rem .15rem;
  cursor:pointer;
}
.learning-profile summary::-webkit-details-marker { display:none }
.learning-profile summary strong { min-width:0; overflow-wrap:anywhere }
#profile-action { color:var(--home-deep-blue,var(--sea)); font-weight:700 }
#profile-action::after {
  content:"";
  display:inline-block;
  width:.42em;
  height:.42em;
  margin:0 .15em .2em .48em;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
}
.learning-profile[open] #profile-action::after { transform:rotate(225deg) translate(-.13em,-.13em) }
.profile-controls { padding:.25rem .15rem .72rem }
.profile-controls label { display:block; margin:0 0 .15rem; font-weight:650 }
.profile-controls input {
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:.35rem .52rem;
  color:var(--ink);
  background:var(--paper);
  border:1px solid #8596ad;
  border-radius:6px;
}
.profile-picker { margin-top:.75rem; padding-top:.5rem; border-top:1px solid var(--line) }
.profile-choices { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.25rem }
.profile-choices button { max-width:100%; padding:.35rem .6rem; overflow-wrap:anywhere }
.profile-form-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.4rem }
.profile-form-row button { padding:.35rem .65rem; word-break:keep-all }
.profile-controls p { margin:.3rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.45 }
.profile-storage-note {
  margin:.7rem 0;
  padding:.35rem .52rem;
  border-inline-start:2px solid #98602a;
  background:#fff5e6;
  color:#683612;
  font-size:.83rem;
}

.watch-recall {
  margin-top:1rem;
  padding:.85rem 1rem .45rem;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--card);
  overflow-wrap:anywhere;
  word-break:keep-all;
}
.watch-recall h2 { margin:0; color:var(--ink); font-size:1rem; line-height:1.5 }
.watch-recall h2 span { color:var(--muted); font-size:.87rem; font-weight:500; white-space:nowrap }
.watch-recall p { max-width:56ch; margin:.4rem 0 0; line-height:1.65 }
.watch-recall summary {
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:.65rem .2rem .55rem 0;
  color:var(--sea);
  font-size:.94rem;
  font-weight:600;
  cursor:pointer;
}
.watch-recall summary:focus-visible { outline:3px solid var(--sea); outline-offset:2px }
.watch-recall details p { margin:0 0 .5rem; padding-inline-start:.75rem; border-inline-start:3px solid var(--line); color:var(--muted) }
