/* ThermoPilot Studio. Shared visual themes; numerical and print styles stay independent. */
@media screen {
 :root {
  color-scheme:light;
  --tp-bg:#f3f8fa;--tp-surface:#ffffff;--tp-raised:#eaf3f7;--tp-line:#d5e3ea;
  --tp-ink:#143447;--tp-muted:#4e6979;--tp-accent:#246c9a;--tp-hover:#19577f;
  --tp-soft:#dcecf5;--tp-warm:#b85b32;--tp-warm-soft:#fbefe7;--tp-cold:#246c9a;
  --tp-success:#216856;--tp-success-bg:#e5f4ec;--tp-error:#a23e34;--tp-error-bg:#fff0eb;
  --tp-on-accent:#ffffff;
  --tp-radius:20px;--tp-shadow:0 12px 36px #14344708;--tp-field-line:#819daa;
  background:var(--tp-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
 }
 :root[data-tp-theme=solaire] {
  --tp-bg:#fbf6ee;--tp-surface:#fffefb;--tp-raised:#f6ebdd;--tp-line:#e8d8c6;
  --tp-ink:#42372d;--tp-muted:#77604e;--tp-accent:#a9462f;--tp-hover:#873521;
  --tp-soft:#f9e3d8;--tp-warm:#a9462f;--tp-warm-soft:#fce7db;--tp-cold:#326d89;
  --tp-radius:28px;--tp-shadow:0 12px 36px #69451d09;--tp-field-line:#a28c75;
 }
 :root[data-tp-theme=forest] {
  --tp-bg:#f6f7ef;--tp-surface:#fffef9;--tp-raised:#eaf0e4;--tp-line:#d6dfd1;
  --tp-ink:#233b30;--tp-muted:#596b5f;--tp-accent:#27654e;--tp-hover:#194c39;
  --tp-soft:#deead8;--tp-warm:#946820;--tp-warm-soft:#fbf2df;--tp-cold:#347387;
  --tp-radius:22px;--tp-shadow:0 12px 36px #233b300a;--tp-field-line:#789083;
 }
 :root[data-tp-theme=mauve] {
  --tp-bg:#f6f1fa;--tp-surface:#fffdfF;--tp-raised:#eee5f4;--tp-line:#d8c9e3;
  --tp-ink:#382547;--tp-muted:#6d597a;--tp-accent:#73509c;--tp-hover:#5a3b7f;
  --tp-soft:#e9dcf5;--tp-warm:#9d516e;--tp-warm-soft:#f7e6ee;--tp-cold:#4e6e9b;--tp-cold-soft:#e7edf8;
  --tp-success:#286448;--tp-success-bg:#e5f3eb;--tp-error:#9d354c;--tp-error-bg:#fbe8ee;
  --tp-on-accent:#ffffff;--tp-radius:24px;--tp-shadow:0 14px 40px #6041740c;--tp-field-line:#9b82af;
 }
 :root[data-tp-theme=noir] {
  color-scheme:dark;
  --tp-bg:#100d11;--tp-surface:#1b161d;--tp-raised:#261e28;--tp-line:#4b3945;
  --tp-ink:#fff1f4;--tp-muted:#cfb8c1;--tp-accent:#ef6477;--tp-hover:#ff8393;
  --tp-soft:#3c202b;--tp-warm:#ffb28f;--tp-warm-soft:#34201f;--tp-cold:#91cbdc;--tp-cold-soft:#19313b;
  --tp-success:#9ee5c0;--tp-success-bg:#18372a;--tp-error:#ffb0ac;--tp-error-bg:#43242a;
  --tp-on-accent:#2c0712;--tp-radius:18px;--tp-shadow:0 16px 44px #00000024;--tp-field-line:#8c687c;
 }
 :root[data-tp-theme=midnight] {
  color-scheme:dark;
  --tp-bg:#051f2b;--tp-surface:#092c3a;--tp-raised:#10394a;--tp-line:#315b6c;
  --tp-ink:#dcf8ff;--tp-muted:#a7cbd7;--tp-accent:#a8ebfa;--tp-hover:#c8f6ff;
  --tp-soft:#143f50;--tp-warm:#f4bd93;--tp-warm-soft:#3c302b;--tp-cold:#7cd7ef;--tp-cold-soft:#123e50;
  --tp-success:#9be6c9;--tp-success-bg:#153d36;--tp-error:#ffb6ac;--tp-error-bg:#492b33;
  --tp-on-accent:#06222e;--tp-radius:22px;--tp-shadow:0 16px 44px #00121c40;--tp-field-line:#648d9e;
 }
 body.tp-main,body.tp-academy,body.tp-appcenter {
  --shell:var(--tp-bg);--shell-panel:var(--tp-surface);--shell-raised:var(--tp-raised);
  --shell-line:var(--tp-line);--shell-text:var(--tp-ink);--shell-muted:var(--tp-muted);
  --ink:var(--tp-ink);--muted:var(--tp-muted);--line:var(--tp-line);--teal:var(--tp-accent);--navy:var(--tp-ink);--mint:var(--tp-soft);--cyan:var(--tp-accent);
  color:var(--tp-ink);background:var(--tp-bg);background-image:radial-gradient(ellipse at 100% 4%,var(--tp-soft),transparent 45%);background-attachment:fixed;
  min-width:280px;min-height:100vh;position:relative;isolation:isolate;
 }
 body::before { display:none; }
 body.tp-academy { --bg:var(--tp-bg);--panel:var(--tp-surface);--raised:var(--tp-raised);--text:var(--tp-muted);--accent:var(--tp-accent);--heat:var(--tp-warm);--cold:var(--tp-cold); }
 body.tp-appcenter { --bg:var(--tp-bg);--panel:var(--tp-surface);--raised:var(--tp-raised);--text:var(--tp-ink); }
 ::selection { color:var(--tp-ink);background:var(--tp-soft); }
 :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--tp-accent);outline-offset:4px; }
 .tp-main .app { width:min(1180px,calc(100% - 56px)); }
 .tp-header {
  min-height:90px;height:auto;gap:20px;padding:16px 2px;margin:0 auto;
  color:var(--tp-ink);background:transparent;border:0;border-bottom:1px solid var(--tp-line);border-radius:0;box-shadow:none;backdrop-filter:none;z-index:20;
 }
 .tp-header .brand { color:var(--tp-ink); }
 .tp-header .brand-mark { background:#123849;border:0;color:var(--tp-accent);border-radius:12px;box-shadow:0 4px 14px #183b5010; }
 .tp-header .brand strong { font-size:21px;letter-spacing:-.04em; }
 .tp-header .brand .brand-sub { color:var(--tp-muted);font-size:11px; }
 .tp-header .product-nav { background:transparent;border:0;gap:4px;padding:4px; }
 .tp-header .product-nav a { color:var(--tp-muted);border-radius:12px;padding:10px 17px; }
 .tp-header .product-nav a.active { color:var(--tp-accent);background:var(--tp-soft); }
 .tp-header .language-switch { background:var(--tp-surface);border-color:var(--tp-line);border-radius:12px;padding:3px; }
 .tp-header .language-switch button { color:var(--tp-muted);border-radius:9px; }
 .tp-header .language-switch button[aria-pressed=true] { color:var(--tp-accent);background:var(--tp-raised); }
 .tp-header .header-tools { min-width:0;gap:8px; }
 .tp-header .motion-toggle,.tp-header .install,.tp-header .account-greeting button { color:var(--tp-muted);background:var(--tp-surface);border-color:var(--tp-line);border-radius:12px;min-height:44px;height:44px; }
 .tp-header .account-greeting { color:var(--tp-muted); }
 .tp-header .account-greeting strong { color:var(--tp-ink); }
 .tp-header .header-message { color:var(--tp-error); }
 /* One small lamp cycles through the saved interface designs. */
 .tp-theme-studio { position:relative;flex:0 0 44px;align-self:center; }
 .tp-header .tp-theme-toggle { display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:0;color:var(--tp-accent);background:var(--tp-warm-soft);border:1px solid var(--tp-line);border-radius:12px;box-shadow:none; }
 .tp-theme-lamp { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round; }
 /* The home page is a clear invitation into the three product areas. */
 .landing-view { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px 70px;align-items:center;padding:68px 0 40px;min-height:0; }
 .landing-copy .eyebrow { display:flex;align-items:center;gap:10px;padding:0;margin:0 0 25px;border:0;border-radius:0;background:none;color:var(--tp-accent);font-size:11px;letter-spacing:.13em; }
 .landing-copy .eyebrow::before { content:"";display:block;width:22px;height:2px;background:var(--tp-warm);box-shadow:none;border-radius:0; }
 .landing-view h1 { margin:0;max-width:650px;font-size:clamp(48px,5.8vw,76px);font-weight:680;letter-spacing:-.065em;line-height:1.05;color:var(--tp-ink);background:none;-webkit-text-fill-color:currentColor; }
 .landing-lead { color:var(--tp-muted);max-width:470px;font-size:18px;line-height:1.75;margin:25px 0 0; }
 .landing-visual.energy-visual { align-self:center;width:100%;min-width:0;max-width:470px;margin:0;position:relative; }
 .energy-visual { border-radius:var(--tp-radius);background:var(--tp-raised);border:1px solid var(--tp-line);padding:12px;box-shadow:none; }
 .energy-svg { display:block;width:100%;height:auto;overflow:visible; }
 .energy-core { fill:var(--tp-surface);stroke:var(--tp-line);stroke-width:1.5; }
 .energy-plate { fill:none;stroke:var(--tp-accent);stroke-width:6;stroke-linecap:round; }
 .energy-cold { fill:var(--tp-soft); }
 .energy-warm { fill:var(--tp-warm-soft); }
 .energy-orbit { fill:none;stroke:var(--tp-line);stroke-width:1; }
 .energy-flow-warm { fill:none;stroke:var(--tp-warm);stroke-width:3;stroke-linecap:round; }
 .energy-flow-cold { fill:none;stroke:var(--tp-cold);stroke-width:3;stroke-linecap:round; }
 .energy-pipes .energy-warm { fill:none;stroke:var(--tp-warm); }
 .energy-pipes .energy-cold { fill:none;stroke:var(--tp-cold); }
 .energy-plate-warm { stroke:var(--tp-warm);opacity:.5; }
 .energy-plate-cold { stroke:var(--tp-cold);opacity:.5; }
 .energy-flow-warm { stroke:#fff6ee;animation:tp-flow 5s linear infinite; }
 .energy-flow-cold { stroke:#f4fbff;animation:tp-flow 5s linear infinite; }
 .energy-direction-warm { stroke:var(--tp-warm); }
 .energy-direction-cold { stroke:var(--tp-cold); }
 .energy-pulse { stroke-dasharray:6 14;animation:tp-flow 5s linear infinite; }
 @keyframes tp-flow { to { stroke-dashoffset:-120; } }
 .visual-caption { margin:14px 0 0;padding:0;color:var(--tp-muted);background:none;border:0;border-radius:0;text-align:center;font-size:11px;letter-spacing:.05em; }
 .landing-actions { grid-column:1/-1;margin:12px 0 0;display:block; }
 .landing-choices { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0;background:none;border:0; }
 .landing-actions .landing-choices .landing-choice { display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;min-height:112px;padding:16px 20px;border:1px solid var(--tp-line)!important;border-radius:var(--tp-radius);background:var(--tp-surface);color:var(--tp-ink);box-shadow:var(--tp-shadow);text-align:left;line-height:1.4;transition:transform .2s,box-shadow .2s,border-color .2s; }
 .landing-choice-index { grid-column:1/-1;font-size:10px;letter-spacing:.13em;font-weight:650;color:var(--tp-warm); }
 .landing-choice-title { grid-column:1;grid-row:2;font-size:21px;font-weight:650;letter-spacing:-.035em; }
 .landing-choice-arrow { grid-column:2;grid-row:2;display:grid;place-items:center;width:30px;height:30px;color:var(--tp-accent);border:1px solid var(--tp-line);border-radius:50%;font-size:17px; }
 .landing-choice-description { grid-column:1/-1;grid-row:3;font-size:12px;font-weight:450;color:var(--tp-muted); }
 .landing-actions .landing-choices .landing-choice.academy-entry { background:var(--tp-accent);color:var(--tp-on-accent);border-color:var(--tp-accent)!important; }
 .landing-choice.academy-entry .landing-choice-index,.landing-choice.academy-entry .landing-choice-description { color:var(--tp-on-accent);opacity:.9; }
 .landing-choice.academy-entry .landing-choice-arrow { color:var(--tp-on-accent);border-color:currentColor; }
 .landing-choices .landing-choice::after { display:none; }
 .landing-account { grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:2px; }
 .landing-account .landing-signin { color:var(--tp-accent);font-size:13px;min-height:44px;padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:5px; }
 .academy-language-note { color:var(--tp-muted);font-size:12px; }
 .portal-view:not(.landing-view) { margin-top:44px; }
 .portal-heading h1,.signup-intro h1,.tp-appcenter .intro h1 { color:var(--tp-ink);font-weight:650;letter-spacing:-.05em; }
 .portal-heading .eyebrow,.signup-intro .eyebrow,.tp-appcenter .eyebrow { color:var(--tp-accent); }
 .portal-heading>div>p:not(.eyebrow),.signup-intro .landing-lead,.experience-loading { color:var(--tp-muted); }
 /* Common surfaces, forms and calculation results. */
 .track-card,.pro-tool-card,.signup-card,.workspace-view,.academy-rail,.pro-plan-strip { background:var(--tp-surface);border-color:var(--tp-line);border-radius:var(--tp-radius);box-shadow:var(--tp-shadow); }
 .track-card,.pro-tool-card { padding:30px; }
 .track-card h2,.pro-tool-card h2 { color:var(--tp-ink); }
 .track-card>p,.pro-tool-card>p,.track-price,.pro-plan-strip .pro-state { color:var(--tp-muted); }
 .track-pro { background:linear-gradient(145deg,var(--tp-surface),var(--tp-raised)); }
 .dashboard-visual { background:var(--tp-raised);border:1px solid var(--tp-line);border-radius:14px;padding:14px; }
 .dashboard-visual [fill="#162632"] { fill:var(--tp-surface); }
 .dashboard-visual [stroke="#355465"] { stroke:var(--tp-line); }
 .dashboard-visual [stroke="#80e3df"],.dashboard-visual [stroke="#bdeaff"] { stroke:var(--tp-accent); }
 .dashboard-visual [stroke="#ffd5b5"] { stroke:var(--tp-warm); }
 .primary,.pro-cta,.academy-card-cta,.secondary { border-radius:12px; }
 .primary,.track-light .primary,.pro-tool-card .primary { color:var(--tp-on-accent);background:var(--tp-accent);border-color:var(--tp-accent);box-shadow:none; }
 .primary:hover,.track-light .primary:hover,.pro-tool-card .primary:hover { background:var(--tp-hover); }
 .secondary,.track-pro .pro-cta,.academy-card-cta,.pro-hub-heading>.secondary { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-line)!important;box-shadow:none; }
 .academy-rail { padding:24px; }
 .cycle-illustration span,.project-illustration span { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-line); }
 .workspace-view { padding:28px; }
 .tabs { background:var(--tp-raised);border-color:var(--tp-line);border-radius:14px; }
 .tab.active { color:var(--tp-accent);background:var(--tp-surface);border-radius:10px; }
 .card { border-color:var(--tp-line);border-radius:var(--tp-radius);background:var(--tp-surface); }
 .fields label,.signup-fields label { font-size:12px;color:var(--tp-muted); }
 .entry { border-color:var(--tp-field-line);background:var(--tp-surface);min-height:45px; }
 .entry:focus-within { border-color:var(--tp-accent);box-shadow:0 0 0 3px var(--tp-soft); }
 .entry input,.entry select { font-size:15px;color:var(--tp-ink); }
 .actions button { min-height:44px;font-size:12px; }
 .heading p:not(.eyebrow),.note,.form-section-title small { font-size:12px;line-height:1.65; }
 .form-section-title b { color:var(--tp-ink);font-size:13px; }
 .result { background:var(--tp-raised);color:var(--tp-ink); }
 .result .result-head,.result .status,.result .note,.result .details small,.result .hp-metric-grid small,.result .hp-pump-results div { color:var(--tp-muted); }
 .result .badge { color:var(--tp-accent);background:var(--tp-surface); }
 .result .answer strong,.result .details b,.result .hp-metric-grid b,.result .hp-pump-results strong,.result .hp-pump-results>b { color:var(--tp-ink); }
 .result .answer span { color:var(--tp-accent); }
 .result .status.error { color:var(--tp-error); }
 .result hr,.result .hp-metric-grid,.result .hp-pump-results { border-color:var(--tp-line); }
 .result hr { background:var(--tp-line); }
 .hp-visuals { color:var(--tp-ink);background:var(--tp-raised);border-color:var(--tp-line);border-radius:var(--tp-radius); }
 .hp-visuals-heading h3,.hp-chart-card h4 { color:var(--tp-ink); }
 .hp-visuals-heading .eyebrow,.hp-chart-index { color:var(--tp-accent); }
 .hp-visuals-heading p:not(.eyebrow),.hp-chart-topline,.hp-chart-footnote,.hp-curve-legend,.hp-axis-captions { color:var(--tp-muted); }
 .hp-live-indicator,.hp-chart-unit { color:var(--tp-success);background:var(--tp-success-bg);border-color:#bdd9cf; }
 .hp-live-indicator i { background:var(--tp-success); }
 .hp-chart-empty { color:var(--tp-muted);background:var(--tp-surface);border-color:var(--tp-line); }
 .hp-chart-card { background:var(--tp-surface);border-color:var(--tp-line); }
 .hp-curve-tick { fill:var(--tp-muted); }.hp-curve-grid { stroke:var(--tp-line); }.hp-curve-point { stroke:var(--tp-surface);filter:none; }
 .heat-curve { color:var(--tp-warm);stroke:var(--tp-warm); }.electric-curve { color:var(--tp-accent);stroke:var(--tp-accent); }.source-curve { color:#7557a2;stroke:#7557a2; }
 .heat-point { fill:var(--tp-warm); }.electric-point { fill:var(--tp-accent); }.source-point { fill:#7557a2; }
 .heat-legend { background:var(--tp-warm);box-shadow:none; }.electric-legend { background:var(--tp-accent);box-shadow:none; }.source-legend { background:#7557a2;box-shadow:none; }
 .hp-model-data,.hp-model-data.source-data { background:var(--tp-soft);border-color:var(--tp-line);box-shadow:none; }
 .hp-model-data.heating-data { background:var(--tp-warm-soft);border-color:var(--tp-line); }
 .hp-model-data-title,.hp-model-data b { color:var(--tp-accent); }.heating-data>div b { color:var(--tp-warm); }
 .hp-model-data small,.hp-model-medium,.hp-model-foot,.hp-model-foot-note { color:var(--tp-muted); }
 footer,.tp-main footer,.tp-academy footer,.tp-appcenter footer { color:var(--tp-muted);border-color:var(--tp-line);font-size:12px; }
 footer a,.tp-main footer a,.tp-academy footer a,.tp-appcenter footer a { color:var(--tp-muted); }
 footer a:hover { color:var(--tp-accent); }
 .tp-main footer { flex-wrap:wrap;gap:12px 24px; }
 #siteOwnerText { font-size:11px; }
 .experience-spinner { border-color:var(--tp-line);border-top-color:var(--tp-accent); }
 /* Academy keeps warm/cold meanings and clear response states. */
 .tp-academy .hero { max-width:900px;padding-top:56px;padding-bottom:42px; }
 .tp-academy .hero h1,.tp-academy .academy-home .hero h1 { color:var(--tp-ink); }
 .tp-academy .hero h1 em { color:var(--tp-accent); }
 .tp-academy .hero>p { color:var(--tp-muted); }
 .tp-academy .hero .eyebrow { color:var(--tp-accent); }
 .tp-academy .track-card { padding:0;background:linear-gradient(145deg,var(--tp-surface),var(--tp-warm-soft));border-color:var(--tp-line); }
 .tp-academy .track-card.cool { background:linear-gradient(145deg,var(--tp-surface),var(--tp-soft)); }
 .tp-academy .academy-home .track-card.cert { background:var(--tp-surface); }
 .tp-academy .academy-home .cert .track-badge { color:var(--tp-accent); }.tp-academy .academy-home .cert .track-badge>span { background:var(--tp-accent); }
 .tp-academy .track-card p { color:var(--tp-muted); }
 .tp-academy :is(.mini-lesson,.learning-box,.term,.practice-tool,.kc-module-card,.kc-checks,.kc-exercise,.kc-review-item,.player) { border-radius:var(--tp-radius);box-shadow:var(--tp-shadow); }
 .tp-academy :is(.btn,.play-btn,.toast,.skip) { color:var(--tp-on-accent); }
 .tp-academy .btn { border-radius:11px; }.tp-academy .btn:hover { background:var(--tp-hover);border-color:var(--tp-hover); }
 .tp-academy .btn.secondary { color:var(--tp-accent);background:var(--tp-surface);border-color:var(--tp-line); }
 .tp-academy .player-controls { background:var(--tp-raised); }
 .tp-academy .chapter.active { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-accent); }
 .tp-academy .quiz-option.correct,.tp-academy .kc-option.correct,.tp-academy .kc-feedback,.tp-academy .quiz-answer.is-correct,.tp-academy .quiz-explanation { color:var(--tp-success);background:var(--tp-success-bg);border-color:#a1cebb; }
 .tp-academy .quiz-option.wrong,.tp-academy .kc-option.wrong,.tp-academy .kc-feedback.wrong,.tp-academy .quiz-answer.is-wrong,.tp-academy .quiz-explanation.incorrect { color:var(--tp-error);background:var(--tp-error-bg);border-color:#e7bfa8; }
 .tp-academy .kc-quiz-callout,.tp-academy .quiz-corner { background:var(--tp-raised);border-color:var(--tp-line);border-radius:var(--tp-radius); }
 .tp-academy .kc-supervised { color:var(--tp-warm);background:var(--tp-warm-soft); }
 .tp-academy .quiz-mode.active { background:var(--tp-soft); }
 .tp-academy .quiz-answer.is-correct .answer-mark,.tp-academy .quiz-review .review-correct { color:var(--tp-success); }
 .tp-academy .quiz-answer.is-wrong .answer-mark,.tp-academy .quiz-review .review-your-answer { color:var(--tp-error); }
 .tp-academy .academy-motion [fill="#101923"] { fill:var(--tp-raised); }.tp-academy .academy-motion [stroke="#2b3b4c"],.tp-academy .academy-motion [stroke="#365261"] { stroke:var(--tp-line); }.tp-academy .academy-energy-flow { stroke:var(--tp-accent); }
 .tp-academy #main>.wrap:not(.academy-home) { margin:28px auto 40px;background:var(--tp-surface);border:1px solid var(--tp-line);border-radius:var(--tp-radius);box-shadow:var(--tp-shadow); }
 /* Catalogue matches the shell while products retain their own identity. */
 .tp-appcenter .intro h1>span { color:var(--tp-accent); }
 .tp-appcenter .intro-lead,.tp-appcenter .catalogue-status,.tp-appcenter .catalogue-note { color:var(--tp-muted); }
 .tp-appcenter .intro-symbol span { background:var(--tp-surface);border-color:var(--tp-line);box-shadow:none; }.tp-appcenter .intro-symbol span:first-child { background:var(--tp-soft); }.tp-appcenter .intro-symbol span:last-child { background:var(--tp-warm-soft); }
 .tp-appcenter .filters button { color:var(--tp-muted); }.tp-appcenter .filters button.active { background:var(--tp-soft);color:var(--tp-accent);border-color:var(--tp-line); }
 .tp-appcenter .filter-count { color:var(--tp-accent);background:var(--tp-surface); }
 .tp-appcenter .search { border-radius:12px; }
 .tp-appcenter .product-card { border-radius:var(--tp-radius);box-shadow:var(--tp-shadow); }
 .tp-appcenter .product-card[data-tone=mint] { --card-accent:#297e76;--card-tint:#e0f4ee; }.tp-appcenter .product-card[data-tone=blue] { --card-accent:#3669af;--card-tint:#e6f0ff; }.tp-appcenter .product-card[data-tone=gold] { --card-accent:#9b6a28;--card-tint:#fff1d8; }.tp-appcenter .product-card[data-tone=violet] { --card-accent:#7560ad;--card-tint:#efebff; }
 .tp-appcenter .status-tag { background:var(--tp-raised);color:var(--tp-muted);border-color:var(--tp-line);border-radius:20px; }
 .tp-appcenter .product-action,.tp-appcenter .secondary { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-line);border-radius:12px; }
 .tp-appcenter .product-card[data-product=sniptext] .product-action { color:var(--tp-on-accent);background:var(--tp-accent);border-color:var(--tp-accent); }
 .tp-appcenter .product-card .product-action.coming-soon { color:var(--tp-muted);background:var(--tp-raised);border-color:var(--tp-line); }
 .tp-appcenter .product-details summary { color:var(--tp-muted); }.tp-appcenter .product-details summary:hover { color:var(--tp-accent);background:var(--tp-raised); }
 .tp-appcenter .details-body .caution { color:#6b634d;background:#fff8e9;border-color:#d9ba77; }
 .tp-appcenter .owner-access { border-color:var(--tp-line);background:var(--tp-raised);border-radius:var(--tp-radius); }.tp-appcenter .owner-access-heading p { color:var(--tp-muted); }.tp-appcenter .owner-access-link { background:var(--tp-surface);border-color:var(--tp-line);border-radius:12px; }
 /* Themes also change the composition, not just the accent. */
 :root[data-tp-theme=solaire] .landing-copy { border-left:3px solid var(--tp-accent);padding-left:24px; }
 :root[data-tp-theme=solaire] .energy-visual { border-radius:45% 45% 20px 20px;background:var(--tp-warm-soft); }
 :root[data-tp-theme=solaire] .tp-header .product-nav a { border-radius:24px; }
 :root[data-tp-theme=forest] body { background-image:radial-gradient(ellipse at 100% 0,#deead8 0,transparent 48%),radial-gradient(ellipse at 0 90%,#fbf2df 0,transparent 42%);background-size:auto; }
 :root[data-tp-theme=forest] .landing-copy { padding:24px;background:var(--tp-surface);border:1px solid var(--tp-line);border-left:4px solid var(--tp-warm);border-radius:26px 8px 26px 8px; }
 :root[data-tp-theme=forest] .energy-visual { background:var(--tp-surface);border-radius:36px 12px 36px 12px;box-shadow:10px 10px 0 var(--tp-soft); }
 @media(hover:hover) and (pointer:fine) {
  .tp-header .product-nav a:not(.active):hover { color:var(--tp-accent);background:var(--tp-raised);text-decoration:none; }
  .tp-header .account-greeting button:hover { background:var(--tp-raised); }
  .landing-actions .landing-choices .landing-choice:hover { transform:translateY(-4px);border-color:var(--tp-accent)!important;box-shadow:0 15px 35px #14344712; }
  .track-card:hover,.pro-tool-card:hover { border-color:var(--tp-accent); }
 }
 @media(min-width:1141px) { .tp-header { grid-template-columns:auto minmax(0,1fr) auto; }.tp-header .header-tools { flex-wrap:wrap;max-width:390px; }.tp-header .account-greeting:not([hidden]) { flex-basis:100%;justify-content:flex-end;order:-1; } }
 @media(max-width:1140px) { .tp-header { gap:12px; }.landing-view { gap:24px 38px;padding-top:48px; } }
 @media(max-width:760px) {
  .tp-main .app { width:calc(100% - 36px); }.tp-header { padding:15px 0; }.tp-header .brand strong { font-size:19px; }
  .tp-header,.tp-header:has(.account-greeting:not([hidden])) { grid-template-columns:1fr; }.tp-header .header-tools,.tp-header:has(.account-greeting:not([hidden])) .header-tools { grid-row:2;justify-self:stretch;justify-content:flex-start;flex-wrap:wrap;display:flex;width:100%;gap:8px; }.tp-header .product-nav,.tp-header:has(.account-greeting:not([hidden])) .product-nav { grid-row:3;grid-column:1; }
  .tp-header .account-greeting:not([hidden]) { flex-basis:100%;width:100%;justify-content:flex-start;order:-1; }.tp-header .account-greeting strong { max-width:150px; }.tp-header .account-greeting button { margin-left:auto; }
  .tp-header .language-switch button { min-width:40px;min-height:40px; }.tp-header .motion-toggle { width:44px;flex-basis:44px; }.tp-appearance-controls { margin-left:auto; }
  .landing-view { grid-template-columns:minmax(0,1fr);gap:26px;padding:40px 0 24px; }.landing-copy { grid-row:1; }.landing-actions { grid-row:2;margin:0; }.landing-account { grid-row:3;flex-direction:column;align-items:flex-start;gap:0; }.landing-visual.energy-visual { grid-row:4;max-width:440px;margin:0 auto; }
  .landing-view h1 { font-size:clamp(42px,9.5vw,66px);max-width:560px; }.landing-lead { font-size:16px;margin-top:20px; }.landing-copy .eyebrow { margin-bottom:20px;font-size:10px; }
  .landing-choices { gap:10px; }.landing-actions .landing-choices .landing-choice { min-height:112px;padding:14px 12px;gap:6px 8px;border-radius:16px; }.landing-choice-title { font-size:18px; }.landing-choice-index { font-size:9px; }.landing-choice-description { font-size:11px;line-height:1.6; }.landing-choice-arrow { width:24px;height:24px;font-size:14px; }
  .workspace-view { padding:20px 14px; }.track-card,.pro-tool-card { padding:24px; }.tp-academy .hero { padding-top:34px; }.tp-academy #main>.wrap:not(.academy-home) { width:calc(100% - 28px);padding-left:18px;padding-right:18px; }
 }
 @media(max-width:640px) {
  .tp-main .app { width:calc(100% - 28px); }.tp-header .product-nav a { padding:10px 8px;font-size:13px; }.landing-view { padding-top:34px; }.landing-choices { grid-template-columns:1fr; }.landing-actions .landing-choices .landing-choice { min-height:96px;grid-template-columns:1fr auto;gap:3px 14px;padding:13px 18px; }.landing-choice-index { grid-column:1;grid-row:1;font-size:9px; }.landing-choice-title { grid-row:2;grid-column:1;font-size:20px; }.landing-choice-arrow { grid-row:1/4;grid-column:2;width:30px;height:30px; }.landing-choice-description { grid-row:3;grid-column:1;font-size:12px; }.landing-account { gap:2px; }.landing-visual.energy-visual { max-width:320px; }
 }
 @media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }
}
@media print { .tp-theme-studio { display:none!important; } }
@media screen { .landing-choices { max-width:none; } .landing-actions .landing-choices .landing-choice { justify-content:stretch; } }
@media screen {
 :root { --tp-cold-soft:#e4f0f6; }
 .tp-academy .track-card.cool { background:linear-gradient(145deg,var(--tp-surface),var(--tp-cold-soft)); }
 .heading code { color:var(--tp-accent);background:var(--tp-raised);border-color:var(--tp-line); }
 .advanced-inputs summary { color:var(--tp-accent); }
}
@media screen {
 /* New palettes carry through the legacy form and engineering surfaces. */
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-header .account-greeting { color:var(--tp-muted);background:var(--tp-surface);border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.heading h2,.info b,.recent>b,.recent p,.history-item strong,.hp-checklist>b,footer b,.track-card ul,.track-price strong,.pro-plan-strip b) { color:var(--tp-ink); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.heading p:not(.eyebrow),.track-kicker,.track-price small,.signup-card label,.signup-card label span,.signup-note,.workspace-track-label,.tab,.entry i,.info p,.recent small,.history-item p,.history-item time,.history>small,#historyEmpty,.install-help,.academy-help small) { color:var(--tp-muted); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.info,.recent,.install-help,.signup-note,.auth-mode-switch,.workspace-back,.academy-help,.pro-plan-strip .pro-state,.cycle-component-info,.cycle-method,.cycle-inputs,.cycle-mode .entry,.cycle-component-tabs button) { color:var(--tp-muted);background:var(--tp-raised);border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.track-icon,.tab span,.info-mark,.workspace-back,.academy-help,.cycle-inputs legend,.cycle-method summary,.cycle-method a) { color:var(--tp-accent); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.info-mark,.track-icon,.tab span) { background:var(--tp-soft); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.signup-card input,.signup-card select,.entry:focus-within,.cycle-inputs .entry,.az-entry input,.az-entry select,.az-entry textarea,.az-input-table input) { color:var(--tp-ink);background:var(--tp-surface);border-color:var(--tp-field-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.signup-card input,.signup-card select,.az-entry input,.az-entry select,.az-entry textarea):focus { border-color:var(--tp-accent);outline-color:var(--tp-accent);box-shadow:0 0 0 3px var(--tp-soft); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.signup-card input,.entry input,.az-entry input,.az-entry textarea)::placeholder { color:var(--tp-muted);opacity:.8; }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .auth-mode-switch button { color:var(--tp-muted);background:transparent; }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .auth-mode-switch button.active { color:var(--tp-accent);background:var(--tp-surface); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.quiet,.history-clear) { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-line)!important; }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .auth-message { color:var(--tp-error);background:var(--tp-error-bg);border-color:var(--tp-error); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main :is(.cycle-component-info dt,.cycle-chart-heading p,.cycle-method,.cycle-table th) { color:var(--tp-muted); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .cycle-component-info dd { color:var(--tp-ink); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .cycle-table th { background:var(--tp-raised); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .cycle-table tbody tr:hover { background:var(--tp-raised); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .cycle-component-tabs button[aria-pressed=true] { color:var(--tp-on-accent);background:var(--tp-accent);border-color:var(--tp-accent); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .tp-main .cycle-warning { color:var(--tp-warm);background:var(--tp-warm-soft);border-color:var(--tp-warm); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) #engineering { --az-muted:var(--tp-muted); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-group,.az-step-nav button) { color:var(--tp-ink);background:var(--tp-surface);border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-group>summary,.az-input-table th,.az-result-table th,.az-calculate-bar) { color:var(--tp-ink);background:var(--tp-raised);border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-toolbar button,.az-add,.az-csv-button,.az-open-cycle) { color:var(--tp-accent);background:var(--tp-soft);border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .az-step-nav button.active { color:var(--tp-on-accent);background:var(--tp-accent);border-color:var(--tp-accent);box-shadow:none; }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-field,.az-group-note,.az-cycle-notice,.az-entry small,.az-origin,.az-metrics dt,.az-checks li,.az-summary-table th,.az-calculate-bar span,.az-limit) { color:var(--tp-muted); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .az-metrics dd { color:var(--tp-ink); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-curve,.az-group-result,.az-input-table td,.az-result-table td,.az-result-table th,.az-summary-table th,.az-summary-table td) { border-color:var(--tp-line); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .az-curve { background:#f6faf8; }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-provenance,.az-status,.az-status.notApplicable) { color:var(--tp-muted);background:var(--tp-raised); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-status.calculated,.az-provenance:not(.example)) { color:var(--tp-success);background:var(--tp-success-bg); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-status.issue,.az-remove) { color:var(--tp-error);background:var(--tp-error-bg);border-color:var(--tp-error); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-status.review,.az-provenance.example) { color:var(--tp-warm);background:var(--tp-warm-soft);border-color:var(--tp-warm); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-origin.example,.az-checks .pending) { color:var(--tp-warm); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-message,.az-checks .pass>span:first-child) { color:var(--tp-success); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) :is(.az-error,.az-checks .fail) { color:var(--tp-error); }
 :root:is([data-tp-theme=mauve],[data-tp-theme=noir],[data-tp-theme=midnight]) .az-sources a { color:var(--tp-accent); }
 /* Bright product accents and festive lettering stay distinct on dark surfaces. */
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .tp-appcenter .product-card[data-tone=mint] { --card-accent:#8cddd2;--card-tint:#173c3d; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .tp-appcenter .product-card[data-tone=blue] { --card-accent:#a1cdfa;--card-tint:#1b354f; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .tp-appcenter .product-card[data-tone=gold] { --card-accent:#f1cc91;--card-tint:#42351f; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .tp-appcenter .product-card[data-tone=violet] { --card-accent:#d1bcff;--card-tint:#342744; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .tp-appcenter .details-body .caution { color:var(--tp-warm);background:var(--tp-warm-soft);border-color:var(--tp-warm); }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .source-curve { color:#c8b3f3;stroke:#c8b3f3; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .source-point { fill:#c8b3f3; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .source-legend { background:#c8b3f3; }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight])[data-tp-snow=on] .tp-header .brand strong { color:#bcebd7;background:linear-gradient(100deg,#ffb3c2 0 52%,#bcebd7 52% 100%);background-clip:text;-webkit-background-clip:text; }
 :root[data-tp-theme=mauve] body { background-image:radial-gradient(ellipse at 100% 0,#e9dcf5 0,transparent 46%),radial-gradient(ellipse at 0 85%,#f7e6ee 0,transparent 44%); }
 :root[data-tp-theme=noir] body { background-image:radial-gradient(ellipse at 100% 0,#52223066 0,transparent 50%),radial-gradient(ellipse at 0 90%,#291b2445 0,transparent 48%); }
 :root[data-tp-theme=midnight] body { background-image:radial-gradient(ellipse at 100% 0,#1a566b66 0,transparent 54%),radial-gradient(ellipse at 0 90%,#0c3b4a66 0,transparent 48%); }
 :root:is([data-tp-theme=noir],[data-tp-theme=midnight]) .energy-visual { background:linear-gradient(140deg,var(--tp-raised),var(--tp-surface));box-shadow:inset 0 1px 0 #ffffff0b; }
}
