/* ShotGram v139.42 (app 1.3.3) — business numbers 📣
   Gold marks "business" everywhere: the profile pill, the Business row in
   Messages, notes and the active choices. Everything else uses the app's own
   tokens, so every app colour theme still applies. */

:root { --bn-gold: #f5c542; --bn-gold-2: #e0a516; --bn-gold-ink: #2a1e00; --bn-gold-bg: rgba(245, 197, 66, .12); --bn-gold-line: rgba(245, 197, 66, .38); }

/* ---------- profile pill (under "Joined ShotGram") ---------- */
.bn-pill-slot { display: flex; justify-content: center; }
.bn-pill-slot:empty { display: none; }
.bn-pill {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; max-width: 100%;
  padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--bn-gold-line);
  background: linear-gradient(180deg, rgba(245, 197, 66, .16), rgba(245, 197, 66, .07)); color: var(--text);
  font-size: 13px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bn-pill:active { transform: scale(.98); }
.bn-pill b { font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bn-pill-tag { color: var(--bn-gold); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-pill-ic { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-2)); color: var(--bn-gold-ink); }
.bn-pill-ic svg { width: 13px; height: 13px; stroke-width: 2.4; }
.bn-pill-ic.big { width: 54px; height: 54px; }
.bn-pill-ic.big svg { width: 26px; height: 26px; }
.bn-pill.dim { opacity: .62; border-style: dashed; }
.bn-pill.paused .bn-pill-tag { color: var(--muted); }

/* ---------- the "Business" row in Messages ---------- */
.bn-row .bn-row-icon { background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-2)); color: var(--bn-gold-ink); }
.bn-row .bn-row-icon svg { stroke-width: 2.3; }
.bn-row .request-head { width: 100%; background: none; border: 0; }
.bn-count { background: var(--bn-gold) !important; color: var(--bn-gold-ink) !important; }

/* ---------- full-screen layers ---------- */
.bn-layer {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--shell, 540px), 100%); z-index: 1050;
  display: flex; flex-direction: column; background: var(--ink); color: var(--text);
  padding-top: env(safe-area-inset-top); animation: bn-in .16s ease;
  border-inline: 1px solid var(--line); overscroll-behavior: contain;
}
.bn-layer.has-composer { top: var(--bn-top, 0px); bottom: auto; height: var(--bn-h, 100dvh); }
@keyframes bn-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.bn-head { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 6px; border-bottom: 1px solid var(--line); min-height: 52px; flex: none; }
.bn-head-title { flex: 1; min-width: 0; display: grid; gap: 1px; }
.bn-head-title > b { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-head-title > span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-head-title > .bn-head-person { color: var(--text); }
.bn-head-person { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 15.5px; }
.bn-head-person b { font-weight: 800; min-width: 0; }
.bn-head-actions, .bn-head-actions > span { display: flex; align-items: center; gap: 2px; flex: none; }
.bn-scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 12px calc(20px + env(safe-area-inset-bottom)); }
.bn-loading { display: grid; place-items: center; padding: 40px 0; }
.bn-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--bn-gold); animation: bn-spin .8s linear infinite; display: inline-block; }
@keyframes bn-spin { to { transform: rotate(360deg); } }
.bn-empty { display: grid; justify-items: center; gap: 6px; padding: 36px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.bn-empty svg { width: 40px; height: 40px; color: var(--bn-gold); }
.bn-empty b { color: var(--text); font-size: 16px; }
.bn-empty.small { padding: 22px 12px; font-size: 13px; }
.bn-gold-t { color: var(--bn-gold) !important; }
.bn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bn-gold); flex: none; }

/* buttons + inputs */
.bn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 14.5px; padding: 12px 16px; cursor: pointer; }
.bn-btn svg { width: 17px; height: 17px; }
.bn-btn.small { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.bn-btn.block { width: 100%; margin-top: 14px; }
.bn-btn.gold { background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-2)); color: var(--bn-gold-ink); border-color: transparent; }
.bn-btn.danger { background: #d92d3a; color: #fff; border-color: transparent; }
.bn-btn.danger.ghost { background: transparent; color: var(--bad, #ff4e6b); border-color: rgba(255, 78, 107, .4); }
.bn-btn.ghost { background: transparent; }
.bn-btn:disabled { opacity: .55; }
.bn-input { width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 12px; padding: 12px; font: inherit; font-size: 16px; resize: vertical; }
.bn-input:focus { outline: none; border-color: var(--bn-gold-line); }
input.bn-input[type=date] { min-height: 46px; color-scheme: dark; }
.bn-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 16px 2px 7px; }
.bn-chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.bn-chips::-webkit-scrollbar { display: none; }
.bn-chips button { flex: none; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); border-radius: 999px;
  padding: 7px 13px; font-size: 13px; font-weight: 600; }
.bn-chips.big { flex-wrap: wrap; overflow: visible; }
.bn-chips.big button { padding: 9px 15px; font-size: 14px; }
.bn-chips button.on { background: var(--bn-gold-bg); border-color: var(--bn-gold); color: var(--bn-gold); }
.bn-fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface);
  color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.bn-fine svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.bn-sec { font-size: 13px; font-weight: 800; color: var(--muted); margin: 18px 4px 6px; text-transform: none; }
.bn-count-line { text-align: end; font-size: 11.5px; color: var(--dim); margin-top: 4px; }

/* ---------- Business home ---------- */
.bn-invite { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 10px; border-radius: 14px;
  border: 1px solid var(--bn-gold-line); background: var(--bn-gold-bg); }
.bn-invite .grow { display: grid; min-width: 0; }
.bn-invite b { font-size: 14px; }
.bn-invite span { font-size: 12px; color: var(--muted); }
.bn-switch, .bn-ctx-one { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--bn-gold-line); background: var(--surface); color: var(--text); text-align: start; }
.bn-switch .grow, .bn-ctx-one .grow { display: grid; min-width: 0; }
.bn-switch .grow b, .bn-ctx-one .grow b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-switch .grow span, .bn-ctx-one .grow span { font-size: 12px; color: var(--muted); }
.bn-switch > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .15s; }
.bn-switch[aria-expanded="true"] > svg { transform: rotate(180deg); }
.bn-switch-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.bn-switch-ic.sm { width: 26px; height: 26px; }
.bn-switch-ic svg { width: 15px; height: 15px; }
.bn-switch-list { margin-top: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.bn-switch-list.hidden { display: none; }
.bn-switch-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; background: none; border: 0; color: var(--text);
  text-align: start; font-size: 14px; border-top: 1px solid var(--line); }
.bn-switch-row:first-child { border-top: 0; }
.bn-switch-row .grow { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-switch-row.on { background: var(--bn-gold-bg); }
.bn-switch-row > svg { width: 16px; height: 16px; color: var(--bn-gold); }
.bn-warn { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 78, 107, .1); border: 1px solid rgba(255, 78, 107, .3); font-size: 13px; line-height: 1.4; }
.bn-warn.soft { background: var(--surface); border-color: var(--line); color: var(--muted); }
.bn-warn svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.bn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.bn-stats > div { background: var(--surface); border-radius: 12px; padding: 10px 4px; text-align: center; display: grid; gap: 2px; }
.bn-stats b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bn-stats span { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.bn-room-row { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: start; }
.bn-room-row .grow { display: grid; min-width: 0; }
.bn-room-row .grow b { font-size: 14.5px; }
.bn-room-row .grow span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-room-row > svg { width: 16px; height: 16px; color: var(--muted); }
.bn-room-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--bn-gold-bg); color: var(--bn-gold); border: 1px solid var(--bn-gold-line); }
.bn-room-ic svg { width: 17px; height: 17px; }
.bn-tabs { display: flex; gap: 2px; margin: 12px -12px 0; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bn-tabs::-webkit-scrollbar { display: none; }
.bn-tabs button { flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted);
  padding: 10px 8px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.bn-tabs button.on { color: var(--text); border-bottom-color: var(--bn-gold); }
.bn-tabs i { font-style: normal; font-size: 11px; background: var(--surface-3); border-radius: 8px; padding: 1px 6px; margin-inline-start: 3px; }
.bn-tabs button.on i { background: var(--bn-gold); color: var(--bn-gold-ink); }
.bn-tools { display: grid; gap: 8px; padding: 10px 0 4px; }
.bn-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; }
.bn-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.bn-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); padding: 10px 0; font: inherit; font-size: 16px; }
.bn-search input:focus { outline: none; }
.bn-list { display: grid; }
.bn-req { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 2px; background: none; border: 0;
  border-bottom: 1px solid var(--line); color: var(--text); text-align: start; }
.bn-req-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bn-req-top { display: flex; align-items: center; gap: 5px; min-width: 0; }
.bn-req-top b { font-size: 14.5px; min-width: 0; }
.bn-req-top time { margin-inline-start: auto; font-size: 11.5px; color: var(--dim); flex: none; }
.bn-req-sub { font-size: 13.5px; color: var(--muted); min-width: 0; }
.bn-req-sub i { font-style: normal; color: var(--dim); }
.bn-req.unread .bn-req-sub { color: var(--text); font-weight: 600; }
.bn-req-meta { font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-cat { flex: none; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: var(--bn-gold-bg); color: var(--bn-gold); border: 1px solid var(--bn-gold-line); }
.bn-times { flex: none; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.bn-more { margin: 12px auto 0; display: block; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 9px 18px; font-weight: 700; }
.bn-st { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.bn-head .bn-st { margin-inline-end: 2px; }
.st-new { background: var(--bn-gold-bg); color: var(--bn-gold); }
.st-open { background: rgba(63, 146, 255, .14); color: #7fb5ff; }
.st-closed { background: var(--surface-3); color: var(--muted); }

/* ---------- a request / team room ---------- */
.bn-msgs { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 3px; }
.bn-intro { display: grid; justify-items: center; gap: 5px; text-align: center; padding: 6px 18px 14px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.bn-intro b { color: var(--text); font-size: 14px; }
.bn-intro-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-2)); color: var(--bn-gold-ink); }
.bn-intro-ic svg { width: 22px; height: 22px; }
.bn-day { align-self: center; font-size: 11.5px; color: var(--dim); margin: 10px 0 4px; }
.bn-sys { align-self: center; font-size: 11.5px; color: var(--dim); background: var(--surface); border-radius: 999px; padding: 4px 10px; margin: 6px 0; text-align: center; }
.bn-msg { display: grid; max-width: 80%; margin: 4px 0; }
.bn-msg.left { justify-self: start; align-self: flex-start; }
.bn-msg.right { justify-self: end; align-self: flex-end; justify-items: end; }
.bn-msg-who { display: flex; align-items: center; gap: 4px; font-size: 11.5px; margin: 0 6px 3px; color: var(--text); flex-wrap: wrap; }
.bn-msg-who b { font-weight: 700; }
.bn-msg-who .muted { color: var(--muted); }
.bn-owner { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: rgba(63, 146, 255, .16); color: #7fb5ff; }
.bn-bubble { padding: 9px 13px; border-radius: 18px; background: var(--surface-2); font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.bn-msg.right .bn-bubble { background: linear-gradient(135deg, #5b3df5, #8b5cff); color: #fff; border-bottom-right-radius: 6px; }
.bn-msg.left .bn-bubble { border-bottom-left-radius: 6px; }
.bn-msg.right.team:not(.mine) .bn-bubble { background: #3a2f7a; }
.bn-msg time { font-size: 10.5px; color: var(--dim); margin: 2px 8px 0; }
.bn-note { align-self: stretch; margin: 6px 0; padding: 9px 12px; border-radius: 14px; border: 1px dashed var(--bn-gold-line); background: rgba(245, 197, 66, .07); }
.bn-note-who { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--bn-gold); flex-wrap: wrap; }
.bn-note-who svg { width: 13px; height: 13px; }
.bn-note-who span:not(.bn-owner) { color: var(--muted); }
.bn-note-body { font-size: 14.5px; line-height: 1.45; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
#bnFoot { flex: none; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); }
.bn-layer.has-composer.keyboard-open #bnFoot { padding-bottom: 8px; }
.bn-mode { display: flex; gap: 6px; margin-bottom: 7px; }
.bn-mode button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.bn-mode button svg { width: 14px; height: 14px; }
.bn-mode button.on { color: var(--text); border-color: var(--text); }
.bn-mode button[data-mode=note].on { color: var(--bn-gold); border-color: var(--bn-gold); background: var(--bn-gold-bg); }
.bn-compose { display: flex; align-items: flex-end; gap: 8px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: 5px 5px 5px 14px; }
.bn-compose.note { border-style: dashed; border-color: var(--bn-gold); background: rgba(245, 197, 66, .06); }
.bn-compose textarea { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 16px; line-height: 1.35;
  padding: 8px 0; resize: none; max-height: 130px; }
.bn-compose textarea:focus { outline: none; }
.bn-send { width: 38px; height: 38px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-2)); color: var(--bn-gold-ink); }
.bn-send svg { width: 18px; height: 18px; }
.bn-send:disabled { opacity: .5; }
.bn-foot-note { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; color: var(--muted); font-size: 13px; padding: 6px 0; }
.bn-foot-note svg { width: 16px; height: 16px; }
.bn-foot-hint { font-size: 11.5px; color: var(--muted); text-align: center; margin-bottom: 6px; }

/* ---------- forms, team, settings ---------- */
.bn-form-owner { display: grid; justify-items: center; gap: 6px; padding: 8px 0 4px; grid-auto-flow: row; }
.bn-form-owner b { font-size: 16px; }
.bn-form-owner .badge-slot, .bn-form-owner > span:last-child { margin-top: -4px; }
.bn-member { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 2px; background: none; border: 0;
  border-bottom: 1px solid var(--line); color: var(--text); text-align: start; }
.bn-member .grow { display: grid; min-width: 0; }
.bn-member .grow b { font-size: 14.5px; }
.bn-member .grow span { font-size: 12px; color: var(--muted); }
.bn-member > svg { width: 18px; height: 18px; color: var(--muted); }
.bn-invite-form { display: grid; gap: 8px; }
.bn-number-card { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 18px 12px; border-radius: 18px;
  border: 1px solid var(--bn-gold-line); background: linear-gradient(180deg, rgba(245, 197, 66, .14), rgba(245, 197, 66, .03)); margin-bottom: 8px; }
.bn-number-card b { font-size: 26px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.bn-number-card > span:not(.bn-pill-ic) { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.bn-toggle { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.bn-toggle .grow { display: grid; gap: 2px; min-width: 0; }
.bn-toggle b { font-size: 14.5px; font-weight: 700; }
.bn-toggle .grow > span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.bn-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bn-toggle i { width: 46px; height: 28px; flex: none; border-radius: 14px; background: var(--surface-3); position: relative; transition: background .15s; }
.bn-toggle i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.bn-toggle input:checked + i { background: var(--bn-gold); }
.bn-toggle input:checked + i::after { transform: translateX(18px); }
[dir=rtl] .bn-toggle input:checked + i::after { transform: translateX(-18px); }

@media (min-width: 900px) {
  .bn-layer { top: 0; }
}
