
/* =====================================================================
   QBFS Press Box — custom layer
   Brand: midnight green #004C54, silver #A5ACAF, black, loud but readable.
   Tailwind (CDN) does utilities; everything structural/theme lives here so
   the app still looks intentional if a CDN is blocked.
   ===================================================================== */

/* Brand tokens. docs/BRAND.md is the source of truth: every value below is listed there
   with its role, and every colour that is NOT listed here is a documented exception in
   that file. Names are stable — templates and static/app.js read them.
   Signal Green (--pb-kelly) is the year-round brand accent; the seasonal swatches
   (Phillies / Sixers / Flyers) live in docs/BRAND.md, not in the app tokens. */
:root {
  /* --- brand -------------------------------------------------------------
     --pb-kelly is the QBFS primary. --pb-mid is the only brand colour with a solid
     field big enough for white text (9.7:1), so it is the tile / active-nav surface. */
  --pb-kelly:     #4CBB17;   /* QBFS primary: accent only, never text behind white */
  --pb-mid:       #004C54;   /* midnight green: tiles, active nav, meta theme-color */
  --pb-mid-2:     #0A6B76;   /* midnight green, one step lighter (hover on dark) */
  --pb-text-2:    #A5ACAF;   /* silver: secondary text, 7.8:1 on --pb-panel */

  /* --- surfaces & lines (neutral ramp, not brand hues) ------------------- */
  --pb-bg:        #0B0F10;
  --pb-bg-2:      #0F1416;
  --pb-panel:     #12181A;
  --pb-panel-2:   #171F22;
  --pb-panel-3:   #1D272A;
  --pb-line:      #263235;
  --pb-line-2:    #33403F;
  --pb-line-3:    #46585A;   /* one step brighter than --pb-line-2 (button hover edge) */
  --pb-sunken:    #0D1213;   /* wells inside a panel: media tiles, code, out-of-month cells */
  --pb-code-bg:   #070B0C;   /* <pre>/code blocks, one step below every panel */
  --pb-text:      #E9EEF0;   /* body text; also the light logo fill */
  --pb-muted:     #7F8C90;   /* labels/dim text, 5.2:1 on --pb-panel (BRAND.md §6: 4.4:1 on
                                --pb-panel-3, hover only) */

  /* --- action -----------------------------------------------------------
     EXCEPTION (documented in BRAND.md): the action teal is not a brand hue. It is the
     lightest teal that still carries white text at AA (4.95:1), which Kelly Green
     (#4CBB17) cannot (2.49:1) and Midnight Green only just does on small text. */
  --pb-primary:   #0E7C86;
  --pb-primary-h: #0A616A;   /* hover, 7.2:1 with white */
  --pb-primary-t: #7FE3EA;   /* link / focus text on dark panels, 12:1 */
  --pb-focus:     #7FE3EA;

  /* --- status (semantic, not brand: one hue per meaning) ----------------- */
  --pb-ok:        #35C46A;   --pb-ok-bg:    #10331F;   --pb-ok-line:    #1F6B41;
  --pb-warn:      #F5A524;   --pb-warn-bg:  #33260B;   --pb-warn-line:  #7A5A15;
  --pb-err:       #F2685F;   --pb-err-bg:   #331714;   --pb-err-line:   #7A2E28;
  --pb-info:      #56B6E8;   --pb-info-bg:  #102A38;   --pb-info-line:  #1C5C7D;

  /* --- shape, motion, type ---------------------------------------------- */
  --pb-radius:    10px;
  --pb-radius-sm: 7px;
  --pb-radius-lg: 16px;
  --pb-shadow:    0 1px 2px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.7);
  --pb-shadow-lg: 0 24px 60px -20px rgba(0,0,0,.85);
  --pb-speed:     140ms;
  --pb-display: "Anton", "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --pb-cond:    "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --pb-body:    "Barlow", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pb-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pb-bg);
  color: var(--pb-text);
  font-family: var(--pb-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(0,76,84,.38), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(76,187,23,.07), transparent 55%);
  background-attachment: fixed;
}
h1, h2, h3, h4 {
  font-family: var(--pb-cond);
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0 0 .35em;
  line-height: 1.08;
}
h1 { font-family: var(--pb-display); font-size: 30px; letter-spacing: .015em; text-transform: uppercase; }
h2 { font-size: 22px; text-transform: uppercase; }
h3 { font-size: 18px; }
a { color: var(--pb-primary-t); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 .8em; }
hr { border: 0; border-top: 1px solid var(--pb-line); margin: 18px 0; }
::selection { background: var(--pb-mid); color: #fff; }
:focus-visible { outline: 2px solid var(--pb-focus); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

.num, td.num, .num td { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.mono { font-family: var(--pb-mono); font-size: 12.5px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- layout ---------- */
.pb-shell { max-width: 1440px; margin: 0 auto; padding: 0 20px 96px; }
@media (min-width: 900px) { .pb-shell { padding-bottom: 40px; } }
.pb-page-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  justify-content: space-between; margin: 26px 0 18px;
}
.pb-page-head .pb-sub { color: var(--pb-text-2); margin: 2px 0 0; font-size: 14px; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.grid { display: grid; gap: 16px; }
/* grid/flex items default to min-width:auto, which lets wide content (a 780px month grid,
   a long label) push the whole page sideways on a phone. Let every child shrink. */
.grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .pb-grid-main > *,
.stack > *, .row > *, .row-between > * { min-width: 0; }
.pb-card, .pb-card-head > * { min-width: 0; }
/* min(…, 100%) keeps a column from ever being wider than its container (phones) */
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 4px } .mt-8 { margin-top: 8px } .mt-16 { margin-top: 16px } .mt-24 { margin-top: 24px }
.mb-8 { margin-bottom: 8px } .mb-16 { margin-bottom: 16px }
.text-muted { color: var(--pb-text-2); }
.text-dim { color: var(--pb-muted); }
.text-sm { font-size: 13px } .text-xs { font-size: 11.5px }
.text-right { text-align: right } .text-center { text-align: center }
.upper { text-transform: uppercase; letter-spacing: .06em; }
.nowrap { white-space: nowrap }
.cond { font-family: var(--pb-cond); }

/* ---------- top nav ---------- */
.pb-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9,13,14,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pb-line);
}
.pb-topbar-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px; height: 60px;
}
.pb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pb-logo:hover { text-decoration: none; }
/* Rounded brand tile for a standalone icon badge (the media-library upload zone). This is
   the shape language the old placeholder "PB" tile used — it is NOT the mark: every brand
   lockup in the app is .pb-logo-img beside .pb-logo-text. */
.pb-icon-tile {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--pb-mid), var(--pb-primary) 65%, var(--pb-kelly));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
/* The real mark: static/img/brand/qbfs-mark-qb-light.svg — the "QB" row of the canonical
   logo recoloured #E9EEF0 (--pb-text) for dark chrome. Aspect ratio 283.08:98.05, so the
   height alone drives the width. See docs/BRAND.md for which variant belongs on which
   surface. The words beside it ("Press Box" / "Quarterback Factory") are the text
   fallback: if the image never loads the header still reads. */
.pb-logo-img { display: block; flex: none; height: 26px; width: auto; }
.pb-logo-img--lg { height: 33px; }
.pb-logo-text { font-family: var(--pb-display); font-size: 17px; letter-spacing: .05em; color: #fff; text-transform: uppercase;
  white-space: nowrap; }   /* the product name is one line: never break "Press Box" */
.pb-logo-sub { font-size: 10.5px; color: var(--pb-muted); letter-spacing: .14em; text-transform: uppercase; margin-top: -3px; }
.pb-nav { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pb-nav::-webkit-scrollbar { display: none; }
.pb-nav a {
  color: var(--pb-text-2); padding: 8px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  text-decoration: none; transition: background var(--pb-speed), color var(--pb-speed);
}
.pb-nav a:hover { background: var(--pb-panel-2); color: var(--pb-text); text-decoration: none; }
.pb-nav a[aria-current="page"] { background: var(--pb-mid); color: #fff; }
.pb-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.pb-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--pb-panel-3); color: var(--pb-text); font-weight: 700; font-size: 12px;
  border: 1px solid var(--pb-line-2); text-transform: uppercase;
}
.pb-menu { position: relative; }
.pb-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 234px; z-index: 80;
  background: var(--pb-panel); border: 1px solid var(--pb-line-2);
  border-radius: var(--pb-radius); box-shadow: var(--pb-shadow-lg); padding: 6px;
}
.pb-menu-panel a, .pb-menu-panel button {
  display: flex; width: 100%; align-items: center; gap: 8px; text-align: left;
  background: none; border: 0; color: var(--pb-text); font: inherit; font-size: 13.5px;
  padding: 8px 10px; border-radius: var(--pb-radius-sm); cursor: pointer; text-decoration: none;
}
.pb-menu-panel a:hover, .pb-menu-panel button:hover { background: var(--pb-panel-2); text-decoration: none; }
.pb-menu-sep { height: 1px; background: var(--pb-line); margin: 5px 4px; }
.pb-menu-label { padding: 8px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--pb-muted); }

.pb-bell { position: relative; }
.pb-bell-count {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--pb-err); color: #fff; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--pb-bg);
}
.pb-bell-panel { width: min(380px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; }
.pb-notif { display: block; padding: 10px; border-radius: var(--pb-radius-sm); border-bottom: 1px solid var(--pb-line); }
.pb-notif:last-child { border-bottom: 0; }
.pb-notif:hover { background: var(--pb-panel-2); }
.pb-notif-title { font-weight: 600; font-size: 13.5px; }
.pb-notif.unread { background: rgba(14,124,134,.09); }

/* ---------- bottom nav (phones) ---------- */
.pb-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  display: none; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(9,13,14,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--pb-line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.pb-bottomnav a {
  display: grid; justify-items: center; gap: 2px; padding: 7px 2px; border-radius: var(--pb-radius-sm);
  color: var(--pb-text-2); font-size: 10.5px; font-weight: 600; text-decoration: none;
  text-transform: uppercase; letter-spacing: .04em;
}
.pb-bottomnav a svg { width: 20px; height: 20px; stroke-width: 1.7; }
.pb-bottomnav a[aria-current="page"] { color: var(--pb-primary-t); background: rgba(14,124,134,.16); }
@media (max-width: 719px) {
  .pb-bottomnav { display: grid; }
  .pb-nav { display: none; }
  .pb-shell { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 24px; }
  .pb-topbar-inner { padding: 0 14px; height: 54px; gap: 12px; }
  .pb-logo-sub { display: none; }
  .pb-logo-img { height: 18px; }   /* still reads at 375 px beside a 17 px "Press Box" */
  .pb-page-head { margin-top: 18px; }
  /* on-deck rows: time + text on one line, actions on the next */
  .pb-ondeck-item { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; }
  .pb-ondeck-item > :last-child { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .pb-composer { gap: 14px; }
  .pb-phone { max-width: 240px; }
  .pb-cal-cell { min-height: 84px; }
  .pb-bar-row { grid-template-columns: 84px 1fr 70px; font-size: 12px; }
  .pb-menu-panel { right: -6px; }
}

/* ---------- cards / panels ---------- */
.pb-card {
  background: var(--pb-panel); border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-lg); padding: 16px; box-shadow: var(--pb-shadow);
}
.pb-card--flush { padding: 0; overflow: hidden; }
.pb-card--pad-sm { padding: 12px; }
.pb-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--pb-line);
}
.pb-card-head h2, .pb-card-head h3 { margin: 0; font-size: 15px; letter-spacing: .05em; }
.pb-card-body { padding: 16px; }
.pb-card-body--tight { padding: 12px; }
.pb-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--pb-muted); font-weight: 700; }
.pb-section-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; }
.pb-section-title h2 { margin: 0; font-size: 16px; }
.pb-section-title::after { content: ""; flex: 1; height: 1px; background: var(--pb-line); }

/* dashboard: two columns on desktop, one on tablet/phone */
.pb-grid-main { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 980px) { .pb-grid-main { grid-template-columns: minmax(0, 1fr); } }

/* ---------- KPI tiles ---------- */
.pb-kpi { background: var(--pb-panel); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 12px 14px; }
.pb-kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--pb-muted); font-weight: 700; }
.pb-kpi-value {
  font-family: var(--pb-cond); font-size: 27px; line-height: 1.15; font-weight: 700;
  font-variant-numeric: tabular-nums; margin-top: 2px;
}
.pb-kpi-sub { font-size: 12px; color: var(--pb-text-2); }
.pb-kpi-delta-up { color: var(--pb-ok); font-size: 12px; font-weight: 700; }
.pb-kpi-delta-down { color: var(--pb-err); font-size: 12px; font-weight: 700; }

/* ---------- buttons ---------- */
.pb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--pb-cond); font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 8px 14px; border-radius: var(--pb-radius-sm);
  border: 1px solid var(--pb-line-2); background: var(--pb-panel-2); color: var(--pb-text);
  cursor: pointer; text-decoration: none; transition: background var(--pb-speed), border-color var(--pb-speed), transform var(--pb-speed);
  min-height: 38px; white-space: nowrap;
}
.pb-btn:hover { background: var(--pb-panel-3); text-decoration: none; border-color: var(--pb-line-3); }
.pb-btn:active { transform: translateY(1px); }
.pb-btn[disabled], .pb-btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pb-btn--primary { background: var(--pb-primary); border-color: #0B6B74; color: #fff; }
.pb-btn--primary:hover { background: var(--pb-primary-h); border-color: var(--pb-primary-h); }
.pb-btn--brand { background: var(--pb-mid); border-color: #06636e; color: #fff; }
.pb-btn--brand:hover { background: var(--pb-mid-2); }
.pb-btn--ok { background: var(--pb-ok-bg); border-color: var(--pb-ok-line); color: #B7F5CD; }
.pb-btn--ok:hover { background: #16452A; }
.pb-btn--danger { background: var(--pb-err-bg); border-color: var(--pb-err-line); color: #FFD3CF; }
.pb-btn--danger:hover { background: #43190F; }
.pb-btn--ghost { background: transparent; border-color: var(--pb-line); }
.pb-btn--ghost:hover { background: var(--pb-panel-2); }
.pb-btn--sm { font-size: 12.5px; padding: 4px 10px; min-height: 30px; }
.pb-btn--lg { font-size: 16px; padding: 11px 20px; min-height: 46px; }
.pb-btn--icon { padding: 7px; min-height: 34px; }
.pb-btn--block { width: 100%; }
.pb-btn-group { display: inline-flex; }
.pb-btn-group .pb-btn { border-radius: 0; margin-left: -1px; }
.pb-btn-group .pb-btn:first-child { border-radius: var(--pb-radius-sm) 0 0 var(--pb-radius-sm); margin-left: 0; }
.pb-btn-group .pb-btn:last-child { border-radius: 0 var(--pb-radius-sm) var(--pb-radius-sm) 0; }
.pb-btn-group .pb-btn[aria-pressed="true"] { background: var(--pb-mid); border-color: var(--pb-primary-h); color: #fff; z-index: 1; }

/* ---------- forms ---------- */
label, .pb-label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--pb-text-2); margin-bottom: 5px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="url"],
input[type="number"], input[type="datetime-local"], input[type="date"], input[type="time"],
input[type="search"], input[type="file"], select, textarea, .pb-input {
  width: 100%; background: var(--pb-bg-2); color: var(--pb-text);
  border: 1px solid var(--pb-line-2); border-radius: var(--pb-radius-sm);
  padding: 9px 11px; font: inherit; font-size: 14px; transition: border-color var(--pb-speed), background var(--pb-speed);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #61706F; }
input:focus, select:focus, textarea:focus { border-color: var(--pb-primary); background: #0C1213; outline: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--pb-err); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pb-text-2) 50%), linear-gradient(135deg, var(--pb-text-2) 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--pb-primary); }
.pb-field { margin-bottom: 13px; }
.pb-hint { font-size: 12px; color: var(--pb-muted); margin-top: 4px; }
.pb-error { font-size: 12.5px; color: var(--pb-err); margin-top: 4px; font-weight: 600; }
.pb-inline-field { display: flex; gap: 8px; align-items: center; }
.pb-switch { display: flex; align-items: center; gap: 9px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pb-text); font-weight: 500; }
.pb-switch input { flex: none; }

/* ---------- tables ---------- */
.pb-table-wrap { overflow-x: auto; }
.pb-scroll-x { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
/* a card that clips its content must never clip a scrollable grid instead of scrolling it */
.pb-card--flush > .pb-scroll-x, .pb-card > .pb-scroll-x { overflow-x: auto; }
table.pb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pb-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--pb-muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--pb-line-2);
  background: var(--pb-bg-2); position: sticky; top: 0; white-space: nowrap;
}
.pb-table td { padding: 11px 12px; border-bottom: 1px solid var(--pb-line); vertical-align: middle; }
.pb-table tbody tr:hover { background: rgba(255,255,255,.022); }
.pb-table tbody tr:last-child td { border-bottom: 0; }
.pb-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pb-table--compact td, .pb-table--compact th { padding: 7px 10px; }

/* ---------- badges / pills ---------- */
.pb-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2.5px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  border: 1px solid var(--pb-line-2); background: var(--pb-panel-2); color: var(--pb-text-2);
  white-space: nowrap;
}
.pb-badge--ok { background: var(--pb-ok-bg); border-color: var(--pb-ok-line); color: #A7EFC3; }
.pb-badge--warn { background: var(--pb-warn-bg); border-color: var(--pb-warn-line); color: #FFD79A; }
.pb-badge--err { background: var(--pb-err-bg); border-color: var(--pb-err-line); color: #FFC9C4; }
.pb-badge--info { background: var(--pb-info-bg); border-color: var(--pb-info-line); color: #B6E4FB; }
.pb-badge--brand { background: var(--pb-mid); border-color: var(--pb-primary-h); color: #fff; }
.pb-badge--plain { background: transparent; }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.pb-dot--ok { background: var(--pb-ok); box-shadow: 0 0 0 3px rgba(53,196,106,.16); }
.pb-dot--err { background: var(--pb-err); box-shadow: 0 0 0 3px rgba(242,104,95,.16); }
.pb-dot--warn { background: var(--pb-warn); box-shadow: 0 0 0 3px rgba(245,165,36,.16); }
.pb-dot--unknown { background: var(--pb-muted); }

/* platform chips */
.pb-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--pb-line-2); color: var(--pb-text-2);
  background: var(--pb-panel-2);
}
.pb-chip .pb-chip-glyph { font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.pl-instagram { --pl: #E1306C; } .pl-facebook { --pl: #1877F2; } .pl-youtube { --pl: #FF3D3D; }
.pl-tiktok { --pl: #25F4EE; } .pl-x { --pl: #E7E9EA; } .pl-assisted { --pl: #A5ACAF; }
.pb-chip.pl-instagram, .pb-chip.pl-facebook, .pb-chip.pl-youtube, .pb-chip.pl-tiktok,
.pb-chip.pl-x, .pb-chip.pl-assisted { border-left: 3px solid var(--pl); }
.pb-chip-glyph { color: var(--pl); }
.pb-platform-mark {
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--pl) 22%, #10161a); color: var(--pl);
  font-size: 11px; font-weight: 800;
}
.pl-bg { background: color-mix(in srgb, var(--pl) 20%, #10161a); border-color: color-mix(in srgb, var(--pl) 45%, #10161a); }

/* ---------- flash / toast ---------- */
.pb-toasts {
  position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px;
  max-width: min(400px, calc(100vw - 32px));
}
@media (max-width: 719px) { .pb-toasts { bottom: 76px; left: 16px; right: 16px; } }
.pb-toast {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: var(--pb-radius);
  border: 1px solid var(--pb-line-2); background: var(--pb-panel-2); box-shadow: var(--pb-shadow-lg);
  font-size: 13.5px; animation: pb-toast-in 180ms ease-out;
}
.pb-toast--ok { border-color: var(--pb-ok-line); background: var(--pb-ok-bg); }
.pb-toast--error { border-color: var(--pb-err-line); background: #3A1815; }
.pb-toast--warning { border-color: var(--pb-warn-line); background: #3A2C0F; }
.pb-toast--info, .pb-toast--success { border-color: var(--pb-info-line); background: var(--pb-info-bg); }
.pb-toast-title { font-weight: 700; }
.pb-toast-x { background: none; border: 0; color: inherit; cursor: pointer; opacity: .7; font-size: 16px; line-height: 1; padding: 0 2px; }
.pb-toast-x:hover { opacity: 1; }
@keyframes pb-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- empty states ---------- */
.pb-empty {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 34px 20px; color: var(--pb-text-2);
  border: 1px dashed var(--pb-line-2); border-radius: var(--pb-radius); background: rgba(255,255,255,.012);
}
.pb-empty svg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--pb-muted); }
.pb-empty-title { font-family: var(--pb-cond); font-size: 17px; color: var(--pb-text); text-transform: uppercase; letter-spacing: .04em; }
.pb-empty p { max-width: 46ch; margin: 0; font-size: 13.5px; }

/* ---------- HTMX affordances ---------- */
.pb-spinner {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.2); border-top-color: var(--pb-primary-t);
  animation: pb-spin .7s linear infinite; display: inline-block;
}
@keyframes pb-spin { to { transform: rotate(360deg); } }
.htmx-indicator { opacity: 0; transition: opacity 120ms; }
/* any button that is mid-request gets an inline spinner + progress cursor */
.pb-btn.htmx-request { opacity: .8; cursor: progress; }
.pb-btn.htmx-request::after {
  content: ""; width: 12px; height: 12px; border-radius: 50%; margin-left: 6px;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: currentColor;
  animation: pb-spin .7s linear infinite;
}
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
.pb-loading-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--pb-primary), var(--pb-kelly));
}
body.htmx-request .pb-loading-bar { width: 70%; transition: width 900ms ease-out; }
.pb-target-dim.htmx-request { opacity: .55; pointer-events: none; }

/* ---------- drawer / modal ---------- */
.pb-drawer-wrap { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: flex-end; }
.pb-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.pb-drawer {
  position: relative; width: min(520px, 100vw); height: 100%; overflow-y: auto;
  background: var(--pb-panel); border-left: 1px solid var(--pb-line-2); box-shadow: var(--pb-shadow-lg);
  animation: pb-slide-in 180ms ease-out; padding: 18px 18px 60px;
}
@keyframes pb-slide-in { from { transform: translateX(24px); opacity: .4 } to { transform: none; opacity: 1 } }
.pb-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pb-modal-wrap { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 18px; }
.pb-modal {
  position: relative; width: min(520px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--pb-panel); border: 1px solid var(--pb-line-2); border-radius: var(--pb-radius-lg);
  box-shadow: var(--pb-shadow-lg); padding: 18px;
}

/* ---------- calendar ---------- */
.pb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.pb-cal-dow { background: var(--pb-bg-2); padding: 7px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--pb-muted); font-weight: 700; }
.pb-cal-cell { background: var(--pb-panel); min-height: 122px; padding: 6px; display: flex; flex-direction: column; gap: 4px; position: relative; transition: background var(--pb-speed); }
.pb-cal-cell:hover { background: var(--pb-panel-2); }
.pb-cal-cell.is-out { background: var(--pb-sunken); opacity: .55; }
.pb-cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--pb-primary); }
.pb-cal-cell.drop-target { background: rgba(14,124,134,.2); box-shadow: inset 0 0 0 2px var(--pb-primary-t); }
.pb-cal-daynum { font-family: var(--pb-cond); font-size: 13px; font-weight: 700; color: var(--pb-text-2); display: flex; justify-content: space-between; align-items: center; }
.pb-cal-cell.is-today .pb-cal-daynum { color: var(--pb-primary-t); }
.pb-cal-add { border: 0; background: none; color: var(--pb-muted); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; opacity: 0; transition: opacity var(--pb-speed); }
.pb-cal-cell:hover .pb-cal-add { opacity: 1; }
.pb-cal-add:hover { color: var(--pb-primary-t); }
.pb-calpost {
  display: block; text-align: left; width: 100%; cursor: grab;
  border: 1px solid color-mix(in srgb, var(--pl) 40%, #223);
  border-left: 3px solid var(--pl);
  background: color-mix(in srgb, var(--pl) 15%, #12181A);
  border-radius: 6px; padding: 4px 6px; font-size: 11.5px; color: var(--pb-text);
  text-decoration: none; overflow: hidden;
}
.pb-calpost:hover { text-decoration: none; filter: brightness(1.2); }
.pb-calpost.is-dragging { opacity: .4; }
.pb-calpost-time { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 10.5px; opacity: .85; }
.pb-calpost-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-week-grid { display: grid; grid-template-columns: 58px repeat(7, minmax(0,1fr)); gap: 1px; background: var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.pb-week-slot { background: var(--pb-panel); min-height: 46px; padding: 3px; display: flex; flex-direction: column; gap: 2px; }
.pb-week-hour { background: var(--pb-bg-2); font-size: 10.5px; color: var(--pb-muted); padding: 3px 5px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- composer ---------- */
.pb-composer { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .pb-composer { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) 300px; } }
.pb-dropzone {
  border: 2px dashed var(--pb-line-2); border-radius: var(--pb-radius); padding: 18px;
  text-align: center; color: var(--pb-text-2); cursor: pointer; transition: border-color var(--pb-speed), background var(--pb-speed);
}
.pb-dropzone:hover, .pb-dropzone.is-over { border-color: var(--pb-primary); background: rgba(14,124,134,.1); }
.pb-media-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.pb-media-tile {
  position: relative; border-radius: var(--pb-radius-sm); overflow: hidden; border: 2px solid var(--pb-line);
  background: var(--pb-sunken); aspect-ratio: 1; cursor: pointer;
}
.pb-media-tile img { width: 100%; height: 100%; object-fit: cover; }
.pb-media-tile.is-selected { border-color: var(--pb-primary-t); box-shadow: 0 0 0 2px rgba(127,227,234,.28); }
.pb-media-tile-order {
  position: absolute; top: 4px; left: 4px; background: var(--pb-primary); color: #fff;
  border-radius: 5px; font-size: 10.5px; font-weight: 700; padding: 1px 5px;
}
.pb-media-tile-meta { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); padding: 12px 5px 4px; font-size: 10.5px; }
.pb-media-tile-kind { position: absolute; top: 4px; right: 4px; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 6px; background: rgba(0,0,0,.62); color: var(--pb-text); }
.pb-media-tile-kind svg { width: 12px; height: 12px; }
/* video (or other non-image) tiles get a drawn poster instead of a broken <img> */
.pb-media-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 6px; padding: 10px;
  text-align: center; color: var(--pb-text-2); font-size: 10.5px;
  background:
    linear-gradient(150deg, rgba(14,124,134,.28), rgba(11,15,16,.9) 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 6px, transparent 6px 12px);
}
.pb-media-fallback svg { width: 22px; height: 22px; color: var(--pb-primary-t); }
.pb-media-fallback span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pb-lib-thumb .pb-media-fallback { position: static; min-height: 100%; }
/* Tab groups hold BOTH the tab buttons and their panels (see app.js [data-tabs]).
   Buttons sit in an order-1 row; every panel claims a full order-2 row underneath. */
.pb-tabs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2px 4px; }
.pb-tabs > .pb-tab { order: 1; }
.pb-tabs > .pb-tab-panel { order: 2; flex: 1 1 100%; min-width: 0; padding-top: 12px;
  border-top: 1px solid var(--pb-line); margin-top: 2px; }
@media (max-width: 719px) {
  /* keep wrapping: panels must always get their own full-width row */
  .pb-tabs { flex-wrap: wrap; }
  .pb-tabs > .pb-tab { flex: 1 1 auto; text-align: center; }
  .pb-tabs > .pb-tab-panel { white-space: normal; padding-top: 10px; }
  .pb-composer { gap: 12px; }
}
.pb-tab {
  border: 0; background: none; color: var(--pb-text-2); cursor: pointer; padding: 7px 11px; white-space: nowrap;
  font-family: var(--pb-cond); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  border-radius: 7px 7px 0 0; border-bottom: 2px solid transparent;
}
.pb-tab:hover { color: var(--pb-text); background: var(--pb-panel-2); }
.pb-tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--pl, var(--pb-primary-t)); background: rgba(255,255,255,.03); }
.pb-tab.has-content::after { content: "•"; color: var(--pb-kelly); margin-left: 5px; }
.pb-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pb-ai-panel { border: 1px solid var(--pb-info-line); background: linear-gradient(180deg, rgba(16,42,56,.85), rgba(18,24,26,.9)); border-radius: var(--pb-radius); padding: 12px; }
.pb-ai-panel h4 { font-family: var(--pb-cond); text-transform: uppercase; font-size: 13px; letter-spacing: .07em; color: var(--pb-primary-t); margin: 0 0 6px; }
.pb-ai-out { background: rgba(0,0,0,.34); border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); padding: 9px 10px; font-size: 13.5px; white-space: pre-wrap; }
.pb-ai-chip { display: inline-flex; gap: 6px; align-items: center; background: var(--pb-panel-2); border: 1px solid var(--pb-line-2); border-radius: 999px; padding: 3px 9px; font-size: 12px; cursor: pointer; }
.pb-ai-chip:hover { border-color: var(--pb-primary); }
.pb-phone {
  width: 100%; max-width: 268px; margin: 0 auto; border-radius: 26px; border: 8px solid #05090A;
  background: #05090A; box-shadow: var(--pb-shadow-lg); overflow: hidden;
}
.pb-phone-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; color: #111; }
.pb-phone-body { background: #fff; color: #111; min-height: 300px; font-size: 12.5px; }
.pb-phone-media { aspect-ratio: 4/5; background: #C9CFD2; display: grid; place-items: center; color: #5A666A; }
.pb-phone-cap { padding: 8px 10px 14px; color: #111; white-space: pre-wrap; word-break: break-word; }
.pb-phone-actions { display: flex; gap: 12px; padding: 6px 10px; border-top: 1px solid #E3E7E9; color: #333; font-size: 12px; }
.pb-phone--tiktok .pb-phone-body { background: #000; color: #fff; }
.pb-phone--tiktok .pb-phone-cap { color: #fff; }
.pb-phone--tiktok .pb-phone-top { background: #000; color: #fff; }
.pb-phone--tiktok .pb-phone-actions { border-color: #23282B; color: #eee; }
.pb-phone--x .pb-phone-body { background: #000; color: #E7E9EA; }
.pb-phone--x .pb-phone-cap { color: #E7E9EA; }
.pb-char-count { font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--pb-muted); }
.pb-char-count.over { color: var(--pb-err); font-weight: 700; }
.pb-autosave { font-size: 11.5px; color: var(--pb-muted); }

/* ---------- queue grid ---------- */
.pb-queue-grid { display: grid; grid-template-columns: 84px repeat(7, minmax(0,1fr)); gap: 1px; background: var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; min-width: 640px; }
.pb-queue-cell { background: var(--pb-panel); padding: 6px; min-height: 42px; font-size: 12px; }
.pb-queue-cell.add-slot { color: var(--pb-muted); cursor: pointer; }
.pb-queue-cell.add-slot:hover { background: rgba(14,124,134,.14); color: var(--pb-primary-t); }
.pb-slot-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--pb-panel-2); border: 1px solid var(--pb-line-2); border-radius: 999px; padding: 2px 4px 2px 9px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pb-slot-x { border: 0; background: none; color: var(--pb-muted); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 3px; }
.pb-slot-x:hover { color: var(--pb-err); }
.pb-heat { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); gap: 2px; min-width: 620px; }
.pb-heat-cell { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.045); }
.pb-heat-label { font-size: 10px; color: var(--pb-muted); display: grid; place-items: center; }
.pb-heat-legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--pb-muted); }
.pb-heat-scale { width: 96px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, rgba(255,255,255,.045), var(--pb-primary), var(--pb-kelly)); }

/* ---------- analytics charts ---------- */
.pb-chart { width: 100%; height: auto; display: block; overflow: visible; }
.pb-bar-row { display: grid; grid-template-columns: 108px 1fr 88px; align-items: center; gap: 10px; font-size: 13px; }
.pb-bar-track { height: 12px; border-radius: 999px; background: var(--pb-panel-2); overflow: hidden; }
.pb-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pb-mid), var(--pb-primary)); }
.pb-spark { display: block; }

/* ---------- media library ---------- */
.pb-lib-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pb-lib-item { background: var(--pb-panel); border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.pb-lib-thumb { aspect-ratio: 1; background: var(--pb-sunken); display: grid; place-items: center; position: relative; }
.pb-lib-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pb-lib-body { padding: 8px 10px 10px; display: grid; gap: 5px; }

/* ---------- inline icon sizing ----------
   Templates pass Tailwind sizes (w-4 h-4) as a nicety, but the layout must not depend on
   the CDN: without it an unsized <svg> fills its container and blows up the card. */
.pb-btn svg, .pb-tab svg, .pb-badge svg, .pb-chip svg, .pb-menu-panel svg,
.pb-bottomnav a svg, .pb-toast svg { width: 15px; height: 15px; flex: none; }
.pb-btn--lg svg { width: 17px; height: 17px; }
.pb-btn--sm svg { width: 13px; height: 13px; }
.pb-card-head svg { width: 17px; height: 17px; flex: none; }
.pb-kicker svg, .pb-hint svg, .pb-slot-chip svg { width: 13px; height: 13px; flex: none; }
.pb-accordion summary svg { width: 15px; height: 15px; }
.pb-lib-thumb svg, .pb-media-fallback svg { width: 22px; height: 22px; }
.pb-empty > svg { width: 30px; height: 30px; }
.pb-danger-banner svg { width: 20px; height: 20px; flex: none; }
.pb-dropzone svg { width: 22px; height: 22px; }
.pb-icon-tile svg { width: 18px; height: 18px; }
.pb-bell svg { width: 18px; height: 18px; }
/* Last-resort default: an inline icon that has no size rule renders at the text size
   instead of filling its container. Class-based rules (and Tailwind utilities when the
   CDN is reachable) win because they are more specific. */
svg { width: 1em; height: 1em; max-width: 100%; flex: none; }

/* ---------- misc ---------- */
.pb-accordion { border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; }
.pb-accordion summary { cursor: pointer; padding: 10px 13px; font-weight: 600; font-size: 13.5px; background: var(--pb-panel-2); list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.pb-accordion summary::-webkit-details-marker { display: none; }
.pb-accordion summary::after { content: "+"; color: var(--pb-muted); font-weight: 700; }
.pb-accordion[open] summary::after { content: "–"; }
.pb-accordion .pb-accordion-body { padding: 12px 13px; border-top: 1px solid var(--pb-line); font-size: 13.5px; }
.pb-accordion-body pre { background: var(--pb-code-bg); border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); padding: 9px 11px; overflow-x: auto; font-size: 12px; }
.pb-code { background: var(--pb-code-bg); border: 1px solid var(--pb-line); border-radius: 6px; padding: 1px 5px; font-family: var(--pb-mono); font-size: 12.5px; }
.pb-danger-banner {
  display: flex; gap: 12px; align-items: center; border: 1px solid var(--pb-warn-line);
  background: repeating-linear-gradient(135deg, rgba(245,165,36,.10) 0 12px, rgba(245,165,36,.03) 12px 24px);
  border-radius: var(--pb-radius); padding: 11px 14px; color: #FFD79A;
}
.pb-danger-banner strong { font-family: var(--pb-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.pb-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.pb-login-card { width: 100%; max-width: 400px; background: var(--pb-panel); border: 1px solid var(--pb-line-2); border-radius: var(--pb-radius-lg); padding: 26px; box-shadow: var(--pb-shadow-lg); }
.pb-brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pb-stat-line { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--pb-text-2); }
.pb-scroll-y { max-height: 420px; overflow-y: auto; }
.pb-mono-block { font-family: var(--pb-mono); font-size: 12px; background: var(--pb-code-bg); border: 1px solid var(--pb-line); border-radius: var(--pb-radius-sm); padding: 9px 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.pb-split { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pb-status-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pb-ondeck { display: grid; gap: 8px; }
.pb-ondeck-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: var(--pb-panel-2); }
.pb-countdown { font-family: var(--pb-cond); font-size: 19px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.pb-countdown-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--pb-muted); }
/* single-column layouts for phones */
.pb-only-phone { display: none; }
@media (max-width: 719px) {
  .pb-only-phone { display: block; }
  .pb-only-wide { display: none !important; }
  /* the 7-column slot matrix and the 24-hour heatmap never widen the page */
  .pb-queue-grid { min-width: 0; grid-template-columns: 62px repeat(3, minmax(0, 1fr)); }
  .pb-heat { min-width: 460px; }
}

@media print { .pb-topbar, .pb-bottomnav, .pb-toasts { display: none !important; } }
