.storm-page { max-width: 1100px; padding-top: 28px; padding-bottom: 48px; }
.storm-year { margin: 28px 0; }
.storm-year h2 { color: #062b52; margin: 0 0 12px; font-size: 22px; }
.storm-directory-list { display: grid; gap: 10px; }
.storm-directory-card { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 18px; color: #062b52; background: #fff; border: 1px solid #e1e7ec; border-radius: 9px; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.storm-directory-card:hover { border-color: #1976d2; background: #f8fbff; }
.storm-directory-card > span:first-child { display: grid; gap: 5px; }
.storm-directory-card strong { font-size: 17px; }
.storm-directory-card small { color: #64748b; font-size: 13px; }
.storm-card-arrow { font-size: 26px; color: #1976d2; }
.storm-breadcrumb { margin: 0 0 13px; color: #64748b; font-size: 14px; }
.storm-breadcrumb a { color: #075a9c; }
.storm-status { display: inline-flex; margin: 6px 0 0; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.storm-status.active { background: #dcfce7; color: #166534; }
.storm-status.historic { background: #e8f4ff; color: #075a9c; }
.storm-pager { display: flex; justify-content: space-between; gap: 14px; margin: 18px 0 24px; }
.storm-pager-link { display: grid; gap: 4px; width: min(48%, 360px); padding: 13px 16px; background: #fff; border: 1px solid #dbe3ea; border-radius: 8px; color: #062b52; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.storm-pager-link:hover { border-color: #1976d2; background: #f8fbff; }
.storm-pager-link.next { margin-left: auto; text-align: right; }
.storm-pager-direction { color: #64748b; font-size: 12px; }
.storm-pager-link strong { font-size: 16px; }
.storm-pager-link small { color: #64748b; }
.storm-card, .storm-stat, .storm-map-card { background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.storm-card { padding: 20px; margin-bottom: 18px; }
.storm-card h2 { margin: 0 0 8px; color: #062b52; }
.storm-card p { margin: 0; line-height: 1.6; }
.storm-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin: 20px 0 10px; }
.storm-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-left: 4px solid #1976d2; }
.storm-stat strong { color: #062b52; font-size: 24px; }
.storm-stat span { color: #536273; font-size: 13px; }
.storm-methodology { color: #536273; font-size: 13px; line-height: 1.55; margin: 10px 0 16px; }
.storm-map-card { overflow: hidden; }
#storm-map { width: 100%; height: min(65vh, 650px); min-height: 360px; }
.storm-playback { padding: 15px 18px 14px; }
.storm-playback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #334155; }
.storm-playback-actions button { border: 0; border-radius: 5px; padding: 8px 13px; color: #fff; background: #062b52; font-weight: 700; cursor: pointer; }
.storm-playback-actions button:hover { background: #1976d2; }
.storm-playback-actions select { padding: 6px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; }
#storm-clock { margin-left: auto; color: #062b52; font-weight: 700; font-variant-numeric: tabular-nums; }
#storm-timeline { display: block; width: 100%; margin: 15px 0 3px; accent-color: #1976d2; }
.storm-timeline-labels { display: flex; justify-content: space-between; gap: 10px; color: #64748b; font-size: 12px; }
.storm-empty { padding: 20px; background: #fff; border-radius: 8px; color: #475569; }
.storm-marker { background: transparent; border: 0; }
.storm-marker-inner { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: #d32f2f; color: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.45); font-size: 15px; }
.storm-admin-list { overflow-x: auto; margin-top: 25px; background: #fff; border-radius: 8px; }
.storm-admin-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.storm-admin-form label { display: grid; gap: 5px; color: #334155; font-weight: 600; }
.storm-admin-form input, .storm-admin-form textarea { width: 100%; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 5px; font: inherit; }
.storm-admin-form textarea { min-height: 100px; }
.storm-admin-form .wide { grid-column: 1 / -1; }
.storm-admin-form button, .storm-admin-login button { justify-self: start; padding: 10px 16px; border: 0; border-radius: 5px; background: #062b52; color: #fff; font-weight: 700; cursor: pointer; }
.storm-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.storm-admin-actions form { display: inline; }
.storm-admin-actions a, .storm-admin-actions button { color: #075a9c; background: transparent; border: 0; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.storm-admin-message { margin: 14px 0; padding: 12px; border-radius: 6px; background: #e8f4ff; color: #062b52; }
.storm-admin-error { background: #fff1f2; color: #9f1239; }
.storm-admin-login { max-width: 430px; display: grid; gap: 12px; background: #fff; padding: 22px; border-radius: 9px; }
.storm-admin-login label { display: grid; gap: 5px; }
.storm-admin-login input { padding: 10px; border: 1px solid #cbd5e1; border-radius: 5px; }
@media (max-width: 700px) {
  .storm-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .storm-playback-actions { gap: 6px; }
  #storm-clock { width: 100%; margin: 3px 0 0; }
  #storm-map { height: 55vh; min-height: 310px; }
  .storm-admin-form { grid-template-columns: 1fr; }
  .storm-admin-form .wide { grid-column: auto; }
}
