.lake-weather[hidden] { display: none !important; }
.lake-weather {
  box-sizing: border-box; max-width: 395px; min-width: 0; margin: 8px 0;
  padding: 6px 8px 2px; border: 1px solid var(--line,#34435a);
  border-top: 2px solid var(--brand-cyan,#59bcd5);
  border-radius: min(var(--radius,10px),10px); background: var(--surface,#1a293d);
  color: var(--ink,#eef4fc); font-size: 12px; line-height: 1.4;
}
.lake-weather h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: 0; color: inherit; }
.lake-weather-days { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-block: 1px solid var(--line,#34435a); }
.lake-weather .lake-weather-days button {
  display: grid; place-content: center; justify-items: center; min-height: 44px;
  gap: 2px; min-width: 0; margin: 0; padding: 2px 1px;
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
  color: var(--ink,#eef4fc); font-size: 11px; font-weight: 600; white-space: nowrap; line-height: 1.35;
}
.lake-weather .lake-weather-days button + button { border-inline-start: 1px solid var(--line,#34435a); }
.lake-weather .lake-weather-days button[aria-pressed=true] {
  background: color-mix(in srgb,var(--green,#92cfff) 14%,var(--paper,#111b29));
  box-shadow: inset 0 -2px var(--accent,#d0e96c);
}
.lake-weather .lake-weather-days button:focus-visible { outline: 2px solid var(--green,#92cfff); outline-offset: -2px; }
.lake-weather-day-value { display:flex; align-items:center; gap:3px; }
.lake-weather-day-value i { font-size: 13px; line-height:1; font-style:normal; }
.lake-weather details, .lake-weather summary { color: inherit; }
.lake-weather summary { padding: 5px 0; cursor: pointer; }
.lake-weather summary strong { color: var(--green,#92cfff); margin-inline-start: 3px; white-space: nowrap; }
.lake-weather-chart { display:grid; grid-template-columns: 38px minmax(0,1fr); gap:2px 5px; margin-top:4px; }
.lake-weather-chart svg { display:block; width:100%; height:56px; overflow:visible; }
.lake-weather-chart line { stroke:var(--line,#34435a); vector-effect:non-scaling-stroke; }
.lake-weather-chart polyline { stroke:var(--green,#92cfff); stroke-width:2; vector-effect:non-scaling-stroke; }
.lake-weather-chart circle { fill:var(--green,#92cfff); }
.lake-weather-axis { display:flex; flex-direction:column; justify-content:space-between; }
.lake-weather-times { grid-column:2; }
.lake-weather-axis, .lake-weather-times { color:var(--muted,#abbcd1); font-size:11px; }
.lake-weather .lake-weather-hours > div { overflow-x: auto; }
.lake-weather table { width:100%; border-collapse:collapse; font-size:11px; }
.lake-weather th, .lake-weather td { padding:4px 3px; text-align:left; border-bottom:1px solid var(--line,#34435a); }
.lake-weather .lake-weather-credit { margin:5px 0 3px; color:var(--muted,#abbcd1); font-size:11px; }
.lake-weather .lake-weather-credit a { display:inline; padding:0; border:0; background:none; color:var(--green,#92cfff); }
.lake-weather-editor label { display:inline-block; margin:4px 12px 5px 0; }
.lake-weather-editor input { max-width: 145px; }
.lake-weather-editor-row {
  display: grid; grid-template-columns: minmax(160px,2fr) repeat(2,minmax(90px,1fr));
  gap: 8px; max-width: 680px; margin-bottom: 8px;
}
.lake-weather-editor-row label { display: block; margin: 0; }
.lake-weather-editor .lake-weather-editor-row input { width: 100%; max-width: none; }
.lake-weather-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
@media (max-width: 540px) {
  .lake-weather-editor-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lake-weather-editor-row label:first-child { grid-column: 1 / -1; }
}

.lake-weather-feature.lake-weather {
  width: 100%; max-width: 610px; padding: 10px 12px 4px; margin-block: 12px;
  font-size: 15px;
}
.lake-weather-feature h3 { font-size: 16px; }
.lake-weather-feature .lake-weather-days button { font-size: 14px; min-height: 55px; }
.lake-weather-feature .lake-weather-day-value i { font-size: 19px; }
.lake-weather-feature .lake-weather-chart svg { height: 84px; }
.lake-weather-feature table { font-size: 12px; }
.lake-weather-card.lake-weather {
  width: 100%; max-width: none; margin: 0; padding: 6px 12px 0;
  border: 0; border-bottom: 1px solid var(--line,#34435a); border-radius: 0;
  background: color-mix(in srgb,var(--surface,#1a293d) 82%,var(--paper,#111b29));
}
.lake-weather-card .lake-weather-days button { min-height: 43px; }
.lake-weather-card .lake-weather-day-value i { font-size: 15px; }
@media (max-width: 480px) {
  .lake-weather-feature.lake-weather { padding-inline: 7px; font-size: 13px; }
  .lake-weather-feature .lake-weather-days button { font-size: 12px; min-height: 49px; }
  .lake-weather-feature .lake-weather-day-value i { font-size: 16px; }
  .lake-weather-feature .lake-weather-day-value { gap: 2px; }
}
