/* STRUCTURES CLOSE UP ON THE TV (public/structure-focus.js; Lee, 20 Oct 2026: "i can click and show clients in
   high res each structure"): the studio's preview of the summary only. A row under each pathway, in the "along"
   row's own indent, of small outline buttons, one per structure. A button's state (data-state: sent, shown,
   refused, unsent) changes its colours only — the same border width, padding, weight and words in every state —
   so nothing on the page moves when the TV answers (Lee's rule). Shared rules only: no per-element custom
   property (WebKit keeps memory for each). */
.ni-idx-path-zoom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
  flex-basis: 100%;
  margin: 5px 0 0 12px; padding-left: 10px; border-left: 2px dotted var(--border);
}
.ni-idx-group > .ni-idx-path-zoom { margin-top: 8px; }
.ni-zoom-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font: 500 11.5px/1 var(--font);
  color: var(--brand-text);
  background: #fff;
  border: 1px solid var(--brand-pale);
  border-radius: 999px;
  padding: 5px 9px;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
/* a small screen, drawn by the button's own border colour */
.ni-zoom-btn::before {
  content: ""; width: 8px; height: 6px; flex-shrink: 0;
  border: 1.5px solid currentColor; border-radius: 1.5px;
}
.ni-zoom-btn:hover { border-color: var(--brand); background: var(--brand-light); }
.ni-zoom-btn:focus-visible { box-shadow: 0 0 0 3px var(--brand-pale); border-color: var(--brand); }
.ni-zoom-btn[data-state="sent"] { border-color: var(--brand); background: var(--brand-light); }
.ni-zoom-btn[data-state="shown"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ni-zoom-btn[data-state="refused"] { opacity: .45; cursor: default; border-style: dashed; }
.ni-zoom-btn[data-state="refused"]:hover { background: #fff; border-color: var(--brand-pale); }
.ni-zoom-btn[data-state="unsent"] { border-color: #b3261e; color: #b3261e; }
@media (max-width: 640px) {
  .ni-zoom-btn { min-height: 36px; padding: 8px 11px; }
}
