@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{--tm-bg:#090b0e;--tm-panel:#111419;--tm-white:#f4f1e9;--tm-muted:#a9aaa9;--tm-orange:#ff713d;--tm-light:#ffa779;--tm-line:#ffffff26}
html{scroll-padding-top:110px;scroll-behavior:smooth}body.tmars-site{margin:0!important;background:var(--tm-bg)!important;color:var(--tm-white)!important;font-family:'Noto Sans TC',sans-serif!important;font-size:18px;line-height:1.8}body.tmars-site *{box-sizing:border-box}body.tmars-site [hidden]{display:none!important}body.tmars-site img{max-width:100%;height:auto}body.tmars-site a{color:var(--tm-light);text-underline-offset:5px}body.tmars-site :is(h1,h2,h3,h4){color:var(--tm-white);line-height:1.4;letter-spacing:-.025em}body.tmars-site :is(p,li){overflow-wrap:anywhere}body.tmars-site :is(button,input,select,textarea){font:inherit}body.tmars-site :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--tm-orange)!important;outline-offset:5px}body.tmars-site button{cursor:pointer}body.tmars-site button:disabled{opacity:.45;cursor:default}
body.tmars-site>header:not(#tm-header):not(:has(h1)),body.tmars-site .masthead,.has-blake-header>header:not(#tm-header):not(:has(h1)),body.tmars-site #blake-global-header{display:none!important}body.tmars-site{padding-top:0!important}.tm-skip{position:fixed;top:-80px;left:20px;z-index:500;background:var(--tm-orange);padding:10px 20px;color:#090b0e!important}.tm-skip:focus{top:12px}
#tm-header{position:sticky;top:0;z-index:150;background:#090b0ef5;backdrop-filter:blur(18px);border-bottom:1px solid var(--tm-line);padding:18px max(24px,4vw);margin:0;width:100%;max-width:none;display:flex;align-items:center;justify-content:space-between;gap:28px;line-height:1.4;min-height:88px}#tm-header a{text-decoration:none}.tm-brand{display:flex;gap:12px;align-items:center;text-decoration:none!important;color:var(--tm-white)!important;flex-shrink:0}.tm-brand img{width:34px!important;height:40px!important;object-fit:contain}.tm-brand b{font:700 27px/1 'Barlow Condensed',sans-serif;letter-spacing:.05em;display:block}.tm-brand small{font-size:11px;letter-spacing:.12em;display:block;margin-top:7px;color:var(--tm-muted)}.tm-desktop-nav{display:flex;gap:28px;font-size:14px}.tm-desktop-nav a{color:var(--tm-white)!important}.tm-desktop-nav a:hover,.tm-desktop-nav a[aria-current]{color:var(--tm-orange)!important}.tm-menu{position:relative;font-size:14px}.tm-menu summary{list-style:none;cursor:pointer;border:1px solid #ff713d70;padding:10px 16px;color:var(--tm-light);white-space:nowrap}.tm-menu summary::-webkit-details-marker{display:none}.tm-menu summary span{padding-left:12px}.tm-menu-body{position:absolute;right:0;top:calc(100% + 12px);width:min(310px,calc(100vw - 32px));background:var(--tm-panel);padding:22px;border:1px solid var(--tm-line);box-shadow:0 16px 50px #0009;max-height:calc(100dvh - 120px);overflow:auto}.tm-menu-body nav{display:grid;gap:2px;margin-bottom:18px}.tm-menu-body a{padding:8px 0;display:block}.tm-menu-body .google-account{display:grid;gap:10px;border-top:1px solid var(--tm-line);padding-top:18px;margin:0}.tm-menu-body button{background:transparent;color:var(--tm-white);border:1px solid var(--tm-line);padding:9px 12px;min-height:44px}.tm-menu-body #account-label{font-size:13px;color:var(--tm-muted)}
.tm-home-intro,.tm-section{padding:58px 0;max-width:1200px;margin:0 auto}.tm-home-intro{padding-top:56px;padding-bottom:44px}.tm-eyebrow{color:var(--tm-orange)!important;font:600 14px/1.5 'Barlow Condensed','Noto Sans TC',sans-serif;letter-spacing:.1em;margin:0 0 16px}.tm-home-intro h1{font-size:clamp(34px,4.4vw,58px);margin:12px 0 20px;line-height:1.25;max-width:1000px}.tm-home-intro h1 em{font-style:normal;color:var(--tm-orange)}.tm-home-intro>p:not(.tm-eyebrow){color:var(--tm-muted);max-width:780px;font-size:18px}.tm-home-search{display:flex;max-width:720px;border-bottom:1px solid #f4f1e960;margin-top:28px}.tm-home-search input{border:0;background:transparent;color:var(--tm-white);padding:15px 0;width:100%;min-width:0}.tm-home-search button{border:0;background:transparent;color:var(--tm-orange);white-space:nowrap;padding:10px 16px}.tm-section{border-top:1px solid var(--tm-line)}.tm-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.tm-section-head h2{font-size:34px;margin:0}.tm-section-head h3{margin:0;font-size:23px}.tm-section-head .tm-eyebrow{margin-bottom:8px}.tm-section-intro{color:var(--tm-muted);margin-top:-7px;margin-bottom:30px}.tm-text-link{font-size:15px;white-space:nowrap}.tm-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}.tm-course-card{background:transparent!important;padding:26px 0;border-top:1px solid var(--tm-line);min-width:0;display:flex;flex-direction:column}.tm-course-card .tm-eyebrow{font-family:inherit;font-size:12px;letter-spacing:.06em;margin-bottom:14px}.tm-course-card h3{margin:0 0 16px;font-size:22px;line-height:1.5}.tm-course-card h3 a{color:var(--tm-white)!important;text-decoration:none}.tm-course-card h3 a:hover{color:var(--tm-orange)!important}.tm-course-card>p:not(.tm-eyebrow){font-size:16px;color:var(--tm-muted);line-height:1.85;margin:0 0 24px}.tm-card-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:auto;align-items:center;font-size:13px}.tm-card-bottom>span{color:var(--tm-muted)}.tm-arrow{text-decoration:none;white-space:nowrap}.tm-sessions{margin-top:40px}.tm-session{display:grid;grid-template-columns:130px 1fr auto;gap:24px;align-items:center;border-top:1px solid var(--tm-line);padding:22px 0}.tm-session time{font:600 22px/1 'Barlow Condensed',sans-serif;color:var(--tm-orange)}.tm-session h3{font-size:18px;margin:0 0 4px}.tm-session h3 a{color:var(--tm-white)!important;text-decoration:none}.tm-session p{font-size:13px;color:var(--tm-muted);margin:0}.tm-session>.tm-arrow{font-size:14px}.tm-caption{font-size:13px;color:var(--tm-muted)}
.tmars-home main{max-width:none;margin:0;padding:0 4vw}.tmars-home :is(.directory,.install,.about,.github-recommended,.platform-guides){background:transparent!important;color:var(--tm-white);max-width:1200px;margin:auto;padding:60px 0!important;border-top:1px solid var(--tm-line)}.tmars-home :is(.directory-heading h2,.install h2,.about h2,.recommend-heading h2){font-size:32px}.tmars-home :is(.search-bar,.filter-row,.results-line,.search-label){background:transparent;color:var(--tm-white)}.tmars-home :is(.platform-tab,.skill,.recommend-card,.install-grid article,.source-note,.platform-guide,.platform-box){background:var(--tm-panel)!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important}.tmars-home :is(.skill h3,.recommend-card h3){color:var(--tm-white)!important}.tmars-home :is(.skill p,.skill-requirements,.skill-meta,.recommend-card p,.directory-heading p,.install p,.about p){color:var(--tm-muted)!important}.tmars-home :is(.platform-tab.active,.collection-tabs .active){background:#352018!important;color:var(--tm-light)!important;border-color:var(--tm-orange)!important}.tmars-home :is(.search-label input,select){background:var(--tm-panel);color:var(--tm-white);border-color:var(--tm-line)}.tmars-home .platform-tab small{color:var(--tm-muted)}.tmars-home .catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.tmars-home .skill{padding:24px}.tmars-home :is(.skill button,.skill a,.recommend-card a){color:var(--tm-light)}.tmars-home :is(.badge,.tag,.platform-pill,.platform-label){background:#282c32;color:var(--tm-white)}.tmars-home .hero-decoration{display:none}.tmars-home .section-kicker{color:var(--tm-orange)}.tmars-home #access-status:empty{display:none}body.tmars-site dialog{background:var(--tm-panel)!important;color:var(--tm-white)!important;border:1px solid var(--tm-line);max-width:min(800px,92vw)}body.tmars-site dialog::backdrop{background:#000b}body.tmars-site dialog :is(p,li,small){color:var(--tm-white)}body.tmars-site dialog :is(.verification,.platform-install,.fine-print,pre){background:#1c2129!important;color:var(--tm-white)!important}body.tmars-site dialog button{color:var(--tm-light);background:transparent}body.tmars-site dialog table{color:var(--tm-white)}
.tmars-catalog #tm-main,.tmars-course #tm-main{max-width:1200px;padding:48px 4vw;margin:auto}.tm-page-intro h1{font-size:clamp(34px,4vw,54px);margin:14px 0}.tm-page-intro>p{max-width:780px;color:var(--tm-muted)}.tm-breadcrumb{font-size:13px;margin-bottom:24px}.tm-filters{display:flex;gap:16px;flex-wrap:wrap;padding:24px 0;border-bottom:1px solid var(--tm-line);margin-bottom:16px}.tm-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--tm-muted)}.tm-filters label:first-child{flex:1;min-width:210px}.tm-filters :is(input,select){min-height:46px;padding:10px 12px;background:var(--tm-panel);color:var(--tm-white);border:1px solid #ffffff40;border-radius:0;font-size:15px;max-width:100%}.tm-filters>button{align-self:end;min-height:46px;padding:8px 20px;background:var(--tm-orange);color:var(--tm-bg);border:0}.tm-pagination{display:flex;justify-content:center;align-items:center;gap:24px;margin:32px 0 50px;font-size:15px}.tm-pagination button,.tm-empty button{background:transparent;border:1px solid var(--tm-line);color:var(--tm-white);padding:10px 20px;min-height:44px}.tm-history{border-top:1px solid var(--tm-line);margin-top:50px;padding:28px 0}.tm-history>summary{cursor:pointer;font-size:22px;color:var(--tm-white)}.tm-history table{width:100%;border-collapse:collapse;font-size:14px}.tm-history th,.tm-history td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--tm-line)}.tm-history thead{background:var(--tm-panel)}.tm-history .history-table-wrap{overflow:auto}.tm-history :is(.note,p){color:var(--tm-muted)}
.tmars-course #tm-main{max-width:960px}.tmars-course .tm-page-intro{margin-bottom:30px}.tmars-course .tm-original{font-size:13px}.tmars-course .tm-legacy-content{max-width:800px}.tmars-course .tm-legacy-content>section{margin:38px 0}.tmars-course :is(.row,.links){border-color:var(--tm-line)}.tmars-course .row{padding:24px 0}.tmars-course .links{display:flex;flex-wrap:wrap;gap:12px}.tmars-course .button,.tmars-course .download{display:inline-block;padding:10px 16px;border:1px solid #ffa77970;color:var(--tm-light);text-decoration:none;margin-bottom:8px;border-radius:0;background:transparent}.tmars-course .button{background:var(--tm-orange);color:var(--tm-bg)}.tmars-course :is(.note,.status){color:var(--tm-muted)}.tm-toc{display:flex;flex-wrap:wrap;gap:12px 20px;border-block:1px solid var(--tm-line);padding:22px 0;margin:30px 0;font-size:14px}.tm-toc strong{width:100%;color:var(--tm-white)}.tm-related{border-top:1px solid var(--tm-line);padding:28px 0;margin-top:45px;display:flex;gap:28px;font-size:15px}
.tmars-lesson main{max-width:1100px!important;margin-inline:auto!important}.tmars-lesson :is(main,section,article,.slide,.card,.panel,.box,.content,.note,.surface,.step,.flow-card){border-color:var(--tm-line)!important}.tmars-lesson :is(.card,.panel,.box,.note,.surface,.flow-card){background:var(--tm-panel)!important;color:var(--tm-white)!important}.tmars-lesson :is(main,main p,main li,main h1,main h2,main h3){color:var(--tm-white)}.tmars-lesson :is(input,textarea,select){background:var(--tm-panel);color:var(--tm-white)}.tmars-lesson pre{white-space:pre-wrap;overflow:auto;max-width:100%}.tmars-lesson table{display:block;overflow-x:auto;max-width:100%}.tm-lesson-return{padding:16px 4vw;border-bottom:1px solid var(--tm-line);font-size:13px;display:flex;gap:20px;flex-wrap:wrap;background:var(--tm-panel)}.tm-footer{max-width:1200px!important;margin:0 auto!important;padding:48px 0!important;border-top:1px solid var(--tm-line)!important;display:flex;flex-wrap:wrap;align-items:center;gap:24px;background:transparent!important}.tm-footer p{font-size:14px;color:var(--tm-muted);flex:1}.tm-footer nav{display:flex;flex-wrap:wrap;gap:20px;font-size:13px}.tm-footer a{color:var(--tm-white)}.tmars-site> .tm-footer{width:92%}
@media(max-width:1000px){.tm-desktop-nav{display:none}.tm-course-grid,.tmars-home .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}#tm-header{gap:12px}.tmars-lesson main{padding-inline:22px!important}}
@media(max-width:600px){#tm-header{padding:14px 18px;min-height:80px}.tm-brand b{font-size:23px}.tm-brand img{width:28px!important;height:34px!important}.tm-brand small{font-size:10px}.tm-menu{font-size:12px}.tm-menu summary{padding:10px}.tm-menu summary span{padding-left:2px}.tmars-home main{padding:0 22px}.tm-home-intro{padding-top:30px;padding-bottom:30px}.tm-home-intro h1{font-size:34px}.tm-home-intro>p:not(.tm-eyebrow){font-size:16px}.tm-home-search{margin-top:18px;font-size:14px}.tm-home-search button{padding-right:0}.tm-section{padding:35px 0}.tm-section-head{align-items:start;gap:12px;flex-wrap:wrap}.tm-section-head h2{font-size:28px}.tm-course-grid,.tmars-home .catalog{grid-template-columns:1fr}.tm-course-card{padding:22px 0}.tm-course-card h3{font-size:22px}.tm-section-intro{font-size:15px}.tm-session{grid-template-columns:1fr;gap:10px;padding:20px 0}.tm-session time{font-size:20px}.tm-session>.tm-arrow{justify-self:start}.tmars-site{font-size:16px!important}.tmars-home .directory{padding-top:35px!important}.tmars-home .platform-tabs{display:grid;grid-template-columns:1fr 1fr}.tmars-home .filter-row{display:block}.tmars-home .select-filters{display:flex;flex-wrap:wrap;margin-top:15px;gap:10px}.tm-filters label{flex:1;min-width:130px}.tm-filters label:first-child{flex-basis:100%}.tmars-catalog #tm-main,.tmars-course #tm-main{padding:30px 22px}.tm-footer{display:block!important;padding:32px 0!important}.tm-footer nav{margin-top:22px}.tmars-course .links{display:block}.tmars-course .links a{margin-right:8px}.tmars-lesson :is(h1,h2){overflow-wrap:anywhere}.tm-related{flex-direction:column;gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.tmars-site *,body.tmars-site *::before,body.tmars-site *::after{animation:none!important;transition:none!important}}
/* Course-specific legacy containers share the same reading palette. */
body.tmars-lesson{--paper:#090b0e;--card:#111419;--ink:#f4f1e9;--ink-2:#a9aaa9;--line:#ffffff26;--blue:#ff713d;--blue-soft:#352018;--sun:#ffa779;--sun-soft:#352018;--green:#ffa779;--green-soft:#27231f;--bg:#090b0e;--surface:#111419;--text:#f4f1e9;--muted:#a9aaa9;--accent:#ff713d;--navy:#111419}
body.tmars-lesson #tm-header{height:auto;max-height:none}body.tmars-lesson #tm-header details{padding:0;margin:0;border:0;border-radius:0;background:transparent}body.tmars-lesson #tm-header summary{background:transparent;border-radius:0;font-size:14px}
body.tmars-lesson :is(.hero,.slide,.bar,.controls,.pager,.bottom-nav,.deck-nav,.nav-controls,.present-controls){background:var(--tm-bg)!important;color:var(--tm-white)!important;background-image:none!important}body.tmars-lesson .bar .logo,body.tmars-lesson .bar .t{display:none}body.tmars-lesson .bar{position:relative!important;top:auto!important}body.tmars-lesson .bar .in{padding:12px 22px!important;min-width:0;max-width:100%;flex-wrap:wrap}body.tmars-lesson .bar nav{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;min-width:0;margin:0}body.tmars-lesson .bar nav a{color:var(--tm-white);background:var(--tm-panel)}body.tmars-lesson .bar nav a.on{background:var(--tm-orange);color:#090b0e}body.tmars-lesson main a{color:var(--tm-light)}body.tmars-lesson :is(.lead,.subtitle,.description,.kicker){color:var(--tm-muted)!important}body.tmars-lesson .hero{border-radius:0;padding-top:48px;padding-bottom:48px}body.tmars-lesson .hero h1{font-size:clamp(34px,4.5vw,62px)}
body.tmars-lesson #v3-site-footer{background:#111419f5!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important}body.tmars-lesson #v3-site-footer button{background:var(--tm-panel)!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important;border-radius:2px}body.tmars-lesson #v3-site-footer #v3-next{background:var(--tm-orange)!important;color:var(--tm-bg)!important}body.tmars-lesson #v3-site-footer a{color:var(--tm-light)!important}body.tmars-lesson :is(.think,.qa dl>div,.strip,.pn){background:var(--tm-panel)!important;color:var(--tm-white)!important;box-shadow:none!important}body.tmars-lesson :is(.think p,.think h3,.qa dd,.qa dt,.strip p,.pn p){color:var(--tm-white)!important}body.tmars-lesson .think .opts button{background:#272c34!important;color:var(--tm-white)!important}body.tmars-lesson .tech-keyword{color:var(--tm-orange)!important}
body.tmars-course .tm-page-intro h1{font-size:clamp(30px,3.2vw,44px);text-wrap:balance}body.tmars-site :is(.tm-home-intro h1,.tm-page-intro h1,.tm-course-card h3){text-wrap:balance}body.tmars-lesson :is(.toolbar,.deck-controls,.presentation-controls,.slide-controls){background:var(--tm-panel)!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important}@media(max-width:600px){.tm-home-intro h1 em{display:block}}
body.tmars-lesson{--white:#111419;--soft:#1c2129}body.tmars-lesson :is(.module,.hero-map,.resources){background:var(--tm-panel)!important;color:var(--tm-white)!important}body.tmars-lesson .button{background:var(--tm-orange)!important;color:var(--tm-bg)!important;border-color:var(--tm-orange)!important}body.tmars-lesson .button.alt{background:transparent!important;color:var(--tm-light)!important}body.tmars-lesson :is(.bottom,.bottom-bar,.nav-bar){background:var(--tm-panel)!important;color:var(--tm-white)!important}body.tmars-lesson :is(.bottom,.bottom-bar,.nav-bar) button{color:var(--tm-white)!important;border-color:var(--tm-line)!important}

.tm-course-card>p.tm-audience{font-size:13px;margin-top:-12px;margin-bottom:20px}.tm-section-intro{font-size:16px}

body.tmars-lesson>header:has(h1){display:block!important;position:static!important;width:auto;max-width:1100px;margin:28px auto 0;padding:28px;color:var(--tm-white);background:transparent}body.tmars-lesson .contents a{background:var(--tm-panel)!important;color:var(--tm-light)!important;border:1px solid var(--tm-line);min-height:44px;padding:10px 14px}body.tmars-lesson>header:has(h1) p{color:var(--tm-muted)}

body.tmars-lesson :is(.teaching-module,.module-points li,.exercise,.example,.source-links a,.table-wrap thead){background:var(--tm-panel)!important;color:var(--tm-white)!important}body.tmars-lesson .module-points li::before,body.tmars-lesson .eyebrow{color:var(--tm-light)!important}body.tmars-lesson .source-links a{color:var(--tm-light)!important}

/* Keep catalogue actions and badges legible on the shared dark surface. */
body.tmars-site :is(.download,.skill-download,.readiness,.platform-badge){background:#1c2129!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important}
body.tmars-site :is(.download,.skill-download) span{color:var(--tm-light)!important}
body.tmars-site :is(.card-meta,.recommend-meta,.compatibility-note,.recommend-intro,.recommend-disclaimer,.details-button,.platform-zone>p,.platform-icon,.blake-reason,.collection-tabs button){color:var(--tm-muted)!important}
body.tmars-site :is(.card-meta,.recommend-meta) span{color:var(--tm-muted)!important}
#tm-header a,.tm-lesson-return a{background:transparent!important}
body.tmars-lesson footer:not(.tm-footer){color:var(--tm-muted)!important}
/* Existing teaching diagrams keep their images; text panels use the same palette. */
body.tmars-lesson :is(.artifact-row,.course-preview,.round-card,.artifact-preview,.prompt-box,.prompt,.unit-link,.callout,.install-window,.window-chrome,.work-toggle,.teacher,.hero-note,.help-note,.reveal-item,.team-widget,.relay-detail,.relay-state,.bubble,.bd-floating,blockquote){background:var(--tm-panel)!important;color:var(--tm-white)!important}
body.tmars-lesson :is(.artifact-row,.course-preview,.round-card,.artifact-preview,.work-toggle,.install-window,.window-chrome) :is(p,span,small,b,strong,td,th,li){color:var(--tm-white)!important}
body.tmars-lesson :is(.rounds,.flow,.team-time)>span,body.tmars-lesson .download-row a,body.tmars-lesson main>nav a{background:var(--tm-panel)!important;color:var(--tm-light)!important}
body.tmars-lesson :is(.kicker,.num,.demo-label,.status,figcaption){color:var(--tm-muted)!important;background:transparent!important}
body.tmars-lesson .dl a.main{background:var(--tm-orange)!important;color:var(--tm-bg)!important}
body.tmars-lesson button{background:var(--tm-panel)!important;color:var(--tm-white)!important;border-color:var(--tm-line)!important}
body.tmars-lesson .closing{background:var(--tm-panel)!important}
body.tmars-lesson>aside{background:var(--tm-panel)!important;color:var(--tm-white)!important}
body.tmars-site .skip{background:var(--tm-orange)!important;color:var(--tm-bg)!important}
body.tmars-home :is(.blake-reason,code,.recommend-contact a){background:var(--tm-panel)!important;color:var(--tm-white)!important}
body.tmars-home :is(.install-grid p,.recommend-heading p){color:var(--tm-muted)!important}
body.tmars-lesson :is(.process-steps>div,.flow-legend>li,.before-after>div,.scenario-output li,.artifact-preview>div,.upload-file,.role-grid article,.course-roles article){background:var(--tm-panel)!important;color:var(--tm-white)!important}
body.tmars-lesson :is(.process-steps>div,.flow-legend>li,.artifact-preview>div) :is(span,b,small,strong){color:var(--tm-white)!important}
body.tmars-lesson :is(.flow,.team-widget,.content-grid) article{background:var(--tm-panel)!important}
body.tmars-lesson th{background:var(--tm-panel)!important;color:var(--tm-white)!important}
body.tmars-lesson .visual{color:var(--tm-bg)!important}
body.tmars-lesson .step-number,body.tmars-lesson .panel summary{color:var(--tm-light)!important}
body.tmars-home .blake-reason strong,body.tmars-lesson :is(.bd-floating b,.team-widget dt,.content-grid article strong,.person-role){color:var(--tm-light)!important}
body.tmars-lesson main a :is(span,strong){color:inherit!important}
body.tmars-lesson .visual.game{color:var(--tm-white)!important}
body.tmars-lesson footer small{color:var(--tm-muted)!important}
body.tmars-site .tm-footer a{background:transparent!important}
body.tmars-lesson .content-grid article b{color:var(--tm-light)!important}

/* v86: persistent course search, including mobile teaching pages. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#tm-header{gap:20px;flex-wrap:wrap}.tm-header-search{display:flex;align-items:center;flex:1 1 240px;max-width:360px;min-width:200px;border:1px solid #53575d;background:#111419;border-radius:10px;margin:0!important;overflow:hidden}
.tm-header-search input{width:100%;min-width:0;border:0!important;border-radius:0!important;padding:12px 14px!important;background:transparent!important;color:#f4f1e9!important;font-size:16px!important;line-height:1.4!important;min-height:46px;box-shadow:none!important}
.tm-header-search input::placeholder{color:#a9aaa9}.tm-header-search button{border:0!important;border-left:1px solid #53575d!important;border-radius:0!important;background:transparent!important;color:#ffa779!important;padding:10px 14px!important;min-height:46px;font-size:14px!important;white-space:nowrap;box-shadow:none!important}
@media(max-width:700px){#tm-header{padding:12px 18px;gap:10px 16px}.tm-brand{order:1}.tm-menu{order:2;margin-left:auto}.tm-header-search{order:3;flex-basis:100%;max-width:none;width:100%;min-width:0}.tm-header-search input,.tm-header-search button{min-height:44px}.tm-header-search input{font-size:16px!important}html{scroll-padding-top:160px}}

.tm-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:40px 0}.tm-guide-grid article,.tm-history-records article{border:1px solid var(--tm-line);background:var(--tm-panel);border-radius:16px;padding:28px}.tm-guide-grid span{color:var(--tm-orange)}.tm-guide-grid h2{font-size:24px}.tm-history-records{display:grid;gap:20px;margin:32px 0}.tm-history-records h2{font-size:22px;margin:0 0 12px}.tm-history-records p{color:var(--tm-muted);font-size:15px}.tmars-skills .tm-page-intro{max-width:1200px;margin:auto;padding:40px 0}.tmars-catalog .install-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tmars-catalog .install-grid article{background:var(--tm-panel);padding:24px;border:1px solid var(--tm-line)}@media(max-width:700px){.tm-guide-grid,.tmars-catalog .install-grid{grid-template-columns:1fr}.tm-history-records article{padding:22px}}

.tm-home-compact{padding:38px 0 32px}.tm-home-compact h1{margin:8px 0 14px}.tm-quick-topics{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 0}.tm-quick-topics a{display:block;border:1px solid var(--tm-line);border-radius:30px;padding:9px 16px;text-decoration:none;font-size:14px;min-height:44px}.tm-next-steps{max-width:1200px;margin:24px auto 60px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.tm-next-steps>a{display:block;text-decoration:none;background:var(--tm-panel);border:1px solid var(--tm-line);padding:28px;border-radius:16px}.tm-next-steps span{font-family:'Barlow Condensed',sans-serif;letter-spacing:.1em;font-size:14px}.tm-next-steps h2{font-size:24px;margin:10px 0}.tm-next-steps p{font-size:16px;color:var(--tm-muted)}.tm-next-steps b{font-size:15px}.tm-member-status{font-size:13px;line-height:1.6;color:var(--tm-muted)}@media(max-width:600px){.tm-home-compact{padding:26px 0}.tm-home-compact h1{font-size:32px}.tm-home-compact>p{font-size:16px}.tm-next-steps{grid-template-columns:1fr;gap:18px;margin-bottom:35px}.tm-next-steps>a{padding:24px}.tm-quick-topics{gap:8px}.tm-quick-topics a{padding:9px 12px;font-size:13px}}

/* Purpose illustrations make each learning entry recognizable. */
.tm-course-cover{margin:0 0 22px;position:relative;overflow:hidden;border-radius:12px;background:#eee5d7}.tm-course-cover img{display:block;width:100%;aspect-ratio:12/7;object-fit:contain;max-height:240px}.tm-course-cover figcaption{position:absolute;right:10px;bottom:8px;background:#fffaf0e8;color:#534d43;font-size:10px;padding:2px 7px;border-radius:20px}

/* Airy, warm learning catalogue; the dark masthead keeps the TMARSBASE identity. */
body:is(.tmars-home,.tmars-catalog,.tmars-course){--tm-bg:#f7f4ed;--tm-panel:#fffdf8;--tm-white:#262c2c;--tm-muted:#626660;--tm-orange:#ae3b1c;--tm-light:#a7381c;--tm-line:#d6d7ce}
body:is(.tmars-home,.tmars-catalog,.tmars-course) #tm-header{--tm-bg:#090b0e;--tm-panel:#111419;--tm-white:#f4f1e9;--tm-muted:#b5b7b4;--tm-orange:#ff713d;--tm-light:#ffa779;--tm-line:#ffffff38;color:#f4f1e9}
.tm-course-grid{gap:28px}.tm-course-card{padding:20px!important;border:1px solid #d6d7ce;border-radius:18px;background:#fffdf8!important;box-shadow:0 5px 18px #302a1606}.tm-course-card .tm-eyebrow{margin:0 0 9px}.tm-course-card h3{font-size:21px;margin:0 0 13px}.tm-course-card>p:not(.tm-eyebrow){margin:0 0 22px;line-height:1.75}.tm-card-bottom{border-top:1px solid #e5e4db;padding-top:16px;gap:8px}.tm-card-bottom a{padding:8px 0;min-height:44px;display:inline-flex;align-items:center}.tm-course-cover{margin:-8px -8px 20px}.tm-home-compact{max-width:1200px}.tm-home-compact h1{font-size:clamp(34px,4.8vw,62px)}.tm-next-steps>a{background:#eee9dc}.tm-quick-topics a{background:#fffdf8}.tmars-site .tm-session{background:var(--tm-panel);border:1px solid var(--tm-line);border-radius:12px;padding:20px;margin-bottom:14px}.tmars-site .tm-footer{padding-top:40px!important}.tmars-site .tm-footer .tm-brand{color:var(--tm-white)!important}
body:is(.tmars-home,.tmars-catalog,.tmars-course) .tm-history thead{background:#ece7db}.tmars-home :is(.badge,.tag,.platform-pill,.platform-label){background:#eee9de;color:#373d39}.tmars-home :is(.platform-tab.active,.collection-tabs .active){background:#fbe4d4!important;color:#8b331b!important}.tmars-home :is(.download,.skill-download,.readiness,.platform-badge){background:#eee9de!important;color:#303732!important}.tmars-site dialog{--tm-bg:#111419;--tm-panel:#111419;--tm-white:#f4f1e9;--tm-light:#ffa779;--tm-muted:#b5b7b4}
@media(max-width:600px){.tm-course-grid{gap:24px}.tm-course-card{padding:18px!important}.tm-course-card h3{font-size:22px}.tm-course-cover{margin-bottom:18px}.tm-section{padding:32px 0}.tm-home-compact h1{font-size:34px}.tmars-home main{padding-inline:18px}}

.tm-filter-options{align-self:end;min-width:220px}.tm-filter-options summary{cursor:pointer;min-height:46px;padding:10px 14px;border:1px solid var(--tm-line);border-radius:8px}.tm-filter-options>div{display:flex;gap:14px;padding-top:16px;flex-wrap:wrap}.tm-filter-options[open]{order:3;flex-basis:100%}.tm-filter-options label{flex:1}.tm-filters :is(input,select){font-size:16px;border:1px solid #a1a69c;border-radius:8px}.tm-filters label{font-size:14px}.tm-filters label:first-child{min-width:160px}.tm-filters>button{border-radius:8px;color:#fffaf4;background:#ae3b1c;min-width:76px}.tmars-catalog .tm-page-intro{margin-bottom:16px}.tmars-catalog .tm-page-intro .tm-eyebrow{margin-bottom:8px}.tmars-catalog .tm-page-intro h1{font-size:clamp(30px,3vw,44px);margin:8px 0}.tm-history-link{margin:36px 0}.tm-search-related{padding:18px 22px;background:#eee9dc;border-radius:12px;margin:20px 0}.tm-search-related a{display:inline-block;min-height:44px;padding:8px 10px}
@media(max-width:700px){.tmars-catalog #tm-main{padding:20px 18px}.tmars-catalog .tm-breadcrumb{margin-bottom:14px}.tmars-catalog .tm-page-intro .tm-eyebrow{display:none}.tmars-catalog .tm-page-intro>p{margin:8px 0;font-size:15px}.tm-filters{gap:10px;padding:14px 0}.tm-filters label:first-child{flex-basis:calc(100% - 90px)}.tm-filter-options{order:3;min-width:0;flex-basis:100%;font-size:14px}.tm-filter-options summary{border:0;padding:6px 0;min-height:44px}.tm-filter-options>div{display:grid;grid-template-columns:1fr 1fr}.tm-filter-options label:first-child{min-width:0}.tm-filters>button{order:2}.tmars-catalog #tm-results-status{margin:12px 0 20px}}

.tm-login-return{padding:18px 0;max-width:1200px;margin:auto}.tm-download-prompt{padding:28px;border-radius:16px;width:min(520px,92vw)}.tm-download-prompt h2{color:#f4f1e9!important;font-size:24px}.tm-download-prompt [data-file]{font-size:14px;color:#b5b7b4}.tm-prompt-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:25px}.tm-prompt-actions>*{border:1px solid #aaa;padding:12px 16px;min-height:48px;border-radius:8px;text-decoration:none;color:#ffa779!important}.tm-prompt-actions a{background:#ad3c1f;color:#fff!important}

.tm-skills-more{display:block;margin:32px auto;padding:13px 26px;min-height:48px;background:#ae3b1c;color:#fff;border:0;border-radius:9px}.tmars-skills .skill{border-radius:14px!important}.tmars-skills .catalog{gap:24px}.tmars-skills .skill :is(.blake-reason,.skill-requirements,.readiness){display:none}.tmars-skills .skill :is(button,a){min-height:44px}.tmars-skills .select-filters select,.tmars-skills #skill-search{font-size:16px!important}

.tm-course-overview .tm-course-intent{padding:24px 0;border-top:1px solid var(--tm-line)}.tm-course-overview .tm-course-intent h2{font-size:25px;margin:0 0 12px}.tm-course-overview .tm-course-intent p{margin:0}.tm-course-overview :is(.tm-course-resources,.tm-course-requirements,.tm-course-sources){background:#fffdf8;border:1px solid var(--tm-line);border-radius:12px;margin:22px 0;padding:0 20px}.tm-course-overview summary{min-height:52px;padding:13px 0;cursor:pointer;font-weight:600}.tm-course-overview details>p{font-size:15px}.tm-resource-list,.tm-session-list{padding:0;list-style:none}.tm-course-overview .row{border-top:1px solid var(--tm-line)}.tm-course-overview .row .links{margin-top:18px}.tm-course-overview .tm-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-history-records article section+section{border-top:1px solid var(--tm-line);margin-top:24px;padding-top:20px}.tm-history-records h3{font-size:18px}.tmars-course .download{background:#eee9dc!important;color:#303732!important}.tmars-course .tm-course-overview .button{background:#ae3b1c;color:#fff;min-height:48px;border-radius:8px;padding:12px 20px}@media(max-width:700px){.tm-course-overview .tm-course-grid{grid-template-columns:1fr}.tm-course-overview .tm-course-intent{padding:20px 0}.tm-course-overview .tm-course-intent h2{font-size:22px}}

.tm-card-detail{font-size:13px;margin-top:8px;padding:8px 0;min-height:44px;display:flex;align-items:center;color:var(--tm-muted)!important}@media(max-width:600px){.tm-home-compact h1 em{display:inline}.tm-home-compact h1{font-size:31px}.tmars-home #latest-courses>.tm-section-head .tm-eyebrow,.tmars-home #latest-courses>.tm-section-intro{display:none}.tmars-home #latest-courses>.tm-section-head{align-items:center}.tm-home-compact .tm-quick-topics{margin-top:18px}}

/* Palette parity for legacy download components and keyboard-only navigation. */
#tm-header{background:#090b0e}.tm-skip{background:#a7381c;color:#fff!important}body.tmars-site:is(.tmars-home,.tmars-catalog,.tmars-course) :is(.download,.skill-download,.readiness,.platform-badge){background:#eee9de!important;color:#303732!important;border-color:#c7c9be!important}body.tmars-site:is(.tmars-home,.tmars-catalog,.tmars-course) :is(.download,.skill-download) span{color:#87351f!important}body.tmars-skills #platform-note{color:#626660!important}body.tmars-site:is(.tmars-home,.tmars-catalog,.tmars-course) .tm-menu-body :is(.download,.platform-badge){background:#1c2129!important;color:#f4f1e9!important}

body.tmars-native-lesson .tm-native-tools{position:static;max-width:1200px;margin:auto;background:#fffdf8;border-bottom:1px solid #d6d7ce;justify-content:space-between;padding:14px 24px;gap:16px}body.tmars-native-lesson .tm-native-tools>.brand{display:none}body.tmars-native-lesson .tm-native-tools nav{color:#303732}body.tmars-native-lesson .tm-native-tools .mode-switch button{min-height:44px}body.tmars-native-lesson .tm-native-tools .mode-switch [aria-pressed=true]{background:#303732;color:white}body.tmars-native-lesson .lx-context{border-color:#d6d7ce}body.tmars-native-lesson .tm-native-tools a{color:#87351f}body.tmars-native-lesson #tm-header :is(a,b){color:#f4f1e9}body.tmars-native-lesson #tm-header .tm-menu summary{color:#ffa779}@media(max-width:760px){body.tmars-native-lesson .tm-native-tools{padding:12px 18px}body.tmars-native-lesson .tm-native-tools nav{flex-wrap:wrap;justify-content:flex-start;order:2}body.tmars-native-lesson .tm-native-tools nav a{min-height:44px;display:inline-flex;align-items:center}}

body.tmars-site #tm-course-filters :is(input,select){font-size:16px!important}body.tmars-site #tm-header>.tm-brand{width:auto!important;flex:0 0 auto!important;max-width:none!important;margin:0!important}body.tmars-site #tm-header>.tm-menu{width:auto!important;flex:0 0 auto!important;margin:0!important}body.tmars-site #tm-header>.tm-desktop-nav{width:auto!important;flex:0 0 auto!important}body.tmars-site #tm-header>.tm-header-search{margin:0!important}@media(max-width:700px){body.tmars-site #tm-header{display:grid!important;grid-template-columns:1fr auto;gap:10px 12px!important}body.tmars-site #tm-header>.tm-brand{grid-column:1;grid-row:1;justify-self:start}body.tmars-site #tm-header>.tm-menu{grid-column:2;grid-row:1;justify-self:end}body.tmars-site #tm-header>.tm-header-search{grid-column:1/-1;grid-row:2;width:100%!important;max-width:none!important}body.tmars-site #tm-header>.tm-desktop-nav{display:none!important}}

body.tmars-skills .search-label kbd{color:#626660;background:#eeeadf;border-color:#b4b8ac}body.tmars-native-lesson .phase-tabs button span,body.tmars-native-lesson .quiz-sidebar button small{color:#52615b}body.tmars-native-lesson #tm-main{max-width:none;padding:0;margin:0}body.tmars-native-lesson button{min-height:44px}body.tmars-site #tm-header>.tm-menu>summary{min-height:44px;display:flex;align-items:center}body.tmars-site .tm-footer nav a{min-height:44px;display:inline-flex;align-items:center}.tmars-course .tm-related a{min-height:44px;display:inline-flex;align-items:center}

/* Classroom-first entrance: one action to the scheduled lesson. */
#tm-class-entry-slot[hidden],[hidden].tm-pagination{display:none!important}
#tm-class-entry-slot{max-width:1200px;margin:28px auto 40px}
.tm-class-entry{display:grid;grid-template-columns:1.12fr 1fr;border:1px solid #cbd2ce;border-radius:22px;overflow:hidden;background:#fffdf8;box-shadow:0 12px 38px #1723250a}
.tm-entry-art{position:relative;isolation:isolate;background:#071116;min-height:360px;overflow:hidden;color:#fff}
.tm-entry-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 50%;z-index:-2}
.tm-entry-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#051014ee,#07121990 55%,#08131612);z-index:-1}
.tm-entry-copy{padding:38px 32px;max-width:440px}
.tm-entry-copy .tm-eyebrow{color:#ffa56c!important;font-size:12px;margin-bottom:18px}
.tm-entry-copy h1{font-size:clamp(30px,3vw,42px);line-height:1.25;margin:0 0 18px;color:#fff;text-wrap:balance}
.tm-entry-copy>p:not(.tm-eyebrow){color:#e3e9e8;font-size:16px;line-height:1.8;margin:0 0 20px}
.tm-entry-explore{min-height:44px;display:inline-flex;align-items:center;color:#fff!important;text-decoration:none;border-bottom:1px solid #ffffff90;font-size:14px}
.tm-class-now{padding:30px 34px;min-width:0}
.tm-entry-label{display:flex;align-items:center;gap:9px;margin-bottom:20px}.tm-entry-label h2{font-size:15px;margin:0}.tm-entry-label>a{margin-left:auto;font-size:13px;min-height:44px;display:flex;align-items:center}
.tm-status-dot{width:7px;height:7px;background:#a83b1e;border-radius:50%}
.tm-class-date{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 14px;font-size:16px}.tm-class-date b{border-radius:6px;background:#fbe4d4;color:#8b331b;padding:4px 8px;font-size:13px}.tm-class-date time{font-weight:700}.tm-class-date span{color:#5a625e;font-size:14px}
.tm-class-place{font-size:14px;color:#5a625e;margin:0 0 7px}.tm-class-now h3{font-size:clamp(21px,2vw,27px);line-height:1.45;margin:0 0 20px}
body.tmars-site .tm-start-class{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:12px 18px;border-radius:9px;background:#aa381b;color:#fff!important;font-weight:700;text-decoration:none;font-size:16px}
.tm-start-class:hover{background:#872a14!important}.tm-start-class:focus-visible{outline:3px solid #037e85!important;outline-offset:4px}
.tm-class-note{font-size:13px;margin:8px 0;color:#515a55}.tm-class-source{font-size:12px;line-height:1.6;color:#5c645f;margin:18px 0 0}
.tm-catalog-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;scroll-margin-top:150px}.tm-catalog-heading h2{font-size:28px;margin:6px 0 0}.tm-catalog-heading .tm-eyebrow{font-size:12px;margin:0}.tm-catalog-heading>p{color:#5a625e;font-size:14px;margin:0 0 4px}
.tm-course-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}.tm-course-shortcuts a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #b8c2bc;border-radius:24px;background:#fffdf8;padding:8px 18px;font-size:15px;text-decoration:none;color:#303b37}.tm-course-shortcuts a[aria-current]{background:#263d3d;color:#fff;border-color:#263d3d}
.tm-card-label{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tm-card-label strong{font-family:inherit;letter-spacing:0;font-size:14px;background:#e8efeb;color:#24433b;padding:4px 8px;border-radius:5px}.tm-card-label>span{font-size:12px;letter-spacing:0;color:#626660}
.tm-course-cover img{object-fit:cover}.tm-course-cover figcaption{background:#0b161dd9;color:#fff;font-size:10px}.tm-card-bottom>.tm-arrow{font-weight:700}.tm-unit-links{display:grid;gap:8px;margin:0 0 18px}.tm-unit-links a{display:block;min-height:50px;border:1px solid #c8d2ca;background:#f0f4ef;padding:10px 12px;border-radius:8px;text-decoration:none}.tm-unit-links a span{display:block;font-size:12px;color:#57635a}.tm-unit-links a b{display:block;font-weight:500;font-size:14px;color:#254337;line-height:1.6;margin-top:3px}
.tm-matched-sessions{margin:20px 0 28px}.tm-matched-sessions h2{font-size:20px}.tm-matched-sessions .tm-session{background:#edf3ef}.tm-matched-sessions+p{margin-top:12px}
@media(max-width:900px){.tm-class-entry{grid-template-columns:1fr 1.05fr}.tm-entry-copy{padding:30px 24px}.tm-class-now{padding:24px}.tm-entry-art{min-height:350px}.tm-catalog-heading{display:block}.tm-catalog-heading>p{margin-top:8px}}
@media(max-width:600px){#tm-class-entry-slot{margin:8px auto 28px}.tm-class-entry{display:flex;flex-direction:column;border-radius:16px}.tm-entry-art{min-height:0;order:2}.tm-entry-art>img{object-position:80% 52%}.tm-entry-copy{padding:18px 20px}.tm-entry-copy h1{font-size:24px;margin:0;max-width:240px}.tm-entry-copy h1 br{display:none}.tm-entry-copy .tm-eyebrow,.tm-entry-copy>p:not(.tm-eyebrow),.tm-entry-explore{display:none}.tm-class-now{padding:18px 20px}.tm-entry-label{margin-bottom:10px}.tm-class-date{margin-bottom:12px}.tm-class-now h3{font-size:23px;margin-bottom:16px}.tm-class-source{margin-top:12px}.tm-catalog-heading h2{font-size:25px}.tm-course-shortcuts{gap:8px;margin-top:16px}.tm-course-shortcuts a{padding:8px 14px}.tm-course-card .tm-course-cover img{aspect-ratio:2/1}.tm-card-label strong{font-size:15px}.tm-class-entry .tm-entry-label a{font-size:12px}body.tmars-home #tm-class-entry-slot{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.tmars-site *{scroll-behavior:auto!important}}
body.tmars-site .tm-entry-copy h1{color:#fff!important}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 18px;padding:20px!important}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card .tm-course-cover{grid-column:1;grid-row:1/4;margin:0;min-height:150px;border-radius:10px}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card .tm-course-cover img{height:100%;max-height:210px;aspect-ratio:auto;object-fit:cover;object-position:center}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>.tm-eyebrow,body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>h3,body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>p{grid-column:2;margin:0;align-self:start}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>h3{font-size:21px;line-height:1.5;text-wrap:initial}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>p:not(.tm-eyebrow){font-size:14px;line-height:1.7}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-card-bottom,body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-card-detail,body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-unit-links{grid-column:1/-1;margin:0}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-card-bottom{padding-top:8px;margin-top:6px}
body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-card-detail{padding:0;min-height:34px}
.tm-next-class{border-top:1px solid #d6d7ce;margin-top:14px;padding-top:12px;font-size:13px;display:grid;gap:4px}.tm-next-class>a{min-height:44px;display:flex;align-items:center;line-height:1.6;font-weight:500}.tm-next-class>span{color:#5c645f}
@media(max-width:900px){body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-grid{grid-template-columns:1fr}}
@media(max-width:600px){body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card{grid-template-columns:88px minmax(0,1fr);gap:9px 14px;padding:16px!important}body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card>h3{font-size:19px}body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-card .tm-course-cover{min-height:128px}body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-card-label>span{display:none}body:is(.tmars-catalog,.tmars-home):not(.tmars-skills) .tm-course-cover figcaption{right:3px;bottom:5px;font-size:8px;padding:2px 4px}.tm-next-class{font-size:12px}.tm-next-class a{font-size:13px}}
.tm-course-practice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}.tm-course-practice a{min-height:44px;display:inline-flex;align-items:center;border:1px solid #b7c7be;color:#24483b!important;background:#edf4ef;border-radius:7px;padding:8px 12px;text-decoration:none;font-size:14px}.tmars-course details[id^="week-"]{scroll-margin-top:150px}
body.tmars-site .tm-class-entry .tm-entry-art>img{height:100%!important;max-height:none!important;object-fit:cover}
body.tmars-site .tm-course-cover figcaption{background:#0b161d;color:#fff}
body.tmars-site #tm-header .tm-header-search input:focus-visible{outline:3px solid #ffa56c!important;outline-offset:2px;box-shadow:0 0 0 5px #182b30}
body.tmars-site #tm-course-filters input:focus-visible{outline:3px solid #08747a!important;outline-offset:2px}
.tm-search-active #tm-main>.tm-breadcrumb,.tm-search-active .tm-course-shortcuts,.tm-search-active .tm-catalog-heading .tm-eyebrow,.tm-search-active .tm-catalog-heading>p{display:none}
.tm-search-active .tm-catalog-heading{display:flex;align-items:center;gap:12px}.tm-search-active .tm-catalog-heading h2{font-size:25px;margin:0}.tm-search-active #tm-clear-search{display:inline-flex;align-items:center;min-height:44px;font-size:13px}.tm-search-active .tm-filters{margin-top:6px}.tm-search-active #tm-main{padding-top:18px}
body.tmars-site #tm-header .tm-header-search:focus-within{outline:3px solid #ffa56c;outline-offset:3px;box-shadow:0 0 0 6px #182b30}
body.tmars-site #tm-header .tm-header-search input:focus-visible{outline:0!important;box-shadow:none}
body.tmars-native-lesson .tool-links small{color:#52615b}

/* Shared compact image cards, based on the approved course catalogue. */
body.tmars-site #tm-header .tm-desktop-nav{display:flex;flex-shrink:0;align-items:center;gap:22px}
body.tmars-site #tm-header .tm-desktop-nav a{min-height:44px;display:flex;align-items:center;white-space:nowrap}
#tm-header .tm-account{margin-left:auto;flex-shrink:0;font-size:14px}
#tm-header .tm-account .google-account{margin:0;gap:8px}
#tm-header .tm-account #account-label,#tm-header .tm-account #access-status{display:none}
body.tmars-site #tm-header .tm-account :is(a,button){min-height:44px;padding:10px 16px;border:1px solid #ff713d70;border-radius:8px;background:transparent!important;color:#ffa779!important;display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none;font-size:14px}
#tm-header .tm-account #google-logout{color:#f4f1e9!important}
body.tmars-site .tm-skill-grid,body.tmars-site #skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
body.tmars-site .skill.tm-ig-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px 18px;min-width:0;padding:20px;background:#fffdf8!important;border:1px solid #d6d7ce!important;border-radius:18px!important;box-shadow:0 5px 18px #302a1606;color:#262c2c!important}
body.tmars-site .skill.tm-ig-card .tm-skill-cover{grid-column:1;grid-row:1/5;margin:0;position:relative;border-radius:10px;overflow:hidden;background:#07161b;min-height:150px}
body.tmars-site .skill.tm-ig-card .tm-skill-cover img{width:100%;height:100%;max-height:210px;object-fit:cover;display:block}
.tm-skill-cover figcaption{position:absolute;right:7px;bottom:7px;background:#0b161d;color:#fff;font-size:10px;padding:2px 8px;border-radius:20px}
body.tmars-site .skill.tm-ig-card>:is(.card-meta,h3,.summary,.badges){grid-column:2;margin:0;align-self:start}
body.tmars-site .skill.tm-ig-card .card-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;line-height:1.6}
body.tmars-site .skill.tm-ig-card .card-meta>:is(span,a){color:#626660!important;font-size:12px;overflow-wrap:anywhere}
body.tmars-site .skill.tm-ig-card .origin{display:none}
body.tmars-site .skill.tm-ig-card h3{font-size:21px;line-height:1.5;color:#262c2c!important;text-wrap:initial;letter-spacing:-.025em}
body.tmars-site .skill.tm-ig-card h3 a{color:inherit;text-decoration:none}
body.tmars-site .skill.tm-ig-card .summary{font-size:14px;line-height:1.7;color:#626660!important;min-height:0}
body.tmars-site .skill.tm-ig-card .badges{display:flex;flex-wrap:wrap;gap:6px}
body.tmars-site .skill.tm-ig-card .platform-badge{background:#e8efeb!important;color:#24433b!important;font-size:11px;border:0;padding:2px 7px;border-radius:5px}
body.tmars-site .skill.tm-ig-card .card-bottom{grid-column:1/-1;border-top:1px solid #e5e4db;margin:6px 0 0;padding:8px 0 0;display:flex;flex-wrap:wrap;align-items:start;gap:8px;min-width:0}
body.tmars-site .skill.tm-ig-card .tm-skill-reference{min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;color:#a7381c!important;text-decoration:none}
body.tmars-site .skill.tm-ig-card .tm-skill-downloads{margin-left:auto;max-width:100%;border:0;padding:0;background:transparent}
body.tmars-site .skill.tm-ig-card .tm-skill-downloads[open]{flex-basis:100%}
body.tmars-site .skill.tm-ig-card .tm-skill-downloads summary{min-height:44px;padding:9px 0;cursor:pointer;font-size:14px;color:#52615b}
body.tmars-site .skill.tm-ig-card .tm-skill-downloads :is(.compatibility-note,.readiness){display:block;font-size:13px;color:#626660!important;background:transparent!important;line-height:1.7}
body.tmars-site .skill.tm-ig-card .tm-skill-downloads .details-button{color:#a7381c!important;background:transparent;border:0;padding:6px 0;min-height:44px;text-align:left;font-size:14px;display:inline-flex;align-items:center}
body.tmars-site .skill.tm-ig-card .downloads{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body.tmars-site .skill.tm-ig-card .downloads .download{background:#edf4ef!important;color:#24483b!important;border:1px solid #b7c7be!important;padding:8px 10px;border-radius:7px;min-height:44px;display:inline-flex;align-items:center;gap:7px;font-size:13px;overflow-wrap:anywhere}
body.tmars-site .skill.tm-ig-card .downloads .download span{color:#52615b!important;font-size:11px}
body.tmars-site .tm-course-resources .tm-skill-grid{padding-bottom:20px}
body.tmars-site .tm-course-card:not(:has(.tm-course-cover)){grid-template-columns:1fr}
body.tmars-site .tm-course-card:not(:has(.tm-course-cover))>*{grid-column:1/-1!important}
body.tmars-home .tm-latest-carousel{max-width:1200px;margin:24px auto 40px;padding-top:12px;border:0}
.tm-latest-carousel h1{font-size:clamp(28px,3vw,40px);margin:0}
.tm-carousel-stage{margin-top:24px}
body.tmars-home .tm-latest-carousel .tm-course-card{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:14px 30px;padding:28px!important;min-height:350px}
body.tmars-home .tm-latest-carousel .tm-course-card .tm-course-cover{grid-column:1;grid-row:1/8;min-height:300px;border-radius:12px}
body.tmars-home .tm-latest-carousel .tm-course-card .tm-course-cover img{height:100%;max-height:480px;width:100%;object-fit:cover}
body.tmars-home .tm-latest-carousel .tm-course-card>:is(.tm-eyebrow,h3,p,.tm-card-bottom,.tm-card-detail,.tm-unit-links,.tm-course-practice){grid-column:2}
body.tmars-home .tm-latest-carousel .tm-course-card h3{font-size:clamp(24px,2.5vw,34px);line-height:1.45}
body.tmars-home .tm-latest-carousel .tm-course-card>p:not(.tm-eyebrow){font-size:16px}
body.tmars-home .tm-latest-carousel .tm-unit-links{grid-template-columns:1fr;gap:5px}
body.tmars-home .tm-latest-carousel .tm-unit-links a{min-height:44px;padding:6px 10px}
.tm-carousel-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:14px}
body.tmars-site .tm-carousel-controls button{min-height:44px;border:1px solid #b8c2bc;border-radius:8px;padding:8px 14px;background:#fffdf8;color:#303b37}
.tm-carousel-controls>[data-course-counter]{font-variant-numeric:tabular-nums;color:#626660}
.tm-carousel-dots{display:flex;gap:7px;margin-left:auto}
body.tmars-site .tm-carousel-dots button{border-radius:50%;padding:0;width:32px;min-height:32px;font-size:12px}
body.tmars-site .tm-carousel-dots button[aria-current=true]{background:#263d3d;color:#fff;border-color:#263d3d}
body.tmars-site .tm-skill-highlight{outline:3px solid #ae3b1c;outline-offset:5px;scroll-margin-top:180px}
@media(max-width:1000px){body.tmars-site #tm-header{gap:12px 20px}.tm-header-search{max-width:none;order:3;flex-basis:100%}body.tmars-site #tm-header .tm-desktop-nav{margin-left:auto}#tm-header .tm-account{margin-left:0}}
@media(max-width:700px){body.tmars-site #tm-header{padding:12px 18px;gap:8px 14px}#tm-header .tm-brand{order:1}#tm-header .tm-account{order:2;margin-left:auto}body.tmars-site #tm-header .tm-desktop-nav{order:3;flex-basis:100%;justify-content:center;gap:28px;margin:0}#tm-header .tm-header-search{order:4}.tm-brand b{font-size:23px}.tm-brand small{font-size:10px}body.tmars-site #tm-header .tm-account :is(a,button){padding:8px 11px;font-size:13px}html{scroll-padding-top:215px}body.tmars-site .tm-skill-grid,body.tmars-site #skills{grid-template-columns:1fr}body.tmars-home .tm-latest-carousel .tm-course-card{grid-template-columns:120px minmax(0,1fr);gap:10px 16px;padding:18px!important;min-height:0}body.tmars-home .tm-latest-carousel .tm-course-card .tm-course-cover{grid-row:1/4;min-height:150px}body.tmars-home .tm-latest-carousel .tm-course-card>:is(.tm-card-bottom,.tm-card-detail,.tm-unit-links,.tm-course-practice){grid-column:1/-1}body.tmars-home .tm-latest-carousel .tm-course-card h3{font-size:23px}body.tmars-home .tm-latest-carousel .tm-course-card>p:not(.tm-eyebrow){font-size:14px}.tm-carousel-controls{gap:8px}.tm-carousel-dots{margin-left:0}.tm-latest-carousel .tm-section-head{align-items:center}.tm-latest-carousel .tm-section-head>a{font-size:13px}}
@media(max-width:400px){body.tmars-site .skill.tm-ig-card{grid-template-columns:88px minmax(0,1fr);gap:9px 14px;padding:16px}body.tmars-site .skill.tm-ig-card h3{font-size:19px}body.tmars-home .tm-latest-carousel .tm-course-card{grid-template-columns:88px minmax(0,1fr)}body.tmars-home .tm-latest-carousel .tm-course-card h3{font-size:21px}}

@media(max-width:700px){body.tmars-site #tm-header{display:flex!important}body.tmars-site #tm-header>.tm-desktop-nav{display:flex!important;flex:1 0 100%!important;width:100%!important}body.tmars-site #tm-header>.tm-header-search{flex:1 0 100%}}
body.tmars-site .recommend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
@media(max-width:700px){body.tmars-site .recommend-grid{grid-template-columns:1fr}}

body.tmars-site .skill.tm-ig-card .tm-skill-cover{align-self:start;height:180px}
