/* Shared ThermoPilot header, scoped so course and catalogue layouts stay independent. */
.tp-public-notice { box-sizing:border-box;width:100%;max-width:1180px;margin:14px auto 0;padding:10px 14px;border:1px solid var(--tp-line,#2b3b4c);border-radius:10px;background:var(--tp-raised,#101923);color:var(--tp-accent,#80e3df);font:600 12px/1.6 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
html[data-public-access="true"] #owner-signin { display:none!important; }
.tp-academy .tp-public-notice { width:min(1180px,calc(100% - 64px)); }
@media(max-width:760px) { .tp-academy .tp-public-notice { width:calc(100% - 36px); } }
.tp-header { box-sizing:border-box;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;width:100%;min-height:88px;height:auto;margin:0 auto;padding:20px 0;border:0;border-bottom:1px solid #2b3b4c;background:#0b1018;color:#edf4f8;font:14px/1.4 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative; }
.header.tp-header { width:min(1180px,calc(100% - 64px)); }
.tp-header [hidden] { display:none!important; }
.tp-header .brand { display:flex;align-items:center;gap:12px;flex-shrink:0;color:#edf4f8;text-decoration:none;letter-spacing:normal;line-height:1.2; }
.tp-header .brand-mark { display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #365261;border-radius:11px;background:#162a36;color:#80e3df;box-shadow:none; }
.tp-header .brand-mark img { display:block;width:100%;height:100%;border-radius:inherit; }
.tp-header .brand-mark svg { display:block;width:31px;height:31px; }
.tp-header .brand strong { display:block;font-size:20px;font-weight:700;letter-spacing:-.035em; }
.tp-header .brand .brand-sub { display:block;margin:5px 0 0;color:#a5b5c4;font-size:12px;line-height:1.3;font-family:inherit;letter-spacing:normal;white-space:nowrap;text-transform:none;font-weight:400; }
.tp-header .product-nav { justify-self:center;display:flex;align-items:stretch;flex-shrink:0;gap:4px;width:auto;margin:0;padding:4px;border:1px solid #2b3b4c;border-radius:11px;background:#101923;order:initial; }
.tp-header .product-nav a { display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 18px;border:0;border-radius:7px;background:transparent;color:#a5b5c4;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;line-height:1.4; }
.tp-header .product-nav a.active { background:#20333f;color:#80e3df; }
.tp-header .header-tools { display:flex;align-items:center;justify-content:flex-end;gap:8px;width:auto;margin:0; }
.tp-header .account-greeting { display:flex;align-items:center;gap:6px;max-width:270px;width:auto;margin:0;padding:0;border:0;background:none;color:#a5b5c4;font-size:12px;white-space:nowrap; }
.tp-header .account-greeting strong { max-width:110px;overflow:hidden;text-overflow:ellipsis;color:#edf4f8;font-size:12px; }
.tp-header .account-greeting button { min-height:44px;margin:0 0 0 4px;padding:8px 10px;border:1px solid #385064;border-radius:7px;background:#1a2a38;color:#edf4f8;font-size:12px;font-weight:650;white-space:nowrap; }
.tp-header .language-switch { display:flex;align-items:stretch;flex-shrink:0;gap:0;margin:0;padding:2px;border:1px solid #2b3b4c;border-radius:9px;background:#101923; }
.tp-header .language-switch button { min-width:44px;min-height:44px;padding:8px;border:0;border-radius:6px;background:transparent;color:#a5b5c4;font-size:12px;font-weight:650;line-height:1.4;box-shadow:none; }
.tp-header .language-switch button[aria-pressed=true] { background:#263b4b;color:#edf4f8; }
.tp-header .motion-toggle { display:grid;place-items:center;flex:0 0 44px;width:44px;height:50px;min-height:44px;margin:0;padding:0;border:1px solid #2b3b4c;border-radius:9px;background:#101923;color:#a5b5c4; }
.tp-header .motion-toggle svg { grid-area:1/1;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.tp-header .motion-toggle .motion-play { display:none; }
.tp-header .motion-toggle[aria-pressed=false] .motion-play { display:block; }
.tp-header .motion-toggle[aria-pressed=false] .motion-pause { display:none; }
.tp-header button { cursor:pointer;font-family:inherit; }
.tp-header button:disabled { cursor:default;opacity:.55; }
.tp-header :is(a,button):focus-visible { outline:3px solid #42bec9;outline-offset:4px; }
.tp-header .header-message { grid-column:1/-1;margin:0;color:#ffd0c7;font-size:12px;text-align:right; }
@media(hover:hover) and (pointer:fine) { .tp-header .product-nav a:not(.active):hover { color:#edf4f8;text-decoration:underline;text-underline-offset:4px; }.tp-header .account-greeting button:hover { background:#263d4d; } }
@media(max-width:1140px) {
 .tp-header { grid-template-columns:auto 1fr;gap:16px; }
 .tp-header .product-nav { grid-column:1/-1;grid-row:2;width:100%;justify-self:stretch; }
 .tp-header .product-nav a { flex:1; }
 .tp-header .header-tools { justify-self:end;flex-wrap:wrap; }
 .tp-header #welcomePrefix { display:none; }
}
@media(max-width:760px) {
 .header.tp-header { width:calc(100% - 36px); }
 .tp-header { gap:12px;padding:16px 0; }
 .tp-header .brand { gap:9px; }
 .tp-header .brand strong { font-size:18px; }
 .tp-header .brand-mark { width:36px;height:36px;flex-basis:36px; }
 .tp-header .brand-mark svg { width:25px;height:25px; }
 .tp-header .brand .brand-sub { display:none; }
 .tp-header .header-tools { gap:6px;min-width:0; }
 .tp-header .account-greeting { max-width:100%; }
 .tp-header .language-switch button { min-width:36px; }
 .tp-header .motion-toggle { width:40px;flex-basis:40px; }
 .tp-header:has(.account-greeting:not([hidden])) { grid-template-columns:1fr; }
 .tp-header:has(.account-greeting:not([hidden])) .header-tools { grid-row:2;justify-self:stretch;justify-content:space-between;width:100%;flex-wrap:nowrap; }
 .tp-header:has(.account-greeting:not([hidden])) .product-nav { grid-row:3; }
 .tp-header .account-greeting strong { max-width:84px; }
 .tp-header .account-greeting button { padding:8px;font-size:11px; }
}
@media(max-width:380px) {
 .header.tp-header { width:calc(100% - 28px); }
 .tp-header { gap:10px; }
 .tp-header .brand { gap:7px; }
 .tp-header .brand strong { font-size:16px; }
 .tp-header .brand-mark { width:32px;height:32px;flex-basis:32px; }
 .tp-header .language-switch button { min-width:32px;padding:6px; }
 .tp-header .product-nav a { padding:9px 8px;font-size:13px; }
 .tp-header .account-greeting strong { max-width:42px; }
}
@media print { .tp-header { display:none; } }

:root[data-motion=paused] [data-motion-visual],:root[data-motion=paused] [data-motion-visual] * { animation-play-state:paused!important; }
@media(prefers-reduced-motion:reduce) { [data-motion-visual],[data-motion-visual] * { animation:none!important; } }
@media(max-width:350px) {
 .tp-header { grid-template-columns:1fr; }
 .tp-header .header-tools { grid-row:2;justify-self:stretch;justify-content:flex-start; }
 .tp-header .product-nav { grid-row:3; }
 .tp-header:has(.account-greeting:not([hidden])) .header-tools { display:grid;grid-template-columns:1fr auto;gap:8px; }
 .tp-header .account-greeting { grid-column:1/-1;justify-content:space-between;width:100%; }
 .tp-header .account-greeting strong { max-width:160px; }
 .tp-header .account-greeting button { margin-left:auto; }
 .tp-header .language-switch { justify-self:start; }
}

/* Pricing links and compact navigation. */
.landing-prices { margin:12px 0 0; }
.landing-prices a { display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--tp-accent,#246c9a);font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:4px; }
.landing-prices a:hover { color:var(--tp-hover,#19577f); }
@media(max-width:760px) {
 html .tp-header .product-nav { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;justify-self:stretch; }
 html .tp-header .product-nav a { min-width:0;padding:10px 8px;white-space:normal;text-align:center; }
}
/* Optional winter decoration and the lamp's pull cord. */
/* The cord extends 44px below the last row, including when Installera is visible. */
html .tp-header .header-tools { box-sizing:border-box;min-height:88px;padding-bottom:44px;align-items:center; }
html .tp-header .tp-appearance-controls { display:inline-flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:8px; }
html .tp-header .tp-theme-studio { display:block;position:relative;flex:0 0 44px;width:44px;height:44px; }
@media(min-width:1141px) { html .tp-header { padding-bottom:38px; } html .tp-header:has(.account-greeting:not([hidden])) { padding-bottom:60px; } }
@media(max-width:1140px) { html .tp-header { row-gap:24px; } html .tp-header:has(.account-greeting:not([hidden])) { row-gap:48px; } }
html .tp-header .tp-theme-toggle { flex:0 0 44px;color:#795600;background:#fff2b9;border-color:#cfb559; }
html .tp-header .tp-theme-toggle .tp-theme-lamp { color:#795600;fill:#ffe580;filter:drop-shadow(0 0 4px #efd06980); }
html .tp-header .tp-theme-cord { position:absolute;top:44px;left:0;display:block;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;overflow:visible;background:transparent;border:0;border-radius:7px;touch-action:none;box-shadow:none; }
.tp-theme-cord-line { position:absolute;left:21px;top:-1px;width:2px;height:27px;border-radius:2px;background:repeating-linear-gradient(0deg,#8d7c5a 0 3px,#c4ae7a 3px 6px);transform-origin:top; }
.tp-theme-cord-bead { position:absolute;left:16px;top:25px;width:12px;height:15px;border:1px solid #8e6b14;border-radius:7px;background:#e9ba39;box-shadow:inset 0 2px 2px #fff3af; }
.tp-theme-cord.is-pulled .tp-theme-cord-line { animation:tp-cord-line .38s ease-out; }
.tp-theme-cord.is-pulled .tp-theme-cord-bead { animation:tp-cord-bead .38s ease-out; }
.tp-theme-announcement { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important; }
html .tp-header .tp-snow-toggle { display:inline-flex;justify-content:center;align-items:center;gap:6px;flex:0 0 auto;min-width:76px;height:44px;min-height:44px;padding:8px 11px;border:1px solid var(--tp-line,#d5e3ea);border-radius:12px;color:var(--tp-muted,#4e6979);background:var(--tp-surface,#fff);font-size:12px;line-height:1.2;font-weight:650;font-family:inherit;box-shadow:none; }
.tp-header .tp-snow-toggle svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
html .tp-header .tp-snow-toggle[aria-pressed=true] { color:#17614c;background:#e8f4ed;border-color:#7caa96; }
.tp-header .brand-mark { position:relative;overflow:visible; }
.tp-santa-hat { display:none!important; }
.tp-header .brand-mark .tp-santa-logo { display:none;position:absolute;inset:-3px;pointer-events:none; }
html .tp-header .brand-mark .tp-santa-logo img { display:block;width:100%;height:100%;border-radius:0;object-fit:contain; }
:root[data-tp-snow=on] .tp-header .brand-mark { background:transparent;box-shadow:none; }
:root[data-tp-snow=on] .tp-header .brand-mark > img { visibility:hidden; }
:root[data-tp-snow=on] .tp-header .brand-mark .tp-santa-logo { display:block; }
.tp-header .brand strong { position:relative;width:max-content; }
:root[data-tp-snow=on] .tp-header .brand strong { color:#17614c;background:linear-gradient(100deg,#a5223c 0 52%,#17614c 52% 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent; }
:root[data-tp-snow=on] .tp-header .brand strong::before { content:"";position:absolute;z-index:1;left:-3%;top:-8px;width:106%;height:17px;background:url('/winter-snowcap.svg') center/100% 100% no-repeat;filter:drop-shadow(0 1px 1px #1a455338);pointer-events:none; }
.tp-snowfall { position:fixed;inset:0;z-index:30;overflow:hidden;pointer-events:none!important;user-select:none;contain:strict; }
.tp-snowfall[hidden] { display:none!important; }
.tp-snowfall i { position:absolute;left:var(--snow-x);top:-30px;width:var(--snow-size);height:var(--snow-size);opacity:var(--snow-opacity,.94);animation:tp-snow-fall var(--snow-duration) var(--snow-delay) linear infinite;will-change:transform; }
.tp-snowfall i > span { display:block;width:100%;height:100%;background:url('/winter-snowflake.svg?v=121') center/contain no-repeat;filter:drop-shadow(0 1px 1px #4f748645);animation:tp-snow-sway var(--snow-sway-duration,5s) var(--snow-delay) ease-in-out infinite alternate,tp-snow-twirl var(--snow-duration) var(--snow-delay) linear infinite;will-change:transform; }
.tp-snowfall i[data-snow-shape=soft] > span { background-image:url('/winter-snowflake-soft.svg?v=121'); }
.tp-snowfall i[data-snow-depth=far] > span { filter:blur(.55px) drop-shadow(0 0 1px #60819433); }
.tp-snowfall i[data-snow-depth=middle] > span { filter:blur(.15px) drop-shadow(0 1px 1px #4f748645); }
:root[data-motion=paused] .tp-snowfall i,:root[data-motion=paused] .tp-snowfall i > span,.tp-snowfall[data-paused=true] i,.tp-snowfall[data-paused=true] i > span,.tp-snowfall[data-background=true] i,.tp-snowfall[data-background=true] i > span { animation-play-state:paused!important; }
@keyframes tp-snow-fall { to { transform:translate3d(var(--snow-drift),calc(100vh + 60px),0); } }
@keyframes tp-snow-sway { from { translate:calc(var(--snow-sway,20px) * -.5) 0; } to { translate:calc(var(--snow-sway,20px) * .5) 0; } }
@keyframes tp-snow-twirl { from { rotate:var(--snow-angle,0deg); } to { rotate:calc(var(--snow-angle,0deg) + var(--snow-turn,180deg)); } }
@keyframes tp-cord-line { 40% { transform:scaleY(1.3); } }
@keyframes tp-cord-bead { 40% { transform:translateY(9px); } }
@media(max-width:760px) { html .tp-header .tp-snow-toggle { min-width:44px;width:44px;padding:9px; } .tp-snow-toggle > span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); } .tp-snowfall i:nth-child(n+17) { display:none; } :root[data-tp-snow=on] .tp-header .brand strong::before { top:-7px;height:15px; } }
@media(prefers-reduced-motion:reduce) { .tp-snowfall { display:none!important; }.tp-theme-cord * { animation:none!important; } }
@media print { .tp-snowfall,.tp-snow-toggle,.tp-santa-hat,.tp-santa-logo { display:none!important; }:root[data-tp-snow=on] .tp-header .brand-mark > img { visibility:visible; }:root[data-tp-snow=on] .tp-header .brand strong::before { display:none; }:root[data-tp-snow=on] .tp-header .brand strong { background:none;color:inherit;-webkit-text-fill-color:currentColor; } }
