/* The tree of a partner's network: nested <details>, one card per guest. Two skins: dark (partner page) and light (admin). */
.frb-net { --ink: #eaf3f7; --mut: #9db4c4; --line: rgba(35,154,176,.55); --card: rgba(10,28,58,.9); --cardb: rgba(35,154,176,.35); --bar: rgba(255,255,255,.08); color: var(--ink); margin: 10px 0 18px; }
.frb-net--light { --ink: #1d2327; --mut: #646970; --line: #8dc3cd; --card: #fff; --cardb: #c3d9de; --bar: #eef2f3; }
.frbn-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 14px; }
.frbn-figs div { padding: 10px 14px; background: var(--card); border: 1px solid var(--cardb); }
.frbn-figs b { display: block; font-size: 22px; line-height: 1.2; }
.frbn-figs span { color: var(--mut); font-size: 13px; }
.frbn-bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding: 8px 10px 0; margin: 0 0 12px; background: var(--bar); overflow-x: auto; }
.frbn-bar { flex: 0 0 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; font-size: 11px; }
.frbn-bar b { display: block; width: 100%; min-height: 4px; }
.frbn-bar span { color: var(--mut); margin-top: 3px; }
.frbn-bar em { font-style: normal; font-weight: 700; margin-bottom: 2px; }
.frbn-hint { color: var(--mut); font-size: 13px; margin: 0 0 8px; max-width: 780px; }
.frbn-tools { margin: 0 0 8px; }
.frbn-all { padding: 6px 12px; background: transparent; color: inherit; border: 1px solid var(--cardb); cursor: pointer; font: inherit; font-size: 13px; }
.frbn-all:hover { border-color: var(--line); }
.frbn-tree, .frbn-tree ul { list-style: none; margin: 0; padding: 0; }
.frbn-tree ul { margin-left: 15px; padding-left: 14px; border-left: 2px solid var(--line); }
.frbn-tree li { position: relative; margin: 6px 0; }
.frbn-tree ul > li::before { content: ""; position: absolute; left: -14px; top: 20px; width: 12px; border-top: 2px solid var(--line); }
.frbn-tree details > summary { list-style: none; cursor: pointer; }
.frbn-tree details > summary::-webkit-details-marker { display: none; }
.frbn-card { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 7px 12px 7px 8px; background: var(--card); border: 1px solid var(--cardb); border-left: 4px solid var(--lc); min-height: 28px; max-width: 100%; }
.frbn-lv { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; background: var(--lc); color: #fff; font: 700 13px/1 system-ui, sans-serif; font-style: normal; }
.frbn-no { font-size: 15px; }
.frbn-name { color: var(--mut); font-size: 13px; }
.frbn-gone { font-style: italic; opacity: .7; }
.frbn-dot { width: 10px; height: 10px; border-radius: 50%; background: #8c8f94; display: inline-block; }
.frbn-dot--ok { background: #35c26b; }
.frbn-dot--wait { background: #e8b230; }
.frbn-dot--bad { background: #e4574f; }
.frbn-meta { color: var(--mut); font-size: 13px; }
.frbn-sub { padding: 1px 8px; background: var(--lc); color: #fff; font-size: 12px; font-weight: 700; border-radius: 10px; }
.frbn-tree summary:hover .frbn-card { border-color: var(--line); }
.frbn-tree details[open] > summary .frbn-sub { opacity: .55; }
.frbn-empty { color: var(--mut); }
@media (max-width: 640px) { .frbn-tree ul { margin-left: 8px; padding-left: 10px; } .frbn-tree ul > li::before { left: -10px; width: 8px; } .frbn-name { display: none; } }
.frbn-tree { overflow-x: auto; padding-bottom: 6px; }
.frbn-tree ul.frbn-deep { margin-left: 6px; padding-left: 9px; }
.frbn-tree ul.frbn-deep > li::before { left: -9px; width: 7px; }
