/* Disruption notices: cards on the disruptions page and the bus page. Colours pair with a text label, never colour alone. */
:root { --sev-major: #d7191c; --sev-moderate: #f5a300; --sev-minor: #3b82f6; --sev-notice: #8b9097; }
.notice { background: #fff; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-left: 6px solid var(--sev-notice); }
.notice.sev-major { border-left-color: var(--sev-major); } .notice.sev-moderate { border-left-color: var(--sev-moderate); } .notice.sev-minor { border-left-color: var(--sev-minor); }
.notice header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.notice h3 { margin: 0; font-size: 1.02rem; }
.n-sev { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 8px; border-radius: 10px; color: #fff; background: var(--sev-notice); }
.sev-major .n-sev { background: var(--sev-major); } .sev-moderate .n-sev { background: var(--sev-moderate); color: #3d2a00; } .sev-minor .n-sev { background: var(--sev-minor); }
.n-meta { margin: 4px 0 6px; color: var(--muted); font-size: .84rem; }
.n-desc, .n-advice { margin: 6px 0; font-size: .93rem; line-height: 1.45; }
.n-lines { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.n-line { display: inline-flex; flex-direction: column; align-items: center; min-width: 38px; padding: 2px 9px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: .88rem; line-height: 1.15; }
.n-line small { font-weight: 400; font-size: .62rem; opacity: .9; }
.n-stops { margin: 6px 0; font-size: .88rem; } .n-stops summary { cursor: pointer; color: var(--accent); font-weight: 600; } .n-stops ul { margin: 6px 0 0; padding-left: 20px; columns: 2; }
.n-links { margin: 6px 0 0; font-size: .88rem; } .n-links a { color: var(--accent); font-weight: 600; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.controls input[type=search] { flex: 1 1 220px; padding: 9px 12px; border: 1px solid #c9ccd0; border-radius: 8px; font: inherit; }
.controls button { font: inherit; padding: 7px 14px; border: 1px solid #c9ccd0; border-radius: 18px; background: #fff; cursor: pointer; }
.controls button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.group-title { display: flex; align-items: baseline; gap: 10px; }
.group-title span { color: var(--muted); font-size: .9rem; font-weight: 400; }
@media (max-width: 600px) { .n-stops ul { columns: 1; } }
/* Train disruptions page: periods of engineering works, with a day-by-day breakdown. */
.works-day { margin: 10px 0 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.works-day h4 { margin: 0; font-size: .95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.works-table { width: 100%; margin: 6px 0 0; font-size: .9rem; }
.works-table th, .works-table td { white-space: normal; padding: 6px 8px; }
.works-table summary { cursor: pointer; font-weight: 600; }
.sev-major-badge { background: var(--sev-major); } .sev-moderate-badge { background: var(--sev-moderate); color: #3d2a00; } .sev-minor-badge { background: var(--sev-minor); }
#nowSection h3 { font-size: 1rem; margin: 18px 0 8px; }
