.tw-course,.tw-loading{max-width:1320px;margin:auto;padding:34px clamp(20px,4vw,56px) 64px;color:var(--ink)}
.tw-loading{min-height:40vh;font-size:14px;color:var(--muted)}
.tw-header{display:flex;align-items:center;gap:25px;padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:28px;flex-wrap:wrap}
.tw-header>a{font-size:12px;align-self:flex-start;padding-top:7px;color:var(--muted)}
.tw-header small{font:10px Arial;letter-spacing:.12em;color:var(--red)}
.tw-header h1{font-size:32px;line-height:1.3;letter-spacing:-.04em;margin:8px 0}
.tw-header p{font-size:13px;color:var(--muted);margin:0}
.tw-header-actions{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.tw-header-actions>span{font-size:10px;max-width:270px;line-height:1.7;text-align:right;color:var(--muted)}
.tw-course button,.tw-course .tw-upload{font:inherit;font-size:12px;padding:9px 13px;border:1px solid var(--line);border-radius:6px;line-height:1.6;cursor:pointer;background:transparent;color:var(--ink)}
.tw-course :is(button,.tw-upload):hover{color:var(--ink);border-color:var(--ink)}
.tw-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:35px;align-items:start}
.tw-nav{position:sticky;top:90px}
.tw-nav nav{display:flex;flex-direction:column;gap:5px}
.tw-course .tw-nav button{display:flex;text-align:left;align-items:center;gap:11px;padding:12px 10px;border-color:transparent;font-size:12px}
.tw-nav button b{font:10px Arial;opacity:.6}
.tw-nav button small{display:block;font:10px/1.6 Arial;margin-top:4px;letter-spacing:0;color:inherit;opacity:.6}
.tw-course .tw-nav button[aria-current]{background:var(--ink);color:var(--bg)}
.tw-nav>small{display:block;margin:16px 10px;font:10px/1.8 'MiSans VF',sans-serif;letter-spacing:0;color:var(--muted)}
.tw-content{min-width:0;outline:none}
.tw-step-heading>span{font-size:11px;color:var(--red)}
.tw-step-heading h2{font-size:clamp(26px,3vw,36px);line-height:1.4;letter-spacing:-.035em;margin:8px 0 20px}
.tw-content h3{font-size:17px;line-height:1.5;margin:0 0 13px;letter-spacing:-.02em}
.tw-content p{font-size:13px;line-height:1.9;margin:0 0 16px}
.tw-content .tw-lead{font-size:14px;color:var(--muted);max-width:65ch}
.tw-scope{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:9px;margin:25px 0;overflow:hidden}
.tw-scope>span{text-align:center;padding:15px 8px;color:var(--muted);font-size:11px}
.tw-scope>span+span{border-left:1px solid var(--line)}
.tw-scope b{display:block;font-size:24px;color:var(--ink);margin-bottom:5px}
.tw-example-note{background:var(--soft);border:1px solid var(--line);border-left:3px solid #ad945a;padding:18px 20px;margin:22px 0;border-radius:0 7px 7px 0}
.tw-example-note>b{font-size:14px}
.tw-example-note p{font-size:12px;margin:7px 0 12px}
.tw-example-note small{display:block;font-size:10px;letter-spacing:0;color:var(--muted);margin-top:9px}
.tw-board-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 10px}
.tw-board-preview article{overflow:hidden;min-width:0;border:1px solid var(--line);border-radius:8px}
.tw-board-picture{position:relative;aspect-ratio:var(--tw-aspect,9/16);overflow:hidden;background:#233543}
.tw-board-picture :is(img,svg){display:block;width:100%;height:100%;object-fit:contain}
.tw-board-picture>span{position:absolute;bottom:7px;left:7px;background:#111b;color:#fff;padding:3px 5px;border-radius:3px;font-size:9px;line-height:1.5}
.tw-board-preview article>header{display:flex;justify-content:space-between;gap:5px;font-size:10px;padding:12px 10px 6px;line-height:1.7}
.tw-board-preview article>header>span{color:var(--muted)}
.tw-board-preview h3{font-size:13px;margin:0;padding:0 10px 8px}
.tw-board-preview article>p{font-size:11px;line-height:1.75;padding:0 10px 8px;margin:0;max-height:110px;overflow:auto}
.tw-board-preview .tw-upload{display:block;margin:0 9px 12px;text-align:center;font-size:10px;padding:6px}
.tw-caption{font-size:10px!important;color:var(--muted);line-height:1.8;display:block;margin:10px 0}
.tw-block{border-top:1px solid var(--line);padding-top:24px;margin:30px 0}
.tw-note{padding:17px 20px;border:1px solid var(--line);border-radius:7px;font-size:12px;line-height:1.9;color:var(--muted);margin:24px 0;background:var(--soft)}
.tw-node-map{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:20px 15px;background:#1c211e;color:#dcc99d;border-radius:9px;margin-top:24px}
.tw-node-map>b{font-weight:400;font-size:17px;opacity:.6}
.tw-node-inputs{display:grid;gap:5px;min-width:90px}
.tw-node-inputs>span{border:1px solid #c6ba963d;border-radius:4px;padding:7px 9px;font-size:10px;text-align:center}
.tw-node{flex:1;min-width:100px;border:1px solid #c6ba9659;padding:15px 10px;border-radius:5px;text-align:center}
.tw-node strong{font-size:12px}
.tw-node small{display:block;font-size:9px;line-height:1.7;color:#b6b49f;letter-spacing:0;margin-top:7px}
.tw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.tw-field{display:block;margin:18px 0;font-size:12px;min-width:0}
.tw-field>span{display:block;margin-bottom:8px;font-weight:500}
.tw-field :is(input,textarea,select){display:block;width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);font:13px/1.85 'MiSans VF',sans-serif;min-width:0}
.tw-field textarea{resize:vertical;min-height:80px}
.tw-field input[type=number]{max-width:180px}
.tw-upload-box{padding:14px 0;margin-bottom:8px}
.tw-upload{position:relative;display:inline-block;overflow:hidden}
.tw-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.tw-upload:focus-within{outline:2px solid var(--red);outline-offset:3px}
.tw-upload-box>small{display:block;font-size:10px;color:var(--muted);line-height:1.8;letter-spacing:0;margin-top:8px}
.tw-character-image{display:block;max-width:220px;max-height:290px;object-fit:contain;border:1px solid var(--line);border-radius:7px;margin:10px 0}
.tw-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tw-reference-grid figure{margin:0}.tw-reference-grid img{width:100%;height:120px;object-fit:contain;background:var(--soft);border:1px solid var(--line);border-radius:6px}
.tw-reference-grid button{margin-top:7px;font-size:10px}
.tw-prompt{border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:23px 0}
.tw-prompt header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 17px;background:var(--soft)}
.tw-prompt header h3{font-size:13px;margin:0}
.tw-prompt pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:18px;background:#191b19;color:#dbd3b8;font:12px/1.95 'MiSans VF',sans-serif}
.tw-shot-editors>details{border-bottom:1px solid var(--line);padding-bottom:10px}
.tw-shot-editors summary{cursor:pointer;line-height:1.7;padding:17px 0;font-size:14px;font-weight:600}
.tw-sheet{max-width:100%;max-height:460px;object-fit:contain;margin:16px 0}
.tw-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.tw-playing-frame{margin:15px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#233543;max-width:420px}
.tw-playing-frame :is(img,svg){width:100%;height:320px;object-fit:contain}
.tw-playing-frame figcaption{font-size:12px;padding:12px 16px;line-height:1.8;background:var(--panel);color:var(--ink)}
.tw-block-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;flex-wrap:wrap}
.tw-block-heading h3{margin:0}
.tw-instructions{padding-left:22px;line-height:2;font-size:13px;margin:24px 0}
.tw-instructions li{padding-left:7px;margin:0 0 16px}
.tw-instructions li::marker{color:var(--red)}
.tw-instructions b{font-weight:650}
.tw-edit-rhythm{display:flex;gap:9px;align-items:center;margin:25px 0}
.tw-edit-rhythm>span{flex:1;text-align:center;border:1px solid var(--line);border-radius:6px;padding:20px 10px;font-size:12px}
.tw-edit-rhythm>.tw-breath{background:#ddd1b6;color:#4a3d26;border-color:#c8b890}
.tw-edit-rhythm>b{font-size:15px;color:var(--muted);font-weight:400}
.tw-cover-preview{position:relative;max-width:280px;aspect-ratio:9/16;background:#233543;overflow:hidden;border-radius:8px;margin:20px 0 28px}
.tw-cover-preview>div,.tw-cover-preview :is(img,svg){width:100%;height:100%;object-fit:cover}
.tw-cover-preview>strong{position:absolute;left:22px;right:22px;bottom:95px;color:#fff;font-size:29px;line-height:1.4;text-shadow:0 2px 12px #0008;overflow-wrap:anywhere}
.tw-cover-preview>span{position:absolute;left:0;bottom:0;right:0;background:#111a;color:#fff;padding:10px 15px;font-size:9px;line-height:1.8}
.tw-export-spec{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--line);margin:25px 0}
.tw-export-spec>span{padding:16px;background:var(--bg);font-size:12px;line-height:1.8}
.tw-export-spec b{display:block;color:var(--muted);font-size:10px;font-weight:500;margin-bottom:6px}
.tw-checks{background:var(--soft);padding:20px;border-radius:8px;margin:30px 0}
.tw-checks>label{display:flex;align-items:baseline;gap:12px;font-size:12px;line-height:1.8;margin-top:12px;cursor:pointer}
.tw-checks input{width:16px;height:16px;flex-shrink:0;accent-color:#8b7849}
.tw-step-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.tw-course .tw-primary{display:inline-block;background:#171817;color:#e0c987;border-color:#171817;border-radius:6px;padding:11px 17px;font-size:12px;line-height:1.7;text-decoration:none}
.tw-course .tw-primary:hover{color:#e0c987}
.tw-congratulations{background:#171b17;color:#e0c987;border:1px solid #b09c634f;border-radius:10px;text-align:center;padding:40px 28px;margin:30px 0}
.tw-congratulations>span{font:10px Arial;letter-spacing:.14em}
.tw-congratulations h2{font-size:30px;line-height:1.4;margin:18px 0}
.tw-congratulations p{color:#bdbba9;font-size:13px}
.tw-congratulations button{color:#e0c987;border-color:#e0c9874d}
@media(prefers-reduced-motion:no-preference){.tw-course{animation:bb-arrive .45s ease-out both}.tw-congratulations{animation:bb-arrive .6s ease-out both}}
@media(max-width:1050px){.tw-layout{grid-template-columns:180px minmax(0,1fr);gap:25px}.tw-board-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-board-picture{max-height:310px}}
@media(max-width:760px){.tw-course{padding-top:24px}.tw-header{gap:16px}.tw-header>a{width:100%;padding:0}.tw-header h1{font-size:28px}.tw-header-actions{margin-left:0;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.tw-header-actions>span{text-align:left;max-width:55%}.tw-layout{grid-template-columns:1fr;gap:25px}.tw-nav{position:static;min-width:0}.tw-nav nav{flex-direction:row;overflow-x:auto;padding-bottom:7px}.tw-course .tw-nav button{white-space:nowrap;flex-shrink:0;border-color:var(--line);padding:9px 11px}.tw-nav button small,.tw-nav>small{display:none}.tw-step-heading h2{font-size:27px}.tw-form-grid{grid-template-columns:1fr}.tw-reference-grid{grid-template-columns:repeat(2,1fr)}.tw-cover-preview{max-width:250px}.tw-node-map{gap:8px}.tw-node-map>b{font-size:12px}.tw-node-inputs{width:100%}.tw-node{min-width:70px}.tw-node strong{font-size:11px}.tw-node small{font-size:9px}.tw-edit-rhythm>span{font-size:11px;padding:16px 7px}.tw-scope b{font-size:21px}}

/* 30-minute course */
.tm-course{max-width:1480px}.tm-course .tw-header h1{font-size:clamp(24px,2.7vw,36px)}.tm-course .tw-layout{grid-template-columns:210px minmax(0,1fr)}.tm-course .tw-header-actions .tw-actions{margin:0}.tm-hero{display:grid;grid-template-columns:1.15fr 1fr;background:#202020;color:#f0f0f0;overflow:hidden;min-height:320px;border-radius:8px}.tm-hero>img{width:100%;height:100%;object-fit:cover}.tm-hero>div{padding:clamp(24px,4vw,48px);align-self:center}.tm-hero small{color:#c8af76;letter-spacing:.13em;font-size:10px}.tm-hero h2{font-size:clamp(27px,3.5vw,45px);line-height:1.35;margin:18px 0}.tm-hero p{color:#bdbdbd;font-size:12px}.tm-course .tm-hero button{background:#d9c08b;color:#202020;border:0}.tm-details{border:1px solid var(--line);border-radius:7px;margin:20px 0;padding:0 20px}.tm-details>summary{padding:19px 0;cursor:pointer;font-size:14px;font-weight:600}.tm-details[open]{padding-bottom:18px}.tm-details details{border-top:1px solid var(--line);padding:14px 0}.tm-details details summary{cursor:pointer;font-size:13px}.tm-details details p{margin:12px 0 0}.tm-formula{background:var(--soft);padding:20px;font-size:14px;line-height:1.8;border-left:3px solid #b1975f}.tm-flow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:24px 0}.tm-flow span{flex:1;min-width:90px;padding:14px 9px;border:1px solid var(--line);text-align:center;font-size:11px;border-radius:4px}.tm-flow b{font-size:14px;color:var(--muted)}.tm-tools{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tm-tools a{display:block;border:1px solid var(--line);padding:20px;border-radius:6px;text-decoration:none}.tm-tools a:hover{background:var(--soft)}.tm-tools b{font-size:15px}.tm-tools p{font-size:12px;color:var(--muted);margin:10px 0 0}.tm-text-link{display:block;font-size:12px;color:var(--ink);margin:22px 0}.tm-routes{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tm-routes label{display:block;cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:24px;position:relative}.tm-routes label.selected{border:2px solid #b29860;padding:23px;background:var(--soft)}.tm-routes input{position:absolute;right:18px;top:20px;accent-color:#a68d56}.tm-routes small{display:block;font-size:10px;line-height:1.7;padding-right:20px;color:var(--muted)}.tm-routes b{display:block;font-size:22px;margin:12px 0}.tm-routes p{font-size:12px}.tm-routes span{font-size:11px;line-height:1.8;color:var(--muted)}.tm-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.tm-shots article{border:1px solid var(--line);border-radius:6px;overflow:hidden}.tm-shots article>img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.tm-shots article>div{padding:14px}.tm-shots small{font-size:9px;color:var(--muted)}.tm-shots h3{font-size:14px;margin:9px 0}.tm-shots p{font-size:11px;line-height:1.8;margin:0;white-space:normal}.tm-course .tm-shots .tw-upload{font-size:10px;padding:7px}.tm-upload{margin:15px 0}.tm-upload>small{display:block;font-size:10px!important;color:var(--muted);line-height:1.8;margin:8px 0}.tm-upload>img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px 0}.tm-course .tw-prompt pre{background:var(--soft);color:var(--ink)}.tm-arc{display:flex;gap:12px;margin:25px 0}.tm-arc span{flex:1;background:var(--soft);padding:18px;font-size:11px;line-height:2}.tm-arc b{font-size:15px}.tm-wide-image{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:7px}.tm-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tm-asset-grid>section{min-width:0;border:1px solid var(--line);padding:12px;border-radius:6px}.tm-asset-grid>section>img{width:100%;aspect-ratio:2/3;object-fit:cover}.tm-asset-grid h3{font-size:14px;margin:14px 0}.tm-asset-grid a{font-size:11px}.tm-timeline{display:grid;gap:6px;padding:22px;background:#252525;border-radius:7px;margin:24px 0}.tm-timeline span{padding:12px 16px;background:#656565;color:#fff;font-size:12px;border-radius:3px}.tm-timeline span:nth-child(2){background:#505050}.tm-timeline span:nth-child(3){background:#9b8455}.tm-timeline span:nth-child(4){background:#454545}.tm-course button:focus-visible,.tm-course a:focus-visible,.tm-course input:focus-visible,.tm-course summary:focus-visible{outline:2px solid #ac8e50;outline-offset:3px}.tm-course .tw-playing-frame{max-width:650px}.tm-course .tw-playing-frame img{height:auto;aspect-ratio:3/2}.tm-course .tw-step-footer{position:relative}.tm-course .tw-primary{background:var(--ink);color:var(--bg)}
@media(min-width:1700px){.tm-course{padding-top:45px}.tm-course .tw-layout{gap:60px}}@media(max-width:900px){.tm-course .tw-layout{grid-template-columns:1fr}.tm-course .tw-nav{position:static}.tm-course .tw-nav nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.tm-course .tw-nav>small{margin:10px 0}.tm-course .tw-nav>.tm-text-link{display:inline-block;margin:8px}.tm-hero{min-height:260px}.tm-shots{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.tm-course{padding:20px 16px 40px}.tm-course .tw-header{gap:14px}.tm-course .tw-header-actions{margin-left:0;align-items:flex-start}.tm-course .tw-nav nav{grid-template-columns:repeat(2,1fr)}.tm-hero{grid-template-columns:1fr}.tm-hero>img{aspect-ratio:3/2;max-height:250px}.tm-hero>div{padding:26px}.tm-routes,.tm-tools,.tm-asset-grid{grid-template-columns:1fr}.tm-asset-grid>section>img{max-height:360px;object-fit:contain}.tm-shots{gap:8px}.tm-shots article>div{padding:10px}.tm-shots p{font-size:10px}.tm-course .tw-form-grid{grid-template-columns:1fr}.tm-details{padding:0 14px}.tm-course .tw-scope b{font-size:20px}.tm-course .tw-scope>span{font-size:10px}.tm-course .tw-header h1{font-size:25px}.tm-course .tw-step-footer{gap:10px}.tm-course .tw-step-footer button{font-size:11px}.tm-arc{gap:6px}.tm-arc span{padding:10px}.tm-arc b{font-size:12px}}

/* Course palette: black, white, red; restrained gold accents. */
.tm-course .tw-example-note{border-left-color:var(--red)}.tm-course .tw-formula{border-left-color:var(--red)}.tm-course .tw-checks input{accent-color:var(--red)}.tm-course .tm-timeline span:nth-child(3){background:#8a7852}.tm-course .tw-congratulations{background:var(--soft);border-color:var(--line);color:var(--ink)}

.tm-course .tw-playing-frame{background:var(--soft)}.tm-course .tw-congratulations p{color:var(--muted)}
/* Legacy rail styling; the current course uses the scoped two-column layout below. */
.tm-course{max-width:1920px;padding-left:clamp(20px,2.4vw,56px);padding-right:clamp(20px,2.4vw,56px)}
.tm-course .tw-header{align-items:flex-start;margin-bottom:0;padding-bottom:26px}.tm-course .tw-header h1{font-size:clamp(24px,2.4vw,35px)}
.tm-course .tw-layout{grid-template-columns:190px minmax(0,1fr) 310px;gap:0;align-items:start}
.tm-course .tw-nav{top:88px;padding:30px 22px 0 0}.tm-course .tw-content{padding:30px clamp(22px,2.6vw,48px) 0;border-left:1px solid var(--line);border-right:1px solid var(--line);min-height:75vh}
.tm-course .tw-nav button{border-radius:0;padding:13px 9px;border-bottom:1px solid var(--line)}.tm-course .tw-nav button[aria-current]{background:transparent;color:var(--red);border-left:2px solid var(--red)}
.tm-rail{position:sticky;top:88px;max-height:calc(100vh - 110px);overflow:auto;padding:30px 0 15px 26px;scrollbar-width:thin;overscroll-behavior:contain}
.tm-rail header>span,.tm-rail-prompt-head>span{font:10px/1.5 Arial,sans-serif;letter-spacing:.09em;color:var(--red)}.tm-rail h2{font-size:19px;line-height:1.5;letter-spacing:-.03em;margin:14px 0}.tm-rail p{font-size:12px;line-height:1.95;margin:0 0 18px;color:var(--muted)}
.tm-rail-output{border-top:1px solid var(--line);padding-top:17px;margin-top:22px}.tm-rail-output>small{font-size:10px;color:var(--ink)}.tm-rail-output p{margin:9px 0 24px;color:var(--ink)}.tm-rail-prompt-head{display:flex;gap:10px;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line);padding-top:20px;margin-bottom:10px}.tm-course .tm-rail-prompt-head button{font-size:10px;padding:5px 9px;border-radius:0}
.tm-rail-prompt{border-bottom:1px solid var(--line);margin:0}.tm-rail-prompt>summary{font-size:12px;line-height:1.7;padding:15px 0;cursor:pointer}.tm-rail .tw-prompt{margin:0 0 15px;border:0;border-radius:0}.tm-rail .tw-prompt header{padding:0 0 10px;background:transparent;justify-content:flex-end}.tm-rail .tw-prompt header h3{display:none}.tm-rail .tw-prompt pre{font-size:11px;line-height:1.9;padding:15px;max-height:42vh;overflow:auto;scrollbar-width:thin}.tm-rail .tw-prompt header button{font-size:10px;padding:5px 9px;border-radius:0}.tm-rail .tm-rail-footnote{font-size:10px;margin:22px 0 0}
.tm-course .tm-hero{grid-template-columns:1fr;border-radius:0;min-height:0;background:#202020}.tm-course .tm-hero>img{aspect-ratio:1.65;object-fit:cover;object-position:center 45%}.tm-course .tm-hero>div{padding:28px}.tm-course .tm-hero h2{font-size:32px;line-height:1.3;margin:12px 0}.tm-course .tm-hero h2 br{display:none}.tm-course .tm-hero p{margin-bottom:16px}.tm-course .tm-hero button{font-size:11px;padding:9px 13px}
.tm-course :is(.tm-details,.tw-scope,.tw-checks,.tw-note,.tm-routes label,.tm-tools a,.tm-asset-grid>section,.tm-shots article){border-radius:0}.tm-course .tm-details{border-left:0;border-right:0;padding-left:0;padding-right:0}.tm-course .tw-example-note{border-radius:0}.tm-course .tm-shots{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-course .tm-shots article>img{aspect-ratio:1/1}.tm-course .tm-asset-grid{grid-template-columns:1fr}.tm-course .tm-asset-grid>section{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px 18px;align-items:start}.tm-course .tm-asset-grid>section>img{grid-row:span 4;max-height:220px;aspect-ratio:1/1.5}.tm-course .tm-asset-grid h3{margin:0}.tm-course .tm-asset-grid .tm-upload{margin:0;grid-column:2}.tm-course .tm-asset-grid .tm-upload small{font-size:9px!important}.tm-course .tm-routes label{padding:18px}.tm-course .tm-routes label.selected{padding:17px}.tm-course .tm-routes b{font-size:19px}.tm-course .tw-step-heading h2{font-size:30px}.tm-course .tw-form-grid{column-gap:14px}
@media(min-width:1700px){.tm-course .tw-layout{grid-template-columns:220px minmax(0,1fr) 365px}.tm-course .tm-shots{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-rail{padding-left:34px}}
@media(max-width:1100px) and (min-width:851px){.tm-course .tw-layout{grid-template-columns:160px minmax(0,1fr) 260px}.tm-course .tw-content{padding-left:20px;padding-right:20px}.tm-rail{padding-left:18px}.tm-course .tw-nav{padding-right:14px}.tm-course .tw-form-grid,.tm-course .tm-tools,.tm-course .tm-routes{grid-template-columns:1fr}.tm-course .tm-hero h2{font-size:27px}.tm-course .tm-hero>div{padding:22px}}
@media(max-width:850px){.tm-course .tw-layout{grid-template-columns:minmax(0,1fr)}.tm-course .tw-nav{position:static;padding:20px 0}.tm-course .tw-nav nav{display:grid;grid-template-columns:repeat(3,1fr)}.tm-course .tw-content{border:0;padding:20px 0}.tm-rail{position:static;max-height:none;padding:25px 0;border-top:1px solid var(--line)}.tm-rail .tw-prompt pre{max-height:350px}.tm-course .tm-hero{grid-template-columns:1fr 1fr}.tm-course .tm-hero>img{aspect-ratio:auto;height:100%}.tm-course .tm-hero h2{font-size:28px}}
@media(max-width:560px){.tm-course .tw-nav nav{grid-template-columns:repeat(2,1fr)}.tm-course .tm-hero{grid-template-columns:1fr}.tm-course .tm-hero>img{aspect-ratio:1.5;max-height:280px}.tm-course .tm-asset-grid>section{grid-template-columns:100px minmax(0,1fr)}.tm-course .tm-asset-grid .tw-upload{font-size:10px}.tm-course .tw-header-actions{align-items:flex-start}.tm-course .tw-content{padding-top:10px}}
.tm-directory-extra{margin-top:50px;border-top:1px solid var(--line);padding-top:30px}.tm-directory-extra h2{font-size:25px;line-height:1.5;margin:16px 0}.tm-directory-extra p{font-size:13px;line-height:1.95;color:var(--muted);margin:14px 0}.tm-directory-extra small{font-size:11px;line-height:1.8}.tm-rankings{margin:35px 0;padding:30px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tm-rankings details{margin:16px 0;border-top:1px solid var(--line);padding:16px 0}.tm-rankings summary{font-size:14px;cursor:pointer}.tm-rankings a{display:block;font-size:12px;margin:14px 0}.tm-table-wrap{overflow:auto}.tm-rankings table{border-collapse:collapse;width:100%;font-size:12px}.tm-rankings th,.tm-rankings td{border-bottom:1px solid var(--line);padding:12px;text-align:left;white-space:nowrap}.tm-submit-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tm-submit-grid label{font-size:12px;display:grid;gap:8px}.tm-submit-grid input,.tm-submit-grid select{width:100%;padding:12px;border:1px solid var(--line);background:var(--panel);font:inherit}.tm-tool-submit button{border:1px solid var(--ink);padding:12px 20px;font-size:12px;margin-top:20px;background:var(--ink);color:var(--bg)}.tm-tool-submit [role=status]{color:var(--red)}@media(max-width:600px){.tm-submit-grid{grid-template-columns:1fr}}
/* 30-minute classroom: native guide navigation, one reading column. */
.tm-guide-course .tm-course-sidebar{grid-column:auto;position:sticky;top:0;max-height:calc(100dvh - 4.5rem);padding:1.5rem 1.2rem 1rem 0;border-right:0;overflow:hidden}
.tm-course-sidebar .tm-nav-progress{flex-shrink:0;margin:16px 0 12px}.tm-course-sidebar>[data-save]{font-size:10px;line-height:1.7;color:var(--muted);flex-shrink:0}
.tm-course-sidebar>.tw-actions{margin:12px 0;gap:6px;flex-shrink:0}.tm-guide-course .tm-course-sidebar>.tw-actions :is(button,.tw-upload){font-size:10px;padding:5px 7px;border-radius:0}.tm-course-sidebar>small{font-size:10px;line-height:1.7;color:var(--muted)}
.tm-course-sidebar .side-scroll{min-height:150px}.tm-course-sidebar .side-link{flex-shrink:0}
@media(max-width:850px){.tm-guide-course .tm-course-sidebar{position:static;display:block;max-height:none;padding:.6rem 0;border-bottom:1px solid var(--line);overflow:visible}.tm-course-sidebar .side-scroll{min-height:0}.tm-course-sidebar .side-scroll nav{display:flex}.tm-course-sidebar>.tm-nav-progress,.tm-course-sidebar>[data-save],.tm-course-sidebar>.tw-actions,.tm-course-sidebar>small{display:none}}
.tm-guide-course{max-width:none;padding:0 var(--pad) 48px}
.tm-guide-course .tw-layout{display:grid;grid-template-columns:clamp(180px,17vw,260px) minmax(0,1fr);gap:0;align-items:start}
.tm-guide-course .tw-nav{position:sticky;top:0;max-height:calc(100dvh - 5rem);overflow-y:auto;padding:28px 24px 24px 0;scrollbar-width:thin}
.tm-nav-title>a{display:block;font-size:11px;color:var(--muted);margin-bottom:26px}
.tm-nav-title>small{font-size:10px;color:var(--red)}.tm-nav-title>h2{font-size:24px;line-height:1.3;margin:10px 0 12px}.tm-nav-title>p{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 24px}
.tm-guide-course .tw-nav nav{display:flex;flex-direction:column;gap:3px}
.tm-guide-course .tw-nav nav button{display:block;text-align:left;width:100%;font-size:12px;border:0;border-left:2px solid transparent;padding:11px 10px;background:none;border-radius:0;color:var(--muted);white-space:normal}
.tm-guide-course .tw-nav nav button[aria-current]{color:var(--ink);border-left-color:var(--red);background:var(--soft);font-weight:650}
.tm-guide-course .tw-nav nav button small{font:10px/1.5 inherit;display:block;margin-top:5px;color:var(--muted)}
.tm-nav-progress{margin:26px 10px 18px;font-size:11px}.tm-nav-progress>span{display:block;line-height:1.7}
.tm-nav-progress progress{display:block;width:100%;height:3px;margin:10px 0;appearance:none;border:0;background:var(--line);accent-color:var(--red)}
.tm-nav-progress progress::-webkit-progress-bar{background:var(--line)}.tm-nav-progress progress::-webkit-progress-value{background:var(--red)}
.tm-nav-progress>small{font-size:10px;color:var(--muted)}
.tm-guide-course .tw-nav [data-save]{display:block;margin:0 10px;font-size:10px;line-height:1.7;color:var(--muted)}
.tm-guide-course .tw-nav .tw-actions{margin:15px 10px;gap:6px}.tm-guide-course .tw-nav .tw-actions button,.tm-guide-course .tw-nav .tw-upload{font-size:10px;padding:6px 8px;border-radius:0}.tm-guide-course .tw-nav>small{margin:12px 10px;font-size:10px}
.tm-guide-course .tw-content{padding:32px clamp(28px,3.5vw,72px) 30px;border:0;border-left:1px solid var(--line);min-width:0;min-height:80dvh;max-width:1500px}
.tm-guide-course .tw-content>header{margin-bottom:28px}.tm-guide-course .tw-step-heading>span{font-size:10px;letter-spacing:0;color:var(--muted)}
.tm-guide-course .tm-refresh-prompts{border:0;padding:10px 0 0;font-size:10px;color:var(--muted)}
.tm-guide-course .tw-step-heading h1{font-size:clamp(28px,3vw,43px);line-height:1.3;margin:10px 0 0}
.tm-guide-course .tw-content>p.tw-lead{font-size:15px;max-width:70ch;line-height:1.8;margin-bottom:28px}
.tm-guide-course .tw-content h3{font-size:20px;line-height:1.4;margin-bottom:16px}
.tm-guide-course .tw-content p{line-height:1.75}
.tm-opening{margin:22px 0 40px}.tm-opening>h2{font-size:clamp(34px,4.4vw,63px);line-height:1.15;letter-spacing:-.05em;margin:14px 0 20px}.tm-opening>p{max-width:56ch;color:var(--muted)}
.tm-section-caption{font-size:11px;color:var(--red);margin-bottom:12px}
.tm-guide-course .tm-opening{margin:8px 0 25px}.tm-guide-course .tm-opening>h2{font-size:clamp(28px,3vw,42px);margin:10px 0 12px;line-height:1.2}.tm-guide-course .tm-opening>h2 br{display:none}.tm-guide-course .tm-opening>p{max-width:none;font-size:12px;color:var(--muted)}
.tm-route-choice>h2{font-size:clamp(24px,2.5vw,34px);line-height:1.4;margin-bottom:12px}.tm-route-choice>p{max-width:76ch;color:var(--muted)}
.tm-guide-course .tm-routes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0 16px}
.tm-guide-course .tm-routes>label{display:block;position:relative;border:1px solid var(--line);padding:25px;border-radius:0;background:transparent;cursor:pointer;min-width:0}
.tm-guide-course .tm-routes>label.selected{border-color:var(--ink);padding:25px;background:var(--soft);box-shadow:inset 0 3px 0 var(--red)}
.tm-guide-course .tm-routes label>small{font-size:11px;color:var(--muted);letter-spacing:0}.tm-guide-course .tm-routes label>b{font-size:29px;display:block;margin:14px 0 5px;color:var(--ink)}
.tm-guide-course .tm-routes label>strong{font-size:13px;font-weight:500;display:block;margin-bottom:24px;color:var(--muted)}.tm-guide-course .tm-routes input{accent-color:var(--red)}
.tm-route-input{font-size:13px;line-height:1.7;min-height:145px}.tm-route-input>span{display:block;font-size:23px;color:var(--red);margin:6px 0}.tm-route-input>em{display:block;font-style:normal;color:var(--muted);font-size:12px;line-height:1.8}
.tm-cost{display:flex;align-items:baseline;gap:10px;margin-top:26px}.tm-guide-course .tm-routes .tm-cost>b{font-size:23px;margin:0;color:var(--ink)}.tm-guide-course .tm-routes .tm-cost>small{font-size:10px}
.tm-cost-caption{font-size:11px;color:var(--muted);line-height:1.8;max-width:100ch}
.tm-route-path{margin:44px 0 24px}.tm-route-path>p{font-size:12px;margin-top:20px}.tm-route-path>b{font-size:16px}
.tm-lesson-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:24px 0 36px}
.tm-lesson-flow>div{position:relative;min-width:0;padding:0 12px 0 0}.tm-lesson-flow>div+div:before{content:'→';position:absolute;left:-21px;top:27px;font-size:18px;color:var(--muted)}
.tm-lesson-flow small{display:block;font:10px Arial;color:var(--red);margin-bottom:10px}.tm-lesson-flow b{display:block;font-size:18px;line-height:1.4;margin-bottom:8px}.tm-lesson-flow span{display:block;font-size:12px;line-height:1.7;color:var(--muted)}
.tm-branch{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tm-branch>span{display:block;border-left:2px solid var(--red);padding:8px 14px;font-size:12px;line-height:1.8}.tm-branch b{font-size:18px;margin-right:8px}
.tm-topic-example{padding:24px 0 32px}.tm-topic-example>small{display:block;margin-bottom:14px;font-size:11px;color:var(--muted)}.tm-topic-example>p{font-size:18px!important;line-height:1.8!important;max-width:65ch}.tm-topic-example span{color:var(--red);margin:0 8px}
.tm-guide-course .tw-field{margin:18px 0}.tm-guide-course .tw-field>span{font-size:12px}.tm-guide-course .tw-field :is(input,textarea){border-radius:0;font-size:13px;background:var(--bg);line-height:1.8;border-color:var(--line);padding:12px}
.tm-guide-course .tw-form-grid{gap:0 24px}.tm-guide-course .tw-content .tw-form-grid textarea{min-height:100px}
.tm-guide-course .tw-example-note{background:none;border:0;border-left:2px solid var(--red);padding:0 0 0 18px;margin:36px 0}.tm-guide-course .tw-example-note p{max-width:80ch}
.tm-teach{margin:40px 0}.tm-labelled-shot{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;background:var(--soft);padding:25px;margin:20px 0}
.tm-labelled-shot>div{min-width:0}.tm-labelled-shot b{font-size:14px;line-height:1.8;display:block;font-weight:550}.tm-labelled-shot small{display:block;font-size:10px;line-height:1.7;color:var(--muted);letter-spacing:0;margin-top:8px}
.tm-labelled-shot .tm-shot-wide{grid-column:1/-1}
.tm-guide-course .tm-prompt-fold{margin:24px 0 32px;border:0;background:none}.tm-prompt-fold>summary{cursor:pointer;font-size:13px;padding:12px 0;color:var(--ink)}
.tm-guide-course .tw-prompt{border:0;border-radius:0;background:none}.tm-guide-course .tw-prompt header{padding:12px 0;background:none}.tm-guide-course .tw-prompt pre{font-size:12px;line-height:1.85;padding:22px;max-height:380px;overflow:auto;background:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere}.tm-guide-course .tw-prompt header h3{font-size:14px;margin:0}.tm-guide-course .tw-prompt header button{font-size:11px;flex-shrink:0}
.tm-guide-course .tm-details{margin:30px 0;border:0;padding:0}.tm-guide-course .tm-details>summary{font-size:14px;line-height:1.7;padding:14px 0;cursor:pointer}
.tm-story-arc{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin:26px 0;font-size:13px}.tm-story-arc i{font-style:normal;color:var(--red)}
.tm-script-row{margin:22px 0 32px}.tm-script-row>header{display:flex;gap:18px;align-items:baseline;margin-bottom:12px;font-size:12px}.tm-script-row>header b{font-size:17px}.tm-script-row>p{color:var(--muted);font-size:12px}.tm-dialogue p{white-space:pre-wrap;font-size:13px!important}
.tm-turnaround-figure{margin:20px 0}.tm-turnaround-figure>img{width:100%;display:block;max-height:570px;object-fit:contain;background:var(--soft)}
.tm-view-labels{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;text-align:center;font-size:11px;color:var(--muted);padding-top:14px}
.tm-asset-lesson{display:block}.tm-asset-lesson>section{margin:40px 0}.tm-guide-course .tm-upload{margin:18px 0}.tm-guide-course .tm-upload>img{max-height:340px}
.tm-scene-diagram{display:flex;position:relative;align-items:center;justify-content:center;gap:clamp(20px,4vw,65px);padding:30px 15px 20px;margin:18px 0;background:var(--soft)}
.tm-window{position:absolute;top:12px;left:15px;font-size:10px;color:var(--muted)}
.tm-person{display:grid;place-items:center;gap:9px;text-align:center;min-width:0}.tm-person i{font-style:normal;border:1px solid var(--line);border-radius:50%;width:50px;height:50px;display:grid;place-items:center;font-size:17px}.tm-person b{font-size:13px}.tm-person small{font-size:10px;letter-spacing:0;line-height:1.6;color:var(--muted)}
.tm-desk{padding:22px 30px;border-top:2px solid var(--muted);font-size:12px;text-align:center}.tm-desk small{display:block;font-size:10px;color:var(--muted);margin-top:8px}
.tm-scene-example{width:100%;max-height:440px;object-fit:contain;margin:22px 0}
.tm-route-banner{margin:8px 0 32px;border-left:3px solid var(--red);padding-left:20px}.tm-route-banner>small{font-size:10px;color:var(--red)}.tm-route-banner>h3{font-size:27px!important;margin:12px 0}.tm-route-banner>p{color:var(--muted);max-width:75ch}
.tm-two-boards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tm-two-boards>figure{margin:0}.tm-two-boards img{width:100%;aspect-ratio:16/9;object-fit:cover}.tm-two-boards figcaption{font-size:11px;color:var(--muted);padding:10px 0}
.tm-shot-editor{margin:34px 0 50px}.tm-breath-diagram{display:flex;align-items:stretch;gap:16px;margin:22px 0}.tm-breath-diagram>span{flex:1;display:grid;place-items:center;background:var(--soft);padding:24px 12px;font-size:14px}.tm-breath-diagram>b{font-size:16px;display:grid;align-content:center;text-align:center;padding:20px 10px;color:var(--red)}.tm-breath-diagram small{font-size:10px;display:block;margin-top:8px;color:var(--muted)}
.tm-delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:36px 0}.tm-delivery-grid p{font-size:12px!important;color:var(--muted)}
.tm-guide-course .tw-checks{background:none;border:0;border-radius:0;border-left:2px solid var(--line);padding:0 0 0 18px;margin:42px 0}.tm-guide-course .tw-checks h3{font-size:16px}.tm-guide-course .tw-checks input{accent-color:var(--red)}
.tm-guide-course .tw-step-footer{border:0;padding-top:12px;margin-top:40px}.tm-guide-course .tw-primary{background:var(--ink);color:var(--bg);border-radius:0}.tm-guide-course .tw-congratulations{border:0;border-radius:0}
@media(min-width:1700px){.tm-guide-course .tw-layout{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:1100px){.tm-guide-course .tw-layout{grid-template-columns:180px minmax(0,1fr)}.tm-guide-course .tw-content{padding:28px}.tm-guide-course .tm-routes{gap:16px}.tm-guide-course .tm-routes>label,.tm-guide-course .tm-routes>label.selected{padding:19px}.tm-guide-course .tm-routes label>b{font-size:25px}}
@media(max-width:760px){.tm-guide-course .tw-layout{display:block}.tm-guide-course .tw-nav{position:static;padding:20px 0;max-height:none}.tm-nav-title h2 br{display:none}.tm-nav-title>a,.tm-nav-title>small,.tm-nav-title>p{display:none}.tm-nav-title>h2{font-size:23px;margin:0 0 18px}.tm-guide-course .tw-nav nav{display:flex;flex-direction:row;overflow-x:auto;gap:8px}.tm-guide-course .tw-nav nav button{width:auto;flex:none;padding:9px;white-space:nowrap}.tm-guide-course .tw-nav nav button small{display:none}.tm-nav-progress{display:none}.tm-guide-course .tw-nav [data-save]{margin:12px 0}.tm-guide-course .tw-nav .tw-actions{margin:10px 0}.tm-guide-course .tw-nav>small{display:none}.tm-guide-course .tw-content{padding:20px 0;border:0}.tm-opening>h2{font-size:40px}.tm-guide-course .tm-routes{grid-template-columns:1fr}.tm-route-input{min-height:0}.tm-cost{margin-top:18px}.tm-labelled-shot{padding:18px;gap:20px 14px}.tm-labelled-shot b{font-size:12px}.tm-lesson-flow{gap:20px}.tm-lesson-flow b{font-size:15px}.tm-lesson-flow span{font-size:11px}.tm-lesson-flow>div+div:before{left:-18px;font-size:14px}.tm-branch,.tm-delivery-grid{grid-template-columns:1fr}.tm-scene-diagram{gap:14px}.tm-desk{padding:15px 8px}.tm-person i{width:38px;height:38px}.tm-two-boards{gap:12px}.tm-breath-diagram{gap:8px}.tm-breath-diagram>span{font-size:12px}.tm-breath-diagram>b{font-size:13px}}
/* Classroom deck. No course-level animation or rebuild on route selection. */
.tm-course.tm-deck{animation:none!important;padding:0 var(--pad) 32px;max-width:none}
.tm-course.tm-deck .tw-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);align-items:start}
.tm-course.tm-deck .tm-course-sidebar{grid-column:span 2;padding:1.5rem 1.2rem 1rem 0;border-right:1px solid var(--line);position:sticky;top:0;max-height:calc(100dvh - 4.5rem)}
.tm-course.tm-deck .tw-content{grid-column:span 10;padding:1.8rem .1rem 2rem 1.4rem;border:0;min-height:0;max-width:none}
.tm-deck .tm-course-sidebar .sidebar-title h2{font-size:1.7rem;margin:.6rem 0}.tm-deck .tm-course-sidebar .sidebar-title small{font-size:.69rem;line-height:1.7}
.tm-sidebar-settings{margin-top:18px;font-size:11px;color:var(--muted);flex-shrink:0}
.tm-sidebar-settings>summary{cursor:pointer;font-size:11px;padding:6px 0}.tm-sidebar-settings>[data-save]{display:block;min-height:2em;font-size:10px;line-height:1.6}.tm-sidebar-settings>small{display:block;font-size:10px;line-height:1.7;margin:10px 0}
.tm-sidebar-settings .tw-actions{margin:12px 0;gap:5px}.tm-course.tm-deck .tm-sidebar-settings :is(button,.tw-upload){font-size:10px;border-radius:0;padding:5px 7px}
.tm-route-dock{display:grid;gap:5px;margin:12px 0}.tm-course.tm-deck .tm-route-dock button{border:0;text-align:left;padding:7px 0;color:var(--muted)}.tm-course.tm-deck .tm-route-dock button[aria-pressed=true]{color:var(--ink);font-weight:650}
.tm-deck-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px;min-height:65px}
.tm-deck-heading small{font-size:10px;color:var(--muted);letter-spacing:0}.tm-deck-heading h1{font-size:clamp(28px,2.8vw,43px);margin:10px 0 0;line-height:1.2}
.tm-current-route{display:grid;gap:7px;min-width:230px;text-align:right;padding-bottom:3px}.tm-current-route b{font-size:12px;font-weight:550;color:var(--ink)}.tm-current-route span{font-size:11px;color:var(--muted);white-space:nowrap}
.tm-route-options{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:12px 0 26px}
.tm-route-option{display:block;position:relative;min-width:0;cursor:pointer;padding:0;border:0!important;background:none!important}
.tm-route-option>input{position:absolute;z-index:2;top:14px;right:14px;width:17px;height:17px;accent-color:var(--red);cursor:pointer}
.tm-option-art{position:relative;aspect-ratio:2.5;overflow:hidden;border-radius:6px;background:var(--soft);isolation:isolate;box-shadow:0 10px 28px #0000000a}
.tm-option-art img{position:absolute;width:48%;aspect-ratio:16/9;object-fit:cover;border:3px solid color-mix(in srgb,var(--bg) 55%,var(--ink) 15%);border-radius:3px;box-shadow:0 8px 17px #0006;transition:transform .2s}
.tm-option-a img:nth-of-type(1){left:9%;top:23%;transform:rotate(-11deg)}.tm-option-a img:nth-of-type(2){left:29%;top:18%;transform:rotate(2deg)}.tm-option-a img:nth-of-type(3){left:47%;top:30%;transform:rotate(12deg)}
.tm-option-art>i{display:none}.tm-option-art>span{position:absolute;bottom:12%;left:45%;z-index:3;font-size:20px;line-height:1;color:#fff;text-shadow:0 2px 8px #000}
.tm-option-b img:nth-of-type(1){width:35%;left:10%;top:20%;transform:rotate(-5deg)}.tm-option-b img:nth-of-type(2){width:35%;left:13%;top:40%;transform:rotate(4deg)}.tm-option-b img:nth-of-type(3){width:36%;left:57%;top:33%;transform:none}
.tm-option-b>span{font-size:9px;left:55%;bottom:12%;color:var(--muted);text-shadow:none}
.tm-option-heading{display:flex;align-items:baseline;gap:12px;padding-top:18px}.tm-option-heading>small{font:10px Arial;color:var(--muted);white-space:nowrap}.tm-option-heading>b{font-size:27px;color:var(--ink);font-weight:650;letter-spacing:-.04em}
.tm-selected-mark{margin-left:auto;font-size:10px;color:var(--red);opacity:0;white-space:nowrap}.is-selected .tm-selected-mark{opacity:1}
.tm-route-option>strong{display:block;font-size:14px;font-weight:500;margin:10px 0 8px;color:var(--ink)}.tm-deck .tw-content .tm-route-option>p{font-size:12px;margin:0;color:var(--muted)}
.tm-route-option.is-selected .tm-option-art{background:color-mix(in srgb,var(--ink) 8%,var(--bg));box-shadow:none}
.tm-route-option:has(input:focus-visible){outline:2px solid var(--red);outline-offset:6px}
.tm-live-route{padding:4px 0 0;min-height:155px}
.tm-live-route>header{display:flex;align-items:baseline;gap:16px}.tm-live-route>header span{font-size:11px;color:var(--muted)}.tm-live-route>header b{font-size:13px;font-weight:550}
.tm-deck .tm-lesson-flow{gap:25px;margin:20px 0 24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-deck .tm-lesson-flow[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.tm-deck .tm-lesson-flow small{font-size:9px;margin-bottom:8px}.tm-deck .tm-lesson-flow b{font-size:17px}.tm-deck .tm-lesson-flow span{font-size:11px}
.tm-brief-bottom{display:flex;align-items:start;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}
.tm-cost-disclosure{width:285px;flex-shrink:0;font-size:11px}.tm-cost-disclosure summary{cursor:pointer;text-align:right}.tm-cost-disclosure[open] summary{margin-bottom:15px}.tm-deck .tw-content .tm-cost-disclosure p{font-size:10px;margin:0 0 12px}.tm-cost-disclosure>div{display:grid;grid-template-columns:90px 1fr 32px;gap:8px;align-items:center;margin:12px 0}.tm-cost-disclosure b,.tm-cost-disclosure strong{font-size:10px;font-weight:500}.tm-cost-disclosure i{height:5px;width:var(--cost-width);background:var(--muted);display:block}.tm-cost-disclosure small{font-size:10px;line-height:1.7;display:block}
.tm-course.tm-deck .tw-step-footer{margin:24px 0 0;padding:12px 0 0;border:0;min-height:40px}.tm-deck .tw-step-footer>small{font-size:10px;color:var(--muted);letter-spacing:0}
.tm-course.tm-deck .tw-primary{border-radius:3px;font-size:12px;padding:9px 15px}.tm-course.tm-deck .tw-step-footer a{font-size:12px}
.tm-deck-tabs{display:flex;gap:26px;margin-bottom:24px;min-height:37px}
.tm-course.tm-deck .tm-deck-tabs button{border:0;border-radius:0;padding:5px 0 10px;font-size:13px;color:var(--muted);position:relative}
.tm-course.tm-deck .tm-deck-tabs button[aria-selected=true]{color:var(--ink);font-weight:650}.tm-deck-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:0;left:0;width:18px;height:2px;background:var(--red)}
.tm-deck-panel[hidden]{display:none!important}.tm-deck-panel{min-height:370px}
.tm-topic-slide{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center}
.tm-topic-slide figure{margin:0}.tm-topic-slide figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}.tm-topic-slide figcaption{font-size:10px;color:var(--muted);margin-top:12px}
.tm-topic-slide>div>small{font-size:11px;color:var(--red)}.tm-topic-slide h2{font-size:clamp(24px,2.5vw,38px);line-height:1.4;margin:16px 0 24px}
.tm-idea-ladder{display:grid;gap:18px;margin-bottom:25px}.tm-idea-ladder span{display:grid;grid-template-columns:85px 1fr;gap:15px;align-items:baseline;font-size:10px;color:var(--muted)}.tm-idea-ladder b{font-size:14px;color:var(--ink);font-weight:500}
.tm-form-slide{max-width:1000px}.tm-form-slide>h2,.tm-panel-title{font-size:25px;line-height:1.4;margin:0 0 24px}
.tm-deck .tw-field{margin:10px 0 18px}.tm-deck .tw-field>span{font-size:11px}.tm-deck .tw-field :is(input,textarea){font-size:13px;padding:10px 12px;border-radius:3px}.tm-deck .tw-content .tw-form-grid textarea{min-height:0}
.tm-deck .tw-form-grid{gap:0 22px}.tm-deck .tw-field textarea{resize:vertical}
.tm-course.tm-deck .tw-checks{margin:25px 0 20px;padding:0;border:0;background:none}.tm-deck .tw-checks h3{display:none}.tm-deck .tw-checks label{font-size:12px;margin-top:8px}.tm-deck .tw-checks .tw-caption{display:none}
.tm-deck .tw-prompt{border:0;background:none;margin:0}.tm-deck .tw-prompt header{padding:0 0 14px;background:none}.tm-deck .tw-content .tw-prompt h3{font-size:16px;margin:0}.tm-deck .tw-prompt pre{max-height:340px;min-height:170px;line-height:1.9;padding:20px;background:var(--soft);font-size:12px;border-radius:4px}
.tm-extra{margin:20px 0 0;font-size:12px}.tm-extra>summary{cursor:pointer;padding:10px 0;color:var(--muted);font-size:11px}.tm-extra[open]>summary{margin-bottom:15px}
.tm-specimen{display:grid;grid-template-columns:1.35fr .65fr;gap:38px;align-items:center}
.tm-specimen img{width:100%;height:clamp(190px,29dvh,285px);object-fit:cover;border-radius:4px}
.tm-specimen-labels{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.tm-course.tm-deck .tm-specimen-labels button{border:0;border-radius:0;font-size:12px;padding:6px 0;color:var(--muted)}
.tm-course.tm-deck [data-explain][aria-pressed=true]{color:var(--red)}
.tm-course.tm-deck .tm-specimen-sentence{display:block;border:0;padding:12px 0 0;text-align:left;font-size:12px;border-radius:0;line-height:1.8}
.tm-field-explanation small{font-size:10px;color:var(--muted)}.tm-deck .tw-content .tm-field-explanation h3{font-size:30px;margin:16px 0}.tm-deck .tw-content .tm-field-explanation p{font-size:14px;line-height:1.9;color:var(--muted);max-width:24ch}
.tm-demo-selector,.tm-actor-switch,.tm-group-selector{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.tm-course.tm-deck :is(.tm-demo-selector,.tm-actor-switch,.tm-group-selector) button{border:0;padding:7px 0;font-size:12px;border-radius:0;color:var(--muted)}
.tm-course.tm-deck :is(.tm-demo-selector,.tm-actor-switch,.tm-group-selector) button[aria-pressed=true]{color:var(--ink);font-weight:650;border-bottom:2px solid var(--red)}
.tm-demo-scene{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}.tm-demo-scene>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.tm-demo-scene small{font-size:10px;color:var(--muted)}.tm-deck .tw-content .tm-demo-scene h3{font-size:24px;margin:12px 0}.tm-deck .tw-content .tm-demo-scene p{font-size:12px;line-height:1.8}.tm-deck .tm-dialogue{margin-top:20px}.tm-quiet-note{display:block;margin-top:20px;font-size:10px;line-height:1.7;color:var(--muted)}
.tm-actor-switch>span{margin-left:auto;font-size:10px;color:var(--muted)}
.tm-identity-figure{margin:0}.tm-identity-figure>img{width:100%;height:clamp(210px,47dvh,430px);aspect-ratio:16/9;object-fit:contain;border-radius:4px;background:transparent}
.tm-identity-figure figcaption{display:grid;grid-template-columns:1fr 2fr;text-align:center;gap:10px;font-size:11px;color:var(--muted);padding:12px 0}
.tm-scene-slide{display:grid;grid-template-columns:1.3fr .7fr;gap:34px;align-items:center}
.tm-scene-slide figure{margin:0;position:relative}.tm-scene-slide img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}
.tm-scene-slide figure>span{position:absolute;bottom:15px;background:#000a;color:#fff;padding:5px 9px;font-size:10px;border-radius:3px}.tm-seat-left{left:15px}.tm-seat-right{right:15px}
.tm-scene-slide h2{font-size:30px;line-height:1.4;margin-bottom:22px}.tm-scene-slide ul{list-style:none;padding:0;margin:0}.tm-scene-slide li{font-size:12px;color:var(--muted);margin:14px 0}
.tm-upload-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.tm-upload-trio>section>small{font-size:12px;color:var(--ink)}.tm-upload-trio .tm-upload{margin:14px 0}.tm-upload-trio .tm-upload>small{font-size:9px!important}.tm-upload-trio .tm-upload>img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--soft);max-height:180px}
.tm-path-example{display:grid;grid-template-columns:1.4fr .6fr;gap:40px;align-items:center;margin:10px 0 28px}.tm-input-frames{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tm-input-frames figure{margin:0}.tm-input-frames img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.tm-input-frames figcaption{font-size:10px;color:var(--muted);margin-top:10px}
.tm-path-result{background:var(--soft);aspect-ratio:16/9;display:grid;place-content:center;gap:10px;text-align:center;position:relative;border-radius:4px}.tm-path-result:before{content:'→';position:absolute;top:40%;left:-29px;color:var(--muted)}
.tm-path-result>span{font-size:26px;color:var(--red)}.tm-path-result>b{font-size:15px;font-weight:550}.tm-path-result>small{font-size:9px}
.tm-one-line{font-size:12px!important;color:var(--muted);margin:12px 0 20px!important}
.tm-transfer-controls{display:flex;gap:14px;align-items:center;justify-content:flex-end;margin-bottom:18px}.tm-course.tm-deck .tm-transfer-controls :is(button,.tw-upload){font-size:10px;padding:6px 9px}
.tm-mirror-selector{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}.tm-course.tm-deck .tm-mirror-selector button{padding:0;border:0;border-radius:0;text-align:left;opacity:.55}.tm-course.tm-deck .tm-mirror-selector button[aria-pressed=true]{opacity:1}.tm-mirror-selector img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:3px}.tm-mirror-selector span{display:block;font-size:10px;margin-top:7px}
.tm-mirror-editor{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.tm-mirror-editor>figure{margin:0}.tm-mirror-editor>figure>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.tm-mirror-editor figcaption{font-size:10px;color:var(--muted);margin:10px 0}
.tm-mirror-editor .tw-field{margin-top:0}.tm-group-selector button small{font-size:10px;display:block;margin-top:5px}.tm-group-selector{gap:32px;margin-bottom:25px}
.tm-inline-warning{font-size:11px!important;color:var(--red);margin-bottom:18px!important}
.tm-open-tool{font-size:12px;border-bottom:1px solid var(--line);display:inline-block;padding:7px 0;margin:12px 0}
.tm-edit-slide>h2{font-size:30px;line-height:1.4;margin:10px 0 35px}
.tm-edit-visual{margin:20px 0 30px}.tm-edit-visual>div:first-child{display:grid;grid-template-columns:1fr 12px .5fr 12px 1fr;gap:0;align-items:stretch}.tm-edit-visual>div:first-child>span{background:var(--soft);padding:30px 12px;text-align:center;font-size:14px;border-radius:3px}.tm-edit-visual>div:first-child>b{display:grid;place-content:center;color:var(--red);font-size:12px;text-align:center}.tm-edit-visual>div:first-child>i{background:var(--bg)}
.tm-audio-line,.tm-music-line{display:flex;align-items:center;gap:15px;margin:15px 0;font-size:10px;color:var(--muted)}.tm-audio-line>i{height:25px;flex:1;background:repeating-linear-gradient(90deg,var(--muted) 0 2px,transparent 2px 6px);clip-path:polygon(0 45%,5% 15%,10% 45%,15% 0,20% 35%,25% 10%,30% 45%,35% 25%,40% 45%,45% 40%,50% 45%,55% 35%,60% 45%,65% 10%,70% 35%,75% 5%,80% 45%,85% 20%,90% 40%,95% 10%,100% 45%,100% 55%,95% 90%,90% 60%,85% 80%,80% 55%,75% 95%,70% 65%,65% 90%,60% 55%,55% 65%,50% 55%,45% 60%,40% 55%,35% 75%,30% 55%,25% 90%,20% 65%,15% 100%,10% 55%,5% 85%,0 55%)}
.tm-music-line>i{height:7px;background:var(--line);flex:1;border-radius:2px}
.tm-keypoints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.tm-keypoints>span{font-size:12px;color:var(--muted)}.tm-keypoints b{display:block;font-size:17px;color:var(--ink);margin-bottom:10px}
.tm-export-slide{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.tm-export-slide figure{margin:0;position:relative}.tm-export-slide img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.tm-export-slide figure>strong{position:absolute;bottom:24%;left:7%;font-size:clamp(18px,2vw,30px);max-width:85%;color:white;text-shadow:0 2px 12px #000}
.tm-export-slide figcaption{font-size:10px;color:var(--muted);margin-top:12px}.tm-export-slide h2{font-size:26px;line-height:1.45;margin-bottom:25px}
.tm-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:25px}.tm-spec-grid span{font-size:10px;color:var(--muted)}.tm-spec-grid b{display:block;font-size:14px;font-weight:550;color:var(--ink);margin-top:7px}
.tm-success{margin-top:24px!important;color:var(--ink);font-size:15px!important}
@media(max-width:1250px){.tm-course.tm-deck .tm-course-sidebar{grid-column:span 3}.tm-course.tm-deck .tw-content{grid-column:span 9;padding-left:.8rem}.tm-option-heading>b{font-size:24px}.tm-route-options{gap:22px}.tm-topic-slide{gap:25px}.tm-deck-heading{gap:16px}.tm-current-route{min-width:200px}}
@media(max-width:1000px){.tm-option-art{aspect-ratio:2}.tm-option-heading{gap:8px}.tm-option-heading>b{font-size:22px}.tm-option-heading>small{font-size:9px}.tm-selected-mark{font-size:9px}.tm-route-option>strong{font-size:12px}.tm-topic-slide,.tm-specimen,.tm-scene-slide{gap:22px}.tm-topic-slide h2{font-size:25px}.tm-field-explanation h3{font-size:24px!important}.tm-deck .tm-lesson-flow b{font-size:14px}.tm-deck .tm-lesson-flow span{font-size:10px}.tm-deck-heading h1{font-size:31px}.tm-current-route{min-width:175px}.tm-current-route span{font-size:10px}.tm-upload-trio{gap:15px}.tm-mirror-selector{gap:9px}}
@media(max-width:850px){.tm-course.tm-deck .tw-layout{display:block}.tm-course.tm-deck .tm-course-sidebar{position:static;max-height:4.5rem;padding:.6rem 0;border-right:0;overflow:hidden}.tm-deck .tm-sidebar-settings{display:none}.tm-course.tm-deck .tw-content{padding:1.3rem 0 2rem}.tm-deck .tm-course-sidebar .side-scroll{min-height:0}.tm-deck-heading{min-height:65px}.tm-option-art{aspect-ratio:2.3}.tm-topic-slide h2{font-size:28px}}
@media(max-width:560px){.tm-deck-heading{display:block;margin-bottom:20px}.tm-current-route{display:flex;text-align:left;gap:12px;margin-top:14px}.tm-current-route span{font-size:10px}.tm-current-route b{font-size:11px}.tm-route-options{gap:18px;grid-template-columns:1fr 1fr}.tm-option-art{aspect-ratio:1.5}.tm-option-art img{border-width:2px}.tm-option-art>span{font-size:15px}.tm-option-b>span{font-size:7px;left:30%}.tm-option-heading{display:grid;grid-template-columns:1fr auto;gap:7px}.tm-option-heading>small{grid-column:1}.tm-option-heading>b{grid-column:1/-1;font-size:22px}.tm-selected-mark{grid-row:1;grid-column:2}.tm-route-option>strong{font-size:11px;line-height:1.7;min-height:38px}.tm-deck .tw-content .tm-route-option>p{font-size:10px;line-height:1.7}.tm-deck .tm-lesson-flow[data-count="4"]{grid-template-columns:1fr 1fr;row-gap:22px}.tm-live-route{min-height:220px}.tm-brief-bottom{display:block}.tm-cost-disclosure{width:100%;margin-top:16px}.tm-cost-disclosure summary{text-align:left}.tm-deck-panel{min-height:340px}.tm-deck-tabs{gap:22px}.tm-course.tm-deck .tm-deck-tabs button{font-size:12px}.tm-topic-slide,.tm-specimen,.tm-demo-scene,.tm-scene-slide,.tm-export-slide,.tm-mirror-editor{grid-template-columns:1fr;gap:22px}.tm-topic-slide figure img{aspect-ratio:16/9;max-height:230px}.tm-topic-slide h2{font-size:25px;margin:12px 0 20px}.tm-idea-ladder{gap:14px}.tm-idea-ladder span{grid-template-columns:80px 1fr}.tm-field-explanation{min-height:120px}.tm-field-explanation h3{margin:10px 0!important}.tm-deck .tw-content .tm-field-explanation p{max-width:none;font-size:12px}.tm-actor-switch{gap:20px}.tm-actor-switch>span{font-size:9px;margin-left:0}.tm-identity-figure figcaption{font-size:10px}.tm-upload-trio{grid-template-columns:1fr}.tm-upload-trio>section{margin-bottom:18px}.tm-upload-trio .tm-upload>img{max-height:200px}.tm-path-example{gap:22px;grid-template-columns:1fr}.tm-path-result{max-width:180px;justify-self:center;width:100%;aspect-ratio:2}.tm-path-result:before{content:'↓';top:-28px;left:48%}.tm-path-result span{font-size:20px}.tm-path-result b{font-size:12px}.tm-path-result small{font-size:8px}.tm-mirror-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tm-deck .tw-field textarea{font-size:12px}.tm-group-selector{gap:22px}.tm-edit-slide>h2{font-size:25px}.tm-keypoints{gap:16px}.tm-keypoints>span{font-size:10px;line-height:1.7}.tm-keypoints b{font-size:15px}.tm-course.tm-deck .tw-step-footer{gap:12px}.tm-deck .tw-step-footer>small{max-width:42%;font-size:9px}.tm-course.tm-deck .tw-primary{font-size:11px;padding:9px 11px}}
/* Beginner-first teaching: one visible sheet per step, no content tabs. */
.tm-beginner .tm-beginner-heading{margin:0 0 20px}.tm-beginner-heading>small{font-size:10px;color:var(--muted);letter-spacing:0}.tm-beginner-heading h1{font-size:clamp(25px,2.5vw,37px);line-height:1.3;margin:9px 0 0}
.tm-learning-map{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:19px;margin:0 0 18px}
.tm-course.tm-beginner .tm-learning-map button{position:relative;display:grid;grid-template-columns:18px 1fr;align-items:baseline;gap:5px;border:0;border-radius:3px;padding:8px 7px 5px;text-align:left;min-width:0;background:color-mix(in srgb,var(--ink) 3%,transparent)}
.tm-learning-map button+button:before{content:'→';position:absolute;left:-17px;top:12px;font-size:11px;color:var(--muted)}
.tm-learning-map button>span{font:9px Arial;color:var(--muted)}.tm-learning-map button>b{font-size:11px;white-space:nowrap;font-weight:500;color:var(--muted)}.tm-learning-map button>small{grid-column:1/-1;min-height:12px;font-size:9px;letter-spacing:0;color:transparent}
.tm-course.tm-beginner .tm-learning-map button.is-here{background:var(--soft)}.tm-learning-map button.is-here>b{font-weight:650;color:var(--ink)}.tm-learning-map button.is-here>span,.tm-learning-map button.is-here>small{color:var(--red)}
.tm-learning-map button.is-before>b{color:var(--ink)}
.tm-task-purpose{display:flex;align-items:start;gap:28px;margin:0 0 18px;font-size:12px;line-height:1.7;color:var(--ink)}
.tm-task-purpose>span{display:block;max-width:44ch}.tm-task-purpose b{display:block;font-size:9px;color:var(--muted);font-weight:500;margin-bottom:5px}.tm-task-purpose>small{margin-left:auto;max-width:24ch;font-size:10px;color:var(--muted);letter-spacing:0;line-height:1.7;text-align:right}
.tm-intro-goal{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:0 0 30px}
.tm-intro-goal small{font-size:10px;color:var(--muted);letter-spacing:0;line-height:1.7}.tm-intro-goal h2{font-size:25px;line-height:1.4;margin-top:9px}.tm-intro-goal>span{font-size:17px;font-weight:550;text-align:right;white-space:nowrap;line-height:1.7}.tm-intro-goal>span small{font-weight:400}
.tm-beginner .tm-section-title{font-size:16px!important;margin-bottom:20px!important}
.tm-tool-primer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;margin:0 0 30px}
.tm-tool-primer>section{min-width:0;display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}
.tm-tool-primer i{font-style:normal;font-size:23px;line-height:1.1;font-weight:500;color:var(--muted);padding-top:2px}
.tm-beginner .tw-content .tm-tool-primer h3{font-size:16px;margin:0 0 10px}.tm-beginner .tw-content .tm-tool-primer p{font-size:12px;margin:0 0 8px;line-height:1.7}.tm-tool-primer small{font-size:10px;color:var(--muted);line-height:1.8;display:block;letter-spacing:0}
.tm-platform-note{background:var(--soft);padding:20px 23px;border-radius:4px;margin:10px 0 20px}
.tm-platform-note>div{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.tm-platform-note>div>b{font-size:11px;font-weight:500;color:var(--muted);margin-right:auto}
.tm-platform-note>div>span{font-size:15px;font-weight:550}.tm-platform-note em{font-style:normal;font-size:10px;font-weight:400;display:block;color:var(--muted);margin-top:5px}.tm-platform-note i{font-style:normal;font-size:15px;color:var(--muted)}
.tm-beginner .tw-content .tm-platform-note p{font-size:11px;color:var(--muted);margin:17px 0 0;line-height:1.8}.tm-platform-note p>b{color:var(--ink);font-weight:450}
.tm-beginner .tw-content .tm-footnote{font-size:10px;color:var(--muted);line-height:1.8;margin:12px 0}.tm-footnote a{display:inline-block;margin-left:12px;color:var(--ink)}
.tm-beginner-routes{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin:8px 0 28px}
.tm-beginner-routes .tm-route-option{padding:0 18px 0 0!important;isolation:isolate}
.tm-beginner-routes .tm-option-heading{padding:10px 0 0;min-height:22px}.tm-beginner-routes .tm-option-heading>small{font-size:10px;font-family:inherit}
.tm-beginner-routes input{top:8px;right:10px}
.tm-beginner-routes .tm-route-option h2{font-size:25px;line-height:1.4;margin:15px 0 10px}
.tm-beginner .tw-content .tm-beginner-routes .tm-route-option>p{font-size:12px;line-height:1.8;max-width:33ch;margin:0 0 16px;min-height:42px}
.tm-route-combo{font-size:13px;font-weight:550;margin:13px 0 10px}.tm-route-fit{font-size:10px;color:var(--muted);line-height:1.7;letter-spacing:0}
.tm-beginner-routes .is-selected h2{color:var(--ink)}.tm-beginner-routes .is-selected:after{content:'';position:absolute;top:43px;bottom:13px;left:-13px;width:2px;background:var(--red)}
.tm-beginner .tm-live-route{min-height:145px;padding-top:8px}.tm-beginner .tm-live-route>header{font-size:11px;color:var(--muted)}.tm-beginner .tm-live-route .tm-lesson-flow{margin-top:18px;margin-bottom:12px}
.tm-beginner .tm-cost-disclosure{width:auto;margin-top:14px;max-width:700px}.tm-beginner .tm-cost-disclosure summary{text-align:left;font-size:10px;color:var(--muted)}.tm-beginner .tw-content .tm-cost-disclosure p{font-size:11px;line-height:1.8}
.tm-beginner-sheet{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin:0 0 17px}
.tm-beginner .tw-content .tm-beginner-sheet h3{font-size:17px;line-height:1.5;margin:0 0 18px}
.tm-question-ladder{display:grid;gap:4px}.tm-question-ladder>div{display:grid;grid-template-columns:135px minmax(0,1fr);gap:18px;align-items:baseline}
.tm-question-ladder small{font-size:10px;line-height:1.7;color:var(--muted);letter-spacing:0}.tm-question-ladder b{font-size:14px;line-height:1.8;font-weight:550}.tm-question-ladder>i{font-size:15px;font-style:normal;color:var(--red);padding-left:148px}
.tm-example-people{display:flex;align-items:center;gap:20px;margin:16px 0 0}.tm-example-people img{width:42px;height:52px;object-fit:cover;object-position:top;border-radius:3px}.tm-example-people>span{font-size:12px;color:var(--muted)}.tm-example-people i{font-style:normal;color:var(--red);margin:0 8px}
.tm-beginner .tw-field{margin:0 0 13px}.tm-beginner .tw-field>span{font-size:11px;margin-bottom:6px}.tm-beginner .tw-field input,.tm-beginner .tw-field textarea{font-size:12px;line-height:1.65;padding:9px 10px}.tm-beginner .tw-field textarea{min-height:0}
.tm-beginner .tw-content .tw-form-grid textarea{min-height:0}.tm-beginner .tw-checks{margin:12px 0 0!important}.tm-beginner .tw-checks label{font-size:11px;line-height:1.7}.tm-beginner .tw-checks input{width:14px;height:14px}
.tm-direct-prompt{margin:20px 0 0}
.tm-beginner .tm-direct-prompt .tw-prompt header{padding:0 0 10px}.tm-beginner .tw-content .tm-direct-prompt .tw-prompt h3{font-size:13px}.tm-beginner .tm-direct-prompt .tw-prompt pre{min-height:0;max-height:145px;font-size:11px;line-height:1.8;padding:14px 17px;margin:0}
.tm-beginner .tm-direct-prompt .tw-prompt button{font-size:10px;padding:6px 10px}
.tm-readable-shot img{width:100%;height:clamp(125px,20dvh,190px);object-fit:cover;border-radius:3px}
.tm-shot-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:13px}.tm-shot-facts b{font-size:13px;font-weight:550;display:block}.tm-shot-facts small{font-size:9px;line-height:1.7;letter-spacing:0;display:block;color:var(--muted);margin-top:5px}
.tm-readable-shot>div:not(.tm-shot-facts){margin-top:13px}.tm-readable-shot>div>small{font-size:9px;color:var(--muted);letter-spacing:0}.tm-beginner .tw-content .tm-readable-shot p{font-size:12px;line-height:1.75;margin:6px 0 0}
.tm-asset-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:12px 0 20px}
.tm-asset-task{min-width:0}.tm-asset-task>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.tm-asset-task>header>small{font-size:12px;color:var(--ink);letter-spacing:0}.tm-course.tm-beginner .tm-asset-task>header>button{border:0;padding:3px 0;font-size:10px;color:var(--muted);white-space:nowrap}
.tm-asset-task>img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--soft);border-radius:3px}.tm-beginner .tw-content .tm-asset-task>p{font-size:10px;color:var(--muted);line-height:1.8;min-height:36px;margin:10px 0 13px}
.tm-asset-task .tw-field textarea{min-height:76px!important}.tm-asset-task>.tw-upload{display:inline-block;font-size:10px;padding:6px 9px}
.tm-asset-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.tm-asset-footer>span{font-size:10px;color:var(--muted);line-height:1.7}.tm-course.tm-beginner .tm-asset-footer>button{font-size:10px;padding:5px 8px}
.tm-video-references{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:12px 0 17px}.tm-video-references img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--soft);border-radius:3px}
.tm-action-list{list-style:none;padding:0;margin:15px 0 0;counter-reset:action}
.tm-action-list>li{position:relative;padding:0 0 0 27px;margin:14px 0;font-size:11px;line-height:1.8;color:var(--muted);counter-increment:action}
.tm-action-list>li:before{content:counter(action);position:absolute;left:0;top:0;color:var(--red);font-size:10px}
.tm-action-list b{display:block;color:var(--ink);font-size:12px;font-weight:550;margin-bottom:4px}
.tm-six-upload{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.tm-six-upload>label{cursor:pointer;min-width:0}.tm-six-upload img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:3px}.tm-six-upload span{display:block;font-size:9px;color:var(--muted);line-height:1.6;margin-top:5px}.tm-six-upload small{display:block;position:relative;font-size:9px;color:var(--ink);line-height:1.7;letter-spacing:0;margin-top:3px}.tm-six-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.tm-video-buttons{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.tm-video-buttons>a{font-size:11px}.tm-video-sheet .tm-my-work textarea{min-height:220px}.tm-beginner .tm-video-sheet+.tm-direct-prompt .tw-prompt pre{max-height:115px}
.tm-small-timeline{display:grid;grid-template-columns:1fr .8fr 1fr;align-items:center;gap:10px;margin:15px 0 20px}.tm-small-timeline>span{background:var(--soft);padding:22px 8px;text-align:center;font-size:12px;border-radius:3px}.tm-small-timeline>b{font-size:12px;color:var(--red);text-align:center;font-weight:500;line-height:1.8}.tm-small-timeline small{font-size:9px;color:var(--muted)}
.tm-beginner .tm-spec-grid{margin:20px 0 0;gap:15px}.tm-beginner .tm-spec-grid b{font-size:12px;margin-top:5px}.tm-beginner .tm-spec-grid span{font-size:9px}
.tm-operation-status{min-height:16px;margin:10px 0 0!important;font-size:10px!important;line-height:1.6!important;color:var(--muted)}
.tm-course.tm-beginner .tw-step-footer{margin-top:8px;padding-top:0}
@media(max-width:1100px){.tm-learning-map{gap:14px}.tm-course.tm-beginner .tm-learning-map button{grid-template-columns:1fr;gap:4px}.tm-learning-map button+button:before{left:-14px;top:19px;font-size:10px}.tm-learning-map button>b{font-size:10px}.tm-tool-primer{gap:16px}.tm-tool-primer>section{grid-template-columns:1fr;gap:10px}.tm-tool-primer i{font-size:20px}.tm-task-purpose{gap:20px}.tm-task-purpose>small{max-width:18ch}.tm-beginner-sheet{gap:27px}.tm-question-ladder>div{grid-template-columns:1fr;gap:3px}.tm-question-ladder>i{padding-left:0}.tm-question-ladder b{font-size:13px}.tm-beginner-routes{gap:25px}.tm-beginner-routes .tm-route-option h2{font-size:22px}.tm-asset-tasks{gap:17px}.tm-asset-task>header{align-items:start;flex-direction:column;gap:5px}.tm-beginner .tw-content .tm-asset-task>p{min-height:55px}}
@media(max-width:850px){.tm-tool-primer>section{grid-template-columns:38px 1fr}.tm-learning-map{gap:18px}.tm-course.tm-beginner .tm-learning-map button{grid-template-columns:18px 1fr}.tm-beginner-sheet{gap:32px}.tm-question-ladder>div{grid-template-columns:120px 1fr;gap:14px}.tm-question-ladder>i{padding-left:130px}}
@media(max-width:650px){.tm-learning-map{display:flex;overflow-x:auto;gap:20px;padding-bottom:6px;scrollbar-width:thin}.tm-course.tm-beginner .tm-learning-map button{flex:none;min-width:72px;grid-template-columns:1fr}.tm-learning-map button+button:before{top:15px;left:-16px}.tm-tool-primer{grid-template-columns:1fr 1fr;gap:23px 20px}.tm-tool-primer>section{grid-template-columns:28px 1fr;gap:10px}.tm-intro-goal h2{font-size:22px}.tm-intro-goal>span{font-size:13px}.tm-intro-goal{gap:15px}.tm-platform-note{padding:18px}.tm-platform-note>div{gap:15px}.tm-platform-note>div>b{width:100%;margin-bottom:5px}.tm-platform-note>div>span{font-size:13px}.tm-beginner-sheet{grid-template-columns:1fr;gap:25px}.tm-task-purpose{display:grid;grid-template-columns:1fr 1fr;gap:15px}.tm-task-purpose>small{grid-column:1/-1;text-align:left;max-width:none;margin:0}.tm-beginner-routes{grid-template-columns:1fr;gap:28px}.tm-beginner-routes .tm-route-option>p{min-height:0}.tm-beginner .tm-live-route{min-height:0}.tm-beginner .tm-live-route .tm-lesson-flow{grid-template-columns:1fr;gap:17px}.tm-beginner .tm-live-route .tm-lesson-flow>div{display:grid;grid-template-columns:22px 1fr;gap:4px 8px}.tm-beginner .tm-live-route .tm-lesson-flow>div:before{display:none}.tm-beginner .tm-live-route .tm-lesson-flow small{grid-row:span 2;padding-top:3px;margin:0}.tm-beginner .tm-live-route .tm-lesson-flow span{grid-column:2}.tm-asset-tasks{grid-template-columns:1fr}.tm-asset-task>header{flex-direction:row;align-items:center}.tm-asset-task>img{max-height:250px}.tm-beginner .tw-content .tm-asset-task>p{min-height:0}.tm-asset-footer{align-items:start;flex-direction:column}.tm-readable-shot img{height:190px}.tm-direct-prompt{margin-top:20px}.tm-video-sheet .tm-my-work textarea{min-height:190px}}
.tm-orientation-lead{display:grid;grid-template-columns:1.25fr 1fr;gap:32px;align-items:center;margin:0 0 24px}
.tm-orientation-lead h2{font-size:29px;line-height:1.35;margin:8px 0 12px}.tm-orientation-lead small,.tm-course-promise small{font-size:10px;color:var(--muted)}
.tm-beginner .tw-content .tm-orientation p{font-size:12px;line-height:1.7;margin:6px 0}.tm-orientation-lead figure{margin:0}.tm-orientation-lead img{width:100%;aspect-ratio:16/9;object-fit:cover;max-height:180px}.tm-orientation-lead figcaption{font-size:10px;color:var(--muted);margin-top:7px}
.tm-course-promise{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-bottom:26px}.tm-beginner .tw-content .tm-course-promise h3{font-size:16px;margin:8px 0}.tm-course-promise section{min-width:0}.tm-orientation .tm-tool-primer{margin-bottom:20px;gap:20px}.tm-orientation .tm-tool-primer h3{margin-bottom:4px!important}.tm-orientation-bottom{display:grid;grid-template-columns:1fr 1fr;gap:30px}.tm-orientation-bottom b{display:block;margin-bottom:5px}.tm-orientation-bottom small{display:block;font-size:10px;color:var(--muted);margin-top:7px}
.tm-route-workspace{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:34px;align-items:stretch}
.tm-route-workspace .tm-beginner-routes{grid-template-columns:1fr;gap:18px;margin:0}
.tm-route-workspace .tm-route-option{padding:22px!important;background:color-mix(in srgb,var(--ink) 4%,var(--bg))!important;border-radius:8px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 12%,transparent);min-height:186px;box-sizing:border-box}
.tm-route-workspace .tm-route-option.is-selected{background:color-mix(in srgb,var(--ink) 8%,var(--bg))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 40%,transparent)}
.tm-route-workspace .tm-route-option.is-selected:after{display:none}.tm-route-workspace .tm-route-option>input{top:20px;right:20px}.tm-route-workspace .tm-route-option>small{font-size:10px;color:var(--muted)}
.tm-route-workspace .tm-route-option h2{font-size:24px;margin:12px 0 8px}.tm-beginner .tw-content .tm-route-workspace .tm-route-option>p{min-height:0;margin:0 0 10px;font-size:12px}
.tm-route-workspace .tm-route-fit{display:block;font-size:11px;color:var(--muted)}.tm-route-workspace .tm-route-combo{font-size:11px;margin-top:14px}
.tm-route-workspace .tm-selected-mark{position:absolute;bottom:22px;right:18px;visibility:hidden;font-size:10px}.tm-route-workspace .is-selected .tm-selected-mark{visibility:visible}
.tm-beginner .tm-route-workspace .tm-live-route{padding:0;display:grid;min-width:0;min-height:420px}
.tm-route-preview{grid-area:1/1;min-width:0}.tm-route-preview[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.tm-route-preview>small{font-size:10px;color:var(--muted)}.tm-route-preview h2{font-size:23px;line-height:1.4;margin:12px 0 16px}
.tm-route-demo{position:relative;height:170px;overflow:hidden;border-radius:5px}.tm-route-demo img{width:100%;height:100%;object-fit:cover}.tm-route-demo>span{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:rgba(0,0,0,.75);color:white;font-size:12px}
.tm-route-preview .tm-lesson-flow{gap:20px!important}.tm-route-preview .tm-lesson-flow b{font-size:14px!important}.tm-route-preview .tm-lesson-flow span{font-size:11px!important}.tm-beginner .tw-content .tm-route-result,.tm-beginner .tw-content .tm-route-common{font-size:12px;line-height:1.7;color:var(--muted);margin:18px 0}
@media(max-width:700px){.tm-orientation-lead,.tm-orientation-bottom{grid-template-columns:1fr}.tm-course-promise{grid-template-columns:1fr;gap:16px}.tm-route-workspace{grid-template-columns:1fr}.tm-route-workspace .tm-beginner-routes{grid-template-columns:1fr 1fr;gap:12px}.tm-route-workspace .tm-route-option{padding:16px!important}.tm-route-workspace .tm-route-option h2{font-size:19px}.tm-route-workspace .tm-selected-mark{position:static;display:block;margin-top:8px}.tm-route-workspace .tm-route-option>input{top:12px;right:10px}.tm-route-workspace .tm-route-option>small{font-size:9px}}

/* Shared action shape. Navigation and content cards retain their own radii. */
:root{--bb-action-radius:999px;--bb-panel-radius:18px}
button.primary,a.primary,.modal-prompt .primary,.login-panel .primary{border-radius:var(--bb-action-radius)}
.reading-layout .reading-group-title{border-top:0}
.reading-layout .side-link{border-left:0;border-radius:9px;margin-bottom:3px}
.reading-layout .side-link.active{background:color-mix(in srgb,var(--red) 12%,var(--bg))}
/* Course editorial system: navigation / lesson surface / working notes. */
.tm-course.tm-beginner{--lesson-surface:color-mix(in srgb,var(--bg) 94%,var(--ink));--lesson-input:color-mix(in srgb,var(--bg) 97%,var(--ink));--lesson-edge:color-mix(in srgb,var(--ink) 10%,transparent);--lesson-radius:18px}
.tm-course.tm-beginner .tm-course-sidebar{border-right:0;padding-right:18px;top:68px;max-height:calc(100dvh - 68px)}
.tm-beginner .sidebar-title,.tm-beginner .reading-group,.tm-beginner .reading-group-title,.tm-beginner .side-utilities{border:0}
.tm-beginner .sidebar-title{padding-bottom:24px}.tm-beginner .reading-group{margin-bottom:24px}.tm-beginner .reading-group-title{padding:0 10px 10px}
.tm-beginner .side-link{border:0!important;border-radius:10px;margin:4px 0;padding:11px 12px!important;transition:background .18s}
.tm-beginner .side-link.active{background:color-mix(in srgb,var(--red) 12%,var(--bg));color:var(--ink)}
.tm-beginner .side-link:hover{background:var(--lesson-surface)}.tm-beginner .side-utilities{padding-top:6px}
.tm-beginner .tm-beginner-heading{margin-bottom:28px}.tm-beginner .tm-beginner-heading>small{color:var(--muted);font-size:10px}.tm-beginner .tm-beginner-heading h1{font-size:30px;line-height:1.35}
.tm-course.tm-beginner .tm-learning-map{gap:17px;margin-bottom:28px}
.tm-course.tm-beginner .tm-learning-map button{background:transparent;border-radius:10px;padding:8px 6px}
.tm-course.tm-beginner .tm-learning-map button.is-here{background:var(--lesson-surface)}.tm-learning-map button+button:before{color:var(--muted)}
.tm-course.tm-beginner button:not([data-stage]):not([data-pane]),.tm-course.tm-beginner .tw-upload,.tm-course.tm-beginner .tw-step-footer>button,.tm-course.tm-beginner .tm-video-buttons>a{border-radius:999px!important;padding:9px 17px;font-size:11px;line-height:1.5;min-height:36px}
.tm-course.tm-beginner .tw-primary{background:var(--red);color:#fff;border:1px solid transparent;font-weight:600}
.tm-course.tm-beginner .tw-primary:hover{background:color-mix(in srgb,var(--red) 88%,black);color:#fff}
.tm-course.tm-beginner :is(button,a,input,textarea):focus-visible{outline:2px solid var(--red);outline-offset:3px}
.tm-beginner .tw-step-footer{border:0!important;margin-top:24px!important;padding:0!important;display:flex;justify-content:space-between}
.tm-course.tm-beginner .tw-step-footer>button{min-width:115px;min-height:42px}
.tm-beginner .tm-task-purpose{background:var(--lesson-surface);border-radius:12px;padding:15px 20px;margin-bottom:24px;gap:30px}
.tm-task-purpose>span{flex:1}.tm-beginner .tm-task-purpose b{color:var(--red);font-size:10px;margin-bottom:6px}
.tm-beginner-sheet{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:26px;align-items:stretch}
.tm-beginner-sheet>.tm-worked-example,.tm-beginner-sheet>.tm-my-work{background:var(--lesson-surface);border-radius:var(--lesson-radius);padding:24px;min-width:0}
.tm-beginner .tw-content .tm-beginner-sheet h3{font-size:17px;margin:0 0 20px}
.tm-beginner-sheet>.tm-my-work{background:transparent;padding:22px 0 18px 4px}
.tm-beginner .tw-field>span{color:var(--muted);font-size:11px;margin:0 0 8px}
.tm-beginner .tw-field :is(input,textarea){background:var(--lesson-surface);border:1px solid var(--lesson-edge);border-radius:12px;padding:12px 14px;line-height:1.8}
.tm-beginner .tw-field{margin-bottom:17px}
.tm-beginner .tm-direct-prompt{background:var(--lesson-surface);padding:22px;border-radius:var(--lesson-radius);margin-top:22px}
.tm-beginner .tm-worked-example .tm-direct-prompt{padding:20px 0 0;background:transparent;border-radius:0}
.tm-beginner .tm-direct-prompt .tw-prompt{border:0;background:transparent;padding:0}
.tm-beginner .tm-direct-prompt .tw-prompt header{align-items:center;gap:12px;padding-bottom:14px}
.tm-beginner .tw-content .tm-direct-prompt .tw-prompt h3{color:var(--red);font-size:12px;margin:0;line-height:1.6}
.tm-beginner .tm-direct-prompt .tw-prompt pre{background:var(--lesson-input);border:0;border-radius:12px;padding:16px;font-size:12px;line-height:1.85}
.tm-beginner .tm-direct-prompt .tw-prompt button{flex:none;border:1px solid var(--lesson-edge);min-height:32px;padding:7px 13px;font-size:10px}
.tm-beginner .tm-question-ladder>div{grid-template-columns:90px minmax(0,1fr);gap:16px}.tm-beginner .tm-question-ladder>i{padding-left:106px}
.tm-beginner .tm-readable-shot img{border-radius:12px}
.tm-beginner .tm-shot-facts{padding:0 0 15px;gap:12px}
.tm-beginner .tm-readable-shot>div:not(.tm-shot-facts){margin-top:18px}.tm-readable-shot>div>small{color:var(--red)}
.tm-beginner .tm-asset-tasks{gap:20px}.tm-beginner .tm-asset-task{padding:20px;background:var(--lesson-surface);border-radius:var(--lesson-radius)}
.tm-course.tm-beginner .tm-asset-task>header{display:block;margin-bottom:15px}.tm-course.tm-beginner .tm-asset-task>header>button{display:block;margin-top:10px;border:1px solid var(--lesson-edge);padding:7px 12px;min-height:30px}
.tm-beginner .tm-asset-task>img{border-radius:10px}.tm-beginner .tm-asset-task .tw-field textarea{background:var(--lesson-input)}
.tm-beginner .tm-six-upload img,.tm-beginner .tm-video-references img{border-radius:10px}.tm-beginner .tm-small-timeline>span{border-radius:12px;background:var(--lesson-input)}
.tm-beginner .tm-route-workspace{gap:28px;grid-template-columns:minmax(250px,.8fr) minmax(0,1.3fr)}
.tm-beginner .tm-route-workspace .tm-route-option{border-radius:var(--lesson-radius);padding:23px!important;box-shadow:none;background:var(--lesson-surface)!important}
.tm-beginner .tm-route-workspace .tm-route-option.is-selected{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 28%,transparent)}
.tm-beginner .tm-route-workspace .tm-live-route{background:var(--lesson-surface);padding:22px;border-radius:var(--lesson-radius);min-height:0;box-sizing:border-box}
.tm-beginner .tm-route-preview>small{color:var(--red)}.tm-beginner .tm-route-preview h2{font-size:22px}
.tm-beginner .tm-route-demo{border-radius:12px;height:180px}.tm-beginner .tm-route-common{padding:6px 2px}
.tm-beginner .tm-orientation{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px 30px}
.tm-beginner .tm-orientation-lead{position:relative;display:flex;align-items:end;min-height:330px;margin:0;padding:27px;border-radius:var(--lesson-radius);overflow:hidden;background:#111;color:white;isolation:isolate}
.tm-beginner .tm-orientation-lead>div{position:relative;z-index:2}.tm-beginner .tm-orientation-lead h2{font-size:30px;line-height:1.35;margin:9px 0 12px;color:#fff}
.tm-beginner .tm-orientation-lead>figure{position:absolute;inset:0;z-index:-1;margin:0}
.tm-beginner .tm-orientation-lead>figure:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.4) 35%,#0b0b0b 100%)}
.tm-beginner .tm-orientation-lead img{height:100%;width:100%;max-height:none;aspect-ratio:auto;object-fit:cover}
.tm-beginner .tm-orientation-lead figcaption{display:none}.tm-beginner .tm-orientation-lead small{color:#ddd}.tm-beginner .tw-content .tm-orientation-lead p{color:#d0d0d0;font-size:12px;line-height:1.8;max-width:48ch}
.tm-beginner .tm-course-promise{display:flex;flex-direction:column;justify-content:space-between;gap:22px;margin:0;padding:6px 0}
.tm-beginner .tm-course-promise small{color:var(--red);font-size:10px}.tm-beginner .tw-content .tm-course-promise h3{font-size:17px;margin:8px 0}
.tm-beginner .tw-content .tm-course-promise p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}
.tm-beginner .tm-orientation>.tm-section-title{grid-column:1/-1;margin:7px 0 -12px!important;font-size:15px!important}
.tm-beginner .tm-orientation>.tm-tool-primer{grid-column:1/-1;background:var(--lesson-surface);border-radius:var(--lesson-radius);padding:22px;margin:0;gap:20px}
.tm-beginner .tm-orientation .tm-tool-primer i{color:var(--red);font-size:21px}.tm-beginner .tm-orientation .tm-tool-primer h3{font-size:14px;margin:0 0 6px!important}
.tm-beginner .tm-orientation-bottom{grid-column:1/-1;gap:30px}
.tm-beginner .tw-content .tm-orientation-bottom p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.tm-beginner .tm-orientation-bottom b{color:var(--ink);font-size:12px}
@media(min-width:1550px){.tm-beginner .tm-orientation-lead{min-height:370px}.tm-beginner .tm-course-promise{padding:15px 0}.tm-beginner .tw-content .tm-course-promise h3{font-size:20px}}
@media(max-width:1000px){.tm-beginner .tm-orientation{grid-template-columns:minmax(0,1.2fr) minmax(230px,1fr);gap:22px}.tm-beginner .tm-orientation-lead{padding:22px}.tm-beginner .tm-orientation-lead h2{font-size:25px}.tm-beginner .tm-route-workspace{gap:20px;grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr)}.tm-beginner .tm-route-workspace .tm-live-route{padding:20px}.tm-beginner .tm-asset-task{padding:15px}.tm-beginner-sheet{gap:22px}.tm-beginner-sheet>.tm-worked-example{padding:20px}.tm-beginner .tm-question-ladder>div{grid-template-columns:1fr;gap:2px}.tm-beginner .tm-question-ladder>i{padding-left:0}}
@media(max-width:700px){.tm-beginner .tm-orientation,.tm-beginner .tm-route-workspace,.tm-beginner-sheet{grid-template-columns:1fr}.tm-beginner .tm-orientation-lead{min-height:320px}.tm-beginner .tm-course-promise{gap:22px;padding:5px}.tm-beginner .tm-orientation>.tm-tool-primer{grid-template-columns:1fr 1fr;padding:20px;gap:22px}.tm-beginner .tm-orientation-bottom{grid-template-columns:1fr;gap:18px}.tm-beginner .tm-route-workspace .tm-beginner-routes{grid-template-columns:1fr}.tm-beginner .tm-route-workspace .tm-route-option{min-height:180px}.tm-beginner-sheet>.tm-my-work{padding:4px}.tm-beginner .tm-asset-tasks{grid-template-columns:1fr}.tm-beginner .tm-task-purpose{gap:16px;padding:16px}.tm-beginner .tm-beginner-heading h1{font-size:26px}.tm-beginner .tm-learning-map{margin-bottom:22px}}

/* The course reads as a making log: intent, evidence, assets, then action. */
.tm-case-intro>header{max-width:760px;padding:0 0 24px}
.tm-case-intro>header>small,.tm-case-reading small,.tm-case-output>small{display:block;color:var(--red);font-size:10px;letter-spacing:.06em}
.tm-case-intro>header h2{max-width:24ch;margin:10px 0 12px;font-size:clamp(25px,2.2vw,32px);line-height:1.4}
.tm-beginner .tw-content .tm-case-intro>header p{max-width:62ch;margin:0;color:var(--muted);font-size:14px;line-height:1.9}
.tm-case-hero{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);align-items:center;gap:28px;margin:0;background:var(--lesson-surface);color:var(--ink);border-radius:16px;padding:20px;overflow:hidden;min-width:0}
.tm-case-hero img{display:block;width:100%;height:clamp(180px,28vh,280px);min-height:0;max-height:280px;object-fit:contain;border-radius:10px;background:#090909;min-width:0}
.tm-case-hero figcaption{display:flex;flex-direction:column;justify-content:center;align-self:center;padding:8px 8px 8px 0;min-width:0}
.tm-case-hero figcaption b{font-size:19px;line-height:1.45}.tm-case-hero figcaption span{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.85}
.tm-case-reading{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin:42px 0;padding-bottom:40px;border-bottom:1px solid var(--lesson-edge)}
.tm-case-reading h3{margin:10px 0 12px;font-size:17px;line-height:1.5}.tm-beginner .tw-content .tm-case-reading p{margin:0;color:var(--muted);font-size:12px;line-height:1.85}
.tm-case-output{margin:0 0 38px}.tm-case-output>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:13px;background:var(--lesson-edge)}
.tm-case-output b{padding:18px;background:var(--lesson-surface);font-size:12px;font-weight:600}
.tm-case-intro>.tm-tool-primer{margin:12px 0 36px;padding:0;background:transparent;border-radius:0;border-top:1px solid var(--lesson-edge);border-bottom:1px solid var(--lesson-edge)}
.tm-case-intro>.tm-tool-primer>section{padding:22px 12px}.tm-case-note{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding-top:4px}
.tm-beginner .tw-content .tm-case-note p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.tm-case-note b{color:var(--ink)}.tm-case-note>small{grid-column:1/-1;color:var(--muted);font-size:10px}

.tm-creation-chain{margin:0 0 34px;padding:18px 20px 20px;background:var(--lesson-surface);border-radius:14px}
.tm-creation-chain>header{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin-bottom:14px}
.tm-creation-chain>header small{color:var(--red);font-size:10px;font-weight:650}.tm-beginner .tw-content .tm-creation-chain>header p{margin:0;color:var(--muted);font-size:10px}
.tm-creation-chain>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tm-creation-chain article{position:relative;display:grid;grid-template-columns:27px 1fr;gap:3px 8px;padding:14px;border:1px solid var(--lesson-edge);border-radius:10px;background:var(--bg)}
.tm-creation-chain article>span{grid-row:1/3;color:var(--muted);font:10px/1.5 Arial,sans-serif}.tm-creation-chain article>b{font-size:12px}.tm-creation-chain article>small{color:var(--muted);font-size:10px}
.tm-creation-chain article.is-current{border-color:var(--red);box-shadow:inset 3px 0 0 var(--red)}.tm-creation-chain article.is-current>span{color:var(--red)}.tm-creation-chain article.is-done{opacity:.58}
@media(max-width:900px){.tm-case-hero{grid-template-columns:1fr}.tm-case-hero img{height:auto;aspect-ratio:16/9;min-height:0;max-height:240px}.tm-case-hero figcaption{padding:0}.tm-case-reading{grid-template-columns:1fr;gap:24px}.tm-case-output>div{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.tm-case-output>div,.tm-case-note{grid-template-columns:1fr}.tm-case-note>small{grid-column:auto}.tm-creation-chain>header{display:block}.tm-beginner .tw-content .tm-creation-chain>header p{margin-top:5px}.tm-creation-chain>div{display:flex;overflow-x:auto}.tm-creation-chain article{min-width:180px}}
