/* 2026-11-26 v3.0.0 Media & public opinion — Stories & responses, Alerts, Staff field reports (stories.js). The dashboard's own tokens: light and dark follow. */
.mw2-red { color: var(--crit); }
.mw2-warn { background: var(--amber-bg, #fef0c7); color: var(--ink); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.mw2-redn { background: var(--red-bg); color: var(--red); font-weight: 600; border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.mw2-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-bottom: 12px; }
.mw2-filters .mw2-grow, .mw2-grow { flex: 1 1 200px; }
.mw2-table tr.mw2-row { cursor: pointer; }
.mw2-table tr.mw2-row:hover td { background: var(--page); }
.mw2-table tr.mw2-row:focus-visible { outline: 2px solid var(--accent, #14a38b); outline-offset: -2px; }
.mw2-table tr.mw2-sub td { border-top: 0; padding-top: 0; }
.mw2-table tr.mw2-late td:first-child { box-shadow: inset 3px 0 0 var(--crit); }
.mw2-head h2 { margin: 6px 0 6px; font-size: 21px; }
.mw2-ref { margin-top: 10px; font-weight: 700; color: var(--ink-2); }
.mw2-tags { margin: 4px 0 8px; }
.mw2-next { margin: 10px 0; padding: 8px 12px; border-radius: 10px; background: var(--page); }
.mw2-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; }
.mw2-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 16px; align-items: start; }
@media (max-width: 1100px) { .mw2-cols { grid-template-columns: minmax(0, 1fr); } }
.mw2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; margin: 8px 0; }
.mw2-grid .mw2-wide { grid-column: span 2; }
@media (max-width: 560px) { .mw2-grid .mw2-wide { grid-column: auto; } }
.mw2-form { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; background: var(--surface); }
.mw2-form textarea, .mw2-form input, .mw2-form select, .mw2-pt textarea, .mw2-row2 input { font: inherit; width: 100%; box-sizing: border-box; }
.mw2-form .check input { width: auto; }
.mw2-row2 { display: flex; gap: 8px; }
.mw2-row2 input { flex: 1; }
.mw2-checks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0; color: var(--ink); font-size: 14px; }
.mw2-pts { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.mw2-pt { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: start; }
.mw2-pt > span { font-weight: 700; padding-top: 6px; }
.mw2-reb { border-left: 3px solid var(--line); padding: 4px 10px; margin: 8px 0; }
.mw2-refs { margin: 6px 0; padding-left: 20px; }
.mw2-refs li { margin: 3px 0; }
.mw2-iacts { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 12px; }
.mw2-log > div { padding: 5px 0; border-bottom: 1px solid var(--line); }
.mw2-log > div:last-child { border-bottom: 0; }
.mw2-al { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.mw2-al.open { border-color: var(--crit); background: var(--red-bg); }
.mw2-off td { opacity: .6; }
.mw2-esc select { min-width: 130px; }
/* growth: one series (items per hour / day), one hue; the grid and axis recessive */
.mw2-sparkw { display: inline-block; max-width: 100%; min-width: min(100%, 320px); }
.mw2-spark { max-width: 100%; height: 92px; display: block; }
.mw2-bar { fill: var(--s1); }
.mw2-hit { fill: transparent; }
.mw2-hit:hover + .mw2-bar, .mw2-bar:hover { fill: var(--s7); }
.mw2-axis { stroke: var(--axis); stroke-width: 1; }
.mw2-axisl { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mw2-copy { width: 100%; box-sizing: border-box; font: inherit; }
#mwStories a, #mwAlerts a, #mwField a { color: var(--s1); }
/* 2026-11-27 review (user-friendliness): the phone (stories, recipients, order and field reports as cards below 640 px), the folded parts,
   the reference never broken, the red banner when SMS / e-mail fail, the glossary. The story page's order on a phone is set by stories.js. */
.mw2-table td:first-child, .mw2-table th:first-child { white-space: nowrap; }
.mw2-cards { display: none; }
@media (max-width: 640px) { .mw2-desk { display: none; } .mw2-cards { display: flex; flex-direction: column; gap: 8px; } }
.mw2-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.mw2-card[role=button] { cursor: pointer; }
.mw2-card[role=button]:focus-visible { outline: 2px solid var(--accent, #14a38b); outline-offset: 1px; }
.mw2-card.mw2-late { box-shadow: inset 3px 0 0 var(--crit); }
.mw2-card.mw2-off { opacity: .6; }
.mw2-card .f { display: block; margin-top: 6px; }
.mw2-card select { width: 100%; }
.mw2-c1 { line-height: 1.35; margin-bottom: 3px; }
.mw2-c1 .mw-tag { vertical-align: 1px; }
.mw2-c3 { margin-top: 4px; }
.mw2-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden; margin-top: 4px; }
.mw2-sees { margin: 8px 0 0; }
.mw2-gloss { margin-top: 8px; font-size: 14px; }
.mw2-gloss summary, .mw2-fold > summary { cursor: pointer; }
.mw2-gloss dl { margin: 8px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.mw2-gloss dt { font-weight: 700; }
.mw2-gloss dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .mw2-gloss dl { grid-template-columns: 1fr; } .mw2-gloss dd { margin-bottom: 6px; } }
.mw2-fold > summary { list-style-position: inside; }
.mw2-fold[open] > summary { margin-bottom: 8px; }
.mw2-one { display: flex; flex-direction: column; }
.mw2-cap { margin: 6px 0 2px; }
.mw2-ok { background: var(--green-bg); color: var(--ink); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }
.mw2-fail { background: var(--red-bg); color: var(--red); border: 1px solid var(--red); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; }
.mw2-list .mw2-al { margin: 6px 0; }
.mw2-filters .check { align-self: center; }
#mwAlerts button[disabled] { cursor: not-allowed; }
/* 2026-11-27 review: the menu (core/sidemenu.js draws it; core/menu.css styles it on this page): no FC / LC tag on the media lines; the
   media alert bell at the top of the menu, red when a critical alert waits */
#tabs .mg-mw .st, #tabs .mg-pub .st { display: none; }
#tabs .mwbell { margin: 0 0 8px; border: 1px solid var(--line) !important; background: var(--surface) !important; }
#tabs .mwbell.hot { border-color: var(--crit) !important; background: var(--red-bg) !important; color: var(--red) !important; font-weight: 700; }
#tabs .mwbell .navbadge:not([hidden]) { margin-left: auto; }
