/* Návrh 52 (Peter 8. 11.): Menej textu — one icon button with a hint, a quiet status, a mark without a click.
   ARCHITEKTURA.md "Menej textu"; the bubble is #kedy47 of portal.js (návrh 47). */
.sprite52 { display: none; }
.iconbtn.ib52 { width: 32px; padding: 0; justify-content: center; gap: 0; flex: none; }
.iconbtn.ib52.sm { width: 26px; height: 26px; padding: 0; }
.iconbtn.ib52 .ic52, .ib52m .ic52 { width: 15px; height: 15px; }
.iconbtn.ib52:focus-visible, [data-ib-mark]:focus-visible, .st52:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ib52 .ibn, [data-ib-mark] .ibn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-ib-mark] { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--faint); flex: none; border-radius: 4px; }
[data-ib-mark] .ic52 { width: 15px; height: 15px; }
/* a quiet status: a dot, never the shape of a button (no frame, no fill under a word) */
.st52 { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.st52.warn { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-bg); }
.st52.bad { background: var(--bad); box-shadow: 0 0 0 3px rgba(240, 120, 120, .14); }
/* a screen without a mouse (touch): the name stands beside the icon, the bubble stays away */
@media (hover: none) {
  .iconbtn.ib52 { width: auto; padding: 0 10px; gap: 6px; }
  .iconbtn.ib52.sm { width: auto; padding: 0 8px; }
  .ib52 .ibn, [data-ib-mark] .ibn { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 12px; font-weight: 600; }
  [data-ib-mark] { width: auto; display: inline-flex; gap: 4px; }
  .st13t .wb13.ib52 .ibn { display: inline; }  /* Codex 9. 11.: a narrow strip hides the words of wb13, never the name */
  /* the quiet status says its word beside the dot */
  .st52[aria-label] { width: auto; height: auto; background: none; box-shadow: none; position: relative; padding-left: 14px; font-size: 12px; font-weight: 600; color: var(--ok); }
  .st52[aria-label]::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ok); }
  .st52.warn[aria-label] { color: var(--warn); } .st52.warn[aria-label]::before { background: var(--warn); }
  .st52.bad[aria-label] { color: var(--bad); } .st52.bad[aria-label]::before { background: var(--bad); }
  .st52[aria-label]::after { content: attr(aria-label); }
}
/* a chevron inside a summary (Model dostane ›): points down when open, right when closed */
.sc23 .ic52 { width: 14px; height: 14px; transition: transform .12s; transform: rotate(-90deg); }
[aria-expanded="true"] > .sh23 .sc23 .ic52, .sum23.open .sc23 .ic52 { transform: none; }
