/* /delays/ (delays/default.aspx): US airport delays right now. Bump ?v= in the page when this file changes. */
.dl-page { max-width: 820px; margin: 0 auto; padding: 15px 0; }
.dl-page h1 { color: var(--blue-text,#1078b3); margin: 2px 0 6px; font-size: 24px; line-height: 1.25; }
.dl-crumb { font-size: 13px; margin: 0 0 6px; }
.dl-intro { font-size: 15px; line-height: 1.6; color: #333; margin: 8px 0 12px; }
#main .dl-h { font-size: 19px; color: #003a70; margin: 22px 0 8px; }
.dl-updated { font-size: 13px; color: #666; margin: 0 0 10px; }
.dl-list { margin: 0 0 12px; }
.dl-card { border: 1px solid #e0e4e8; border-left: 5px solid #9aa5b1; border-radius: 8px; background: #fff; padding: 10px 14px; margin: 0 0 10px; }
.dl-card.dl-stop { border-left-color: #c62828; background: #fff6f6; }
.dl-card.dl-delay { border-left-color: #e0a800; background: #fffbf0; }
.dl-card.dl-info { border-left-color: #9aa5b1; }
#main .dl-card h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; color: #003a70; }
#main .dl-card h3 a.dl-code { color: #003a70; text-decoration: none; letter-spacing: 0.5px; }
#main .dl-card h3 a.dl-code:hover { color: #1078b3; text-decoration: underline; }
.dl-city { font-size: 15px; font-weight: normal; color: #555; }
.dl-card ul { list-style: none; margin: 0; padding: 0; }
.dl-card li { margin: 3px 0; padding: 0; font-size: 15px; line-height: 1.5; color: #222; list-style: none; }
.dl-notam { display: block; margin: 4px 0 2px; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.4; color: #555; white-space: pre-wrap; word-break: break-word; background: transparent; padding: 0; }
.dl-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 13px; }
.dl-calm { background: #f1f8f3; border: 1px solid #c8e6c9; border-radius: 8px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: #1e4620; margin: 0 0 10px; }
.dl-minor { margin: 6px 0 14px; border: 1px solid #e0e4e8; border-radius: 8px; padding: 0 14px; background: #fafbfc; }
.dl-minor summary { cursor: pointer; padding: 10px 0; font-size: 15px; font-weight: bold; color: #003a70; }
.dl-minor-note { font-size: 14px; color: #555; line-height: 1.5; margin: 0 0 10px; }
.dl-card.dl-small { padding: 8px 12px; }
#main .dl-card.dl-small h3 { font-size: 16px; }
.dl-card.dl-small li { font-size: 14px; }
.dl-src { font-size: 13px; color: #666; line-height: 1.5; margin: 6px 0 0; }
.dl-explain { margin-top: 26px; border-top: 1px solid #e3e7eb; padding-top: 2px; }
#main .dl-explain h3 { font-size: 16px; color: #003a70; margin: 16px 0 4px; }
.dl-explain p, .dl-todo li { font-size: 15px; line-height: 1.6; color: #333; }
.dl-explain p { margin: 0 0 8px; }
.dl-todo { margin: 0 0 8px 20px; padding: 0; }
.dl-todo li { margin: 0 0 6px; }
/* Dark mode (css/dark-mode.css forces headings with !important and colours spans, divs and list items). */
body.dark-mode .dl-intro, body.dark-mode .dl-explain p, body.dark-mode .dl-todo li, body.dark-mode .dl-card li { color: #e0e0e0; }
body.dark-mode .dl-updated, body.dark-mode .dl-src, body.dark-mode .dl-minor-note, body.dark-mode span.dl-city, body.dark-mode .dl-notam { color: #aaa; }
body.dark-mode #main .dl-h, body.dark-mode #main .dl-explain h3, body.dark-mode #main .dl-card h3, body.dark-mode #main .dl-card h3 a.dl-code, body.dark-mode .dl-minor summary { color: #4da6ff !important; }
body.dark-mode .dl-card { background: #242424; border-color: #3a3a3a; border-left-color: #666; }
body.dark-mode .dl-card.dl-stop { background: #3b1d1d; border-color: #5a2a2a; border-left-color: #ef5350; }
body.dark-mode .dl-card.dl-delay { background: #33301f; border-color: #554a20; border-left-color: #f0c040; }
body.dark-mode code.dl-notam { background: transparent !important; border: 0 !important; padding: 0 !important; }
body.dark-mode .dl-calm { background: #1f2f22; border-color: #2e5a34; color: #c8e6c9; }
body.dark-mode .dl-calm strong { color: #c8e6c9; }
body.dark-mode .dl-minor { background: #242424; border-color: #3a3a3a; }
body.dark-mode .dl-explain { border-top-color: #3a3a3a; }
@media (max-width: 767px) {
    .dl-page { padding: 10px 5px; }
    .dl-page h1 { font-size: 21px; }
    .dl-card { padding: 9px 11px; }
    .dl-links { font-size: 14px; gap: 6px 18px; }
}
/* The display rules above would otherwise show the box before the data says there is anything in it. */
.dl-minor[hidden] { display: none !important; }
/* Expected later today: the FAA plan for the day. */
.dl-plan { margin: 18px 0 14px; }
.dl-plan[hidden] { display: none !important; }
.dl-plan-note { font-size: 13px; color: #555; margin: -4px 0 10px; line-height: 1.5; }
.dl-plan-list { list-style: none; margin: 0; padding: 0; }
.dl-plan-list li { list-style: none; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #e0e4e8; border-left: 4px solid #90a4ae; border-radius: 8px; background: #fafbfc; font-size: 14px; line-height: 1.45; color: #333; }
.dl-plan-list .dl-code { margin-right: 2px; }
.dl-plan-src { font-size: 12px; color: #666; margin: 4px 0 0; }
body.dark-mode .dl-plan-note, body.dark-mode .dl-plan-src { color: #aaa !important; }
body.dark-mode .dl-plan-list li { background: #2a2a2a !important; border-color: #444 !important; border-left-color: #78909c !important; color: #e0e0e0 !important; }

/* The map above the list (delays/js/delays-map.js). Circle and key styles as on the homepage strip (default.aspx .ds-*). */
.dl-map-wrap { margin: 4px 0 6px; }
.dl-map-wrap[hidden] { display: none !important; }
.ds-map { position: relative; border: 1px solid #dde3e8; border-radius: 10px; overflow: hidden; background: #e8ebee; z-index: 0; }
.dl-map { height: 420px; }
.ds-map img.leaflet-tile { mix-blend-mode: normal !important; width: 256.5px !important; height: 256.5px !important; }
.ds-pin { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35); font: bold 12px/1 Arial, sans-serif; letter-spacing: 0.2px; text-decoration: none !important; cursor: pointer; }
.ds-pin.ds-stop { background: #c62828; color: #fff !important; }
.ds-pin.ds-delay { background: #f9a825; color: #1f1600 !important; }
.ds-pin:hover { transform: scale(1.08); }
.ds-pin:focus-visible { outline: 3px solid #1078b3; outline-offset: 2px; }
.ds-legend { position: absolute; left: 8px; bottom: 8px; z-index: 800; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,0.92); box-shadow: 0 1px 4px rgba(0,0,0,0.2); font-size: 12px; color: #333; }
.ds-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ds-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.ds-legend i.ds-l-stop { background: #c62828; }
.ds-legend i.ds-l-delay { background: #f9a825; }
.ds-legend i.ds-l-rain { border-radius: 2px; background: linear-gradient(90deg, #04e9e7, #01c501, #fdf802, #fd9500, #fd0000); }
.ds-map .leaflet-control-attribution { font-size: 9px; }
.dl-map-calm-box { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 800; padding: 6px 12px; border-radius: 6px; background: rgba(241,248,243,0.95); border: 1px solid #c8e6c9; color: #1e4620; font-size: 14px; font-weight: bold; white-space: nowrap; }
.dl-map-off { font-size: 13px; color: #555; margin: 6px 0 0; }
.dl-map-off[hidden] { display: none; }
.dl-map-off a { font-weight: bold; margin: 0 2px; }
/* A card picked on the map flashes so the eye finds it. */
.dl-card { scroll-margin: 90px 0; transition: box-shadow 0.3s; }
.dl-card:focus { outline: none; }
.dl-card.dl-flash { box-shadow: 0 0 0 3px #169fe6; }
@media (prefers-reduced-motion: no-preference) { .dl-card.dl-flash { animation: dl-flash 1.2s ease-out 2; } }
@keyframes dl-flash { 0% { box-shadow: 0 0 0 6px rgba(22,159,230,0.6); } 100% { box-shadow: 0 0 0 3px #169fe6; } }
body.dark-mode .ds-map { border-color: #444; }
body.dark-mode .ds-legend { background: rgba(35,39,43,0.92); }
body.dark-mode .ds-legend span { color: #ddd; }
body.dark-mode .dl-map-off { color: #aaa; }
body.dark-mode .dl-map-calm-box { background: rgba(31,47,34,0.95); border-color: #2e5a34; color: #c8e6c9; }
body.dark-mode .dl-card.dl-flash { box-shadow: 0 0 0 3px #4da6ff; }
@media (max-width: 600px) { .dl-map { height: 260px; } .ds-pin { width: 32px; height: 32px; font-size: 11px; }
  .ds-legend { left: 6px; bottom: 6px; gap: 2px 8px; padding: 3px 7px; font-size: 10px; } .ds-legend i { width: 9px; height: 9px; }
  .dl-map-calm-box { font-size: 12px; } }

/* Country view: plain dots; the code shows once zoomed in (.ds-pin). */
.ds-dot { display: block; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.4); cursor: pointer; }
.ds-dot.ds-stop { background: #c62828; }
.ds-dot.ds-delay { background: #f9a825; }
.ds-dot:hover { transform: scale(1.25); }
.ds-dot:focus-visible { outline: 3px solid #1078b3; outline-offset: 2px; }
/* A 44 px round tap area around the 14 px dot (review 2026-11-07); the dot itself looks the same. */
.ds-dot { position: relative; }
.ds-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; }
/* Map buttons: page link colours and underlines must not reach them; the map stays light in dark mode, and
   dark-mode.css paints every span #ddd, which would reach the + and - glyphs. */
.dl-map .leaflet-bar a, .dl-map .leaflet-bar a span { color: #000 !important; text-decoration: none !important; }
.dl-map .leaflet-bar a.dl-map-home { display: flex; align-items: center; justify-content: center; font-size: 15px; }
body.dark-mode .dl-map .leaflet-bar a { background: #fff !important; border-bottom-color: #ccc !important; }
/* Map credits under the map (moved there by delays-map.js). */
.dl-map-credits { min-height: 14px; padding: 3px 2px 0; text-align: right; }
.dl-map-credits .leaflet-control-attribution { float: none; margin: 0; padding: 0; background: none; font-size: 11px; line-height: 1.4; color: #6f6f6f; }
.dl-map-credits .leaflet-control-attribution a { color: #1078b3; }
body.dark-mode .dl-map-credits .leaflet-control-attribution { color: #999; }
body.dark-mode .dl-map-credits .leaflet-control-attribution a { color: #4da6ff; }
