.climate-tool{
    color-scheme: light;
    --bg:#ffffff; --page:#ffffff; --surface:#ffffff; --surface-2:#f6f7f2;
    --border: rgba(16,28,22,0.09); --border-strong: rgba(16,28,22,0.16);
    --ink:#13221b; --ink-2:#4d5850; --muted:#88907f;
    --brand:#0F5930; --brand-strong:#073D27; --brand-soft:#e2efe6; --brand-line:#0F593033;
    --accent:#F0B61A;
    --wet:#1678E8; --wet-soft:#e5eef8;
    --hot:#FF981B; --hot-soft:#faeade;
    --ideal:#0F5930; --ideal-soft:#e2efe6;
    --bar-lo:#c7e5d3; --bar-hi:#073D27;
    --cool:#3a7fc1; --cool-soft:#e6eef8;
    --shadow: none;
    --radius: 10px;
  }
.climate-tool *{ box-sizing:border-box; }
.climate-tool,.climate-tool{ height:auto; }
.climate-tool{
    margin:0;
    background:var(--page);
    color:var(--ink);
    font-family:"Public Sans","Segoe UI",system-ui,-apple-system,sans-serif;
    -webkit-font-smoothing:antialiased;
  }
.climate-tool a{ color:var(--brand); }
.climate-tool{ max-width:1080px; margin:0 auto; padding-inline:16px; padding-block:8px 48px; }
.climate-tool .panel{ padding:0 0 22px; }
.climate-tool .panel + .panel{ margin-top:8px; padding-top:22px; border-top:1px solid var(--border); }
.climate-tool .panel h2{ font-size:15px; margin:0 0 2px; letter-spacing:-.01em; text-transform:none; }
.climate-tool .panel .panel-sub{ font-size:12.5px; color:var(--muted); margin:0 0 14px; }
.climate-tool .info-btn{
    all:unset; cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
    width:18px; height:18px; border-radius:50%; background:var(--surface-2); color:var(--ink-2);
    font-size:11px; font-weight:700; vertical-align:middle; margin-left:6px;
  }
.climate-tool .info-btn:hover{ background:var(--border-strong); }
.climate-tool .info-btn:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .panel-sub{ display:none; }
.climate-tool .panel-sub.shown{ display:block; }
.climate-tool .panel h2{ display:flex; align-items:center; }
.climate-tool .heat-scroll{ overflow-x:auto; margin:0 -4px; padding:0 4px; }
.climate-tool table.heat{ border-collapse:collapse; width:100%; min-width:640px; }
.climate-tool table.heat th,.climate-tool table.heat td{ text-align:center; padding:0; }
.climate-tool table.heat thead th{
    font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.04em;
    padding-bottom:8px;
  }
.climate-tool table.heat thead th:first-child{ text-align:left; }
.climate-tool table.heat tbody th{
    text-align:left; font-size:12.5px; font-weight:700; color:var(--ink); white-space:nowrap; padding-right:12px;
  }
.climate-tool table.heat tbody th .city{ display:block; font-weight:500; color:var(--muted); font-size:11px; }
.climate-tool td.cell{ padding:3px; }
.climate-tool .cell button{
    all:unset; display:block; width:100%; height:30px; border-radius:7px; cursor:pointer;
    border:1px solid transparent; transition:transform .12s ease;
  }
.climate-tool .cell button:hover{ transform:scale(1.06); }
.climate-tool .cell button:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .cell.sel button{ border-color:var(--border-strong); box-shadow:0 0 0 2px var(--surface) inset; }
.climate-tool .cell button{ display:flex; align-items:center; justify-content:center; }
.climate-tool .hot-dot{ width:6px; height:6px; border-radius:50%; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.25); }
.climate-tool .legend{ display:flex; flex-wrap:wrap; gap:14px; margin-top:12px; font-size:12px; color:var(--ink-2); align-items:center; }
.climate-tool .legend span{ display:inline-flex; align-items:center; gap:6px; }
.climate-tool .legend i{ width:11px; height:11px; border-radius:3px; display:inline-block; }
.climate-tool .legend .scale{ display:inline-flex; align-items:center; gap:6px; }
.climate-tool .legend .scale-bar{ width:90px; height:9px; border-radius:5px; background:linear-gradient(90deg,#0F5930,#F0B61A,#1678E8,#132f4f); }
.climate-tool .parks{ display:flex; flex-direction:column; margin-top:8px; }
.climate-tool .park{
    padding:26px 0; border-top:1px solid var(--border); scroll-margin-top:16px;
  }
.climate-tool .park-head{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:14px 20px; margin-bottom:16px; }
.climate-tool .park-id{ display:flex; align-items:center; gap:12px; }
.climate-tool .park-badge{
    width:42px; height:42px; border-radius:11px; background:var(--brand-soft); color:var(--brand-strong);
    display:flex; align-items:center; justify-content:center; flex:none;
  }
.climate-tool .park-badge svg{ width:22px; height:22px; }
.climate-tool .park-name-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.climate-tool .park h3{ font-size:17px; margin:0; letter-spacing:-.01em; text-transform:none; }
.climate-tool .park .city{ font-size:13px; color:var(--ink-2); margin:2px 0 0; }
.climate-tool .park .tagline{ font-size:12px; color:var(--muted); margin:1px 0 0; }
.climate-tool .pill-new{
    font-size:10.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
    background:var(--accent); color:#241b02; padding:2px 7px; border-radius:999px;
  }
.climate-tool .season-tags{ display:flex; flex-direction:column; gap:4px; align-items:flex-end; text-align:right; }
.climate-tool .season-tags .tag{ font-size:11.5px; color:var(--ink-2); }
.climate-tool .season-tags .tag b{ color:var(--ink); font-weight:700; }
.climate-tool .park-toggle{
    all:unset; cursor:pointer; display:inline-flex; align-items:center; gap:7px; margin-top:14px;
    font-size:12.5px; font-weight:700; color:var(--brand-strong); background:var(--brand-soft);
    border:1px solid var(--brand-line); padding:8px 13px; border-radius:9px;
  }
.climate-tool .park-toggle svg{ width:15px; height:15px; transition:transform .15s ease; }
.climate-tool .park-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
.climate-tool .park-toggle:hover{ background:color-mix(in srgb, var(--brand-soft) 70%, var(--brand) 30%); }
.climate-tool .park-toggle:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .park-details{ margin-top:18px; }
.climate-tool .month-picker{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
.climate-tool .month-picker button{
    all:unset; cursor:pointer; font-size:12.5px; font-weight:600; color:var(--ink-2);
    padding:7px 12px; border-radius:999px; border:1px solid var(--border); background:var(--surface);
    transition:background .12s ease, color .12s ease, border-color .12s ease;
  }
.climate-tool .month-picker button:hover{ border-color:var(--border-strong); }
.climate-tool .month-picker button:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .month-picker button[aria-pressed="true"]{ background:var(--brand); border-color:var(--brand); color:#fff; }
.climate-tool .park-body{ display:grid; grid-template-columns:1fr 1.3fr; gap:22px; }
@media (max-width:760px){.climate-tool .park-body{ grid-template-columns:1fr; }}
.climate-tool .stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; align-content:start; }
.climate-tool .stat{
    background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:12px 13px;
  }
.climate-tool .stat .lbl{ display:flex; align-items:center; gap:6px; font-size:11px; color:var(--muted); font-weight:700; text-transform:uppercase; letter-spacing:.03em; margin-bottom:6px; }
.climate-tool .stat .lbl svg{ width:13px; height:13px; }
.climate-tool .stat .val{ font-size:21px; font-weight:700; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
.climate-tool .stat .val small{ font-size:13px; font-weight:600; color:var(--ink-2); }
.climate-tool .stat.wide{ grid-column:1 / -1; }
.climate-tool .badge{
    display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; padding:5px 10px; border-radius:8px;
  }
.climate-tool .badge.k-ideal{ background:var(--ideal-soft); color:var(--ideal); }
.climate-tool .badge.k-quente{ background:var(--hot-soft); color:var(--hot); }
.climate-tool .badge.k-atencao{ background:#faf1d9; color:#8a6404; }
.climate-tool .badge.k-chuvoso{ background:var(--wet-soft); color:var(--wet); }
.climate-tool .rec{ font-size:12.5px; color:var(--ink-2); line-height:1.5; margin-top:2px; }
.climate-tool .rec b{ color:var(--ink); }
.climate-tool .chart-stack{ display:flex; flex-direction:column; gap:12px; }
.climate-tool .chart-card{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:14px 14px 10px; display:flex; flex-direction:column; }
.climate-tool .chart-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
.climate-tool .chart-head .t{ font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; }
.climate-tool .chart-head .u{ font-size:11px; color:var(--muted); }
.climate-tool .bars{ display:flex; align-items:flex-end; gap:5px; height:120px; }
.climate-tool .bar-col{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
.climate-tool .bar-track{ width:100%; height:100%; display:flex; align-items:flex-end; position:relative; }
.climate-tool .bar{
    all:unset; cursor:pointer; width:100%; border-radius:4px 4px 2px 2px; min-height:4px; display:block;
    position:relative; box-shadow:0 0 0 0 transparent; transition:box-shadow .12s ease;
  }
.climate-tool .bar:hover,.climate-tool .bar:focus-visible{ box-shadow:0 0 0 2px var(--surface) inset, 0 0 0 3px var(--border-strong); outline:none; }
.climate-tool .bar[data-sel="true"]{ box-shadow:0 0 0 2px var(--surface) inset, 0 0 0 3px var(--ink); }
.climate-tool .bar-mlabel{ font-size:10px; color:var(--muted); margin-top:6px; font-weight:600; }
.climate-tool .bar-mlabel[data-sel="true"]{ color:var(--ink); }
.climate-tool .expand-row{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:16px; }
.climate-tool .expand-btn{
    all:unset; cursor:pointer; display:inline-flex; align-items:center; gap:7px;
    font-size:12.5px; font-weight:700; color:var(--brand-strong); background:var(--brand-soft);
    border:1px solid var(--brand-line); padding:8px 13px; border-radius:9px;
  }
.climate-tool .expand-btn svg{ width:15px; height:15px; }
.climate-tool .expand-btn:hover{ background:color-mix(in srgb, var(--brand-soft) 70%, var(--brand) 30%); }
.climate-tool .expand-btn:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .year-select-wrap{ font-size:12px; color:var(--ink-2); font-weight:600; display:inline-flex; align-items:center; gap:6px; }
.climate-tool .year-select{
    font: inherit; font-size:12.5px; font-weight:700; color:var(--ink); background:var(--surface);
    border:1px solid var(--border); border-radius:7px; padding:5px 8px;
  }
.climate-tool .calendar-card{
    margin-top:14px; background:var(--surface); border:1px solid var(--border); border-radius:10px;
    padding:16px 16px 14px;
  }
.climate-tool .cal-note{ font-size:12px; color:var(--ink-2); line-height:1.55; margin:0 0 12px; }
.climate-tool .cal-note b{ color:var(--ink); }
.climate-tool .spark-wrap{ margin-bottom:14px; }
.climate-tool .spark{ width:100%; height:64px; display:block; }
.climate-tool .spark-legend{ display:flex; gap:14px; font-size:10.5px; color:var(--muted); margin-top:4px; }
.climate-tool .spark-legend .dot{ width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:4px; }
.climate-tool .cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.climate-tool .cal-dow{ font-size:10.5px; font-weight:700; color:var(--muted); text-align:center; text-transform:uppercase; padding-bottom:4px; }
.climate-tool .cal-day{
    aspect-ratio:1/1; border-radius:8px; border:1px solid var(--border); background:var(--surface);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; position:relative;
  }
.climate-tool .cal-day.weekend{ border-color:var(--border-strong); background:var(--brand-soft); }
.climate-tool .cal-day .dnum{ font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.climate-tool .cal-day .dtemp{ font-size:9.5px; font-weight:700; font-variant-numeric:tabular-nums; }
.climate-tool .cal-day .dpct{ font-size:8.5px; color:var(--ink-2); font-variant-numeric:tabular-nums; }
.climate-tool .cal-day.empty{ border:none; background:transparent; }
.climate-tool .weekend-list{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.climate-tool .weekend-chip{
    all:unset; cursor:pointer; font-size:12px; font-weight:700; color:var(--ink);
    background:var(--surface); border:1px solid var(--border); padding:7px 11px; border-radius:9px;
    display:inline-flex; align-items:center; gap:6px;
  }
.climate-tool .weekend-chip:hover{ border-color:var(--border-strong); }
.climate-tool .weekend-chip:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.climate-tool .weekend-chip[data-chosen="true"]{ background:var(--brand); border-color:var(--brand); color:#fff; }
.climate-tool .weekend-chip .pct{ font-weight:600; color:var(--ink-2); }
.climate-tool .weekend-chip[data-chosen="true"] .pct{ color:rgba(255,255,255,.85); }
.climate-tool .chosen-line{ margin-top:12px; font-size:12.5px; color:var(--brand-strong); font-weight:700; }
.climate-tool footer{ margin-top:30px; padding-top:18px; border-top:1px solid var(--border); }
.climate-tool footer p{ font-size:12px; color:var(--muted); line-height:1.6; margin:0 0 6px; max-width:76ch; }
.climate-tool footer a{ color:var(--ink-2); }
.climate-tool .visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }