/* Outbreaks and cleaning (js/ui-outbreak.js): the warning on Leadership, the cleaning list, notices. */
@layer views {
  .obwarn { box-shadow: inset 5px 0 0 var(--amber, #c98a00); background: #fffaf0; }
  .obwarn.high { box-shadow: inset 5px 0 0 var(--red); background: var(--redbg, #fdf0f2); }
  .obwarn .obhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 4px; }
  .obwarn .obhead b { font-size: 17px; }
  .obwarn .obbtns { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .obdone { color: var(--green, #2e7d4f); font-weight: 600; font-size: 14px; }

  .obclean { padding: 0; overflow: hidden; }
  .obwarn + .obclean, .obwarn + .obwarn { margin-top: 12px; }
  .obclean-h { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto 16px; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 12px 18px; }
  .obclean-h:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
  .obclean-h > span:first-child { display: grid; }
  .obclean-h i { font-style: normal; color: var(--muted); }
  .obclean .obraised { color: var(--red); font-weight: 600; }
  .obcount { font-weight: 600; white-space: nowrap; }
  .obcount.ok { color: var(--green, #2e7d4f); }
  .obtasks { list-style: none; margin: 0; padding: 0 18px 10px; }
  .obtasks li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--line); padding: 6px 0; }
  .obtasks li.ok > span:first-child { color: var(--muted); }
  .obtick { display: flex; gap: 6px; align-items: center; }
  .obtick [data-act=obTick] { min-width: 150px; }
  .msec.obclean { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-top: 14px; }
  .msec.obclean .obclean-h { padding: 12px 14px; }
  .msec.obclean .obtasks { padding: 0 14px 8px; }

  .guardian .obnotice { margin-bottom: 12px; border-left-color: var(--amber, #c98a00); background: #fffaf0; }
  .obnotice .obnh { display: grid; gap: 2px; margin: 0 0 6px; }
  .obnotice .obnh small { color: var(--muted); }
  .obnotice .obntext { margin: 0; white-space: pre-line; }

  .oblist { list-style: none; margin: 6px 0 10px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
  .oblist li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px; border-top: 1px solid var(--line); }
  .oblist li:first-child { border-top: 0; }
  .oblist li > span { display: grid; }
  .obline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: var(--red); font-weight: 600; }
  .obnew { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; }
  .obform textarea { width: 100%; font: inherit; }
}
@media (max-width: 620px) {
  .obnew { grid-template-columns: 1fr 1fr; }
  .obnew input { grid-column: 1 / -1; }
  .obnew button { grid-column: 1 / -1; }
  .obtick [data-act=obTick] { min-width: 124px; padding-inline: 10px; }
}
