.notification-settings { display: flex; justify-content: flex-end; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.notification-manage { display: flex; align-items: center; gap: 8px; padding-left: 0; border-color: transparent; background: transparent; color: var(--muted); }
.notification-bell { width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; color: var(--muted); }
.notification-bell svg, .notification-manage svg { width: 24px; height: 24px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.notification-bell:not(.active) svg { opacity: .65; }
.notification-bell.active { color: var(--accent); }
.notification-bell.active svg { fill: var(--accent); fill-opacity: .18; stroke-width: 2; }
.notification-count { font-size: 11px; background: var(--raised); padding: 2px 6px; border-radius: 10px; }
.timetable .board .notification-bell-col { width: 52px; padding: 12px 0; text-align: right; }
.timetable .board.has-notifications th:not(.notification-bell-col), .timetable .board.has-notifications td:not(.notification-bell-col) { width: auto; }
.notification-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#notification-feedback { margin: 10px 0 0; font-size: 14px; color: var(--accent); }
#notification-feedback:empty { display: none; }
.notification-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 90px #10072640; }
.notification-dialog::backdrop { background: #100b24a3; backdrop-filter: blur(3px); }
.notification-dialog p, .notification-dialog li { font-size: 14px; line-height: 1.65; }
.notification-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.notification-dialog-heading h2 { font-size: 24px; margin-top: 5px; }
.notification-eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.5px; color: var(--muted); }
.notification-close { border: 0; background: transparent; padding: 0; width: 40px; height: 40px; font-size: 26px; color: var(--muted); }
.notification-field { display: grid; gap: 9px; font-size: 13px; }
.notification-field select { width: 100%; min-width: 0; }
.notification-service-summary { background: var(--raised); border-radius: 7px; padding: 15px; margin: 16px 0 22px; }
.notification-service-summary strong { display: block; font-size: 22px; letter-spacing: -.4px; }
.notification-service-summary span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.notification-lead-field { border: 0; padding: 0; margin: 20px 0; }
.notification-lead-field legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.notification-leads { display: flex; gap: 7px; }
.notification-leads label { flex: 1; position: relative; text-align: center; cursor: pointer; }
.notification-leads input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.notification-leads span { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 12px 0; font-size: 13px; }
.notification-leads input:checked + span { border-color: var(--accent); background: var(--hover); color: var(--accent); font-weight: 600; }
.notification-leads input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.notification-leads small { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.notification-dialog .notification-hint { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 12px 0; }
.notification-summary { border-left: 3px solid var(--accent); background: var(--raised); padding: 13px 15px; font-size: 13px; line-height: 1.6; }
.notification-summary strong { display: block; }
.notification-record-status { font-weight: 600; }
.notification-message { color: var(--warning); }
.notification-message.notification-success { color: var(--accent); }
.notification-message:empty { display: none; }
.notification-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.notification-actions button, .notification-dialog button[data-notification-record] { min-height: 44px; }
.notification-primary { background: var(--button); border-color: var(--button); color: #fff; font-weight: 550; min-height: 44px; }
.notification-primary:hover { background: #6023de; }
.notification-reminder { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 14px 0; }
.notification-reminder-top { display: flex; justify-content: space-between; gap: 12px; }
.notification-reminder-top span { font-size: 12px; color: var(--muted); }
.notification-reminder h3 { font-size: 19px; font-weight: 600; margin: 0; }
.notification-dialog .notification-reminder p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 8px 0; }
.notification-empty { text-align: center; padding: 32px 12px; }
.notification-empty h3 { font-size: 20px; font-weight: 500; }
.notification-service-choices h3 { font-size: 14px; font-weight: 500; color: var(--muted); margin: 22px 0 10px; }
.notification-choice { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.notification-choice strong { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.notification-dialog .notification-empty p { font-size: 13px; color: var(--muted); }
.notification-change-times { font-weight: 600; font-size: 22px; }
.notification-landing { padding: 18px; border-left: 3px solid var(--accent); background: var(--raised); border-radius: 6px; margin-bottom: 24px; scroll-margin-top: 16px; }
.notification-landing h2 { font-size: 20px; }
.notification-landing p { font-size: 14px; line-height: 1.65; margin: 10px 0; }
.notification-landing strong { font-size: 24px; }
.notification-landing-status { font-weight: 600; }
.board .notification-selected-departure { background: var(--hover); outline: 2px solid var(--accent); outline-offset: -2px; }
.notification-landing .notification-hint { color: var(--muted); font-size: 12px; }
.notification-manage[hidden] { display: none; }
@media (max-width:560px) {
  .notification-settings { gap: 8px; justify-content: space-between; }
  .notification-manage { font-size: 12px; }
  .notification-settings .theme-control, .notification-settings .theme-control select { font-size: 12px; }
  .notification-settings .theme-control select { padding: 8px; }
  .notification-dialog { padding: 20px; }
  .notification-dialog-heading h2 { font-size: 22px; }
  .notification-actions button { white-space: normal; }
}
