/* 📌 Okénko #tymdejvid na Přehledu (okenko.js, David 25. 11. 2026). Barvy jen přes proměnné hubu → tmavý režim sedí sám.
   Počítač: vpravo dole. Mobil (< 960 px): přes celou šířku s okrajem 12 px, NAD spodní lištou (ta má z-index 40). */
.mu-ok {
  position: fixed; right: 24px; bottom: 24px; z-index: 39;
  width: min(340px, calc(100vw - 48px)); box-sizing: border-box;
  padding: 10px 10px 8px; border-radius: 16px;
  background: hsl(var(--mu-card)); color: hsl(var(--mu-text));
  border: 1px solid hsl(var(--mu-border)); border-left: 4px solid hsl(142, 55%, 42%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
/* Jen na Přehledu — v ostatních sekcích okénko nepřekáží (body[data-mu-view] nastavuje _renderView) */
body:not([data-mu-view="prehled"]) .mu-ok { display: none; }
/* Otevřený vějíř „＋ Akce" (mobil) se s okénkem nepere — okénko na tu chvíli uhne */
body:has(.mu-fab-scrim.is-open) .mu-ok { display: none; }
@media print { .mu-ok { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .mu-ok { animation: mu-ok-in 0.28s ease-out; }
  @keyframes mu-ok-in { from { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 959.98px) {
  .mu-ok { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

.mu-ok__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 4px 6px; }
.mu-ok__lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: hsl(var(--mu-text-muted)); }
.mu-ok__x {
  flex: 0 0 auto; width: 32px; height: 32px; margin: -4px -2px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: hsl(var(--mu-text-muted)); font-size: 22px; line-height: 1; cursor: pointer;
}
.mu-ok__x:hover, .mu-ok__x:focus-visible { background: hsl(var(--mu-subtle)); color: hsl(var(--mu-text)); }

.mu-ok__row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; box-sizing: border-box;
  padding: 7px 8px; margin: 0; border: 0; border-radius: 12px; background: transparent;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.mu-ok__row + .mu-ok__row { border-top: 1px solid hsl(var(--mu-border)); border-radius: 0 0 12px 12px; }
.mu-ok__row:hover, .mu-ok__row:focus-visible { background: hsl(var(--mu-subtle)); }
.mu-ok__ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: hsl(var(--mu-accent-soft)); font-size: 1.05rem; }
.mu-ok__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mu-ok__txt b { font-size: 0.9rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-ok__txt small { font-size: 0.8rem; font-weight: 600; color: hsl(var(--mu-text-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-ok__txt small.is-ok, .mu-ok__txt small.is-go { color: hsl(var(--mu-accent-text)); font-weight: 700; }
.mu-ok__chev { flex: 0 0 auto; font-size: 1.3rem; line-height: 1; color: hsl(var(--mu-text-muted)); }

.mu-ok__foot { display: flex; justify-content: flex-end; gap: 4px; margin-top: 4px; padding-top: 4px; border-top: 1px dashed hsl(var(--mu-border)); }
.mu-ok__foot button {
  min-height: 36px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 0.78rem; font-weight: 700; color: hsl(var(--mu-text-muted)); cursor: pointer; white-space: nowrap;
}
.mu-ok__foot button:hover, .mu-ok__foot button:focus-visible { background: hsl(var(--mu-subtle)); color: hsl(var(--mu-text)); }
@media (max-width: 359.98px) { .mu-ok__foot button { padding: 6px 7px; font-size: 0.74rem; } }
