/* Figma header tokens: navy #152b3c, slate #53616b, orange #f15a3a. */
.thomaz-header-v2{display:flex;gap:24px;align-items:center;justify-content:space-between;min-height:76px;padding-block:0;width:100%;max-width:1280px;padding-inline:32px}.thomaz-header-v2 .site-branding{max-width:28%;min-width:0}.thomaz-header-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.thomaz-forms-nav{display:flex;align-items:center;gap:20px}.thomaz-header-v2 a{text-decoration:none}.thomaz-header-link{font-size:14px;font-weight:600;line-height:20px;color:#53616b;white-space:nowrap}.thomaz-header-link:hover{color:#f15a3a}.thomaz-form-switch{position:relative;display:flex;padding:4px;border:1px solid rgb(21 43 60 / 10%);border-radius:9999px;background:#fff;isolation:isolate}.thomaz-form-option{position:relative;z-index:1;text-align:center;padding:8px 12px;border-radius:9999px;color:#53616b;font-size:12px;font-weight:700;line-height:16px;white-space:nowrap}.thomaz-form-option[aria-current=page]{color:#fff;background:#152b3c}.thomaz-form-option[aria-disabled=true]{opacity:.45;cursor:default}.thomaz-form-option:not([aria-current=page]):not([aria-disabled=true]):hover{background:rgb(246 189 68 / 30%)}.thomaz-form-slider{display:none;position:absolute;left:0;top:4px;bottom:4px;border-radius:9999px;z-index:0;background:#152b3c;width:var(--slider-width);transform:translateX(var(--slider-x));transition:none}.thomaz-form-switch.slider-ready .thomaz-form-slider{display:block}
.thomaz-header-actions .thomaz-header-login{padding:8px 12px;font-size:14px;line-height:20px;font-weight:700;color:#152b3c;background:transparent}.thomaz-header-actions .thomaz-header-start{border-radius:9999px;background:#152b3c;padding:12px 16px;font-size:14px;line-height:20px;font-weight:700;color:#fff;transition:background .2s,transform .2s}.thomaz-header-actions .thomaz-header-start:hover{background:#f15a3a;transform:translateY(-2px)}.thomaz-header-toggle{display:none}
.thomaz-form-page{--form-accent:var(--brand);--form-soft:#e6f2eb;flex:1;width:100%;color:var(--ink)}.thomaz-form-page.form-colour-1{--form-accent:#936220;--form-soft:#f8eedc}.thomaz-form-page.form-colour-2{--form-accent:#146b52;--form-soft:#e6f2eb}.thomaz-form-page.form-colour-3{--form-accent:#a74838;--form-soft:#faece7}.thomaz-form-page.form-colour-4{--form-accent:#73549a;--form-soft:#f0ebf7}.thomaz-form-page.form-colour-5{--form-accent:#346e9b;--form-soft:#e8f1f8}
.thomaz-form-banner{border-bottom:1px solid var(--line);background:#fbf8f0}.thomaz-banner-inner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr);gap:64px;align-items:center;padding-block:32px}.thomaz-form-eyebrow{display:inline-block;margin:0;padding:5px 13px;border-radius:6px;background:var(--form-soft);color:var(--form-accent);font-size:.8rem;font-weight:650;letter-spacing:.12em}.thomaz-form-banner h1{margin:22px 0;font-size:clamp(2.4rem,5vw,4.1rem);line-height:1.2;letter-spacing:.03em}.thomaz-form-intro{max-width:650px;color:var(--muted);font-size:1.05rem;line-height:1.9}.thomaz-banner-link{display:inline-flex;gap:25px;color:var(--form-accent);text-decoration:none;font-weight:650;font-size:.9rem;padding:6px 0}.thomaz-banner-empty{min-height:110px}.thomaz-banner-image img{max-height:260px;object-fit:cover;border-radius:var(--radius);width:100%}
.thomaz-form-chapters{padding-block:48px 80px;scroll-margin-top:calc(var(--header-offset) + 24px)}.thomaz-chapter-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.thomaz-chapter-heading h2{font-size:1.9rem;margin:0}.thomaz-chapter-heading>p{font-size:.85rem;color:var(--muted);margin:0}.thomaz-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.thomaz-chapter-card{display:flex;gap:20px;padding:26px;background:var(--paper,#fff);border:1px solid var(--line);border-radius:var(--radius);transition:border-color .2s,box-shadow .2s}.thomaz-chapter-card:hover{border-color:var(--form-accent);box-shadow:0 5px 16px #203d3406}.thomaz-chapter-number{display:grid;place-content:center;flex-shrink:0;width:48px;height:48px;border-radius:10px;background:var(--form-soft);color:var(--form-accent);font:600 1.3rem var(--font-heading,serif)}.thomaz-chapter-body{min-width:0;flex:1}.thomaz-chapter-label{font-size:.7rem;letter-spacing:.12em;color:var(--muted);margin:0 0 8px}.thomaz-chapter-card h3{font-size:1.25rem;line-height:1.45;margin:0 0 22px;overflow-wrap:anywhere}.thomaz-chapter-actions{display:flex;flex-wrap:wrap;gap:8px}.thomaz-chapter-actions a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:0;border-radius:9999px;font-size:12px;line-height:16px;text-decoration:none;font-weight:700;transition:background .2s,color .2s}.thomaz-chapter-actions .thomaz-note-link{background:#eef6f4;color:#26766e}.thomaz-chapter-actions .thomaz-practice-link{background:#fff0eb;color:#c33f25}.thomaz-chapter-actions .thomaz-note-link:hover,.thomaz-chapter-actions .thomaz-note-link:active{background:#152b3c;color:#fff}.thomaz-chapter-actions .thomaz-practice-link:hover,.thomaz-chapter-actions .thomaz-practice-link:active{background:#f15a3a;color:#fff}.thomaz-content-icon{width:16px;height:16px;flex-shrink:0}.thomaz-content-legend{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;font-weight:700;color:#63717a}.thomaz-content-legend>span{display:flex;align-items:center;gap:8px}.thomaz-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}.thomaz-dot-notes{background:#85c9c1}.thomaz-dot-interactive{background:#f15a3a}
.thomaz-form-empty{padding:30px;border:1px dashed var(--line);border-radius:var(--radius)}
@media(max-width:1100px){.thomaz-header-v2{gap:16px;padding-inline:20px}.thomaz-forms-nav{gap:12px}.thomaz-header-v2 .site-title{font-size:.9rem}}
@media(max-width:640px){.thomaz-header-v2 .site-description{display:none}.thomaz-banner-inner{display:block}.thomaz-banner-empty{display:none}.thomaz-banner-image{margin-top:24px}.thomaz-form-banner h1{font-size:2.4rem}.thomaz-chapter-heading{display:block}.thomaz-content-legend{margin-top:16px}.thomaz-chapter-grid{grid-template-columns:1fr}.thomaz-chapter-card{padding:20px;gap:14px}.thomaz-chapter-number{width:40px;height:40px}.thomaz-form-chapters{padding-block:32px 48px}.thomaz-chapter-heading h2{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){.thomaz-form-slider,.thomaz-chapter-card,.thomaz-header-start,.thomaz-chapter-actions a{transition:none}.thomaz-header-actions .thomaz-header-start:hover{transform:none}}

/* Keep fixed header controls legible when Reader Plus recolours post chrome. */
body .site-header .thomaz-header-v2 .thomaz-form-option{color:#53616b}
body .site-header .thomaz-header-v2 .thomaz-form-option[aria-current=page]{color:#fff}
body .site-header .thomaz-header-v2 .thomaz-header-start{background:#152b3c;color:#fff;border-radius:9999px;padding:12px 16px}
body .site-header .thomaz-header-v2 .thomaz-header-start:hover{background:#f15a3a;color:#fff}

/* 2.0.3: centered mobile navigation and shared Form-page gutters. */
.thomaz-header-v2{justify-content:center}
@media(max-width:1023px){
 .thomaz-header-v2{display:grid;grid-template-columns:1fr auto 1fr;gap:14px 20px;justify-items:center;padding:18px 20px;width:100%;text-align:center}
 .thomaz-header-v2 .site-branding{grid-column:1/-1;max-width:100%;justify-content:center;text-align:center}
 .thomaz-forms-nav,.thomaz-header-actions{display:contents}
 .thomaz-form-switch{grid-row:2;grid-column:1/-1;width:min(100%,430px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:4px}
 .thomaz-form-option{padding:10px 2px;font-size:12px;min-width:0}
 .thomaz-form-slider{display:none!important}
 .thomaz-header-link{grid-row:3;align-self:center}
 .thomaz-header-link:first-child{grid-column:1;justify-self:end}
 .thomaz-header-link:last-child{grid-column:2}
 .thomaz-header-actions .thomaz-header-start{grid-row:3;grid-column:3;justify-self:start;white-space:nowrap}
 .thomaz-banner-inner.container,.thomaz-form-chapters.container{box-sizing:border-box;width:100%;max-width:760px;padding-inline:20px;margin-inline:auto}
 .thomaz-banner-inner{gap:24px;padding-block:32px}
 .thomaz-banner-inner h1{margin-top:0}
 .thomaz-form-eyebrow+h1{margin-top:20px}
}
@media(max-width:1023px){
 .thomaz-header-v2{column-gap:16px}
 .thomaz-chapter-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px 14px;padding:20px;container-type:inline-size}
 .thomaz-chapter-body{display:contents}
 .thomaz-chapter-number{grid-row:1/3;grid-column:1}
 .thomaz-chapter-label{grid-row:1;grid-column:2;margin:0;align-self:end}
 .thomaz-chapter-card h3{grid-row:2;grid-column:2;margin:0}
 .thomaz-chapter-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
 .thomaz-chapter-actions a{justify-content:center;white-space:nowrap;gap:6px;padding:10px 12px;min-height:40px}
 .thomaz-chapter-actions .thomaz-note-link{grid-column:1/-1}
 @container(min-width:272px){
  .thomaz-chapter-actions:not(:has(>a:nth-child(4))){grid-template-columns:1.2fr 1fr 1fr}
  .thomaz-chapter-actions:not(:has(>a:nth-child(4))) .thomaz-note-link{grid-column:auto}
  .thomaz-chapter-actions:has(>a:only-child){grid-template-columns:1fr}
  .thomaz-chapter-actions:has(>a:nth-child(2):last-child){grid-template-columns:1fr 1fr}
 }
}

/* 2.0.4: collapsible mobile header. Navigation stays available without JS. */
@media(max-width:1023px){
 .thomaz-header-v2{grid-template-columns:auto minmax(0,1fr) auto;text-align:left;column-gap:16px}
 .thomaz-header-v2 .site-branding{grid-row:1;grid-column:1/3;justify-self:start;justify-content:flex-start;text-align:left;max-width:100%}
 .thomaz-header-v2 .site-description{display:none}
 .thomaz-forms-js .thomaz-header-toggle{display:inline-flex;grid-row:1;grid-column:3;justify-self:end;align-items:center;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:9999px;background:transparent;color:var(--ink);white-space:nowrap;font-size:13px}
 .thomaz-form-switch{width:100%}
 .thomaz-header-link:first-child{grid-column:1;justify-self:start}
 .thomaz-header-link:last-child{grid-column:2;justify-self:start}
 .thomaz-header-actions .thomaz-header-start{grid-column:3;justify-self:end}
 .thomaz-forms-js .thomaz-header-v2:not(.is-open) .thomaz-forms-nav,.thomaz-forms-js .thomaz-header-v2:not(.is-open) .thomaz-header-actions{display:none}
}

/* 2.0.5: give desktop navigation the available header width. */
@media(min-width:1024px){
 .thomaz-header-v2{justify-content:space-between;gap:28px;max-width:1440px}
 .thomaz-forms-nav{flex:1;justify-content:center;gap:clamp(20px,2.2vw,36px);min-width:0}
 .thomaz-form-switch{flex:1;max-width:510px;min-width:320px}
 .thomaz-form-option{flex:1;min-width:0;padding:12px 16px;font-size:13px}
 .thomaz-header-link{padding-block:12px}
 .thomaz-header-v2 .site-branding{max-width:26%}
}
@media(min-width:1024px) and (max-width:1199px){
 .thomaz-header-v2{gap:20px;padding-inline:24px}
 .thomaz-forms-nav{gap:20px}
 .thomaz-form-switch{min-width:300px}
 .thomaz-form-option{padding:12px 10px;font-size:12px}
}
@media(max-width:1023px){
 .thomaz-header-v2{column-gap:24px}
 .thomaz-form-option{padding-block:12px}
 .thomaz-header-link{padding:10px 4px}
}

/* 2.0.6-beta.1: 1.3.0 container proportions with the 2.0.5 controls. */
@media(min-width:1024px){
 .thomaz-header-v2{width:min(1220px,calc(100% - 80px));max-width:1220px;padding:14px 0;min-height:94px;gap:24px}
 .thomaz-header-v2 .site-branding{max-width:26%}
 .thomaz-header-v2 .site-title{font-size:1.04rem}
 .thomaz-forms-nav{gap:24px}
 .thomaz-form-switch{min-width:300px;max-width:510px}
 .thomaz-form-option{font-size:14px;padding:12px 10px}
 body .site-header .thomaz-header-v2 .thomaz-header-start{min-width:94px;text-align:center}
}
@media(min-width:1024px) and (max-width:1199px){
 .thomaz-header-v2{gap:20px}
 .thomaz-forms-nav{gap:20px}
 .thomaz-form-option{font-size:13px;padding-inline:8px}
}

/* 2.1.0: compact activity titles retain their semantic heading levels. */
body .tic-standalone>h1{font-size:1.25rem;line-height:1.4;letter-spacing:0;margin:12px 0 20px;font-weight:600}
body .tic-player>h2,body .tic-library-card strong{font-size:1.25rem;line-height:1.4}
/* Scale desktop layout, typography and spacing together; browser zoom remains user controlled. */
@media screen and (min-width:1024px){
 body>.site{zoom:.8}
 html{scroll-padding-top:calc(var(--header-offset,0px) * .8 + 24px)}
 body.admin-bar .site-header{top:40px}
}
