/* Home (option C, status-first). Tokens in tokens.css. Prefixed with body.wz-home so it
   takes precedence over the older feed sheets still loaded for cards, dialogs and maps. */
body.wz-home{background:var(--wz-bg);font-family:var(--wz-font);color:var(--wz-ink)}
body.wz-home .shell{width:auto;max-width:none;margin:0}
body.wz-home main{max-width:var(--wz-max);margin:0 auto;padding:12px var(--wz-gutter) 0;box-sizing:border-box}
body.wz-home .layout.wz-home-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media(min-width:900px){body.wz-home main{padding-top:24px}body.wz-home .layout.wz-home-grid{grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:24px}}
body.wz-home .feed{display:flex;flex-direction:column;gap:12px;min-width:0;border:0;background:transparent;min-height:0}
@media(min-width:900px){body.wz-home .feed{gap:16px}}
body.wz-home .feed-header.wz-sr-wrap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0;margin:0;border:0;min-height:0}
body.wz-home .left-rail{display:none}
body.wz-home .skip-link{position:absolute;left:-999px}body.wz-home .skip-link:focus{left:12px;top:8px;z-index:90;background:#fff;padding:8px 12px;border-radius:8px}
/* Place pill in the header */
body.wz-home .wz-place svg{width:16px;height:16px}
/* Status hero */
.status-hero{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:16px;display:flex;flex-direction:column;gap:10px;margin:0;box-shadow:none}
@media(min-width:900px){.status-hero{padding:24px;gap:12px}}
.status-hero .hero-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.status-hero .hero-pill{display:inline-flex;align-items:center;gap:8px;font-size:var(--wz-t-xs);font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--wz-ok);background:none;padding:0;border:0}
.status-hero .hero-dot{width:10px;height:10px;border-radius:5px;background:currentColor;flex:0 0 10px;box-shadow:none;margin:0}
.status-hero .hero-checked{font-size:var(--wz-t-xs);color:var(--wz-muted)}
.status-hero .hero-title{margin:0;font-size:var(--wz-t-xl);line-height:1.25;font-weight:700;letter-spacing:-.01em;color:var(--wz-ink)}
@media(min-width:900px){.status-hero .hero-title{font-size:var(--wz-t-2xl)}}
.status-hero .hero-sub{margin:0;font-size:var(--wz-t-md);line-height:1.5;color:var(--wz-ink);max-width:62ch}
.status-hero.is-clear .hero-sub,.status-hero.is-checking .hero-sub{color:var(--wz-muted);font-size:var(--wz-t-sm)}
.status-hero .hero-meta{margin:0;font-size:var(--wz-t-sm);color:var(--wz-muted)}
.status-hero .hero-warning{margin:0;font-size:var(--wz-t-sm);color:var(--wz-warn);font-weight:600}
.status-hero .hero-regional{margin:0;font-size:var(--wz-t-sm);color:var(--wz-ink)}.status-hero .hero-regional small{display:block;color:var(--wz-muted)}
.status-hero .hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.status-hero .hero-actions .wz-btn{flex:1 1 160px}
@media(min-width:900px){.status-hero .hero-actions .wz-btn{flex:0 0 auto}}
.status-hero .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:2px 0 0}
.status-hero .hero-stat{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:64px;padding:10px 6px;border:0;border-radius:var(--wz-r);background:var(--wz-bg);color:var(--wz-ink);cursor:pointer;font-family:inherit}
.status-hero .hero-stat b{font-size:var(--wz-t-lg);font-weight:700;line-height:1.2}
.status-hero .hero-stat span{font-size:var(--wz-t-xs);color:var(--wz-muted);text-align:center}
.status-hero .hero-stat:hover{background:var(--wz-line-soft)}
.status-hero .hero-cta{width:100%;min-height:48px;margin:4px 0 0}
@media(min-width:900px){.status-hero .hero-cta{width:auto;align-self:flex-start;padding:0 24px}}
.status-hero .hero-note{margin:-2px 0 0;font-size:var(--wz-t-xs);color:var(--wz-muted);text-align:center}
@media(min-width:900px){.status-hero .hero-note{text-align:left}}
.status-hero .hero-on{margin:0;font-size:var(--wz-t-sm);font-weight:600;color:var(--wz-ok)}
.status-hero .hero-alerts-link{align-self:flex-start;font-size:var(--wz-t-sm)}
.status-hero .hero-offer{border-top:1px solid var(--wz-line);padding-top:12px;display:grid;gap:6px}.status-hero .hero-offer p{margin:0;font-size:var(--wz-t-sm);color:var(--wz-muted)}
.status-hero .hero-offer-actions{display:flex;gap:12px;align-items:center}
.status-hero.is-warn{background:var(--wz-danger-soft);border-color:var(--wz-danger-line)}
.status-hero.is-warn .hero-pill{color:var(--wz-danger)}
.status-hero.is-watch{background:var(--wz-warn-soft);border-color:var(--wz-warn-line)}
.status-hero.is-watch .hero-pill{color:var(--wz-warn)}
.status-hero.is-watch .hero-stat{background:rgba(255,255,255,.7)}
.status-hero.is-checking .hero-pill{color:var(--wz-muted)}
.status-hero.is-checking .hero-title{color:var(--wz-muted)}
.tropics-card{display:none}
/* Your people */
/* What matters now */
body.wz-home .what-matters{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:14px 16px 4px;margin:0}
body.wz-home .what-matters h2{margin:0 0 2px;font-size:var(--wz-t-lg);font-weight:600;color:var(--wz-ink)}
body.wz-home .wm-list{list-style:none;margin:0;padding:0}
body.wz-home .wm-item{display:block;padding:0;margin:0;border:0;border-top:1px solid var(--wz-line-soft)}
body.wz-home .wm-item:first-child{border-top:0}
body.wz-home .wm-item>a,body.wz-home .wm-item>.wm-static{display:flex;flex-direction:column;gap:2px;padding:10px 28px 10px 0;color:var(--wz-ink);text-decoration:none;position:relative;border:0}
body.wz-home .wm-item>a::after{content:"";position:absolute;right:4px;top:50%;width:8px;height:8px;border-right:2px solid var(--wz-muted);border-top:2px solid var(--wz-muted);transform:translateY(-50%) rotate(45deg)}
body.wz-home .wm-item b{font-size:var(--wz-t-md);font-weight:600;line-height:1.35}
body.wz-home .wm-item small{font-size:var(--wz-t-sm);color:var(--wz-muted)}
body.wz-home .wm-item.wm-warning b{color:var(--wz-danger)}
body.wz-home .wm-empty{margin:0 0 12px;font-size:var(--wz-t-sm);color:var(--wz-muted)}
body.wz-home .wm-lang{display:inline-block;margin-left:6px;font-size:var(--wz-t-xs);font-weight:700;color:var(--wz-muted);border:1px solid var(--wz-line);border-radius:6px;padding:0 4px}
body.wz-home .risk-panel,body.wz-home #what-matters details{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:12px 16px;margin:12px 0 0}
/* Latest */
.wz-latest{display:flex;flex-direction:column;gap:10px;min-width:0}
.wz-latest-head{display:flex;align-items:center;gap:8px;padding:0 2px}
.wz-latest-head h2{margin:0;font-size:var(--wz-t-lg);font-weight:600}
.wz-latest-head .feed-header-tools{margin-left:auto;padding:0}
body.wz-home .search-drawer>summary{display:flex;align-items:center;justify-content:center;width:var(--wz-tap);height:var(--wz-tap);border-radius:var(--wz-r);cursor:pointer;list-style:none}
body.wz-home .search-drawer>summary::-webkit-details-marker{display:none}
body.wz-home .search-drawer[open]{position:static}
body.wz-home .search-drawer .report-search{position:absolute;left:var(--wz-gutter);right:var(--wz-gutter);z-index:30;margin-top:6px;background:#fff;border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);box-shadow:var(--wz-shadow);padding:12px;display:grid;gap:8px}
@media(min-width:900px){body.wz-home .search-drawer{position:relative}body.wz-home .search-drawer .report-search{left:auto;right:0;width:360px}}
body.wz-home .search-drawer input{height:var(--wz-tap);border:1px solid var(--wz-line);border-radius:var(--wz-r);padding:0 12px;font-size:var(--wz-t-md)}
body.wz-home .wz-chiprow{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px;margin:0 -2px;border:0;background:transparent;position:static}
body.wz-home .wz-chiprow::-webkit-scrollbar{display:none}
body.wz-home .wz-chiprow>button,body.wz-home .wz-chiprow>details>summary{flex:0 0 auto;min-height:36px;padding:0 14px;border:1px solid var(--wz-line);border-radius:var(--wz-pill);background:var(--wz-surface);color:var(--wz-ink);font-size:var(--wz-t-sm);font-weight:600;cursor:pointer;box-shadow:none;list-style:none}
body.wz-home .wz-chiprow>button[aria-pressed="true"]{background:var(--wz-brand-soft);border-color:var(--wz-brand-soft);color:var(--wz-brand)}
body.wz-home .wz-chiprow>button[hidden]{display:none}
body.wz-home .wz-chiprow>details{position:static;flex:0 0 auto;margin-left:auto}
body.wz-home .wz-chiprow>details>summary{display:inline-flex;align-items:center;color:var(--wz-brand);border-color:transparent;background:none}
body.wz-home .feed-options-panel{position:absolute;right:var(--wz-gutter);left:var(--wz-gutter);z-index:30;background:#fff;border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);box-shadow:var(--wz-shadow);padding:16px;display:grid;gap:10px;margin-top:6px}
@media(min-width:900px){body.wz-home .feed-options-panel{left:auto;width:340px}}
body.wz-home .feed-options-panel select,body.wz-home .feed-options-panel button{min-height:40px;border:1px solid var(--wz-line);border-radius:10px;background:#fff;padding:0 10px;font-size:var(--wz-t-sm)}
body.wz-home .feed-state{margin:0;padding:0 2px;font-size:var(--wz-t-xs)}
body.wz-home .feed-state.warning{color:var(--wz-warn)}
body.wz-home .timeline-label{display:none}
body.wz-home #risk-feed{display:flex;flex-direction:column;gap:10px;background:transparent;border:0}
body.wz-home #risk-feed>button{min-height:var(--wz-tap);border:1px solid var(--wz-line);border-radius:var(--wz-r);background:#fff;color:var(--wz-brand);font-weight:600;font-size:var(--wz-t-sm);cursor:pointer}
/* Report cards */
body.wz-home .risk-card,body.wz-home.social-layout .risk-card.context{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:14px 16px;margin:0;background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg)}
body.wz-home .risk-card.urgent{border-color:var(--wz-danger-line);border-left:1px solid var(--wz-danger-line);background:var(--wz-surface);padding-left:16px}
body.wz-home .source-avatar{width:36px;height:36px;border-radius:18px;background:var(--wz-brand-soft);color:var(--wz-brand);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;letter-spacing:0}
body.wz-home .post-byline{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;font-size:var(--wz-t-sm);color:var(--wz-muted)}
body.wz-home .post-byline strong{color:var(--wz-ink);font-weight:600}
body.wz-home .post-category::before,body.wz-home .post-byline time::before{content:"· ";color:var(--wz-muted)}
body.wz-home .risk-card h3{margin:4px 0 6px;font-size:var(--wz-t-md);line-height:1.4;font-weight:600;color:var(--wz-ink);letter-spacing:0}
body.wz-home .incident-facts{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:var(--wz-t-sm);color:var(--wz-muted);margin:0 0 6px}
body.wz-home .fact-status{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--wz-pill);background:var(--wz-bg);color:var(--wz-muted);font-size:var(--wz-t-xs);font-weight:600;text-transform:none;letter-spacing:0}
body.wz-home .risk-card.urgent .fact-status{background:var(--wz-danger-soft);color:var(--wz-danger)}
body.wz-home .post-excerpt{margin:0 0 6px;font-size:var(--wz-t-sm);line-height:1.5;color:var(--wz-ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
body.wz-home .post-change,body.wz-home .risk-card p.small,body.wz-home .archive-status{margin:0 0 6px;font-size:var(--wz-t-sm);color:var(--wz-muted)}
body.wz-home .post-details>summary{font-size:var(--wz-t-sm);color:var(--wz-muted);cursor:pointer;min-height:36px;display:flex;align-items:center}
body.wz-home .post-details p{font-size:var(--wz-t-sm)}
body.wz-home .post-actions{display:flex;gap:16px;align-items:center;font-size:var(--wz-t-sm);margin:4px 0 0}
body.wz-home .post-actions a{font-weight:600;text-decoration:none}
body.wz-home .post-actions>span:last-child{display:none}
body.wz-home .incident-visual{border-radius:var(--wz-r);overflow:hidden;margin:6px 0}
body.wz-home .wz-earlier{margin:6px 0 0;border-top:1px solid var(--wz-line-soft);padding-top:6px}
body.wz-home .wz-earlier summary{font-size:var(--wz-t-sm);font-weight:600;color:var(--wz-brand);cursor:pointer;min-height:36px;display:flex;align-items:center}
body.wz-home .wz-earlier ol{margin:0;padding:0;list-style:none}
body.wz-home .wz-earlier li{padding:6px 0;border-top:1px solid var(--wz-line-soft);font-size:var(--wz-t-sm)}
body.wz-home .wz-earlier li small{display:block;color:var(--wz-muted)}
body.wz-home .empty{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:20px 16px;text-align:center;color:var(--wz-muted);font-size:var(--wz-t-sm)}
body.wz-home .empty button{margin:8px 4px 0;min-height:40px;border:1px solid var(--wz-line);border-radius:10px;background:#fff;padding:0 14px;font-weight:600;cursor:pointer}
body.wz-home #regional-context details,body.wz-home .official-notice-shelf,body.wz-home .local-activity,body.wz-home #local-disruptions:not([hidden]){background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:12px 16px;margin:0}
body.wz-home #regional-context summary,body.wz-home .official-notice-shelf>summary,body.wz-home .local-activity>summary{font-size:var(--wz-t-sm);font-weight:600;cursor:pointer;min-height:36px;display:flex;align-items:center;gap:8px}
body.wz-home .app-section{margin:0;background:var(--wz-brand-soft);border:0;border-radius:var(--wz-r-lg);padding:16px}
body.wz-home .app-section h2{font-size:var(--wz-t-lg);margin:0 0 6px}
body.wz-home .app-section ul{font-size:var(--wz-t-sm);margin:0 0 8px}body.wz-home .app-section p{font-size:var(--wz-t-sm);margin:0}
body.wz-home .back-to-top{bottom:calc(var(--wz-tabs) + 16px + env(safe-area-inset-bottom))}
@media(min-width:900px){body.wz-home .back-to-top{bottom:24px}}
/* Side column */
.wz-side{display:flex;flex-direction:column;gap:16px;min-width:0;position:static;border:0;padding:0;background:transparent}
@media(min-width:900px){.wz-side{position:sticky;top:calc(var(--wz-header) + 16px)}}
.wz-side>div:empty{display:none}
.wz-evac dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:8px 14px;font-size:var(--wz-t-sm)}
.wz-evac dt{color:var(--wz-muted)}.wz-evac dd{margin:0;font-weight:600}
.wz-evac .wz-evac-zone{font-size:var(--wz-t-xl);font-weight:700;color:var(--wz-ink)}
.wz-evac p{margin:8px 0 0;font-size:var(--wz-t-sm);color:var(--wz-muted)}
.wz-evac-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.wz-home .source-panel{display:block}
body.wz-home .source-panel h2{margin:0 0 8px}
body.wz-home #sources{font-size:var(--wz-t-sm)}
body.wz-home #sources ul,body.wz-home #sources ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body.wz-home .source-panel>p{margin:10px 0 0}
body.wz-home #local-overview{display:flex;flex-direction:column;gap:12px}
body.wz-home #local-overview>*{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:12px 16px;margin:0}
body.wz-home #local-overview summary{font-size:var(--wz-t-md);font-weight:600;cursor:pointer;min-height:36px;display:flex;align-items:center}
/* Footer spacing and legacy right-rail pieces */
body.wz-home .right-rail .welcome-card,body.wz-home .right-rail .upgrade-note,body.wz-home .right-rail .alert-panel,body.wz-home .right-rail .coverage-note,body.wz-home .right-rail .region-card{display:none}
body.wz-home details:not([open])>.feed-options-panel,body.wz-home details:not([open])>.report-search{display:none}
body.wz-home #urgent-notice{display:none!important}
body.wz-home .wz-chiprow>details{margin-left:0}
@media(min-width:900px){body.wz-home .wz-chiprow{flex-wrap:wrap;overflow:visible}}
body.wz-home .feed-state{background:none;border:0}
body.wz-home .incident-visual:not(:has(canvas,img,svg)){display:none}
body.wz-home .layout,body.wz-home .feed{background:transparent;box-shadow:none}
body.wz-home .wz-latest{padding:0;margin:0;border:0;background:none}
body.wz-home .wz-chiprow{flex-wrap:nowrap}
@media(min-width:900px){body.wz-home .wz-chiprow{flex-wrap:wrap}}
body.wz-home .wz-people-grid{padding:0;margin:0}
body.wz-home .post-category::before,body.wz-home .post-byline time::before{content:none}
body.wz-home .post-byline{gap:2px 8px}
.status-hero .hero-more{align-self:flex-start}
@media(max-width:899px){body.wz-home .right-rail.wz-side{display:flex}}
body.wz-home .right-rail.wz-side{display:flex;width:auto;max-width:none;border:0;padding:0;background:none}
body.wz-home .source-panel h2.wz-eyebrow{font-size:var(--wz-t-xs);letter-spacing:.06em;margin:0 0 10px;color:var(--wz-muted)}
body.wz-home .source-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body.wz-home .source-list>li{min-width:0}
body.wz-home .source-row{display:flex;align-items:center;gap:10px;font-size:var(--wz-t-sm);padding:0;border:0}
body.wz-home .source-dot{width:8px;height:8px;border-radius:4px;background:var(--wz-ok);flex:0 0 8px}
body.wz-home .source-row.stale .source-dot{background:var(--wz-warn)}
body.wz-home .source-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.wz-home .source-name a{color:var(--wz-ink);text-decoration:none;font-weight:500}
body.wz-home .source-when{color:var(--wz-muted);font-size:var(--wz-t-xs);white-space:nowrap}
body.wz-home #local-overview>*{padding:0;overflow:hidden}
body.wz-home #local-overview details>summary{padding:12px 16px;margin:0;border:0;background:none;list-style:none}
body.wz-home #local-overview details>*:not(summary){padding:0 16px 12px}
body.wz-home #local-overview details details{border-top:1px solid var(--wz-line-soft);padding:0}
body.wz-home #local-disruptions:not([hidden]){padding:0;border:0;background:none}
body.wz-home #local-disruptions>*{margin:0;border-radius:var(--wz-r-lg)}
body.wz-home .feed-state:empty{display:none}
body.wz-home .plans-disclosure{display:none}
body.wz-home .place-risks{background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:var(--wz-r-lg);padding:16px;margin:16px 0 0}
body.wz-home .place-risks h2{font-size:var(--wz-t-lg);margin:0 0 10px}
body.wz-home .place-risks .risk-list{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
body.wz-home .place-risks .risk-item{border:1px solid var(--wz-line-soft);border-radius:var(--wz-r);padding:12px}
body.wz-home .place-risks h3{font-size:var(--wz-t-md);margin:0}
body.wz-home .place-risks small,body.wz-home .place-risks li li{font-size:var(--wz-t-sm);color:var(--wz-muted)}
/* Minimum readable size for legacy feed widgets (12px floor, 14px for links). */
body.wz-home :is(.outlook-label,.outlook-now-label,.outlook-window,.brief-radius,.brief-update-time,.coverage-status,.brief-location-note,.area-map-open,#local-overview dt,#local-overview span,.wz-side .small,.feed .small){font-size:12px}
body.wz-home .source-name a{font-size:var(--wz-t-sm)}
body.wz-home .source-avatar{font-size:12px}
body.wz-home .incident-visual:has(.notice-status){display:none}
body.wz-home .right-rail.wz-side{grid-column:1;grid-row:auto}
body.wz-home .layout.wz-home-grid>.feed{grid-column:1}
@media(min-width:900px){body.wz-home .right-rail.wz-side{grid-column:2;grid-row:1}}
body.wz-home .notice-visual{display:none}
body.wz-home #official-notices:not(:has(*)),body.wz-home #regional-context:not(:has(*)),body.wz-home #activity-focus:not(:has(*)){display:none}
.status-hero .hero-lang{font-weight:600;color:var(--wz-muted)}
