/* OMG back office, 26 Sep 2026 redesign. Loaded after app.css and the page's
   own <style>, so everything here is scoped to body.bo and wins over them. */
:root {
  --bg: #0f1320; --rail: #0c1019; --card: #171c2b; --card2: #1d2335; --hover: #212839;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.15);
  --text: #eef1f7; --muted: #a3abbd; --faint: #6f788d;
  --mint: #5fd4b8; --mint-ink: #06291f; --mint-text: #5fd4b8; --mint-soft: rgba(95,212,184,.13);
  --yellow: #ffc83d; --coral: #ff6b5b; --coral-soft: rgba(255,107,91,.13);
  --amber: #f5b041; --amber-soft: rgba(245,176,65,.15); --green: #48d597; --green-soft: rgba(72,213,151,.14);
  --link: #8ab4ff; --violet: #b69cff; --violet-soft: rgba(182,156,255,.14);
  --scrim: rgba(5,8,15,.6); --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r: 12px; --r-sm: 8px;
  /* The controller's own names, pointed at the new palette. */
  --panel: var(--card); --panel-2: var(--card2); --panel-3: var(--hover); --line-2: var(--line2);
  --accent: var(--mint); --accent-hi: var(--mint-text); --good: var(--green); --bad: var(--coral); --gold: var(--yellow);
  --radius: var(--r); --radius-sm: var(--r-sm);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --disp: var(--font);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f5fa; --rail: #ffffff; --card: #ffffff; --card2: #f1f3f8; --hover: #f5f7fb;
  --line: rgba(17,23,38,.09); --line2: rgba(17,23,38,.18);
  --text: #121826; --muted: #566074; --faint: #8a93a6;
  --mint: #5fd4b8; --mint-ink: #06291f; --mint-text: #0f8a70; --mint-soft: rgba(31,168,138,.12);
  --yellow: #b27d00; --coral: #d9412f; --coral-soft: rgba(217,65,47,.1);
  --amber: #b86e00; --amber-soft: rgba(245,160,40,.16); --green: #16925c; --green-soft: rgba(22,146,92,.12);
  --link: #2e62d9; --violet: #6b45d8; --violet-soft: rgba(107,69,216,.1);
  --scrim: rgba(20,26,40,.35); --shadow: 0 18px 50px rgba(20,30,60,.18);
  color-scheme: light;
}
body.bo { background: var(--bg); color: var(--text); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; margin: 0; }
body.bo * { box-sizing: border-box; }
body.bo a { color: var(--link); text-decoration: none; }
body.bo img { max-width: 100%; }
body.bo .bo-legacy { display: none !important; }
body.bo:not(.bo-signed-in) .bo-app { visibility: hidden; }
body.bo .ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.bo .ico.sm { width: 16px; height: 16px; } body.bo .ico.lg { width: 24px; height: 24px; }
body.bo .muted { color: var(--muted); font-size: inherit; font-weight: inherit; }
body.bo .faint { color: var(--faint); } body.bo .pts { color: var(--yellow); font-weight: 600; }
body.bo .coral { color: var(--coral); } body.bo .green { color: var(--green); } body.bo .mint { color: var(--mint-text); } body.bo .amber { color: var(--amber); }
body.bo .num { font-variant-numeric: tabular-nums; }
body.bo .small { font-size: 13px; } body.bo .tiny { font-size: 12px; }
body.bo .sr-only, body.bo .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- frame ---------- */
.bo-app { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.bo-app > .rail { position: sticky; top: 0; height: 100vh; max-height: none; overflow-y: auto; background: var(--rail); border-right: 1px solid var(--line); border-bottom: 0; display: flex; flex-direction: column; gap: 0; padding: 18px 12px 14px; }
.bo-app .brand { display: block; padding: 2px 8px 18px; }
.bo-app .brand img { width: 168px; height: auto; display: block; }
.bo-app .nav { display: flex; flex-direction: column; gap: 2px; }
.bo-app .nav-sec { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 15px; }
.bo-app .nav-sec:hover { background: var(--hover); }
.bo-app .nav-sec .grow { flex: 1; }
.bo-app .nav-sec.on { color: var(--mint-text); }
.bo-app .nav-sec.solo.on { background: var(--mint-soft); }
.bo-app .nav-sec .chev { color: var(--faint); }
.bo .badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--card2); color: var(--text); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.bo-app .nav-pages { margin: 2px 0 8px 22px; padding-left: 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.bo-app .nav-page { display: block; padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; position: relative; }
.bo-app .nav-page:hover { background: var(--hover); color: var(--text); }
.bo-app .nav-page.on { background: var(--mint-soft); color: var(--mint-text); font-weight: 600; }
.bo-app .nav-page.on::before { content: ""; position: absolute; left: -11px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--mint); }
.bo-app .nav-group { margin: 12px 0 4px; padding: 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.bo-app .rail-foot { margin-top: auto; padding: 16px 8px 0; font-size: 12px; color: var(--faint); display: flex; flex-direction: column; gap: 8px; }
.bo-app .demo-note { display: flex; gap: 6px; align-items: center; }
.bo-app .main { min-width: 0; display: flex; flex-direction: column; }
.bo-app .topbar { position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bo-app .crumbs { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); min-width: 0; }
.bo-app .crumbs a { color: var(--muted); } .bo-app .crumbs a:hover { color: var(--text); }
.bo-app .crumbs b { color: var(--text); font-weight: 500; }
.bo-app .top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bo .air { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; filter: none; }
.bo .air i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.bo .air.live { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 55%, transparent); background: var(--coral-soft); font-weight: 700; letter-spacing: .02em; }
.bo .air.live i { background: var(--coral); animation: bo-pulse 1.4s infinite; }
.bo .air.warn { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 55%, transparent); background: var(--amber-soft); }
.bo .air.warn i { background: var(--amber); }
@keyframes bo-pulse { 50% { opacity: .35; } }
.bo .icon-btn { position: relative; width: 40px; height: 40px; padding: 0; border-radius: 10px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--muted); filter: none; }
.bo .icon-btn:hover, .bo .icon-btn.on { background: var(--hover); color: var(--text); }
.bo .icon-btn.on { color: var(--mint-text); }
.bo .icon-btn .dot { position: absolute; top: 4px; right: 3px; min-width: 18px; width: auto; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); box-shadow: none; }
.bo .vsep { width: 1px; height: 28px; background: var(--line); margin: 0 6px; }
.bo .user { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: 999px; border: 0; background: none; cursor: pointer; color: var(--text); font-weight: 500; filter: none; }
.bo .user:hover { background: var(--hover); }
.bo .avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.bo .avatar.lg { width: 48px; height: 48px; font-size: 16px; } .bo .avatar.xl { width: 56px; height: 56px; font-size: 18px; } .bo .avatar.xs { width: 22px; height: 22px; font-size: 9.5px; }
.bo .menu-btn { display: none; }
.bo-app .content { max-width: none; padding: 24px; display: flex; flex-direction: column; gap: 24px; min-width: 0; margin: 0; }
.bo .bo-view { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bo .bo-view[hidden] { display: none !important; }
.bo .page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bo .page-head h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; font-family: var(--font); }
.bo .page-head .sub { color: var(--muted); font-size: 15px; }
.bo .page-head .end { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bo #emptyState { max-width: none; margin: 0; }

/* ---------- building blocks ---------- */
.bo .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; margin: 0; box-shadow: none; }
.bo .card + .card { margin-top: 0; }
.bo .card.flush { padding: 0; overflow: hidden; }
.bo .card h2 { margin: 0 0 14px; font-size: 18px; font-weight: 650; display: flex; align-items: center; gap: 10px; font-family: var(--font); letter-spacing: 0; }
.bo .card h2 .end { margin-left: auto; font-size: 13px; font-weight: 500; }
.bo .card h3 { margin: 0 0 10px; font-size: 15px; font-weight: 650; font-family: var(--font); }
.bo .note { color: var(--muted); font-size: 13px; margin: -6px 0 14px; }
.bo .hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.bo .grid { display: grid; gap: 24px; }
.bo .g2 { grid-template-columns: 1fr 1fr; } .bo .g3 { grid-template-columns: repeat(3, 1fr); } .bo .g4 { grid-template-columns: repeat(4, 1fr); }
.bo .split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr); align-items: start; max-width: none; }
.bo .split.even { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.bo .split.narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bo .stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.bo .stack.tight { gap: 12px; }
.bo .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 0; }
.bo .row.end { justify-content: flex-end; } .bo .row.between { justify-content: space-between; } .bo .row.nowrap { flex-wrap: nowrap; }
.bo .spacer, .bo .grow { flex: 1; min-width: 0; }
.bo hr, .bo hr.sep { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

.bo button { font-family: inherit; }
.bo .btn, .bo button.primary, .bo button.ghost, .bo button.danger, .bo .whenpill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; height: auto; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 550; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .06s; filter: none; text-decoration: none; }
.bo .btn:hover:not(:disabled), .bo button.ghost:hover:not(:disabled) { background: var(--hover); border-color: color-mix(in srgb, var(--text) 30%, transparent); filter: none; }
.bo .btn:active { transform: translateY(1px); }
.bo .btn.primary, .bo button.primary { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); font-weight: 650; }
.bo .btn.primary:hover:not(:disabled), .bo button.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--mint) 88%, #fff); }
.bo .btn.big { min-height: 52px; font-size: 17px; padding: 0 24px; border-radius: 12px; }
.bo .btn.wide, .bo button.block { width: 100%; }
.bo .btn.sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.bo .btn.danger, .bo button.danger { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 55%, transparent); background: transparent; }
.bo .btn.danger:hover:not(:disabled), .bo button.danger:hover:not(:disabled) { background: var(--coral-soft); }
.bo .btn.danger.solid { background: var(--coral); color: #fff; border-color: var(--coral); }
.bo .btn:disabled, .bo button.primary:disabled, .bo button.ghost:disabled, .bo button.danger:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.bo .btn.primary:disabled, .bo button.primary:disabled { background: var(--card2); border-color: var(--line2); color: var(--muted); opacity: 1; }
.bo .link { background: none; border: 0; padding: 0; min-height: 0; color: var(--link); cursor: pointer; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 0; filter: none; }
.bo .link:hover { text-decoration: underline; }
.bo .link.quiet { color: var(--muted); } .bo .link.quiet:hover { color: var(--text); text-decoration: none; }
.bo .link.danger { color: var(--coral); }
.bo .link:disabled { opacity: .4; cursor: not-allowed; text-decoration: none; }
.bo .kebab { width: 32px; height: 32px; padding: 0; border-radius: 8px; border: 0; background: none; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; filter: none; }
.bo .kebab:hover, .bo .kebab.on { background: var(--hover); color: var(--text); }
.bo .chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 550; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.bo .chip i.d { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bo .chip.mint { color: var(--mint-text); border-color: color-mix(in srgb, var(--mint) 50%, transparent); background: var(--mint-soft); }
.bo .chip.green { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); background: var(--green-soft); }
.bo .chip.amber { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: var(--amber-soft); }
.bo .chip.coral { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 45%, transparent); background: var(--coral-soft); }
.bo .chip.blue { color: var(--link); border-color: color-mix(in srgb, var(--link) 40%, transparent); }
.bo .chip.solid { background: var(--card2); border-color: transparent; }
.bo .chip.live i.d { animation: bo-pulse 1.4s infinite; }
.bo .new { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; cursor: help; }
/* The controller's pills read as chips now. */
.bo .pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 550; letter-spacing: 0; text-transform: none; border: 1px solid var(--line2); color: var(--muted); background: transparent; }
.bo .pill.warn { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: var(--amber-soft); }
.bo .pill.live { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 45%, transparent); background: var(--coral-soft); }

.bo .filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bo .fchip { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: none; color: var(--muted); cursor: pointer; font-weight: 550; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; filter: none; }
.bo .fchip:hover { color: var(--text); }
.bo .fchip.on, .bo .fchip[aria-pressed="true"] { background: var(--card2); color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.bo .fchip .n { color: var(--faint); font-weight: 600; } .bo .fchip.on .n { color: var(--mint-text); }
.bo .fchip.sm { height: 30px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.bo .seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); flex-wrap: wrap; }
.bo .seg button { height: 34px; padding: 0 16px; border-radius: 9px; border: 0; background: none; color: var(--muted); cursor: pointer; font-weight: 550; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; filter: none; }
.bo .seg button.on, .bo .seg button[aria-pressed="true"], .bo .seg button[aria-selected="true"] { background: var(--card2); color: var(--text); box-shadow: 0 1px 0 var(--line2) inset; }
.bo .seg button:disabled { opacity: .4; cursor: not-allowed; }

.bo .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; font-size: inherit; color: inherit; font-weight: inherit; }
.bo .field > span, .bo .lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.bo label { font-size: 13px; color: var(--muted); font-weight: 500; margin: 0; }
.bo input[type='text'], .bo input[type='number'], .bo input[type='password'], .bo input[type='search'], .bo input[type='time'], .bo input[type='date'], .bo select, .bo textarea, .bo .input, .bo .select, .bo .textarea {
  width: 100%; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); outline: none; font: inherit; font-size: 14.5px; transition: border-color .12s, box-shadow .12s; }
.bo textarea, .bo .textarea { min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.bo input:focus, .bo select:focus, .bo textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.bo select, .bo .select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3b5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; cursor: pointer; }
.bo select.inline, .bo .select.inline { width: auto; min-height: 38px; }
.bo input.big { min-height: 56px; font-size: 26px; font-weight: 650; }
.bo input[type='checkbox'], .bo input[type='radio'] { width: 18px; height: 18px; min-height: 0; accent-color: var(--mint); cursor: pointer; }
.bo input[type=range] { width: 100%; accent-color: var(--mint); min-height: 0; }
.bo .search { position: relative; flex: 1; min-width: 200px; }
.bo .search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.bo .search input { padding-left: 38px; }
.bo .suffix { position: relative; display: block; }
.bo .suffix em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); font-style: normal; font-size: 13px; pointer-events: none; }
.bo .suffix input { padding-right: 44px; }
.bo .form { display: flex; flex-direction: column; gap: 16px; }
.bo .fgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.bo .switch { position: relative; width: 44px; height: 26px; min-height: 0; flex: none; border-radius: 999px; border: 0; background: var(--line2); cursor: pointer; transition: background .15s; padding: 0; filter: none; }
.bo .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.bo .switch.on { background: var(--mint); } .bo .switch.on::after { transform: translateX(18px); }
.bo .switch:disabled { opacity: .45; cursor: not-allowed; }
.bo .switch-row { display: flex; align-items: center; gap: 12px; }
.bo .radios { display: flex; flex-direction: column; gap: 10px; }
.bo .radio { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line2); cursor: pointer; background: none; text-align: left; width: 100%; color: var(--text); font-weight: 500; filter: none; }
.bo .radio:hover { background: var(--hover); }
.bo .radio .o { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--faint); flex: none; display: grid; place-items: center; }
.bo .radio.on { border-color: var(--mint); background: var(--mint-soft); }
.bo .radio.on .o { border-color: var(--mint); } .bo .radio.on .o::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.bo .radio small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.bo .radio:disabled { opacity: .45; cursor: not-allowed; }
.bo .drop { border: 1.5px dashed var(--line2); border-radius: 12px; padding: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); cursor: pointer; text-align: center; font-size: 14px; margin: 0; }
.bo .drop:hover { border-color: var(--mint); color: var(--text); }
.bo .drop input[type=file] { display: none; }

/* tables */
.bo .table-wrap { overflow-x: auto; }
.bo .table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bo .table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: transparent; }
.bo .table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bo .table tr:last-child td { border-bottom: 0; }
.bo .table tbody tr.click { cursor: pointer; }
.bo .table tbody tr.click:hover td { background: var(--hover); }
.bo .table tbody tr.sel td { background: var(--mint-soft); }
.bo .table tbody tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--mint); }
.bo .table tbody tr.faded td { opacity: .6; }
.bo .table td.r, .bo .table th.r { text-align: right; }
.bo .table .divider td { padding: 16px 12px 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.bo .pcell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bo .pcell b { font-weight: 550; display: block; }
.bo .pcell small { color: var(--faint); font-size: 12.5px; display: block; }
.bo .thumb { width: 44px; height: 33px; border-radius: 6px; object-fit: cover; flex: none; background: var(--card2); }
.bo .gicons { display: flex; gap: 4px; align-items: center; }
.bo .gicon { width: 28px; height: 28px; border-radius: 7px; background: var(--card2); display: grid; place-items: center; position: relative; flex: none; }
.bo .gicon img { width: 22px; height: 22px; }
.bo .gicon.done::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat; border: 2px solid var(--card); }
.bo .gicon.off { opacity: .4; }
.bo .table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.bo .pager { display: flex; gap: 6px; align-items: center; }
.bo .empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.bo .empty .ico { width: 36px; height: 36px; color: var(--faint); margin: 0 auto 10px; display: block; }
.bo .stat { display: flex; flex-direction: column; gap: 4px; }
.bo .stat .k { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.bo .stat .v { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.bo .stat .v.huge { font-size: 56px; }
.bo .stat .s { font-size: 13px; color: var(--faint); }
.bo .kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.bo .kv:last-child { border-bottom: 0; }
.bo .kv > span:first-child { color: var(--muted); }
.bo .kv > span:last-child { text-align: right; }
.bo .progress { width: 100%; height: 10px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.bo .progress i { display: block; height: 100%; background: var(--mint); border-radius: 99px; transition: width .4s; }
.bo .track { height: 10px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.bo .track i { display: block; height: 100%; background: var(--mint); border-radius: 99px; }

/* popover menu */
.bo .pop-wrap { position: relative; display: inline-flex; }
.bo .pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 220px; padding: 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bo .pop.left { right: auto; left: 0; } .bo .pop.up { top: auto; bottom: calc(100% + 6px); }
.bo .pop button, .bo .pop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-height: 0; border-radius: 8px; border: 0; background: none; text-align: left; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; filter: none; }
.bo .pop button:hover, .bo .pop a:hover { background: var(--hover); }
.bo .pop button:disabled { opacity: .45; cursor: not-allowed; }
.bo .pop .danger { color: var(--coral); }
.bo .pop .sep { height: 1px; background: var(--line); margin: 4px 6px; }
.bo .pop .head { padding: 8px 12px 6px; font-size: 12px; color: var(--faint); }

/* overlays */
.bo .scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 60; animation: bo-fade .15s; }
@keyframes bo-fade { from { opacity: 0; } }
.bo .drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: 61; background: var(--card); border-left: 1px solid var(--line2); box-shadow: var(--shadow); display: flex; flex-direction: column; animation: bo-slide .18s ease-out; }
.bo .drawer.wide { width: min(760px, 100vw); }
.bo .drawer[hidden], .bo .scrim[hidden] { display: none !important; }
@keyframes bo-slide { from { transform: translateX(30px); opacity: 0; } }
.bo .d-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bo .d-head .d-title { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.bo .d-head h2 { margin: 0; font-size: 19px; }
.bo .d-head .end { margin-left: auto; }
.bo .d-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.bo .d-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bo .modal { position: fixed; z-index: 63; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; background: var(--card); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow); animation: bo-pop .16s ease-out; }
.bo .bo-overlays > .scrim + .modal { z-index: 63; }
.bo .modal.wide { width: min(680px, calc(100vw - 32px)); }
@keyframes bo-pop { from { transform: translate(-50%, -48%) scale(.98); opacity: 0; } }
.bo .modal .m-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.bo .modal h2 { margin: 0; font-size: 20px; }
.bo .modal .m-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.bo .modal .m-foot:empty { display: none; }
.bo-toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.bo-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #111726; color: #eef1f7; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; animation: bo-rise .2s ease-out; pointer-events: auto; }
.bo-toast .ico { color: #5fd4b8; } .bo-toast.warn .ico, .bo-toast.err .ico { color: #ff6b5b; }
.bo-toast .toast-act { margin-left: 6px; background: none; border: 0; color: #5fd4b8; font-weight: 700; cursor: pointer; padding: 2px 4px; font-size: 14px; min-height: 0; }
@keyframes bo-rise { from { transform: translateY(10px); opacity: 0; } }
/* The controller's toast, restyled to match. */
.bo #toast.toast { bottom: 24px; background: #111726; color: #eef1f7; border: 1px solid rgba(255,255,255,.12); border-left: 4px solid #5fd4b8; border-radius: 12px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 91; }
.bo #toast.toast.err { border-left-color: #ff6b5b; }
/* Native dialogs used by the dashboard's modules. */
.bo dialog { background: var(--card); color: var(--text); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; }
.bo dialog::backdrop { background: var(--scrim); }
.bo dialog h2, .bo dialog h3 { font-family: var(--font); }
.bo .message-recall-dialog { width: min(440px, calc(100vw - 32px)); }
.bo .message-recall-dialog > div { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* Telegram-style preview */
.bo .tg { background: #0e1621; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
:root[data-theme="light"] .bo .tg { background: #dfe7ef; }
.bo .tg-msg { align-self: flex-start; max-width: 92%; background: #182533; color: #e9eef4; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 14px; white-space: pre-wrap; line-height: 1.45; overflow-wrap: anywhere; }
:root[data-theme="light"] .bo .tg-msg { background: #fff; color: #111; }
.bo .tg-msg .who { color: #64b5ef; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.bo .tg-btn { align-self: stretch; text-align: center; padding: 9px; border-radius: 10px; background: rgba(40,60,85,.9); color: #e9eef4; font-size: 14px; font-weight: 550; }
:root[data-theme="light"] .bo .tg-btn { background: rgba(255,255,255,.8); color: #2a7ab8; }

/* charts */
.bo .chart { position: relative; }
.bo .chart svg { display: block; width: 100%; }
.bo .chart .ylab { position: absolute; left: 0; font-size: 11.5px; color: var(--faint); transform: translateY(-50%); }
.bo .chart .xlab { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); padding: 6px 0 0 52px; }
.bo .legend { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bo .ring { width: 44px; height: 44px; flex: none; }
.bo .gauge { display: flex; flex-direction: column; align-items: center; }
.bo .gauge svg { width: 100%; max-width: 360px; }
.bo .gauge-big { font-size: 26px; font-weight: 750; margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bo .split, .bo .split.even, .bo .split.narrow { grid-template-columns: 1fr; }
  .bo .g4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bo-app { grid-template-columns: 1fr; }
  .bo-app > .rail { position: fixed; z-index: 70; left: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  .bo-app > .rail.open { transform: none; }
  .bo .menu-btn { display: grid; }
  .bo .user .who { display: none; }
  .bo-app .crumbs a, .bo-app .crumbs .faint, .bo .vsep { display: none; }
  .bo-app .crumbs b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bo .air { white-space: nowrap; padding: 0 10px; }
  .bo-app .top-right { gap: 2px; }
  .bo-app .content { padding: 16px; }
  .bo-app .topbar { padding: 0 12px; }
  .bo .g2, .bo .g3, .bo .g4 { grid-template-columns: 1fr; }
  .bo .hide-sm { display: none; }
  .bo .search { min-width: 0; }
}

/* =================================================================== Shows */
.bo .art-none { display: inline-block; background: linear-gradient(135deg, var(--card2), var(--hover)); }
.bo .today { display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); align-items: start; }
.bo .feature { display: grid; grid-template-columns: minmax(220px, 1.1fr) 1fr; gap: 24px; align-items: center; }
.bo .feature .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.bo .feature h3 { font-size: 28px; margin: 0 0 4px; font-weight: 700; }
.bo .bigjoin { font-size: 38px; font-weight: 750; margin: 12px 0 14px; letter-spacing: -.01em; }
.bo .game-row { display: flex; gap: 18px; flex-wrap: wrap; }
.bo .game-row .g { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.bo .game-row .g img { width: 40px; height: 40px; }
.bo .card.clickable { cursor: pointer; transition: border-color .12s; }
.bo .card.clickable:hover { border-color: var(--line2); }
.bo .attn { display: flex; gap: 10px; align-items: flex-start; }
.bo .attn i.d, .bo .attn-row i.d { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.bo .attn-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bo .attn-row i.d { margin-top: 0; }
.bo .attn-row:last-child { border-bottom: 0; }
.bo .coming { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.bo .coming-pic { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.bo td.nowrap { white-space: nowrap; }
.bo .podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding-top: 8px; }
.bo .podium .p { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bo .podium .p b { font-size: 14px; text-align: center; max-width: 110px; overflow-wrap: anywhere; }
.bo .podium .blk { width: 92px; border-radius: 8px 8px 4px 4px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: rgba(0,0,0,.55); }
.bo .podium .p1 .blk { height: 104px; background: linear-gradient(#ffd966, #f2b320); }
.bo .podium .p2 .blk { height: 74px; background: linear-gradient(#d7dce6, #9aa3b5); }
.bo .podium .p3 .blk { height: 56px; background: linear-gradient(#f0a878, #c8743f); }
.bo .crown { color: #f2b320; }

/* create show */
.bo #showCreate { display: block; }
.bo #showCreate[hidden] { display: none !important; }
.bo .wizard { display: flex; flex-direction: column; gap: 24px; }
.bo .stepper { display: flex; align-items: center; gap: 12px; }
.bo .stepper .st { display: flex; align-items: center; gap: 10px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0; min-height: 0; font-weight: 550; white-space: nowrap; filter: none; }
.bo .stepper .st .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-weight: 650; }
.bo .stepper .st.on { color: var(--mint-text); } .bo .stepper .st.on .n { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.bo .stepper .st.done .n { border-color: var(--mint); color: var(--mint-text); }
.bo .stepper .ln { flex: 1; height: 1.5px; background: var(--line2); min-width: 16px; }
.bo .stepper .ln.done { background: var(--mint); }
.bo .wiz-step[hidden] { display: none !important; }
.bo .whenpills { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.bo .whenpill { min-height: 36px; padding: 0 14px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.bo .whenpill:hover { color: var(--text); background: transparent; }
.bo .whenpill.on { background: var(--card2); color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); font-weight: 550; }
.bo .whenrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.bo .whenrow input[type='time'] { width: 140px; flex: none; }
.bo .whenrow input[type='date'] { width: 200px; flex: none; }
.bo .whenclear { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px; min-height: 0; text-decoration: none; }
.bo .whenclear:hover { color: var(--text); }
.bo #sWhenNote { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.bo .pic-preview { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; flex: none; }
.bo .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bo .tile { position: relative; border-radius: 12px; overflow: hidden; border: 2px solid var(--line2); cursor: pointer; aspect-ratio: 16 / 9; background: #000; padding: 0; min-height: 0; filter: none; }
.bo .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, filter .2s; display: block; }
.bo .tile img.tile-icon { object-fit: contain; padding: 16%; background: var(--card2); }
.bo .tile:hover img { transform: scale(1.03); }
.bo .tile.off img { filter: grayscale(.85) brightness(.55); }
.bo .tile.on { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.bo .tile .name { position: absolute; left: 14px; bottom: 10px; font-size: 22px; font-weight: 750; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.bo .tile .ord { position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 9px; background: rgba(10,14,24,.75); border: 1.5px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; display: grid; place-items: center; }
.bo .tile .tick { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; }
.bo .tile .tick .ico { stroke-width: 3; width: 16px; height: 16px; }
.bo .tile.off .tick { background: rgba(10,14,24,.6); border: 1.5px solid rgba(255,255,255,.5); }
.bo .tile.off .tick .ico { display: none; }
.bo .tile:disabled { cursor: not-allowed; }
.bo .order { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 12px; min-height: 58px; }
.bo .ochip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border-radius: 10px; background: var(--card2); cursor: grab; user-select: none; border: 1px solid transparent; }
.bo .ochip.dragging { opacity: .4; } .bo .ochip.over { border-color: var(--mint); }
.bo .ochip .grip { color: var(--faint); display: inline-flex; }
.bo .ochip .n { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.bo .ochip .mv { border: 0; background: none; color: var(--faint); cursor: pointer; padding: 2px; min-height: 0; display: grid; place-items: center; border-radius: 6px; }
.bo .ochip .rw { border: 1px solid var(--line2); background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; padding: 2px 9px; min-height: 0; border-radius: 999px; cursor: pointer; }
.bo .ochip .rw:hover { border-color: var(--mint); color: var(--text); }
.bo .ochip .rw-voucher { color: var(--gold); border-color: var(--gold); }
.bo .ochip .rw-both { color: var(--mint); border-color: var(--mint); }
.bo .ochip .del { border: 0; background: none; color: var(--coral); cursor: pointer; padding: 3px; min-height: 0; display: grid; place-items: center; border-radius: 6px; margin-left: 2px; }
.bo .ochip .del:hover { background: var(--coral-soft); }
.bo .ochip .mv:hover { color: var(--text); background: var(--hover); }
.bo .shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bo .shape { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; min-height: 0; border-radius: 10px; border: 1px solid var(--line2); background: none; cursor: pointer; text-align: left; color: var(--muted); font-weight: 400; filter: none; }
.bo .shape b { color: var(--text); font-size: 14px; } .bo .shape small { font-size: 12px; line-height: 1.3; white-space: normal; }
.bo .shape:hover { background: var(--hover); }
.bo .shape.on { border-color: var(--mint); background: var(--mint-soft); color: var(--mint-text); }
.bo [data-slot=payform].off { opacity: .4; pointer-events: none; }
.bo #sFalloffBox, .bo #sManualBox { display: flex; flex-direction: column; gap: 6px; }
.bo #sFalloffBox input { max-width: 160px; }
.bo .pay-manual { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.bo .pay-manual li { display: flex; align-items: center; gap: 8px; padding: 0; }
.bo .pay-manual .pl { flex: 0 0 34px; color: var(--faint); font-size: 12.5px; }
.bo .pay-manual input[type='number'] { width: auto; flex: 1; min-width: 0; }
.bo .paytable { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bo .paytable > div { display: grid; grid-template-columns: 44px 1fr 80px 84px; gap: 10px; align-items: center; }
.bo .paytable > div.faint, .bo .paytable > div.muted { display: block; }
.bo .paytable .bar { height: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.bo .paytable .bar i { display: block; height: 100%; background: var(--yellow); border-radius: 99px; opacity: .8; }
.bo .paytable .num { text-align: right; }
.bo .paytable .tot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.bo #sParticipationCost { margin-top: 10px; }
.bo .summary .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; display: block; }
.bo .wiz-foot { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 16px 24px; margin: 0 -24px -24px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.bo .legacy-bin, .bo .legacy-bin * { display: none !important; }

/* control room */
.bo .control { display: grid; gap: 24px; grid-template-columns: 240px minmax(0, 1fr) minmax(320px, 400px); align-items: start; }
.bo .control[hidden] { display: none !important; }
.bo .ctl-tabs { width: 100%; display: flex; }
.bo .ctl-tabs button { flex: 1; justify-content: center; }
.bo .steps { display: flex; flex-direction: column; }
.bo .step { display: grid; grid-template-columns: 36px 44px 1fr; gap: 10px; align-items: center; padding: 12px 10px; border-radius: 12px; position: relative; }
.bo .step .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-weight: 650; background: var(--card); position: relative; z-index: 1; }
.bo .step img { width: 44px; height: 44px; }
.bo .step b { display: block; font-size: 15px; }
.bo .step small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.bo .step.done small { color: var(--green); }
.bo .step.next { background: var(--mint-soft); } .bo .step.next .n { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); } .bo .step.next b, .bo .step.next small { color: var(--mint-text); }
.bo .step.live { background: var(--coral-soft); } .bo .step.live small { color: var(--coral); }
.bo .step.wait { opacity: .6; }
.bo .step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 46px; bottom: -12px; width: 1.5px; background: var(--line2); }
.bo .nextcard { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bo .nextcard > .big-icon { width: 84px; height: 84px; }
.bo .nextcard > .wide-pic { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 10px; }
.bo .nextcard .gicons { justify-content: center; }
.bo .preview { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, #243049, #0b0f19); }
.bo .preview.offair { filter: saturate(.4); }
.bo .preview .over { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 650; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.6); padding: 16px; text-align: center; }
.bo .preview[hidden] { display: none !important; }
.bo .meter { display: flex; align-items: center; gap: 12px; }
.bo .meter .bars { flex: 1; display: flex; gap: 3px; height: 22px; }
.bo .meter .bars i { flex: 1; border-radius: 2px; background: var(--card2); }
.bo .meter .bars i.lit { background: var(--green); }
.bo .meter .bars i.hot { background: var(--amber); }
.bo .meter.muted .bars i { background: var(--card2) !important; }
.bo #stMeterWrap { display: none !important; }
.bo .cam-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bo .cam-row:last-of-type { border-bottom: 0; }
.bo .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; display: inline-block; }
.bo .live-dot.red { background: var(--coral); animation: bo-pulse 1.4s infinite; }
.bo .mc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.bo .match { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--card); }
.bo .match .vs { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.bo .match .vs span { min-width: 0; overflow-wrap: anywhere; }
.bo .match .vs .w { font-weight: 700; }
.bo .match.bye { border-style: dashed; }
.bo details.round { border-top: 1px solid var(--line); padding: 12px 0; }
.bo details.round:first-of-type { border-top: 0; padding-top: 0; }
.bo details.round summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; list-style: none; }
.bo details.round summary::-webkit-details-marker { display: none; }
.bo details.round summary::before { content: "▸"; color: var(--faint); } .bo details.round[open] summary::before { content: "▾"; }
.bo .groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bo .grp { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.bo .grp > div { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.bo .grp > div.adv { color: var(--mint-text); font-weight: 600; }
.bo .more-sec { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bo .more-sec h3 { margin: 0; font-size: 15px; }
.bo .more-sec[hidden], .bo .more-sec > [hidden] { display: none !important; }
.bo .danger-zone { border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.bo .more-sec #sStartsAtLive { width: 140px; flex: none; }
.bo .more-sec #botRow { background: none; border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bo .more-sec #botRow[hidden] { display: none !important; }
.bo .more-sec #botRow label.inline { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.bo .more-sec #botRow input[type=number] { width: 90px; }
.bo .more-sec #botRow .muted { font-size: 13px; flex-basis: 100%; }
/* The saved lineup editor, the group message composer and the countdowns. */
.bo #showGamesEditor { background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bo #showGamesEditor[hidden] { display: none !important; }
.bo #showGamesEditor h2 { font-size: 15px; margin: 0; }
.bo .show-lineup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bo .show-lineup-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); }
.bo .show-lineup-name { flex: 1 1 160px; font-weight: 600; }
.bo .show-lineup-list button { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.bo details.always-open > summary { display: none; }
.bo .group-app-compose { max-width: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bo .group-message-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bo .group-message-tabs button { min-height: 40px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2); background: none; color: var(--muted); font-size: 13px; font-weight: 550; white-space: normal; }
.bo .group-message-tabs button[aria-pressed="true"] { border-color: var(--mint); background: var(--mint-soft); color: var(--mint-text); }
.bo .group-app-preview { background: #0e1621; border: 0; border-radius: 12px; padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
:root[data-theme="light"] .bo .group-app-preview { background: #dfe7ef; }
.bo .group-app-preview p { align-self: flex-start; background: #182533; color: #e9eef4; border-radius: 12px 12px 12px 4px; padding: 10px 12px; margin: 0; font-size: 14px; white-space: pre-wrap; }
:root[data-theme="light"] .bo .group-app-preview p { background: #fff; color: #111; }
.bo .group-app-preview p:empty { display: none; }
.bo .group-app-button-preview { background: rgba(40,60,85,.9); color: #e9eef4; border-radius: 10px; padding: 9px; text-align: center; font-weight: 550; }
.bo #showGroupCountdowns .group-app-compose > label.inline { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.bo #showGroupCountdowns .row label.inline { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; cursor: pointer; }
.bo #showGroupCountdowns .row label.inline:has(input:checked) { background: var(--card2); color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.bo #showGroupCountdowns .row label.inline input { width: 14px; height: 14px; }
.bo #showGroupCountdowns label:not(.inline) { display: flex; flex-direction: column; gap: 6px; }
.bo #showGroupCountdowns .subtle-box { background: #0e1621; color: #e9eef4; border: 0; border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; }
.bo #showGroupCountdowns .gs-title { font-size: 13px; color: var(--muted); font-weight: 500; margin: 8px 0 4px; }
.bo .st-table-wrap { border: 0; border-radius: 0; margin: 12px 0 0; min-height: 0; max-height: 420px; overflow: auto; }
.bo .st-table { font-size: 14px; }
.bo .st-table thead { background: transparent; }
.bo .st-table th { color: var(--muted); font-weight: 500; font-size: 13px; padding: 10px 8px; }
.bo .st-table td { padding: 10px 8px; }
.bo .st-table .st-session-heading th { background: transparent; border-top: 0; padding: 16px 8px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.bo .st-table .onair td { background: var(--mint-soft); }
.bo .st-table button { min-height: 32px; padding: 0 12px; font-size: 13px; }
.bo #stCurrent { margin: 12px 0 0; font-weight: 600; font-size: 14px; }
.bo .st-preview { height: auto; aspect-ratio: 16 / 9; border-radius: 12px; margin: 0; background: #081820; }
.bo #stMicState { margin: 0; color: var(--muted); }
.bo #stPage { color: var(--muted); font-size: 13px; }

@media (max-width: 1280px) {
  .bo .control { grid-template-columns: 220px minmax(0, 1fr); }
  .bo .control > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 1100px) { .bo .today { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .bo .feature, .bo .tiles { grid-template-columns: 1fr; }
  .bo .control, .bo .control > :last-child { grid-template-columns: 1fr; }
  .bo .stepper .st span.t { display: none; }
  .bo .wiz-foot { margin: 0 -16px -16px; padding: 12px 16px; }
  .bo .shapes, .bo .group-message-tabs { grid-template-columns: 1fr 1fr; }
  .bo .paytable > div { grid-template-columns: 36px 1fr 64px; } .bo .paytable > div > :last-child:not(b) { display: none; }
}

/* ================================================================== Rewards */
.bo .pdrawer { position: sticky; top: 88px; display: flex; flex-direction: column; max-height: calc(100vh - 110px); min-height: 420px; }
.bo .pdrawer .d-body { padding: 18px 20px; min-height: 0; }
.bo .pdrawer[hidden] { display: none !important; }
.bo .sticky { position: sticky; top: 88px; display: flex; flex-direction: column; }
.bo .detail .kv > span:last-child { font-weight: 550; }
.bo .request-remarks { border: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bo .request-remarks h2 { font-size: 15px; margin: 0; }
.bo .request-remarks .hint { margin: 0; }
.bo .request-remarks form { display: flex; flex-direction: column; gap: 8px; }
.bo .request-remarks form label { font-size: 13px; }
.bo .request-remarks textarea { min-height: 70px; }
.bo .request-remarks form button { align-self: flex-start; }
.bo .request-remarks ol { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.bo .request-remarks li { background: var(--card2); border-radius: 10px; padding: 10px 12px; border: 0; font-size: 14px; }
.bo .request-remarks li small { color: var(--faint); font-size: 12px; }
.bo .request-remarks li p { margin: 2px 0 0; white-space: pre-wrap; }
.bo .request-remarks > button.ghost { align-self: flex-start; min-height: 30px; font-size: 12.5px; padding: 0 10px; }
.bo .fulfillment-notifications { margin: 0; }
.bo .fulfillment-settings { width: min(700px, calc(100vw - 32px)); }
.bo .fulfillment-settings h2 { font-size: 20px; }
.bo .fulfillment-settings ul { list-style: none; padding: 0; margin: 8px 0; }
.bo .fulfillment-settings li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bo .fulfillment-settings form { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.bo .fulfillment-settings form label { flex-basis: 100%; }
.bo .fulfillment-settings form input { flex: 1; }
.bo .fulfillment-message-preview { background: #0e1621; color: #e9eef4; border: 0; }
/* Prize cards: the controller's catalogue, laid out as a shop window. */
.bo #cuPrizeList.pz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; max-height: none; list-style: none; padding: 0; }
.bo #cuPrizeList[data-show=active] > li.retired, .bo #cuPrizeList[data-show=retired] > li:not(.retired) { display: none; }
.bo #cuPrizeList > li.empty { display: none; }
.bo .pz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bo .pz-card.retired { opacity: 1; }
.bo .pz-card.retired .pz-photo { filter: grayscale(1); opacity: .6; }
.bo .pz-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 0; margin: 0; background: var(--card2); }
.bo .pz-photo.none { display: grid; place-items: center; color: var(--faint); font-size: 12px; letter-spacing: .1em; }
.bo .pz-body { display: flex; flex-direction: column; gap: 8px; }
.bo .pz-body b { font-size: 16px; font-weight: 650; }
.bo .pz-body > span { display: none; }
.bo .pz-cost { font-family: var(--font); font-size: 15px; color: var(--yellow); font-weight: 600; }
.bo .pz-cost::after { content: " " attr(data-rm); color: var(--faint); font-weight: 400; font-size: 13px; }
.bo .pz-acts { margin: 2px 0 0; gap: 14px; }
.bo .pz-acts button { background: none; border: 0; padding: 0; min-height: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.bo .pz-acts button:hover { color: var(--text); background: none; }
.bo .pz-acts button:last-child { color: var(--coral); }
.bo .pz-card.retired .pz-acts button:last-child { color: var(--link); }
.bo .prize-form { background: none; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bo .prize-form > h3.gs-title, .bo .prize-form #cuPrizeKind, .bo .prize-form label[for=cuPrizeKind], .bo .prize-form label[for=cuPrizeImgFile] { display: none; }
.bo .prize-form .cu-three { display: flex; flex-direction: column; gap: 6px; }
.bo .prize-form label { margin: 10px 0 0; }
.bo .prize-form > .row:last-child { display: none; }
.bo .prize-form .bn-preview { margin: 8px 0 0; padding: 0; background: none; border: 0; display: flex; align-items: center; gap: 12px; }
.bo .prize-form .bn-preview img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.bo .prize-form .bn-preview .row { margin: 0; }
.bo .period-line { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.bo .period-line > .ico { color: var(--mint-text); width: 24px; height: 24px; }
.bo .flowbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bo .flowbar > div { display: flex; gap: 10px; align-items: flex-start; }
.bo .flowbar .dot { width: 10px; height: 10px; border-radius: 3px; margin-top: 5px; flex: none; box-shadow: none; }

/* ================================================================== Players */
.bo .dir-split.with-profile { grid-template-columns: minmax(0, 1.5fr) minmax(380px, 1fr); }
.bo .dir-split:not(.with-profile) { grid-template-columns: minmax(0, 1fr); }
.bo .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bo .mini-stats > div { background: var(--card2); border-radius: 10px; padding: 12px; }
.bo .mini-stats .k { font-size: 12.5px; color: var(--muted); } .bo .mini-stats .v { font-size: 22px; font-weight: 700; }
.bo .hist { display: flex; flex-direction: column; }
.bo .hist > div { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.bo .hist > div:last-child { border-bottom: 0; }
.bo .hist .dt { color: var(--faint); font-size: 12.5px; }
.bo .plus { color: var(--green); font-weight: 650; } .bo .minus { color: var(--coral); font-weight: 650; }
.bo .backbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 0; border-radius: 10px; background: var(--mint-soft); color: var(--mint-text); font-weight: 550; font-size: 14px; border: 0; cursor: pointer; width: 100%; }
.bo .backbar[hidden] { display: none !important; }
.bo .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); display: inline-block; }
.bo .adjust-box { background: var(--card2); }
/* The controller's history and membership lists inside the profile. */
.bo #cuHistoryList { list-style: none; margin: 0; padding: 0; max-height: none; }
.bo #cuHistoryList li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bo #cuHistoryList li:last-child { border-bottom: 0; }
.bo #cuHistoryList .who b { font-weight: 550; font-size: 14px; display: block; }
.bo #cuHistoryList .who span { color: var(--faint); font-size: 12px; display: block; }
.bo #cuHistoryList .cu-kind { font-size: 11px; color: var(--faint); background: var(--card2); border: 0; border-radius: 6px; padding: 2px 7px; }
.bo #cuHistoryList .amt { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.bo #cuHistoryList .amt.up { color: var(--green); } .bo #cuHistoryList .amt.down { color: var(--coral); }
.bo #cuHistoryGroups { list-style: none; margin: 0; padding: 0; }
.bo #cuHistoryGroups li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bo #cuHistoryGroups .g { flex: 1; } .bo #cuHistoryGroups .g b { display: block; }
.bo #cuHistoryGroups .g span { color: var(--faint); font-size: 12.5px; }
.bo #cuHistoryGroups .yes, .bo #cuHistoryGroups .no, .bo #cuHistoryGroups .dunno { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 550; border: 1px solid var(--line2); }
.bo #cuHistoryGroups .yes { color: var(--green); background: var(--green-soft); border-color: transparent; }
.bo #cuHistoryGroups .no { color: var(--coral); background: var(--coral-soft); border-color: transparent; }
.bo #cuHistoryGroups .dunno { color: var(--muted); }
.bo .adjust-form { background: none; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bo .adjust-form .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.bo .adjust-form label { margin: 8px 0 0; display: block; }
.bo .adjust-form > .row { display: none; }
.bo #walletResetPanel { border: 0; padding: 0; margin: 0; }
.bo #walletResetPanel summary { display: none; }
.bo #walletResetPanel .wr-preview { background: var(--card2); border: 0; }
.bo #walletResetPanel #wrConfirm { background: var(--coral); color: #fff; border-color: var(--coral); }
.bo .big-online { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bo .big-online .v { font-size: 56px; font-weight: 750; line-height: 1; }
.bo .pulse-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(72,213,151,.6); animation: bo-ring 1.8s infinite; }
@keyframes bo-ring { 70% { box-shadow: 0 0 0 10px rgba(72,213,151,0); } 100% { box-shadow: 0 0 0 0 rgba(72,213,151,0); } }
.bo .online-card > .card-head, .bo .online-card > .hint:not(#onlineEmpty):not(#onlineUpdated), .bo .online-card > label { display: none; }
.bo .online-card { padding: 0; }
.bo .online-card .online-table-wrap { margin: 0; max-height: 65vh; }
.bo .online-table th { background: var(--card); color: var(--muted); font-weight: 500; font-size: 13px; padding: 10px 12px; }
.bo .online-table td { padding: 12px; font-size: 14px; }
.bo .online-table td:nth-child(2) { color: var(--mint-text); }
.bo .online-table td button { background: none; border: 0; padding: 0; min-height: 0; color: var(--text); font-weight: 600; font-size: 14px; }
.bo .online-table td button:hover { color: var(--link); background: none; }
.bo #onlineEmpty, .bo #onlineUpdated { padding: 0 16px 14px; margin: 10px 0 0; }
.bo .lb-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; max-width: 760px; margin: 0 auto; width: 100%; }
.bo .lb-podium .col { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bo .lb-podium .blk { width: 100%; border-radius: 12px 12px 4px 4px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 14px; gap: 2px; color: rgba(0,0,0,.7); }
.bo .lb-podium .blk b { font-size: 28px; font-weight: 800; } .bo .lb-podium .blk span { font-size: 13px; font-weight: 700; }
.bo th.sortable { cursor: pointer; user-select: none; }
.bo th.sortable:hover, .bo th.sorted { color: var(--text); }
.bo th.sortable .ico { vertical-align: middle; }
.bo .lb-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bo .lb-row:last-of-type { border-bottom: 0; }
.bo .medal { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--card2); color: var(--muted); flex: none; }
.bo .medal.m1 { background: linear-gradient(#ffd966, #f2b320); color: #5a3d00; }
.bo .medal.m2 { background: linear-gradient(#e3e7ee, #9aa3b5); color: #2a3140; }
.bo .medal.m3 { background: linear-gradient(#f0a878, #c8743f); color: #4a2408; }
.bo .split-bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 8px 0 2px; }
.bo .stars { color: #ffc83d; letter-spacing: 1px; }
.bo .stars .off { color: var(--line2); }
.bo .survey-card { height: 0; min-height: 0; padding: 0; margin: 0; border: 0; overflow: hidden; }
.bo [data-tab=Summary] select { display: none !important; }
.bo .survey-admin-scores details, .bo .survey-admin-responses details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bo .survey-admin-scores summary, .bo .survey-admin-responses summary { cursor: pointer; font-weight: 600; }
.bo .survey-admin-table table { font-size: 13.5px; }
.bo .survey-admin-table th { color: var(--muted); font-weight: 500; }
.bo .survey-admin-responses dt { color: var(--muted); font-weight: 500; }
.bo .survey-admin-responses dd { color: var(--text); }

/* ==================================================================== Inbox */
.bo .inbox-v3 { display: block; padding: 0; overflow: hidden; }
#inboxCard.inbox-v3 > .inbox-heading, #inboxCard.inbox-v3 > p.hint, #inboxCard.inbox-v3 > .inbox-filters { display: none; }
#inboxCard.inbox-v3 .inbox-detail > .inbox-heading .pill:empty { display: none; }
.bo .inbox-v3 .inbox-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 0; height: calc(100vh - 64px - 48px - 90px); min-height: 620px; }
.bo .inbox-v3 .inbox-layout[hidden] { display: none !important; }
.bo .inbox-v3 .inbox-sidebar { border-right: 1px solid var(--line); padding: 0; display: flex; flex-direction: column; min-height: 0; }
.bo .list-tools { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); }
.bo .inbox-v3 .inbox-list { max-height: none; overflow-y: auto; flex: 1; }
.bo .inbox-v3 .inbox-sidebar > p.hint { padding: 20px; text-align: center; }
.bo .inbox-v3 .inbox-sidebar > button { margin: 12px; }
.bo .inbox-thread { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "av name state" "av prev prev" "av lang lang"; column-gap: 12px; row-gap: 2px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 16px; margin: 0; background: none; color: var(--text); min-height: 0; }
.bo .inbox-thread:hover { background: var(--hover); }
.bo .inbox-thread[aria-pressed=true] { background: var(--mint-soft); }
.bo .inbox-thread .avatar { grid-area: av; }
.bo .inbox-thread strong { grid-area: name; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo .inbox-thread .inbox-thread-state { grid-area: state; font-size: 12px; color: var(--faint); }
.bo .inbox-thread.has-unread .inbox-thread-state { color: var(--mint-text); font-weight: 600; }
.bo .inbox-thread small:last-child { grid-area: prev; color: var(--muted); font-size: 13.5px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo .inbox-thread .inbox-language { grid-area: lang; margin: 2px 0 0; color: var(--faint); font-size: 12px; }
.bo .inbox-v3 .inbox-detail { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.bo .inbox-v3 .inbox-detail > .inbox-heading { display: flex; align-items: center; gap: 12px; padding: 14px 20px 4px; }
.bo .inbox-v3 .inbox-detail > .inbox-heading h3 { font-size: 16px; flex: 1; }
.bo .inbox-v3 .inbox-detail > .inbox-heading button.ghost { background: none; border: 0; color: var(--muted); padding: 0 8px; }
.bo .inbox-v3 .inbox-detail > p.hint { margin: 0; padding: 0 20px; font-size: 12.5px; }
.bo .inbox-v3 .inbox-detail > p.hint:nth-of-type(2):not(:empty) { padding: 8px 20px 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.bo .inbox-v3 .inbox-detail > button.ghost { align-self: center; margin: 10px 0 0; background: none; border: 0; color: var(--muted); }
.bo .inbox-v3 .inbox-history { flex: 1; height: auto; min-height: 0; margin: 0; border: 0; border-radius: 0; background: none; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bo .inbox-message { max-width: 70%; margin: 0; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--card2); border-bottom-left-radius: 4px; align-self: flex-start; font-size: 14.5px; }
.bo .inbox-message.outgoing { align-self: flex-end; margin: 0; background: var(--mint-soft); border: 1px solid color-mix(in srgb, var(--mint) 30%, transparent); border-radius: 14px; border-bottom-right-radius: 4px; }
.bo .inbox-message p { margin: 4px 0; }
.bo .inbox-message small { color: var(--faint); font-size: 11.5px; }
.bo .inbox-message .message-remove { background: none; border: 0; padding: 0; min-height: 0; color: var(--muted); font-size: 12px; margin-top: 4px; }
.bo .inbox-message img { border-radius: 10px; max-width: min(280px, 100%); }
.bo .inbox-message video { border-radius: 10px; width: 320px; max-width: 100%; }
.bo .inbox-media-video_note video { width: 200px; height: 200px; border-radius: 50%; }
.bo .inbox-media a { color: var(--mint-text); }
.bo .inbox-v3 .inbox-detail > p[role=status] { padding: 0 20px; }
.bo .inbox-v3 .inbox-composer { border-top: 1px solid var(--line); padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.bo .inbox-composer[hidden] { display: none !important; }
.bo .inbox-v3 .module-bar, .bo .inbox-v3 .inbox-template-bar { display: none !important; }
.bo .tplbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bo .reply { border: 1px solid var(--line2); border-radius: 12px; background: var(--card2); transition: border-color .12s, box-shadow .12s; }
.bo .reply:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.bo .reply .reply-label { display: block; margin: 0; font-size: 0; }
.bo .reply textarea { border: 0; background: transparent; box-shadow: none !important; min-height: 64px; height: 64px; resize: none; margin: 0; font-size: 14.5px; }
.bo .reply-foot { display: flex; align-items: center; gap: 10px; padding: 4px 8px 8px; }
.bo .reply-foot .icon-btn { cursor: pointer; }
.bo .reply-foot .icon-btn input { display: none; }
.bo .reply-foot p.hint { margin: 0; font-size: 12.5px; color: var(--faint); }
.bo .attach { display: flex; align-items: center; gap: 10px; padding: 10px 12px 0; }
.bo .attach img, .bo .attach video { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; margin: 0; }
/* Inbox → Groups: the module's card hides while the group composer shows. */
.bo #inboxCard.groups-mode { display: none !important; }
.bo .group-send-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px; align-items: start; }
.bo .group-send-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bo .group-send .reply-foot, .bo .group-send .attach { padding: 0; }
.bo .group-send-shot { display: block; max-width: 100%; border-radius: 8px; margin: 4px 0 6px; }
@media (max-width: 900px) { .bo .group-send-grid { grid-template-columns: 1fr; } }
.bo .attach[hidden] { display: none !important; }
.bo .inbox-v3 .inbox-composer > button.ghost { align-self: flex-start; }
.bo .sent-bot-messages { padding: 16px 20px; }
.bo .sent-bot-messages form { display: flex; gap: 10px; flex-wrap: wrap; }
.bo .sent-bot-messages .inbox-message { max-width: none; }
.bo .inbox-recipient-picker { width: min(640px, calc(100vw - 32px)); }
.bo .inbox-recipient-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bo .inbox-template-editor { width: min(640px, calc(100vw - 32px)); }
/* Template picker: a fixed size so the preview never moves under the pointer. */
.bo .tplpop { width: min(680px, calc(100vw - 48px)); height: 400px; padding: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: 100%; overflow: hidden; }
.bo .tplpop.empty-pop { display: block; width: 320px; height: auto; }
.bo .tpl-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.bo .tpl-head { display: flex; justify-content: space-between; padding: 12px 14px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; }
.bo .tpl-items { overflow-y: auto; overflow-x: hidden; padding: 2px 6px 6px; flex: 1; }
.bo .pop .tpl-item { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 9px 10px; white-space: normal; }
.bo .tpl-item b { font-weight: 600; font-size: 14px; }
.bo .tpl-item small { color: var(--faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; display: block; }
.bo .pop .tpl-item.on { background: var(--mint-soft); }
.bo .tpl-item.on b { color: var(--mint-text); }
.bo .pop .tpl-new { border-top: 1px solid var(--line); border-radius: 0; padding: 12px 14px; color: var(--link); font-weight: 550; }
.bo .tpl-prev { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
.bo .tplpop .seg { align-self: flex-start; }
.bo .tplpop .seg button { height: 28px; padding: 0 12px; font-size: 13px; gap: 6px; }
.bo .tpl-tg { flex: 1; min-height: 0; overflow-y: auto; }
.bo .tpl-note { font-size: 12px; min-height: 16px; }
.bo .tpl-tg .tg-msg { max-width: 100%; }
.bo .tpl-keys { font-size: 11.5px; border-top: 1px solid var(--line); padding-top: 8px; }

/* ================================================================== Content */
.bo .qb-card #qbList { max-height: none; overflow: visible; margin: 0; list-style: none; padding: 0; }
.bo #qbList li { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.bo #qbList li:hover { background: var(--hover); }
.bo #qbList .q { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 550; }
.bo #qbList .ans { color: var(--muted); font-size: 13.5px; font-weight: 400; margin: 4px 0 8px; }
.bo .qb-tag { font-size: 12px; font-weight: 550; letter-spacing: 0; padding: 0 9px; height: 24px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--card2); border: 0; color: var(--muted); }
.bo .qb-tag.ok { color: var(--green); background: var(--green-soft); }
.bo .qb-tag.no { color: var(--coral); background: var(--coral-soft); }
.bo .qb-why { color: var(--coral); font-size: 12.5px; font-weight: 400; }
.bo #qbList .acts { display: flex; gap: 10px; flex-shrink: 0; }
.bo #qbList .acts button { background: none; border: 0; padding: 0; min-height: 0; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.bo #qbList .acts button:hover { color: var(--text); background: none; }
.bo #qbList .acts button:last-child { color: var(--coral); }
.bo #qbList .qb-empty { padding: 30px; color: var(--muted); }
.bo .qb-edit { padding: 20px; gap: 14px; overflow-y: auto; }
.bo .qb-edit .qb-editor { background: none; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bo .qb-editor h3 { font-size: 18px; }
.bo .qb-editor label { margin: 10px 0 0; display: block; }
.bo .qb-editor .opt-row { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.bo .qb-editor .opt-row .rm { min-height: 32px; width: 32px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 18px; }
.bo #qbAddOption { align-self: flex-start; background: none; border: 0; color: var(--link); padding: 0; min-height: 0; }
.bo #qbEditorState { color: var(--amber); }
.bo .qb-editor > .row { margin-top: 12px; }
.bo .qb-preview { margin-top: 6px; }
.bo .qb-preview[hidden] { display: none !important; }
.bo .bn-preview { margin: 0; padding: 0; background: none; border: 0; }
.bo .bn-preview img { max-width: 100% !important; width: 100%; border-radius: 10px; border: 0; display: block; }
.bo #cuShowImgPreview img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; }
.bo #cuBannerOn, .bo #cuAnnOn { display: none; }
.bo .phone-card { align-items: center; gap: 18px; }
.bo .phone { width: 300px; margin: 0 auto; border-radius: 40px; padding: 12px; background: #06080d; border: 2px solid #2a3142; box-shadow: var(--shadow); }
.bo .phone .scr { border-radius: 30px; overflow: hidden; background: #0f1320; color: #eef1f7; height: 560px; display: flex; flex-direction: column; }
.bo .phone .sb { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 12px; font-weight: 600; }
.bo .phone .plogo { width: 110px; margin: 4px auto 8px; display: block; }
.bo .phone .pban { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; display: block; }
.bo .phone .pban[hidden] { display: none; }
.bo .phone .ann-preview, .bo .phone #cuAnnPreview { width: 100%; max-width: none; height: 56px; border: 0; border-radius: 0; display: block; background: #123c43; }
.bo .phone #cuAnnPreview[hidden] { display: none; }
.bo .pcard { margin: 10px 12px 0; border-radius: 14px; background: #171c2b; padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 12px; color: #a3abbd; }
.bo .pcard b { display: block; color: #eef1f7; font-size: 17px; }
.bo .pcard b.y { color: #ffc83d; font-size: 24px; }
.bo .pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 12px; }
.bo .pgrid div { background: #171c2b; border-radius: 12px; padding: 10px 4px; text-align: center; font-size: 10.5px; color: #a3abbd; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bo .pnav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 10.5px; color: #a3abbd; }
.bo .pnav span { display: flex; flex-direction: column; align-items: center; gap: 3px; } .bo .pnav span.on { color: #5fd4b8; }
.bo #cuAnnSpeedValue { padding-right: 40px; }
.bo .bm-grid { grid-template-columns: minmax(220px, 1fr) minmax(0, 1.4fr) minmax(280px, 1fr); align-items: start; }
.bo .mlist { display: flex; flex-direction: column; max-height: 70vh; overflow-y: auto; margin-top: 8px; }
.bo .mlist > * { flex-shrink: 0; }
.bo .mlist .grp { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); padding: 14px 12px 6px; border: 0; }
.bo .mlist button { text-align: left; border: 0; background: none; padding: 9px 12px; min-height: 0; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); }
.bo .mlist button:hover { background: var(--hover); color: var(--text); }
.bo .mlist button.on { background: var(--mint-soft); color: var(--mint-text); font-weight: 600; }
.bo #botMessagesStatus { margin: 8px 12px 0; font-size: 12.5px; }
.bo #botMessagesList { display: none !important; }
.bo #botMessageText { min-height: 140px; margin-top: 6px; }
.bo .ph-row { margin: 10px 0 6px; }
.bo .ph { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--mint-soft); color: var(--mint-text); font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; cursor: pointer; border: 0; line-height: 22px; min-height: 0; }
.bo .ph.ok { background: var(--green-soft); color: var(--green); }
.bo .ph.missing { background: var(--coral-soft); color: var(--coral); }
.bo .tg-msg pre { margin: 0; white-space: pre-wrap; font: inherit; padding: 0 !important; border: 0 !important; }

/* ================================================================= Settings */
.bo .sec-title { font-size: 19px; margin: 0 0 6px; font-weight: 650; }
.bo .gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bo .gcard { padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: opacity .15s; }
.bo .gcard .top { display: flex; align-items: center; gap: 12px; }
.bo .gcard .top img { width: 44px; height: 44px; }
.bo .gcard .top b { flex: 1; font-size: 15px; }
.bo .gcard.off .top img, .bo .gcard.off .top b, .bo .gcard.off .fields { opacity: .45; }
.bo .gcard .fields { display: flex; flex-direction: column; gap: 8px; }
.bo .gcard .f { display: grid; grid-template-columns: 1fr 84px; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 0; }
.bo .gcard .f input { min-height: 36px; }
.bo .gcard .none { color: var(--faint); font-size: 13.5px; }
.bo .fgrid.dim, .bo .radios.dim { opacity: .45; }
.bo .dirty { font-size: 13px; color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.bo .dirty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.bo .dirty[hidden] { display: none !important; }
.bo select.proxied { display: none !important; }
.bo .grp-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bo .grp-row:last-child { border-bottom: 0; }
.bo .grp-row .grow { flex: 1; min-width: 180px; }
.bo .acc { display: flex; gap: 4px; flex-wrap: wrap; }
.bo .lvl { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; border: 1.5px solid var(--line2); color: var(--faint); white-space: nowrap; }
.bo .lvl.edit { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }
.bo .lvl.view { border-color: var(--mint); color: var(--mint-text); }
.bo .lvl.none { border-style: dashed; text-decoration: line-through; }
.bo .access-card { background: none; border: 0; padding: 0; margin: 0; display: block; }
.bo .access-card > .card-head, .bo .access-card > #tmAccessNote, .bo .access-card > .row { display: none; }
.bo .ac-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bo .ac-row .ac-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.bo .ac-row .ac-name span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.bo .ac-row .ac-name .opens { display: block; color: var(--faint); font-size: 12px; font-weight: 400; }
.bo .ac-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); flex-shrink: 0; }
.bo .ac-seg button { height: 30px; min-height: 0; padding: 0 12px; font-size: 13px; border-radius: 9px; border: 0; background: none; color: var(--muted); font-weight: 550; }
.bo .ac-seg button.on { background: var(--card2); color: var(--text); box-shadow: 0 1px 0 var(--line2) inset; }
.bo .ac-seg button.on[data-lv=edit] { background: var(--mint); color: var(--mint-ink); }
.bo .ac-seg button.on[data-lv=none] { background: var(--coral-soft); color: var(--coral); }
.bo .audit-card #auditPanel { border: 0; padding: 0 20px 20px; background: none; }
.bo .audit-card #auditPanel > summary { display: none; }
.bo .audit-filters { background: var(--card2); }
.bo .audit-table th { background: var(--card2); }
.bo .add-person { background: none; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bo .add-person > .card-head { display: none; }
.bo .add-person .cu-three { display: flex; flex-direction: column; gap: 6px; }
.bo .add-person label { margin: 10px 0 0; display: block; }
.bo .add-person .whenrow { margin-top: 6px; }
.bo .add-person > .row { display: none; }
.bo .backup-hero { max-width: 640px; margin: 24px auto 0; text-align: center; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bo .backup-hero > .ico { width: 64px; height: 64px; color: var(--mint-text); stroke-width: 1.4; }
.bo .backup-hero h2 { justify-content: center; font-size: 24px; margin: 6px 0 0; }
.bo .backup-hero [data-slot=btn] { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }
.bo .status-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.bo .status-line i { width: 9px; height: 9px; border-radius: 50%; }
.bo .timeline { display: flex; flex-direction: column; }
.bo .tl { display: grid; grid-template-columns: 22px 140px 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bo .tl:last-child { border-bottom: 0; }
.bo .tl .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); margin-left: 6px; box-shadow: none; }
.bo .tl .ba { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bo .tl .pill { font-variant-numeric: tabular-nums; }
.bo .tl .pill.after { background: var(--mint-soft); color: var(--mint-text); border-color: transparent; font-weight: 600; }
.bo .flow { display: flex; align-items: flex-start; gap: 10px; }
.bo .flow .st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; color: var(--muted); }
.bo .flow .st .c { width: 60px; height: 60px; border-radius: 16px; background: var(--card2); display: grid; place-items: center; color: var(--text); }
.bo .flow .st .c.y { background: rgba(255,200,61,.15); color: var(--yellow); }
.bo .flow .arr { color: var(--faint); margin-top: 20px; }
.bo .coin-eq { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 8px 0 18px; }
.bo .coin-eq .c { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.bo .coin-eq .coin { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe28a, #f2b320 60%, #c98a06); display: grid; place-items: center; color: #6a4700; font-weight: 800; box-shadow: 0 6px 0 #b77c00; }
.bo .coin-eq .note { width: 110px; height: 64px; border-radius: 8px; background: linear-gradient(135deg, #3fbf7f, #1e8f58); display: grid; place-items: center; color: #eafff3; font-weight: 800; border: 3px solid #9ee3bf; margin: 0; font-size: 20px; }
.bo .coin-eq .eq { font-size: 28px; color: var(--faint); }
.bo #cuRefRoundsBox, .bo #cuRollPctBox { display: flex; flex-direction: column; gap: 6px; }
.bo #cuRefRoundsBox[hidden], .bo #cuRollPctBox[hidden] { display: none !important; }
.bo #cuRefRoundsBox input, .bo #cuRollPctBox input { max-width: 160px; }

@media (max-width: 1100px) {
  .bo .pdrawer { position: static; max-height: none; }
  .bo .inbox-v3 .inbox-layout { grid-template-columns: 1fr; height: auto; }
  .bo .inbox-v3 .inbox-sidebar { border-right: 0; border-bottom: 1px solid var(--line); max-height: 320px; }
  .bo .inbox-v3 .inbox-history { max-height: 420px; }
  .bo .bm-grid { grid-template-columns: 1fr; } .bo .flowbar { grid-template-columns: 1fr 1fr; }
  .bo .dir-split.with-profile { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bo .tl { grid-template-columns: 22px 1fr; } .bo .tl > :nth-child(n+3) { grid-column: 2; }
  .bo .tl .ba { justify-content: flex-start; }
  .bo .tplpop { grid-template-columns: 1fr; grid-template-rows: 150px minmax(0, 1fr); height: min(520px, 70vh); }
  .bo .tpl-list { border-right: 0; border-bottom: 1px solid var(--line); } .bo .tpl-keys { display: none; }
  .bo .ac-row { flex-wrap: wrap; }
  .bo .mini-stats { grid-template-columns: 1fr 1fr; }
}
.bo .d-head, .bo .d-foot { flex-shrink: 0; }

/* Team & access, 28 Sep 2026: one switch per page, roles as saved sets. */
.bo .team-tabs { margin: 0 0 18px; align-self: flex-start; width: max-content; }
.bo .acc-grid { display: block; }
.bo .acc-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.bo .acc-sec { margin: 0 0 10px; }
.bo .acc-head { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 14px 0 6px; }
.bo .acc-row { display: flex; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid var(--line); }
.bo .acc-name { flex: 1; min-width: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.bo .acc-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); flex-shrink: 0; }
.bo .acc-seg button { height: 26px; min-height: 0; min-width: 52px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; border: 0; background: none; color: var(--muted); font-weight: 550; cursor: pointer; filter: none; }
.bo .acc-seg button.on[data-lv=none] { background: var(--hover); color: var(--text); box-shadow: 0 1px 0 var(--line2) inset; }
.bo .acc-seg button.on[data-lv=view] { background: color-mix(in srgb, var(--link) 26%, transparent); color: var(--link); }
.bo .acc-seg button.on[data-lv=edit] { background: var(--mint); color: var(--mint-ink); }
.bo .acc-tick { display: flex; align-items: center; gap: 8px; min-height: 36px; padding-left: 22px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; }
.bo .acc-tick input { width: 16px; height: 16px; min-height: 0; accent-color: var(--mint); margin: 0; }
.bo .acc-tick.dim { opacity: .45; cursor: not-allowed; }
.bo .acc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.bo .acc-lock { display: flex; align-items: center; gap: 8px; padding: 14px 0 4px; font-size: 13px; color: var(--faint); }
.bo .roles-view { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.bo .roles-view[hidden] { display: none; }
.bo .role-list { display: flex; flex-direction: column; gap: 10px; }
.bo .role-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--text); cursor: pointer; filter: none; }
.bo .role-card b { font-size: 16px; }
.bo .role-card .faint { display: inline-flex; align-items: center; gap: 6px; }
.bo .role-card.on { border-color: var(--mint); background: var(--mint-soft); }
.bo .role-edit { display: flex; flex-direction: column; gap: 10px; }
.bo .role-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bo .role-foot { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
@media (max-width: 900px) {
  .bo .roles-view, .bo .acc-grid.two, .bo .role-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Co-hosts on the broadcast desk (28 Sep 2026). */
.bo .cohost { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bo .cohost:empty { display: none; }
.bo .cohost-hear { justify-content: space-between; }
