/* go7.uz — «Главный менеджер» (assets/js/boss.js) */
.bs-root { display: flex; flex-direction: column; gap: 16px; }
.bs-load { display: grid; place-items: center; padding: 80px 0; }

/* ---------- Карточка руководителя ---------- */
.bs-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; padding: 26px 28px;
  border-radius: 24px; color: #fff; background: radial-gradient(130% 150% at 0% 0%, #23314F 0%, #121A30 55%, #0A0F1E 100%); box-shadow: 0 18px 50px -24px rgba(11, 18, 50, .7); }
.bs-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bs-hero-bg i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; animation: bsFloat 16s ease-in-out infinite; }
.bs-hero-bg i:nth-child(1) { width: 320px; height: 320px; left: -90px; top: -150px; background: #F2C14E; opacity: .32; }
.bs-hero-bg i:nth-child(2) { width: 300px; height: 300px; right: 10%; top: -170px; background: #3B82F6; animation-delay: -6s; }
.bs-hero-bg i:nth-child(3) { width: 240px; height: 240px; right: -70px; bottom: -150px; background: #E5476A; opacity: .3; animation-delay: -10s; }
.bs-hero:not(.on) .bs-hero-bg i { opacity: .16; animation-play-state: paused; }
@keyframes bsFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28px, 22px) scale(1.12); } }
.bs-ava { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; overflow: hidden; flex: none;
  background: linear-gradient(160deg, #F7E3A8 0%, #E9C46A 100%); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 14px 34px -10px rgba(242, 193, 78, .7); }
.bs-ava canvas { image-rendering: pixelated; margin-top: 10px; }
.bs-ava-ic { color: #7A5B12; }
.bs-hero:not(.on) .bs-ava { filter: grayscale(.6) brightness(.85); }
.bs-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #F2C14E; }
.bs-hero h1 { margin: 2px 0 6px; font-size: 30px; line-height: 1.15; color: #fff; letter-spacing: -.02em; }
.bs-hero p { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.bs-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 700; }
.bs-chip.mute { color: rgba(255, 255, 255, .62); }
.bs-chip > .ico { flex: none; }
.bs-chip.live i { width: 8px; height: 8px; border-radius: 50%; background: #F2C14E; animation: bsPulse 1.4s infinite; }
@keyframes bsPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 193, 78, .6); } 70% { box-shadow: 0 0 0 8px rgba(242, 193, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, 0); } }
.bs-hero-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bs-sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; font-size: 14px; color: #fff; user-select: none; position: relative; }
.bs-sw.ro { cursor: default; opacity: .8; }
.bs-sw input { position: absolute; opacity: 0; pointer-events: none; }
.bs-swt { position: relative; width: 54px; height: 30px; border-radius: 30px; background: rgba(255, 255, 255, .2); transition: background .2s; }
.bs-swt i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .2s; }
.bs-sw input:checked + .bs-swt { background: #22C55E; }
.bs-sw input:checked + .bs-swt i { transform: translateX(24px); }
.bs-sw input:focus-visible + .bs-swt { outline: 2px solid #fff; outline-offset: 2px; }
.bs-run { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; font-size: 15px; font-weight: 800; border: 0; border-radius: 14px; color: #1A1406;
  background: linear-gradient(135deg, #FFE08A 0%, #F2C14E 60%, #E0A526 100%); box-shadow: 0 10px 24px -10px rgba(242, 193, 78, .9); cursor: pointer; }
.bs-run:hover { filter: brightness(1.05); }
.bs-run:disabled, .bs-hero .bs-run:disabled { opacity: .75; cursor: progress; color: #1A1406; background: linear-gradient(135deg, #FFE08A 0%, #F2C14E 60%, #E0A526 100%); }
.bs-run-n { color: rgba(255, 255, 255, .6); font-size: 12px; }

/* Команда */
.bs-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bs-mate { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.bs-mate > .ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }
.bs-mate.ok > .ico { background: rgba(22, 163, 74, .12); color: #16A34A; }
.bs-mate.off > .ico { background: rgba(217, 119, 6, .12); color: #D97706; }
.bs-mate span { display: flex; flex-direction: column; min-width: 0; }
.bs-mate b { font-size: 14px; }
.bs-mate small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-mate:hover { border-color: var(--accent); }

/* Вкладки */
.bs-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bs-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.bs-tabs a.on { color: var(--ink); border-color: #E0A526; }
.bs-tabs a em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); }
.bs-help { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 8px; white-space: nowrap; }
.bs-help:hover { color: var(--ink); }

/* ---------- Разбор ---------- */
.bs-rep { display: flex; flex-direction: column; gap: 16px; }
.bs-rep-h { display: flex; gap: 22px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.bs-score { position: relative; width: 112px; height: 112px; flex: none; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; }
.bs-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.bs-score circle { fill: none; stroke-width: 9; }
.bs-score .bg { stroke: var(--surface-2); }
.bs-score .fg { stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.bs-score.s-hi .fg { stroke: #16A34A; } .bs-score.s-mid .fg { stroke: #E0A526; } .bs-score.s-lo .fg { stroke: #DC2626; }
.bs-score b { font-size: 36px; line-height: 1; font-weight: 900; position: relative; }
.bs-score span { color: var(--muted); font-weight: 700; position: relative; }
.bs-rep-t { min-width: 0; }
.bs-rep-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.bs-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.bs-tag.ai { background: rgba(139, 92, 246, .12); color: #7C3AED; }
.bs-rep-t h2 { margin: 6px 0 6px; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.bs-rep-t p { margin: 0; color: var(--ink-2); line-height: 1.55; font-size: 15px; }
.bs-rep-t .bs-note { margin-top: 10px; display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: #B45309; }
.bs-note .ico { flex: none; margin-top: 2px; }

.bs-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bs-kpi { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.bs-kpi-ic { position: absolute; right: 12px; top: 12px; color: var(--muted); opacity: .7; }
.bs-kpi b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bs-kpi-l { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bs-kpi-d { font-size: 12px; font-weight: 800; color: var(--muted); }
.bs-kpi-d.up { color: #16A34A; } .bs-kpi-d.down { color: #DC2626; }
.bs-kpi small { color: var(--muted); font-size: 11.5px; }
.bs-kpi-cap { margin: -6px 0 0; color: var(--muted); font-size: 12px; }

.bs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bs-list { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.bs-list h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.bs-list.good h3 { color: #15803D; } .bs-list.bad h3 { color: #B45309; }
html[data-theme="dark"] .bs-list.good h3 { color: #6EE7B7; } html[data-theme="dark"] .bs-list.bad h3 { color: #FCD34D; }
.bs-list ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; font-size: 14.5px; }
.bs-mute { color: var(--muted); font-size: 13.5px; margin: 0; }

.bs-sec-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.bs-sec-h h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.bs-sec-h span { color: var(--muted); font-size: 13px; }
.bs-grp { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; margin-bottom: 10px; }
.bs-grp-h { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface-2); }
.bs-grp-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.bs-grp.k-seller .bs-grp-ic { background: #2F6FED; } .bs-grp.k-marketer .bs-grp-ic { background: #E5476A; } .bs-grp.k-team .bs-grp-ic { background: #0F766E; }
.bs-grp-h div { display: flex; flex-direction: column; }
.bs-grp-h b { font-size: 14.5px; } .bs-grp-h small { color: var(--muted); font-size: 12.5px; }
.bs-task { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); }
.bs-task-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bs-task-t p { margin: 0; font-weight: 600; line-height: 1.45; }
.bs-why { color: var(--muted); font-size: 13px; }
.bs-task-m { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--ink-2); font-size: 12.5px; }
.bs-task-m a { font-weight: 700; }
.bs-task.st-cancelled p, .bs-task.st-expired p { text-decoration: line-through; color: var(--muted); }
.bs-task-r { display: flex; align-items: center; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.bs-task-r .btn { display: inline-flex; align-items: center; gap: 4px; }
.bs-st { padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.bs-st.ok { background: rgba(22, 163, 74, .12); color: #15803D; } .bs-st.done { background: rgba(37, 99, 235, .12); color: #1D4ED8; } .bs-st.mute { background: var(--surface-2); color: var(--muted); }
html[data-theme="dark"] .bs-st.ok { color: #6EE7B7; } html[data-theme="dark"] .bs-st.done { color: #93C5FD; }

.bs-stale-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.bs-deal { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.bs-deal b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-deal span { grid-column: 1; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-deal em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 800; color: #DC2626; font-size: 13px; }
.bs-deal:hover { border-color: var(--accent); }

/* Готовится */
.bs-making { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bs-making-ic { position: relative; width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; color: #7A5B12; background: linear-gradient(160deg, #F7E3A8, #E9C46A); }
.bs-making-ic i { position: absolute; inset: -6px; border-radius: 26px; border: 3px solid #E0A526; border-top-color: transparent; animation: bsSpin 1s linear infinite; }
@keyframes bsSpin { to { transform: rotate(360deg); } }
.bs-making h3 { margin: 6px 0 0; }
.bs-making ol { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.bs-making li { display: flex; align-items: center; gap: 8px; color: var(--muted); opacity: .35; animation: bsStep 8s var(--d) both infinite; }
.bs-making li span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
@keyframes bsStep { 0% { opacity: .35; color: var(--muted); } 8%, 30% { opacity: 1; color: var(--ink); } 40%, 100% { opacity: .35; color: var(--muted); } }

.bs-empty { text-align: center; padding: 44px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bs-empty h3 { margin: 4px 0 0; color: var(--ink); }
.bs-empty p { margin: 0 0 8px; max-width: 560px; line-height: 1.5; }
.bs-empty .bs-run { margin-top: 4px; }

/* История и журнал */
.bs-hist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.bs-hrow { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bs-hrow:first-child { border-top: 0; }
.bs-hrow:hover { background: var(--surface-2); }
.bs-hscore { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 17px; flex: none; color: #fff; }
.bs-hscore.s-hi { background: #16A34A; } .bs-hscore.s-mid { background: #E0A526; } .bs-hscore.s-lo { background: #DC2626; } .bs-hscore.s-x { background: #94A3B8; }
.bs-ht { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.bs-ht b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-ht small { color: var(--muted); font-size: 12.5px; }
.bs-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bs-log li { display: flex; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); }
.bs-log li:first-child { border-top: 0; }
.bs-log-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex: none; }
.bs-log li.k-ready .bs-log-ic { background: rgba(224, 165, 38, .15); color: #B7791F; }
.bs-log li.k-seller .bs-log-ic { background: rgba(47, 111, 237, .12); color: #2F6FED; }
.bs-log li.k-marketer .bs-log-ic { background: rgba(229, 71, 106, .12); color: #E5476A; }
.bs-log li.k-team .bs-log-ic, .bs-log li.k-done .bs-log-ic { background: rgba(15, 118, 110, .12); color: #0F766E; }
.bs-log li.k-warn .bs-log-ic, .bs-log li.k-error .bs-log-ic { background: rgba(220, 38, 38, .1); color: #DC2626; }
.bs-log p { margin: 0; line-height: 1.45; }
.bs-log small { color: var(--muted); font-size: 12px; }

/* Настройки */
.bs-set { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.bs-set section { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.bs-set h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.bs-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.bs-row .field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.bs-row .field > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bs-row input[type="time"] { width: 140px; }
.bs-days { display: flex; gap: 4px; flex-wrap: wrap; }
.bs-days button, .bs-seg button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.bs-days button.on, .bs-seg button.on { background: #1F2A44; color: #fff; border-color: #1F2A44; }
html[data-theme="dark"] .bs-days button.on, html[data-theme="dark"] .bs-seg button.on { background: #E0A526; color: #1A1406; border-color: #E0A526; }
.bs-seg { display: flex; gap: 4px; flex-wrap: wrap; }
.bs-hint { margin: 0; color: var(--muted); font-size: 13px; }
.bs-tg { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; position: relative; }
.bs-tg input { position: absolute; opacity: 0; pointer-events: none; }
.bs-tgs { position: relative; flex: none; width: 42px; height: 24px; border-radius: 24px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; margin-top: 1px; }
.bs-tgs i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
.bs-tg input:checked + .bs-tgs { background: #16A34A; box-shadow: none; }
.bs-tg input:checked + .bs-tgs i { transform: translateX(18px); }
.bs-tg input:focus-visible + .bs-tgs { outline: 2px solid var(--accent); outline-offset: 2px; }
.bs-tg > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.bs-tg b { font-size: 14.5px; } .bs-tg small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.bs-tg.dis { opacity: .55; }
.bs-save { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bs-save .btn { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1100px) { .bs-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .bs-hero { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .bs-hero-r { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .bs-ava { width: 72px; height: 72px; border-radius: 20px; }
  .bs-hero h1 { font-size: 24px; } .bs-hero p { font-size: 14px; }
  .bs-cols { grid-template-columns: 1fr; }
  .bs-rep-h { flex-direction: column; align-items: flex-start; padding: 18px; gap: 14px; }
  .bs-score { width: 96px; height: 96px; padding-top: 28px; }
  .bs-task { flex-direction: column; align-items: stretch; }
  .bs-task-r { justify-content: flex-start; }
  .bs-help span { display: none; }
}
@media (max-width: 480px) {
  .bs-hero { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 18px 16px; align-items: start; }
  .bs-ava { width: 60px; height: 60px; border-radius: 16px; }
  .bs-ava canvas { width: 54px !important; height: 54px !important; margin-top: 6px; }
  .bs-hero h1 { font-size: 22px; }
  .bs-kicker { font-size: 11px; }
  .bs-team { gap: 8px; }
  .bs-mate { padding: 9px 10px; gap: 8px; }
  .bs-mate > .ico { width: 30px; height: 30px; padding: 7px; }
  .bs-mate small { white-space: normal; }
  .bs-run-n { width: 100%; }
}

/* ---------- Компактная шапка (как у AI-продавца): вкладки → сводка «статус · команда · Разобрать сейчас» ---------- */
.bs-page .bs-root { gap: 12px; }
.bs-page .bs-nav { margin: 0; }
.bs-page .bs-nav a em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); margin-left: 2px; }
.bs-sum { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr) auto; align-items: center; gap: 12px 18px; padding: 12px 14px 12px 12px; border-radius: 18px;
  background: linear-gradient(100deg, color-mix(in srgb, #F2C14E 12%, var(--surface)), var(--surface) 42%); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.bs-sum-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bs-sum .bs-ava { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 8px 20px -10px rgba(242, 193, 78, .9); }
.bs-sum .bs-ava canvas { margin-top: 6px; }
.bs-sum .bs-ava-ic .ico { width: 22px; height: 22px; }
.bs-sum:not(.on) .bs-ava { filter: grayscale(.6) brightness(.9); }
.bs-sum-tx { display: grid; gap: 6px; min-width: 0; }
.bs-sum-tx > b { font-size: 14px; }
.bs-sum .bs-meta { margin: 0; gap: 5px; }
.bs-sum .bs-chip { padding: 2px 9px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.bs-sum .bs-chip.mute { color: var(--muted); }
.bs-sum .bs-chip > .ico { color: #D99A1E; }
.bs-sum .bs-team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bs-sum .bs-mate { padding: 7px 10px; gap: 8px; border-radius: 12px; background: var(--surface-2); }
.bs-sum .bs-mate > .ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; }
.bs-sum .bs-mate b { font-size: 13px; }
.bs-sum .bs-mate small { font-size: 11px; }
.bs-sum-act { display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: center; }
.bs-sum .bs-run { justify-content: center; padding: 9px 16px; font-size: 14px; border-radius: 12px; white-space: nowrap; }
.bs-sum .bs-run-n { color: var(--muted); font-size: 11.5px; }
@media (max-width: 1500px) {
  .bs-sum { grid-template-columns: minmax(0, 1fr) auto; }
  .bs-sum .bs-team { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .bs-sum { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .bs-sum .bs-team { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-sum .bs-ava { width: 44px; height: 44px; }
  .bs-sum .bs-ava canvas { width: 40px !important; height: 40px !important; margin-top: 4px; }
}
