@charset "UTF-8";
:root{--ink:#16353c;--muted:#4d656b;--accent:#006c67;--dark:#103a3e;--paper:#f5f7f4;--line:#d4ded9;--soft:#e7f1ed;--warn:#704309;--warnbg:#fff3dc;--white:#fff;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent);text-underline-offset:3px}button,input,select{font:inherit}button,a.button{cursor:pointer}button,.button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:9px 14px;line-height:1.4;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px}button:hover,.button:hover{border-color:var(--accent);background:var(--soft)}button:disabled{cursor:default;opacity:.55}button.primary,.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover,.button.primary:hover{background:#00544f}button[aria-pressed=true]{background:var(--dark);color:#fff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #bb6200;outline-offset:4px}h1,h2,h3,p{margin:0 0 16px}h1{font-size:clamp(1.9rem,3.6vw,3.3rem);line-height:1.12;letter-spacing:-.035em}h2{font-size:1.6rem;line-height:1.25;letter-spacing:-.02em}h3{font-size:1.12rem;line-height:1.35}small,.small{font-size:.85rem;color:var(--muted)}strong{font-weight:650}ol,ul{padding-left:24px}li{margin-bottom:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:absolute;left:16px;top:-100px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}.masthead{max-width:1600px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:22px 4vw;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-weight:750;letter-spacing:.04em;text-decoration:none;line-height:1.25;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:.12em;margin-top:5px}.brand-mark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:2px solid var(--accent);border-radius:50%;color:var(--accent);font-size:15px;letter-spacing:-.05em}.masthead nav{display:flex;align-items:center;gap:24px;font-size:.9rem}.masthead nav a{color:var(--ink);text-decoration:none}.masthead nav a:hover{text-decoration:underline}main{max-width:1600px;margin:auto;padding:30px 4vw 60px;min-height:70vh}main:focus{outline:none}.eyebrow{display:block;font-size:.72rem;font-weight:750;letter-spacing:.14em;color:var(--accent);margin-bottom:12px;text-transform:uppercase}.hero{padding:38px 0 32px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr);gap:60px;align-items:start}.hero p{max-width:650px;color:var(--muted);font-size:1.05rem}.hero-aside{background:var(--dark);color:#fff;padding:28px;border-radius:16px}.hero-aside p{font-size:.95rem;color:#e5eeeb}.hero-aside .eyebrow{color:#bce6cf}.hero-aside .button{background:#fff;color:var(--dark);width:100%}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin:28px 0 18px}.section-head h2{margin:0}.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.system-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;position:relative;min-width:0}.system-number{font-size:.76rem;color:var(--accent);letter-spacing:.1em;font-weight:700;margin-bottom:20px}.system-card h3{font-size:1.3rem;letter-spacing:-.02em;margin-bottom:10px}.system-card p{color:var(--muted);font-size:.94rem;flex:1}.system-card a{font-weight:650;text-decoration:none}.system-card a:hover{text-decoration:underline}.system-card .card-meta{margin:16px 0;font-size:.78rem;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.notice{border-left:3px solid var(--accent);background:var(--soft);padding:14px 18px;border-radius:0 8px 8px 0;font-size:.93rem;margin:18px 0}.caution{background:var(--warnbg);border-color:#c18120;color:var(--warn)}.breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:.86rem;margin-bottom:22px;color:var(--muted)}.page-intro{max-width:850px;margin:20px 0 30px}.page-intro h1{font-size:2.5rem}.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.task-card{padding:22px;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:0}.task-card p{font-size:.94rem;color:var(--muted)}.task-card .actions{margin-top:12px}.task-card h3{margin-bottom:8px}.tag{display:inline-flex;background:var(--soft);color:#285750;border-radius:4px;padding:3px 7px;font-size:.72rem;line-height:1.4;font-weight:650}.task-top{display:flex;gap:24px;justify-content:space-between;align-items:start;margin-bottom:24px}.task-top h1{font-size:clamp(1.6rem,2.7vw,2.35rem);max-width:1000px;margin:0}.task-top .eyebrow{margin-bottom:8px}.view-select{display:flex;gap:10px;align-items:center;font-size:.86rem}.view-select select{max-width:100%;min-width:0;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.task-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:28px;align-items:start}.instructions{min-width:0}.instructions h2{font-size:1.6rem}.step-count{font-size:.75rem;letter-spacing:.12em;color:var(--muted);margin-bottom:12px}.instructions>p{font-size:1rem}.instructions .actions{gap:8px;margin-top:14px}.instructions .actions button{font-size:.87rem;flex:1}.instructions .actions .primary{flex:1 0 100%}.goal{font-size:.9rem!important;color:var(--muted);border-top:1px solid var(--line);padding-top:16px}.source-area{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.source-header{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:.76rem;letter-spacing:.08em;font-weight:650;margin-bottom:16px}.source-header button{font-size:.8rem;letter-spacing:0}.source-panels{display:grid;grid-template-columns:minmax(145px,.62fr) minmax(210px,1fr);gap:20px;align-items:start}.source-overview{text-align:center;min-width:0}.source-button{position:relative;display:block;width:fit-content;margin:0 auto;padding:0;border:0;border-radius:0;max-width:100%;min-height:0;background:transparent;line-height:0;cursor:crosshair;overflow:visible}.source-button:hover{background:transparent;border:0}.source-button img{display:block;max-width:100%;max-height:640px;width:auto;height:auto;object-fit:contain}.target{position:absolute;display:block;border:2px solid #9c4a00;box-shadow:0 0 0 2px #fff9;border-radius:3px;pointer-events:none}.source-overview .small{margin:10px 0 0;font-size:.72rem}.detail-panel{min-width:0}.detail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:.75rem;color:var(--muted)}.detail-heading button{font-size:.75rem;padding:5px 8px;min-height:32px}.detail-clip{position:relative;overflow:hidden;background:#edf1ee;max-width:100%;margin:0 auto}.detail-clip img{position:absolute;max-width:none;display:block}.detail-panel .small{font-size:.8rem;margin:12px 0}.source-meta{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.source-meta p{font-size:.78rem;margin:7px 0;color:var(--muted)}details{margin:16px 0;border:1px solid var(--line);border-radius:9px;background:#fff;padding:14px 18px}summary{cursor:pointer;font-weight:650}.task-notes{margin-top:26px}dl{margin:18px 0}dt{font-weight:650;margin-top:14px}dd{margin:5px 0 14px;color:var(--muted)}.lesson-check{padding:20px;background:var(--soft);border-radius:9px;margin:20px 0}.lesson-check fieldset{border:0;padding:0;margin:0}.lesson-check legend{font-size:1rem;font-weight:650;margin-bottom:12px}.choice{display:flex;gap:10px;align-items:start;margin:12px 0;padding:10px 12px;background:#fff;border-radius:6px;cursor:pointer}.choice input{margin-top:6px;flex:none}.feedback{padding:12px 0 0;margin:0;color:var(--ink)}.task-tail{margin-top:28px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:24px}.search-label{font-weight:650;display:block;margin:18px 0 7px}.search{width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:22px}.terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 30px}.terms dt{margin-top:0}.admin-frame{width:100%;height:80vh;min-height:650px;border:1px solid var(--line);border-radius:10px;background:#fff}.footer{padding:24px 4vw;max-width:1600px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.8rem;color:var(--muted)}dialog{width:min(1000px,94vw);max-height:92vh;border:1px solid var(--line);border-radius:12px;padding:22px;color:var(--ink);background:#fff;overflow:auto}dialog::backdrop{background:#0b292dc7}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:14px}.dialog-head h2{font-size:1.5rem;margin:0}.dialog-head .eyebrow{margin-bottom:6px}.dialog-head button{white-space:nowrap}.inspect-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:15px 0}.inspect-scroll{overflow:auto;max-height:62vh;background:#edf1ee;border:1px solid var(--line);padding:16px;overscroll-behavior:contain}.inspect-scroll img{display:block;max-width:none;margin:0 auto}.help-body{max-width:760px}.help-body p{margin-bottom:18px}.coverage-table{width:100%;border-collapse:collapse;font-size:.9rem}.coverage-table th,.coverage-table td{text-align:left;border-bottom:1px solid var(--line);padding:12px;vertical-align:top}.coverage-table th{background:var(--soft)}.table-scroll{overflow:auto}.onboarding{max-width:850px}.onboarding section{border-top:1px solid var(--line);padding:24px 0}.presenter-prompt{padding:16px;background:var(--soft);margin:18px 0;font-size:.9rem}.no-results{padding:24px;background:white;border:1px solid var(--line);border-radius:8px}
@media(min-width:1600px){.source-button img{max-height:760px}}
@media(max-width:1150px){.task-layout{grid-template-columns:1fr}.instructions{display:block;max-width:900px}.instructions .actions{max-width:560px}.source-panels{grid-template-columns:minmax(180px,.65fr) minmax(240px,1fr)}.source-button img{max-height:650px}.hero{gap:28px}.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.masthead{align-items:start;flex-direction:column;padding:18px 20px;gap:18px}.masthead nav{gap:14px;flex-wrap:wrap;font-size:.83rem}.masthead nav button{padding:5px 9px;min-height:36px}main{padding:22px 20px 40px}.hero{display:block;padding-top:16px}.hero-aside{margin-top:26px}.system-grid,.task-list,.terms{grid-template-columns:1fr}.source-panels{grid-template-columns:1fr}.source-button img{max-height:600px}.detail-panel{border-top:1px solid var(--line);padding-top:16px}.source-area{padding:14px}.task-top{display:block}.task-top .button{margin-top:16px}.view-select{display:block}.view-select select{display:block;width:100%;margin-top:6px}.section-head{display:block}.page-intro h1{font-size:2rem}.source-header{align-items:start}.task-layout{gap:18px}.coverage-table{min-width:600px}.dialog-head{gap:12px}.dialog-head button{font-size:.85rem}.inspect-scroll{padding:8px}.footer{padding:20px}.admin-frame{min-height:750px}.source-meta{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.masthead nav,.actions,.footer,dialog,.task-tail{display:none}main{padding:0}.source-panels{grid-template-columns:1fr 1fr}.task-layout{display:block}.system-card{break-inside:avoid}}
/* Audited Transform visual language, shared whole-app shell. */
:root{--ink:#172e43;--muted:#526675;--accent:#066d82;--cyan-accent:#087b93;--cyan:#c3f3f4;--pale:#edf8f9;--paper:#f7fafb;--line:#d8e4e8;--soft:#edf8f9;--dark:#172e43;--source-panel:#edf3f5;--source-divider:#d3e1e5;--radius:14px;--shadow:0 22px 65px #19394b12;font-family:"Avenir Next","Helvetica Neue",Helvetica,sans-serif;font-synthesis:none}
button,.button{min-height:44px;font-weight:650}button.primary,.button.primary{background:var(--ink);border-color:var(--ink)}button.primary:hover,.button.primary:hover{background:#28506b}button[aria-pressed=true]{background:var(--ink)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}main:focus-visible{outline:none}h1[tabindex]:focus-visible,h2[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:2px}
.masthead{min-height:90px;padding:16px 3.3vw}.brand{gap:20px}.brand img{width:108px;height:49px;object-fit:contain}.brand>span{border-left:1px solid var(--line);padding-left:20px;font-size:17px;font-weight:750;letter-spacing:.1em}.brand small{font-size:10px;font-weight:500;letter-spacing:.04em}.masthead nav a[aria-current=page]{color:var(--accent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}.masthead nav button{background:transparent;border-color:transparent;font-weight:500;padding:8px}.hero{padding:48px 0 44px;grid-template-columns:minmax(0,1.5fr) minmax(260px,.75fr);gap:70px}.hero h1{font-size:clamp(42px,5vw,72px);font-weight:650;letter-spacing:-.045em;line-height:1.04}.hero p{font-size:clamp(20px,1.6vw,24px);line-height:1.45;max-width:32em}.hero-aside{background:var(--pale);color:var(--ink);border-radius:14px;padding:28px}.hero-aside p{font-size:16px;color:var(--ink);line-height:1.6}.hero-aside .eyebrow{color:var(--accent)}.hero-aside .button{color:var(--ink)}.hero-aside h2{font-weight:650}
.system-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px;list-style:none;padding:0;margin:0 0 28px}.system-card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:22px 0 24px 52px;display:block;margin:0}.system-number{position:absolute;left:0;top:26px;font-size:0;letter-spacing:0}.system-number:after{content:attr(data-number)}.system-card .system-number{font-size:11px;max-width:40px;line-height:1.4}.system-card h3{font-size:20px;font-weight:650;margin-bottom:8px}.system-card p{font-size:14px;line-height:1.55;margin-bottom:12px;max-width:36em}.system-card .card-meta{border:0;margin:0 0 9px;padding:0;font-size:12px}.system-card a{font-size:14px}.tag{color:var(--accent);background:var(--pale)}
.task-top h1{font-size:clamp(30px,3vw,48px);font-weight:650;letter-spacing:-.035em}.task-layout{grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:32px}.instructions h2{font-size:clamp(27px,2.5vw,38px);line-height:1.15;font-weight:600}.instructions>p:first-of-type{font-size:clamp(19px,1.6vw,23px);line-height:1.45}.instructions .actions button{flex:none}.instructions .actions .primary{flex:1 0 100%}.instructions .actions [data-reset],.instructions .actions [data-replay]{background:transparent;border-color:transparent;color:var(--muted)}.view-jumps{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:0 0 20px}.source-area{background:var(--source-panel);border:0;box-shadow:none;padding:26px 30px;border-radius:12px}.source-header{letter-spacing:.08em}.source-title{font-size:12px;margin:0;font-weight:650;line-height:1.5;letter-spacing:.08em}.source-panels{grid-template-columns:minmax(130px,.55fr) minmax(210px,1fr);gap:26px}.source-button img{max-height:640px}.detail-panel{border-left:1px solid var(--source-divider);padding-left:24px}.target{border-color:var(--accent);border-radius:4px;box-shadow:0 0 0 2px #fff9}.detail-clip,.inspect-scroll{background:var(--pale)}.detail-heading button{min-height:44px;font-size:12px}.detail-movement{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.detail-movement button{min-width:44px;padding:8px}.detail-panel .small{line-height:1.6}.source-meta{border-color:var(--source-divider)}.source-overview .small{font-size:12px}.source-header button{min-height:44px}.task-notes{max-width:1100px}.task-notes summary{line-height:1.5}h1,h2{scroll-margin-top:24px}#viewControls{scroll-margin-top:20px}
dialog{background:var(--paper);border-radius:18px;max-height:92dvh;overflow:auto}dialog::backdrop{background:#132b3b99}#inspector[open]{display:flex;flex-direction:column;height:90dvh;overflow:hidden}.dialog-head,.inspect-tools,#inspectNote{flex:none}.inspect-scroll{flex:1;min-height:0;max-height:none;overflow:auto}#inspectNote{overflow-wrap:anywhere}.inspect-tools button{font-size:14px}.footer{font-size:13px}
@media(min-width:1600px){.source-button img{max-height:640px}}
@media(max-width:1150px){.task-layout{grid-template-columns:1fr}.hero{gap:32px}.source-panels{grid-template-columns:minmax(180px,.6fr) minmax(240px,1fr)}.instructions{max-width:900px}.instructions>p:first-of-type{max-width:34em}}
@media(max-width:720px){.masthead{padding:16px 20px}.brand{gap:16px}.brand>span{padding-left:16px}.masthead nav{gap:8px 16px}.masthead nav a{min-height:36px;display:inline-flex;align-items:center}.hero{padding-top:20px}.hero h1{font-size:clamp(38px,9vw,54px)}.hero-aside{padding:24px}.system-grid{grid-template-columns:1fr}.system-card{padding-left:48px}.source-panels{grid-template-columns:1fr}.source-area{padding:18px 14px}.detail-panel{border-left:0;border-top:1px solid var(--source-divider);padding-left:0;padding-top:20px}.task-top h1{font-size:30px}.source-header{gap:10px}.source-header button{font-size:12px;padding:8px;flex:none}.source-title{font-size:10px}.source-overview .small{font-size:13px}.source-button img{max-height:600px}.view-jumps{font-size:14px}dialog{padding:16px}.inspect-scroll{padding:8px}.dialog-head h2{font-size:19px}.inspect-tools{gap:6px}.inspect-tools button{font-size:12px;padding:8px}.task-top .eyebrow{font-size:10px}.task-top{overflow-wrap:anywhere}}
@media(max-width:350px){.brand img{width:94px}.brand>span{font-size:14px}.brand{gap:12px}.brand>span{padding-left:12px}.source-header{align-items:center}.source-header button{max-width:110px}.task-layout{min-width:0}.view-jumps{gap:8px}}

.detail-heading h2{font-size:12px;letter-spacing:.03em;font-weight:500;color:var(--muted);line-height:1.5;margin:0}.detail-heading h2:focus-visible{outline-offset:4px}
/* Browser zoom and short windows: scroll the dialog itself instead of reducing
   the source viewport to an unusable sliver below a wrapped toolbar. */
@media(max-height:450px){#inspector[open]{display:block;height:auto;max-height:92dvh;overflow:auto}#inspector .dialog-head{position:sticky;top:-16px;z-index:2;background:var(--paper);padding-bottom:8px}#inspector .inspect-scroll{height:55dvh;min-height:120px;max-height:none;flex:none}#inspector .inspect-tools{margin:12px 0}#inspector #inspectNote{font-size:12px}}

.source-header{flex-wrap:wrap}.source-header .source-title{flex:1 1 160px}.reconstruction-note{padding:10px 12px;background:var(--pale);border-left:2px solid var(--accent)}
[hidden]{display:none!important}

/* Bounded October enhancement: source geometry, disclosure and optional preparation. */
.source-load-status{margin:0 0 14px;color:var(--muted)}.source-load-status[data-state=error]{border-left:3px solid #9c4a00;padding-left:12px;color:var(--ink)}
#inspectNote{margin:0 0 8px}#inspectDisclosure{flex:none;margin:0 0 8px;padding:8px 12px;font-size:13px;max-height:30dvh;overflow:auto}#inspectDisclosure p{margin:8px 0}#inspectLoadStatus{flex:none;margin:0 0 8px;font-size:12px;color:var(--muted)}
.preparation-block{padding:22px;background:var(--soft);border:1px solid var(--line);border-radius:12px;margin:24px 0}.preparation-block h2{font-size:24px}.preparation-block .eyebrow{line-height:1.6}
.experiment-access{max-width:1600px;margin:auto;padding:12px 4vw 24px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.experiment-access button{font-size:12px;padding:6px 10px}.search-boundary{max-width:800px}
@media(max-width:720px){.admin-parent{margin-left:-20px;margin-right:-20px}.admin-parent>h1,.admin-parent>p,.admin-parent>.eyebrow{margin-left:20px;margin-right:20px}.admin-frame{display:block;width:100%;border-left:0;border-right:0;border-radius:0}.experiment-access{padding:12px 20px 24px}.preparation-block{padding:18px}#inspectNote{font-size:12px}#inspectDisclosure{font-size:12px}}
@media print{.experiment-access{display:none}}

/* Beginner entry prototype: the retained Transform palette and image viewer. */
.hero{padding:36px 0 30px;gap:48px}.hero h1{font-size:clamp(42px,4.6vw,64px)}.hero-aside{margin-top:8px}.hero-aside h2{font-size:28px}.hero-aside>a{font-size:14px;font-weight:650}.resume-links,.secondary-links{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;margin-top:20px}.secondary-links{padding-top:16px;border-top:1px solid var(--line)}.system-grid{gap:0 40px}.system-card{padding:18px 0 17px 44px}.system-card .system-number{top:22px;font-size:12px;color:var(--muted)}.system-card h3{font-size:19px;margin-bottom:6px}.system-card h3 a{font-size:inherit}.system-card p{font-size:14px;margin:0;max-width:42em}.section-head{margin:22px 0 16px}.quiet-link{font-size:14px;white-space:nowrap;margin-top:8px}.tour-outline{list-style:none;padding:0;max-width:1100px;margin:28px 0}.tour-outline li{margin:0;border-top:1px solid var(--line)}.tour-outline a{display:grid;grid-template-columns:32px 190px 1fr;gap:18px;padding:18px 0;text-decoration:none;color:var(--ink)}.tour-outline a:hover strong{text-decoration:underline}.tour-outline a>span{color:var(--muted);font-size:14px}.tour-outline a>strong{font-weight:650}.tour-layout .instructions h2{font-size:clamp(25px,2.3vw,34px)}.tour-when{font-size:16px!important;line-height:1.6!important;margin:22px 0 20px}.tour-when strong{font-size:13px;color:var(--accent)}.tour-choices{font-size:15px;padding-left:20px;margin:8px 0 20px;line-height:1.5}.tour-choices li{margin-bottom:6px}.tour-layout h3{font-size:14px;margin-bottom:8px}.tour-distinction{font-size:14px!important;color:var(--muted)}.tour-controls{margin-top:24px!important}.instructions .tour-controls .primary{flex:1}.tour-finish,.practice,.learning-start{background:var(--pale);border:1px solid var(--line);padding:26px 30px;border-radius:12px;margin:26px 0;max-width:1100px}.tour-finish p,.practice>p{max-width:760px}.learning-start{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:none}.learning-start p{max-width:680px;margin-bottom:0}.learning-start .actions{flex:none;margin:0}.learning-intro{max-width:900px}.walkthrough-purpose{max-width:750px;color:var(--muted);font-size:18px;margin:-6px 0 28px}.source-hint{font-size:12px;margin:16px 0 0}.source-header{margin-bottom:20px}.source-title{text-transform:none;font-size:13px;letter-spacing:.02em}.detail-heading h2{font-size:13px}.source-access{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.source-access details{margin:0;font-size:14px;padding:12px 16px}.source-access details>p{margin:12px 0 0;overflow-wrap:anywhere}.source-access details:last-child p{font-size:13px}.more-controls{padding:10px 0;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;margin-top:20px;font-size:14px}.more-controls .view-select{display:block;margin-top:16px}.more-controls select{display:block;margin-top:8px;width:100%}.instructions .lesson-controls .primary{flex:1}.instructions .lesson-controls [data-back]{flex:none}.instructions .lesson-controls{flex-wrap:nowrap}.instructions .lesson-controls button{min-width:0}.detail-tools{font-size:12px;padding:10px 0 0;border:0;border-top:1px solid var(--source-divider);border-radius:0;background:transparent;margin:18px 0 0}.detail-tools>button{margin-top:14px;font-size:12px}.detail-movement{gap:6px}.task-notes{margin-top:18px}.task-notes>details{margin:0 0 16px;font-size:14px}.reconstruction-note{font-size:12px;margin-bottom:16px;padding:6px 10px}.practice h2,.tour-finish h2,.learning-start h2{font-size:28px}.page-intro{margin-top:20px}.footer{gap:12px 24px}.footer span{margin-right:auto}
@media(max-width:1150px){.tour-layout .instructions{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.tour-layout .instructions h2{grid-column:1/-1;max-width:32em}.tour-layout .tour-when{grid-column:1;grid-row:2/5;margin-top:4px}.tour-layout .instructions h3,.tour-choices{grid-column:2}.tour-layout .tour-distinction{grid-column:1/-1}.tour-layout .tour-controls{justify-content:flex-end;margin:0!important}.learning-start{align-items:start}.learning-start .actions{max-width:240px}.hero{gap:30px}}
@media(max-width:720px){.hero{padding:18px 0 20px}.hero h1{font-size:44px}.hero p{font-size:20px}.hero-aside{margin-top:24px;padding:22px}.hero-aside h2{font-size:25px}.hero-aside p{font-size:15px}.system-grid{gap:0}.section-head .small{display:block;margin-top:8px}.tour-outline a{grid-template-columns:24px 1fr;gap:6px 12px;padding:15px 0}.tour-outline a>span:last-child{grid-column:2}.tour-layout .instructions{display:block}.tour-layout .instructions h2{font-size:28px}.tour-layout .tour-when{margin:20px 0}.tour-layout .tour-controls{justify-content:flex-start;margin-top:22px!important}.source-access{grid-template-columns:1fr;gap:10px}.source-area{padding:18px 14px}.source-header button{max-width:none}.source-title{font-size:12px}.source-panels{gap:24px}.learning-start{display:block;padding:22px}.learning-start .actions{max-width:none;margin-top:20px}.tour-finish,.practice{padding:22px}.quiet-link{display:inline-flex;margin-top:14px;white-space:normal}.task-top{margin-bottom:22px}.task-top h1{font-size:30px}.walkthrough-purpose{font-size:16px;margin:0 0 24px}.source-hint{font-size:12px}.footer span{flex:1 0 100%}.instructions .lesson-controls button{font-size:14px}.masthead nav{gap:8px 20px}.masthead nav a{min-height:44px}.resume-links{gap:12px 20px}}
@media print{.more-controls,.detail-tools,.source-header button,.tour-controls,.source-access,.secondary-links{display:none}}

.learning-tutorials>.task-list{margin-top:20px}.learning-tutorials{padding:18px 22px}

.step-note{font-size:14px!important;line-height:1.6;color:var(--muted);padding-left:14px;border-left:2px solid var(--line);margin:20px 0}.practice h2:focus-visible{outline-offset:6px}

/* Screen descriptions stay available to assistive technology; failures reveal the same text. */
.screen-fallback{margin:20px 0;padding:22px;background:var(--pale);border:1px solid var(--line);border-radius:12px;max-width:1100px}.screen-fallback h2{font-size:22px}.screen-fallback p{margin:0;line-height:1.7}

#inspectFallback{flex:1;min-height:0;overflow:auto;padding:18px;background:var(--pale);border:1px solid var(--line);border-radius:8px}#inspectFallback h3{font-size:20px}#inspectFallback p{line-height:1.7;margin-bottom:0}

.reference-tutorials{margin-top:20px}.tutorial-group{margin-top:26px}.tutorial-group:first-child{margin-top:0}.tutorial-group>h3{font-size:21px;font-weight:650;margin-bottom:16px}.task-card h4{font-size:1.12rem;line-height:1.35;margin:0 0 8px}

/* Complete hierarchy: quiet Transform navigation, one shared source viewer. */
.route-recovery{padding:14px 18px;background:var(--pale);border-left:3px solid var(--accent);margin-bottom:24px}
.hierarchy-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start}.hierarchy-content{min-width:0}.hierarchy-intro{margin:0 0 24px;max-width:850px}.hierarchy-intro h1{font-size:clamp(30px,3vw,46px);overflow-wrap:anywhere}.hierarchy-intro p{font-size:18px;line-height:1.5;color:var(--muted)}.hierarchy-sidebar{min-width:0}.hierarchy-navigation{padding:0;border:0;border-radius:0;background:transparent;margin:0}.hierarchy-navigation>summary{font-size:14px;padding:0 0 16px;border-bottom:1px solid var(--line);color:var(--ink)}.hierarchy-navigation nav{padding-top:18px}.hierarchy-navigation label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.hierarchy-navigation select{width:100%;min-width:0;max-width:100%;padding:9px 6px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:6px;font-size:13px}.hierarchy-outline,.hierarchy-outline ul{list-style:none;padding:0;margin:14px 0 0}.hierarchy-outline ul{padding-left:13px;border-left:1px solid var(--line);margin:5px 0 0 6px}.hierarchy-outline li{margin:0}.hierarchy-outline a{display:block;padding:7px 8px;font-size:13px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere;border-radius:5px}.hierarchy-outline a:hover{text-decoration:underline;background:var(--pale)}.hierarchy-outline a[aria-current=page]{color:var(--ink);background:#dceff1;border-left:3px solid var(--accent);font-weight:750}.hierarchy-outline details{border:0;border-radius:0;padding:0;background:transparent;margin:4px 0}.hierarchy-outline summary{font-size:13px;padding:7px 3px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.hierarchy-outline summary span{display:inline}.hierarchy-outline details>a{margin-left:13px;font-size:12px}.outline-finder{display:block;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:13px}.hierarchy-children{margin:0 0 30px}.hierarchy-children .section-head{margin:0 0 12px}.hierarchy-children h2{font-size:16px;letter-spacing:0;font-weight:650}.branch-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.branch-grid li{margin:0;min-width:0;border-top:1px solid var(--line)}.branch-grid a{display:block;padding:15px 0;text-decoration:none;line-height:1.4;overflow-wrap:anywhere}.branch-grid strong{font-size:16px;font-weight:650;display:block}.branch-grid strong>span{white-space:nowrap}.branch-grid a:hover strong{text-decoration:underline}.branch-grid a>span{font-size:13px;line-height:1.55;color:var(--muted);display:block;margin-top:6px;max-width:48em}.explorer-viewer{grid-template-columns:minmax(0,1fr);gap:24px}.explorer-viewer .instructions{max-width:850px}.explorer-viewer .instructions h2{font-size:clamp(23px,2vw,30px);margin-bottom:12px}.explorer-viewer .instructions>p{font-size:18px;line-height:1.5;max-width:47em}.explorer-viewer .source-panels{grid-template-columns:minmax(160px,.65fr) minmax(0,1fr)}.explorer-viewer .source-area{padding:22px}.explorer-viewer .view-select{margin-top:18px;align-items:center;max-width:600px}.explorer-viewer .view-select select{flex:1}.position-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.position-controls .button{font-size:14px;max-width:100%;overflow-wrap:anywhere}.entry-guide{background:var(--pale);border-radius:12px;padding:24px 26px;margin:24px 0;max-width:850px}.entry-guide h2{font-size:25px}.entry-guide p{max-width:50em}.entry-guide p:last-child{margin-bottom:0}.entry-location{font-size:14px;color:var(--muted)}.optional-task{margin-top:24px;font-size:14px}.optional-tutorials{margin:30px 0 0;padding:18px 20px}.optional-tutorials summary{font-size:15px}.optional-tutorials>.task-list{margin-top:20px}.optional-tutorials .task-card{padding:18px}.optional-tutorials .task-card h3{font-size:19px}.optional-tutorials .task-card .eyebrow{font-size:10px}.related-pages{margin-top:28px}.related-pages h2{font-size:19px}.full-page-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 50px;align-items:start}.full-page-tree>section{min-width:0;border-top:1px solid var(--line);padding-top:20px}.full-page-tree h2{font-size:22px}.full-page-tree ul{list-style:none;padding-left:17px;border-left:1px solid var(--line)}.full-page-tree>section>ul{padding-left:0;border:0}.full-page-tree li{margin-bottom:10px;line-height:1.5}.full-page-tree li>ul{margin-top:10px}.full-page-tree a{font-size:14px;overflow-wrap:anywhere}.full-page-tree h2 a{font-size:inherit}.page-search-results>ul{list-style:none;padding:0;margin:0;max-width:1000px}.page-search-results li{margin:0;border-top:1px solid var(--line)}.page-search-results a{display:block;padding:16px 0;text-decoration:none;overflow-wrap:anywhere}.page-search-results a:hover strong{text-decoration:underline}.page-search-results strong{display:block;font-size:18px}.page-search-results span{display:block;font-size:13px;margin-top:5px;color:var(--muted)}
@media(min-width:1351px){.explorer-viewer{grid-template-columns:minmax(215px,.42fr) minmax(0,1fr);gap:26px}.explorer-viewer .instructions>p{font-size:19px}.explorer-viewer .source-panels{grid-template-columns:minmax(130px,.65fr) minmax(0,1fr);gap:18px}.explorer-viewer .source-area{padding:20px}.explorer-viewer .view-select{display:block}.explorer-viewer .view-select select{display:block;width:100%;margin-top:8px}}
@media(max-width:1000px){.hierarchy-layout{grid-template-columns:1fr;gap:24px}.hierarchy-navigation{background:var(--pale);padding:14px 18px;border-radius:9px}.hierarchy-navigation>summary{border:0;padding:0}.hierarchy-navigation[open]>summary{border-bottom:1px solid var(--line);padding-bottom:14px}.hierarchy-navigation nav{max-height:60vh;overflow:auto;padding:16px 4px 8px}.hierarchy-outline a,.hierarchy-outline summary{min-height:44px;padding-top:12px;padding-bottom:12px}.hierarchy-outline a{display:block}.hierarchy-outline summary{display:list-item;list-style-position:inside}.hierarchy-outline summary::marker{color:var(--accent)}.hierarchy-navigation select{min-height:44px;font-size:16px}.hierarchy-sidebar{position:static}.hierarchy-intro{margin-top:0}.hierarchy-intro h1{font-size:36px}}
@media(max-width:720px){.hierarchy-layout{gap:22px}.hierarchy-intro h1{font-size:30px}.hierarchy-intro p{font-size:16px}.branch-grid,.full-page-tree{grid-template-columns:1fr}.branch-grid{gap:0}.branch-grid a{padding:16px 0;min-height:54px}.branch-grid strong{font-size:16px}.hierarchy-children{margin-bottom:24px}.explorer-viewer .source-panels{grid-template-columns:1fr}.explorer-viewer .source-area{padding:18px 14px}.explorer-viewer .instructions h2{font-size:26px}.explorer-viewer .instructions>p{font-size:18px}.position-controls{gap:8px}.position-controls .button{font-size:13px;padding:9px 12px}.explorer-viewer .view-select{display:block}.explorer-viewer .view-select select{display:block;width:100%;margin-top:8px}.entry-guide{padding:22px 20px}.entry-guide h2{font-size:23px}.optional-tutorials{padding:16px}.full-page-tree{gap:20px}.full-page-tree ul{padding-left:12px}.full-page-tree a{display:inline-block;padding:4px 0}.breadcrumb{font-size:12px;gap:6px;overflow-wrap:anywhere}.breadcrumb a,.breadcrumb span{max-width:100%}}
@media print{.hierarchy-sidebar,.position-controls,.optional-tutorials,.optional-task{display:none}.hierarchy-layout,.explorer-viewer{display:block}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact learning desk: the header, bounded canvas and dock are real grid rows. */
.course-navigation{display:none!important}.systems-disclosure{position:relative;margin:0;padding:0;border:0;background:transparent}.systems-disclosure>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;white-space:nowrap}.systems-disclosure>summary::-webkit-details-marker{display:none}.systems-disclosure[open]>summary{background:var(--pale);border-color:var(--accent)}.systems-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain;background:white;box-shadow:0 12px 38px #172e4326;border:1px solid var(--line);border-radius:10px;padding:8px;z-index:30}.systems-panel>a{display:flex;gap:15px;align-items:center;min-height:44px;padding:9px 12px;border-radius:5px;line-height:1.4;font-size:16px!important}.systems-panel>a>span{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}.systems-panel a:hover{background:var(--pale)}.systems-panel>a[aria-current=page]{background:var(--pale);box-shadow:inset 3px 0 var(--accent);text-decoration:none!important;font-weight:700}.systems-secondary{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}.systems-secondary a{display:block;min-height:44px;padding:9px 12px;font-size:14px}.source-header-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.detail-stage{height:auto;max-height:520px;min-width:0;display:flex;align-items:center;justify-content:center}.source-view-tabs{display:none}
body.course-mode{height:100vh;height:100dvh;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.course-mode .masthead{width:100%;max-width:none;margin:0;min-height:64px;gap:16px;padding:8px clamp(16px,3vw,48px);flex-direction:row;align-items:center;background:white;z-index:20}.course-mode .brand{gap:14px}.course-mode .brand img{width:88px;height:40px}.course-mode .brand>span{font-size:12px;padding-left:14px;letter-spacing:.12em}.course-mode .brand small{display:none}.course-mode .reference-navigation{display:none}.course-mode .course-navigation{display:flex!important;align-items:center;gap:12px;flex-wrap:nowrap}.course-mode .course-navigation>button{min-height:44px;font-size:14px;padding:8px}.course-mode .footer{display:none}.course-main{min-height:0;min-width:0;width:100%;max-width:1600px;margin:0 auto;padding:12px clamp(16px,3vw,48px) 16px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;position:relative}.course-context{display:flex;align-items:center;gap:12px;min-height:40px;line-height:1.4;font-size:13px;color:var(--muted);min-width:0}.chapter-name{font-weight:700;color:var(--ink);font-size:14px}.context-count{margin-left:auto;white-space:nowrap}.watch-video{font-size:14px;background:white;border-color:var(--line);min-height:44px;padding:8px 13px;gap:7px;white-space:nowrap}.watch-video>span:first-child{font-size:21px;line-height:1;color:var(--accent)}.watch-duration{font-size:12px;color:var(--muted);font-weight:500}.course-layout{display:grid;grid-template-columns:minmax(260px,310px) minmax(0,1fr);gap:24px;align-items:stretch;min-height:0;min-width:0}.course-instruction{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:12px 8px 16px 0;display:block}.course-instruction>.eyebrow{font-size:10px;margin-bottom:12px;line-height:1.5}.course-instruction h1{font-size:clamp(24px,2.25vw,32px);line-height:1.15;font-weight:650;margin:0 0 16px;overflow-wrap:anywhere}.course-instruction-text{font-size:18px!important;line-height:1.55!important;margin:0 0 18px;max-width:36em}.course-guidance{margin:16px 0 0;padding:14px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.course-guidance>summary{min-height:44px;display:list-item;list-style-position:inside;font-size:16px;padding:10px 0}.course-guidance p{font-size:16px!important;line-height:1.6;margin:14px 0}.course-guidance strong{display:block;color:var(--accent);font-weight:650;margin-bottom:4px}.course-chapter-intro,.course-transition,.course-notice{color:var(--muted)}.guidance-flag{font-size:16px!important;color:var(--warn);border-left:3px solid #d5a04a;padding:8px 12px;background:var(--warnbg);line-height:1.45!important}.course-main .source-area{padding:14px 16px;background:var(--source-panel);border:1px solid var(--line);border-radius:10px;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:10px;margin:0}.course-main .source-header{margin:0;gap:10px;min-height:44px;flex:none;align-items:center}.course-main .source-title{font-size:13px;margin:0;font-weight:650;letter-spacing:0}.course-main .source-header button{font-size:12px;padding:8px 10px;min-height:44px;white-space:normal}.course-main .source-panels{display:grid;grid-template-columns:minmax(125px,.62fr) minmax(0,1fr);align-items:stretch;gap:18px;min-height:0;min-width:0;flex:1}.course-main .source-overview{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.course-main .source-button{margin:0;flex:none;max-height:100%;max-width:100%;overflow:hidden;border-radius:6px}.course-main .source-button img{display:block;max-height:100%;max-width:100%;object-fit:contain}.course-main .target{border:2px solid #08a3b8;box-shadow:0 0 0 100vmax #102b424d,0 0 0 2px #fff9;border-radius:3px}.course-main .detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;min-width:0;padding:0 0 0 18px;border-top:0;border-left:1px solid var(--source-divider);gap:8px}.course-main .detail-heading{margin:0;min-width:0}.course-main .detail-heading h2{font-size:13px;margin:0;line-height:1.4}.course-main .detail-stage{height:auto;max-height:none;min-height:0;min-width:0;overflow:hidden}.course-main .detail-clip{flex:none;max-width:100%;margin:0}.course-main .detail-tools{max-height:170px;overflow:auto;overscroll-behavior:contain;margin:0;padding:0;border:0;border-top:1px solid var(--source-divider);border-radius:0;background:transparent}.course-main .detail-tools>summary{min-height:44px;display:list-item;list-style-position:inside;padding:10px 0;font-size:13px;line-height:1.5}.course-main .detail-tools button{font-size:12px;min-height:44px;margin:4px 0}.course-main .source-hint{font-size:12px;line-height:1.5;margin:0;flex:none;color:var(--muted)}.course-main .reconstruction-note{margin:0;padding:6px 10px;background:white;border-left:3px solid var(--accent);font-size:13px;line-height:1.5;flex:none}.course-main .screen-fallback{position:absolute;inset:64px 16px 16px;background:white;z-index:3;max-width:none;overflow:auto;padding:18px}.course-main:has(.course-home){grid-template-rows:minmax(0,1fr)}.course-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:clamp(24px,4vw,64px);min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding-top:8px}.home-copy{min-height:0;min-width:0;padding:8px 0 0;overflow:auto;overscroll-behavior:contain}.home-copy>.eyebrow{font-size:11px;margin-bottom:12px}.home-copy h1{font-size:clamp(28px,2.65vw,38px);font-weight:650;line-height:1.1;letter-spacing:-.035em;margin:0 0 16px}.home-intro{font-size:17px;line-height:1.5;max-width:37em;margin:0 0 14px;color:var(--muted)}.course-system-overview{margin:20px 0 0;padding:0;border:0}.course-system-overview h2{font-size:16px;margin:0 0 8px;letter-spacing:0}.course-system-overview>p{font-size:14px;color:var(--muted);margin:0 0 6px}.course-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0;margin:0;list-style:none}.course-system-grid li{margin:0;min-width:0;border-bottom:1px solid var(--line)}.course-system-link{min-height:48px;display:flex;align-items:center;gap:10px;padding:10px 0;text-decoration:none;color:var(--ink);line-height:1.35}.course-system-link:hover strong{text-decoration:underline}.course-system-number{font-size:11px;color:var(--accent);flex:none;font-variant-numeric:tabular-nums}.course-system-link strong{font-size:16px;font-weight:650;flex:1;min-width:0;overflow-wrap:anywhere}.course-system-link>span:last-child{color:var(--accent);font-size:14px}.home-caption{font-size:13px;color:var(--muted);margin:12px 0;line-height:1.55}.course-home .source-panels{grid-template-columns:minmax(0,1fr)}.course-home .detail-panel,.course-home .source-view-tabs{display:none}.course-home .source-hint{display:none}.course-home .source-area{min-height:300px}.course-home .source-overview{height:100%}#courseDock[hidden]{display:none}#courseDock{background:#fff;border-top:1px solid var(--line);padding:12px clamp(16px,3vw,48px) max(12px,env(safe-area-inset-bottom));min-width:0;z-index:10}.course-controls{max-width:1504px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;min-width:0}.course-controls .button{font-size:14px;min-height:44px;min-width:100px;padding:10px 18px}.course-controls .primary{min-width:130px}.dock-position{justify-self:center;width:min(320px,100%);min-width:0;text-align:center;color:var(--muted);font-size:12px;line-height:1.4}.dock-position progress{display:block;width:100%;height:3px;border:0;appearance:none;background:var(--line);color:var(--accent);margin-top:8px}.dock-position progress::-webkit-progress-bar{background:var(--line)}.dock-position progress::-webkit-progress-value{background:var(--accent)}.dock-position progress::-moz-progress-bar{background:var(--accent)}.dock-welcome{font-size:13px;color:var(--muted)}.course-chapters{list-style:none;padding:0}.course-chapters li{margin:0}.course-chapters a{display:flex;gap:16px;align-items:center;min-height:44px;padding:12px;border-bottom:1px solid var(--line)}.course-chapters small{margin-left:auto}#courseChapters{max-width:620px}
/* The native dialog owns focus and a player that exists only while it is open. */
.video-dialog{width:min(1200px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:20px;border-radius:10px;overflow:hidden}.video-dialog[open]{display:flex;flex-direction:column;gap:16px}.video-dialog .dialog-head{margin:0;align-items:center;flex:none;min-height:44px;gap:16px}.video-dialog h2{font-size:22px}.video-dialog .eyebrow{font-size:10px;margin:0 0 6px}.video-dialog .dialog-head button{min-height:44px}.video-dialog #guideVideoContent{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain}.course-video-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;min-height:0}.course-video-layout.has-chapters{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr)}.course-video-view{min-width:0;min-height:0}.course-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:var(--dark);border-radius:7px;overflow:hidden}.course-video-frame[hidden]{display:none}.course-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.course-video-status{font-size:14px;margin:12px 0 8px;min-height:1.5em}.video-fallback-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.video-fallback-tools button{font-size:13px}.course-video-external{font-size:13px;display:inline-flex;align-items:center;min-height:44px}.video-description{font-size:14px;margin:8px 0 0}.course-video-chapters{min-height:0;min-width:0;max-height:calc(100dvh - 170px);overflow:auto;overscroll-behavior:contain;padding:0 6px 6px 0}.course-video-chapters h2{font-size:18px;margin:0 0 8px}.course-video-chapters>p{margin-bottom:12px}.course-video-chapters ol{padding:0;margin:0;list-style:none}.course-video-chapters li{margin:0;border-top:1px solid var(--line)}.course-video-chapters button,.course-video-chapters a{display:flex;gap:12px;text-align:left;align-items:start;width:100%;min-width:0;min-height:48px;padding:11px 8px;border:0;border-radius:4px;text-decoration:none;background:transparent;color:var(--ink);font-size:13px;line-height:1.5;justify-content:flex-start;font-weight:500}.course-video-chapters button:hover,.course-video-chapters a:hover{background:var(--pale)}.course-video-chapters button[aria-pressed=true]{background:var(--pale);color:var(--accent);box-shadow:inset 3px 0 var(--accent)}.course-video-chapters [hidden],.video-fallback-tools [hidden]{display:none}.course-video-time{flex:none;font-size:12px;font-weight:650;color:var(--accent);font-variant-numeric:tabular-nums}.course-video-chapters button>span:last-child,.course-video-chapters a>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:1150px){.course-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:20px}.course-main .source-panels{grid-template-columns:minmax(0,1fr)}.course-main .source-view-tabs{display:flex;gap:0;flex:none;align-self:center;background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.course-main .source-view-tabs button{font-size:12px;min-height:44px;padding:7px 18px;border:0;border-radius:0}.course-main [data-source-view=screen] .detail-panel{display:none}.course-main [data-source-view=detail] .source-overview{display:none}.course-main [data-source-view=detail] .detail-panel{display:grid;border:0;padding:0}.course-home .source-view-tabs{display:none}.course-home{gap:28px;grid-template-columns:minmax(0,1fr) minmax(220px,.7fr)}}
@media(max-width:800px){#systemsCurrent{display:none}.course-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(110px,.7fr) minmax(160px,1.3fr);gap:12px}.course-instruction{padding:0 4px 0 0}.course-instruction>.eyebrow{margin-bottom:6px;font-size:10px}.course-instruction h1{font-size:24px;margin-bottom:10px}.course-instruction-text{font-size:17px!important;line-height:1.5!important;margin-bottom:12px}.course-guidance{margin-top:10px}.course-main .source-area{padding:10px 12px;gap:8px}.course-main .source-hint{display:none}.course-home{grid-template-columns:minmax(0,1fr);overflow:auto;gap:20px;display:block}.home-copy{overflow:visible;padding:4px 0 0}.home-copy h1{font-size:32px}.course-home .source-area{height:260px;min-height:260px;margin-top:16px}.course-system-grid{gap:0 20px}.course-context{gap:8px;font-size:12px;flex-wrap:wrap}.chapter-name{font-size:13px}.course-context .watch-video{font-size:12px;padding:6px 10px;min-height:44px}.course-context .watch-duration{font-size:11px}.course-main{gap:10px}.course-video-layout.has-chapters{grid-template-columns:minmax(0,1fr);gap:16px}.course-video-chapters{max-height:280px}.video-dialog{padding:16px}.video-dialog h2{font-size:18px}.video-dialog .dialog-head{align-items:start}}
@media(max-width:480px){.course-mode .masthead{padding:6px 12px;min-height:58px;gap:8px}.course-mode .brand{gap:0}.course-mode .brand img{width:78px;height:36px}.course-mode .brand>span{display:none}.course-mode .course-navigation{gap:4px}.systems-disclosure>summary{font-size:13px;padding:7px 10px}.course-mode .course-navigation>button{font-size:13px;padding:7px}.course-main{padding:10px 12px 12px;gap:10px}.course-context .context-count{font-size:11px}.course-context:has(.watch-video) .context-count{margin-left:auto}.course-context .watch-video{margin-left:auto}.course-layout{grid-template-rows:minmax(108px,.85fr) minmax(150px,1.15fr)}.course-main .source-title{display:none}.course-main .source-header{justify-content:flex-end}.course-main .source-header-tools{width:100%;justify-content:space-between;gap:6px}.course-main .source-header button{font-size:11px;padding:6px 8px}.course-main .source-view-tabs button{font-size:12px;padding:6px 20px}.course-main .source-area{gap:6px;padding:8px}.course-main .reconstruction-note{font-size:11px;padding:5px 7px}.course-instruction h1{font-size:23px}.course-instruction-text{font-size:16px!important;line-height:1.5!important}.home-copy h1{font-size:30px}.home-intro{font-size:16px;margin-bottom:12px}.home-copy>.eyebrow{font-size:10px}.home-copy .watch-video{font-size:13px}.course-system-overview{margin-top:16px}.course-system-overview>p{font-size:13px}.course-system-link{gap:7px;min-height:48px}.course-system-link strong{font-size:14px}.course-system-link>span:last-child{display:none}.course-system-grid{gap:0 16px}.home-caption{font-size:12px}.course-home .source-area{height:250px;margin-top:14px}#courseDock{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.course-controls{gap:10px}.course-controls .button{min-width:76px;font-size:13px;padding:10px 12px}.course-controls .primary{min-width:90px}.dock-position{font-size:11px}.dock-welcome{display:none}.course-controls:has(.dock-welcome){grid-template-columns:minmax(0,1fr) auto}.course-controls:has(.dock-welcome) .dock-position{text-align:left;justify-self:start;width:auto}.video-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.video-dialog[open]{gap:12px}.video-dialog h2{font-size:17px}.video-dialog .dialog-head button{font-size:13px;padding:8px 10px}.video-description{display:none}}
/* Extremely short or zoomed canvases scroll internally; the dock remains a separate row. */
@media(max-height:540px){.course-main{overflow:auto;overscroll-behavior:contain}.course-layout{min-height:330px}.course-main:has(.course-home){display:block}.course-home{min-height:340px;overflow:visible}.home-copy{overflow:visible}.course-home .source-area{min-height:300px}.video-dialog[open]{max-height:calc(100dvh - 12px);gap:8px}.video-dialog{padding:10px}.video-dialog .eyebrow{display:none}.video-dialog .dialog-head h2{font-size:16px}.course-video-chapters{max-height:160px}}
@media print{body.course-mode{height:auto;display:block;overflow:visible}.course-navigation,#courseDock,.video-dialog,.source-view-tabs,.course-guidance>summary{display:none!important}.course-main,.course-layout,.course-home{display:block;overflow:visible}.course-instruction{overflow:visible}.course-main .source-area{height:700px}.course-main .target{box-shadow:none}}
/* Direct entry-point videos, approved after the initial panel design. */
.direct-video{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:white;border:1px solid var(--line);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px}.direct-video-heading{flex:none}.direct-video-heading .eyebrow{font-size:10px;margin:0 0 6px}.direct-video-heading h2{font-size:19px;line-height:1.3;margin:0}.direct-video .course-video-layout{min-height:0;flex:1}.direct-video .course-video-chapters{max-height:none;min-height:0;height:100%;overflow:auto}.direct-video .course-video-view{overflow:auto;overscroll-behavior:contain}.direct-video .video-description{font-size:13px;line-height:1.5}.direct-video .course-video-status{font-size:13px;line-height:1.5}.direct-video .course-video-external{font-size:12px}.home-media{display:grid;grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);gap:16px;min-height:0;min-width:0}.course-home{grid-template-columns:minmax(340px,.85fr) minmax(0,1.4fr);gap:32px}.course-home .source-area{min-height:0}.course-home .source-header-tools{width:100%}.course-home .source-title{display:none}.course-home .source-header button{font-size:11px;width:100%}.course-home .direct-video .course-video-layout{display:block;flex:none}.course-layout.has-entry-video{grid-template-columns:minmax(220px,250px) minmax(180px,.5fr) minmax(0,1.8fr);gap:20px}.has-entry-video .source-title{display:none}.has-entry-video .source-header-tools{width:100%}.has-entry-video .source-header button{width:100%}.has-entry-video .source-view-tabs{display:flex;gap:0;flex:none;align-self:center;background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.has-entry-video .source-view-tabs button{font-size:12px;min-height:44px;padding:7px 16px;border:0;border-radius:0}.has-entry-video .source-panels{grid-template-columns:minmax(0,1fr)}.has-entry-video [data-source-view=screen] .detail-panel{display:none}.has-entry-video [data-source-view=detail] .source-overview{display:none}.has-entry-video [data-source-view=detail] .detail-panel{display:grid;border:0;padding:0}.journey-overview{font-size:16px!important;line-height:1.5;color:var(--muted)}.journey-overview strong{color:var(--ink)}.journey-systems{font-size:16px;line-height:1.5;margin:12px 0;padding-left:24px}.journey-systems li{margin:7px 0}
@media(max-width:1100px){.course-main:has(.course-home){overflow:auto;overscroll-behavior:contain}.course-home{grid-template-columns:minmax(0,1fr);overflow:visible;gap:20px}.home-copy{overflow:visible}.home-media{min-height:330px;grid-template-columns:minmax(150px,.4fr) minmax(0,1fr)}.course-home .source-area{min-height:330px}.course-layout.has-entry-video{grid-template-columns:minmax(170px,.5fr) minmax(0,1.5fr);grid-template-rows:minmax(110px,.5fr) minmax(210px,1fr);gap:14px}.has-entry-video .course-instruction{grid-column:1/-1}.direct-video{padding:12px}.direct-video .course-video-layout.has-chapters{grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:16px}.direct-video-heading h2{font-size:17px}}
@media(max-width:800px){.course-main:has(.has-entry-video){overflow:auto;overscroll-behavior:contain}.course-layout.has-entry-video{min-height:640px;grid-template-rows:150px minmax(400px,1fr)}.has-entry-video .source-area{min-height:0}.direct-video .course-video-layout.has-chapters{grid-template-columns:minmax(0,1fr);display:flex;flex-direction:column;gap:16px;overflow:visible}.direct-video .course-video-chapters{height:280px;max-height:280px;flex:none}.direct-video .course-video-view{overflow:visible}.home-media .source-area{margin:0;height:auto}.course-home .source-area{height:auto;margin:0;min-height:0}.home-media{min-height:340px}.course-home{display:grid}.home-copy{padding:0}.direct-video{overflow:auto}.direct-video .course-video-layout{flex:none;min-height:auto}}
@media(max-width:600px){.course-layout.has-entry-video{grid-template-columns:minmax(0,1fr);grid-template-rows:160px 290px auto;min-height:1050px}.has-entry-video .course-instruction{grid-column:auto}.has-entry-video .source-area{height:290px}.has-entry-video .direct-video{overflow:visible}.has-entry-video .source-header-tools{justify-content:flex-end}.has-entry-video .source-header button{width:auto}.home-media{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 250px;min-height:0;gap:14px}.home-media .direct-video{grid-row:1;overflow:visible}.home-media .source-area{grid-row:2;height:250px}.course-home .source-header button{width:auto}.course-home .source-header-tools{justify-content:flex-end}.direct-video-heading h2{font-size:17px}.course-home{gap:16px}.direct-video .course-video-frame{min-height:0}}
@media(max-height:540px) and (min-width:801px){.course-layout.has-entry-video{min-height:360px}.has-entry-video .direct-video{overflow:auto}.direct-video .course-video-chapters{max-height:260px}.course-home .home-media{min-height:330px}}
/* Internal chapter pages are native route choices, with source-derived groups. */
.course-page-select{display:flex;align-items:center;gap:8px;min-width:0;margin-left:auto;font-size:12px;color:var(--muted)}.course-page-select>span{flex:none}.course-page-select select{min-width:0;width:clamp(220px,32vw,430px);max-width:100%;min-height:44px;padding:8px 30px 8px 10px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:14px;text-overflow:ellipsis}.course-context:has(.course-page-select) .context-count{margin-left:8px}.course-page-select optgroup{font-weight:700}.course-page-select option{font-weight:400}
@media(max-width:800px){.course-context{flex-wrap:wrap}.course-page-select{order:3;flex:1 0 100%;margin-left:0}.course-page-select select{width:0;flex:1;font-size:14px}.course-context:has(.course-page-select) .context-count{margin-left:auto}.course-context .chapter-name{max-width:calc(100% - 100px)}}
/* Welcome-only user exception: direct introduction video, without a phone capture. */
.course-home{grid-template-columns:minmax(340px,.85fr) minmax(0,1.25fr)}.course-home .home-media{display:block;min-height:0;min-width:0}.course-home .home-media>.direct-video{height:100%;min-height:0}.course-home .direct-video .course-video-layout{flex:none;min-height:auto}.course-home .direct-video .course-video-frame{width:100%}
@media(max-width:1100px){.course-home{grid-template-columns:minmax(0,1fr)}.course-home .home-media>.direct-video{height:auto;min-height:0}.course-home .home-media{min-height:0}}
/* Pointer movement magnifies actual pixels; leaving restores the guided view. */
.course-main .source-button{cursor:zoom-in}.course-main .source-area{position:relative}
@media(min-width:801px) and (max-width:1150px) and (hover:hover) and (pointer:fine){.course-main .source-panels{grid-template-columns:minmax(120px,.6fr) minmax(0,1fr)}.course-main [data-source-view=screen] .detail-panel{display:grid;padding-left:14px;border-left:1px solid var(--source-divider)}.course-main [data-source-view=detail] .source-panels{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px) and (hover:hover) and (pointer:fine){.course-main .source-area.hover-magnifying[data-source-view=screen] .detail-panel{display:grid;position:absolute;right:8px;bottom:8px;width:58%;height:calc(100% - 74px);min-height:60px;grid-template-rows:auto minmax(0,1fr);padding:8px;gap:6px;border:1px solid var(--accent);border-radius:7px;background:white;box-shadow:0 6px 22px #172e4326;pointer-events:none;z-index:2}.course-main .source-area.hover-magnifying[data-source-view=screen] .detail-tools{display:none}}
.course-example-context{font-size:16px!important;line-height:1.5!important;color:var(--muted);padding:10px 12px;border-left:3px solid var(--accent);background:var(--pale);margin:0 0 16px}
@media(max-width:480px){.course-controls .course-continue{max-width:44vw;min-width:0;white-space:normal;line-height:1.25;text-align:center}}
/* Reveal only a coherent, fitted destination image/target/detail surface. */
.course-main .source-panels[data-source-state=loading],.course-main .source-panels[data-source-state=error]{opacity:0;pointer-events:none}
.course-main .source-panels[data-source-state=ready]{animation:course-source-reveal 110ms ease-out both}
@keyframes course-source-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.course-main .source-panels[data-source-state=ready]{animation:none}}

/* One course screenshot; the second pixel surface is a transient, noninteractive hover lens. */
.course-main .single-screen .source-panels{display:block;position:relative;min-width:0;min-height:0}
.course-main .single-screen .source-overview{width:100%;height:100%}
.course-main .single-screen .source-view-tabs{display:none}
.course-main .single-screen .source-panels .detail-panel{display:none;position:absolute;width:min(360px,calc(100% - 16px));height:min(260px,calc(100% - 16px));min-height:0;min-width:0;padding:8px;border:1px solid var(--accent);border-radius:8px;background:white;box-shadow:0 6px 24px #172e4333;pointer-events:none;z-index:2;overflow:hidden}
.course-main .single-screen .source-panels .detail-heading,.course-main .single-screen .source-panels .detail-tools{display:none}
.course-main .single-screen .source-panels .detail-stage{width:100%;height:100%;min-height:0}
@media(hover:hover) and (pointer:fine){.course-main .single-screen.hover-magnifying .source-panels .detail-panel{display:block;right:auto;bottom:auto}}

/* Compact reading-and-screen composition; keep portrait cards close to their content. */
@media(min-width:801px){.course-layout.single-screen-layout{width:100%;max-width:1000px;margin:0 auto;grid-template-columns:minmax(280px,440px) minmax(0,400px);justify-content:center;gap:clamp(28px,5vw,72px)}.course-main .single-screen{width:100%;max-width:400px;justify-self:center}}
@media(min-width:801px) and (max-width:1000px){.course-layout.single-screen-layout{grid-template-columns:minmax(230px,340px) minmax(0,400px);gap:28px}}
@media(max-width:800px){.course-main .single-screen{width:100%;max-width:420px;justify-self:center}}

/* A short system explanation beneath each Welcome link. */
.course-system-link{align-items:flex-start}
.course-system-copy{display:block;flex:1;min-width:0}
.course-system-copy strong{display:block}
.course-system-description{display:block;font-size:13px;line-height:1.45;color:var(--muted);margin-top:4px;font-weight:400}
.course-system-link>.course-system-number,.course-system-link>span:last-child{padding-top:3px}
@media(max-width:480px){.course-system-description{font-size:12px;line-height:1.45}}

/* Short Welcome summaries keep all ten entries within the desktop reading pane. */
.course-system-link{padding:7px 0}

/* Welcome hierarchy: heading, section title, system name, readable explanation. */
.course-system-overview h2{font-size:20px;line-height:1.3}
.course-system-overview>p{font-size:15px;line-height:1.45}
.course-system-link strong{font-size:18px;line-height:1.3;font-weight:650}
.course-system-description{font-size:15px;line-height:1.4}
.course-system-number{font-size:12px}
@media(max-width:480px){.course-system-link strong{font-size:16px}.course-system-description{font-size:14px}}

/* Route focus announces the heading without drawing a control-like frame around it. */
#viewTitle:focus{outline:none}

/* Keep the Welcome video card close to its actual content. */
.course-home .home-media{align-self:start}
.course-home .home-media>.direct-video{height:auto;min-height:0}
/* A clearer logo within the existing compact header. */
.course-mode .brand img{width:108px;height:49px}
@media(max-width:480px){.course-mode .brand img{width:88px;height:40px}}

/* Stacked Welcome rows must follow their content, never overlap the system list. */
@media(max-width:1100px){.course-home{grid-template-rows:max-content max-content;align-content:start}.home-copy{height:auto;overflow:visible}}
@media(min-width:1101px) and (max-width:1350px){.course-home{grid-template-columns:minmax(480px,1fr) minmax(0,1fr);gap:28px}}

/* Guided lessons use magnification directly, without expansion controls or interface hints. */
.course-main .source-header:not(:has(button)){min-height:24px}
.course-main .single-screen.hover-magnifying .source-panels .detail-panel{display:block;right:auto;bottom:auto}

/* Lesson essentials: a clear title, short explanation and the app images. */
.course-main .detail-panel{grid-template-rows:minmax(0,1fr)}
.course-example-context{font-size:15px!important;line-height:1.45!important;padding:0;border:0;background:transparent;margin-top:16px}
.course-page-select>span{display:none}

/* Give the Welcome list room to breathe within the available desktop height. */
.course-system-overview{margin-top:32px}
.course-system-overview h2{margin-bottom:16px}
.course-system-link{padding:14px 0}
.course-system-description{margin-top:6px}
@media(max-height:800px),(max-width:1100px){.course-system-overview{margin-top:28px}.course-system-overview h2{margin-bottom:14px}.course-system-link{padding:10px 0}}

/* Consistent readable controls and a centred Welcome composition. */
.course-home{width:100%;max-width:1360px;margin-inline:auto}
.course-page-select select{font-size:15px}
.course-context .watch-video{font-size:14px}
.course-main .source-view-tabs button,.course-main .source-header button{font-size:14px}
.course-controls .button{font-size:15px}
/* Let lesson text flow naturally on small screens; the dock stays visible. */
@media(max-width:800px){
 .course-main:has(.course-layout){overflow:auto;overscroll-behavior:contain;grid-template-rows:auto max-content;align-content:start}
 .course-layout{grid-template-rows:max-content 360px;align-items:start;gap:20px;min-height:0}
 .course-instruction{height:auto;overflow:visible;padding:0}
 .course-instruction-text{margin-bottom:0}
 .course-main .source-area{height:360px;min-height:0}
 .course-example-context{margin-top:12px}
 .course-main .single-screen{height:480px}
 .course-layout.single-screen-layout{grid-template-rows:max-content 480px}
 .course-controls .button{font-size:14px}
}
/* Wrapped page controls need their full height before lesson text begins. */
@media(max-width:800px){
 .course-main:has(.course-layout){grid-template-rows:max-content max-content}
 .course-context{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:0;gap:8px;align-items:center}
 .course-page-select{grid-column:1/-1;order:3}
 .course-context .chapter-name{max-width:none}
}

/* Mobile screenshots reserve more space and open a touch-friendly full-screen viewer. */
.mobile-image-hint,.mobile-detail-open{display:none}
.mobile-image-viewer{width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#102534;color:#fff;overflow:hidden}
.mobile-image-viewer[open]{display:flex;flex-direction:column;gap:0}
.mobile-image-head{display:flex;align-items:center;gap:12px;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));flex:none}
.mobile-image-head h2{flex:1;min-width:0;font-size:16px;line-height:1.3;letter-spacing:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mobile-image-viewer button{min-width:44px;min-height:44px;padding:8px 12px;font-size:14px;background:#fff;color:var(--ink);border-color:#ffffff40;flex:none}
.mobile-image-tools{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:0 12px 8px;flex:none}
.mobile-image-tools output{min-width:48px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
#mobileImageHint{font-size:12px;line-height:1.4;flex-basis:100%;text-align:center;margin:0;color:#e1ebf0}
.mobile-image-stage{position:relative;flex:1;min-height:0;min-width:0;overflow:hidden;touch-action:none;overscroll-behavior:none;cursor:grab;user-select:none;-webkit-user-select:none}
.mobile-image-stage:active{cursor:grabbing}
#mobileImage{position:absolute;left:0;top:0;max-width:none;max-height:none;transform-origin:0 0;pointer-events:none;user-select:none;-webkit-user-drag:none}
#mobileImage[hidden]{display:none}
.mobile-image-status{font-size:14px;line-height:1.5;margin:0;padding:0 12px max(8px,env(safe-area-inset-bottom));flex:none}
.mobile-image-status:empty{padding-top:0}
@media(max-width:800px){
 .course-layout,.course-layout.single-screen-layout{grid-template-rows:max-content clamp(480px,72svh,720px)}
 .course-main .source-area,.course-main .single-screen{height:clamp(480px,72svh,720px);position:relative;gap:4px;padding:8px}
 .course-main .source-view-tabs{align-self:flex-end;z-index:1;height:44px;align-items:center;border:0;background:transparent;overflow:visible}
 .course-main .source-view-tabs button{position:relative;font-size:11px;min-height:28px;padding:2px 7px;border:1px solid var(--line);background:white}
 .course-main .source-view-tabs button:first-child{border-radius:6px 0 0 6px}
 .course-main .source-view-tabs button:last-child{border-radius:0 6px 6px 0;border-left:0}
 .course-main .source-view-tabs button[aria-pressed=true]{background:var(--dark);color:white}
 .course-main .source-view-tabs button::before{content:'';position:absolute;inset:-8px 0}
 .mobile-image-hint{display:block;position:absolute;top:22px;left:12px;margin:0;font-size:11px;line-height:1.4;color:var(--muted);pointer-events:none}
 .course-main .single-screen{padding-top:40px}
 .course-main .source-area:has(.source-header) .mobile-image-hint{display:none}
 .course-main .detail-panel{position:relative}
 .mobile-detail-open{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:transparent;cursor:zoom-in}
 .mobile-detail-open:hover{background:transparent;border:0}
 .course-main .source-button{cursor:zoom-in}
}
@media(hover:none) and (pointer:coarse){.course-main .detail-panel{position:relative}.mobile-detail-open{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:transparent;cursor:zoom-in}}
