/* pages.css — companion to pages.js (lazy page loading). Loaded eagerly at the position the lazy page
   stylesheets used to occupy, so the cascade is unchanged.
   1) Loading / load-failure state of a lazy page before its own CSS exists (same look as widget-empty.css). */
.prism-lazy-state{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:84px;margin:12px 0 0;padding:24px 16px;border:0;border-radius:6px;background:var(--soft);color:var(--text);font:400 12px/1.5 Inter,Arial,sans-serif;letter-spacing:normal}
.prism-lazy-state button{min-height:28px;padding:4px 10px;border:1px solid var(--border);border-radius:5px;background:var(--surface);color:var(--text);font:500 12px/1 Inter,Arial,sans-serif;cursor:pointer}
.prism-lazy-state button:hover{background:var(--hover);color:var(--accent-text)}
/* 2) Unscoped rules that page stylesheets have always applied to EVERY page while all pages loaded eagerly.
   Copied verbatim so the look of other pages does not depend on which lazy page was opened first.
   Sources: power/transport/agri/weather/geopolitics.css (.positive/.negative), indices.css (.skeleton,
   small.stale), geopolitics.css (.hw-rank a b), documents-hub.css (.dh-more, reused by Top movers).
   The originals stay in those files. */
.dh-more{height:26px;padding:0 9px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font:500 11px Inter,Arial,sans-serif;cursor:pointer}
.dh-more:hover{background:var(--hover);color:var(--accent-text)}
.dh-more{margin:6px 0 8px}
@media(max-width:760px){.dh-more{height:32px}}
.positive{color:var(--pv-pos,#0a7f45)}.negative{color:var(--pv-neg,#c0392b)}
.skeleton{min-height:150px;display:flex;align-items:center;justify-content:center}
small.stale{color:var(--muted);opacity:.8}
.hw-rank a b{margin-left:auto}
/* See-all-themes pop-up: one flat list (2026-10-09) */
#theme-grid .theme-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 18px}
#theme-grid .theme-list button{min-height:32px;padding:4px 6px;border-radius:6px;font-size:13px}
#theme-grid .theme-list button:hover{background:var(--hover)}
#theme-grid .theme-list .icon{width:16px;height:16px;flex:none}
#theme-grid .theme-compare{grid-column:1/-1;margin-top:6px;color:var(--accent-text)!important;font-weight:500}
@media(max-width:860px){#theme-grid .theme-list{grid-template-columns:1fr 1fr}}@media(max-width:520px){#theme-grid .theme-list{grid-template-columns:1fr}}
