/* Homepage visual and interactive refinement (founder 24 Nov 2026 17:45, amended 17:49 and 21:04).
   Linked from the alerts ticker, so it applies from the first section under the hero. Charcoal and neutral grounds,
   brand teal and gold as accents only (docs/design/DESIGN_STANDARDS.md). The hero, logo, nav, navy footer and the
   Earth and Space cards are not restyled here. */

/* 1. hero motion control: off screen until it receives keyboard focus; reduced motion is honoured by the hero itself */
main#main .he-motion:not([hidden]) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main#main .he-motion:not([hidden]):focus-visible { width: auto; height: auto; margin: 0; padding: .5rem .9rem; clip: auto; overflow: visible; left: 1rem; bottom: 1rem; z-index: 5;
  border-radius: 999px; background: rgba(7, 8, 10, .85); color: #fff; outline: 3px solid #f4c463; outline-offset: 2px; }

/* 2. global official alerts ticker: about the height of the three boxes it replaces */
.tk { position: relative; z-index: 2; background: #0f1114; color: #f2f4f7; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tk-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .5rem 1.1rem; min-height: 5.25rem; padding-block: .7rem; }
main#main .tk-h { margin: 0; font: 700 .78rem/1.2 var(--ds-sans, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #f4c463; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
main#main .tk-h::after { content: none; display: none; }
main#main .tk-h::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #2fc4c0; box-shadow: 0 0 0 3px rgba(47, 196, 192, .2); }
.tk[data-state="unavailable"] .tk-h::before, .tk[data-state^="stale"] .tk-h::before { background: #9aa3ac; box-shadow: none; }
.tk-stage { min-width: 0; }
.tk-item { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .7rem; width: 100%; min-height: 2.75rem; padding: .35rem .6rem; border: 0; border-radius: 10px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.tk-item:hover { background: rgba(255, 255, 255, .05); }
.tk-item:focus-visible, .tk-btn:focus-visible, .tk-meta a:focus-visible, .tk-detail a:focus-visible, .tk-d-close:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; }
.tk-sev { flex: 0 0 auto; padding: .05rem .5rem; border-radius: 4px; border: 1px solid currentColor; font: 700 .7rem/1.6 var(--ds-sans, system-ui, sans-serif); letter-spacing: .05em; text-transform: uppercase; color: #c9ced4; }
.tk-item[data-sev="4"] .tk-sev { color: #ff8f8f; } .tk-item[data-sev="3"] .tk-sev { color: #ffb38a; } .tk-item[data-sev="2"] .tk-sev { color: #f4c463; }
.tk-name { font-weight: 650; color: #fff; }
.tk-place { color: #dfe3e7; min-width: 0; overflow-wrap: anywhere; }
.tk-by { color: #b9c0c8; font-size: .88rem; }
.tk-stale { color: #f4c463; font-size: .82rem; }
.tk-cov { display: inline; } .tk-cov > summary { display: inline; cursor: pointer; color: #8fd8cf; font-weight: 600; } .tk-cov[open] > span { display: block; margin-top: .3rem; font-size: .88rem; }
.tk-cov > summary:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; }
.tk-msg { margin: 0; color: #c9ced4; font-size: .95rem; line-height: 1.45; } .tk-msg b { color: #fff; } .tk-msg a { color: #fff; }
.tk-ctl { display: flex; align-items: center; gap: .25rem; } .tk-ctl[hidden] { display: none; }
.tk-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #f2f4f7; cursor: pointer; }
.tk-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-btn[data-tk-pause] .tk-i-play { display: none; } .tk-btn[data-tk-pause][aria-pressed="true"] .tk-i-play { display: inline; fill: currentColor; } .tk-btn[data-tk-pause][aria-pressed="true"] .tk-i-pause { display: none; }
.tk-btn[hidden] { display: none; }
.tk-count { min-width: 3.2rem; text-align: center; font-size: .82rem; color: #b9c0c8; font-variant-numeric: tabular-nums; }
.tk-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .1rem .8rem; justify-content: flex-end; font-size: .82rem; color: #9aa3ac; white-space: nowrap; }
.tk-meta a { color: #8fd8cf; font-weight: 600; }
.tk-detail { padding-block: 0 1rem; } .tk-detail[hidden] { display: none; }
.tk-detail > * { max-width: 52rem; }
main#main .tk-d-h { margin: .2rem 0 .5rem; font: 600 1.15rem/1.3 var(--ds-serif, Georgia, serif); color: #fff; }
.tk-d-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .4rem 1.2rem; margin: 0 0 .5rem; }
.tk-d-dl dt { font-size: .75rem; color: #9aa3ac; } .tk-d-dl dd { margin: 0; color: #f2f4f7; }
.tk-d-note { margin: 0 0 .5rem; color: #b9c0c8; font-size: .85rem; }
.tk-d-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0 0 .6rem; } .tk-d-links a { color: #fff; font-weight: 600; }
.tk-d-close { min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; font: inherit; }
.tk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
@media (max-width: 63.99rem) { .tk-in { grid-template-columns: minmax(0, 1fr) auto; } .tk-h { grid-column: 1 / -1; } .tk-meta { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 29.99rem) { .tk-btn { width: 2.5rem; height: 2.5rem; } .tk-count { min-width: 2.6rem; } .tk-by { font-size: .82rem; } }

/* 3. Planetary Observer: visualization first, fewer labels and boxes */

 

 

/* 4. why Planet2Place matters: one compact band */
main#main .hm-why .why-band { list-style: none; margin: 1.2rem 0 .8rem; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }
main#main .hm-why .why-band .why-stat { display: flex; flex-direction: column; gap: .35rem; min-width: 0; margin: 0; padding: 1rem .95rem .7rem; border-radius: 12px; background: #16181c; border: 1px solid rgba(255, 255, 255, .08); }
main#main .hm-why .why-band .why-num { margin: 0; font: 600 clamp(1.6rem, 2.2vw, 2.1rem)/1.05 var(--ds-serif, Georgia, serif); color: #fff; }
main#main .hm-why .why-band .why-text { margin: 0; color: #dfe3e7; font-size: .88rem; line-height: 1.4; }
.why-more { margin-top: auto; font-size: .8rem; color: #b9c0c8; }
.why-more > summary { cursor: pointer; min-height: 2.25rem; display: flex; align-items: center; color: #8fd8cf; font-weight: 600; }
.why-more > summary:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; border-radius: 4px; }
.why-more p { margin: .3rem 0 0; color: #c9ced4; } .why-more .why-src a { color: #fff; }
.hm-why .why-fine a { color: #fff; font-weight: 600; }
@media (max-width: 74.99rem) and (min-width: 48rem) { main#main .hm-why .why-band { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 47.99rem) { main#main .hm-why .why-band { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: .4rem; }
  main#main .hm-why .why-band .why-stat { scroll-snap-align: start; } }

/* 5. Extraordinary Earth: one featured discovery, image-led */
.xe { position: relative; z-index: 1; background: #07080a; color: #f2f4f7; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.xe-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 4vw, 3.5rem); color: inherit; text-decoration: none; }
.xe-art { border-radius: 18px; overflow: hidden; background: #0f1114; aspect-ratio: 1 / 1; max-height: 34rem; }
.xe-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.xe-feature:hover .xe-art img { transform: scale(1.02); }
.xe-k { margin: 0 0 .5rem; color: #f4c463; font: 700 .78rem/1.3 var(--ds-sans, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
main#main .xe h2 { margin: 0 0 .8rem; font: 600 clamp(1.7rem, 3.4vw, 2.6rem)/1.12 var(--ds-serif, Georgia, serif); color: #fff; }
.xe-copy p:not(.xe-k) { margin: 0 0 1.2rem; color: #dfe3e7; font-size: 1.05rem; line-height: 1.55; max-width: 34rem; }
.xe-go { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: 0 1.3rem; border-radius: 999px; background: #f2f4f7; color: #07080a; font-weight: 650; }
.xe-go svg { width: 1.1rem; height: 1.1rem; }
.xe-feature:focus-visible { outline: 3px solid #f4c463; outline-offset: 6px; border-radius: 18px; }
@media (max-width: 47.99rem) { .xe-feature { grid-template-columns: 1fr; } .xe-art { max-height: none; } }
@media (prefers-reduced-motion: reduce) { .xe-art img { transition: none; } }
/* visual-first refinements (review 24 Nov): the supporting chart stays a supporting size; sources wrap; cards use the width */

 

/* 25 Nov 2026 fix: an inactive system panel stays hidden (the display rule above must not override [hidden]), and a figure
   host never shows as an empty box: it collapses until its view is drawn and says it is loading meanwhile */

/* founder brief 22:11: no uppercase orange headings; practical intelligence visible; official outlooks first */

main#main .tk-h { color: #f2f4f7; text-transform: none; letter-spacing: 0; font: 650 .95rem/1.2 var(--ds-sans, system-ui, sans-serif); }

 
/* review 25 Nov: the visual is not boxed inside the panel; cards fill one row where they fit */

 

/* Alert carousel with two layers (founder 25 Nov 2026 07:31): official warning above, Planet2Place intelligence below; one fixed
   footprint whatever the alert volume; a click opens the shared overlay, never an inline expansion */
.tk-stage { min-height: 5.4rem; display: flex; align-items: center; }
.tk-stage > .tk-item { flex: 1 1 auto; max-width: 52rem; }
.tk-item.tk-off, .tk-item.tk-obs { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; align-items: start; min-height: 5.2rem; padding: .55rem .8rem; border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid #f4c463; border-radius: 12px; background: linear-gradient(180deg, rgba(23, 31, 44, .9), rgba(15, 18, 24, .95)); text-align: left; cursor: pointer; }
.tk-item.tk-off[data-sev="4"] { border-left-color: #ff6b6b; } .tk-item.tk-off[data-sev="3"] { border-left-color: #ff9a6b; } .tk-item.tk-off[data-sev="1"] { border-left-color: #9aa3ac; }
.tk-item.tk-obs { border-left-color: #7cc4ff; border-style: solid dashed dashed solid; }
.tk-top { display: flex; justify-content: space-between; gap: .6rem; min-width: 0; font-size: .72rem; }
.tk-top .tk-sev { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f4c463; }
.tk-obs .tk-top .tk-sev { color: #7cc4ff; }
.tk-top .tk-place { color: #aeb8c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-mid { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; min-width: 0; }
.tk-mid .tk-name { color: #fff; font-weight: 650; font-size: .98rem; }
.tk-mid .tk-by { color: #8c96a1; font-size: .76rem; }
.tk-intel { display: flex; align-items: baseline; gap: .5rem; min-width: 0; padding-top: .25rem; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .76rem; }
.tk-intel-k { flex: 0 0 auto; color: #8fd8cf; font-weight: 700; }
.tk-intel-t { min-width: 0; flex: 1 1 auto; color: #c9d1d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-open { flex: 0 0 auto; color: #f4c463; font-weight: 600; }
.tk-open::after { content: " \2197"; }
@media (max-width: 47.99rem) { .tk-intel-t { display: none; } .tk-mid .tk-by { display: none; } .tk-stage, .tk-item.tk-off, .tk-item.tk-obs { min-height: 5.6rem; } }

/* /alerts/ reuses the carousel's list and overlay */
.al-feed.p2s-dark { background: #0b0d11; color: #e8ecef; }
.al-host { max-width: 52rem; }

/* Alert carousel prominence (founder 25 Nov 2026 09:15 §1-2): heading top-left, a larger card lit in the issuing authority's own
   colour where it publishes one (ECCC/MeteoAlarm red, orange, yellow; informational statements blue; Planet2Place conditions teal;
   otherwise a neutral official glow), controls in a right-hand column with the update time and the full-list pill beneath */
main#main .tk-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h h" "stage side"; align-items: center; gap: .55rem 1.4rem; padding-block: .9rem 1rem; }
main#main .tk-h { grid-area: h; justify-self: start; font-size: 1rem; }
main#main .tk-h-sub { font-weight: 500; color: #9fb0bf; font-size: .85rem; }
main#main .tk-stage { grid-area: stage; min-height: 6.4rem; }
main#main .tk-side { grid-area: side; display: grid; gap: .5rem; justify-items: end; }
main#main .tk-side .tk-ctl { display: flex; align-items: center; gap: .35rem; }
main#main .tk-side .tk-ctl[hidden] { display: none; }
main#main .tk-side .tk-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; margin: 0; text-align: right; }
main#main a.tk-all { display: inline-flex; align-items: center; min-height: 2.3rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(47,196,192,.6); background: linear-gradient(180deg, rgba(47,196,192,.2), rgba(47,196,192,.07)); color: #dffaf6; font-weight: 650; font-size: .85rem; text-decoration: none; box-shadow: 0 0 18px rgba(47,196,192,.2); }
main#main a.tk-all:hover { border-color: #2fc4c0; box-shadow: 0 0 24px rgba(47,196,192,.35); }
main#main .tk-stage > .tk-item { max-width: none; min-height: 6.3rem; padding: .7rem 1rem; --glow: rgba(220,228,236,.35); border-color: var(--glow); border-left-width: 4px; border-left-color: var(--edge, #dce4ec); box-shadow: 0 0 0 1px var(--glow) inset, 0 0 26px -4px var(--glow); }
main#main .tk-item[data-col="red"] { --edge: #ff5a5a; --glow: rgba(255,90,90,.5); }
main#main .tk-item[data-col="orange"] { --edge: #ff9a3c; --glow: rgba(255,154,60,.48); }
main#main .tk-item[data-col="yellow"] { --edge: #ffd23f; --glow: rgba(255,210,63,.45); }
main#main .tk-item[data-col="blue"] { --edge: #6cb6ff; --glow: rgba(108,182,255,.42); }
main#main .tk-item[data-col="teal"] { --edge: #2fc4c0; --glow: rgba(47,196,192,.42); border-style: solid; }
main#main .tk-item .tk-mid .tk-name { font-size: 1.18rem; }
main#main .tk-item .tk-top { font-size: .74rem; }
main#main .tk-item[data-col="red"] .tk-sev { color: #ff8f8f; } main#main .tk-item[data-col="orange"] .tk-sev { color: #ffb36b; } main#main .tk-item[data-col="yellow"] .tk-sev { color: #ffd966; } main#main .tk-item[data-col="blue"] .tk-sev { color: #9ccdff; } main#main .tk-item[data-col="official"] .tk-sev { color: #e8ecef; }
@media (max-width: 63.99rem) { main#main .tk-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "stage" "side"; } main#main .tk-side { justify-items: stretch; grid-template-columns: auto 1fr; align-items: center; } main#main .tk-side .tk-meta { align-items: flex-end; } }
@media (max-width: 47.99rem) { main#main .tk-side { grid-template-columns: 1fr; justify-items: start; } main#main .tk-side .tk-meta { align-items: flex-start; text-align: left; } main#main .tk-item .tk-mid .tk-name { font-size: 1.05rem; } }
/* Release 3 (founder 25 Nov 2026 09:44): place filter, lifecycle status, colour provenance */
main#main .tk-filter { display: flex; gap: .35rem; justify-content: flex-end; flex-wrap: wrap; }
main#main .tk-filter select { min-height: 2.2rem; max-width: 11rem; padding: 0 .6rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: #0b1018; color: #e8ecef; font: 600 .8rem var(--ds-sans, system-ui, sans-serif); }
main#main .tk-filter select:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; }
main#main .tk-status { margin-right: .45rem; padding: .05rem .45rem; border-radius: 4px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .66rem; background: rgba(255,255,255,.1); color: #f2f4f7; }
main#main .tk-st-critical { background: #ff5a5a; color: #1a0505; } main#main .tk-st-new { background: #f4c463; color: #1b1405; } main#main .tk-st-updated { background: #8fd8cf; color: #04181a; } main#main .tk-st-upcoming { background: rgba(108,182,255,.25); color: #cfe6ff; } main#main .tk-st-stale { background: rgba(255,255,255,.15); color: #e8ecef; }
main#main .tk-top { justify-content: flex-start; } main#main .tk-top .tk-place { margin-left: auto; }
@media (max-width: 47.99rem) { main#main .tk-filter { justify-content: flex-start; } }
/* rotating evidence (25 Nov 2026): fixed card size, gentle crossfade, no motion under reduced motion */
main#main .why-band .why-stat { transition: opacity .45s ease; min-height: 11.5rem; }
main#main .why-band .why-stat.why-fading { opacity: 0; }
main#main .why-pause { min-height: 2.2rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #e8ecef; font: 600 .8rem var(--ds-sans, system-ui, sans-serif); cursor: pointer; }
main#main .why-pause:focus-visible { outline: 3px solid #f4c463; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { main#main .why-band .why-stat { transition: none; } }
main#main .why-band .why-stat .why-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.4em); line-height: 1.4; }
main#main .why-band .why-stat .why-cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* founder-accepted:alerts-strip:begin (founder accepted 26 Nov 2026 after Release 18; changed by the founder's 28 Nov 2026 Release 22.2 homepage-flow directive; do not change without founder approval; test/alerts-founder-accepted-2026-11-26.test.js) */
/* =====================================================================================================================
   Release 22.2 (founder 28 Nov 2026, homepage flow §1): a compact, stock-ticker-like strip directly under the header and above
   the hero, about 40 px high on desktop: the "Official alerts" label, one official alert on a single line (status, the issuer's
   kind and severity, the alert's own name, place, issuer and validity), then previous / count / next / pause, the update time
   and "All alerts". Each alert opens the existing detail overlay. White "Active — Critical" label; red illumination only for
   the issuer's most severe level (data-sev 4 / red); others a quiet edge. A restrained fade between alerts, none with reduced
   motion. No change to the alert logic, wording, sources or validity times.
   ===================================================================================================================== */
html body main#main .tk.tk--strip { padding-block: 0 !important; border-top: 0; border-bottom: 1px solid rgba(241, 245, 249, .08); background: #05080E !important; }
html body main#main .tk .tk-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "h stage side"; align-items: center; gap: .25rem 1rem; min-height: 2.5rem; padding-block: .125rem; }
html body main#main .tk .tk-h { grid-area: h; margin: 0; font-size: .72rem; color: #F1F5F9; white-space: nowrap; }
html body main#main .tk .tk-stage { grid-area: stage; min-height: 0; min-width: 0; }
html body main#main .tk .tk-side { grid-area: side; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: .4rem .6rem; }
html body main#main .tk .tk-filter { display: none; }
html body main#main .tk .tk-ctl { display: flex; align-items: center; gap: .15rem; }
html body main#main .tk .tk-ctl[hidden] { display: none; }
html body main#main .tk .tk-btn { width: 2rem; height: 2rem; border-color: rgba(241, 245, 249, .16); }
html body main#main .tk .tk-btn svg { width: .9rem; height: .9rem; }
html body main#main .tk .tk-count { min-width: 2.6rem; font-size: .76rem; }
html body main#main .tk .tk-meta { display: flex; flex-direction: row; align-items: center; gap: .6rem; margin: 0; white-space: nowrap; }
html body main#main .tk a.tk-all { min-height: 2rem; padding: 0 .2rem; border: 0; background: transparent; box-shadow: none; color: #7FE6E8; font-size: .8rem; }
html body main#main .tk .tk-msg { font-size: .84rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body main#main .tk .tk-msg .tk-cov[open] { white-space: normal; }
html body main#main .tk .tk-stage > .tk-item { display: flex; flex-wrap: nowrap; align-items: center; gap: .6rem; width: 100%; min-height: 2rem; padding: 0 .6rem; border-radius: 0; border: 0 !important; border-left: 3px solid var(--edge, rgba(170, 191, 206, .35)) !important; background: transparent; box-shadow: none; overflow: hidden; white-space: nowrap; text-align: left; }
html body main#main .tk .tk-stage > .tk-item:hover .tk-name { text-decoration: underline; text-underline-offset: 3px; }
html body main#main .tk .tk-stage > .tk-item:is([data-sev="4"], [data-col="red"]) { --edge: #ff5a5a; box-shadow: inset 6px 0 18px -10px rgba(255, 90, 90, .9); }
html body main#main .tk .tk-stage > .tk-item[data-col="orange"] { --edge: #ff9a3c; }
html body main#main .tk .tk-stage > .tk-item[data-col="yellow"] { --edge: #ffd23f; }
html body main#main .tk .tk-stage > .tk-item[data-col="blue"] { --edge: #6cb6ff; }
html body main#main .tk .tk-top, html body main#main .tk .tk-mid { display: contents; }
html body main#main .tk .tk-status { flex: none; white-space: nowrap; margin-right: 0; font-size: .7rem; }
html body main#main .tk .tk-st-critical { background: color-mix(in srgb, #FF5A5A 76%, #07080A) !important; color: #fff !important; }
html body main#main .tk .tk-sev { flex: none; order: 1; white-space: nowrap; font-size: .64rem; }
html body main#main .tk .tk-name { flex: none; order: 2; font-size: .9rem; }
html body main#main .tk .tk-place { order: 3; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
html body main#main .tk .tk-mid .tk-by { order: 4; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: inline; font-size: .8rem; }
html body main#main .tk .tk-intel, html body main#main .tk .tk-stale { display: none; }
@media (prefers-reduced-motion: no-preference) { html body main#main .tk .tk-stage > .tk-item { animation: tk-in .5s ease both; } }
@keyframes tk-in { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: none; } }
@media (max-width: 63.99rem) {
  html body main#main .tk .tk-in { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "h side" "stage stage"; gap: 0 .75rem; padding-block: .3rem .4rem; }
  html body main#main .tk .tk-meta [data-tk-updated] { display: none; }
}
@media (max-width: 47.99rem) {
  /* phones (founder 28 Nov 2026): about 56 px. Row 1: the label, "All (n)" and the controls; row 2: the current alert on one
     line, its issuer's severity first (critical status kept), name truncated; a tap opens the full official notice */
  html body main#main .tk .tk-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "h meta ctl" "stage stage stage"; align-items: center; gap: 0 .5rem; min-height: 0; padding-block: .2rem .3rem; }
  html body main#main .tk .tk-side { display: contents; }
  html body main#main .tk .tk-ctl { grid-area: ctl; gap: .1rem; } html body main#main .tk .tk-meta { grid-area: meta; justify-self: end; }
  html body main#main .tk .tk-count, html body main#main .tk .tk-meta [data-tk-updated], html body main#main .tk .tk-all-l { display: none; }
  html body main#main .tk .tk-btn { width: 1.75rem; height: 1.75rem; }
  html body main#main .tk a.tk-all { min-height: 1.75rem; font-size: .76rem; }
  html body main#main .tk .tk-stage > .tk-item { min-height: 1.5rem; padding-block: 0; gap: .4rem; }
  html body main#main .tk .tk-status:not(.tk-st-critical), html body main#main .tk .tk-place { display: none; }
  html body main#main .tk .tk-stage > .tk-item { flex-wrap: wrap; row-gap: 0; }
  html body main#main .tk .tk-mid .tk-by { display: inline; flex: 1 1 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; }   /* issuer and validity stay visible on phones */
  html body main#main .tk .tk-status, html body main#main .tk .tk-sev { font-size: .56rem; }
  html body main#main .tk .tk-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; }
  html body main#main .tk .tk-msg { font-size: .78rem; white-space: nowrap; }
}
@media (min-width: 48rem) { html body main#main .tk .tk-all-s { display: none; } }
html body main#main .tk .tk-meta [data-tk-updated] { font-size: .76rem; color: #9aa3ac; }
/* founder-accepted:alerts-strip:end */
