/* The object chip (web/templates/_chip.html, csPanel.chip): a monochrome source icon (none for a NetBox object), the
   name, the object's page, and the NetBox mark at its end when it has a NetBox page (its look: cinqstack.css). One neutral pill in the theme's tokens: status never
   lives on the chip, and there are no edge accents. */
.oc { display: inline-flex; align-items: stretch; max-width: 100%; vertical-align: middle; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface-2); line-height: 1.45; font-size: 0.95em; }
.oc-main { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px 1px 7px; color: var(--title); text-decoration: none; min-width: 0; border-radius: var(--pill); }
.oc-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-ico { color: var(--muted); font-size: 0.85em; width: 1.1em; text-align: center; flex: none; }
a.oc-main:hover, a.oc-main:hover .oc-ico { color: var(--accent); }
a.oc-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.oc.sm { font-size: 0.85em; }
/* an icon-only link that sits in a row of chips as their equal (the Firewall policy endpoint's "Show on the topology"):
   the chip's own box and line height, so it is exactly as tall as the chips beside it; a muted icon, the accent on hover
   and keyboard focus, with the focus ring. Not the NetBox button (.nb-btn, 32 px with the NetBox name), which this link
   wore until the NetBox links were standardised and grew with it (Jon, 2026-11-24: "the topology icon here is too big"). */
a.oc-icon { align-items: center; padding: 1px 7px; color: var(--muted); text-decoration: none; }
a.oc-icon > i { font-size: inherit; line-height: inherit; }
a.oc-icon:hover, a.oc-icon:focus-visible { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); text-decoration: none; }
a.oc-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.oc > a.nb-mark[href] { align-self: center; margin: 0 8px 0 -3px; }                      /* the mark, last in the pill */
.sp-kind .oc, .sp-kv .oc { margin: -1px 0; }
