/* Blyatflix UI 1.0.0 */
/* Blyatflix UI 1.0.0 — generated from tokens/tokens.json. Do not edit. */
:root {
  /* colour */
  --bg-000: #0f1012;
  --bg-100: #16171a;
  --bg-200: #1c1e21;
  --bg-300: #25282c;
  --bg-400: #2f3237;
  --line: #2a2d31;
  --line-strong: #3e4248;
  --ink: #f2f2f2;
  --ink-muted: #a6adb3;
  --ink-subtle: #868e95;
  --brand: #ed1c24;
  --brand-strong: #d9161e;
  --brand-ink: #ff7a7f;
  --brand-soft: #3a1517;
  --on-brand: #ffffff;
  --ok: #1fbf4a;
  --ok-soft: #123a1f;
  --ok-ink: #9df2b4;
  --warn: #ffb84d;
  --warn-soft: #3a2a10;
  --down: #ff6b6b;
  --down-soft: #3d1a1a;
  --info: #4ea8ff;
  --focus: #ffd43b;
  --cat-films: #ff6b6b;
  --cat-series: #4ea8ff;
  --cat-mangas: #c77dff;
  --cat-games: #43e97b;
  --cat-software: #ffb84d;
  --cat-books: #5ad1b8;
  --spot: #ff8a3d;
  --spot-soft: #2a1a0e;
  --news: #4ea8ff;
  --news-soft: #132536;
  --svc-silo: #8b5cf6;
  --svc-sealskin: #2bb3a6;
  --svc-cloud: #1e9bf0;
  --scrim: rgba(15, 16, 18, 0.82);
  --net-eu-edge: #38bdf8;
  --net-wg: #7f86e0;
  --net-jp-direct: #b48cf2;
  --net-jp-edge: #ff8a65;
  --net-vlan: #f0609e;
  --map-land: #1f2125;
  --map-border: #2c2f34;
  --type-http: #4ea8ff;
  --type-dns: #c77dff;
  --type-tcp: #5ad1b8;
  --type-minecraft: #43e97b;
  --auth: #7fb4ff;
  --auth-soft: #16243a;
  --type-mail: #ff9f6b;
  --net-wan: #e6ebef;
  --net-lan: #8bd17c;
  --net-local: #868e95;
  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  /* radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  /* shadow */
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.45);
  /* layout */
  --page-max: 1360px;
  --search-max: 760px;
  --rail-width: 380px;
  /* font families */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* type styles */
.bf-t-spot-title { font-family: var(--font-display); font-size: 40px; line-height: 40px; font-weight: 800; letter-spacing: -0.01em; font-stretch: 70%; }
.bf-t-section-title { font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 800; font-stretch: 70%; }
.bf-t-search-input { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 400; }
.bf-t-card-title { font-family: var(--font-sans); font-size: 14px; line-height: 18px; font-weight: 600; }
.bf-t-body { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.bf-t-meta { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.bf-t-label { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bf-t-data { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }

/* ── Base ─────────────────────────────────────────────────────────────
 * Fonts, reset, focus ring, icon sizing, small utilities.
 * Every value comes from tokens. Load after dist/tokens.css.
 */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&family=IBM+Plex+Mono:wght@500;600&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg-000); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 20px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: inline-block; vertical-align: middle; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--brand-soft); color: var(--ink); }

/* icons: <i data-i="name"> is replaced by an inline SVG (js/icons.js) */
.bf-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bf-ico--sm { width: 14px; height: 14px; }
.bf-ico--lg { width: 22px; height: 22px; }

/* utilities */
.bf-hidden { display: none !important; }
.bf-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bf-mono { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.bf-meta { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
.bf-display { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; }
.bf-page { max-width: var(--page-max); margin: 0 auto; padding: var(--space-5) var(--space-6) var(--space-7); }
@media (max-width: 767px) { .bf-page { padding: var(--space-4) var(--space-4) var(--space-6); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ── App shell ────────────────────────────────────────────────────────
 * The parts every Blyatflix app shares: top bar with the app switcher,
 * user menu, mobile tab bar, admin layout. Markup: partials/*.html.
 */

/* top bar */
.bf-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--space-5); height: 56px; padding: 0 var(--space-6); background: var(--bg-100); border-bottom: 1px solid var(--line); }
.bf-topbar__brand { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.bf-topbar__logo { height: 22px; display: block; }
.bf-topbar__app { font-family: var(--font-display); font-stretch: 70%; font-size: 20px; font-weight: 800; }
.bf-nav { display: flex; height: 100%; }
.bf-nav a { position: relative; display: flex; align-items: center; padding: 0 14px; color: var(--ink-muted); font-weight: 600; }
.bf-nav a:hover { color: var(--ink); }
.bf-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand); }
.bf-nav__count { margin-left: 6px; font: 600 12px/1 var(--font-mono); color: var(--brand-ink); }
.bf-nav__count--alarm { color: var(--bg-000); background: var(--down); padding: 2px 5px; border-radius: var(--radius-sm); }
.bf-topbar__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.bf-iconbtn { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-md); border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; }
.bf-iconbtn:hover { background: var(--bg-300); color: var(--ink); }
.bf-iconbtn__dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* user chip + menu */
.bf-user { position: relative; display: flex; align-items: center; gap: var(--space-2); margin-left: var(--space-2); padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg-200); cursor: pointer; color: var(--ink); }
.bf-user:hover { background: var(--bg-300); }
.bf-avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-400); font-weight: 700; font-size: 13px; flex: none; overflow: hidden; }
.bf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bf-user__name { font-weight: 600; font-size: 13px; line-height: 16px; text-align: left; }
.bf-user__srv { font-size: 11px; line-height: 14px; color: var(--ink-muted); text-align: left; }
.bf-menu { position: absolute; z-index: 30; min-width: 220px; padding: 6px; border-radius: var(--radius-lg); background: var(--bg-200); border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop); }
.bf-menu--right { right: 0; top: calc(100% + 6px); }
.bf-menu a, .bf-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px; border: 0; border-radius: var(--radius-md); background: none; color: var(--ink-muted); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.bf-menu a:hover, .bf-menu button:hover { background: var(--bg-300); color: var(--ink); }
.bf-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.bf-menu__label { padding: 6px 10px 2px; font-size: 11px; font-weight: 700; color: var(--ink-subtle); }

/* mobile: compact top bar + bottom tab bar */
@media (max-width: 767px) {
  .bf-topbar { height: 48px; padding: 0 var(--space-4); gap: var(--space-2); }
  .bf-topbar .bf-nav, .bf-topbar .bf-user__name, .bf-topbar .bf-user__srv, .bf-topbar .bf-topbar__hide-sm { display: none; }
  .bf-user { padding: 2px; margin: 0; }
  body.bf-has-tabbar { padding-bottom: 72px; }
}
.bf-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--bg-100); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .bf-tabbar { display: none; } }
.bf-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 64px; padding-top: 4px; font-size: 10px; line-height: 12px; font-weight: 600; color: var(--ink-subtle); }
.bf-tabbar a[aria-current] { color: var(--ink); }
.bf-tabbar a[aria-current] .bf-ico { color: var(--brand); }

/* admin layout */
.ad-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.ad-side { background: var(--bg-100); border-right: 1px solid var(--line); padding: var(--space-4) var(--space-3); }
.ad-side img { height: 18px; margin: 4px 8px 20px; display: block; }
.ad-side a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--radius-md); color: var(--ink-muted); font-weight: 600; font-size: 13px; }
.ad-side a:hover { background: var(--bg-300); color: var(--ink); }
.ad-side a[aria-current] { background: var(--bg-300); color: var(--ink); }
.ad-side small { display: block; margin: 16px 10px 6px; font-size: 11px; font-weight: 700; color: var(--ink-subtle); }
.ad-main { padding: var(--space-5) var(--space-6); min-width: 0; }
.ad-title { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.ad-title h1 { margin: 0; font-family: var(--font-display); font-stretch: 70%; font-size: 30px; line-height: 32px; font-weight: 800; }
.ad-title .bf-btn--primary { margin-left: auto; }
@media (max-width: 900px) { .ad-shell { grid-template-columns: 1fr; } .ad-side { display: flex; gap: 4px; overflow-x: auto; padding: var(--space-2); } .ad-side img, .ad-side small { display: none; } .ad-side a { flex: none; } .ad-main { padding: var(--space-4); } }

/* ── Shared components ────────────────────────────────────────────────
 * Used by more than one app. App-specific parts (homepage tiles, spotlight,
 * infrastructure map, status board rows) live in their app.
 * Docs: components/*.md
 */

/* status pills, badges, dots */
.bf-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-300); color: var(--ink-muted); white-space: nowrap; }
.bf-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bf-pill--ok { background: var(--ok-soft); color: var(--ok-ink); }
.bf-pill--ok::before { background: var(--ok); }
.bf-pill--warn { background: var(--warn-soft); color: var(--warn); }
.bf-pill--down { background: var(--down-soft); color: var(--down); }
.bf-pill--auth { background: var(--auth-soft); color: var(--auth); }
.bf-pill--plain::before { display: none; }
a.bf-pill:hover { filter: brightness(1.15); }
.bf-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--radius-sm); font: 600 11px/1 var(--font-mono); background: var(--brand-strong); color: var(--on-brand); }
.bf-badge--info { background: var(--bg-400); color: var(--info); font-family: var(--font-sans); }
.bf-badge--muted { background: var(--bg-300); color: var(--ink-muted); font-family: var(--font-sans); }
.bf-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.bf-dot--warn { background: var(--warn); } .bf-dot--down { background: var(--down); } .bf-dot--auth { background: var(--auth); }
.bf-dot--off { background: var(--bg-400); box-shadow: inset 0 0 0 1.5px var(--ink-subtle); }

/* buttons + links */
.bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--bg-300); color: var(--ink); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .15s ease; }
.bf-btn:hover { background: var(--bg-400); }
.bf-btn:disabled, .bf-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.bf-btn--primary { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }
.bf-btn--primary:hover { background: var(--brand); }
.bf-btn--ghost { background: transparent; border-color: transparent; color: var(--ink-muted); }
.bf-btn--ghost:hover { background: var(--bg-300); color: var(--ink); }
.bf-btn--danger { color: var(--down); }
.bf-btn--sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: var(--radius-sm); }
.bf-btn--icon { width: 28px; padding: 0; }
.bf-link { color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.bf-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* sections: a condensed heading and a rule, never a box */
.bf-sec { min-width: 0; }
.bf-sec__head { display: flex; align-items: baseline; gap: var(--space-3); padding-bottom: var(--space-2); margin-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.bf-sec__title { margin: 0; font-family: var(--font-display); font-stretch: 70%; font-size: 22px; line-height: 26px; font-weight: 800; }
.bf-sec__note { color: var(--ink-subtle); font-size: 13px; }
.bf-sec__head .bf-link { margin-left: auto; }
.bf-h1 { margin: 0; font-family: var(--font-display); font-stretch: 70%; font-size: 34px; line-height: 36px; font-weight: 800; }

/* tabs (underlined) + segmented control */
.bf-tabs { display: flex; gap: var(--space-4); }
.bf-tabs button, .bf-tabs a { height: 26px; padding: 0; border: 0; background: none; color: var(--ink-subtle); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.bf-tabs button:hover, .bf-tabs a:hover { color: var(--ink); }
.bf-tabs [aria-selected="true"], .bf-tabs [aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.bf-tabs span { font: 500 11px/1 var(--font-mono); color: var(--ink-subtle); }
.ad-seg, .bf-seg { display: flex; padding: 3px; border-radius: var(--radius-md); background: var(--bg-000); border: 1px solid var(--line-strong); }
.ad-seg button, .bf-seg button { flex: 1; height: 28px; padding: 0 8px; border: 0; border-radius: 4px; background: none; color: var(--ink-muted); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ad-seg button[aria-pressed="true"], .bf-seg button[aria-pressed="true"] { background: var(--bg-400); color: var(--ink); }

/* filter chips (category colours via --c) */
.bf-chips { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.bf-chips::-webkit-scrollbar { display: none; }
.bf-chip { --c: var(--ink-muted); display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink-muted); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; flex: none; }
.bf-chip .bf-ico { color: var(--c); }
.bf-chip:hover { color: var(--ink); background: var(--bg-200); }
.bf-chip[aria-pressed="true"] { color: var(--ink); border-color: var(--c); background: var(--bg-200); }
.bf-chip--sm { height: 28px; padding: 0 10px; font-size: 12px; }

/* forms (admin and everywhere else) */
.ad-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); }
@media (max-width: 600px) { .ad-form { grid-template-columns: 1fr; } }
.ad-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad-field--full { grid-column: 1 / -1; }
.ad-field label, .ad-label { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.ad-hint { font-size: 12px; color: var(--ink-subtle); }
.ad-error { font-size: 12px; color: var(--down); }
.ad-input { height: 36px; padding: 0 10px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--bg-000); color: var(--ink); font: 400 14px/20px var(--font-sans); display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%; }
.ad-input:focus { border-color: var(--ink-subtle); outline: 2px solid var(--focus); outline-offset: 1px; }
.ad-input[aria-invalid="true"] { border-color: var(--down); }
.ad-input[readonly], .ad-input--ro { color: var(--ink-muted); background: var(--bg-100); border-style: dashed; }
textarea.ad-input { height: auto; min-height: 64px; padding: 8px 10px; resize: vertical; }
select.ad-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.ad-input--drop { height: 64px; border-style: dashed; justify-content: center; color: var(--ink-muted); font-size: 13px; }
.bf-switch { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--bg-400); border: 0; cursor: pointer; flex: none; }
.bf-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-muted); transition: left .15s ease; }
.bf-switch[aria-checked="true"] { background: var(--ok); }
.bf-switch[aria-checked="true"]::after { left: 17px; background: var(--bg-000); }
.bf-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--bg-300); font-size: 12px; font-weight: 600; }
.bf-tag i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.bf-group { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--bg-300); color: var(--ink); font: 500 11px/1 var(--font-mono); }

/* panels + tables */
.ad-panel { background: var(--bg-200); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; }
.ad-panel__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); font-weight: 700; }
.ad-panel__body { padding: var(--space-4); }
.ad-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ad-table th { text-align: left; font-size: 11px; font-weight: 700; color: var(--ink-subtle); padding: 8px var(--space-4); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ad-table td { padding: 10px var(--space-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.ad-table tr:last-child td { border-bottom: 0; }
.ad-table tbody tr:hover td { background: var(--bg-300); }
.ad-table tr[aria-selected="true"] td { background: var(--bg-300); }
.ad-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 8px; }

/* source badge (Git / UI / Pelican / GlobalSearch) */
.bf-src { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: var(--radius-sm); background: var(--bg-300); color: var(--ink-muted); }
.bf-src--git { color: var(--news); background: var(--news-soft); }
.bf-src--auto { color: var(--type-minecraft); background: var(--ok-soft); }

/* banners (info / warn / down) — full-width notice above content */
.bf-banner { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-4); border-radius: var(--radius-md); background: var(--news-soft); font-size: 13px; }
.bf-banner > .bf-ico { color: var(--news); }
.bf-banner--warn { background: var(--warn-soft); } .bf-banner--warn > .bf-ico { color: var(--warn); }
.bf-banner--down { background: var(--down-soft); } .bf-banner--down > .bf-ico { color: var(--down); }
.bf-banner code { font: 500 12px/1 var(--font-mono); background: var(--bg-000); padding: 3px 6px; border-radius: 4px; }
.bf-banner .bf-btn:first-of-type { margin-left: auto; }

/* meters + steps */
.bf-meter { display: flex; align-items: center; gap: 6px; }
.bf-meter__bar { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--bg-400); overflow: hidden; }
.bf-meter__bar > i { display: block; height: 100%; background: var(--ok); }
.bf-meter__bar--warn > i { background: var(--warn); }
.bf-meter__bar--down > i { background: var(--down); }
.bf-steps { display: flex; gap: 3px; margin-top: 6px; max-width: 180px; }
.bf-steps i { height: 3px; flex: 1; border-radius: 2px; background: var(--bg-400); }
.bf-steps i.on { background: var(--info); }
.bf-steps i.done { background: var(--ok); }
.bf-steps i.fail { background: var(--down); }

/* toast */
.bf-toasts { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 50; display: flex; flex-direction: column; gap: var(--space-2); }
.bf-toast { display: flex; align-items: center; gap: var(--space-3); min-width: 260px; max-width: 380px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--bg-200); border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop); font-size: 13px; }
.bf-toast .bf-ico { color: var(--ok); } .bf-toast--warn .bf-ico { color: var(--warn); } .bf-toast--down .bf-ico { color: var(--down); }
@media (max-width: 767px) { .bf-toasts { left: var(--space-4); bottom: 84px; } .bf-toast { max-width: none; } }

/* empty, error, skeleton */
.bf-empty { padding: var(--space-5) 0; color: var(--ink-muted); font-size: 13px; }
.bf-empty b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.bf-inline-error { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.bf-inline-error::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--down); }
.bf-skel { display: block; border-radius: var(--radius-sm); background: var(--bg-300); animation: bf-pulse 1.4s ease-in-out infinite; }
@keyframes bf-pulse { 50% { background: var(--bg-400); } }

/* app icon frame (real program logos, letter fallback) */
.bf-appicon { position: relative; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--bg-000); display: grid; place-items: center; flex: none; }
.bf-appicon img { width: 24px; height: 24px; object-fit: contain; }
.bf-appicon__letter { width: 100%; height: 100%; border-radius: var(--radius-md); display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--on-brand); }
.bf-appicon--lg { width: 48px; height: 48px; } .bf-appicon--lg img { width: 32px; height: 32px; }
.bf-appicon__badge { --c: var(--type-http); position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--bg-000); box-shadow: 0 0 0 2px var(--bg-100); }
.bf-appicon__badge .bf-ico { width: 11px; height: 11px; stroke-width: 2.4; }
.bf-appicon__status { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--bg-200); }

/* code / yaml block */
.bf-code { margin: 0; padding: var(--space-3); border-radius: var(--radius-md); background: var(--bg-000); border: 1px solid var(--line); font: 500 12px/18px var(--font-mono); color: var(--ink-muted); white-space: pre; overflow: auto; }
.bf-code b { color: var(--type-dns); font-weight: 500; } .bf-code i { color: var(--ok-ink); font-style: normal; } .bf-code em { color: var(--ink-subtle); font-style: normal; }
