/* =============================================================================
   WindWatch — Main Stylesheet
   Replaces: windwatch_test.css, jquery-ui.flipbook.css, jquery-ui-1.8.4.custom.css
   
   Organization:
     1. CSS custom properties (design tokens)
     2. Reset / base
     3. Layout
     4. Banner & nav links
     5. Tab system
     6. Flipbook widget
     7. Text product panels (forecasts, warnings)
     8. Alerts table
     9. Modal dialogs
    10. Utility classes
============================================================================= */


/* -----------------------------------------------------------------------------
   1. Design tokens — change colors/spacing here, nowhere else
----------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg:           #e8eaed;
  --color-surface:      #ffffff;
  --color-border:       #c8ccd4;
  --color-border-light: #e0e2e6;

  --color-accent:       #8b0000;   /* dark red — banner links, active states */
  --color-accent-hover: #cc0000;
  --color-active-tab:   #ffffff;
  --color-tab-bg:       #eef0f4;
  --color-tab-hover:    #dde0e8;

  --color-btn-bg:       #f0f2f6;
  --color-btn-hover:    #dde0e8;
  --color-btn-active:   #c8ccd8;
  --color-btn-text:     #222222;

  --color-text:         #222222;
  --color-text-muted:   #666666;
  --color-text-light:   #999999;

  --color-warn-bg:      #fffbf0;
  --color-warn-border:  #e8c04a;

  --color-alert-l1:     #f7a100;
  --color-alert-l2:     #fe0000;
  --color-alert-l3:     #81007f;

  --color-pending:      #3b6ea5;   /* blue — 'waiting on data' / in-progress
                                       states on the Alerts tab. Distinct from
                                       the alert-level colors on purpose: this
                                       means 'not decided yet', not a severity. */

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;

  /* Typography */
  --font-ui:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Consolas", "Menlo", "Courier New", monospace;
  --font-size-base: 13px;
  --font-size-sm:   11px;
  --font-size-md:   14px;

  /* Radii */
  --radius-sm: 3px;
  --radius-md: 5px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.14);

  /* Flipbook — image area dimensions are set dynamically by JS to match
     the first loaded image. No fixed size needed here. */
  --fb-controls-width: 220px;
}


/* -----------------------------------------------------------------------------
   2. Reset / base
----------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  background-color: var(--color-bg);
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  color: var(--color-text);
  min-width: 1000px;
}

/* -----------------------------------------------------------------------------
   3. Layout
----------------------------------------------------------------------------- */
#page-container {
  width: 98%;
  min-width: 1000px;
  max-width: 1400px;
  margin: 1% auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}


/* -----------------------------------------------------------------------------
   4. Banner & nav links
   Pure CSS — no image files needed. To change colors, edit the two gradient
   stop variables directly below.
----------------------------------------------------------------------------- */

/* Banner color tokens — tweak these two lines to retheme the banner */
:root {
  --banner-bg-from:       #004a9f;   /* left/top gradient stop  */
  --banner-bg-to:         #003070;   /* right/bottom — slightly darker */
  --banner-text:          #ffffff;
  --banner-sub-text:      rgba(255,255,255,0.75);
  --banner-link-bg:       rgba(255,255,255,0.15);
  --banner-link-hover-bg: rgba(255,255,255,0.28);
  --banner-height:        72px;
}

#banner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--banner-height);
  padding: 0 var(--space-lg);
  background: url(../images/SCL_logo.png) left center no-repeat;
  background-color: #003a8c;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 2px solid rgba(255,255,255,0.18);
  overflow: hidden;
}

/* Right side: About / Contact links */
#banner-right {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.banner-link {
  color: var(--banner-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: var(--banner-link-bg);
  border: 1px solid rgba(255,255,255,0.22);
  transition: background-color 0.15s, border-color 0.15s;
  -webkit-font-smoothing: antialiased;
}
.banner-link:hover {
  background: var(--banner-link-hover-bg);
  border-color: rgba(255,255,255,0.45);
}


/* Model init time — shown above each flipbook */
.ww-init-time {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding: 6px 2px 4px;
  min-height: 1.4em;  /* reserve space so layout doesn't jump when it populates */
}

.ww-init-time strong {
  color: var(--color-text);
}

/* -----------------------------------------------------------------------------
   5. Tab system
   Replaces jQuery UI tabs. Pure CSS + a few lines of JS in windwatch.js.
   The active tab gets class "tab--active" toggled by JS.
----------------------------------------------------------------------------- */
#tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: var(--space-xs) var(--space-sm) 0;
  background-color: var(--color-tab-bg);
  border-bottom: 2px solid var(--color-border);
}

#tabs-nav li {
  margin: 0;
}

#tabs-nav li a {
  display: block;
  padding: 7px 14px;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.12s, color 0.12s;
  white-space: nowrap;
}

#tabs-nav li a:hover {
  background-color: var(--color-tab-hover);
  color: var(--color-text);
}

#tabs-nav li.tab--active a {
  background-color: var(--color-active-tab);
  color: var(--color-text);
  font-weight: 600;
  border-color: var(--color-border);
  border-bottom-color: var(--color-active-tab);  /* merges into content area */
  margin-bottom: -2px;
}

/* Red highlight for NWS Warnings when alerts are active */
#tabs-nav li a.warn-active {
  color: var(--color-alert-l2);
  font-weight: 700;
}

/* Tab content panels */
#tabs-content {
  padding: var(--space-md);
  min-height: 540px;
}

.tab-panel {
  display: none;
}
.tab-panel.tab--active {
  display: block;
}


/* -----------------------------------------------------------------------------
   6. Flipbook widget
   
   Layout: [controls sidebar] [image area]
   The controls sidebar holds play/pause/step, speed slider, and option buttons.
----------------------------------------------------------------------------- */

/* Outer wrapper */
.flipbook {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  width: -moz-fit-content;  /* Firefox */
}

/* --- Controls sidebar --- */
.fb-controls {
  width: var(--fb-controls-width);
  flex-shrink: 0;
  padding: var(--space-md) var(--space-sm);
  background-color: #f4f5f8;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Transport buttons: Prev / Play-Pause / Next */
.fb-transport {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.1s, border-color 0.1s;
  user-select: none;
}
.fb-btn:hover  { background: var(--color-btn-hover);  border-color: #aaa; }
.fb-btn:active { background: var(--color-btn-active); }

/* Speed slider */
.fb-speed-wrap {
  padding: 0 var(--space-sm);
}
.fb-speed-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 4px;
}
.fb-speed-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
}
.fb-speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
.fb-speed-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 2px solid #fff;
}

/* Option button groups (domain, metric, etc.) */
.fb-option-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fb-option-group-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-left: 2px;
}
.fb-option-btn {
  width: 100%;
  padding: 6px 10px;
  text-align: left;
  font-size: var(--font-size-base);
  font-family: var(--font-ui);
  border: 1px solid var(--color-border);
  border-top: none;
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  cursor: pointer;
  transition: background-color 0.1s;
}
.fb-option-btn:first-of-type {
  border-top: 1px solid var(--color-border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.fb-option-btn:last-of-type {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.fb-option-btn:only-of-type {
  border-radius: var(--radius-sm);
}
.fb-option-btn:hover {
  background: var(--color-btn-hover);
}
.fb-option-btn.fb-active {
  background: var(--color-btn-active);
  font-weight: 600;
  color: var(--color-text);
  border-color: #9aa;
}

/* --- Image area --- */
.fb-images {
  position: relative;
  /* width and height are set by JS once the first image loads */
  min-width: 200px;
  min-height: 150px;
  overflow: hidden;
  background: #111;
}

.fb-images img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;  /* hidden by default; _activate adds fb-visible to show */
}
.fb-images img.fb-visible {
  display: block;
}

/* Verification plots (Sep 2026): single metric chart shown at a time
   (CSI/POD/FAR chosen via a 3rd button group in the JS), reusing
   Flipbook's ORIGINAL setImages/swapImage single-image mechanism --
   same as this section always used for the old combined image, just
   pointed at one of 18 individual metric charts instead of 1 combined
   one. This replaced several earlier attempts at showing all 3 metrics
   simultaneously (stacked, side-by-side flex) that each ran into real
   layout problems -- reusing the already-proven single-image path
   sidesteps that entirely rather than continuing to fight it. */
#verif_fb .fb-images {
  max-width: 550px;
  width: 100%;
  height: auto !important;
}
#verif_fb .fb-images img {
  position: relative;  /* override absolute so the container height follows the image */
  width: 100%;
  height: auto;
  display: none;
}
#verif_fb .fb-images img.fb-visible {
  display: block;
}

.fb-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 5;
}
.fb-loading.fb-hidden { display: none; }

/* Frame indicator dots */
.fb-indicators {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  padding: 0 var(--space-sm);
  list-style: none;
  margin: 0;
}
.fb-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background-color 0.1s;
}
.fb-indicators li.fb-dot-active {
  background: rgba(255,255,255,0.95);
}
.fb-indicators li.fb-dot-skip {
  background: rgba(255,255,255,0.12);
  cursor: default;
}


/* -----------------------------------------------------------------------------
   7. Text product panels (NWS warnings, zone forecast, discussion, marine)
----------------------------------------------------------------------------- */
.text-product {
  padding: 12px 14px;
  border: 1px solid #9999cc;
  border-radius: var(--radius-sm);
  background-color: #f9f9ff;
  margin-top: var(--space-xs);
  font-size: 12px;
  line-height: 1.5;
  max-height: 600px;
  overflow-y: auto;
}

.text-product pre {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--color-text);
}

/* --- NWS Text Forecasts tab (tab_8): merged Zone Forecast + Discussion ---
   Structured output from ww_format_nws_text() in index.php, plus the
   CSS-only sub-tab toggle between the two products. */

.nws-text {
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  line-height: 1.55;
}

.nws-subtab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nws-subtab-btn {
  display: inline-block;
  padding: 5px 14px;
  margin: 0 4px 10px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-tab-bg);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.nws-subtab-btn:hover {
  background: var(--color-tab-hover);
}

.nws-subtab-radio:checked + .nws-subtab-btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.nws-subtab-panel {
  display: none;
}

#nws-zone-radio:checked ~ #nws-zone-panel,
#nws-afd-radio:checked ~ #nws-afd-panel,
#warn-city-radio:checked ~ #warn-city-panel,
#warn-surrounding-radio:checked ~ #warn-surrounding-panel {
  display: block;
}

.nws-meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border-light);
}

.nws-zone-name {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: var(--font-size-md);
  color: var(--color-text);
}

.nws-zone-name:first-child {
  margin-top: 0;
}

.nws-section {
  margin-bottom: var(--space-md);
}

.nws-section-header {
  margin: 0 0 4px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-accent);
}

.nws-section p {
  margin: 0 0 8px;
}

.nws-section p:last-child {
  margin-bottom: 0;
}

.nws-bullets {
  margin: 0 0 8px;
  padding-left: 20px;
}

.nws-bullets li {
  margin-bottom: 4px;
}

.nws-wind {
  font-weight: 700;
  color: var(--color-accent);
}

.nws-severity {
  font-weight: 700;
  color: var(--color-alert-l2);
}

.nws-unavailable {
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
}

/* --- NWS Warnings tab (tab_7): City of Seattle / Surrounding Areas --- */

.nws-warn-card {
  border: 1px solid var(--color-warn-border);
  background: var(--color-warn-bg);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: var(--space-sm);
}

.nws-warn-card:last-child {
  margin-bottom: 0;
}

.nws-warn-headline {
  margin: 0 0 4px;
  font-size: var(--font-size-base);
  color: var(--color-alert-l2);
}

.nws-warn-area {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.nws-warn-fields {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.nws-warn-fields li {
  margin-bottom: 4px;
}

.nws-warn-field-label {
  font-weight: 700;
  color: var(--color-text-muted);
}

.nws-warn-other {
  margin: 8px 0 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}


/* -----------------------------------------------------------------------------
   8. Alerts tab — multi-model consensus alert display
----------------------------------------------------------------------------- */
.ww-alerts-layout {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.ww-alerts-history {
  width: 220px;
  flex-shrink: 0;
}
.ww-alerts-history h3 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm) 2px;
}

.ww-alerts-idt-row {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 7px 8px;
  margin-bottom: 2px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  color: var(--color-text);
}
.ww-alerts-idt-row:hover     { background: var(--color-tab-hover); }
.ww-alerts-idt-row.selected  { background: var(--color-surface); border-color: var(--color-border); }
.ww-alerts-idt-date { font-weight: 600; }
.ww-alerts-idt-sub  { display: block; font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: 2px; }

.ww-alerts-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px;
}
.ww-alerts-dot-fired40   { background: var(--color-alert-l2); }
.ww-alerts-dot-fired30   { background: var(--color-alert-l1); }
.ww-alerts-dot-no_alert  { background: var(--color-text-light); }
.ww-alerts-dot-pending   { background: var(--color-pending); animation: ww-alerts-pulse 1.4s ease-in-out infinite; }
@keyframes ww-alerts-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.ww-alerts-detail { flex: 1; min-width: 0; }

.ww-alerts-badge {
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  margin-left: 8px;
}
.ww-alerts-badge-live     { color: var(--color-pending);    border: 1px solid var(--color-pending); }
.ww-alerts-badge-complete { color: var(--color-text-muted); border: 1px solid var(--color-border); }
.ww-alerts-badge-fresh    { color: var(--color-text-muted); }
.ww-alerts-badge-warn     { color: var(--color-alert-l1);   border: 1px solid var(--color-alert-l1); }
.ww-alerts-badge-stale    { color: var(--color-alert-l2);   border: 1px solid var(--color-alert-l2); }

.ww-alerts-legend {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  padding: var(--space-sm) 12px 0;
}

.ww-alerts-tier {
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ww-alerts-tier-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; font-weight: 600; font-size: var(--font-size-base);
}
.ww-alerts-tier-head-40 { background: #fde6e6; color: var(--color-alert-l2); }
.ww-alerts-tier-head-30 { background: #fdf1dd; color: var(--color-alert-l1); }
.ww-alerts-tier-sub { font-weight: 400; font-size: var(--font-size-sm); opacity: .85; }
.ww-alerts-info-btn {
  background: none; border: none; color: inherit; opacity: .75;
  font-size: 13px; cursor: pointer; padding: 0 0 0 2px; vertical-align: middle;
}
.ww-alerts-info-btn:hover { opacity: 1; }

.ww-alerts-toggle-row {
  padding: 6px 12px 8px;
}
.ww-alerts-toggle-btn {
  font-size: var(--font-size-sm);
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  padding: 0;
  font-weight: 600;
}
.ww-alerts-toggle-btn:hover { text-decoration: underline; }

.ww-alerts-coverage {
  font-size: var(--font-size-sm); color: var(--color-text-muted);
  padding: 8px 12px 0; font-style: italic;
}

.ww-alerts-table { width: 100%; border-collapse: collapse; background: var(--color-surface); font-size: var(--font-size-base); }
.ww-alerts-table th {
  text-align: left; font-size: var(--font-size-sm); color: var(--color-text-muted); font-weight: 500;
  padding: 6px 12px; border-bottom: 1px solid var(--color-border);
}
.ww-alerts-table td { padding: 6px 12px; border-bottom: 1px solid var(--color-border-light); }
.ww-alerts-row-no { color: var(--color-text-muted); }
.ww-alerts-row-undecided .ww-alerts-status-cell { color: var(--color-pending); }
.ww-alerts-row-clickable { cursor: pointer; }
.ww-alerts-row-clickable:hover { background: var(--color-tab-bg); }

.ww-alerts-status-pill {
  display: inline-block; font-size: var(--font-size-sm); padding: 1px 6px; border-radius: 8px; font-family: var(--font-mono);
}
.ww-alerts-status-pill-yes-40 { background: #fde6e6; color: var(--color-alert-l2); }
.ww-alerts-status-pill-yes-30 { background: #fdf1dd; color: var(--color-alert-l1); }
.ww-alerts-status-pill-no        { background: var(--color-tab-bg); color: var(--color-text-muted); }
.ww-alerts-status-pill-undecided { background: #e7ecf7; color: var(--color-pending); }

.ww-alerts-count-cell { font-family: var(--font-mono); font-size: var(--font-size-sm); }
.ww-alerts-contrib-preview { font-size: var(--font-size-sm); color: var(--color-text-muted); }

#dialog-alert-hour .dialog-body table { width: 100%; border-collapse: collapse; font-size: var(--font-size-base); }
#dialog-alert-hour .dialog-body td { padding: 4px 0; }
#dialog-alert-hour .dialog-body td.ww-alerts-gust-col { text-align: right; font-family: var(--font-mono); }
.ww-alerts-dialog-note { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: 10px; }


/* -----------------------------------------------------------------------------
   9. Modal dialogs (About, Contact)
   Uses native <dialog> element — no library needed.
----------------------------------------------------------------------------- */
dialog.ww-dialog {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  width: 90%;
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
}

dialog.ww-dialog::backdrop {
  background: rgba(0,0,0,0.45);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-tab-bg);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.dialog-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.dialog-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.dialog-close:hover {
  background: var(--color-btn-hover);
  color: var(--color-text);
}
.dialog-body {
  padding: var(--space-md);
  max-height: 500px;
  overflow-y: auto;
  line-height: 1.6;
}


/* -----------------------------------------------------------------------------
   10. Utility
----------------------------------------------------------------------------- */
.red   { color: var(--color-alert-l2); }
.muted { color: var(--color-text-muted); font-size: var(--font-size-sm); }

.copyright {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  padding: var(--space-sm) var(--space-md);
  text-align: right;
}

#pdDiv, #nexrad {
  width: 800px;
  height: 500px;
}

p {
  font-size: var(--font-size-base);
  line-height: 1.55;
}
