/* Hvergelmir web UI, following the Onsync IT design guide (Bubble, 2025):
   Stabil blå #041333, white and Netværk tyrkis #05d2ae (an accent, used sparingly), Poppins throughout,
   plenty of air, a grid of squares, large rounded corners and thin turquoise lines with round ends.
   Turquoise is decoration and emphasis, never body text on white (too little contrast). */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/static/fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/static/fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/static/fonts/poppins-bold.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --blue: #041333;
  --turq: #05d2ae;
  --bg: #ffffff;
  --text: #041333;
  --muted: #566075;
  --line: #e1e5ec;
  --panel: #f3f5f8;
  --grid: rgba(255, 255, 255, .9);
  --link: #041333;
  --accent: #05d2ae;
  --ok: #047a66;
  --danger: #c62f3b;
  --danger-tint: #c62f3b14;
  --accent-tint: #05d2ae1f;
  --primary-bg: #041333;
  --primary-text: #ffffff;
  --primary-hover-bg: #05d2ae;
  --primary-hover-text: #041333;
  --field-bg: #ffffff;
  --field-line: #b9c1cf;
  --header-bg: #041333;
  --header-text: #ffffff;
  --radius: 14px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #041333;
    --text: #ffffff;
    --muted: #a9b3c7;
    --line: rgba(255, 255, 255, .16);
    --panel: #0b2048;
    --grid: rgba(255, 255, 255, .05);
    --link: #05d2ae;
    --ok: #05d2ae;
    --danger: #ff7a84;
    --danger-tint: #ff7a8426;
    --accent-tint: #05d2ae26;
    --primary-bg: #05d2ae;
    --primary-text: #041333;
    --primary-hover-bg: #ffffff;
    --primary-hover-text: #041333;
    --field-bg: #071a40;
    --field-line: rgba(255, 255, 255, .3);
    --header-bg: #041333;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text);
  background: var(--bg); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--link); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem 1rem; z-index: 10; }

/* ---- header */
.site-header { background: var(--header-bg); color: var(--header-text); border-bottom: 3px solid var(--turq); }
.site-header .inner { max-width: 80rem; margin: 0 auto; padding: .9rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 2.35rem; width: auto; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .1rem 1.05rem; flex: 1; align-items: center; }
.site-header nav a, .site-header .account a { color: #fff; text-decoration: none; font-size: .86rem; font-weight: 400; padding: .35rem 0; position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--turq); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header nav a[aria-current="page"] { font-weight: 500; }
.site-header .spacer { flex: 1; }
.site-header .account { display: flex; align-items: center; gap: .9rem; }
.site-header button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.site-header button:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ---- page */
main { flex: 1; width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem 3rem; position: relative; z-index: 0; display: flex; flex-direction: column; }
main > * { flex: none; max-width: 100%; }
/* the title sits on the grid of squares, with a large rounded cut-out like the identity's layouts */
main > h1:first-of-type {
  order: -1; position: relative; margin: 0 0 2rem; padding: 3rem 0 2.5rem; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em;
}
main > h1:first-of-type::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  background-color: var(--panel);
  background-image: linear-gradient(var(--grid) 7px, transparent 7px), linear-gradient(90deg, var(--grid) 7px, transparent 7px);
  background-size: 56px 56px; background-position: -3px -3px;
  border-bottom-right-radius: clamp(40px, 8vw, 110px);
}
h2 { font-size: 1.35rem; font-weight: 500; margin: 2.6rem 0 .8rem; letter-spacing: -.01em; }
h2::before { content: ""; display: block; width: 2.4rem; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: .7rem; }
h3 { font-size: 1.05rem; font-weight: 500; margin: 1.6rem 0 .5rem; }
h1 small, h2 small, h3 small { font-weight: 400; }
p { margin: .6rem 0; }
strong, th { font-weight: 700; }
small, .muted { color: var(--muted); }
code { font-size: .88em; background: var(--panel); padding: .1em .4em; border-radius: 6px; }

/* ---- tables */
.table-scroll { overflow-x: auto; margin: .6rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9rem; }
th { background: var(--panel); text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
th, td { padding: .7rem .95rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td, table tr:hover > td { background: var(--accent-tint); }
td form.inline { margin-right: .2rem; }
.up, .down { font-weight: 500; white-space: nowrap; }
.up { color: var(--ok); } .down { color: var(--danger); }
.up::before, .down::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .45rem; background: currentColor; vertical-align: .05em; }
.up::before { background: var(--turq); }

/* ---- device badges: vendor logo and device-type icon */
.device-cell { white-space: nowrap; }
.dev-badge { display: inline-flex; align-items: center; gap: .35rem; margin-right: .65rem; vertical-align: middle; }
.dev-badge img { display: block; }
.dev-badge img.vendor { height: 1.5rem; width: 2.6rem; object-fit: contain; object-position: left center; opacity: .88; }
.dev-badge img.kind { height: 1.45rem; width: 1.45rem; }
.dev-badge.lg { gap: .7rem; margin-right: 1.1rem; }
.dev-badge.lg img.vendor { height: 2.5rem; width: 4.6rem; } .dev-badge.lg img.kind { height: 2.5rem; width: 2.5rem; }
h1.with-badge { display: flex; align-items: center; }
@media (prefers-color-scheme: dark) { .dev-badge img { filter: brightness(0) invert(1); } }

/* ---- buttons */
button {
  font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; padding: .42rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--text); background: transparent; color: var(--text); transition: background .15s, color .15s, border-color .15s;
}
button:hover { background: var(--text); color: var(--bg); }
button.primary { background: var(--primary-bg); color: var(--primary-text); border-color: var(--primary-bg); padding: .6rem 1.5rem; font-size: .92rem; }
button.primary:hover { background: var(--primary-hover-bg); color: var(--primary-hover-text); border-color: var(--primary-hover-bg); }
button.danger { color: var(--danger); border-color: var(--danger); }
button.danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
button[disabled] { opacity: .45; cursor: not-allowed; }
td button { padding: .22rem .8rem; font-size: .78rem; }
form.inline { display: inline; }

/* ---- forms */
form.stack { background: var(--panel); border-radius: 24px; padding: 1.6rem 1.9rem 1.4rem; max-width: 34rem; margin: .8rem 0 1.5rem; }
form.stack label { display: block; margin: 1rem 0 .3rem; font-weight: 500; font-size: .88rem; }
form.stack label:first-of-type { margin-top: 0; }
form.stack label small { font-weight: 400; }
form.stack label:has(input[type=checkbox]) { display: flex; align-items: center; gap: .55rem; font-weight: 400; }
input[type=text], input[type=password], select {
  width: 100%; font: inherit; font-size: .92rem; padding: .55rem .8rem; color: var(--text); background: var(--field-bg);
  border: 1.5px solid var(--field-line); border-radius: 12px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), 0 0 0 1.5px var(--accent); }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; accent-color: var(--turq); }
td input[type=password] { width: 12rem; padding: .3rem .6rem; font-size: .8rem; }
form.stack p { margin: 1.3rem 0 0; }
form.stack small { display: block; margin-top: .4rem; }

/* ---- messages */
.banner { border-radius: var(--radius); padding: .8rem 1.1rem .8rem 1.3rem; margin: 1.2rem 0; border-left: 5px solid var(--accent); background: var(--accent-tint); position: relative; }
.banner.error { border-left-color: var(--danger); background: var(--danger-tint); }
.banner.warn { border: 1.5px solid var(--accent); border-left-width: 5px; background: var(--panel); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.banner.warn form { margin: 0; }

/* ---- footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.site-footer .inner { max-width: 80rem; margin: 0 auto; padding: 1.3rem 1.5rem; display: flex; align-items: center; gap: 1.2rem; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.site-footer .rule { flex: 0 0 6rem; height: 3px; border-radius: 3px; background: var(--accent); }
.site-footer .by { opacity: .85; }
.site-footer .mark { width: 1.5rem; height: 1.7rem; color: var(--text); margin-left: auto; }
.site-footer a { color: inherit; text-decoration-color: var(--accent); }

/* ---- sign-in: the identity's own composition, a dark field with the tagline running along the bottom */
body.login { background: var(--blue); color: #fff; padding: 0; }
body.login .login-shell { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; padding: 2.2rem clamp(1.5rem, 5vw, 4.5rem); }
body.login .brand img { height: clamp(2.8rem, 5vw, 4rem); }
body.login .card { align-self: center; background: #fff; color: var(--blue); border-radius: 28px; padding: 2.2rem 2.4rem; width: min(100%, 27rem); }
body.login .card h1 { margin: 0 0 1.2rem; font-size: 1.7rem; font-weight: 500; padding: 0; }
body.login .card h1::before { display: none; }
body.login .card form.stack { background: transparent; padding: 0; margin: 0; max-width: none; }
body.login .card input { --field-bg: #fff; --text: var(--blue); --field-line: #b9c1cf; color: var(--blue); }
body.login .card button.primary { --primary-bg: var(--blue); --primary-text: #fff; --primary-hover-bg: var(--turq); --primary-hover-text: var(--blue); width: 100%; }
body.login .card .banner { color: var(--blue); }
body.login .tagline { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); font-size: clamp(1.25rem, 2.9vw, 2.2rem); font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
body.login .tagline .rule { flex: 1; min-width: 2rem; height: 3px; border-radius: 3px; background: var(--turq); }
body.login .tagline .by { font-size: .95rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 40rem) { body.login .tagline { flex-direction: column; align-items: flex-start; white-space: normal; gap: .7rem; } body.login .tagline .rule { flex: none; width: 6rem; } }

/* ---- topology */
/* topology nodes are the devices themselves: the vendor's logo (or the type icon where there is none) and the name below */
.tn { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 8px; }
.tn img.node-logo { display: block; width: 68px; height: 42px; object-fit: contain; }
.tn img.node-kind { display: block; width: 44px; height: 44px; }
.tn-name { font-weight: 500; font-size: 14px; line-height: 1.2; color: var(--text) !important; }
@media (prefers-color-scheme: dark) { .tn img { filter: brightness(0) invert(1); } }
pre.mermaid .node.dev .nodeLabel, pre.mermaid .node.dev .nodeLabel p, pre.mermaid .node.dev .nodeLabel span { color: var(--text) !important; background: transparent !important; }
pre.mermaid { background: var(--panel); border-radius: 24px; padding: 1.5rem; overflow-x: auto; text-align: center; }

@media (max-width: 42rem) {
  .site-header .inner { padding: .8rem 1rem; } main { padding: 0 1rem 2.5rem; }
  .brand img { height: 2rem; }
  .site-header .spacer { display: none; }
  .site-header .account { order: 2; margin-left: auto; }
  .site-header nav { order: 3; flex: none; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0 1.1rem; padding: .3rem 0 .5rem; scrollbar-width: thin; }
  .site-header nav a { white-space: nowrap; }
  th, td { padding: .6rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Mermaid draws its own labels; make edge labels readable in both colour schemes. */
pre.mermaid .edgeLabel, pre.mermaid .edgeLabel *, pre.mermaid .labelBkg { color: var(--text) !important; background: var(--panel) !important; fill: var(--text) !important; font-size: .8rem; }
pre.mermaid .edgeLabel rect { fill: var(--panel) !important; opacity: 1 !important; }

/* ---- IPAM */
.mono, code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
a.mono { font-size: .9rem; }
.subtabs { display: flex; flex-wrap: wrap; gap: .3rem .4rem; align-items: center; margin: 1.2rem 0 1.4rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.subtabs a { padding: .4rem 1rem; border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--text); border: 1.5px solid transparent; }
.subtabs a:hover { border-color: var(--accent); }
.subtabs a[aria-current="page"] { background: var(--primary-bg); color: var(--primary-text); font-weight: 500; }
.subtabs .find { margin-left: auto; display: flex; gap: .4rem; }
.subtabs .find input { width: 15rem; max-width: 100%; padding: .4rem .8rem; border-radius: 999px; }
.toolbar { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: flex-end; margin: 0 0 .8rem; padding: 1rem 1.2rem; border-radius: 20px; background: var(--panel); }
.toolbar label { display: flex; flex-direction: column; gap: .25rem; font-weight: 500; font-size: .8rem; }
.toolbar label.grow { flex: 1 1 14rem; }
.toolbar input[type=search], .toolbar select { font: inherit; font-size: .9rem; padding: .45rem .8rem; color: var(--text); background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: 12px; min-width: 9rem; width: 100%; }
.toolbar select { appearance: auto; }
.toolbar button { align-self: flex-end; }
input[type=search] { font: inherit; color: var(--text); background: var(--field-bg); border: 1.5px solid var(--field-line); }
.chips { margin: .2rem 0 .8rem; font-size: .85rem; color: var(--muted); }
.chip-x { display: inline-block; margin: .1rem .3rem .1rem 0; padding: .1rem .7rem; border-radius: 999px; background: var(--accent-tint); color: var(--text); text-decoration: none; font-size: .8rem; }
.chip-x:hover { background: var(--accent); color: var(--blue); }
.chip-x.plain { padding: .2rem .8rem; }
.bar-row { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin: 1rem 0 .6rem; }
.bar-row .count { margin: 0; font-weight: 500; }
.bar-row button { padding: .25rem .9rem; font-size: .8rem; }
.seg { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg a { padding: .25rem .9rem; font-size: .82rem; text-decoration: none; color: var(--text); }
.seg a[aria-current="true"] { background: var(--primary-bg); color: var(--primary-text); font-weight: 500; }
.seg a:hover:not([aria-current]) { background: var(--accent-tint); }
.seg-label { padding: .25rem .2rem .25rem .9rem; font-size: .75rem; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.tile { display: flex; flex-direction: column; gap: .1rem; padding: 1rem 1.2rem; border-radius: 20px; background: var(--panel); text-decoration: none; color: var(--text); border: 1px solid transparent; }
.tile strong { font-size: 2rem; font-weight: 500; line-height: 1.1; }
.tile span { font-size: .8rem; color: var(--muted); }
.tile:hover { border-color: var(--accent); }
.attention { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .5rem; }
.attention li { padding: .7rem 1.1rem; border-radius: var(--radius); background: var(--danger-tint); border-left: 5px solid var(--danger); }
.attention a { color: var(--text); }
.ok-note { padding: .7rem 1.1rem; border-radius: var(--radius); background: var(--accent-tint); border-left: 5px solid var(--accent); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: .6rem 0; }
.card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.2rem; border-radius: 20px; background: var(--panel); text-decoration: none; color: var(--text); border: 1px solid transparent; }
.card:hover { border-color: var(--accent); }
.card strong { font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; }
.card .muted { font-size: .8rem; }
.card-stats { display: flex; gap: 1.2rem; margin-top: .4rem; font-size: .82rem; color: var(--muted); }
.card-stats b { color: var(--text); font-size: 1.1rem; font-weight: 500; }
.chip { display: inline-flex; align-items: center; margin: .1rem .5rem .1rem 0; text-decoration: none; white-space: nowrap; }
.chip .dev-badge { margin-right: .3rem; }
.bar { display: inline-block; vertical-align: middle; width: 8rem; max-width: 100%; height: .6rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar.off { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.util-text { margin-left: .5rem; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
td.share { white-space: nowrap; }
.kind { display: inline-block; padding: .05rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 500; background: var(--panel); border: 1px solid var(--line); white-space: nowrap; }
.kind-container { background: var(--accent-tint); border-color: var(--accent); }
.site { display: inline-block; margin-right: .3rem; padding: .02rem .55rem; border-radius: 6px; font-size: .75rem; background: var(--panel); border: 1px solid var(--line); }
h3.vrf-head { font-size: .95rem; font-weight: 500; margin: 1.6rem 0 .5rem; color: var(--muted); }
.pfx { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.pfx-row { border-bottom: 1px solid var(--line); }
.pfx-row:last-child { border-bottom: 0; }
.pfx-row > summary { display: flex; align-items: center; gap: .6rem 1rem; padding: .55rem 1rem .55rem calc(1rem + var(--depth, 0) * 1.6rem); cursor: pointer; list-style: none; flex-wrap: wrap; }
.pfx-row > summary::-webkit-details-marker { display: none; }
.pfx-row > summary::before { content: ""; width: .5rem; height: .5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; flex: none; }
.pfx-row[open] > summary::before { transform: rotate(45deg); }
.pfx-row > summary:hover { background: var(--accent-tint); }
.pfx-name { min-width: 10.5rem; font-weight: 500; }
.pfx-util { min-width: 11rem; white-space: nowrap; }
.pfx-count { font-size: .8rem; color: var(--muted); min-width: 6.5rem; white-space: nowrap; }
.pfx-sites { min-width: 4rem; }
.pfx-devices { margin-left: auto; display: inline-flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }
.pfx-body { padding: .2rem 1rem 1rem calc(2.2rem + var(--depth, 0) * 1.6rem); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 55%, transparent); }
.pfx-body .table-scroll { margin: .6rem 0; }
.avail { margin: .8rem 0 .4rem; font-size: .85rem; }
.avail code { display: inline-block; margin: .1rem .3rem .1rem 0; padding: .05rem .5rem; background: transparent; border: 1px dashed var(--muted); border-radius: 6px; }
.free-row td { color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 8px, var(--accent-tint) 8px 9px); }
.avail-tag { font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .2rem 0 1rem; font-size: .88rem; }
.crumbs span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 1.5rem; margin: 1rem 0; padding: 1.1rem 1.3rem; border-radius: 20px; background: var(--panel); }
.facts div { min-width: 0; }
.facts .wide { grid-column: 1 / -1; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .15rem; }
.facts dd { margin: 0; }
.empty { padding: 1.2rem 1.4rem; border-radius: var(--radius); border: 1.5px dashed var(--line); color: var(--muted); }
table.matrix th.dev { text-align: center; font-size: .7rem; }
table.matrix td.dot { text-align: center; padding: .5rem; }
.has { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
.has.off { background: transparent; border: 2px solid var(--muted); box-shadow: none; }
.flag { display: inline-block; font-size: .7rem; font-weight: 500; padding: .05rem .5rem; border-radius: 999px; color: var(--danger); background: var(--danger-tint); cursor: help; }
a.sort { color: inherit; text-decoration: none; white-space: nowrap; }
a.sort:hover, a.sort.on { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
button.copy { padding: 0 .4rem; margin-left: .2rem; border: 0; background: transparent; color: var(--muted); font-size: .85rem; line-height: 1.3; border-radius: 6px; }
button.copy:hover { background: var(--accent-tint); color: var(--text); }
@media (max-width: 42rem) { .pfx-row > summary { flex-wrap: wrap; } .pfx-devices { margin-left: 0; } .pfx-name { min-width: 0; } }
