/* БАБХ Регистър v6 — публичен фронтенд. Всичко е scoped под .babh6 */
.babh6, .babh6 * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.babh6 {
  --bg: #F6F6F4; --bg-card: #FFFFFF; --bg-soft: #F0F0EC; --bg-warm: #FAF5EE;
  --sb: #0E1116; --sb-2: #1A1F26; --sb-3: #262C36; --sb-line: #262C36; --sb-t: #9CA3AF; --sb-t2: #6B7280;
  --t1: #0E1116; --t2: #3F4651; --t3: #6B7280; --t4: #9AA0AB;
  --bd: #E4E4E0; --bd-soft: #EEEEEA; --bd-hover: #CECEC8;
  --acc: #E66A3D; --acc-d: #C5572E; --acc-soft: #FCEEE5; --acc-line: #F4C9AC;
  --red: #B91C1C; --red-bg: #FEF2F2; --red-line: #FCA5A5;
  --amber: #92400E; --amber-bg: #FEF7E6; --amber-line: #F4D89A;
  --blue: #1E4DB7; --blue-bg: #EFF4FE; --green: #15803D; --green-bg: #E9F5EC;
  --shadow-1: 0 1px 2px rgba(14,17,22,.04);
  --shadow-2: 0 1px 3px rgba(14,17,22,.06), 0 1px 2px rgba(14,17,22,.04);
  --shadow-pop: 0 20px 60px rgba(14,17,22,.14), 0 4px 12px rgba(14,17,22,.06);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 14px; line-height: 1.55; color: var(--t1); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
.babh6 ::selection { background: rgba(230,106,61,.18); color: var(--t1); }
:where(.babh6) button, :where(.babh6) input, :where(.babh6) select { font-family: inherit; font-size: inherit; color: inherit; }
.babh6 h1, .babh6 h2, .babh6 h3 { font-size: inherit; font-weight: inherit; }
.babh6 :focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.babh6 a { color: inherit; text-decoration: none; }
.babh6 .mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.babh6 svg { display: inline-block; }
.b6-boot { padding: 60px 20px; text-align: center; color: var(--t3); }

/* ===== Layout ===== */
.b6-layout { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 82vh; background: var(--bg); border: 1px solid var(--bd); border-radius: 12px; box-shadow: var(--shadow-2); }
@media (min-width: 901px) { .b6-layout { grid-template-columns: 248px minmax(0, 1fr); border-radius: 18px; } }

/* ===== Sidebar ===== */
.b6-sb { background: var(--sb); color: #E5E7EB; padding: 20px 14px; display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .b6-sb { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 9100; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--shadow-pop); overflow-y: auto; }
  .b6-sb.open { transform: translateX(0); }
}
.b6-brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 18px; border-bottom: 1px solid var(--sb-line); margin-bottom: 14px; }
.b6-mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #E66A3D, #C5572E); position: relative; flex-shrink: 0; }
.b6-mark::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: rgba(255,255,255,.15); }
.b6-mark::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; top: 14px; left: 14px; box-shadow: 0 0 12px rgba(255,255,255,.5); }
.b6-brand-n { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.15; }
.b6-brand-t { font-size: 10.5px; color: var(--sb-t); text-transform: uppercase; letter-spacing: .6px; margin-top: 2px; font-weight: 500; }
.b6-sb-close { display: none; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--sb-line); background: var(--sb-2); color: #E5E7EB; align-items: center; justify-content: center; cursor: pointer; }
.b6-sb-close svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .b6-sb-close { display: flex; } .b6-sb { padding-top: 56px; } }
.b6-sb-l { font-size: 10.5px; color: var(--sb-t2); text-transform: uppercase; letter-spacing: .6px; font-weight: 500; padding: 14px 10px 6px; }
.b6-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: #D1D5DB; cursor: pointer; margin-bottom: 1px; background: none; border: none; width: 100%; text-align: left; transition: all .12s; }
.b6-item:hover { background: var(--sb-2); color: #fff; }
.b6-item.on { background: linear-gradient(90deg, rgba(230,106,61,.16), var(--sb-2) 60%); color: #fff; box-shadow: inset 3px 0 0 var(--acc); }
.b6-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .7; }
.b6-item.on svg { opacity: 1; color: var(--acc); }
.b6-item .lbl { flex: 1; }
.b6-item .count { background: var(--sb-3); color: #D1D5DB; font-size: 10.5px; padding: 1px 7px; border-radius: 100px; font-weight: 600; font-family: 'Geist Mono', monospace; }
.b6-item.alert .count { background: rgba(185,28,28,.18); color: #FCA5A5; }
.b6-item .pro { background: var(--acc); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 3px; font-weight: 700; letter-spacing: .4px; }
.b6-sb-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sb-line); font-size: 10.5px; color: var(--sb-t2); line-height: 1.6; }
.b6-sb-foot a { color: var(--sb-t); border-bottom: 1px dotted var(--sb-t2); }

/* ===== Main / topbar ===== */
.b6-main { min-width: 0; display: flex; flex-direction: column; }
.b6-top { background: var(--bg-card); border-bottom: 1px solid var(--bd); padding: 13px 24px; display: flex; align-items: center; gap: 14px; }
@media (max-width: 680px) { .b6-top { padding: 11px 14px; gap: 10px; } }
.b6-burger { display: none; width: 36px; height: 36px; background: var(--bg-soft); border: 1px solid var(--bd); border-radius: 8px; color: var(--t2); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.b6-burger svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .b6-burger { display: flex; } }
.b6-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--t3); font-weight: 500; white-space: nowrap; }
.b6-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; position: relative; }
.b6-live-dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: rgba(34,197,94,.35); animation: b6pulse 2s infinite; }
.b6-live.warn .b6-live-dot { background: #F59E0B; } .b6-live.warn .b6-live-dot::after { background: rgba(245,158,11,.35); }
.b6-live.err .b6-live-dot { background: var(--red); } .b6-live.err .b6-live-dot::after { animation: none; background: rgba(185,28,28,.25); }
.b6-live.none .b6-live-dot { background: var(--t4); } .b6-live.none .b6-live-dot::after { animation: none; display: none; }
@keyframes b6pulse { 0% { transform: scale(.6); opacity: 1; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) { .b6-live { display: none; } }
.b6-topq { flex: 1; max-width: 520px; position: relative; }
.b6-topq input { width: 100%; padding: 9px 12px 9px 36px; font-size: 13.5px; background: var(--bg-soft); border: 1px solid transparent; border-radius: 9px; transition: all .15s; }
.b6-topq input:focus { background: var(--bg-card); border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.12); }
.b6-topq svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--t4); pointer-events: none; }

/* ===== Content ===== */
.b6-content { padding: 24px; flex: 1; }
@media (max-width: 900px) { .b6-content { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 680px) { .b6-content { padding: 16px 14px calc(84px + env(safe-area-inset-bottom)); } }
.b6-content.flag-mode { background: linear-gradient(180deg, #F9EBE1 0, var(--bg) 340px); }
.b6-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.b6-title { font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
@media (max-width: 680px) { .b6-title { font-size: 22px; } }
.b6-sub { font-size: 13px; color: var(--t3); margin-top: 6px; max-width: 560px; }
.b6-actions { display: flex; gap: 8px; }
.b6-btn { padding: 9px 14px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .12s; }
.b6-btn:hover { border-color: var(--bd-hover); color: var(--t1); box-shadow: var(--shadow-1); }
.b6-btn svg { width: 14px; height: 14px; }

/* ===== Bento stats ===== */
.b6-bento { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 10px; margin-bottom: 22px; }
@media (max-width: 900px) { .b6-bento { grid-template-columns: 1fr 1fr; } .b6-bento .b6-bm { grid-column: span 2; } }
.b6-bm { background: linear-gradient(135deg, #0E1116, #1B232E); color: #fff; border-radius: 16px; padding: 20px 22px; position: relative; overflow: hidden; }
.b6-bm::before { content: ''; position: absolute; top: -70px; right: -70px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(230,106,61,.22), transparent 70%); pointer-events: none; }
.b6-bm-l { font-size: 11.5px; color: #9CA3AF; font-weight: 500; display: flex; gap: 7px; align-items: center; }
.b6-bm-l svg { width: 13px; height: 13px; }
.b6-bm-n { font-size: 38px; font-weight: 600; font-family: 'Geist Mono', monospace; letter-spacing: -1.5px; line-height: 1.05; margin: 6px 0 2px; }
@media (max-width: 680px) { .b6-bm-n { font-size: 30px; } }
.b6-bm-d { font-size: 11.5px; color: #4ADE80; font-weight: 500; margin-bottom: 14px; }
.b6-chart { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.b6-bar { flex: 1; background: #2A313C; border-radius: 3px 3px 0 0; min-height: 0; transition: background .2s; cursor: default; }
.b6-bar.zero { border-top: 2px dashed #3D4754; background: none; height: 0 !important; }
.b6-bar:hover { background: #3D4754; }
.b6-bar.now { background: linear-gradient(180deg, #F0975C, #E66A3D); }
.b6-chart-x { display: flex; gap: 5px; margin-top: 6px; }
.b6-chart-x span { flex: 1; text-align: center; font-size: 8.5px; color: #6B7280; font-family: 'Geist Mono', monospace; overflow: hidden; white-space: nowrap; }
.b6-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.b6-bc { border-radius: 16px; padding: 15px 17px; border: 1px solid var(--bd); background: var(--bg-card); display: flex; flex-direction: column; justify-content: center; transition: all .15s; }
.b6-bc:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230,106,61,.08), 0 2px 6px rgba(20,17,14,.05); }
.b6-bc.tint { background: linear-gradient(135deg, #FCEEE5, #FBF7F2); border-color: var(--acc-line); }
.b6-bc-l { font-size: 11px; color: var(--t3); font-weight: 500; display: flex; align-items: center; gap: 6px; }
.b6-bc-l svg { width: 12px; height: 12px; }
.b6-bc-n { font-size: 26px; font-weight: 600; font-family: 'Geist Mono', monospace; letter-spacing: -.8px; margin-top: 4px; }
.b6-bc.tint .b6-bc-n { color: var(--acc-d); }
.b6-bc-s { font-size: 10.5px; color: var(--t3); margin-top: 3px; }

/* ===== Filter bar ===== */
.b6-fbar { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 13px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; box-shadow: var(--shadow-1); position: sticky; top: 8px; z-index: 40; }
.b6-fq { flex: 1; min-width: 200px; position: relative; }
.b6-fq input { width: 100%; padding: 9px 34px 9px 36px; font-size: 13.5px; background: var(--bg-soft); border: 1px solid transparent; border-radius: 8px; transition: all .15s; }
.b6-fq input:focus { background: var(--bg-card); border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.1); }
.b6-fq svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--t4); pointer-events: none; }
.b6-fq .clr { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 5px; background: none; border: none; color: var(--t3); cursor: pointer; display: none; align-items: center; justify-content: center; }
.b6-fq .clr.show { display: flex; }
.b6-fq .clr svg { position: static; transform: none; width: 13px; height: 13px; }
.b6-chip { padding: 6px 11px; font-size: 12px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); border-radius: 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: all .12s; }
.b6-chip:hover { border-color: var(--bd-hover); }
.b6-chip.on { background: var(--sb); color: #fff; border-color: var(--sb); }
.b6-chip.on.danger { background: var(--red); border-color: var(--red); }
.b6-chip svg { width: 13px; height: 13px; }
.b6-chip .c { font-family: 'Geist Mono', monospace; font-size: 10.5px; background: var(--bg-soft); color: var(--t3); padding: 1px 6px; border-radius: 3px; font-weight: 600; }
.b6-chip.on .c { background: rgba(255,255,255,.18); color: #fff; }
.b6-sel { border: 1px solid var(--bd); background: var(--bg-card); padding: 7px 26px 7px 10px; border-radius: 7px; font-size: 12px; color: var(--t2); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 8px center; background-size: 12px; }

/* Category chips */
.b6-cats { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 0 6px; scrollbar-width: none; }
.b6-cats::-webkit-scrollbar { display: none; }
.b6-cat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); border-radius: 100px; cursor: pointer; white-space: nowrap; transition: all .12s; }
.b6-cat:hover { border-color: var(--bd-hover); }
.b6-cat.on { background: var(--sb); color: #fff; border-color: var(--sb); }
.b6-cat .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b6-cat .c { font-family: 'Geist Mono', monospace; font-size: 10.5px; color: var(--t4); }
.b6-cat.on .c { color: rgba(255,255,255,.7); }
.b6-legend { display: block; font-size: 11px; color: var(--t3); margin-bottom: 10px; line-height: 1.5; padding: 0 4px; flex-wrap: wrap; }
.b6-legend span { display: inline-flex; align-items: center; gap: 5px; }
.b6-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.b6-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; padding: 0 4px; font-size: 12px; color: var(--t3); }
.b6-meta b { color: var(--t1); font-family: 'Geist Mono', monospace; }

/* ===== Cards ===== */
.b6-cards { display: flex; flex-direction: column; gap: 5px; }
.b6-card { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all .15s; }
.b6-card:hover { border-color: var(--bd-hover); box-shadow: 0 6px 20px rgba(230,106,61,.07), 0 2px 6px rgba(20,17,14,.05); transform: translateY(-1px); }
.b6-card.flagged { border-left: 3px solid var(--acc); }
.b6-card.open { border-color: var(--sb); box-shadow: 0 10px 32px rgba(14,17,22,.08); transform: translateY(-1px); }
.b6-ch { padding: 12px 15px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.b6-tile { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.b6-tile svg { width: 18px; height: 18px; }
@media (max-width: 680px) { .b6-tile { width: 32px; height: 32px; border-radius: 8px; } .b6-tile svg { width: 15px; height: 15px; } }
.b6-cn { font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.15px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 680px) { .b6-cn { font-size: 13.5px; -webkit-line-clamp: 2; } }
.b6-cm { display: flex; gap: 12px; font-size: 11.5px; color: var(--t3); margin-top: 4px; align-items: center; flex-wrap: wrap; }
.b6-reg { font-family: 'Geist Mono', monospace; font-size: 10.5px; font-weight: 500; background: var(--bg-soft); color: var(--t2); padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.b6-card.flagged .b6-reg { background: var(--acc-soft); color: var(--acc-d); }
.b6-firm { display: inline-flex; align-items: center; gap: 5px; color: var(--t2); font-weight: 500; }
.b6-firm svg { width: 12px; height: 12px; color: var(--t4); }
.b6-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.b6-tag.danger { background: var(--red-bg); color: var(--red); }
.b6-tag.warn { background: var(--amber-bg); color: var(--amber); }
.b6-tag.info { background: var(--blue-bg); color: var(--blue); }
.b6-tag.green { background: var(--green-bg); color: var(--green); }
.b6-tag svg { width: 10px; height: 10px; }
.b6-cd { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.b6-date { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--t4); }
.b6-chev { color: var(--t4); width: 16px; height: 16px; transition: transform .25s; }
.b6-card.open .b6-chev { transform: rotate(180deg); color: var(--acc); }

/* ===== Detail ===== */
.b6-body { border-top: 1px solid var(--bd-soft); padding: 18px 22px 20px; background: linear-gradient(180deg, #FCFCFB, #fff); display: block; animation: b6in .25s ease; }
.b6-body-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.b6-body-bar .b6-cn-full { font-size: 15px; font-weight: 600; line-height: 1.35; flex: 1; min-width: 200px; }
.b6-body-bar .b6-acts { display: flex; gap: 6px; }
@keyframes b6in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; } }
@media (max-width: 780px) { .b6-body { grid-template-columns: 1fr; gap: 16px; padding: 16px 14px; } }
.b6-flagbox { background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; display: flex; gap: 10px; font-size: 12.5px; color: var(--amber); line-height: 1.5; }
.b6-flagbox.danger { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.b6-flagbox svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.b6-flagbox b { display: block; font-weight: 600; font-size: 13px; }
.b6-sec { margin-bottom: 16px; }
.b6-sec:last-child { margin-bottom: 0; }
.b6-sec-l { font-size: 10.5px; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; display: flex; justify-content: space-between; }
.b6-sec-l .count { font-family: 'Geist Mono', monospace; background: var(--bg-soft); color: var(--t2); padding: 1px 7px; border-radius: 3px; text-transform: none; }
.b6-grid { display: grid; grid-template-columns: 130px 1fr; gap: 7px 14px; font-size: 13px; }
.b6-grid .l { color: var(--t3); font-weight: 500; }
.b6-grid .v { color: var(--t1); }
.b6-purpose { font-size: 13px; line-height: 1.6; color: var(--t2); padding: 12px 15px; background: var(--bg-warm); border-radius: 10px; border-left: 3px solid var(--acc-line); }
.b6-ings { display: flex; flex-wrap: wrap; gap: 5px; }
.b6-ing { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 100px; font-size: 12px; color: var(--t2); font-weight: 500; cursor: pointer; transition: all .12s; }
.b6-ing:hover { border-color: var(--acc); box-shadow: 0 0 0 2px rgba(230,106,61,.12); }
.b6-ing.warn { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.b6-ing.danger { background: var(--red-bg); border-color: var(--red-line); color: var(--red); }
.b6-ing .amt { color: var(--t4); font-weight: 400; font-family: 'Geist Mono', monospace; font-size: 10.5px; }
.b6-ing.warn .amt, .b6-ing.danger .amt { color: inherit; opacity: .75; }
.b6-aside { display: flex; flex-direction: column; gap: 10px; }
.b6-acard { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 10px; padding: 13px 15px; }
.b6-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.b6-act { padding: 8px 12px; min-height: 36px; font-size: 12px; font-weight: 500; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 7px; color: var(--t2); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .12s; }
.b6-act:hover { border-color: var(--bd-hover); color: var(--t1); }
.b6-act svg { width: 13px; height: 13px; }

/* ===== Empty / load ===== */
.b6-empty { text-align: center; padding: 48px 20px; color: var(--t3); font-size: 13px; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 14px; }
.b6-empty-t { font-size: 15px; font-weight: 600; color: var(--t1); margin: 12px 0 4px; }
.b6-more { margin: 18px auto 0; display: block; padding: 10px 24px; border: 1px solid var(--bd); background: var(--bg-card); border-radius: 8px; color: var(--t2); cursor: pointer; font-size: 12.5px; font-weight: 500; transition: all .12s; }
.b6-more:hover { border-color: var(--acc); color: var(--acc); }
.b6-more:disabled { opacity: .5; cursor: default; }
.b6-sk { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 12px; padding: 16px; margin-bottom: 6px; }
.b6-sk-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-soft) 25%, #E9E9E4 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: b6sh 1.2s infinite; }
@keyframes b6sh { to { background-position: -200% 0; } }

/* ===== Скоро / Pro ===== */
.b6-soon { max-width: 560px; margin: 8px 0 0; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-1); }
@media (max-width: 680px) { .b6-soon { padding: 18px 16px; } }
.b6-soon-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--acc-soft); color: var(--acc-d); padding: 4px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 12px; }
.b6-soon-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.b6-soon h2 { font-size: 18px; font-weight: 600; letter-spacing: -.3px; margin-bottom: 6px; }
.b6-soon p { font-size: 13.5px; color: var(--t3); line-height: 1.6; margin-bottom: 14px; }
.b6-soon-now { font-size: 12.5px; color: var(--t2); background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.b6-wait { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.b6-wait input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 10px 14px; font-size: 14px; border: 1px solid var(--bd); border-radius: 8px; background: var(--bg-card); }
.b6-wait input[type="email"]:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.12); }
.b6-wait input[aria-invalid="true"] { border-color: var(--red); }
.b6-wait button { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; font-size: 13px; font-weight: 600; background: var(--sb); color: #fff; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; line-height: 1; }
.b6-wait button svg { width: 16px; height: 16px; flex-shrink: 0; }
.b6-wait button:hover { background: #1F2937; }
.b6-wait button:disabled { opacity: .6; cursor: default; }
@media (max-width: 480px) { .b6-wait button { flex-basis: 100%; } }
.b6-wait-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--t2); }
.b6-wait-list li { display: flex; gap: 8px; align-items: flex-start; }
.b6-wait-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex-shrink: 0; margin-top: 7px; }
.b6-wait-ok { font-size: 13px; color: var(--green); font-weight: 500; padding: 10px 0; }
.b6-soon-note { font-size: 11.5px; color: var(--t4); margin-top: 10px; }
.b6-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ===== Mobile bottom nav ===== */
.b6-bnav { display: none; position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg-card); border-top: 1px solid var(--bd); z-index: 9050; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); grid-template-columns: repeat(4, 1fr); }
.b6-bnav button { background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; font-size: 10px; color: var(--t3); cursor: pointer; }
.b6-bnav button.on { color: var(--acc); }
.b6-bnav button svg { width: 19px; height: 19px; }
@media (max-width: 900px) { .b6-bnav { display: grid; } }
.b6-scrim { display: none; position: fixed; inset: 0; background: rgba(14,17,22,.45); z-index: 9080; }
.b6-scrim.show { display: block; }

/* ===== Standalone full-page (плъгинът е целият сайт) ===== */
body.babh6-body { margin: 0; background: #ECECE8; font-family: 'Geist', system-ui, sans-serif; }
.b6-page { max-width: 1480px; margin: 0 auto; padding: 20px clamp(10px, 2vw, 28px) 36px; }
.b6-page .b6-layout { min-height: calc(100vh - 130px); }
.b6-site-f { text-align: center; font-size: 11.5px; color: #9AA0AB; padding: 16px 10px 0; line-height: 1.6; }
@media (max-width: 680px) { .b6-page { padding: 8px 8px 36px; } }

/* ===== Password gate ===== */
.b6-gate { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0E1116, #1B232E); border-radius: 18px; padding: 30px 16px; font-family: 'Geist', system-ui, sans-serif; }
.b6-gate-card { width: 340px; max-width: 100%; text-align: center; }
.b6-gate-t { font-size: 20px; font-weight: 600; color: #fff; letter-spacing: -.4px; }
.b6-gate-s { font-size: 13px; color: #9CA3AF; margin: 6px 0 18px; }
.b6-gate input { width: 100%; padding: 12px 14px; font-size: 14px; background: #1A1F26; border: 1px solid #262C36; border-radius: 9px; color: #fff; text-align: center; margin-bottom: 10px; }
.b6-gate input:focus { border-color: #E66A3D; }
.b6-gate button { width: 100%; padding: 12px; font-size: 13.5px; font-weight: 600; background: #E66A3D; color: #fff; border: none; border-radius: 9px; cursor: pointer; }
.b6-gate button:hover { background: #C5572E; }
.b6-gate button:disabled { opacity: .6; cursor: default; }
.b6-gate-err { min-height: 20px; font-size: 12.5px; color: #FCA5A5; margin-top: 10px; }

/* ===== Novel Food ===== */
.b6-nv { max-width: 680px; }
.b6-nv-bar { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.b6-nv-bar .b6-fq { flex: 1 1 240px; }
.b6-nv-lbl { display: block; font-size: 12.5px; font-weight: 500; color: var(--t2); margin-bottom: 6px; }
.b6-nv-help { font-size: 11.5px; color: var(--t3); margin: -6px 0 12px; }
.b6-nv-go { min-height: 44px; padding: 9px 18px; font-size: 13px; font-weight: 600; background: var(--sb); color: #fff; border: none; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.b6-nv-go:hover { background: #1F2937; }
.b6-nv-go:disabled { opacity: .6; cursor: default; }
.b6-nv-go svg { width: 14px; height: 14px; }
.b6-nv-card { border: 1px solid; border-radius: 12px; padding: 16px 18px; animation: b6in .25s ease; }
.b6-nv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.b6-nv-badge { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 4px 11px; border-radius: 100px; }
.b6-nv-ing { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.b6-nv-cache { font-size: 10.5px; color: var(--t4); font-style: italic; }
.b6-nv-sum { font-size: 13.5px; line-height: 1.6; font-weight: 500; }
.b6-nv-meta { font-size: 11.5px; color: var(--t3); margin-top: 8px; }
.b6-nv-src { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; display: grid; gap: 4px; }
.b6-nv-src a { color: var(--blue); text-decoration: underline; word-break: break-all; }
.b6-nv-card.unknown { background: var(--bg-soft); border-color: var(--bd-hover); }
.b6-nv-note { font-size: 11px; color: var(--t4); margin-top: 18px; line-height: 1.6; }
.b6-nv-hrow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 13px; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 8px; margin-bottom: 4px; cursor: pointer; text-align: left; font-size: 13px; transition: all .12s; }
.b6-nv-hrow:hover { border-color: var(--bd-hover); }
.b6-nv-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b6-nv-hn { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b6-nv-hl { font-size: 10.5px; font-weight: 700; letter-spacing: .3px; }

/* ===== Pro: фирми ===== */
.b6-title > svg { width: 22px; height: 22px; vertical-align: -3px; margin-right: 4px; color: var(--acc); }
.b6-pro-badge { display: inline-block; vertical-align: middle; background: var(--acc); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 700; letter-spacing: .4px; margin-left: 6px; transform: translateY(-4px); }
.b6-tbl-wrap { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 14px; overflow: auto; box-shadow: var(--shadow-1); }
.b6-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.b6-tbl th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--t3); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--bd); background: var(--bg-soft); white-space: nowrap; }
.b6-tbl td { padding: 10px 14px; border-bottom: 1px solid var(--bd-soft); vertical-align: middle; }
.b6-tbl tr:last-child td { border-bottom: none; }
.b6-tbl .num { text-align: right; font-family: 'Geist Mono', monospace; white-space: nowrap; }
.b6-tbl .idx { color: var(--t4); font-family: 'Geist Mono', monospace; font-size: 11px; width: 34px; }
.b6-tbl .b6-pname { font-weight: 500; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.b6-prow { cursor: pointer; transition: background .12s; }
.b6-prow:hover { background: var(--bg-warm); }
.b6-plink { color: var(--t1); border-bottom: 1px dotted var(--bd-hover); cursor: pointer; }
.b6-plink:hover { color: var(--acc-d); border-bottom-color: var(--acc); }
.b6-share { height: 4px; border-radius: 2px; background: var(--bg-soft); margin-top: 6px; max-width: 320px; }
.b6-share i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); border-radius: 8px; cursor: pointer; }
.b6-back svg { width: 14px; height: 14px; transform: rotate(90deg); }
.b6-back:hover { border-color: var(--bd-hover); color: var(--t1); }
.b6-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 900px) { .b6-kpis { grid-template-columns: repeat(2, 1fr); } }
.b6-kpis .b6-bc-n a { border-bottom: 1px dotted var(--bd-hover); }
.b6-pmeta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 14px; padding: 14px 16px; }
@media (max-width: 900px) { .b6-pmeta { grid-template-columns: 1fr; } }
.b6-yrs { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin-top: 8px; }
.b6-yr { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 14px; }
.b6-yr i { display: block; width: 100%; max-width: 22px; border-radius: 3px 3px 0 0; background: var(--acc-line); }
.b6-yr:last-child i { background: var(--acc); }
.b6-yr span { font-size: 9.5px; color: var(--t4); margin-top: 3px; font-family: 'Geist Mono', monospace; }
.b6-pcats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.b6-chip.firm { background: var(--acc-d); border-color: var(--acc-d); max-width: 260px; }
.b6-chip.firm svg:last-child { margin-left: 2px; opacity: .8; }

/* ===== Редакция на текстовете: състояния, бележки, достъпност ===== */
.b6-item .pro.soon { background: var(--sb-3); color: var(--sb-t); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 8.5px; padding: 2px 5px; white-space: nowrap; flex-shrink: 0; }
.b6-item .lbl { min-width: 0; line-height: 1.2; }
.b6-flagnote { font-size: 11.5px; color: var(--t3); margin-top: 6px; line-height: 1.5; }
.b6-flagbox .b6-flagnote { color: inherit; opacity: .8; }
.b6-orig { margin-top: 8px; font-size: 12px; }
.b6-orig summary { cursor: pointer; color: var(--t3); border-bottom: 1px dotted var(--bd-hover); display: inline; }
.b6-orig summary:hover { color: var(--acc-d); }
.b6-orig > div { margin-top: 6px; padding: 10px 12px; background: var(--bg-soft); border-radius: 8px; white-space: pre-wrap; color: var(--t2); line-height: 1.55; }
.b6-retry { padding: 8px 16px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t1); border-radius: 8px; cursor: pointer; }
.b6-retry:hover { border-color: var(--acc); color: var(--acc-d); }
.b6-errdet { margin-top: 12px; font-size: 11px; color: var(--t4); }
.b6-errdet summary { cursor: pointer; }
.b6-errdet code { display: block; margin-top: 6px; word-break: break-all; }
.b6-load-err { margin: 12px 0; padding: 10px 14px; background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 10px; font-size: 12.5px; color: var(--amber); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.b6-more-wrap { text-align: center; }
.b6-left { font-size: 11.5px; color: var(--t4); margin-top: 6px; }
.b6-wl-label { display: block; font-size: 12px; font-weight: 500; color: var(--t2); margin-bottom: 6px; }
.b6-wl-err { font-size: 12px; color: var(--red); margin-top: 6px; min-height: 1em; }
.b6-card:focus-visible, .b6-ing:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ===== v6.5: fullwidth, залепено меню, „Продукти“ с панел филтри, профили с изгледи ===== */
.b6-page { max-width: none; padding: 0; }
.b6-page .b6-layout { min-height: 100vh; }
.b6-site-f { padding: 14px 10px; background: var(--bg); }
.b6-layout { border-radius: 0; border: none; box-shadow: none; overflow: visible; }
@media (min-width: 901px) { .b6-layout { grid-template-columns: 250px minmax(0, 1fr); border-radius: 0; } }
/* UX-02: залепено меню извън overflow контейнер; отчита WordPress admin bar в shortcode режим */
@media (min-width: 901px) { .b6-sb { position: sticky; align-self: start; top: var(--wp-admin--admin-bar--height, 0px); height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; } }
.b6-top { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30; }
.b6-content { padding: 26px 32px 40px; max-width: 1480px; width: 100%; }
@media (max-width: 1100px) { .b6-content { padding: 22px 20px 40px; } }
@media (max-width: 900px) { .b6-content { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 680px) { .b6-content { padding: 16px 14px calc(84px + env(safe-area-inset-bottom)); } }
.b6-bnav { grid-template-columns: repeat(5, 1fr); }
.b6-sb-foot #b6-live-t { display: block; color: var(--sb-t); margin-bottom: 6px; }
.b6-link { background: none; border: none; padding: 0; font-size: 12.5px; color: var(--acc-d); cursor: pointer; border-bottom: 1px dotted var(--acc-line); }
.b6-link:hover { color: var(--acc); }
.b6-btn.primary { background: var(--sb); color: #fff; border-color: var(--sb); }
.b6-btn.primary:hover { background: var(--sb-2); color: #fff; }
.b6-iconbtn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.b6-iconbtn svg { width: 14px; height: 14px; }

/* Обобщение */
.b6-kpis.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1300px) { .b6-kpis.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .b6-kpis.six { grid-template-columns: repeat(2, 1fr); } }
.b6-kpis { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .b6-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .b6-kpis { grid-template-columns: repeat(2, 1fr); } }
.b6-bc.link { cursor: pointer; }
.b6-bc.link:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.b6-ov { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 12px; align-items: start; }
@media (max-width: 1000px) { .b6-ov { grid-template-columns: 1fr; } }
.b6-ov .b6-bm { min-height: 0; grid-column: auto; }
.b6-ov .b6-chart { height: 150px; }
@media (max-width: 680px) { .b6-ov .b6-chart { height: 110px; } }
.b6-ov .b6-chart-x span { font-size: 9.5px; }
.b6-ov-note { font-size: 11px; color: #9CA3AF; margin-top: 8px; line-height: 1.5; }
.b6-ovcat.muted .bar i { background: var(--bd-hover); }
.b6-ovc { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 16px 18px; }
.b6-ovcat { display: grid; grid-template-columns: minmax(120px, 1fr) 1.2fr auto; align-items: center; gap: 12px; padding: 6px 4px; border-radius: 8px; font-size: 13px; }
.b6-ovcat:hover { background: var(--bg-soft); }
.b6-ovcat .n { font-weight: 500; }
.b6-ovcat .bar { height: 6px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.b6-ovcat .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-ovcat .c { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--t3); }
.b6-ovcat.muted { color: var(--t3); border-top: 1px dashed var(--bd); margin-top: 6px; padding-top: 10px; border-radius: 0; }

/* Продукти: търсачка + панел с филтри */
.b6-ptool { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.b6-ptool .b6-fq { flex: 1; min-width: 220px; }
.b6-ptool .b6-fq input { background: var(--bg-card); border-color: var(--bd); padding: 11px 34px 11px 38px; font-size: 14px; border-radius: 10px; }
.b6-fbtn { display: none; }
.b6-fpanel { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 14px 16px 12px; margin-bottom: 10px; box-shadow: var(--shadow-1); }
.b6-fpanel:empty { display: none; }
.b6-fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; margin-bottom: 12px; }
@media (max-width: 1100px) { .b6-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b6-fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.b6-fld-l { font-size: 10.5px; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: .5px; }
.b6-fld-h { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--t4); margin-left: 6px; }
.b6-fld .b6-sel { width: 100%; padding: 8px 26px 8px 10px; text-overflow: ellipsis; }
.b6-fcats { border-top: 1px solid var(--bd-soft); padding-top: 12px; }
.b6-cks { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.b6-cks.other { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--bd); }
.b6-ck { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border: 1px solid var(--bd); border-radius: 8px; background: var(--bg-card); font-size: 12.5px; cursor: pointer; transition: all .12s; }
.b6-ck:hover { border-color: var(--bd-hover); }
.b6-ck.on { border-color: var(--acc); background: var(--acc-soft); color: var(--acc-d); }
.b6-ck input { width: 15px; height: 15px; margin: 0; accent-color: var(--acc); cursor: pointer; }
.b6-ck-c { font-family: 'Geist Mono', monospace; font-size: 10.5px; color: var(--t4); }
.b6-ck.on .b6-ck-c { color: var(--acc-d); }
.b6-fcats .b6-link { margin-top: 8px; display: inline-block; }
.b6-active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; }
.b6-active:not(.has) { display: none; }
.b6-active-l { font-size: 11.5px; color: var(--t3); font-weight: 500; margin-right: 2px; }
.b6-active .b6-chip.on { background: var(--acc); border-color: var(--acc); color: #fff; white-space: normal; text-align: left; }
.b6-active .b6-chip svg:last-child { margin-left: 2px; opacity: .85; }
.b6-active .b6-link { margin-left: 6px; }
.b6-sortl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t3); }
.b6-meta { flex-wrap: wrap; gap: 8px; }
.b6-card.gone { opacity: .78; }
.b6-card.gone .b6-cn { text-decoration: line-through; text-decoration-color: var(--red-line); }

/* На телефон: панелът е отделен екран с „Приложи филтрите“ */
@media (max-width: 900px) {
  .b6-fbtn { display: inline-flex; }
  .b6-fpanel { display: none; }
  .b6-fpanel.sheet.open { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 9200; border-radius: 0; border: none; margin: 0; padding: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .b6-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--bd); font-size: 15px; position: sticky; top: 0; background: var(--bg-card); z-index: 1; }
  .b6-fpanel.sheet .b6-fgrid { grid-template-columns: 1fr; gap: 14px; padding: 16px 16px 4px; margin-bottom: 0; }
  .b6-fpanel.sheet .b6-fcats { padding: 12px 16px 100px; border-top: none; }
  .b6-fpanel.sheet .b6-cks { flex-direction: column; gap: 6px; }
  .b6-fpanel.sheet .b6-ck { justify-content: flex-start; padding: 10px 12px; }
  .b6-fpanel.sheet .b6-ck-c { margin-left: auto; }
  .b6-sheet-f { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg-card); border-top: 1px solid var(--bd); z-index: 2; }
  .b6-sheet-f .b6-btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }
  body.b6-noscroll { overflow: hidden; }
}

/* Профил на фирма: изгледи */
.b6-seg { display: inline-flex; gap: 2px; background: var(--bg-soft); border: 1px solid var(--bd); border-radius: 10px; padding: 3px; margin: 16px 0 12px; max-width: 100%; overflow-x: auto; }
.b6-seg-b { border: none; background: none; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--t2); cursor: pointer; white-space: nowrap; }
.b6-seg-b.on { background: var(--bg-card); color: var(--t1); box-shadow: var(--shadow-2); }
.b6-prow { cursor: pointer; }
.b6-prow:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }

/* ===== v6.6 (по одита от 30.09.2026): достъпност, движение, състояния ===== */
@media (prefers-reduced-motion: reduce) {
  .babh6 *, .babh6 *::before, .babh6 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.babh6 .b6-item:focus-visible, .babh6 .b6-bnav button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.b6-sb[aria-modal="true"] { outline: none; }
.b6-deep { margin: 0 0 12px; padding: 10px 14px; background: var(--blue-bg); border: 1px solid #C3D8F5; border-radius: 10px; font-size: 12.5px; color: var(--blue); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.b6-deep .b6-link { color: var(--blue); border-bottom-color: #C3D8F5; }
.b6-sb-logout { margin-top: 10px; background: none; border: 1px solid var(--sb-line); color: var(--sb-t); font-size: 11px; padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.b6-sb-logout:hover { color: #fff; border-color: var(--sb-t2); }
.b6-fld-ck { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--t2); padding: 8px 0; cursor: pointer; }
.b6-fld-ck input { width: 15px; height: 15px; margin: 0; accent-color: var(--acc); }
.b6-fgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1250px) { .b6-fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .b6-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b6-meta .b6-upd { font-size: 11px; color: var(--t4); font-style: italic; }
.b6-list-updating { opacity: .6; transition: opacity .15s; }
.b6-inf { font-size: 11px; color: var(--t3); background: var(--bg-soft); border-radius: 4px; padding: 2px 6px; margin-left: 4px; font-weight: 500; }
.b6-grid .v .sub { font-size: 11.5px; color: var(--t3); margin-top: 2px; }
.b6-grid .v.na { color: var(--t4); font-style: italic; }
.b6-ings.long { max-height: 220px; overflow: hidden; position: relative; }
.b6-ings.long::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, #fff); }
.b6-ing.raw { cursor: default; border-style: dashed; }
.b6-ing.raw:hover { border-color: var(--bd); box-shadow: none; }
.b6-kpi-def { font-size: 11.5px; color: var(--t3); margin: -8px 0 14px; line-height: 1.5; }
.b6-tbl-note { font-size: 11.5px; color: var(--t3); padding: 8px 4px 0; }
.b6-plink[role="button"] { background: none; border: none; border-bottom: 1px dotted var(--bd-hover); padding: 0; font: inherit; }
.b6-tag.muted { background: var(--bg-soft); color: var(--t3); }
@media (max-width: 900px) { .b6-fpanel.sheet .b6-fgrid { grid-template-columns: 1fr; } }
.babh6 input[type="search"]::-webkit-search-cancel-button, .babh6 input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.babh6 input[type="search"] { -webkit-appearance: none; appearance: none; }
.b6-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ===== v6.7 — нов дизайн: една търсачка на раздел, панел с филтри, мрежа от карти ===== */
.b6-crumb { font-size: 13px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.b6-crumb b { color: var(--t1); font-weight: 500; }
.b6-crumb .sep { margin: 0 6px; color: var(--t4); }

/* Hero с единствената търсачка */
.b6-hero { background: linear-gradient(135deg, #0E1116, #161C24); color: #fff; border-radius: 20px; padding: 26px 30px 22px; margin-bottom: 22px; position: relative; overflow: hidden; }
.b6-hero::before { content: ''; position: absolute; top: -90px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(230,106,61,.18), transparent 70%); pointer-events: none; }
.b6-hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; position: relative; }
.babh6 .b6-hero-t { font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
.b6-hero-s { font-size: 13.5px; color: #A8ADB5; margin-top: 6px; max-width: 620px; line-height: 1.5; }
.b6-hero-stats { display: flex; gap: 28px; flex-shrink: 0; }
.b6-hs { display: flex; flex-direction: column; gap: 2px; }
.b6-hs b { font-family: 'Geist Mono', monospace; font-size: 20px; font-weight: 500; letter-spacing: -.5px; }
.b6-hs span { font-size: 11.5px; color: #A8ADB5; }
.b6-hq { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; height: 58px; padding: 0 8px 0 18px; box-shadow: 0 0 0 4px rgba(230,106,61,.22); }
.b6-hq:focus-within { box-shadow: 0 0 0 4px rgba(230,106,61,.45); }
.b6-hq > svg { width: 21px; height: 21px; color: var(--acc); flex-shrink: 0; }
.b6-hq input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16.5px; color: var(--t1); height: 100%; }
.babh6 .b6-hq input:focus-visible { outline: none; }
.b6-hq .clr { width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--bg-soft); color: var(--t3); display: none; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.b6-hq .clr.show { display: flex; }
.b6-hq .clr svg { width: 14px; height: 14px; }
.b6-hq-go { height: 42px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--acc); color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.b6-hq-go:hover { background: var(--acc-d); }
.b6-hero-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; position: relative; }
.b6-hero-sug span { color: #A8ADB5; margin-right: 2px; }
.b6-hero-sug button { border: 1px solid #2C323B; background: #161A20; color: #E4E6EA; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; }
.b6-hero-sug button:hover { border-color: var(--acc); color: #fff; }
.b6-hero-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: #A8ADB5; position: relative; }
.b6-hero-note svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 900px) {
  .b6-hero { padding: 20px 18px 18px; border-radius: 16px; }
  .b6-hero-top { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .babh6 .b6-hero-t { font-size: 24px; }
  .b6-hero-stats { gap: 20px; }
  .b6-hq { height: 52px; padding-left: 14px; }
  .b6-hq input { font-size: 16px; }
  .b6-hq-go { display: none; }
}

/* Продукти: панел + резултати */
.b6-pbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
@media (min-width: 901px) {
  .b6-pbody { grid-template-columns: 272px minmax(0, 1fr); }
  .b6-pbody > .b6-fpanel { display: block; margin: 0; padding: 0; position: sticky; top: calc(64px + var(--wp-admin--admin-bar--height, 0px)); max-height: calc(100vh - 84px - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; scrollbar-width: thin; }
}
.b6-fpanel { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; box-shadow: var(--shadow-1); }
.b6-fp-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--bd-soft); position: sticky; top: 0; background: var(--bg-card); z-index: 1; border-radius: 16px 16px 0 0; }
.b6-fp-t { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.b6-fp-t svg { width: 16px; height: 16px; }
.b6-fp-n { font-size: 11.5px; background: var(--acc-soft); color: var(--acc-d); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.b6-fp-s { padding: 14px 16px; border-bottom: 1px solid var(--bd-soft); display: flex; flex-direction: column; gap: 9px; }
.b6-fp-s:last-child { border-bottom: 0; }
.b6-fp-s .b6-fld-l { display: flex; justify-content: space-between; align-items: baseline; }
.b6-rlist { display: flex; flex-direction: column; gap: 2px; }
.b6-rlist label { display: flex; align-items: center; gap: 9px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; font-size: 13px; color: var(--t2); cursor: pointer; }
.b6-rlist label:hover { background: var(--bg-soft); }
.b6-rlist label.on { color: var(--t1); font-weight: 500; }
.b6-rlist input { width: 15px; height: 15px; margin: 0; accent-color: var(--acc); flex-shrink: 0; }
.b6-rseg { display: flex; background: var(--bg-soft); border-radius: 10px; padding: 3px; gap: 2px; }
.b6-rseg label { flex: 1; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: 12px; color: var(--t2); cursor: pointer; position: relative; white-space: nowrap; }
.b6-rseg label.on { background: var(--bg-card); color: var(--t1); font-weight: 600; box-shadow: var(--shadow-2); }
.b6-rseg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.b6-rseg label:focus-within { outline: 2px solid var(--acc); outline-offset: 1px; }
.b6-clist { display: flex; flex-direction: column; gap: 1px; margin: 0 -8px; }
.b6-clist.sep { border-top: 1px dashed var(--bd); padding-top: 6px; margin-top: 4px; }
.b6-crow { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font-size: 13px; color: var(--t2); cursor: pointer; }
.b6-crow:hover { background: var(--bg-soft); }
.b6-crow.on { background: var(--acc-soft); color: var(--acc-d); }
.b6-crow input { width: 15px; height: 15px; margin: 0; accent-color: var(--acc); flex-shrink: 0; }
.b6-crow i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b6-crow .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-crow .c { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--t4); white-space: nowrap; flex-shrink: 0; }
.b6-crow.other { color: var(--t3); }
.b6-fcats .b6-link { align-self: flex-start; margin-top: 2px; }
.b6-fp-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b6-fp-s .b6-fld .b6-sel { width: 100%; padding: 8px 26px 8px 10px; font-size: 13px; }
.b6-fp-note { font-size: 11px; color: var(--t4); }
.b6-pro-mini { font-size: 9px; font-weight: 700; letter-spacing: .4px; background: var(--acc); color: #fff; border-radius: 3px; padding: 1px 5px; margin-left: 4px; }
@media (max-width: 900px) {
  .b6-fpanel.sheet.open { display: block; }
  .b6-fpanel.sheet .b6-fp-h { border-radius: 0; }
  .b6-fpanel.sheet .b6-fp-s:last-of-type { padding-bottom: 100px; }
}

/* Лента над резултатите */
.b6-rbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.b6-rcount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--t3); min-width: 0; }
.b6-rcount b { font-family: 'Geist Mono', monospace; font-size: 22px; font-weight: 500; color: var(--t1); letter-spacing: -.5px; }
.b6-rc-sub { font-size: 12px; color: var(--t4); }
.b6-rcount .b6-upd { font-size: 11.5px; color: var(--t4); font-style: italic; }
.b6-rtools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b6-rtools .b6-sel { height: 38px; padding: 0 28px 0 12px; font-size: 13px; border-radius: 9px; }
.b6-rtools .b6-btn { height: 38px; }
.b6-vseg { display: inline-flex; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 10px; padding: 3px; gap: 2px; }
.b6-vseg button { width: 34px; height: 30px; border: 0; border-radius: 7px; background: none; color: var(--t3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.b6-vseg button svg { width: 18px; height: 18px; }
.b6-vseg button.on { background: var(--sb); color: #fff; }
@media (max-width: 1100px) { .b6-colseg { display: none; } }
.b6-pres .b6-active { margin-bottom: 12px; }
.b6-active .b6-chip.on { background: var(--acc-soft); border-color: var(--acc-line); color: var(--acc-d); }
.b6-pres .b6-legend { margin-top: 14px; }

/* Мрежа от продуктови карти */
.b6-cards.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .b6-cards.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .b6-cards.grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.b6-cards.grid .b6-card { border-radius: 16px; display: flex; flex-direction: column; min-width: 0; }
.b6-cards.grid .b6-card.flagged { border-left: 1px solid var(--bd); }
.b6-cards.grid .b6-card:hover { border-color: #E6B8A6; transform: none; box-shadow: 0 8px 24px rgba(20,20,19,.07); }
.b6-cards.grid .b6-card.open { grid-column: 1 / -1; border-color: var(--sb); }
.b6-cards.grid .b6-ch { display: flex; flex-direction: column; gap: 11px; padding: 16px 16px 12px; flex: 1; grid-template-columns: none; align-items: stretch; }
.b6-ct { display: flex; align-items: center; gap: 10px; min-width: 0; }
.b6-ct .b6-tile { width: 38px; height: 38px; border-radius: 11px; }
.b6-ccat { font-size: 12px; font-weight: 600; min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-ct .b6-date { flex-shrink: 0; }
.b6-cards.grid .b6-cn { font-size: 15px; line-height: 1.32; -webkit-line-clamp: 2; min-height: 2.64em; }
.b6-card.open .b6-cn { -webkit-line-clamp: unset; min-height: 0; }
.b6-cards.grid .b6-firm { font-size: 12.5px; color: var(--t2); display: flex; align-items: center; gap: 7px; min-width: 0; }
.b6-cards.grid .b6-firm svg { width: 13px; height: 13px; flex-shrink: 0; }
.b6-cards.grid .b6-firm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-cards.grid .b6-cm { margin-top: 0; gap: 6px; }
.b6-rt { font-size: 10.5px; border: 1px solid var(--bd); color: var(--t2); border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.b6-cards.grid .b6-card > .b6-ch > .b6-tag.warn { align-self: flex-start; font-size: 11px; padding: 4px 9px; border-radius: 6px; }
.b6-cf { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--bd-soft); padding-top: 10px; }
.b6-cmore { font-size: 12.5px; font-weight: 600; color: var(--acc-d); }
.b6-cards.grid .b6-body { border-radius: 0 0 16px 16px; }
.b6-skc { border-radius: 16px; padding: 16px; margin: 0; min-height: 190px; }

/* Фирми: карти */
.b6-scope { display: inline-flex; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 12px; padding: 4px; gap: 2px; }
.b6-scope button { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--t2); background: none; cursor: pointer; }
.b6-scope button.on { background: var(--sb); color: #fff; font-weight: 600; }
.b6-scope .c { font-family: 'Geist Mono', monospace; font-size: 11px; border-radius: 6px; padding: 1px 6px; background: var(--bg-soft); color: var(--t3); }
.b6-scope button.on .c { background: var(--sb-3); color: #E4E6EA; }
.b6-fgrid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1250px) { .b6-fgrid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .b6-fgrid3 { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.b6-fcard { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .12s, box-shadow .12s; }
.b6-fcard:hover { border-color: #E6B8A6; box-shadow: 0 8px 24px rgba(20,20,19,.07); }
.b6-fc-h { display: flex; align-items: flex-start; gap: 12px; }
.b6-av { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.b6-av.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.b6-fc-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.b6-fc-name { font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b6-fc-sub { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--t3); }
.b6-rank { flex-shrink: 0; font-family: 'Geist Mono', monospace; font-size: 11.5px; border-radius: 7px; padding: 3px 7px; background: var(--bg-soft); color: var(--t2); }
.b6-rank.top { background: var(--sb); color: #fff; }
.b6-fc-big { display: flex; align-items: baseline; gap: 6px; }
.b6-fc-big b { font-family: 'Geist Mono', monospace; font-size: 26px; font-weight: 500; letter-spacing: -1px; line-height: 1; }
.b6-fc-big span { font-size: 12.5px; color: var(--t3); }
.b6-fc-bar { height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.b6-fc-bar i { display: block; height: 100%; border-radius: 999px; background: var(--acc); }
.b6-fc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.b6-fc-stats > div { background: var(--bg); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.b6-fc-stats span { font-size: 11px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-fc-stats b { font-family: 'Geist Mono', monospace; font-size: 16px; font-weight: 500; }
.b6-fc-stats > div.warn { background: var(--acc-soft); }
.b6-fc-stats > div.warn span, .b6-fc-stats > div.warn b { color: var(--acc-d); }
.b6-fc-f { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--bd-soft); padding-top: 10px; margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--acc-d); }
.b6-fc-f svg { width: 14px; height: 14px; }
.b6-ftbl .b6-pname { flex-wrap: nowrap; gap: 10px; }
.b6-pbar { min-width: 200px; }
.b6-pbar b { display: inline-block; width: 52px; text-align: right; margin-right: 10px; }
.b6-pbar .b6-share { display: inline-block; vertical-align: middle; width: calc(100% - 64px); margin-top: 0; max-width: 220px; height: 6px; }
@media (max-width: 680px) { .b6-rtools { width: 100%; flex-wrap: nowrap; } .b6-rtools .b6-sel { flex: 1; min-width: 0; } }

/* ===== v6.7.1: компактна търсачка в лентата + страничен панел за детайли ===== */
.b6-minq { flex: 1; max-width: 520px; position: relative; display: flex; align-items: center; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.b6-top.mini .b6-minq { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.b6-top.mini .b6-crumb { display: none; }
@media (min-width: 1101px) { .b6-top.mini .b6-crumb { display: block; max-width: 220px; } }
.b6-minq > svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--acc); pointer-events: none; }
.b6-minq input { width: 100%; height: 38px; padding: 0 36px 0 36px; font-size: 14px; background: var(--bg-soft); border: 1px solid transparent; border-radius: 10px; }
.b6-minq input:focus { background: var(--bg-card); border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.12); outline: none; }
.b6-minq .clr { position: absolute; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--t3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.b6-minq .clr svg { width: 13px; height: 13px; }
.b6-minq input:placeholder-shown + .clr { display: none; }
.b6-top { min-height: 60px; }
.b6-top .b6-crumb { flex-shrink: 0; }

/* Карти: отварят панел, не се разгъват */
.b6-cards.grid .b6-card.active { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.15); }
.b6-carr { width: 15px; height: 15px; color: var(--acc-d); transition: transform .15s; }
.b6-card:hover .b6-carr { transform: translateX(3px); }

/* Drawer: вдясно на десктоп, отдолу нагоре на телефон */
.b6-dw-wrap { position: fixed; inset: 0; z-index: 9300; pointer-events: none; }
.b6-dw-wrap.open { pointer-events: auto; }
.b6-dw-scrim { position: absolute; inset: 0; background: rgba(14,17,22,.42); opacity: 0; transition: opacity .22s; }
.b6-dw-wrap.open .b6-dw-scrim { opacity: 1; }
.b6-dw { position: absolute; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); background: var(--bg); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1); outline: none; }
.b6-dw-wrap.open .b6-dw { transform: none; }
.admin-bar .b6-dw { top: var(--wp-admin--admin-bar--height, 0px); }
.b6-dw-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 12px 20px; background: var(--bg-card); border-bottom: 1px solid var(--bd); flex-shrink: 0; }
.b6-dw-l { font-size: 11px; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: .6px; }
.b6-dw-back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; font-size: 13px; font-weight: 500; border: 1px solid var(--bd); background: var(--bg-card); color: var(--t2); border-radius: 8px; cursor: pointer; }
.b6-dw-back svg { width: 15px; height: 15px; transform: rotate(90deg); }
.b6-dw-x { width: 36px; height: 36px; }
.b6-dw-x svg { width: 16px; height: 16px; }
.b6-dw-b { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px 32px; -webkit-overflow-scrolling: touch; }
.b6-dw-b > .b6-body { border: 1px solid var(--bd); border-radius: 14px; padding: 18px 20px; background: var(--bg-card); animation: none; }
.b6-dw-ph { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.b6-dw-ph .b6-tile { width: 44px; height: 44px; border-radius: 12px; }
.b6-dw-ph .b6-tile svg { width: 21px; height: 21px; }
.b6-dw-reg { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.b6-dw-b .b6-body-bar .b6-cn-full { font-size: 18px; letter-spacing: -.3px; }
.b6-dw-b .b6-grid { grid-template-columns: 170px 1fr; }
.b6-dw-head { margin-bottom: 14px; }
.b6-dw-head .b6-actions { flex-wrap: wrap; }
.b6-dw-b .b6-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b6-dw-b .b6-cards.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b6-dw-b .b6-seg { margin-top: 18px; }
@media (max-width: 680px) {
  .b6-dw { top: auto; left: 0; right: 0; width: 100%; height: 92vh; height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .b6-dw::before { content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--bd-hover); }
  .b6-dw-h { border-radius: 18px 18px 0 0; padding-top: 18px; }
  .b6-dw-b { padding: 16px 14px calc(28px + env(safe-area-inset-bottom)); }
  .b6-dw-b .b6-grid { grid-template-columns: 1fr; gap: 2px 0; }
  .b6-dw-b .b6-grid .l { margin-top: 8px; }
  .b6-dw-b .b6-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b6-dw-b .b6-cards.grid { grid-template-columns: minmax(0, 1fr); }
  .b6-dw-b > .b6-body { padding: 14px; }
}
/* лентата с брой/подреждане остава видима под горната лента */
@media (min-width: 901px) { .b6-pres > .b6-rbar { position: sticky; top: calc(60px + var(--wp-admin--admin-bar--height, 0px)); z-index: 20; background: var(--bg); padding: 10px 0; margin: -10px 0 2px; } }

/* v6.7.2: търсене в профила на фирма */
.b6-pdq { position: relative; display: flex; align-items: center; margin: 18px 0 0; }
.b6-pdq > svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--acc); pointer-events: none; }
.b6-pdq input { width: 100%; height: 46px; padding: 0 40px 0 42px; font-size: 15px; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 12px; }
.b6-pdq input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(230,106,61,.14); outline: none; }
.b6-pdq .clr { position: absolute; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--bg-soft); color: var(--t3); display: none; align-items: center; justify-content: center; cursor: pointer; }
.b6-pdq .clr.show { display: flex; }
.b6-pdq .clr svg { width: 13px; height: 13px; }
.b6-dw-b .b6-pdq + .b6-seg { margin-top: 12px; }

/* ===== v6.8: приложение (PWA), класация, преглед на профила, продукт „на един поглед“ ===== */
.babh6 [hidden] { display: none !important; }
.b6-content.b6-in { animation: b6page .22s cubic-bezier(.2,.8,.2,1); }
@keyframes b6page { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.b6-av.xs { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }
.b6-av.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
.b6-tile.sm { width: 30px; height: 30px; border-radius: 8px; }
.b6-tile.sm svg { width: 14px; height: 14px; }
.b6-link svg { width: 13px; height: 13px; vertical-align: -2px; margin-left: 3px; }

/* Телефон: усещане за приложение — лента като app header, стъклена долна навигация, без „гумено“ дърпане */
@media (max-width: 900px) {
  .babh6 .b6-item, .babh6 .b6-bnav button, .babh6 .b6-btn, .babh6 .b6-chip, .babh6 .b6-seg-b, .babh6 .b6-rseg label, .babh6 .b6-scope button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
  .b6-top { padding-top: calc(11px + env(safe-area-inset-top)); }
  .b6-bnav { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid rgba(14,17,22,.08); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .b6-bnav button { position: relative; padding: 7px 2px 4px; gap: 4px; font-size: 10px; font-weight: 500; letter-spacing: -.1px; border-radius: 12px; transition: color .15s, transform .12s; min-width: 0; }
  .b6-bnav button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .b6-bnav button svg { width: 22px; height: 22px; transition: transform .15s; }
  .b6-bnav button.on svg { transform: translateY(-1px); }
  .b6-bnav button.on::before { content: ''; position: absolute; top: 2px; left: 50%; width: 44px; height: 30px; margin-left: -22px; border-radius: 999px; background: var(--acc-soft); z-index: -1; }
  .b6-bnav button:active { transform: scale(.94); }
  .b6-card:active, .b6-fcard:active, .b6-pr:active, .b6-rk-it:active, .b6-pod:active, .b6-mv:active { transform: scale(.985); transition: transform .08s; }
  .b6-dw { box-shadow: 0 -12px 40px rgba(14,17,22,.22); }
  .b6-dw-h { touch-action: pan-x; }
}
html.b6-standalone body.babh6-body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
html.b6-standalone .b6-site-f { display: none; }
html.b6-standalone .b6-page .b6-layout { min-height: 100vh; min-height: 100dvh; }
html.b6-standalone .b6-dw-wrap { padding-top: env(safe-area-inset-top); }
@media (max-width: 680px) { html.b6-standalone .b6-dw { height: calc(100dvh - 48px - env(safe-area-inset-top)); } }

/* Банер „Добави като приложение“ */
.b6-install { position: fixed; left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 9060; background: var(--sb); color: #E5E7EB; border-radius: 16px; padding: 12px 12px 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-pop); animation: b6up .3s cubic-bezier(.2,.8,.2,1); }
@keyframes b6up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) { .b6-install { left: auto; right: 20px; bottom: 20px; max-width: 420px; } }
.b6-inst-t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.b6-inst-t > svg { width: 26px; height: 26px; color: var(--acc); flex-shrink: 0; }
.b6-inst-t b { display: block; font-size: 13.5px; color: #fff; }
.b6-inst-t span { display: block; font-size: 11.5px; color: #9CA3AF; line-height: 1.4; margin-top: 1px; }
.b6-inst-a { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.b6-install .b6-btn.primary { background: var(--acc); border-color: var(--acc); }
.b6-install .b6-iconbtn { background: var(--sb-2); border-color: var(--sb-line); color: #D1D5DB; }
.b6-ios-share { display: inline-block; width: 13px; height: 15px; vertical-align: -3px; margin: 0 2px; background: no-repeat center / contain url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E66A3D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3e%3cpolyline points='16 6 12 2 8 6'/%3e%3cline x1='12' x2='12' y1='2' y2='15'/%3e%3c/svg%3e"); }

/* Продукт: „на един поглед“ */
.b6-glance { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.b6-gl { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border: 1px solid var(--bd); border-radius: 12px; background: var(--bg); min-width: 0; max-width: 100%; }
.b6-gl.link:hover { border-color: var(--acc-line); background: var(--acc-soft); }
.b6-gl-ic { width: 24px; height: 24px; border-radius: 7px; background: var(--bg-soft); color: var(--t3); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.b6-gl-ic svg { width: 13px; height: 13px; }
.b6-gl-t { display: flex; flex-direction: column; font-size: 12.5px; font-weight: 500; line-height: 1.25; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-gl-t small { font-size: 10px; color: var(--t4); font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.b6-amts { display: grid; gap: 6px; margin-top: 10px; }
.b6-amt { display: grid; grid-template-columns: minmax(90px, 1.1fr) 2fr auto; align-items: center; gap: 10px; font-size: 12.5px; }
.b6-amt .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--t2); }
.b6-amt .bar { height: 8px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.b6-amt .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-amt .v { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--t3); white-space: nowrap; }
.b6-plist2 { display: flex; flex-direction: column; gap: 6px; }
.b6-pr { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid var(--bd); border-radius: 12px; background: var(--bg-card); text-align: left; cursor: pointer; transition: border-color .12s, box-shadow .12s; min-width: 0; }
.b6-pr:hover { border-color: #E6B8A6; box-shadow: 0 4px 14px rgba(20,20,19,.06); }
.b6-pr > svg { width: 15px; height: 15px; color: var(--t4); flex-shrink: 0; }
.b6-pr:hover > svg { color: var(--acc-d); }
.b6-pr-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.b6-pr-n { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b6-pr.gone .b6-pr-n { text-decoration: line-through; text-decoration-color: var(--red-line); color: var(--t3); }
.b6-pr-m { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b6-pr-m .b6-tag { padding: 1px 6px; }
.b6-more-from { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bd-soft); }

/* Профил на фирма: герой + преглед */
.b6-phero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #0E1116, #1B232E); color: #fff; position: relative; overflow: hidden; margin-bottom: 14px; }
.b6-phero::before { content: ''; position: absolute; inset: 0; background: var(--g, none); opacity: .14; pointer-events: none; }
.b6-phero > * { position: relative; }
.b6-phero-n { font-size: 20px; font-weight: 600; letter-spacing: -.4px; line-height: 1.2; }
.b6-phero-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: #A8ADB5; }
.b6-phero-s .mono { font-family: 'Geist Mono', monospace; color: #E4E6EA; }
.b6-phero-f { font-size: 11.5px; color: #8B9199; margin-top: 6px; }
.b6-phero-big { text-align: right; }
.b6-phero-big b { display: block; font-family: 'Geist Mono', monospace; font-size: 32px; font-weight: 500; letter-spacing: -1.2px; line-height: 1; }
.b6-phero-big span { font-size: 11px; color: #A8ADB5; }
@media (max-width: 680px) {
  .b6-phero { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px; }
  .b6-phero-big { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
  .b6-phero-big b { font-size: 26px; }
}
.b6-dw-b .b6-dw-head { margin: 0 0 10px; }
.b6-ins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 680px) { .b6-ins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.b6-in { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border: 1px solid var(--bd); border-radius: 14px; background: var(--bg-card); text-align: left; min-width: 0; --c: var(--acc); }
.b6-in.link { cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .12s; }
.b6-in.link:hover { border-color: #E6B8A6; box-shadow: 0 6px 18px rgba(20,20,19,.06); transform: translateY(-1px); }
.b6-in-l { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-in-l svg { width: 13px; height: 13px; color: var(--c); flex-shrink: 0; }
.b6-in-v { font-family: 'Geist Mono', monospace; font-size: 24px; font-weight: 500; letter-spacing: -.8px; line-height: 1.1; }
.b6-in-v.text { font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b6-in-s { font-size: 11.5px; color: var(--t3); line-height: 1.4; }
.b6-in.up .b6-in-v { color: var(--green); } .b6-in.down .b6-in-v { color: var(--red); }
.b6-ov2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
@media (max-width: 680px) { .b6-ov2 { grid-template-columns: minmax(0, 1fr); } }
.b6-chartcard { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.b6-sbars { display: flex; align-items: flex-end; gap: 3px; height: 110px; margin-top: 10px; }
.b6-sbar { flex: 1; min-width: 6px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.b6-sbar em { font-style: normal; font-family: 'Geist Mono', monospace; font-size: 9.5px; color: var(--t2); line-height: 1; margin-bottom: 3px; white-space: nowrap; }
.b6-sbar i { display: block; width: 100%; max-width: 26px; border-radius: 3px 3px 0 0; background: var(--acc-line); min-height: 0; }
.b6-sbar.peak i { background: var(--acc); }
.b6-sbars.months .b6-sbar i { background: #D9D9D4; } .b6-sbars.months .b6-sbar.hl i { background: var(--acc-line); } .b6-sbars.months .b6-sbar.peak i { background: var(--acc); }
.b6-sbar span { font-size: 9px; color: var(--t4); margin-top: 4px; font-family: 'Geist Mono', monospace; white-space: nowrap; height: 11px; }
.b6-chart-leg { display: flex; gap: 14px; margin-top: 8px; font-size: 11.5px; color: var(--t3); flex-wrap: wrap; }
.b6-chart-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.b6-chart-leg i.a { background: #D9D9D4; } .b6-chart-leg i.b { background: var(--acc); }
.b6-dw-b .b6-ovc { margin-bottom: 10px; min-width: 0; }
.b6-ovcat .n { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-ovcat .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b6-ovp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 10px; }
.b6-ovp:hover { background: var(--bg-soft); }
.b6-ovp .n { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.b6-ovp .nm { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-ovp .bar { height: 5px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.b6-ovp .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-ovp .c { text-align: right; font-family: 'Geist Mono', monospace; }
.b6-ovp .c b { display: block; font-size: 14px; font-weight: 500; } .b6-ovp .c small { font-size: 10.5px; color: var(--t4); }

/* Класация */
.b6-hero-rank .b6-hero-t::before { content: ''; display: inline-block; width: 26px; height: 26px; margin-right: 8px; vertical-align: -3px; background: no-repeat center / contain url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E66A3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3e%3cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3e%3cpath d='M4 22h16'/%3e%3cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3e%3cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3e%3cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3e%3c/svg%3e"); }
.b6-hs.up b { color: #4ADE80; } .b6-hs.down b { color: #FCA5A5; }
.b6-rk-ctl { display: flex; flex-direction: column; gap: 10px; position: relative; }
.b6-rk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.b6-rk-seg { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.b6-rk-seg label { color: #C9CDD3; padding: 8px 14px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.b6-rk-seg label svg { width: 14px; height: 14px; }
.b6-rk-seg label.on { background: #fff; color: var(--t1); }
.b6-rk-ctl .b6-sel { background-color: #fff; border-color: transparent; height: 40px; border-radius: 10px; padding: 0 30px 0 12px; font-size: 13px; }
@media (max-width: 680px) { .b6-rk-seg { flex: 1 1 100%; } .b6-rk-seg label { padding: 9px 6px; font-size: 12.5px; } .b6-rk-ctl .b6-sel { flex: 1; } }
.b6-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 12px; }
.b6-pod { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 16px 16px; border: 1px solid var(--bd); border-radius: 20px; background: var(--bg-card); position: relative; min-width: 0; transition: border-color .12s, box-shadow .12s, transform .12s; }
.b6-pod:hover { border-color: #E6B8A6; box-shadow: 0 10px 28px rgba(20,20,19,.08); transform: translateY(-2px); }
.b6-pod.r1 { order: 2; background: linear-gradient(180deg, #FFF7F2, #fff); border-color: var(--acc-line); padding-top: 26px; }
.b6-pod.r2 { order: 1; } .b6-pod.r3 { order: 3; }
.b6-pod-h { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; }
.b6-medal { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: 'Geist Mono', monospace; font-weight: 600; font-size: 13px; background: var(--bg-soft); color: var(--t2); }
.b6-pod.r1 .b6-medal { background: linear-gradient(135deg, #F2A93B, #E66A3D); color: #fff; box-shadow: 0 4px 12px rgba(230,106,61,.3); }
.b6-pod.r2 .b6-medal { background: #E4E4E0; color: var(--t1); } .b6-pod.r3 .b6-medal { background: #F0D9C8; color: #8A4A2A; }
.b6-pod .b6-av.lg { margin-top: 12px; }
.b6-pod.r1 .b6-av.lg { width: 76px; height: 76px; font-size: 26px; }
.b6-pod-n { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b6-pod-big b { display: block; font-family: 'Geist Mono', monospace; font-size: 34px; font-weight: 500; letter-spacing: -1.4px; line-height: 1; }
.b6-pod.r1 .b6-pod-big b { font-size: 42px; color: var(--acc-d); }
.b6-pod-big span { font-size: 12px; color: var(--t3); }
.b6-pod-s { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--t3); }
.b6-pod-k { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-size: 11.5px; color: var(--t3); border-top: 1px solid var(--bd-soft); padding-top: 10px; width: 100%; }
.b6-pod-k b { color: var(--t1); font-family: 'Geist Mono', monospace; }
.b6-pod-k .hi b { color: var(--green); }
@media (max-width: 680px) { .b6-podium { grid-template-columns: minmax(0, 1fr); } .b6-pod.r1, .b6-pod.r2, .b6-pod.r3 { order: 0; } .b6-pod { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 16px 14px 14px; } .b6-pod .b6-av.lg, .b6-pod.r1 .b6-av.lg { width: 48px; height: 48px; font-size: 17px; margin-top: 18px; border-radius: 14px; } .b6-pod-n { flex: 1; min-width: 120px; margin-top: 18px; } .b6-pod-big { width: 100%; display: flex; align-items: baseline; gap: 6px; } .b6-pod-big b, .b6-pod.r1 .b6-pod-big b { font-size: 30px; } .b6-pod-s { width: 100%; } .b6-pod-k { justify-content: flex-start; } }
.b6-rk-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.b6-rk-it { display: grid; grid-template-columns: 30px 44px auto minmax(0, 1.4fr) minmax(60px, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--bd); border-radius: 14px; background: var(--bg-card); transition: border-color .12s, box-shadow .12s; }
.b6-rk-it:hover { border-color: #E6B8A6; box-shadow: 0 6px 18px rgba(20,20,19,.06); }
.b6-rk-n { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--t3); text-align: center; }
.b6-rk-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b6-rk-name .nm { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-rk-name .sub { font-size: 11.5px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-rk-name .sub b { color: var(--green); font-weight: 600; }
.b6-rk-bar { height: 7px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.b6-rk-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-rk-c { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.b6-rk-c b { font-family: 'Geist Mono', monospace; font-size: 18px; font-weight: 500; letter-spacing: -.5px; line-height: 1; }
@media (max-width: 680px) { .b6-rk-it { grid-template-columns: 24px 40px auto minmax(0, 1fr) auto; gap: 8px; padding: 10px; } .b6-rk-bar { display: none; } }
.b6-mvb { display: inline-flex; align-items: center; justify-content: center; gap: 1px; min-width: 40px; height: 24px; padding: 0 7px; border-radius: 7px; font-family: 'Geist Mono', monospace; font-size: 11.5px; font-weight: 600; }
.b6-mvb svg { width: 12px; height: 12px; }
.b6-mvb.up { background: var(--green-bg); color: var(--green); } .b6-mvb.down { background: var(--red-bg); color: var(--red); }
.b6-mvb.same { background: var(--bg-soft); color: var(--t4); } .b6-mvb.new { background: var(--blue-bg); color: var(--blue); font-family: inherit; font-size: 10.5px; }
.b6-delta { font-family: 'Geist Mono', monospace; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; }
.b6-delta.up { color: var(--green); background: var(--green-bg); } .b6-delta.down { color: var(--red); background: var(--red-bg); } .b6-delta.same { color: var(--t4); background: var(--bg-soft); }
.b6-race { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
.b6-race .b6-sec-l svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: var(--acc); }
.b6-race-svg { width: 100%; height: auto; display: block; margin-top: 6px; }
.b6-race-svg .g { stroke: var(--bd-soft); stroke-width: 1; }
.b6-race-svg .t { font-family: 'Geist Mono', monospace; font-size: 10px; fill: var(--t4); }
.b6-race-svg .s { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.b6-race-leg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.b6-race-l { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border: 1px solid var(--bd); border-radius: 999px; font-size: 12px; max-width: 100%; }
.b6-race-l:hover { border-color: var(--acc-line); background: var(--acc-soft); }
.b6-race-l i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.b6-race-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.b6-race-l b { font-family: 'Geist Mono', monospace; font-weight: 500; color: var(--t3); }
.b6-moves { margin-top: 18px; }
.b6-moves-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.b6-moves-h .b6-sec-l { font-size: 13px; text-transform: none; letter-spacing: 0; align-items: center; gap: 8px; }
.b6-moves-h .b6-sec-l svg { width: 15px; height: 15px; color: var(--acc); }
.b6-mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .b6-mv-grid { grid-template-columns: minmax(0, 1fr); } }
.b6-mv { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; overflow: hidden; }
.b6-mv::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(230,106,61,.12), transparent 70%); pointer-events: none; }
.b6-mv-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.b6-mv-m { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--acc-d); background: var(--acc-soft); border-radius: 999px; padding: 4px 10px; }
.b6-mv-m svg { width: 12px; height: 12px; }
.b6-mv-gap { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--t3); }
.b6-mv-t { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.2px; }
.b6-mv-t span { color: var(--t3); font-weight: 400; }
.b6-mv-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b6-mv-side { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: 12.5px; min-width: 0; }
.b6-mv-side.a { background: var(--green-bg); }
.b6-mv-side .nums { font-family: 'Geist Mono', monospace; color: var(--t3); white-space: nowrap; flex: 1; }
.b6-mv-side .nums b { color: var(--t1); font-weight: 600; }
.b6-mv-say { font-size: 13px; color: var(--t2); line-height: 1.55; margin: 0; }
.b6-mv-say b { color: var(--t1); }
.b6-mv-go { align-self: flex-start; margin-top: auto; }
.b6-mv-go svg { width: 14px; height: 14px; margin-left: 4px; }
@media (max-width: 480px) { .b6-mv-vs { grid-template-columns: minmax(0, 1fr); } }

/* Изпреварване — панел с подробности */
.b6-mvd-h { margin-bottom: 14px; }
.b6-mvd-t { font-size: 21px; font-weight: 600; letter-spacing: -.5px; line-height: 1.25; margin: 10px 0 6px; }
.b6-mvd-s { font-size: 13.5px; color: var(--t2); line-height: 1.5; margin: 0; }
.b6-vs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.b6-vs-x { align-self: center; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--t4); text-transform: uppercase; }
.b6-vs { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--bd); border-radius: 16px; background: var(--bg-card); min-width: 0; transition: border-color .12s; }
.b6-vs:hover { border-color: #E6B8A6; }
.b6-vs.a { border-color: #BFE3CC; background: linear-gradient(180deg, #F3FAF5, #fff); }
.b6-vs-n { font-size: 14px; font-weight: 600; line-height: 1.3; }
.b6-vs-nums { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--t3); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.b6-vs-nums i { font-style: normal; color: var(--t4); } .b6-vs-nums b { color: var(--t1); font-size: 18px; font-weight: 500; }
.b6-vs-bar { display: flex; height: 8px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.b6-vs-bar i { display: block; height: 100%; } .b6-vs-bar .pre { background: #CBCBC5; } .b6-vs-bar .add { background: var(--acc); }
.b6-vs.a .b6-vs-bar .add { background: var(--green); }
.b6-vs-sub { font-size: 11px; color: var(--t4); display: flex; align-items: center; gap: 3px; }
.b6-vs-sub svg { width: 11px; height: 11px; }
@media (max-width: 680px) { .b6-vs-wrap { grid-template-columns: minmax(0, 1fr); } .b6-vs-x { justify-self: center; } }
.b6-sec-l.hi { color: var(--green); }
.b6-mp { border: 1px solid var(--bd); border-radius: 14px; background: var(--bg-card); padding: 12px; margin-bottom: 8px; }
.b6-mp.new { border-color: #BFE3CC; }
.b6-mp-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.b6-mp-n { min-width: 0; }
.b6-mp-n .b6-plink { font-weight: 600; font-size: 14px; }
.b6-mp-n .sub { font-size: 11.5px; color: var(--t3); margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.b6-mp-c { text-align: right; }
.b6-mp-c b { display: block; font-family: 'Geist Mono', monospace; font-size: 18px; font-weight: 500; line-height: 1; }
.b6-mp-c span { font-size: 10.5px; color: var(--t4); }
.b6-mp .b6-plist2 { margin-top: 10px; }
.b6-rk-seg label > span { display: inline-flex; align-items: center; gap: 6px; }
.b6-vs-wrap + .b6-ov-note { margin-bottom: 16px; }
.b6-mvd-h + .b6-vs-wrap { margin-top: 4px; }
@media (max-width: 680px) { .b6-phero { align-items: start; } .b6-phero .b6-av.lg { margin-top: 2px; } }
@media (max-width: 400px) { .b6-bnav button { font-size: 9.5px; } }

/* ===== v6.9: кратък панел + пълна страница на фирма с ясна йерархия ===== */
.b6-fullbtn { width: 100%; justify-content: center; height: 46px; font-size: 14px; margin: 12px 0 14px; border-radius: 12px; }
.b6-fullbtn svg { width: 16px; height: 16px; }
.b6-fullbtn svg:last-child { margin-left: auto; }
.b6-ins.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b6-ins.compact .b6-in-v { font-size: 20px; }
.b6-phero-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.b6-phero-a .b6-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.b6-phero-a .b6-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.b6-fcrumb { margin-bottom: 12px; }
.b6-crumb-l { color: var(--t3); }
@media (max-width: 680px) { .b6-crumb-l { display: none; } }
.b6-fpage .b6-phero { margin-bottom: 14px; }
.b6-fpage .b6-phero-n { font-size: 24px; }
.b6-fkpis { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
@media (max-width: 1100px) { .b6-fkpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .b6-fkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b6-fkpis .b6-bc { text-align: left; cursor: pointer; }
.b6-fseg { margin: 0 0 14px; }
.b6-fseg .b6-seg-b { padding: 8px 16px; font-size: 13.5px; }
.b6-fseg .b6-seg-b i { font-style: normal; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--t4); margin-left: 4px; }
.b6-fseg .b6-seg-b.on i { color: var(--acc-d); }
@media (max-width: 680px) { .b6-fseg { width: 100%; display: flex; } .b6-fseg .b6-seg-b { flex: 1; padding: 9px 6px; font-size: 12.5px; white-space: normal; line-height: 1.2; } }
.b6-pdq.compact { margin: 0 0 8px; }
.b6-pdq.compact input { height: 40px; font-size: 13.5px; border-radius: 10px; padding-left: 38px; }
.b6-pdq.compact > svg { width: 15px; height: 15px; left: 12px; }
/* списък + детайл */
.b6-md { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.b6-md-l { background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 12px; position: sticky; top: calc(72px + var(--wp-admin--admin-bar--height, 0px)); max-height: calc(100vh - 92px - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; scrollbar-width: thin; min-width: 0; }
.b6-md-list { display: flex; flex-direction: column; gap: 3px; }
.b6-mdr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; padding: 8px 8px 8px 8px; border: 1px solid transparent; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background .12s, border-color .12s; }
.b6-mdr:hover { background: var(--bg-soft); }
.b6-mdr.on { background: var(--acc-soft); border-color: var(--acc-line); }
.b6-mdr > svg { width: 14px; height: 14px; color: var(--t4); transform: rotate(-90deg); }
.b6-mdr.on > svg { color: var(--acc-d); }
.b6-mdr-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b6-mdr-b .nm { font-size: 13.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b6-mdr-b .sub { display: flex; flex-wrap: wrap; gap: 4px; min-height: 0; font-size: 11px; color: var(--t3); }
.b6-mdr-b .sub:empty { display: none; }
.b6-mdr-b .sub .b6-tag { padding: 1px 6px; font-size: 9.5px; }
.b6-mdr-b .sub .b6-inf { margin: 0; padding: 1px 6px; font-size: 10px; }
.b6-mdr-b .bar { height: 4px; border-radius: 2px; background: var(--bg-soft); overflow: hidden; }
.b6-mdr-b .bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--acc), #F4A47C); }
.b6-mdr-c { text-align: right; font-family: 'Geist Mono', monospace; line-height: 1.1; }
.b6-mdr-c b { display: block; font-size: 14px; font-weight: 500; }
.b6-mdr-c small { font-size: 10px; color: var(--t4); }
.b6-md-r { min-width: 0; }
.b6-md-empty { padding: 48px 20px; text-align: center; color: var(--t3); background: var(--bg-card); border: 1px dashed var(--bd-hover); border-radius: 16px; }
.b6-md-empty > svg { width: 36px; height: 36px; color: var(--t4); }
.b6-md-back { display: none; margin-bottom: 12px; }
.b6-md-h { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--bd); border-radius: 16px; padding: 16px 18px; }
.b6-md-h .b6-av { width: 52px; height: 52px; border-radius: 14px; font-size: 17px; }
.b6-av.brand { background: linear-gradient(135deg, #3F4651, #0E1116); }
.b6-md-ht { min-width: 0; flex: 1; }
.b6-md-t { font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -.2px; color: var(--t2); }
.b6-md-t b { color: var(--t1); font-weight: 600; }
.b6-md-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.b6-mdc { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--t2); background: var(--bg); border: 1px solid var(--bd); border-radius: 999px; padding: 4px 10px; }
.b6-mdc b { font-family: 'Geist Mono', monospace; font-weight: 500; color: var(--t1); }
.b6-mdc svg { width: 12px; height: 12px; color: var(--t4); }
.b6-mdc.warn { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.b6-mdc.warn svg { color: inherit; }
.b6-mdc.muted { color: var(--t3); }
.b6-md-a { margin: 12px 0 10px; flex-wrap: wrap; }
.b6-md-r .b6-ov-note { margin-bottom: 12px; }
@media (max-width: 900px) {
  .b6-md { grid-template-columns: minmax(0, 1fr); }
  .b6-md-l { position: static; max-height: none; }
  .b6-md.has-sel .b6-md-l { display: none; }
  .b6-md:not(.has-sel) .b6-md-r { display: none; }
  .b6-md-back { display: inline-flex; }
  .b6-md-h { padding: 14px; gap: 10px; }
  .b6-md-h .b6-av { width: 40px; height: 40px; font-size: 14px; border-radius: 11px; }
  .b6-md-t { font-size: 15px; }
}
/* телефон: KPI на страницата на фирма са хоризонтална лента, героят е компактен — табовете остават на първия екран */
@media (max-width: 680px) {
  .b6-fkpis { display: flex; overflow-x: auto; gap: 8px; margin: 0 -14px 12px; padding: 0 14px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .b6-fkpis::-webkit-scrollbar { display: none; }
  .b6-fkpis .b6-bc { flex: 0 0 150px; padding: 11px 12px; border-radius: 12px; scroll-snap-align: start; }
  .b6-fkpis .b6-bc-n { font-size: 20px; }
  .b6-fkpis .b6-bc-s { display: none; }
  .b6-fpage .b6-phero { padding: 14px; gap: 10px 12px; }
  .b6-fpage .b6-phero .b6-av.lg { width: 48px; height: 48px; font-size: 17px; border-radius: 14px; }
  .b6-fpage .b6-phero-n { font-size: 19px; }
  .b6-fpage .b6-phero-f { display: none; }
  .b6-fpage .b6-phero-a { gap: 6px; margin-top: 8px; }
  .b6-fpage .b6-phero-a .b6-btn { padding: 7px 10px; font-size: 12px; }
  .b6-fpage .b6-phero-big { padding-top: 10px; }
  .b6-fpage .b6-phero-big b { font-size: 22px; }
}
