/* Emergency updates: readable source records across desktop and mobile. */
#ipaws-updates{background:#0c1b33;color:#fff;padding:52px 0 56px;scroll-margin-top:115px}
#ipaws-updates .wrap{max-width:1160px}
#ipaws-updates .updates-heading{display:block;text-align:left}
#ipaws-updates h2{color:#10213c;margin:8px 0 12px;font-size:clamp(2rem,4vw,2.8rem);line-height:1.12}
#ipaws-updates h3{color:#14243c;text-transform:none;letter-spacing:0;font-family:'Source Sans 3',Arial,sans-serif;line-height:1.3}
#ipaws-updates .eyebrow{color:#a6202a}
#ipaws-updates .updates-intro{max-width:76ch;color:#425269;line-height:1.6;margin-bottom:18px}
.updates-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px}.updates-link{padding:10px 16px;background:#fff;border:1px solid #cbd4df;border-radius:7px;text-decoration:none;font-weight:700;color:#17324f}
#ipaws-update-status{color:#526278!important;font-size:.9rem;line-height:1.5;margin:0 0 26px!important;border-top:1px solid #d5dce5;padding-top:14px}
#ipaws-updates .featured-report{background:#fff;border:1px solid #d2dbe5;border-left:5px solid #b92b36;padding:26px 30px;margin-bottom:36px;box-shadow:0 4px 14px #14243c08;color:#17263b;transform:none}
#ipaws-updates .report-label{display:block;color:#9a2630;font-size:.8rem;font-weight:700;letter-spacing:.04em;line-height:1.6;margin-bottom:12px}
#ipaws-updates .featured-report h3{font-size:1.55rem;max-width:46ch;margin:0 0 14px}
#ipaws-updates .featured-report p{color:#425269;margin:0 0 14px;max-width:94ch;line-height:1.65}
#ipaws-updates .featured-report a{display:inline-block;color:#a2202c;font-weight:700;margin-top:3px}
.alerts-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 18px}.alerts-section-heading h3{font-size:1.4rem;margin:0}.alerts-section-heading span{color:#596980;font-size:.9rem}
.alert-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:26px;align-items:start}
#ipaws-updates .alert-record{background:#fff;border:1px solid #d4dce6;border-top:4px solid #ac2833;border-radius:10px;padding:24px;min-width:0;color:#17263b;box-shadow:0 2px 8px #10213c05}
#ipaws-updates .alert-record.is-historical{border-top-color:#7f8c9e;background:#fafbfd}
.alert-status{display:inline-block;background:#fce8e9;color:#8c202a;border-radius:4px;padding:4px 9px;font-size:.76rem;font-weight:700;letter-spacing:.03em;line-height:1.4;text-transform:uppercase}
.is-historical .alert-status{background:#e8edf3;color:#48576c}
#ipaws-updates .alert-record h3{font-size:1.22rem;margin:15px 0 9px;overflow-wrap:anywhere}
#ipaws-updates .alert-record p{margin:0 0 12px;color:#41516a;line-height:1.55}
#ipaws-updates .alert-record .alert-area{font-weight:700;color:#263b55}
#ipaws-updates .alert-record .alert-time{color:#637187;font-size:.84rem}
.alert-record details{border-top:1px solid #e1e6ed;padding-top:13px;margin-top:18px;font-size:.9rem;overflow-wrap:anywhere}.alert-record summary{cursor:pointer;color:#244965;font-weight:700}.alert-record details[open] summary{margin-bottom:12px}
#ipaws-updates a:focus-visible,#ipaws-updates summary:focus-visible{outline:3px solid #2766ac;outline-offset:4px}
@media(max-width:700px){#ipaws-updates{padding:32px 0;scroll-margin-top:90px}.alert-record-grid{grid-template-columns:1fr;gap:16px}#ipaws-updates .featured-report{padding:22px 20px;margin-bottom:28px}.alerts-section-heading{align-items:flex-start;flex-direction:column;gap:5px}#ipaws-updates .alert-record{padding:21px}.updates-link{font-size:.95rem}}

/* Match National Updates' navy section, blue cards and gold actions. */
#ipaws-updates h2,#ipaws-updates h3{color:#fff}
#ipaws-updates .eyebrow{color:#ffc43b}
#ipaws-updates .updates-intro{color:#e5ebf5}
#ipaws-updates .updates-link{background:#142c49;border-color:#365574;color:#fff}
#ipaws-update-status{color:#c9dcf0!important;border-top-color:#365574}
#ipaws-updates .featured-report,#ipaws-updates .alert-record{background:#142c49;border-color:#365574;border-left:5px solid #d82835;color:#fff;box-shadow:none}
#ipaws-updates .alert-record{border-top:1px solid #365574}
#ipaws-updates .alert-record.is-historical{background:#122740;border-left-color:#7d9fbe}
#ipaws-updates .report-label{color:#ffc43b}
#ipaws-updates .featured-report p,#ipaws-updates .alert-record p{color:#e1eaf4}
#ipaws-updates .featured-report a,#ipaws-updates .alert-record a{color:#fff}
#ipaws-updates .alerts-section-heading span,#ipaws-updates .alert-record .alert-time{color:#acc5df}
#ipaws-updates .alert-record .alert-area{color:#e1eaf4}
#ipaws-updates .alert-status{background:#762c38;color:#fff}
#ipaws-updates .is-historical .alert-status{background:#28445f;color:#d9e8f6}
#ipaws-updates .alert-record details{border-top-color:#365574}
#ipaws-updates .alert-record summary{color:#b9dcfa}
#ipaws-updates .shared-alert{outline:3px solid #ffc43b;outline-offset:3px;scroll-margin-top:110px}
#ipaws-updates button:focus-visible,#ipaws-updates a:focus-visible,#ipaws-updates summary:focus-visible{outline-color:#ffc43b}

/* Compact location and device-alert controls */
#alert-location-filters { padding: 18px 0 22px; }
#alert-location-filters .alert-filter-controls { gap: 10px; }
#alert-location-filters > .alert-filter-note { margin: 8px 0 14px; max-width: 90ch; color: #56667b; font-size: .82rem; line-height: 1.45; }
#alerts-location-status { font-weight: 700; color: #243f5b; }
#alert-device-notifications { margin: 16px 0 4px; padding: 20px; background: #f1f6fb; border: 1px solid #c6d7e8; border-radius: 14px; color: #18314e; }
.ar-notify-header, .ar-notify-title { display: flex; align-items: center; gap: 14px; }
.ar-notify-header { justify-content: space-between; flex-wrap: wrap; }
.ar-notify-title { min-width: 0; }
.ar-notify-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: #dbe9f8; font-size: 1.4rem; }
#alert-device-notifications h2 { margin: 0; color: #142a44; font-size: 1.3rem; line-height: 1.2; }
#alert-device-notifications p { margin: 5px 0; line-height: 1.45; }
.ar-notify-title p, .ar-install-status { font-size: .9rem; color: #475e77; }
#alert-device-notifications .ar-install { background: #fff; border: 1px solid #8ea9c5; color: #142a44; }
.ar-install-help { margin-top: 12px; padding: 14px; border-radius: 9px; background: #fff; font-size: .9rem; }
.ar-install-help[hidden] { display: none; }
.ar-notify-setup { margin-top: 14px; border: 1px solid #c6d7e8; border-radius: 10px; background: #fff; }
.ar-notify-setup > summary { padding: 13px 16px; cursor: pointer; color: #143d69; font-weight: 800; }
.ar-notify-setup > summary small { display: inline-block; margin-left: 10px; font-size: .8rem; font-weight: 400; color: #52677c; }
.ar-notify-body { border-top: 1px solid #dce6ef; padding: 14px 16px 16px; }
.ar-notify-body fieldset { border: 0; padding: 0; margin: 14px 0; }
.ar-notify-body legend { font-weight: 800; padding: 0; margin-bottom: 7px; }
.ar-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-choice-row label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #cbd9e7; border-radius: 8px; background: #f8fbff; cursor: pointer; }
.ar-notify-more { margin-top: 10px; color: #52677c; font-size: .86rem; }
.ar-notify-more summary { cursor: pointer; color: #224e78; font-weight: 700; }
@media(max-width:700px){ #alert-device-notifications { padding: 16px; } .ar-notify-header { align-items: stretch; } .ar-notify-header .ar-install { width: 100%; text-align:center; } .ar-notify-setup > summary small { display:block; margin: 4px 0 0 20px; } .ar-choice-row label { flex: 1 1 180px; } }


/* Refined Alerts page: clear location controls, compact notification setup, readable records. */
#alert-location-filters.wrap{max-width:1160px;margin:24px auto 20px;padding:22px 24px;border:1px solid #d5e0eb;border-radius:18px;background:linear-gradient(145deg,#f8fbfe,#edf4fb);box-shadow:0 10px 28px rgba(16,39,66,.08)}
.alert-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.alert-filter-heading h2{margin:4px 0 2px;color:#142a44;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.2}
.alert-filter-heading p{margin:4px 0 0;color:#52667c;line-height:1.45}
.alert-filter-kicker{color:#9d2631;font-size:.73rem;font-weight:800;letter-spacing:.1em}
.alert-filter-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.alert-filter-actions .btn{min-height:42px;padding:10px 15px;border-radius:9px;font-weight:800}
.alert-filter-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:14px;background:#fff;border:1px solid #d8e2ed;border-radius:12px}
.alert-filter-controls>label:not(.alert-unlocated-choice){display:grid;gap:5px;color:#40556b;font-size:.82rem;font-weight:700}
.alert-filter-controls select{min-width:155px;min-height:42px;padding:8px 34px 8px 11px;border:1px solid #b7c7d8;border-radius:8px;background:#fff;color:#17324f;font-size:.96rem}
.alert-filter-controls .alert-unlocated-choice{align-self:center;padding:8px 10px;border:1px solid #e0e7ef;border-radius:8px;background:#f8fafc;color:#43566c;font-size:.87rem}
#alerts-location-status{display:inline-flex;max-width:100%;margin:13px 0 4px!important;padding:9px 13px;border-left:4px solid #2b79a9;border-radius:7px;background:#e4f1fa;color:#173d5d;font-size:.91rem;line-height:1.4}
.alert-filter-more{margin-top:6px;color:#53677d;font-size:.86rem}
.alert-filter-more summary{width:max-content;max-width:100%;cursor:pointer;color:#245477;font-weight:700}
.alert-filter-more p{max-width:90ch;margin:8px 0 0;line-height:1.55}
#alert-device-notifications{margin:16px 0 2px;padding:18px 20px;border:1px solid #cbd9e7;border-left:5px solid #1b6d9e;border-radius:14px;background:linear-gradient(135deg,#fff,#f5f9fd);box-shadow:0 5px 16px rgba(16,39,66,.06);color:#1b334e}
.ar-notify-header{align-items:center;gap:16px}
.ar-notify-icon{width:44px;height:44px;flex-basis:44px;border-radius:13px;background:#e5f0fa;color:#184a70;font-size:1.25rem}
#alert-device-notifications h2{color:#142a44;font-size:1.2rem;letter-spacing:0;line-height:1.2}
.ar-notify-title p,.ar-install-status{margin:3px 0 0;color:#52677c;font-size:.9rem;line-height:1.4}
#alert-device-notifications .ar-install{min-height:44px;padding:10px 16px;border:0;border-radius:9px;background:#143758;color:#fff;font-weight:800}
#alert-device-notifications .ar-install:hover{background:#205276}
.ar-install-help{margin:12px 0 0;padding:14px 16px;border:1px solid #d8e4ef;border-radius:10px;background:#fff;color:#344c65;line-height:1.5}
.ar-install-help p{margin:7px 0}
.ar-notify-setup{margin-top:12px;border:1px solid #d1dfeb;border-radius:10px;background:#fff}
.ar-notify-setup>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;cursor:pointer;color:#173e63;font-weight:800;list-style:none}
.ar-notify-setup>summary::-webkit-details-marker{display:none}
.ar-notify-setup>summary:after{content:'+';display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#e9f1f8;color:#174568;font-size:1.1rem}
.ar-notify-setup[open]>summary:after{content:'−'}
.ar-notify-setup>summary small{margin-left:auto;color:#62778c;font-size:.8rem;font-weight:600}
.ar-notify-body{padding:14px 15px 16px;border-top:1px solid #e1e9f0}
.ar-setup-lead{display:flex;align-items:center;gap:10px;margin:0 0 14px!important;padding:10px 12px;border-radius:9px;background:#f1f6fb;color:#344f69}
.ar-step{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:#d9eaf8;color:#16466b;font-weight:900}
.ar-notify-body fieldset{margin:12px 0;padding:0;border:0}
.ar-notify-body legend{margin-bottom:8px;color:#243c54;font-weight:800}
.ar-choice-row{gap:8px}
.ar-choice-row label{min-height:40px;padding:8px 11px;border:1px solid #d2dfeb;border-radius:9px;background:#f9fbfd;color:#29435d;font-size:.9rem}
.ar-choice-row label:hover{border-color:#8aa9c4;background:#f1f7fc}
.ar-notify-body .alert-filter-controls{padding:0;border:0;background:transparent}
#ar-push-enable{min-height:44px;padding:10px 16px;border-radius:9px;font-weight:800}
#ar-push-status{margin:8px 0 0;color:#39536d;font-size:.9rem;line-height:1.45}
.ar-notify-more{margin-top:13px;padding-top:10px;border-top:1px solid #e2e9ef;color:#52677c;font-size:.85rem}
.ar-notify-more summary{cursor:pointer;color:#315879;font-weight:700}
.ar-notify-more p{max-width:88ch;margin:8px 0;line-height:1.5}
#ipaws-updates .alert-record{transition:box-shadow .16s ease,border-color .16s ease}
#ipaws-updates .alert-record.is-current{border-left-color:#e13b47}
#ipaws-updates .alert-record.is-historical{border-left-color:#7290ab}
#ipaws-updates .alert-record h3{font-size:1.24rem;line-height:1.3}
#ipaws-updates .alert-record p{max-width:68ch;font-size:.98rem;line-height:1.65}
#ipaws-updates .alert-record .alert-area{margin-top:0;color:#f1f6fb;font-weight:700}
#ipaws-updates .alert-record .alert-time{display:inline-block;padding:4px 8px;border-radius:6px;background:#203e5d;color:#d2e3f2}
#ipaws-updates .alert-status{padding:5px 9px;border-radius:999px;font-size:.72rem;letter-spacing:.06em}
#ipaws-updates .alert-record:hover{box-shadow:0 9px 24px rgba(0,0,0,.18)}
.daily-grid{gap:16px}
.daily-card{box-shadow:0 5px 16px rgba(0,0,0,.12)}
.daily-card h3{line-height:1.3}
.daily-card>p:not(.daily-meta){max-width:68ch;line-height:1.6}
.daily-card .daily-tag{display:inline-block;padding:4px 8px;border-radius:999px;background:#203e5d}
@media(max-width:700px){
 #alert-location-filters.wrap{margin:16px auto;padding:16px;border-radius:14px}
 .alert-filter-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .alert-filter-actions{width:100%;justify-content:stretch}
 .alert-filter-actions .btn{flex:1 1 auto;text-align:center}
 .alert-filter-controls{align-items:stretch;gap:10px;padding:11px}
 .alert-filter-controls>label:not(.alert-unlocated-choice){flex:1 1 145px}
 .alert-filter-controls select{width:100%;min-width:0}
 .alert-filter-controls .alert-unlocated-choice{flex:1 1 100%}
 #alerts-location-status{display:flex}
 #alert-device-notifications{padding:15px}
 .ar-notify-header{align-items:flex-start}
 .ar-notify-title{align-items:flex-start}
 .ar-notify-header .ar-install{width:auto;flex:0 0 auto}
 .ar-notify-setup>summary{align-items:flex-start;flex-wrap:wrap}
 .ar-notify-setup>summary small{width:calc(100% - 40px);margin:0 0 0 0}
 .daily-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#ipaws-updates .alert-record{transition:none}}

/* Platform-specific Alerts install choices */
.ar-install-prompt{margin:10px 0 7px!important;color:#344c65;font-size:.9rem;font-weight:700}.ar-install-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ar-install-options .ar-install{min-height:44px}.ar-install-options .ar-install:focus-visible{outline:3px solid #e5a820;outline-offset:2px}.ar-install-help[hidden]{display:none}@media(max-width:560px){.ar-install-options{grid-template-columns:1fr}.ar-install-options .ar-install{width:100%;text-align:center}}