/* 2026-11-26 v3.0.0 Media & public opinion — Live feed; Sources, keywords & settings (feed.js). The dashboard's tokens: light and dark follow. */
.mw-h { font-size: 20px; margin: 0; }
.mwf-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.mwf-head h3 { margin: 0; }
.mwf-tiles { margin: 6px 0 10px; }
.mwf-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 6px 0; }
.mwf-filters .f { min-width: 130px; }
.mwf-filters input[type=search] { min-width: 200px; }
.mwf-clear { align-self: flex-end; }
.mwf-moref > summary { cursor: pointer; color: var(--ink-2); font-size: 13px; font-weight: 600; margin: 4px 0; }
.mwf-new { display: block; width: 100%; margin: 0 0 10px; padding: 10px; border: 0; border-radius: 10px; background: #1570ef; color: #fff; font: inherit; font-weight: 700; cursor: pointer; position: sticky; top: 64px; z-index: 600; }
.mwf-wrap { margin: 0 0 12px; }
.mwf-wrap .mw-item { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mwf-act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: var(--surface); }
.mwf-act .btn { padding: 5px 10px; font-size: 13px; }
.mwf-story { font-weight: 700; }
.mwf-link { border-color: transparent; background: none; text-decoration: underline; padding-left: 4px; padding-right: 4px; }
.mwf-no { color: #b42318; }
.mwf-why { flex: 1 1 260px; }
.mwf-more { text-align: center; margin: 14px 0; }
.mwf-end { text-align: center; margin: 14px 0; }
.mwf-form { display: flex; flex-direction: column; gap: 10px; }
.mwf-form textarea, .mws-grid textarea, .card textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; width: 100%; box-sizing: border-box; }
.mwf-form input:not([type=checkbox]) { width: 100%; box-sizing: border-box; }
.mwf-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mwf-row > .f { flex: 1 1 180px; }
.mwf-why-box p { margin: 6px 0; line-height: 1.45; }
.mwf-ul { margin: 4px 0 8px 18px; padding: 0; line-height: 1.5; }
.mwf-misbox { border-left: 4px solid #d92d20; background: #fef3f2; color: #7a271a; padding: 8px 10px; border-radius: 6px; }
.tile.mwf-bad .v.bad { color: #d92d20; }
/* Sources, keywords & settings */
.mws-tabs { margin-top: 6px; width: fit-content; }
.mws-note { margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid #1570ef; border-radius: 10px; background: var(--card); }
.card .note { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.mws-bad { border-left: 4px solid #d92d20; }
.mws-table td { vertical-align: top; }
.mws-url { word-break: break-all; max-width: 420px; }
.mws-health { max-width: 420px; }
tr.mws-stopped td { background: #fef3f2; }
tr.mws-offrow td { opacity: .55; }
.mws-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.mws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; }
.mws-grid .f .sub { font-size: 11.5px; }
.mws-add { margin-top: 12px; align-items: flex-end; }
.mwt-out { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.mwt-out.yes { border-left: 4px solid #12b76a; }
.mwt-out.no { border-left: 4px solid #98a2b3; }
.mwt-big { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) tr.mws-stopped td { background: #3a1513; }
  :root:not([data-theme="light"]) .mwf-misbox { background: #3a1513; color: #fecdca; }
}
:root[data-theme="dark"] tr.mws-stopped td { background: #3a1513; }
:root[data-theme="dark"] .mwf-misbox { background: #3a1513; color: #fecdca; }
@media (max-width: 640px) {
  .mwf-filters .f { min-width: 0; flex: 1 1 140px; }
  .mwf-filters input[type=search] { min-width: 0; }
  .mwf-act .btn { font-size: 12.5px; }
  .mws-url, .mws-health { max-width: none; }
}
/* 2026-11-27 review — the red bar (F2), the folding filters and the More menu (F1), Sources as cards on a phone and wrapping tabs (Y2) */
.mwf-alarm { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #d92d20; color: #fff; }
.mwf-alarm .btn { background: #fff; color: #b42318; border-color: #fff; font-weight: 700; }
.mwf-alarm[hidden] { display: none; }
.mwf-fold > summary { cursor: pointer; font-weight: 700; list-style: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; width: fit-content; }
.mwf-fold > summary::-webkit-details-marker { display: none; }
.mwf-fold > summary::after { content: ' ▾'; }
.mwf-fold[open] > summary::after { content: ' ▴'; }
@media (min-width: 641px) { .mwf-fold > summary { display: none; } }
.mwf-menu { position: relative; display: inline-block; }
.mwf-menu > summary { list-style: none; cursor: pointer; }
.mwf-menu > summary::-webkit-details-marker { display: none; }
.mwf-menu-box { position: absolute; z-index: 700; right: 0; top: calc(100% + 4px); display: flex; flex-direction: column; gap: 6px; padding: 8px; min-width: 210px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 8px 24px rgba(16, 24, 40, .18); }
.mwf-menu-box .btn { text-align: left; }
.mws-tabs { display: flex; flex-wrap: wrap; max-width: 100%; }
.mws-slow { margin-top: 4px; font-size: 12.5px; color: #b54708; }
tr.mws-managed td { opacity: .8; }
.mws-num { width: 90px; }
tr.mws-on td { font-weight: 700; }
.mws-ret td { vertical-align: top; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mws-slow { color: #fec84b; } }
:root[data-theme="dark"] .mws-slow { color: #fec84b; }
@media (max-width: 640px) {
  .mws-cards table, .mws-cards tbody, .mws-cards tr, .mws-cards td { display: block; width: 100%; box-sizing: border-box; }
  .mws-cards thead { display: none; }
  .mws-cards tr { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; padding: 8px 10px; background: var(--card); }
  .mws-cards td { border: 0; padding: 3px 0; }
  .mws-cards td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
  .mws-cards .nowrap { white-space: normal; }
  .mws-btns .btn { margin: 4px 4px 0 0; }
  .mwf-menu-box { right: auto; left: 0; }
}
/* robust stage 12A: readable in the dark */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mwf-no { color: #fda29b; } }
:root[data-theme="dark"] .mwf-no { color: #fda29b; }
