*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  background: #fff;
  color: #111;
  padding: 16px;
  max-width: 800px;
  margin: 0 auto;
}

h1 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
p.coords { font-size: 12px; color: #888; margin-bottom: 20px; }

section { margin-bottom: 28px; }
h2 { font-size: 13px; font-weight: 500; color: #555; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }

.chart-wrap { height: 120px; }
canvas { width: 100% !important; height: 100% !important; }

#storm-info { font-size: 13px; color: #555; margin-top: 8px; }

#map { height: 320px; border: 1px solid #ddd; }

#loader, #error-msg {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9);
  font-size: 14px; color: #555;
}
.hidden { display: none !important; }

#summary {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 14px;
}

#hires-btn {
  font: inherit;
  font-size: 12px;
  padding: 2px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  vertical-align: middle;
}
#hires-btn:disabled { color: #aaa; cursor: wait; }
