/* MeteoPanel Public Site — site.css
   Ubuntu font, modern sections, roomy layout, SEO-friendly structure
*/
:root{
  --bg:#060a14;
  --text: rgba(255,255,255,.93);
  --muted: rgba(255,255,255,.70);
  --line: rgba(255,255,255,.12);
  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.08);
  --a:#7cf7ff;
  --b:#9b7bff;
  --c:#4adf7b;
  --good:#41d68d;
  --bad:#ff6b6b;
  --shadow: 0 18px 80px rgba(0,0,0,.55);
  --r: 12px;
  --r2: 16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font: "Ubuntu", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing:border-box; }
html,body{
  font-family: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
 height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 18% 14%, rgba(124,247,255,.14), transparent 60%),
    radial-gradient(900px 520px at 70% 30%, rgba(155,123,255,.14), transparent 60%),
    radial-gradient(1000px 720px at 50% 90%, rgba(74,223,123,.10), transparent 60%),
    var(--bg);
  /* keep one single gradient across long pages */
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x:hidden;
  /* fixed footer spacing */
  padding-bottom: 92px;
}

a{ color: inherit; text-decoration:none; }
.mono{ font-family: var(--mono); }

.wrap{
  width:min(1120px, 92vw);
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index: 9999;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand-logo{
  width:34px;
  height:auto;
  filter: drop-shadow(0 0 16px rgba(124,247,255,.22));
}
.brand-name{ opacity:.92; }

.nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.nav-link{
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.85);
  border: 1px solid transparent;
}
.nav-link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.nav-link.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

.lang{
  display:flex;
  gap:8px;
}
.lang-link{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.82);
  font-weight:700;
  font-size: 12px;
}
.lang-link.is-active{
  background: linear-gradient(90deg, rgba(124,247,255,.20), rgba(155,123,255,.20), rgba(74,223,123,.20));
  border-color: rgba(255,255,255,.18);
}

main{ min-height: 60vh; }

section{
  width:100%;
  padding: 84px 0;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
section.soft{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-top-color: rgba(255,255,255,.08);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
section.dark{
  background: rgba(0,0,0,.16);
  border-top-color: rgba(255,255,255,.08);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.center{ text-align:center; }
.grad{
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color: transparent;
}

.h1{
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.8px;
  font-weight: 700;
}
.lead{
  margin: 0 auto 34px;
  max-width: 82ch;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
  font-weight: 400;
}
.h2{
  margin:0 0 16px;
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: -0.4px;
  line-height: 1.15;
  font-weight: 700;
}
.p{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 70ch;
}

.logoBig{
  width: 168px;
  max-width: 55vw;
  height:auto;
  display:block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 38px rgba(124,247,255,.32));
}

.pillRow{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap:wrap;
  margin: 34px 0 42px;
}
.pill{
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  display:inline-flex;
  gap: 10px;
  align-items:center;
  color: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.pill b{ font-size: 15px; }
.pill span{
  font-size: 14px;
  color: rgba(255,255,255,.70);
  font-weight: 400;
}

.actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}
.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
  color: rgba(0,0,0,.88);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  box-shadow: 0 18px 60px rgba(124,247,255,.14);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0) scale(.99); }
.btnGhost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.90);
  box-shadow: none;
}

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}

/* Generic 2-column grid used across pages */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}
@media (max-width: 980px){
  section{ padding: 72px 0; }
  .split{ grid-template-columns:1fr; }
  .site-header{ position:relative; }
}

.card{
  padding: 22px;
  border-radius: var(--r);
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 980px){
  .cards{ grid-template-columns:1fr; }
}
.card b{
  display:block;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: -.2px;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.mock{
  border-radius: var(--r2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.mock::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(700px 240px at 30% 0%, rgba(124,247,255,.18), transparent 55%),
    radial-gradient(700px 240px at 70% 0%, rgba(155,123,255,.16), transparent 55%);
  pointer-events:none;
  opacity:.95;
}
.mockInner{ position:relative; padding: 16px; }
/* Some templates use .mockBody instead of .mockInner */
.mockBody{ position:relative; padding: 18px; min-height: 300px; display:flex; }
.mockTitle{ font-weight: 700; letter-spacing: .15px; }
.mockTop{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 14px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
}
.mockTop .mockTitle{ margin-left: auto; color: rgba(255,255,255,.80); }
.dots{ display:flex; gap:6px; }
.dot{ width:9px; height:9px; border-radius:99px; background: rgba(255,255,255,.25); }
.dot.good{ background: rgba(65,214,141,.55); }
.dot.cyan{ background: rgba(124,247,255,.55); }
.dot.purp{ background: rgba(155,123,255,.55); }

.formWrap{
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--r2);
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  max-width: 760px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}

/* Form spacing */
.field{ display:flex; flex-direction:column; gap: 8px; }
.field span{ font-size: 13px; color: rgba(255,255,255,.72); }
.consent{ display:flex; align-items:flex-start; gap: 10px; margin: 16px 0 18px; }
.consent input{ width:auto; margin-top: 3px; }
form .grid2{ gap: 16px; }
.msg{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  font-size: 14px;
  margin-bottom: 14px;
}
.msg.ok{ border-color: rgba(65,214,141,.35); }
.msg.err{ border-color: rgba(255,107,107,.35); }
.msg ul{ margin: 6px 0 0; padding-left: 18px; }

.row{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 640px){
  .row{ grid-template-columns:1fr; }
}
input, select, textarea{
  width:100%;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
  outline:none;
  font-family: var(--font);
  font-size: 16px;
}

/* Forecast mini-cards */
.forecast{
  display:grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  width:100%;
  align-content: stretch;
}
.fDay{
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 8px;
  text-align:center;
  min-height: 230px;
}
.fDay b{ font-size: 13px; letter-spacing: .2px; color: rgba(255,255,255,.86); }
.fDay span{ font-size: 18px; line-height: 1; }
.fDay i{ font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.70); }
@media (max-width: 980px){
  .forecast{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .forecast{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(124,247,255,.55);
  box-shadow: 0 0 0 4px rgba(124,247,255,.12);
}
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 16px;
}
.check input{
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.hint{
  margin-top: 10px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer{
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  /*position: fixed;*/
  left:0;
  right:0;
  bottom:0;
  z-index: 140;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

html{ scroll-behavior:smooth; }


/* ===== HEADER UPGRADE ===== */
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  gap:0;
}

.brand-name{
  display:none;
}

.brand-logo{
  width:auto;
  height:85px;
  filter: drop-shadow(0 0 28px rgba(124,247,255,.35));
  transition: transform .25s ease;
}

.brand-logo:hover{
  transform: scale(1.05);
}


/* Header logo (large) */
.brand-logo-large{
  width: 120px;
  height: auto;
  display:block;
  filter: drop-shadow(0 0 22px rgba(124,247,255,.26));
}
@media (max-width: 640px){
  .brand-logo-large{ width: 104px; }
}


/* Bigger CTA button (forms) */
.btnBig{
  padding: 16px 26px;
  font-size: 18px;
  border-radius: var(--r);
  width: 320px;
  display: inline-flex;
  justify-content: center;
}

@media (max-width: 640px){
  .formWrap form .btnBig{ width: 100%; }
}

.waitlist .btnBig{ width: 380px; max-width: 100%; }

/* Layout helpers (Punto Zero) */
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .cards3{ grid-template-columns: 1fr; }
}
.card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding: 18px;
}
.card h3{ margin: 0 0 8px; font-size: 18px; }
.card p{ margin: 0; color: rgba(255,255,255,.78); }

.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .steps{ grid-template-columns: 1fr; }
}
.step{
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding: 16px;
}
.step b{ display:block; margin-bottom: 6px; }
.step span{ color: rgba(255,255,255,.78); }

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

.statTiles{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
}
.tile b{ font-size: 22px; display:block; }
.tile span{ color: rgba(255,255,255,.70); font-size: 13px; }


/* Hero v2 */
.kicker{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  letter-spacing: .2px;
  margin: 0 0 18px;
}

section.hero{
  padding: 78px 0 70px;
}

section.hero.hero--compact{
  padding: 62px 0 56px;
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}

.heroCopy{
  text-align:left;
}

.heroCopy .lead{
  margin-left:0;
  margin-right:0;
  max-width: 70ch;
}

.metricRow{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin: 18px 0 24px;
}
.metric{
  flex: 1 1 190px;
  padding: 14px 14px;
  border-radius: var(--r);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.metric b{
  display:block;
  font-size: 14px;
  letter-spacing: .2px;
}
.metric span{
  display:block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

.heroCopy .actions{
  justify-content:flex-start;
}

.heroNote{
  margin-top: 16px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.heroArt{
  position:relative;
  padding: 14px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.heroImg{
  width:100%;
  height:auto;
  display:block;
  border-radius: 20px;
}
.heroCaption{
  margin-top: 10px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

@media (max-width: 900px){
  .heroGrid{ grid-template-columns: 1fr; }
  .heroCopy{ text-align:center; }
  .heroCopy .actions{ justify-content:center; }
  .heroCopy .lead{ margin-left:auto; margin-right:auto; }
}


.fIcon{ font-size: 22px; line-height: 1; }
.fTemp{ font-style: normal; font-weight: 700; opacity: .9; }
.fMeta{ display:flex; flex-direction:column; gap:6px; font-size: 12px; opacity:.75; }
.fMeta span{ display:flex; align-items:center; gap:8px; justify-content:center; white-space:nowrap; }

@media (max-width: 1000px){
  .forecast{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fDay{ min-height: 190px; }
}
@media (max-width: 700px){
  .forecast{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fDay{ min-height: 160px; }
}


/* Waitlist spacing */
.waitlist{
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--r);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.waitlist form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:end;
  margin-top: 12px;
}
.waitlist .field{ gap: 8px; }
.waitlist .consent{ grid-column: 1 / -1; margin-top: 6px; }
.waitlist .btnBig{ grid-column: 1 / -1; justify-self:start; margin-top: 6px; }
@media (max-width: 800px){
  .waitlist form{ grid-template-columns: 1fr; }
  .waitlist .btnBig{ width: 100%; }
}

.waitlist .grid2{ gap:14px; align-items:end; }
.waitlist .formWrap{ margin-top: 12px; }
.waitlist select, .waitlist input, .waitlist textarea{ margin-top:6px; }


/* ===== Section titles centered (global) ===== */
section .wrap > .h2,
section .wrap > h2{
  text-align:center;
}
section .wrap > .lead{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* ===== Features grid ===== */
.featureGrid{
  margin-top: 28px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.featureCard{
  padding: 18px 18px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
}
.featureIcon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.featureIcon svg{ width: 26px; height: 26px; }
.featureTitle{
  margin: 14px 0 6px;
  font-size: 16px;
  letter-spacing: -.2px;
}
.featureText{
  margin:0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 980px){
  .featureGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .featureGrid{ grid-template-columns: 1fr; }
}

/* ===== Mocks (features) ===== */
.mock{ border-radius: var(--r2); overflow:hidden; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); box-shadow: var(--shadow); }
.mockTop{ display:flex; align-items:center; gap:8px; padding: 14px 14px; border-bottom: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.12); }
.mockTop .dot{ width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.18); }
.mockTop .dot:nth-child(1){ background: rgba(255,107,107,.55); }
.mockTop .dot:nth-child(2){ background: rgba(124,247,255,.45); }
.mockTop .dot:nth-child(3){ background: rgba(74,223,123,.45); }
.mockTitle{ margin-left: 8px; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.78); }
.mockBody{ padding: 14px; }
.insightList{ display:flex; flex-direction:column; gap: 10px; }
.insightItem{ display:flex; gap:10px; align-items:flex-start; padding: 12px 12px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.55; }
.insightDot{ width: 10px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(124,247,255,.65), rgba(155,123,255,.55), rgba(74,223,123,.55)); margin-top: 5px; flex: 0 0 auto; }

/* ===== Pricing ===== */
.pricingGrid{
  margin-top: 30px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.priceCard{
  position:relative;
  padding: 18px;
  border-radius: var(--r2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.priceCard--best{
  background: linear-gradient(180deg, rgba(124,247,255,.10), rgba(155,123,255,.10), rgba(74,223,123,.08));
  border-color: rgba(255,255,255,.18);
}
.badge{
  position:absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.16);
}
.priceHead{ display:flex; justify-content:space-between; align-items:baseline; gap: 12px; }
.pricePlan{ font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.priceNote{ font-size: 12px; color: rgba(255,255,255,.68); }
.priceValue{ display:flex; align-items:flex-end; gap: 8px; margin: 18px 0 10px; }
.priceCurrency{ font-weight: 800; opacity:.9; }
.priceNum{ font-size: 46px; line-height: 1; letter-spacing: -1px; font-weight: 800; }
.pricePeriod{ color: rgba(255,255,255,.68); font-size: 14px; margin-bottom: 6px; }
.priceList{ list-style:none; padding:0; margin: 14px 0 18px; display:flex; flex-direction:column; gap: 10px; }
.priceList li{ display:flex; gap:10px; align-items:flex-start; color: rgba(255,255,255,.80); font-size: 14px; line-height: 1.55; }
.mark{ width: 20px; height: 20px; border-radius: 8px; display:grid; place-items:center; font-weight: 900; font-size: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); flex: 0 0 auto; }
.mark.ok{ color: rgba(74,223,123,.95); }
.mark.no{ color: rgba(255,107,107,.95); }
.priceActions{ margin-top: 8px; }

.tableWrap{ overflow:auto; border-radius: var(--r2); border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); box-shadow: 0 14px 46px rgba(0,0,0,.24); }
.compareTable{ width:100%; border-collapse: collapse; min-width: 720px; }
.compareTable th, .compareTable td{ padding: 14px 14px; border-bottom: 1px solid rgba(255,255,255,.10); }
.compareTable th{ text-align:left; font-size: 12px; text-transform: uppercase; letter-spacing: .9px; color: rgba(255,255,255,.72); background: rgba(0,0,0,.18); }
.cmpFeature{ font-weight: 700; color: rgba(255,255,255,.86); }
.cmpCell{ text-align:center; }
.cmpMark{ display:inline-grid; place-items:center; width: 26px; height: 26px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-weight: 900; }
.cmpMark.ok{ color: rgba(74,223,123,.95); }
.cmpMark.no{ color: rgba(255,107,107,.95); }

.pricingNote{ margin-top: 18px; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.pricingNoteCard{ padding: 14px 14px; border-radius: var(--r2); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.pricingNoteCard b{ display:block; margin-bottom: 6px; }
.pricingNoteCard span{ color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; display:block; }

@media (max-width: 980px){
  .pricingGrid{ grid-template-columns: 1fr; }
  .pricingNote{ grid-template-columns: 1fr; }
}

/* ===== FAQ (native collapsible) ===== */
.faqList{ margin-top: 18px; display:flex; flex-direction:column; gap: 12px; }
.faqItem{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.faqItem summary{
  cursor:pointer;
  padding: 16px 16px;
  font-weight: 800;
  color: rgba(255,255,255,.90);
  list-style:none;
}
.faqItem summary::-webkit-details-marker{ display:none; }
.faqItem summary::after{
  content: '+';
  float:right;
  font-weight: 900;
  opacity:.75;
}
.faqItem[open] summary::after{ content: '–'; }
.faqBody{
  padding: 0 16px 16px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 14px;
}


/* ===== Flat forecast cards (same "graph" technique) ===== */
.wxRow,
.wxGrid{
  width:100%;
  display:grid;
  gap: 12px;
}

.wxRow--compact{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: stretch;
}
@media (max-width: 980px){
  .wxRow--compact{ grid-template-columns: 1fr; }
}

.wxGrid{
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
@media (max-width: 980px){
  .wxGrid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .wxGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wxCard{
  position:relative;
  border-radius: var(--r2);
  padding: 16px 14px 14px;
  min-height: 220px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  overflow:hidden;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap: 12px;
}
.wxCard::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(520px 220px at 25% 0%, rgba(124,247,255,.18), transparent 58%),
    radial-gradient(520px 220px at 75% 0%, rgba(155,123,255,.16), transparent 58%);
  opacity:.9;
  pointer-events:none;
}
.wxCard::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.04), transparent 55%);
  pointer-events:none;
}
.wxCard > *{ position:relative; z-index:1; }

.wxDay{
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}

.wxIcon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  position:relative;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.wxIcon::before{
  content:"";
  position:absolute;
  inset: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(124,247,255,.70), rgba(155,123,255,.55));
  opacity:.95;
}

/* Flat icon variants */
.wxCard[data-ico="sun"] .wxIcon::before{
  inset: 15px;
  border-radius: 999px;
}
.wxCard[data-ico="cloud"] .wxIcon::before{
  inset: 18px 14px 22px;
  border-radius: 12px;
}
.wxCard[data-ico="partly"] .wxIcon::before{
  inset: 16px;
  border-radius: 999px;
  box-shadow: 14px 14px 0 rgba(255,255,255,.10);
}
.wxCard[data-ico="rain"] .wxIcon::before{
  inset: 18px 14px 24px;
  border-radius: 12px;
}
.wxCard[data-ico="rain"] .wxIcon::after{
  content:"";
  position:absolute;
  left: 18px; right: 18px;
  bottom: 14px;
  height: 12px;
  background:
    linear-gradient(to right,
      rgba(124,247,255,.55) 0 3px,
      transparent 3px 7px,
      rgba(124,247,255,.55) 7px 10px,
      transparent 10px 14px,
      rgba(124,247,255,.55) 14px 17px,
      transparent 17px 21px,
      rgba(124,247,255,.55) 21px 24px
    );
  opacity:.9;
}
.wxCard[data-ico="storm"] .wxIcon::before{
  inset: 18px 14px 24px;
  border-radius: 12px;
}
.wxCard[data-ico="storm"] .wxIcon::after{
  content:"";
  position:absolute;
  left: 26px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  background: rgba(155,123,255,.55);
  clip-path: polygon(45% 0, 80% 0, 55% 45%, 88% 45%, 30% 100%, 48% 58%, 18% 58%);
  opacity:.95;
}

.wxTemps{
  display:flex;
  gap: 10px;
  align-items:baseline;
  justify-content:center;
}
.wxMax{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
}
.wxMin{
  font-size: 15px;
  font-weight: 800;
  opacity:.72;
}

.wxRain{
  display:flex;
  gap: 6px;
  align-items:baseline;
  justify-content:center;
  color: rgba(255,255,255,.80);
}
.wxRainVal{ font-size: 18px; font-weight: 900; }
.wxRainUnit{ font-size: 12px; opacity:.75; font-weight: 800; }

/* ===== Waitlist form spacing + full width controls ===== */
.waitlist .formWrap{
  max-width: 920px;
  padding: 28px;
}
.waitlist form{
  width:100%;
}
.waitlist form .grid2{
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px){
  .waitlist form .grid2{ grid-template-columns: 1fr; }
}
.waitlist .field select,
.waitlist .field input{
  width:100%;
  height: 54px;
}
.waitlist .btnBig{
  width:100%;
  justify-content:center;
  height: 56px;
}
.waitlist .consent{
  margin: 18px 0 20px;
}


/* ===== Section titles centered (global) ===== */
section .h2, section .h3{
  text-align:center;
}
section > .wrap > .lead,
section .wrap > .lead{
  text-align:center;
  max-width: 780px;
  margin-left:auto;
  margin-right:auto;
}

/* ===== Forecast (flat, same language as charts) ===== */
.forecastWide{
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 18px;
  overflow:hidden;
}
.wxGrid--wide{
  display:grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px){
  .wxGrid--wide{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .wxGrid--wide{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.wxRow--hero{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .wxRow--hero{ grid-template-columns: 1fr; }
}

.wxCard--hero{
  min-height: 260px;
  padding: 18px 16px 16px;
}
.wxCard--wide{
  min-height: 220px;
  padding: 16px 14px 14px;
}

.wxCard--hero .wxIcon,
.wxCard--wide .wxIcon{
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

/* More “weather”, still flat: color accents by condition */
.wxCard[data-ico="sun"] .wxIcon::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,210,90,.85), rgba(255,150,90,.30));
}
.wxCard[data-ico="partly"] .wxIcon::before{
  background: radial-gradient(circle at 30% 30%, rgba(124,247,255,.70), rgba(155,123,255,.40));
}
.wxCard[data-ico="cloud"] .wxIcon::before{
  background: radial-gradient(circle at 30% 30%, rgba(200,220,255,.45), rgba(155,123,255,.20));
}
.wxCard[data-ico="rain"] .wxIcon::before{
  background: radial-gradient(circle at 30% 30%, rgba(124,247,255,.75), rgba(74,223,123,.18));
}
.wxCard[data-ico="storm"] .wxIcon::before{
  background: radial-gradient(circle at 30% 30%, rgba(168,110,255,.65), rgba(124,247,255,.25));
}

.wxRange{
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.wxRange > span{
  display:block;
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,247,255,.55), rgba(155,123,255,.50));
}

.wxMeta{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 2px;
}
.wxMetaItem{
  display:flex;
  align-items:baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.10);
}
.wxMetaVal{ font-size: 16px; font-weight: 900; }
.wxMetaUnit{ font-size: 12px; font-weight: 800; opacity:.75; }

.wxWindGlyph{
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  position:relative;
  flex: 0 0 auto;
}
.wxWindGlyph::before{
  content:"";
  position:absolute;
  left: 3px; right: 3px; top: 4px;
  height: 2px;
  background: rgba(255,255,255,.55);
  border-radius: 2px;
  box-shadow: 0 4px 0 rgba(255,255,255,.35);
  opacity:.95;
}

/* ===== Waitlist form: airy, button centered, placeholders ===== */
.waitlist .field{ display:block; width:100%; }
.waitlist .btnBig{
  width:auto;
  min-width: 220px;
  max-width: 320px;
  margin: 8px auto 0;
  height: 56px;
}
.waitlist .formWrap{
  padding: 32px;
}
.waitlist .consent{
  margin: 18px 0 18px;
}

/* Better select arrow spacing + flat chevron */
.waitlist select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.65) 50%),
    linear-gradient(135deg, rgba(255,255,255,.65) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}


/* ===== Hotfix v5: forecast horizontal, no overflow, stronger "Cosa ottieni", waitlist fill ===== */

/* Center all section titles & leads (also when nested) */
section .h2, section h2{
  text-align:center;
}
section .lead{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  max-width: 920px;
}

/* "Cosa ottieni" visual grid */
.nowGrid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 760px){
  .nowGrid{ grid-template-columns: 1fr; }
}
.nowCard{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 18px 18px;
  border-radius: var(--r2);
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  position:relative;
  overflow:hidden;
}
.nowCard::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(520px 220px at 18% 0%, rgba(124,247,255,.14), transparent 60%),
    radial-gradient(520px 220px at 82% 0%, rgba(155,123,255,.12), transparent 60%);
  opacity:.95;
  pointer-events:none;
}
.nowCard > *{ position:relative; z-index:1; }
.nowDot{
  flex: 0 0 auto;
  width: 14px; height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(124,247,255,.85), rgba(155,123,255,.65));
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
}
.nowText{
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}

/* Forecast: keep cards on one horizontal line */
.wxRow--wide{
  display:flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x:auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.wxRow--wide::-webkit-scrollbar{ height: 10px; }
.wxRow--wide::-webkit-scrollbar-track{ background: rgba(255,255,255,.06); border-radius: 999px; }
.wxRow--wide::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.18); border-radius: 999px; }

.wxCard--wide{
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 560px){
  .wxCard--wide{ flex-basis: 220px; }
}

/* Make sure meta never overflows outside the card */
.wxMeta{
  width: 100%;
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px;
  margin-top: auto;
}
.wxMetaItem{
  min-width: 0;
  width: 100%;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
  overflow:hidden;
}
.wxMetaVal{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1;
}
.wxMetaUnit{
  font-size: 11px;
  font-weight: 800;
  opacity: .72;
  line-height: 1;
}
.wxWindGlyph{
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  position: relative;
  flex: 0 0 auto;
}
.wxWindGlyph::before{
  content:"";
  position:absolute;
  left: 5px; right: 5px;
  top: 6px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,.45);
  box-shadow: 0 4px 0 rgba(255,255,255,.35);
  opacity:.9;
}

/* Nicer rain icon (flat droplets, less 'barcode') */
.wxCard[data-ico="rain"] .wxIcon::after{
  content:"";
  position:absolute;
  left: 16px; right: 16px;
  bottom: 12px;
  height: 16px;
  background:
    radial-gradient(circle at 18% 55%, rgba(124,247,255,.70) 0 2.6px, transparent 3px),
    radial-gradient(circle at 38% 75%, rgba(124,247,255,.70) 0 2.6px, transparent 3px),
    radial-gradient(circle at 58% 55%, rgba(124,247,255,.70) 0 2.6px, transparent 3px),
    radial-gradient(circle at 78% 75%, rgba(124,247,255,.70) 0 2.6px, transparent 3px);
  opacity:.95;
}

/* Waitlist: 50/50 full width fields + centered button */
.waitlist .formWrap{
  width: 100%;
  max-width: 920px;
}
.waitlist form{
  width:100%;
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.waitlist form .grid2{
  width:100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px){
  .waitlist form .grid2{ grid-template-columns: 1fr; }
}
.waitlist .field{
  width:100%;
  display:block;
}
.waitlist .field select,
.waitlist .field input{
  width:100%;
  display:block;
}

/* Select arrow: more breathing room + nicer caret */
.waitlist select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right: 54px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.65)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;
  background-position: right 18px center;
  background-size: 18px 18px;
}

.waitlist .consent{
  margin: 4px 0 0;
}
.waitlist .btnBig{
  align-self:center;
  width: min(340px, 70%);
  justify-content:center;
  margin-top: 8px;
}

/* ===== Waitlist consent (SaaS premium) ===== */
.waitConsent{
  margin-top: 14px;
  text-align: center;
}

.waitConsentLabel{
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  max-width: min(720px, 100%);
}

.waitConsentText{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
  text-wrap: pretty;
}

.waitConsentInput{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.20);
  margin-top: 2px;
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
}

.waitConsentInput:hover{
  border-color: rgba(124,247,255,.45);
}

.waitConsentInput:checked{
  border-color: rgba(124,247,255,.55);
  background: linear-gradient(90deg, rgba(124,247,255,.55), rgba(155,123,255,.45), rgba(74,223,123,.35));
}

.waitConsentInput:checked::after{
  content:"";
  position:absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid rgba(0,0,0,.75);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  opacity: .9;
}

/* keep consent centered even when button is narrow */
.waitlist .btnBig + .waitConsent{ margin-top: 12px; }


/* ===== Premium consent + waitlist cleanup (targeted) ===== */
.waitlist .formWrap{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* Keep form airy even without the boxed container */
.waitlist form{
  margin-top: 18px;
}

/* Consent full-width and centered (no pill) */
.waitConsent{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  text-align: center;
}

.waitConsentLabel{
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.waitConsentText{
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

/* Custom checkbox (no ugly native tick) */
.waitConsentInput{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.20);
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.waitConsentInput:hover{
  border-color: rgba(124,247,255,.45);
}

.waitConsentInput:checked{
  border-color: rgba(124,247,255,.55);
  background: linear-gradient(90deg, rgba(124,247,255,.55), rgba(155,123,255,.45), rgba(74,223,123,.35));
}

.waitConsentInput:checked::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: 2px solid rgba(255,255,255,.92);
  border-top: 0;
  border-left: 0;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: .95;
}

/* Slightly reduce consent spacing on small screens */
@media (max-width: 520px){
  .waitConsentText{ font-size: 12.5px; }
}


/* ===== Forecast meta vertical stack + no clipping ===== */

.wxMeta{
  display: flex !important;
  flex-direction: column !important;   /* mm sopra, vento sotto */
  gap: 10px !important;
}

.wxMetaItem{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  overflow: visible !important;        /* evita tagli */
}

.wxMetaItem svg,
.wxMetaItem .icon{
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;           /* evita compressione icona */
}

.wxMetaVal{
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.wxMetaUnit{
  font-size: 10px !important;
  opacity: .75 !important;
  line-height: 1.1 !important;
}

/* ===== SaaS Auth / Account UI ===== */
.authWrap{max-width:520px;margin:0 auto;}
.authCard{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:18px 18px 14px;box-shadow:0 12px 40px rgba(0,0,0,.25);}
.authTitle{font-size:26px;margin:0 0 6px;}
.authSub{opacity:.75;margin:0 0 16px;}
.formRow{display:flex;gap:10px;}
.formRow > *{flex:1;}
.field{display:flex;flex-direction:column;gap:6px;margin:10px 0;}
.field input,.field select{width:100%;padding:12px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.18);color:rgba(255,255,255,.92);outline:none;}
.field input:focus,.field select:focus{border-color:rgba(124,247,255,.55);box-shadow:0 0 0 4px rgba(124,247,255,.14);}
.formHelp{font-size:13px;opacity:.75;margin-top:6px;}
.notice{margin:0 0 12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);}
.notice--success{border-color:rgba(74,223,123,.35);background:rgba(74,223,123,.10);}
.notice--error{border-color:rgba(255,99,132,.35);background:rgba(255,99,132,.10);}
.notice--info{border-color:rgba(124,247,255,.25);background:rgba(124,247,255,.08);}
.authActions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px;flex-wrap:wrap;}
.authActions .btn{white-space:nowrap;}
.link{color:rgba(124,247,255,.9);text-decoration:none;}
.link:hover{text-decoration:underline;}

.accountGrid{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start;}
@media(max-width:900px){.accountGrid{grid-template-columns:1fr;}}
.sideCard{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:14px;}
.kv{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06);}
.kv:last-child{border-bottom:none;}
.kv b{opacity:.7;font-weight:600;}

.paypalBox{margin-top:14px;padding:12px;border:1px dashed rgba(255,255,255,.18);border-radius:16px;background:rgba(0,0,0,.12);}

/* header auth buttons */
.navAuth{display:flex;gap:10px;align-items:center;margin-left:12px;}
.btnSmall{padding:10px 12px;font-size:13px;border-radius:12px;}
/* ---------------- Mobile Nav (hamburger) ---------------- */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}
.container{ width:min(1120px, 92vw); margin:0 auto; }

.navToggle{
  display:none;
  width:42px;
  height:42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  background: rgba(255,255,255,.88);
  margin: 0;
  border-radius:2px;
}

.navWrap{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav__link{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.85);
  border: 1px solid transparent;
}
.nav__link.is-active, .nav__link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

/* Logged-in header: profile icon + dropdown */
.navProfile{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}
.navProfile:hover{ background: rgba(255,255,255,.08); }
.navProfileIcon{ width:20px; height:20px; }

.navDrop{ position:relative; }
.navDrop summary{ list-style:none; cursor:pointer; }
.navDrop summary::-webkit-details-marker{ display:none; }
.navDropCaret{ opacity:.75; font-weight:700; margin-left:6px; }
.navDropMenu{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: rgba(14,14,18,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
  padding: 8px;
  display:none;
  z-index: 80;
}
.navDrop[open] .navDropMenu{ display:block; }
.navDropItem{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  text-decoration:none;
  border: 1px solid transparent;
}
.navDropItem:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.lang{
  display:flex;
  gap:8px;
  align-items:center;
}
.lang__link{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  letter-spacing:.6px;
  opacity:.9;
}
.lang__link.is-active{
  background: rgba(124,247,255,.10);
  border-color: rgba(124,247,255,.22);
}

.navBackdrop{ display:none; }

@media (max-width: 920px){
  .navToggle{ display:inline-flex; align-items:center; justify-content:center; }
  .navWrap{
    position:fixed;
    top: 68px;
    right: 10px;
    left: 10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    z-index: 9998;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(10,14,28,.94);
    box-shadow: var(--shadow);
  }
  body.nav-open .navWrap{ display:flex; }
  .nav{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .nav__link{ width:100%; }
  .lang{ justify-content:flex-end; }
  .navAuth{
    display:flex;
    gap:10px;
    width:100%;
    justify-content:flex-end;
    margin-left:0;
    margin-top:6px;
  }
  .navAuth .btn{ width:auto; }

  /* dropdown becomes inline in mobile menu */
  .navDrop{ width:100%; }
  .navDropMenu{
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    display: none;
  }
  .navDrop[open] .navDropMenu{ display:block; }


  .navBackdrop{
    display:none;
    position:fixed;
    inset:0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(2px);
    z-index:40;
  }
  body.nav-open .navBackdrop{ display:block; }
}

.btn-sm{
  padding: 8px 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.list{ display:flex; flex-direction:column; gap:10px; }
.listRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
@media (max-width: 520px){
  .listRow{ flex-direction:column; align-items:flex-start; }
  .listRow > div:last-child{ width:100%; justify-content:space-between; }
}

/* CUSTOM */
.paypalBox div {
    padding: 0 0 10px;
}

/* --- Features showcase illustrations --- */
.alignCenter{ align-items:center; }
.illusCard{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  padding: 14px;
}
.illusCard svg{ width:100%; height:auto; display:block; }
.bullets{
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.bullets li{ margin: 6px 0; }

/* --- Pricing (cards + compare) --- */
.priceHead{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.pricePlan{ font-weight: 800; font-size: 18px; letter-spacing:.2px; }
.priceNote{ font-size: 12px; opacity:.75; }
.priceValue{ display:flex; align-items:baseline; gap:6px; margin: 10px 0 12px; }
.priceCurrency{ opacity:.85; font-weight:700; }
.priceNum{ font-size: 40px; font-weight: 900; line-height:1; }
.pricePeriod{ opacity:.75; font-size: 13px; }
.priceList{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.priceList li{ display:flex; gap:10px; align-items:flex-start; color: var(--muted); }
.mark{ width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; border-radius: 6px; font-weight:900; flex:0 0 18px; }
.mark.ok{ background: rgba(65,214,141,.16); color: var(--good); border:1px solid rgba(65,214,141,.22); }
.mark.no{ background: rgba(255,107,107,.12); color: var(--bad); border:1px solid rgba(255,107,107,.18); }
.priceActions{ margin-top: 14px; }
.priceCard--best{ border-color: rgba(124,247,255,.22); box-shadow: 0 22px 80px rgba(0,0,0,.36); }
.badge{
  position:absolute; top: -12px; right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(124,247,255,.26);
  background: rgba(124,247,255,.10);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

/* --- Contact / Support --- */
.contactGrid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; }
@media (max-width: 980px){ .contactGrid{ grid-template-columns:1fr; } }
.formCard{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.formRow{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 720px){ .formRow{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom: 12px; }
.field label{ font-size: 13px; color: var(--muted); }
.input, .select, .textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
}
.textarea{ min-height: 140px; resize: vertical; }
.helpCard{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 16px;
}
.helpCard h3{ margin:0 0 8px; font-size: 16px; }
.helpList{ margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6; }
.noticeOk{
  border-radius: var(--r2);
  border: 1px solid rgba(65,214,141,.22);
  background: rgba(65,214,141,.10);
  padding: 12px 14px;
  color: var(--text);
  margin-bottom: 14px;
}
.noticeBad{
  border-radius: var(--r2);
  border: 1px solid rgba(255,107,107,.18);
  background: rgba(255,107,107,.08);
  padding: 12px 14px;
  color: var(--text);
  margin-bottom: 14px;
}


/* ============================
   Station settings (account)
   Namespaced to avoid conflicts
   ============================ */
.stationSettings{ padding: 26px 0; }
.stationSettings__head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  margin-bottom: 14px;
}
.stationSettings__title .h2{ margin:0 0 8px; }
.stationSettings__title .lead{ margin:0; max-width: 70ch; }
.stationSettings__actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.stationSettings__summary{
  display:grid; grid-template-columns: 0.85fr 0.75fr 1.8fr; gap:12px;
  margin-top: 12px;
}
@media (max-width: 980px){ .stationSettings__summary{ grid-template-columns: 1fr; } }

.ssCard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--r2);
  padding: 12px 12px;
}
.ssCard__k{ font-size:12px; color: var(--muted); }
.ssCard__v{ font-size:14px; font-weight:700; margin-top:6px; }
.ssCard__s{ font-size:12px; color: var(--muted); margin-top:6px; }

.ssBadges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.ssBadge{
  font-size:12px;
  padding:6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.ssBadge.on{ border-color: rgba(65,214,141,.28); background: rgba(65,214,141,.10); }
.ssBadge.off{ border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.02); opacity:.75; }
.ssBadge.locked{ opacity:.70; border-style:dashed; }


.stationSettings__flash{ margin-top: 14px; }

.stationSettings__form{ margin-top: 14px; }

.stationTabs{
  display:flex; gap:10px; flex-wrap:wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.stationTabs__btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
  user-select:none;
}
.stationTabs__btn:hover{ background: rgba(255,255,255,.05); }
.stationTabs__btn.is-active{
  border-color: rgba(124,247,255,.30);
  box-shadow: 0 14px 30px rgba(124,247,255,.10);
  background: rgba(124,247,255,.06);
}
.stationTabs__ico{ width:18px; height:18px; opacity:.9; }

.stationTabs__mobile{ display:none; width:100%; }
.stationTabs__select{
  width:100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}
.stationTabs__select:focus{ border-color: rgba(124,247,255,.30); box-shadow: 0 0 0 3px rgba(124,247,255,.08); }

@media (max-width: 860px){
  .stationTabs{ flex-wrap:nowrap; }
  .stationTabs__mobile{ display:block; padding-bottom: 10px; }
  .stationTabs__btn{ display:none; }
}

.stationTabPanel{ display:none; padding-top: 14px; }
.stationTabPanel.is-active{ display:block; }

.ssGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.ssGrid--1{ grid-template-columns: 1fr; }
@media (max-width: 980px){ .ssGrid{ grid-template-columns: 1fr; } }

.ssPanel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--r2);
  padding: 14px;
}
.ssPanel__head{ margin-bottom: 10px; }
.ssPanel__title{ margin:0; font-size: 16px; }
.ssPanel__help{ margin:6px 0 0; color: var(--muted); font-size: 13px; }

.ssTip{
  margin-top: 12px;
  border-radius: var(--r2);
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.iconPicker{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
  margin-top: 10px;
}
@media (max-width: 560px){ .iconPicker{ grid-template-columns: 1fr; } }

.iconOption{
  text-align:left;
  display:flex; align-items:center; justify-content:space-between;
  gap: 10px;
  width:100%;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--text);
  padding: 12px 12px;
  cursor:pointer;
}
.iconOption:hover{ background: rgba(255,255,255,.05); }
.iconOption.is-active{
  border-color: rgba(155,123,255,.40);
  box-shadow: 0 14px 30px rgba(155,123,255,.12);
  background: rgba(155,123,255,.07);
}
.iconOption__title{ font-weight: 800; font-size: 13px; }
.iconOption__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.iconOption__right{ font-size: 18px; letter-spacing: 2px; opacity:.95; }

.iconPreviewBox{
  margin-top: 12px;
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  padding: 12px;
}
.iconPreviewBox__k{ font-size:12px; color: var(--muted); }
.iconPreviewBox__v{ font-size:18px; margin-top:8px; }
.iconPreviewBox__s{ font-size:12px; color: var(--muted); margin-top: 6px; }

.webcamPreview__frame{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  overflow:hidden;
}
.webcamPreview__frame img{
  display:block;
  width:100%;
  height:auto;
  max-height: 320px;
  object-fit: cover;
}
.webcamPreview__note{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.webcamPreview--empty{
  border-radius: 16px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
}

.stationSettings__footerActions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-top: 14px;
}

.stationSettings__footerActions .btn{ font-size:14px; }


/* =========================
   Flash messages (station settings)
   ========================= */
.stationSettings .ssFlash{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  margin: 12px 0 16px;
}
.stationSettings .ssFlash--ok{
  border-color: rgba(50,200,120,.26);
  background: rgba(50,200,120,.10);
}
.stationSettings .ssFlash--bad{
  border-color: rgba(240,90,90,.28);
  background: rgba(240,90,90,.10);
}
.stationSettings .ssFlash__msg{ font-weight: 600; }
.stationSettings .ssFlash__list{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.92);
}
.stationSettings .ssFlash__list li{ margin: 4px 0; }

/* =========================
   Toggle switches (station settings)
   ========================= */
.stationSettings .toggleRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.stationSettings .toggleLabel{
  font-weight: 600;
}
.stationSettings .switch{
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}
.stationSettings .switch input{
    
  opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}
.stationSettings .slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  transition: .22s ease;
  border:1px solid rgba(255,255,255,.18);
}
.stationSettings .slider:before{
  content:"";
  position:absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  transition: .22s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.stationSettings .switch input:checked + .slider{
  background: rgba(79,108,255,.85);
  border-color: rgba(79,108,255,.55);
}
.stationSettings .switch input:checked + .slider:before{
  transform: translate(20px, -50%);
}
.stationSettings .switch input:focus + .slider{
  box-shadow: 0 0 0 4px rgba(79,108,255,.18);
}

/* Flash close + animation */
.stationSettings .ssFlash{ position:relative; transition: opacity .22s ease, transform .22s ease; }
.stationSettings .ssFlash__close{
  position:absolute; right:10px; top:10px;
  width:28px; height:28px; border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color:#fff; font-size:18px; line-height:26px;
  cursor:pointer;
}
.stationSettings .ssFlash__close:hover{ background: rgba(0,0,0,.28); }


/* ===== Checkout segmented buttons (selected state - soft flat) ===== */
.segmentedBtn[aria-pressed="true"]{
  background: rgba(124,247,255,.12);
  color: #7cf7ff;
  border-color: rgba(124,247,255,.35);
}

.segmentedBtn[aria-pressed="true"]:hover{
  background: rgba(124,247,255,.18);
}

.segmentedBtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(124,247,255,.25);
}


/* ===== MeteoPanel: Station Charts (ultra modern UI) ===== */
.mpModuleBand{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.mpModuleBand__left{ flex: 1; min-width: 240px; }
.mpModuleBand__right{ min-width: 320px; }
@media (max-width: 900px){
  .mpModuleBand{ flex-direction:column; }
  .mpModuleBand__right{ width:100%; min-width: 0; }
}

.mpChartsHead{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.mpHeadRow{ display:flex; align-items:center; gap:10px; }
.mpBadge{
  font-size: 11px;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124,247,255,.35);
  background: rgba(124,247,255,.10);
  color: #7cf7ff;
  text-transform: uppercase;
  line-height: 1;
}

.mpChartsControls{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.mpChartsControls .mpField{ grid-column: span 6; }
.mpChartsControls .mpChartsActions{
  grid-column: span 12;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
}
.mpChartsControls .mpCustomRange{ grid-column: span 12; }
.mpRangeRow{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.mpChartStats{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.mpStat{
  grid-column: span 3;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 10px 12px;
}
.mpStat__k{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mpStat__v{
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.mpStat--note{ grid-column: span 12; }

.mpChartWrap{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  min-height: 300px;
  overflow:hidden;
}
#mpHistoryChart{ width:100%; height: 280px; }

.mpChartCaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  padding: 0 2px;
}

@media (max-width: 900px){
  .mpChartsControls .mpField{ grid-column: span 12; }
  .mpStat{ grid-column: span 6; }
  .mpChartWrap{ min-height: 260px; }
}
@media (max-width: 520px){
  .mpStat{ grid-column: span 12; }
}
@media (max-width: 900px){
  .mpChartsControls .mpField{ grid-column: span 12; }
  .mpChartWrap{ min-height: 240px; }
  #mpHistoryChart{ height: 220px; }
}

/* Export buttons under Chart.js canvas */
.mpChartExport{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:10px}
@media(max-width:640px){.mpChartExport{justify-content:stretch}.mpChartExport .btn{flex:1}}

/* =========================
   CLIMATE ANALISI – COMPACT + NO DEBUG
   (override-only, no station.php changes)
========================= */

/* Hide debug controls in climate analysis */
#mpClimateAnalysisDebugBtn,
#mpClimateAnalysisDebugBox{display:none !important;}

/* Make analysis cards grid more compact */
.mpClimateAnalysis__cards{
  gap: 12px !important;
}

/* Denser card spacing */
.mpClimateAnalysis__cards .mpClimateCard{
  padding: 12px 14px !important;
  border-radius: 12px !important;
}

/* Typography tuning */
.mpClimateAnalysis__cards .mpClimateCard__k{
  font-size: 12px !important;
  margin-bottom: 6px !important;
  opacity: .72 !important;
}
.mpClimateAnalysis__cards .mpClimateCard__v{
  gap: 5px !important;
}
.mpClimateAnalysis__cards .mpClimateCard__s{
  font-size: 12px !important;
  opacity: .62 !important;
  margin-top: 4px !important;
}

/* Slightly smaller anomaly number for compact layout */
.mpClimateAnalysis__cards .mpAnomBig{
  font-size: 24px !important;
}

/* More columns on large screens */
@media (min-width: 1100px){
  .mpClimateAnalysis__cards{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}


/* ===========================
   V35 UI PATCH (27-02-2026)
   - Unify buttons typography
   - Prevent gradient “page break”
   =========================== */

button,
.btn,
a.btn,
input[type="submit"],
input[type="button"],
input[type="reset"]{
  font-size: 14px;
  line-height: 1.1;
  text-transform: capitalize;
}

/* Keep background gradient continuous on scroll */
html, body{
  min-height: 100%;
}
body{
  min-height: 100vh;
  background-attachment: fixed !important;
  background-repeat: no-repeat;
  background-size: cover;
}
