/* Widget Watch — "airfield at night" theme on top of Bootstrap 5 (html[data-bs-theme="dark"]).
   One family (Archivo, variable width): condensed + heavy for headings, registrations and figures;
   normal width for reading. Taxiway-sign yellow is reserved for registration plates. */
:root {
  --ww-ink: #0b1a2e;         /* page */
  --ww-deck: #12233b;        /* panels */
  --ww-deck-2: #182c49;      /* raised: tiles, table heads, hover */
  --ww-rule: #22385a;        /* hairlines */
  --ww-text: #e9eff7;
  --ww-haze: #8ea2bc;        /* secondary text */
  --ww-placeholder: #71849e; /* dimmer than real values, still 4.5:1 on inputs */
  /* Delta's seat-product colours */
  --ww-cabin-d1: #ad17c0;    /* Delta One */
  --ww-cabin-f: #b30051;     /* First Class (same as Premium Select) */
  --ww-cabin-ps: #b30051;    /* Premium Select */
  --ww-cabin-c: #0f6ebe;     /* Comfort */
  --ww-cabin-y: #1e4e8e;     /* Main */
  --ww-red: #e5333a;         /* widget red, from the logo */
  --ww-red-dark: #b8242b;
  --ww-coral: #ff6b57;       /* logo highlight */
  --ww-blue: #5b9bf0;        /* data, links */
  --ww-blue-dark: #3f7fd6;
  --ww-sky: #8cc8f5;
  --ww-sign: #f2c230;        /* airfield location-sign yellow */
  --ww-sign-ink: #0a0a0a;
  --ww-radius-lg: 18px;
  --ww-radius: 12px;
  --ww-radius-sm: 8px;
  --ww-condensed: 72%;
}

[data-bs-theme='dark'] {
  --bs-body-font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-size: 0.975rem;
  --bs-body-line-height: 1.55;
  --bs-body-bg: var(--ww-ink);
  --bs-body-color: var(--ww-text);
  --bs-body-color-rgb: 233, 239, 247;
  --bs-secondary-color: var(--ww-haze);
  --bs-tertiary-color: rgba(142, 162, 188, 0.6);
  --bs-secondary-bg: var(--ww-deck-2);
  --bs-tertiary-bg: var(--ww-deck);
  --bs-border-color: var(--ww-rule);
  --bs-emphasis-color: #fff;
  --bs-primary: var(--ww-blue);
  --bs-primary-rgb: 91, 155, 240;
  --bs-link-color: var(--ww-blue);
  --bs-link-color-rgb: 91, 155, 240;
  --bs-link-hover-color: #fff;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-border-radius: var(--ww-radius-sm);
  --bs-border-radius-lg: var(--ww-radius);
  --bs-focus-ring-color: rgba(91, 155, 240, 0.45);
}

body {
  background: var(--ww-ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-feature-settings: 'tnum' 1;   /* figures line up everywhere: this is a numbers site */
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid var(--ww-blue); outline-offset: 2px; }

h1, h2, h3, .h1, .h2, .h3, .display-5 { font-stretch: var(--ww-condensed); font-weight: 800; letter-spacing: -0.01em; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 700; }

.text-ww-navy { color: var(--ww-blue) !important; }
.text-ww-red { color: var(--ww-red) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.78) !important; }

/* Navbar */
.ww-navbar {
  background: rgba(11, 26, 46, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ww-rule);
  --bs-navbar-padding-y: 0.7rem;
}
.ww-navbar .navbar-brand { font-weight: 800; font-stretch: var(--ww-condensed); font-size: 1.4rem; letter-spacing: -0.005em; }
.ww-navbar .nav-link { font-weight: 500; color: var(--ww-haze); position: relative; }
.ww-navbar .nav-link:hover { color: #fff; }
.ww-navbar .nav-link.active { color: #fff; }
@media (min-width: 992px) {
  .ww-navbar .navbar-nav.me-auto { margin-left: 1.25rem; gap: 0.25rem; }
  .ww-navbar .nav-link.active::after {
    content: ''; position: absolute; left: var(--bs-navbar-nav-link-padding-x); right: var(--bs-navbar-nav-link-padding-x);
    bottom: calc(-0.7rem - 1px); height: 2px; background: var(--ww-red); border-radius: 2px;
  }
}
.ww-nav-btn { background: none; border: 0; }
.ww-search-group { border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ww-rule); overflow: hidden; }
.ww-search-group .ww-search-icon, .ww-search-group .ww-search { background: transparent; border: 0; }
.ww-search-group .ww-search-icon { color: var(--ww-haze); padding-left: 0.85rem; }
.ww-search { color: #fff; min-width: 13rem; padding-left: 0.25rem; }
.ww-search::placeholder { color: var(--ww-placeholder); }
.ww-search:focus { background: transparent; color: #fff; box-shadow: none; }
.ww-search-group:focus-within { border-color: var(--ww-blue); background: var(--ww-deck); }

.ww-logo { display: inline-block; object-fit: contain; }
.ww-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--ww-radius-sm);
  background: var(--ww-red); color: #fff; font-size: 0.95rem;
}
.ww-mark-lg { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; border-radius: var(--ww-radius); background: var(--ww-deck-2); color: var(--ww-blue); }

/* Buttons */
.btn { font-weight: 600; border-radius: 999px; padding-inline: 1rem; }
.btn-sm { padding-inline: 0.8rem; }
.btn-ww-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--ww-red); --bs-btn-border-color: var(--ww-red); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ww-red-dark); --bs-btn-hover-border-color: var(--ww-red-dark); --bs-btn-active-bg: var(--ww-red-dark); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--ww-red); --bs-btn-disabled-border-color: var(--ww-red); }
.btn-ww-red { --bs-btn-color: #fff; --bs-btn-bg: var(--ww-red); --bs-btn-border-color: var(--ww-red); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ww-red-dark); --bs-btn-hover-border-color: var(--ww-red-dark); --bs-btn-active-bg: var(--ww-red-dark); --bs-btn-active-color: #fff; }
.btn-light, .btn-outline-secondary { --bs-btn-color: var(--ww-text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--ww-rule); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ww-deck-2); --bs-btn-hover-border-color: #34507a; --bs-btn-active-bg: var(--ww-deck-2); --bs-btn-active-color: #fff; --bs-btn-active-border-color: #34507a; }
.ww-pills { gap: 0.25rem; }
.ww-pills .nav-link { color: var(--ww-haze); border-radius: 999px; font-weight: 500; }
.ww-pills .nav-link:hover { color: #fff; }
.ww-pills .nav-link.active { background: var(--ww-deck-2); color: #fff; box-shadow: inset 0 0 0 1px var(--ww-rule); }
.ww-chip { background: var(--ww-deck-2); color: var(--ww-text); border: 1px solid var(--ww-rule); font-weight: 500; border-radius: 999px; }

/* Forms */
.form-control, .form-select { background-color: var(--ww-ink); border-color: var(--ww-rule); }
.form-control:focus, .form-select:focus { background-color: var(--ww-ink); border-color: var(--ww-blue); }
.form-label { font-weight: 600; font-size: 0.9rem; }
.form-control::placeholder { color: var(--ww-placeholder); }
.text-uppercase::placeholder { text-transform: none; } /* hints stay readable in upper-case fields */
.dropdown-menu { --bs-dropdown-bg: var(--ww-deck-2); --bs-dropdown-border-color: var(--ww-rule); --bs-dropdown-border-radius: var(--ww-radius); }
.alert-secondary { --bs-alert-bg: var(--ww-deck); --bs-alert-border-color: var(--ww-rule); --bs-alert-color: var(--ww-haze); border-radius: var(--ww-radius); }
.breadcrumb { --bs-breadcrumb-divider-color: var(--ww-haze); --bs-breadcrumb-item-active-color: var(--ww-haze); }
.breadcrumb a { text-decoration: none; }

/* Home intro: the headline is the data. */
.ww-intro { padding: 1.5rem 0 2rem; }
.ww-headline {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 0.95; font-weight: 850; font-stretch: 64%;
  letter-spacing: -0.012em; word-spacing: 0.06em; margin: 0 0 1rem; text-wrap: balance;
}
.ww-lede { color: var(--ww-haze); font-size: 1.1rem; max-width: 36rem; margin: 0; }
.ww-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 0; }
.ww-figures dt { color: var(--ww-haze); font-weight: 500; font-size: 0.875rem; }
.ww-figures dd { margin: 0; font-size: 2rem; font-weight: 800; font-stretch: var(--ww-condensed); line-height: 1.05; }
.ww-figures dd small { font-size: 0.95rem; font-weight: 500; color: var(--ww-haze); font-stretch: 100%; }
.ww-statusbar { display: flex; height: 14px; gap: 3px; margin: 2rem 0 0.85rem; }
.ww-statusbar span { min-width: 4px; border-radius: 3px; }
.ww-statusbar span:first-child { border-radius: 7px 3px 3px 7px; }
.ww-statusbar span:last-child { border-radius: 3px 7px 7px 3px; }
.ww-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; margin: 0; font-size: 0.925rem; }
.ww-legend a { color: var(--ww-text); text-decoration: none; }
.ww-legend a:hover { color: #fff; }
.ww-legend strong { font-weight: 700; margin-left: 0.3rem; }
.ww-legend .is-zero { opacity: 0.45; }
.ww-meter-label { display: flex; justify-content: space-between; font-size: 0.9rem; }
.ww-progress { height: 6px; margin-top: 6px; border-radius: 3px; --bs-progress-bg: var(--ww-deck-2); --bs-progress-border-radius: 3px; }
.ww-progress .progress-bar { background: var(--ww-blue); }

/* Aircraft page: the registration is an airfield location sign. */
.ww-aircraft-hero { padding: 0.75rem 0 2rem; border-bottom: 1px solid var(--ww-rule); margin-bottom: 2rem; }
.ww-plate {
  display: inline-block; margin: 0;
  background: var(--ww-sign-ink); color: var(--ww-sign);
  border: 3px solid var(--ww-sign); outline: 3px solid var(--ww-sign-ink); outline-offset: 0;
  border-radius: 4px; padding: 0.05em 0.35em 0.08em;
  font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: 1; font-weight: 800; font-stretch: 68%; letter-spacing: 0.01em;
  box-shadow: 0 0 0 7px rgba(242, 194, 48, 0.08);
}
.ww-ac-type { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 750; font-stretch: var(--ww-condensed); margin: 1.1rem 0 0.75rem; line-height: 1.1; }
.ww-specline { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin: 0; }
.ww-specline dt { font-size: 0.8rem; color: var(--ww-haze); font-weight: 500; }
.ww-specline dd { margin: 0; font-weight: 700; }
.ww-reg { letter-spacing: 0.02em; }
.ww-aircraft-hero.has-photo { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .ww-aircraft-hero.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); } }
.ww-photo { margin: 0; }
.ww-photo img { display: block; width: 100%; height: auto; border-radius: var(--ww-radius); background: var(--ww-deck); } /* never crop: JetPhotos images carry the photographer watermark */
.ww-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; margin-top: 0.6rem; font-size: 0.8rem; color: var(--ww-haze); }
.ww-photo figcaption a { color: var(--ww-text); text-decoration: none; }
.ww-featured-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; margin: 0 0 1.25rem; }
.ww-featured-facts dt { font-size: 0.75rem; font-weight: 500; color: var(--ww-haze); text-transform: uppercase; letter-spacing: 0.04em; }
.ww-featured-facts dd { margin: 0; font-weight: 600; }

/* Panels (Bootstrap cards, flattened) */
.card {
  --bs-card-bg: var(--ww-deck); --bs-card-border-color: var(--ww-rule); --bs-card-cap-bg: transparent;
  --bs-card-border-radius: var(--ww-radius-lg); --bs-card-inner-border-radius: calc(var(--ww-radius-lg) - 1px);
  --bs-card-spacer-x: 1.25rem; --bs-card-spacer-y: 1.1rem;
}
.list-group { --bs-list-group-bg: transparent; --bs-list-group-border-color: var(--ww-rule); --bs-list-group-action-hover-bg: var(--ww-deck-2); --bs-list-group-action-hover-color: #fff; --bs-list-group-item-padding-x: 1.25rem; }
.ww-card-header {
  background: transparent; color: #fff; font-weight: 700; font-size: 1.05rem;
  padding: 1rem 1.25rem 0.85rem; border-bottom: 1px solid var(--ww-rule);
}
.ww-card-header .btn { font-size: 0.85rem; }
.card-footer { background: transparent; border-top-color: var(--ww-rule); }
.ww-soft { background: var(--ww-deck-2); }
.ww-stat-num { font-size: 1.9rem; font-weight: 800; font-stretch: var(--ww-condensed); color: #fff; line-height: 1.1; }
.ww-stat-label { font-size: 0.85rem; color: var(--ww-haze); font-weight: 500; }
.ww-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0.05em; }
.ww-chart { position: relative; height: 300px; }
.ww-chart-sm { height: 230px; }
.ww-scroll-list { max-height: 360px; overflow-y: auto; }
/* About ten list-group rows (2.5rem + a 1px border each), with half of the next showing so it reads as scrollable. */
.ww-scroll-list-10 { max-height: calc(10.5 * (2.5rem + 1px)); }
.ww-muted-sep { color: var(--ww-haze); font-size: 0.875rem; margin-left: 0.5rem; }

/* Status badges: dot + label on a tinted pill */
.ww-status {
  --ww-st: var(--ww-haze);
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; font-size: 0.8rem; border-radius: 999px; padding: 0.3em 0.7em 0.3em 0.6em;
  color: #fff; background: color-mix(in srgb, var(--ww-st) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ww-st) 40%, transparent);
}
.ww-status::before { content: ''; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--ww-st); }
.ww-status-active { --ww-st: #3dbe7a; }
.ww-status-maintenance { --ww-st: #f0a93b; }
.ww-status-paint { --ww-st: #4fb6e0; }
.ww-status-parked { --ww-st: #8193a8; }
.ww-status-inactive { --ww-st: #64748b; }
.ww-status-on_order { --ww-st: var(--ww-blue); }
.ww-status-retired { --ww-st: var(--ww-red); }

/* Manage Aircraft: status and location open the Update Status modal */
.ww-quick { border: 0; padding: 0; background: none; color: inherit; cursor: pointer; }
.ww-quick-loc { min-width: 3rem; min-height: 1.4em; text-align: left; }
.ww-quick-loc:hover, .ww-quick-loc:focus-visible { text-decoration: underline dotted; }
.ww-quick-loc:empty::before { content: 'Set'; color: var(--ww-haze); }

/* Tables */
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--ww-rule); --bs-table-hover-bg: var(--ww-deck-2); --bs-table-hover-color: #fff; }
.ww-table > :not(caption) > * > * { padding: 0.55rem 0.75rem; }
.ww-table thead th { font-size: 0.8rem; font-weight: 600; color: var(--ww-haze); white-space: nowrap; border-bottom-color: var(--ww-rule); }
.ww-table tbody td:first-child, .ww-table thead th:first-child { padding-left: 1.25rem; }
.ww-table tbody td:last-child, .ww-table thead th:last-child { padding-right: 1.25rem; }
.ww-row-link { cursor: pointer; }
.ww-table .ww-type-row > td { border-bottom-color: transparent; }
.ww-table .ww-layout-row > td { color: var(--ww-haze); font-size: 0.9rem; padding-top: 0.3rem; padding-bottom: 0.3rem; border-bottom-color: transparent; }
.ww-table .ww-layout-row:has(+ tr:not(.ww-layout-row)) > td, .ww-table .ww-layout-row:last-child > td { border-bottom-color: var(--ww-rule); padding-bottom: 0.6rem; }
.ww-layout-label { display: inline-block; padding-left: 1rem; border-left: 2px solid var(--ww-rule); }
.ww-subfleet { display: inline-block; margin-left: 0.4rem; padding: 0 0.35rem; border: 1px solid var(--ww-rule); border-radius: 0.25rem; font-family: var(--bs-font-monospace); font-size: 0.75rem; line-height: 1.4; color: var(--ww-haze); text-decoration: none; }
.ww-subfleet:hover { color: inherit; border-color: currentColor; }
@media (pointer: coarse) { .ww-subfleet { padding: 0.2rem 0.5rem; margin-top: 0.2rem; font-size: 0.8rem; } } /* finger-sized tap targets */
.ww-truncate { max-width: 22rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Fleet spreadsheet */
.ww-sheet-wrap { overflow: hidden; }
.ww-sheet-scroll { max-height: calc(100vh - 270px); min-height: 360px; overflow: auto; }
/* Separate borders: with collapsed borders, Safari leaves the row borders behind when the
   header sticks, and rows show through the gap above it as you scroll. */
.ww-sheet { font-size: 0.86rem; border-collapse: separate; border-spacing: 0; }
.ww-sheet.table-bordered > :not(caption) > * { border-width: 0; }
.ww-sheet.table-bordered > :not(caption) > * > * { border-width: 0 0 1px 0; }
.ww-sheet thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--ww-deck-2); color: var(--ww-haze); border-color: var(--ww-rule);
  white-space: nowrap; padding: 0;
  box-shadow: 0 -2px 0 var(--ww-deck-2); /* covers any sub-pixel gap at the top edge */
}
.ww-sheet td { white-space: nowrap; padding: 0.4rem 0.65rem; }
.ww-sheet tbody tr:hover td { background: var(--ww-deck-2); }
.ww-sheet td:first-child, .ww-sheet th:first-child { position: sticky; left: 0; z-index: 1; }
.ww-sheet th:first-child { z-index: 3; }
.ww-sheet td:first-child { background: var(--ww-deck); box-shadow: inset -1px 0 0 var(--ww-rule); font-weight: 700; }
.ww-sort { all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box; padding: 0.55rem 0.65rem; font-weight: 600; }
.ww-sort:hover { color: #fff; }
.ww-sort:focus-visible { outline: 2px solid var(--ww-blue); outline-offset: -2px; }
.ww-sort sup { font-size: 0.6rem; margin-left: 2px; }
.ww-col-menu { min-width: 14rem; max-height: 60vh; overflow-y: auto; }
.ww-filters .form-control, .ww-filters .form-select, .ww-filters .input-group-text { background-color: var(--ww-ink); }

/* Cabin */
.ww-cabin-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 3px; }
.ww-cabin-d1 { background: var(--ww-cabin-d1); }
.ww-cabin-f { background: var(--ww-cabin-f); }
.ww-cabin-ps { background: var(--ww-cabin-ps); }
.ww-cabin-c { background: var(--ww-cabin-c); }
.ww-cabin-y { background: var(--ww-cabin-y); }
/* Seat count on its cabin colour (white text is 5.2:1 or better on every cabin colour). */
.ww-seat {
  display: inline-block; min-width: 2.75em; padding: 0.15em 0.5em; border-radius: 6px;
  color: #fff; font-weight: 600; font-size: 0.8rem; text-align: center; line-height: 1.4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); /* keeps the darker cabins' edges visible on navy */
}
.ww-seat-head .ww-swatch { margin-right: 0.3rem; vertical-align: 0.02em; }
.ww-swatch.ww-cabin-y { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); } /* Main's navy needs an edge on navy */
.ww-seat-tile { background: var(--ww-deck-2); border-radius: var(--ww-radius); padding: 0.85rem 1rem; text-align: left; height: 100%; }
.ww-seat-tile .fs-3 { font-stretch: var(--ww-condensed); font-weight: 800 !important; line-height: 1.1; }
.ww-swatch { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-right: 0.4rem; }
.ww-dl { display: grid; grid-template-columns: minmax(7rem, 42%) 1fr; margin: 0; }
.ww-dl dt, .ww-dl dd { padding: 0.6rem 1.25rem; border-bottom: 1px solid var(--ww-rule); margin: 0; }
.ww-dl dt { font-weight: 500; color: var(--ww-haze); font-size: 0.9rem; }
.ww-dl dd { font-weight: 600; padding-left: 0; }
.ww-dl > :nth-last-child(-n + 2) { border-bottom: 0; }
.ww-timeline { position: relative; padding-left: 1.4rem; }
.ww-timeline::before { content: ''; position: absolute; left: 0.3rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--ww-rule); }
.ww-timeline li { position: relative; padding-bottom: 1.1rem; }
.ww-timeline li:last-child { padding-bottom: 0; }
.ww-timeline li::before { content: ''; position: absolute; left: -1.38rem; top: 0.35rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--ww-deck); border: 2px solid var(--ww-red); }
.ww-note-body { white-space: pre-line; }
.ww-map { height: 220px; background: var(--ww-ink); border-bottom: 1px solid var(--ww-rule); z-index: 0; }
.ww-map .leaflet-control-attribution { background: rgba(11, 26, 46, 0.8); color: var(--ww-haze); font-size: 0.65rem; }
.ww-map .leaflet-control-attribution a { color: var(--ww-text); }
.ww-map .leaflet-bar a { background: var(--ww-deck-2); color: var(--ww-text); border-bottom-color: var(--ww-rule); }
.ww-map-label { background: var(--ww-ink); color: #fff; border: 1px solid var(--ww-rule); border-radius: 6px; font-weight: 700; box-shadow: none; }
.ww-map-label::before { display: none; }
.ww-flight-map { height: 260px; }
.ww-plane { color: #fff; font-size: 20px; line-height: 24px; text-align: center; filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.9)); }
.ww-plane i { display: inline-block; }
.ww-live { border-bottom: 1px solid var(--ww-rule); }
.ww-live-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ww-red); margin-right: 0.5rem; box-shadow: 0 0 0 3px rgba(229, 51, 58, 0.3); }
.ww-live-progress { height: 4px; background: var(--ww-deck-2); }
.ww-live-progress .progress-bar { background: var(--ww-red); }
.ww-live-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.5rem 1rem; }
.ww-live-stats dt { font-weight: 500; color: var(--ww-haze); font-size: 0.8rem; }
.ww-live-stats dd { margin: 0; font-weight: 600; }
.ww-flight-table th:first-child, .ww-flight-table td:first-child { padding-left: 1.25rem; }
.ww-flight-table th:last-child, .ww-flight-table td:last-child { padding-right: 1.25rem; }
.ww-flight-table abbr { text-decoration: none; cursor: help; }
.ww-flight-live td { background: rgba(229, 51, 58, 0.08); }
.ww-badge-live { background: var(--ww-red); color: #fff; }
.ww-badge-arrived { background: rgba(53, 178, 107, 0.18); color: #7fdba6; border: 1px solid rgba(53, 178, 107, 0.4); }
.ww-occurrence { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.25rem 1rem; align-items: baseline; }
.ww-occurrence-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.ww-occurrence-sources { display: inline-flex; gap: 0.375rem; }
.ww-occurrence-sources .btn { --bs-btn-padding-y: 0.125rem; --bs-btn-padding-x: 0.5rem; --bs-btn-font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.ww-occurrence-date { color: var(--ww-haze); font-size: 0.875rem; }
.ww-occurrence-code { color: var(--ww-haze); font-weight: 500; }
@media (max-width: 575.98px) { .ww-occurrence { grid-template-columns: 1fr; } }
.ww-note-edit summary { cursor: pointer; }

/* Honeypot */
.ww-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.ww-footer { background: transparent; color: var(--ww-haze); border-top: 1px solid var(--ww-rule); }
.ww-footer a { color: var(--ww-blue); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
