﻿:root{
  --bg:#070c16;
  --bg2:#0b1220;
  --text:#eaf0ff;
  --muted:#b8c3df;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --primary1:#173a6b;
  --primary2:#0d2a52;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(180deg,var(--bg),var(--bg2));color:var(--text)}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1120px, calc(100% - 48px)); margin:0 auto}

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(10,14,26,.68);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}

.brand{display:flex;align-items:center;gap:0;flex:0 0 auto}
.brand__mark{width:170px;height:52px;min-width:170px;max-width:170px;border-radius:0;overflow:hidden;display:block;background:transparent;border:0;flex:0 0 auto}
.brand__mark img{width:170px;height:52px;max-width:170px;max-height:52px;object-fit:contain;object-position:left center;padding:0}
.brand__logo{width:170px;height:52px;max-width:170px;max-height:52px;object-fit:contain;object-position:left center}

.nav{display:flex;gap:18px;color:rgba(255,255,255,.86);font-weight:500}
.nav a{padding:8px 10px;border-radius:10px}
.nav a:hover{background:rgba(255,255,255,.08)}

.header__right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.lang{
  display:inline-flex; gap:2px; padding:3px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  border-radius:999px;
}
.lang button{
  border:0; background:transparent; color:rgba(255,255,255,.82);
  font-weight:700; font-size:12px; padding:8px 10px; border-radius:999px;
  cursor:pointer;
}
.lang button.active{background:rgba(255,255,255,.12); color:#fff}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:999px;font-weight:650;font-size:14px;
  border:1px solid transparent;transition:transform .08s ease,background .15s ease,border-color .15s ease;
  user-select:none; white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn--primary{
  background:linear-gradient(180deg,var(--primary1),var(--primary2));
  border-color:rgba(255,255,255,.16);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}
.btn--primary:hover{filter:brightness(1.08)}
.btn--outline{
  background:transparent;
  border-color:rgba(255,255,255,.22);
}
.btn--outline:hover{background:rgba(255,255,255,.08)}

.hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:flex-start;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 70% 30%, rgba(80,160,255,.22), transparent 60%),
    radial-gradient(900px 500px at 35% 20%, rgba(255,140,80,.16), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.70)),
    url("./assets/hero-cfd-blue.png");
  background-size:cover;
  background-position:center;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.02);
}
.hero__content{position:relative;padding:88px 0 64px}
.hero__text{max-width:760px;padding-top:28px}
.hero h1{
  font-size:clamp(34px,4vw,54px); line-height:1.04;
  margin:0 0 14px; letter-spacing:.2px;
  text-shadow:0 18px 40px rgba(0,0,0,.55);
}
.hero p{
  margin:0 0 22px; color:rgba(255,255,255,.84);
  font-size:16px; line-height:1.6; max-width:620px;
}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap}

.section{padding:56px 0;border-bottom:1px solid var(--line)}
.section h2{margin:0 0 10px;font-size:30px}
.section p{margin:0 0 14px;color:rgba(255,255,255,.78);line-height:1.7}

.cards{margin-top:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px 16px 18px;
}
.card__media{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.16);
}
html[data-theme="light"] .card__media{
  border-color:rgba(12,26,50,.16);
  background:rgba(255,255,255,.85);
}
.card h3{margin:0 0 6px;font-size:16px}
.card p{margin:0;color:rgba(255,255,255,.76);font-size:13.5px;line-height:1.55}

.cases{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:16px;
}
.case{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:16px;
}
.case h3{margin:0 0 10px;font-size:16px}
.case p{margin:0 0 8px;color:rgba(255,255,255,.76);font-size:13.5px;line-height:1.55}
.case p:last-child{margin-bottom:0}

.steps{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:16px;
}
.step{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:16px;
}
.step h3{margin:0 0 8px;font-size:15px}
.step p{margin:0;color:rgba(255,255,255,.76);font-size:13.5px;line-height:1.55}

.grid2{display:grid;grid-template-columns:1.05fr 1fr;gap:22px;align-items:center}
.media{
  border-radius:22px; overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  min-height:320px;
}
.media__img{
  width:100%;height:100%;
  background:
    radial-gradient(600px 260px at 60% 20%, rgba(120,200,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.68)),
    url("./assets/about.jpg");
  background-size:cover;background-position:center;
  transform:scale(1.02);
}

.bullets{margin:0 0 18px;padding-left:18px;color:rgba(255,255,255,.80)}
.bullets li{margin:8px 0}

.contact__box{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.contact__form{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  flex:1 1 500px;
}
.contact__form label{
  font-size:12px;
  color:rgba(255,255,255,.70);
}
.contact__form input,
.contact__form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(4,8,16,.55);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  font:inherit;
}
.contact__form input:focus,
.contact__form textarea:focus{
  outline:none;
  border-color:rgba(140,190,255,.82);
  box-shadow:0 0 0 2px rgba(70,130,220,.22);
}
.contact__direct{
  min-width:220px;
  display:grid;
  gap:6px;
  align-content:start;
}
.contact__label{font-size:12px;color:rgba(255,255,255,.60);margin-bottom:2px}
.contact__value{font-weight:700}
.contact__value a:hover{text-decoration:underline}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:rgba(255,255,255,.70);
}
.footer__inner{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer__links{display:flex;gap:14px;flex-wrap:wrap}
.footer__links a{color:rgba(255,255,255,.74)}
.footer__links a:hover{color:#fff}

@media (max-width: 900px){
  .brand__mark{width:132px;height:40px;min-width:132px;max-width:132px}
  .brand__logo{width:132px;height:40px;max-width:132px;max-height:40px}
  .nav{display:none}
  .cards{grid-template-columns:1fr}
  .cases{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .hero__content{padding-top:54px}
}

.theme{
  display:inline-flex; gap:2px; padding:3px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  border-radius:999px;
}
.theme button{
  border:0; background:transparent; color:rgba(255,255,255,.82);
  font-weight:700; font-size:12px; padding:8px 10px; border-radius:999px;
  cursor:pointer;
}
.theme button.active,
.lang button.active{background:rgba(255,255,255,.12); color:#fff}

html[data-theme="light"]{
  --bg:#f3f6fb;
  --bg2:#e8eef9;
  --text:#122037;
  --muted:#314564;
  --line:rgba(10,20,40,.14);
  --shadow:0 16px 40px rgba(10,26,54,.12);
  --primary1:#1f4f8b;
  --primary2:#173a6b;
}

html[data-theme="light"] .header{
  background:rgba(255,255,255,.78);
}
html[data-theme="light"] .brand__mark{background:transparent;border:0}
html[data-theme="light"] .nav{color:rgba(24,40,68,.9)}
html[data-theme="light"] .nav a:hover{background:rgba(20,40,70,.08)}
html[data-theme="light"] .lang,
html[data-theme="light"] .theme{
  border-color:rgba(20,30,60,.16);
  background:rgba(255,255,255,.75);
}
html[data-theme="light"] .lang button,
html[data-theme="light"] .theme button{color:rgba(16,30,56,.8)}
html[data-theme="light"] .lang button.active,
html[data-theme="light"] .theme button.active{
  background:rgba(20,40,70,.16);
  color:#0c1b33;
}

html[data-theme="light"] .btn--outline{
  border-color:rgba(18,38,68,.24);
}
html[data-theme="light"] .btn--outline:hover{
  background:rgba(18,38,68,.08);
}

html[data-theme="light"] .hero__bg{
  background:
    radial-gradient(1200px 600px at 70% 30%, rgba(20,90,170,.22), transparent 60%),
    radial-gradient(900px 500px at 35% 20%, rgba(255,165,76,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.55)),
    url("./assets/hero-cfd-blue.png");
}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero p{
  color:#0e213f;
  text-shadow:none;
}

html[data-theme="light"] .card,
html[data-theme="light"] .case,
html[data-theme="light"] .step,
html[data-theme="light"] .contact__box{
  background:rgba(255,255,255,.78);
  border-color:rgba(12,26,50,.12);
}
html[data-theme="light"] .section p,
html[data-theme="light"] .card p,
html[data-theme="light"] .case p,
html[data-theme="light"] .step p,
html[data-theme="light"] .bullets,
html[data-theme="light"] .contact__label,
html[data-theme="light"] .footer,
html[data-theme="light"] .footer__links a{
  color:rgba(18,34,59,.82);
}
html[data-theme="light"] .contact__form label{
  color:rgba(16,33,58,.72);
}
html[data-theme="light"] .contact__form input,
html[data-theme="light"] .contact__form textarea{
  border-color:rgba(14,28,54,.18);
  background:rgba(255,255,255,.96);
  color:#11233f;
}
html[data-theme="light"] .footer__links a:hover{color:#0b1f3d}


.card__link{
  display:block;
  color:inherit;
}
.card__link:hover h3{
  text-decoration:underline;
}

.service-page .section{
  padding:48px 0;
}
.service-top{
  padding-top:42px;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
  font-weight:600;
  color:rgba(190,225,255,.92);
}
.back-link:hover{
  color:#fff;
}
.service-hero-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.service-hero-img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.service-hero-content{
  padding:20px;
}
.service-hero-content h1{
  margin:0 0 10px;
  font-size:clamp(28px,3.1vw,42px);
}
.service-hero-content p{
  margin:0;
  color:rgba(255,255,255,.8);
  line-height:1.7;
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.service-panel{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:18px;
}
.service-panel h2{
  margin:0 0 10px;
  font-size:24px;
}
.service-panel .bullets{
  margin-bottom:0;
}
.service-panel--full{
  grid-column:1/-1;
}
.service-cta-section{
  padding-top:0;
}
.service-cta-box{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:22px;
}
.service-cta-box h2{
  margin:0 0 8px;
}
.service-cta-box p{
  margin:0 0 14px;
}
.service-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

html[data-theme="light"] .back-link{
  color:rgba(19,48,88,.85);
}
html[data-theme="light"] .service-hero-card,
html[data-theme="light"] .service-panel,
html[data-theme="light"] .service-cta-box{
  background:rgba(255,255,255,.82);
  border-color:rgba(12,26,50,.14);
}
html[data-theme="light"] .service-hero-content p{
  color:rgba(18,34,59,.84);
}

@media (max-width: 900px){
  .service-grid{grid-template-columns:1fr}
}

.tools-page .tools-hero{
  padding-top:48px;
}
.tools-page .tools-heading{
  max-width:720px;
}
.tools-page .tools-heading h1{
  margin:0 0 10px;
  font-size:clamp(32px,4vw,52px);
}
.tools-page .tools-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:22px;
}
.tools-page .tool-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:20px;
}
.tools-page .tool-card h2{
  margin:0 0 10px;
  font-size:21px;
}
.tools-page .tool-card p{
  margin:0 0 18px;
}
html[data-theme="light"] .tools-page .tool-card{
  background:rgba(255,255,255,.82);
  border-color:rgba(12,26,50,.14);
}

.tool-steam-turbine{
  --tool-panel:rgba(7,14,28,.76);
  --tool-panel-strong:rgba(10,24,43,.92);
  --tool-border:rgba(124,218,232,.18);
  --tool-teal:#39d6d2;
  --tool-cyan:#78e7ff;
  --tool-amber:#f5b642;
  --tool-orange:#ff8a4c;
  --tool-red:#ff5d73;
  --tool-muted:rgba(234,240,255,.72);
  background:
    radial-gradient(900px 380px at 12% 10%, rgba(57,214,210,.12), transparent 62%),
    radial-gradient(820px 420px at 88% 20%, rgba(120,231,255,.10), transparent 62%),
    linear-gradient(180deg, rgba(6,11,21,.96), rgba(8,13,24,.98));
}
.tool-steam-turbine .section{
  border-bottom:1px solid rgba(124,218,232,.10);
}
.tool-shell{
  padding:48px 0 58px;
}
.tool-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--tool-cyan);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tool-badge{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(57,214,210,.38);
  border-radius:999px;
  color:#071018;
  background:linear-gradient(180deg, var(--tool-cyan), var(--tool-teal));
  padding:4px 9px;
  font-size:12px;
  font-weight:800;
  letter-spacing:0;
}
.tool-title{
  max-width:980px;
  margin:14px 0 10px;
  font-size:clamp(31px,4.2vw,56px);
  line-height:1.04;
}
.tool-subtitle{
  max-width:760px;
  margin:0;
  color:var(--tool-muted);
  font-size:17px;
  line-height:1.65;
}
.tool-top-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.tool-warning{
  margin-top:24px;
  background:linear-gradient(180deg, rgba(245,182,66,.14), rgba(245,182,66,.07));
  border:1px solid rgba(245,182,66,.34);
  border-radius:18px;
  padding:16px;
  color:rgba(255,246,224,.94);
}
.tool-warning strong{
  color:#ffd891;
}
.tool-dashboard{
  display:grid;
  grid-template-columns:minmax(250px,.9fr) minmax(330px,1.25fr) minmax(270px,.95fr);
  gap:16px;
  align-items:start;
  margin-top:24px;
}
.tool-panel{
  background:var(--tool-panel);
  border:1px solid var(--tool-border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
}
.tool-panel h2,
.tool-panel h3{
  margin:0 0 14px;
}
.tool-panel h2{
  font-size:21px;
}
.tool-panel h3{
  font-size:16px;
  color:rgba(234,240,255,.92);
}
.tool-input-grid{
  display:grid;
  gap:12px;
}
.tool-field label,
.tool-radio-group legend{
  display:block;
  margin-bottom:6px;
  color:rgba(234,240,255,.78);
  font-size:12px;
  font-weight:700;
}
.tool-field__control{
  display:flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  background:rgba(0,0,0,.22);
  overflow:hidden;
}
.tool-field input{
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  color:#fff;
  padding:10px 11px;
  font:inherit;
}
.tool-field input:focus{
  outline:2px solid rgba(120,231,255,.28);
  outline-offset:-2px;
}
.tool-field input[readonly]{
  color:rgba(255,255,255,.72);
  background:rgba(120,231,255,.06);
}
.tool-unit{
  flex:0 0 auto;
  padding:0 10px;
  color:rgba(234,240,255,.62);
  font-size:12px;
  font-weight:800;
}
.tool-radio-group{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px;
  margin:0;
}
.tool-radio-row{
  display:flex;
  align-items:center;
  gap:9px;
  color:rgba(234,240,255,.86);
  font-size:13px;
  line-height:1.35;
}
.tool-radio-row + .tool-radio-row{
  margin-top:8px;
}
.tool-radio-row input{
  accent-color:var(--tool-teal);
}
.tool-note{
  margin:12px 0 0;
  color:rgba(234,240,255,.68);
  font-size:12px;
  line-height:1.55;
}
.tool-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.tool-status{
  margin-top:14px;
  border-radius:14px;
  border:1px solid rgba(245,182,66,.30);
  background:rgba(245,182,66,.10);
  padding:12px;
}
.tool-status[hidden]{
  display:none;
}
.tool-status ul{
  margin:0;
  padding-left:18px;
  color:#ffe0a8;
  font-size:13px;
  line-height:1.55;
}
.mollier-wrap{
  min-height:460px;
}
.mollier-chart{
  width:100%;
  min-height:390px;
  border-radius:16px;
  background:
    linear-gradient(rgba(120,231,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,231,255,.06) 1px, transparent 1px),
    rgba(2,8,17,.52);
  background-size:40px 40px;
  border:1px solid rgba(120,231,255,.16);
}
.mollier-chart text{
  font-family:Inter,system-ui,sans-serif;
  fill:rgba(234,240,255,.90);
  font-size:14px;
}
.mollier-chart .axis,
.mollier-chart .process{
  stroke:rgba(234,240,255,.72);
  stroke-width:2;
  fill:none;
}
.mollier-chart .dome{
  fill:rgba(57,214,210,.09);
  stroke:rgba(57,214,210,.34);
  stroke-width:2;
}
.mollier-chart .ideal{
  stroke:var(--tool-red);
  stroke-dasharray:8 7;
  stroke-width:3;
  fill:none;
}
.mollier-chart .actual{
  stroke:var(--tool-amber);
  stroke-width:3;
  fill:none;
}
.mollier-chart .drop-ideal{
  stroke:var(--tool-red);
  stroke-width:2;
  fill:none;
}
.mollier-chart .drop-actual{
  stroke:var(--tool-amber);
  stroke-width:2;
  fill:none;
}
.mollier-chart .state{
  stroke:#071018;
  stroke-width:3;
}
.result-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.result-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:11px;
  background:rgba(255,255,255,.055);
}
.result-card--wide{
  grid-column:1/-1;
  background:linear-gradient(180deg, rgba(57,214,210,.17), rgba(57,214,210,.07));
  border-color:rgba(57,214,210,.34);
}
.result-label{
  display:block;
  color:rgba(234,240,255,.62);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.result-value{
  display:block;
  margin-top:5px;
  color:#fff;
  font-size:18px;
  font-weight:800;
}
.result-unit{
  color:rgba(234,240,255,.62);
  font-size:12px;
}
.equations{
  display:grid;
  gap:8px;
  margin-top:16px;
}
.equation{
  border-radius:12px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(0,0,0,.18);
  padding:9px 10px;
  color:rgba(234,240,255,.88);
  font-family:"Segoe UI",Inter,system-ui,sans-serif;
  font-size:13px;
}
.comparison-table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:14px;
  margin-top:10px;
}
.comparison-table th,
.comparison-table td{
  border-bottom:1px solid rgba(255,255,255,.10);
  padding:11px 10px;
  text-align:left;
  color:rgba(234,240,255,.82);
  font-size:13px;
}
.comparison-table th{
  color:#fff;
  background:rgba(120,231,255,.10);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.interpretation-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.interpretation-card{
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px;
  color:rgba(234,240,255,.80);
  line-height:1.58;
}
.future-note{
  margin-top:16px;
  border-left:3px solid var(--tool-teal);
  padding:12px 14px;
  background:rgba(57,214,210,.08);
  color:rgba(234,240,255,.78);
  border-radius:0 12px 12px 0;
}
html[data-theme="light"] .tool-steam-turbine{
  --tool-panel:rgba(255,255,255,.86);
  --tool-panel-strong:rgba(255,255,255,.94);
  --tool-border:rgba(25,95,120,.18);
  --tool-muted:rgba(18,34,59,.78);
  background:linear-gradient(180deg, #eaf3f8, #f5f8fc);
}
html[data-theme="light"] .tool-warning{
  color:#5b3500;
  background:rgba(245,182,66,.16);
}
html[data-theme="light"] .tool-panel h3,
html[data-theme="light"] .tool-field label,
html[data-theme="light"] .tool-radio-group legend,
html[data-theme="light"] .tool-radio-row,
html[data-theme="light"] .tool-note,
html[data-theme="light"] .result-label,
html[data-theme="light"] .result-unit,
html[data-theme="light"] .comparison-table td,
html[data-theme="light"] .interpretation-card,
html[data-theme="light"] .future-note{
  color:rgba(18,34,59,.78);
}
html[data-theme="light"] .tool-field__control,
html[data-theme="light"] .tool-radio-group,
html[data-theme="light"] .result-card,
html[data-theme="light"] .equation,
html[data-theme="light"] .interpretation-card{
  border-color:rgba(12,26,50,.12);
  background:rgba(255,255,255,.72);
}
html[data-theme="light"] .tool-field input,
html[data-theme="light"] .result-value,
html[data-theme="light"] .comparison-table th{
  color:#10213b;
}
html[data-theme="light"] .mollier-chart{
  background:
    linear-gradient(rgba(20,80,110,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,80,110,.07) 1px, transparent 1px),
    rgba(255,255,255,.78);
}
html[data-theme="light"] .mollier-chart text{
  fill:#10213b;
}
html[data-theme="light"] .mollier-chart .axis,
html[data-theme="light"] .mollier-chart .process{
  stroke:rgba(16,33,58,.70);
}

@media (max-width: 1080px){
  .tool-dashboard{
    grid-template-columns:1fr;
  }
  .mollier-wrap{
    min-height:auto;
  }
  .interpretation-grid,
  .tools-page .tools-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 700px){
  .tool-shell{
    padding-top:34px;
  }
  .result-grid,
  .interpretation-grid,
  .tools-page .tools-grid{
    grid-template-columns:1fr;
  }
  .mollier-chart{
    min-height:310px;
  }
  .comparison-table{
    display:block;
    overflow-x:auto;
  }
}






