/* Shared, self-hosted typography for the map, dialogs and editorial pages. */
.widget-source.widget-time-details{display:block!important;font-size:11px!important;line-height:1.65!important;margin-top:12px;overflow-wrap:anywhere}
.widget-time-details>span{display:block;margin-top:4px}.widget-time-details b{font-weight:650;color:#c4dcda}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-synthesis: none;
}
body { font-family: var(--font); font-weight: 450; line-height: 1.5; }
button, input, select, textarea, dialog { font-family: var(--font); }
button, select { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 650; text-wrap: balance; }
:root body :is(h1, h2, h3, h4) { font-family: var(--font); }
body:not(:has(#atlas)) { line-height: 1.7; }
.intro h1 em { font-family: inherit; font-style: normal; }
p, li, label { text-wrap: pretty; }
code, pre, kbd, samp { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
svg text { font-family: var(--font); }
.temperature, .widget-number strong, .forecast-hour strong,
.forecast-summary-card strong, #time-display { font-variant-numeric: tabular-nums; }

/* Raise the small UI text without inflating the map or the forecast strip. */
.search-launch { font-size: 13px; }
.live-status { font-size: 11px; }
.eyebrow, .widget-eyebrow { font-size: 10px; letter-spacing: .12em; }
.layer-button { font-size: 10px; line-height: 1.3; letter-spacing: 0; }
.city-label { font-size: 12px; font-weight: 550; }
.country-label { font-size: 11px; letter-spacing: .09em; }
.widget-place-label, .widget-save-line, .widget-source,
.widget-caption, .widget-mini-metrics small, .widget-mini-metrics span { font-size: 11px; line-height: 1.5; }
.weather-widget h3 { font-size: 13px; }
.widget-mini-metrics strong { font-size: 15px; }
.forecast .condition, .forecast .metrics span, .point-valid,
.model-footer, .chart-hours, .section-label { font-size: 11px; line-height: 1.5; }
.forecast .metrics strong { font-size: 14px; }
.map-footer, .map-footer button, .edition { font-size: 10px; }
.camera-dialog p, .settings-dialog p, .sources-dialog p,
.fish-muted, .fish-method p, .fish-fine { font-size: 13px; line-height: 1.7; }

/* One coherent instrument-style toolbar: time / altitude / visibility. */
.timeline:has(#timeline-forecast) {
  padding: 12px 16px;
  border-color: #bddfd93d;
  background: linear-gradient(135deg, #153139f5, #10232ff5);
  box-shadow: 0 16px 50px #0005, inset 0 1px 0 #effff908;
}
.timeline:has(#timeline-forecast) .timeline-controls .timeline-heading {
  display: flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 7px;
}
.timeline:has(#timeline-forecast) .timeline-heading > div:first-child { flex: 1; min-width: 0; }
.timeline:has(#timeline-forecast) .timeline-controls #time-display {
  font-size: 13px; font-weight: 550; line-height: 1.5; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis;
}
.timeline:has(#timeline-forecast) #time-display:before {
  font-size: 11px; font-weight: 500; color: #abc9cd;
}
.timeline:has(#timeline-forecast) .timeline-controls .now-button,
.timeline:has(#timeline-forecast) .timeline-controls #level,
.timeline:has(#timeline-forecast) .timeline-heading #forecast-bar-collapse {
  min-height: 40px; border-radius: 12px; padding: 0 13px; margin: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.timeline:has(#timeline-forecast) .timeline-controls .now-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  flex-shrink: 0; border: 1px solid #b8f4de;
  background: linear-gradient(135deg, #c6f7e4, #9ae2ce); color: #103c34;
  box-shadow: 0 3px 12px #0002, inset 0 1px 0 #ffffff70;
}
.timeline:has(#timeline-forecast) .now-button:before {
  content: ''; width: 15px; height: 15px; flex: 0 0 15px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.timeline:has(#timeline-forecast) .timeline-controls .level-label {
  display: flex; align-items: center; padding: 0; border: 0; margin: 0;
}
.timeline:has(#timeline-forecast) .timeline-controls #level {
  appearance: none; min-width: 112px; max-width: 140px; padding: 0 29px 0 30px;
  background-color: #c5e5ea0b; border: 1px solid #9dc9cd4f; color: #e8f4f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 18 7-12 4 7 3-4 4 9Z' fill='none' stroke='%23a9d8ce' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23bedbd7' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 17px 17px, 12px 12px;
  background-repeat: no-repeat; background-position: left 9px center, right 9px center;
}
.timeline:has(#timeline-forecast) .timeline-heading #forecast-bar-collapse {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #9dc9cd3b; background: #c5e5ea08; color: #bed8d6;
  box-shadow: none; white-space: nowrap;
}
#forecast-bar-collapse .forecast-toggle-icon { width: 15px; height: 15px; stroke-width: 1.8; }
.timeline:has(#timeline-forecast) .timeline-heading #forecast-bar-collapse:hover,
.timeline:has(#timeline-forecast) .timeline-controls #level:hover {
  background-color: #c5e5ea19; border-color: #b5e6d77d; color: #f1faf6;
}
.timeline:has(#timeline-forecast) .timeline-controls .now-button:hover {
  transform: none; background: #d7fdec; color: #103c34;
}
.timeline:has(#timeline-forecast) .timeline-heading :is(button, select):focus-visible {
  outline: 2px solid #c7fbe8; outline-offset: 3px;
}
.timeline:has(#timeline-forecast) .forecast-bar-title { min-height: 32px; height: auto; }
.timeline:has(#timeline-forecast) .forecast-bar-title button { font-size: 12px; }
.timeline:has(#timeline-forecast) .forecast-range { gap: 6px; margin-bottom: 9px; }
.timeline:has(#timeline-forecast) .forecast-range button { font-size: 11px; min-height: 30px; padding: 5px 11px; }
.forecast-summary-card > span { font-size: 12px; font-weight: 550; }
.forecast-summary-card strong { font-size: 14px; font-weight: 650; }
.forecast-summary-card small, .forecast-summary-context, .forecast-day-brief { font-size: 11px; line-height: 1.5; }
.forecast-summary-line { font-size: 12px; }
.forecast-summary-line > span { font-size: 10px; }
.forecast-summary-grid.is-week .forecast-summary-card :is(strong, span) { font-size: 11px; }

@media (max-width: 650px) {
  .timeline:has(#timeline-forecast) { padding: 10px 12px; }
  .timeline:has(#timeline-forecast) .timeline-controls .timeline-heading {
    display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 8px; margin-bottom: 9px;
  }
  .timeline:has(#timeline-forecast) .timeline-heading > div:first-child { grid-column: 1 / -1; }
  .timeline:has(#timeline-forecast) .timeline-controls .now-button,
  .timeline:has(#timeline-forecast) .timeline-controls #level,
  .timeline:has(#timeline-forecast) .timeline-heading #forecast-bar-collapse {
    width: 100%; min-width: 0; min-height: 42px; max-width: none;
  }
  .timeline:has(#timeline-forecast) .timeline-controls #level { padding-left: 30px; padding-right: 26px; }
  .timeline[data-collapsed=true]:has(#timeline-forecast) .level-label { display: none; }
  .timeline[data-collapsed=true]:has(#timeline-forecast) #forecast-bar-collapse { grid-column: span 2; }
  .timeline:has(#timeline-forecast) .forecast-range button { padding: 5px 9px; }
  .forecast-summary-grid.is-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .forecast-summary-card strong { font-size: 12px; }
  .forecast-summary-card small { font-size: 10px; }
  .forecast-summary-line { align-items: flex-start; flex-direction: column; gap: 2px; }
  .forecast-summary-line > span { text-align: left; }
  .forecast-summary-grid.is-week .forecast-summary-card :is(strong, span) { font-size: 10px; }
  .forecast-summary-grid.is-week .forecast-summary-card small { font-size: 9px; }
  .widget-place-label, .widget-source { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline:has(#timeline-forecast) .timeline-heading :is(button, select) { transition: none; }
}
