.swc-nws{--swc-hero-navy:#123b58;max-width:1180px;margin:0 auto}.swc-nws-map{width:100%;min-height:26rem;border:1px solid rgba(0,0,0,.14);border-radius:14px;overflow:hidden}.swc-nws-status,.swc-nws-warning{text-align:center;margin:.75rem 0 0}.swc-nws-warning{padding:.8rem;border:1px solid currentColor;border-radius:10px}.swc-nws .swc-inspection-modal__raw{display:block}.swc-nws .swc-inspection-modal__panel{width:min(900px,calc(100vw - 2rem));max-height:min(90vh,900px)}.swc-nws .swc-inspection-modal__body{padding:1.15rem 1.35rem 1.5rem}.swc-nws .swc-inspection-modal__description{font-size:.95rem;line-height:1.45;margin-bottom:1rem}.swc-nws .swc-inspection-modal__card{padding:0;border:0;background:transparent}.swc-nws-alerts{margin:0 0 1.25rem}.swc-nws-section-title{margin:0 0 .55rem;font-size:1.05rem}.swc-nws-alert{border:2px solid currentColor;border-radius:12px;padding:1rem;margin:.65rem 0}.swc-nws-alert__head{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.swc-nws-alert__badge{font-size:.7rem;font-weight:900;letter-spacing:.08em;border:1px solid currentColor;border-radius:999px;padding:.2rem .45rem}.swc-nws-alert__title{font-size:1.15rem;margin:0}.swc-nws-alert__headline{font-weight:700;margin:.7rem 0 .35rem}.swc-nws-alert__text{white-space:pre-line;line-height:1.55;margin:.4rem 0}.swc-nws-alert__meta{font-size:.82rem;margin:.55rem 0 0;opacity:.78}.swc-nws-forecast-head{padding:0 0 .85rem;border-bottom:2px solid rgba(0,0,0,.16)}.swc-nws-zone-name{font-size:1.45rem;line-height:1.2;margin:0}.swc-nws-zone-id{font-weight:700;margin:.3rem 0 0}.swc-nws-stale{font-weight:800;margin:.55rem 0 0}.swc-nws-periods{display:grid;gap:.7rem;margin-top:1rem}.swc-nws-period{padding:.95rem 1rem;border:1px solid rgba(0,0,0,.15);border-radius:10px}.swc-nws-period__name{font-size:1.12rem;line-height:1.2;margin:0 0 .42rem}.swc-nws-period__text{font-size:1rem;line-height:1.62;margin:0;white-space:pre-line}.swc-nws-source{font-size:.78rem;opacity:.72;margin:1rem 0 0}.swc-nws-empty{padding:1rem 0;line-height:1.5}@media(max-width:640px){.swc-nws-map{min-height:30rem;border-radius:8px}.swc-nws .swc-inspection-modal__panel{width:100vw;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}.swc-nws .swc-inspection-modal__body{padding:1rem}.swc-nws-period{padding:.85rem}.swc-nws-period__text{font-size:1rem;line-height:1.58}}

.swc-nws-debug{margin:.75rem 0;padding:.7rem .85rem;border:1px solid rgba(0,0,0,.18);border-radius:10px;background:rgba(0,0,0,.025);font-size:.82rem}.swc-nws-debug summary{cursor:pointer;font-weight:800}.swc-nws-debug pre{margin:.65rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.swc-nws-debug--error{border-width:2px}

/* SWC feature pages own their visual title; suppress the surrounding WordPress page title. */
body:has(.swc-nws) .entry-title,body:has(.swc-nws) .wp-block-post-title,body:has(.swc-nws) .page-title,body:has(.swc-nws) .entry-header,body:has(.swc-nws) .page-header,body:has(.swc-nws) .entry-content>h1:first-child{display:none!important}

/* Active marine alerts match SWC warning panels. */
.swc-nws-alert{background:#fff1f2;border-color:#e8a2a8;color:#14232c}
.swc-nws-alerts>.swc-nws-section-title{color:#9f2432;font-weight:850}
.swc-nws-alert__badge{background:#ffe0e4;border-color:#e8a2a8;color:#9f2432}
.swc-nws-alert__title{color:#9f2432;font-weight:850}

/* No link, status or diagnostic output beneath the NWS map. */
.swc-nws .swc-nws-status,.swc-nws .swc-nws-warning,.swc-nws .swc-nws-debug,.swc-nws a[href*="/nauth/app/start.php"]{display:none!important}
