




.dt-hscroll { overflow-x: auto; }





.dt-held {
  position: sticky;
  top: 0;
  z-index: 3;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.dt-held[hidden] { display: none; }
.dt-held-row { display: flex; }

.dt-held-cell {
  flex: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}

.dt-held-corner { position: sticky; left: 0; z-index: 1; }

.dt-legs, .dt-compare {
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}



.dt-legs { font-size: 13px; color: var(--body-text); }

.dt-legs thead th {
  padding: 8px 6px 6px;
  border-bottom: 2px solid var(--accent);
  background: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  white-space: nowrap;
}

.dt-legs th.num, .dt-legs td.num { text-align: right; }

.dt-legs .dt-time {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 64px;
  padding: 7px 8px 7px 16px;
  text-align: left;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.dt-legs thead .dt-time { z-index: 2; color: var(--muted); }

.dt-legs tbody tr.dt-leg > *, .dt-legs tbody tr.dt-along > * { padding: 7px 6px; background: var(--bg); white-space: nowrap; vertical-align: middle; }
.dt-legs tbody tr.dt-leg > .dt-time { padding-left: 16px; }
.dt-legs tbody tr.dt-leg.night > *, .dt-legs tbody tr.dt-along.night > * { background: var(--bg-soft); }


.dt-legs tbody tr.dt-along > * { padding-top: 4px; padding-bottom: 4px; font-size: 12px; color: var(--muted); }
.dt-legs tbody tr.dt-along > .dt-time { padding-left: 30px; color: var(--muted); }
.dt-legs tbody tr.dt-along > td.strong { font-weight: 400; color: var(--muted); }


.dt-legs tr.dt-day > * { border-top: 1px solid var(--border); background: var(--bg); }
.dt-legs .dt-day-name {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 10px 16px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: visible;
}

.dt-legs .dt-day-text, .dt-sum .dt-group-text { display: inline-block; width: 0; overflow: visible; }


.dt-legs tr.dt-zone > * { border-top: 1px dashed var(--border); background: var(--bg); }
.dt-legs .dt-zone-name {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 6px 16px 2px;
  text-align: left;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--muted, var(--ink));
  white-space: nowrap;
  overflow: visible;
}
.dt-legs .dt-zone-text { display: inline-block; width: 0; overflow: visible; }

.dt-legs td.strong { font-weight: 700; color: var(--ink); }
.dt-legs td.ink-action { color: var(--accent-dark); }
.dt-legs td.ink-warn, .dt-legs td.flagged { color: var(--warning); font-weight: 700; }
.dt-legs td.ink-go { color: var(--go); }
.dt-legs tbody tr.dt-along > td.ink-warn, .dt-legs tbody tr.dt-along > td.flagged { color: var(--warning); font-weight: 700; }
.dt-legs tbody tr.dt-along > td.ink-go { color: var(--go); }

.dt-dir {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  vertical-align: -1px;
  fill: var(--accent-dark);
}


.dt-pill {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
}

.dt-pill.pill-Champagne { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent-dark); }
.dt-pill.pill-Easy { background: var(--bg-soft); color: var(--ink); }
.dt-legs tr.night .dt-pill.pill-Easy { background: var(--bg); }
.dt-pill.pill-Coffee { background: var(--border); color: var(--ink); }
.dt-pill.pill-Rough { background: var(--warning); color: var(--bg); }
.dt-pill.pill-Sick { background: var(--fail); color: var(--bg); }
.dt-reason { color: var(--body-text); }


.dt-legs .dt-wp, .dt-legs .dt-climate, .dt-legs .dt-depth {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
}

.dt-legs .dt-wp { color: var(--accent-dark); }

.dt-bolt {
  --data-thunder-possible: #FBC02D;
  --data-thunder-likely: #E53935;
  display: inline-block; vertical-align: -2px; margin-left: 3px;
}
.dt-bolt svg { width: 10px; height: 13px; display: block; }
.dt-bolt.bolt-possible svg { fill: var(--data-thunder-possible); }
.dt-bolt.bolt-likely svg { fill: var(--data-thunder-likely); }
.dt-key-item .dt-bolt { margin: 0 2px 0 0; }
.dt-legs .dt-climate { color: var(--accent-dark); }
.dt-day-climate { font-size: 11px; font-weight: 700; color: var(--accent-dark); padding-left: 8px; }
.dt-legs .dt-depth { color: var(--fail); }

.dt-legs tbody tr.circ-near > .dt-time,
.dt-legs tbody tr.storm-near > .dt-time { box-shadow: inset 4px 0 0 var(--warning); }
.dt-legs tbody tr.depth-warn > .dt-time { box-shadow: inset 4px 0 0 var(--fail); }
.dt-legs tbody tr.at-waypoint > * { border-bottom: 1px solid var(--accent); }
.dt-legs tbody tr.climate > * { background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }



.dt-glance { padding: 12px 0 4px; border-bottom: 1px solid var(--border); }
.dt-glance .dt-eyebrow { margin: 0 16px 6px; }

.dt-compare thead th {
  padding: 4px 8px;
  background: var(--bg);
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.dt-compare .dt-label-col {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 110px;
  min-width: 110px;
  padding: 6px 8px 6px 16px;
  background: var(--bg);
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.dt-compare tbody th, .dt-compare tbody td { border-top: 1px solid var(--border); }

.dt-compare td {
  min-width: 150px;
  max-width: 240px;
  padding: 6px 8px;
  vertical-align: top;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.dt-compare td.dt-short { white-space: nowrap; }
.dt-compare tr[data-row="warnings"] td, .dt-compare tr[data-row="current"] td { font-weight: 400; color: var(--body-text); }

.dt-sub { display: block; font-size: 10px; color: var(--muted); }

.dt-compare td.tone-bad { color: var(--fail); }
.dt-compare td.tone-Rough, .dt-compare td.tone-Sick { color: var(--warning); }



.dt-headline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.dt-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: 600px;
}

.dt-card-model {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border-top: 3px solid var(--border);
  background: var(--bg-soft);
}

.dt-rule-gfs { border-top-color: var(--data-gfs); }
.dt-rule-ecmwf { border-top-color: var(--data-ecmwf); }
.dt-rule-aifs { border-top-color: var(--data-aifs); }
.dt-card-name { font-size: 11px; font-weight: 700; }
.dt-card-arrives { font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.dt-card-duration { font-size: 11px; color: var(--muted); }

.dt-sum .dt-label-col { width: 172px; min-width: 172px; color: var(--body-text); }
.dt-sum thead th { border-bottom: 2px solid var(--accent); padding: 6px 8px; }
.dt-sum td { min-width: 112px; font-size: 13px; }
.dt-sum td:not(.dt-short) { font-size: 11px; font-weight: 400; color: var(--body-text); }

.dt-sum tr.dt-group > * { background: var(--bg); }
.dt-sum .dt-group-name {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 12px 16px 4px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: visible;
}

.dt-bar {
  display: block;
  height: 4px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--border);
}

.dt-bar-fill { display: block; height: 4px; border-radius: 2px; }
.dt-fill-gfs { background: var(--data-gfs); }
.dt-fill-ecmwf { background: var(--data-ecmwf); }
.dt-fill-aifs { background: var(--data-aifs); }

.dt-spread {
  max-width: 560px;
  margin: 14px 16px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--body-text);
}

.dt-spread strong { color: var(--ink); }


.dt-record { max-width: 640px; margin: 18px 16px 0; font-size: 12px; line-height: 1.5; color: var(--body-text); }
.dt-record-title { margin: 0 0 4px; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--ink); }
.dt-record-line { margin: 0; }
.dt-record-key { display: flex; gap: 12px; margin-top: 8px; font-weight: 700; }
.dt-record-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; margin-top: 4px; }
.dt-record-panel { min-width: 0; margin: 0; }
.dt-record-plot { width: 100%; height: auto; }
.dt-record-note { margin: 6px 0 0; color: var(--muted); }


.dt-compare tbody tr.dt-ens > * { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.dt-compare tr.dt-ens td { font-weight: 600; }
