/* Marselius Business · estilos del centro de control del coach.
   Todo cuelga de .bz (la clase que business.js pone en el elemento raíz) para no chocar con la app de clientes.
   Reutiliza el sistema «Cristal profundo» de app.css: azul noche, tarjetas de cristal y un color por área.
   Las variables se repiten aquí para que funcione igual aunque la página no cargue app.css. */
.bz-page, .bz-page body { margin: 0; background: #020610; color-scheme: dark; }
.bz {
  --bg: #050b1c; --bg-deep: #020610; --sheet: #0e1a36; --line: rgba(255,255,255,.13); --line-soft: rgba(255,255,255,.07); --glass: rgba(255,255,255,.055);
  --fg: #f1f4fb; --mu: #a4b1ca; --dim: #7786a3; --ink: #06101f; --silver: #c3ccd9;
  --ok: #3fd28f; --blue: #4f8dff; --blue-soft: #9fc0ff; --violet: #8b7cff; --amber: #ffb547; --rose: #ff6b7d; --gold: #e2b45a;
  --f-body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: Sora, Manrope, system-ui, sans-serif;
  --f-num: "Space Grotesk", Manrope, system-ui, sans-serif;
  --bz-side: 232px; --bz-pad: 28px; --bz-r: 18px;
  /* #app en app.css es un lienzo de teléfono (480 px, en columna): aquí se anula */
  grid-template-columns: var(--bz-side) minmax(0, 1fr); max-width: none !important; margin: 0 !important; min-height: 100vh; min-height: 100dvh;
  background: radial-gradient(900px 520px at 18% -10%, #132a5c 0%, rgba(5,11,28,0) 62%), var(--bg) !important;
  color: var(--fg); font: 500 14px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; text-align: left;
}
.bz:not([hidden]) { display: grid !important; } /* respeta el atributo hidden de la página anfitriona */
.bz *, .bz *::before, .bz *::after { box-sizing: border-box; }
.bz h1, .bz h2, .bz h3, .bz p, .bz ul, .bz dl, .bz dd, .bz blockquote { margin: 0; padding: 0; }
.bz ul { list-style: none; }
.bz button, .bz input, .bz textarea, .bz select { font: inherit; color: inherit; }
.bz button { cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
.bz button[disabled] { cursor: default; opacity: .4; }
.bz img, .bz svg { display: block; max-width: 100%; }
.bz i { font-style: normal; }
.bz a { color: var(--blue-soft); }
.bz :focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; border-radius: 6px; }
.bz option, .bz optgroup { background: #0e1a36; color: var(--fg); }

/* ---------- utilidades ---------- */
.bz .bz-mu { color: var(--mu); } .bz .bz-dim { color: var(--dim); } .bz .bz-sm { font-size: 12.5px; }
.bz .bz-num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.bz .bz-hide { display: none !important; }
.bz .bz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bz .bz-up { color: var(--ok); font-weight: 700; }
.bz .bz-wrap { white-space: normal !important; min-width: 160px; overflow-wrap: anywhere; }

/* ---------- barra lateral ---------- */
.bz .bz-side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 22px; padding: 22px 14px 18px; background: rgba(2,6,16,.55); border-right: 1px solid var(--line-soft); }
.bz .bz-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.bz .bz-brand img { width: 34px; height: auto; flex: none; }
.bz .bz-brand b { display: block; font: 700 16px/1.1 var(--f-head); letter-spacing: -.02em; }
.bz .bz-brand span { display: block; font: 700 10px/1.4 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-soft); }
.bz .bz-nav { display: flex; flex-direction: column; gap: 4px; }
.bz .bz-nav button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 700; color: var(--mu); transition: background .15s, color .15s; }
.bz .bz-nav button i { font-size: 17px; width: 22px; text-align: center; filter: grayscale(1) opacity(.7); }
.bz .bz-nav button:hover { background: rgba(255,255,255,.05); color: var(--fg); }
.bz .bz-nav button.on { background: rgba(255,255,255,.1); color: var(--fg); } .bz .bz-nav button.on i { filter: none; }
.bz .bz-mode { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: var(--mu); }
.bz .bz-mode i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--dim); } .bz .bz-mode i.cloud { background: var(--ok); box-shadow: 0 0 0 3px rgba(63,210,143,.18); }

/* ---------- zona principal ---------- */
.bz .bz-main { min-width: 0; padding: var(--bz-pad) calc(var(--bz-pad) + 4px) 96px; display: flex; flex-direction: column; gap: 16px; max-width: 1320px; width: 100%; }
.bz .bz-main > div[id] { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .bz .bz-main > div[id]:empty { display: none; }
.bz .bz-ph, .bz .bz-chead { display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; }
.bz .bz-ph h1, .bz .bz-chead h1 { font: 700 26px/1.15 var(--f-head); letter-spacing: -.03em; overflow-wrap: anywhere; }
.bz .bz-ey { display: block; font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 8px; }
.bz .bz-ph p { margin-top: 4px; }
.bz .bz-phr { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.bz .bz-h { font: 700 17px/1.2 var(--f-head); letter-spacing: -.02em; margin-top: 8px; }
.bz .bz-h3 { font: 800 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mu); margin: 18px 0 10px; } .bz .bz-h3:first-child { margin-top: 0; }
.bz .bz-lead { max-width: 76ch; }

/* ---------- tarjetas y rejillas ---------- */
.bz .bz-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--bz-r); padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bz .bz-card.hot { border-color: rgba(226,180,90,.55); background: linear-gradient(150deg, rgba(226,180,90,.13), rgba(255,255,255,.04) 60%); }
.bz .bz-card.bz-narrow { max-width: 760px; }
.bz .bz-card.bz-loading { color: var(--mu); text-align: center; padding: 48px 18px; }
.bz .bz-ch { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.bz .bz-ch h2 { font: 700 15.5px/1.25 var(--f-head); letter-spacing: -.01em; }
.bz .bz-csub { color: var(--mu); font-size: 12.5px; margin-top: -6px; max-width: 80ch; }
.bz .bz-card.bz-flush { padding: 16px 0 0; overflow: hidden; }
.bz .bz-card.bz-flush > :not(.bz-scroll):not(.bz-listwrap) { margin-left: 18px; margin-right: 18px; }
.bz .bz-card.bz-flush > :last-child:not(.bz-scroll):not(.bz-listwrap) { margin-bottom: 16px; }
.bz .bz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.bz .bz-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bz .bz-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; align-items: start; }
.bz .bz-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bz .bz-tiles.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bz .bz-tiles.k6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bz .bz-kpi { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bz .bz-kpi.hot { border-color: rgba(226,180,90,.6); background: linear-gradient(150deg, rgba(226,180,90,.18), rgba(255,255,255,.04) 70%); }
.bz .bz-kl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--mu); } .bz .bz-kl i { font-size: 15px; }
.bz .bz-kv { font: 700 25px/1.15 var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bz .bz-kv .bz-tier { font-size: 22px; } .bz .bz-tiles.k6 .bz-kv { font-size: 20px; }
@media (max-width: 1180px) { .bz .bz-tiles.k6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bz .bz-ks { font-size: 12px; color: var(--dim); min-height: 1.5em; overflow-wrap: anywhere; }
.bz .bz-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 18px; }
.bz .bz-ee { font-size: 38px; line-height: 1; } .bz .bz-empty h3 { font: 700 16px/1.25 var(--f-head); } .bz .bz-empty p { color: var(--mu); max-width: 52ch; } .bz .bz-empty .bz-btn { margin-top: 8px; }
.bz .bz-note { padding: 10px 14px; border-radius: 12px; background: rgba(79,141,255,.1); border: 1px solid rgba(79,141,255,.3); font-size: 13px; }
.bz .bz-note.warn { background: rgba(255,181,71,.1); border-color: rgba(255,181,71,.4); }
.bz .bz-conf { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.bz .bz-err { color: var(--rose); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- botones, píldoras, campos ---------- */
.bz .bz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 800 14.5px var(--f-body); color: var(--ink); background: linear-gradient(180deg, #fff, var(--silver)); white-space: nowrap; transition: transform .12s, filter .15s; }
.bz .bz-btn:hover:not([disabled]) { filter: brightness(1.06); } .bz .bz-btn:active:not([disabled]) { transform: scale(.98); }
.bz .bz-btn.ghost { background: var(--glass); color: var(--fg); border: 1px solid var(--line); }
.bz .bz-btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.bz .bz-btns { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; } .bz .bz-btns.between { justify-content: space-between; }
.bz .bz-link { color: var(--blue-soft); font-weight: 700; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(159,192,255,.4); text-underline-offset: 3px; display: inline; }
.bz .bz-link.del, .bz .bz-ib.del { color: var(--rose); text-decoration-color: rgba(255,107,125,.4); }
.bz .bz-confirm { display: inline-flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 14px; background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.4); font-size: 13px; }
.bz .bz-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; background: rgba(255,255,255,.09); color: var(--mu); }
.bz .bz-pill.active { background: rgba(63,210,143,.15); color: var(--ok); }
.bz .bz-pill.ready { background: rgba(226,180,90,.2); color: #f3cf85; box-shadow: inset 0 0 0 1px rgba(226,180,90,.65); } .bz .bz-pill.ready::before { content: "●"; font-size: 8px; }
.bz .bz-pill.paused { background: rgba(139,124,255,.16); color: #b9afff; }
.bz .bz-pill.gold { background: rgba(226,180,90,.16); color: var(--gold); }
.bz .bz-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12.5px; font-weight: 600; }
.bz .bz-likes { display: flex; flex-direction: column; gap: 10px; } .bz .bz-likes > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .bz .bz-likes > div > .bz-mu { margin-right: 4px; }
.bz .bz-tier { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; } .bz .bz-tier i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.bz .bz-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .bz .bz-f > span { font-size: 12px; font-weight: 700; color: var(--mu); } .bz .bz-f small { font-size: 12px; color: var(--dim); }
.bz .bz-in { width: 100%; min-height: 38px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color-scheme: dark; min-width: 0; }
.bz .bz-in:hover { border-color: rgba(255,255,255,.24); } .bz .bz-in:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(159,192,255,.18); }
.bz .bz-in.bad { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(255,107,125,.16); }
.bz .bz-in::placeholder { color: var(--dim); }
.bz textarea.bz-in { resize: vertical; line-height: 1.5; padding: 10px 12px; }
.bz .bz-json { font: 500 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: auto; tab-size: 2; min-height: 260px; }
.bz .bz-fg { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.bz .bz-weekg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bz .bz-search { display: flex; align-items: center; gap: 8px; flex: 0 1 280px; min-width: 0; } .bz .bz-search span { font-size: 14px; opacity: .7; }
.bz .bz-save { position: fixed; right: 20px; bottom: 20px; z-index: 50; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #0e1a36; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0,0,0,.45); color: var(--mu); max-width: calc(100vw - 40px); }
.bz .bz-save:empty { display: none; } .bz .bz-save.saved { color: var(--ok); border-color: rgba(63,210,143,.45); } .bz .bz-save.bad, .bz .bz-save.error { color: var(--amber); border-color: rgba(255,181,71,.5); }

/* ---------- tablas ---------- */
.bz .bz-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.bz .bz-card:not(.bz-flush) > .bz-scroll, .bz .bz-day > .bz-scroll { border: 1px solid var(--line-soft); border-radius: 12px; }
.bz .bz-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bz .bz-table th, .bz .bz-table td { padding: 10px 10px; text-align: left; white-space: nowrap; vertical-align: middle; border-top: 1px solid var(--line-soft); }
.bz .bz-table thead th { border-top: 0; font: 800 11px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: rgba(255,255,255,.03); }
.bz .bz-table thead th .bz-dim { text-transform: none; letter-spacing: 0; font-weight: 600; }
.bz .bz-table tbody th { font-weight: 700; color: var(--fg); }
.bz .bz-table .r { text-align: right; } .bz .bz-table .bz-c { text-align: center; }
.bz .bz-table th:first-child, .bz .bz-table td:first-child { padding-left: 18px; } .bz .bz-table th:last-child, .bz .bz-table td:last-child { padding-right: 18px; }
.bz .bz-table tr.bz-row { cursor: pointer; transition: background .12s; } .bz .bz-table tr.bz-row:hover { background: rgba(255,255,255,.05); }
.bz .bz-table tr.bz-off th { color: var(--dim); font-weight: 500; }
.bz .bz-table tr.bz-tot th, .bz .bz-table tr.bz-tot td { background: rgba(255,255,255,.03); }
.bz .bz-who { display: flex; align-items: center; gap: 10px; font-weight: 700; } .bz .bz-who b { font-weight: 800; }
.bz .bz-av { display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; flex: none; background: rgba(79,141,255,.16); } .bz .bz-av svg { width: 100%; height: 100%; }
.bz .bz-ini { font: 700 14px var(--f-head); color: var(--blue-soft); border: 1px solid rgba(159,192,255,.3); }
.bz .bz-cellbar { display: flex; align-items: center; gap: 9px; } .bz .bz-cellbar b { font: 600 13px var(--f-num); font-variant-numeric: tabular-nums; }
.bz .bz-meter { display: inline-block; width: 52px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; flex: none; }
.bz .bz-meter i { display: block; height: 100%; border-radius: 6px; background: var(--blue); } .bz .bz-meter.energia i { background: var(--amber); } .bz .bz-meter.sueno i { background: var(--violet); }
.bz .bz-spark { color: var(--blue-soft); } .bz .bz-sparkc { width: 100px; }
.bz .bz-tick { color: var(--ok); font-weight: 800; }
.bz .bz-rng { font: 700 11.5px var(--f-body); margin-left: 6px; color: var(--mu); } .bz .bz-rng.ok { color: var(--ok); } .bz .bz-rng.alto, .bz .bz-rng.bajo { color: var(--amber); }
.bz .bz-emo { letter-spacing: 2px; }
.bz .bz-menu td { white-space: normal; min-width: 190px; vertical-align: top; } .bz .bz-menu td b { display: block; font-weight: 700; line-height: 1.3; } .bz .bz-menu td.r { min-width: 0; white-space: nowrap; vertical-align: middle; }
.bz .bz-mac { display: block; font-size: 12px; color: var(--mu); margin-top: 2px; }
.bz .bz-swap { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 8px; background: rgba(63,210,143,.12); color: var(--ok); font-size: 11.5px; font-weight: 700; }
.bz .bz-extable td { padding: 6px 6px; } .bz .bz-extable td:first-child { padding-left: 12px; width: 34px; } .bz .bz-extable th { padding: 9px 6px; }
.bz .bz-extable .bz-in { min-height: 36px; } .bz .bz-extable input[type=number] { width: 66px; } .bz .bz-extable input[type=text] { width: 74px; }
.bz .bz-extable .bz-exsel { min-width: 200px; } .bz .bz-extable .bz-notec { width: 100%; } .bz .bz-extable .bz-notec input { width: 100%; min-width: 150px; }
.bz .bz-rowact { display: flex; gap: 4px; }
.bz .bz-ib { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-soft); font-weight: 800; } .bz .bz-ib:hover:not([disabled]) { background: rgba(255,255,255,.12); }

/* ---------- ficha de cliente ---------- */
.bz .bz-cwho { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 280px; }
.bz .bz-cmeta { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; }
.bz .bz-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; position: sticky; top: 0; z-index: 20; background: rgba(5,11,28,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin: 0 -8px; padding: 0 8px; }
.bz .bz-tabs::-webkit-scrollbar { display: none; }
.bz .bz-tabs button { display: flex; align-items: center; gap: 7px; padding: 12px 13px; font-weight: 700; color: var(--mu); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; flex: none; }
.bz .bz-tabs button i { filter: grayscale(1) opacity(.65); } .bz .bz-tabs button:hover { color: var(--fg); }
.bz .bz-tabs button.on { color: var(--fg); border-bottom-color: var(--fg); } .bz .bz-tabs button.on i { filter: none; }
.bz .bz-bats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.bz .bz-bat { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: var(--mu); min-width: 0; }
.bz .bz-bat b { font: 700 13px var(--f-num); color: var(--fg); white-space: nowrap; }
.bz .bz-batcell { position: relative; width: 100%; max-width: 46px; height: 78px; border-radius: 10px; border: 2px solid #3a4a6c; overflow: hidden; margin-top: 6px; }
.bz .bz-batcell i { position: absolute; left: 2px; right: 2px; bottom: 2px; border-radius: 6px; background: linear-gradient(0deg, var(--ok), #ffd27a); max-height: calc(100% - 4px); }
.bz .bz-bat.now { color: var(--fg); font-weight: 800; } .bz .bz-bat.now .bz-batcell { border-color: var(--blue-soft); }
.bz .bz-feed { display: flex; flex-direction: column; } .bz .bz-feed li { padding: 12px 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; } .bz .bz-feed li:first-child { border-top: 0; padding-top: 0; }
.bz .bz-fh { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.bz .bz-quote { padding: 8px 12px; border-left: 3px solid var(--blue); background: rgba(79,141,255,.08); border-radius: 0 10px 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.bz .bz-exnote { font-size: 13px; color: var(--mu); overflow-wrap: anywhere; }
.bz .bz-feel { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--mu); white-space: nowrap; }
.bz .bz-dots { display: inline-flex; gap: 3px; } .bz .bz-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); } .bz .bz-dots i.on { background: var(--blue-soft); }
.bz .bz-msgs { display: flex; flex-direction: column; gap: 8px; } .bz .bz-msgs li { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); }
.bz .bz-msgs p { white-space: pre-wrap; overflow-wrap: anywhere; } .bz .bz-msgf { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12px; }
.bz .bz-check { display: flex; flex-direction: column; gap: 10px; } .bz .bz-check li { display: flex; gap: 12px; align-items: flex-start; }
.bz .bz-check li > i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #3a4a6c; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--dim); flex: none; margin-top: 1px; }
.bz .bz-check li.ok > i { background: var(--ok); border-color: var(--ok); color: #04210f; }
.bz .bz-check b { display: block; } .bz .bz-check span { font-size: 13px; overflow-wrap: anywhere; }
.bz .bz-selfie { width: 96px; height: 96px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); } .bz .bz-selfie img { width: 100%; height: 100%; object-fit: cover; }
.bz .bz-actrow { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; } .bz .bz-actrow .bz-f { flex: 0 1 190px; }
.bz .bz-dl { display: flex; flex-direction: column; } .bz .bz-dl > div { padding: 9px 0; border-top: 1px solid var(--line-soft); } .bz .bz-dl > div:first-child { border-top: 0; padding-top: 0; }
.bz .bz-dl dt { font-size: 12px; font-weight: 700; color: var(--mu); } .bz .bz-dl dd { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.bz .bz-seslist { display: flex; flex-direction: column; gap: 12px; }
.bz .bz-ses { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.bz .bz-ses header { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; } .bz .bz-ses header b { display: block; font-size: 15px; } .bz .bz-ses header .bz-mu { font-size: 12.5px; }
.bz .bz-sesr { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.bz .bz-exs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px 22px; } .bz .bz-exs li { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bz .bz-exn { font-weight: 700; font-size: 13px; } .bz .bz-pr { color: var(--gold); font-size: 12px; font-weight: 800; white-space: nowrap; }
.bz .bz-sets { color: var(--mu); font-size: 13px; overflow-wrap: anywhere; } .bz .bz-sets i { color: var(--dim); }
.bz .bz-list { display: flex; flex-direction: column; } .bz .bz-list li { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid var(--line-soft); overflow-wrap: anywhere; } .bz .bz-list li:first-child { border-top: 0; }
.bz .bz-list.bz-pad { padding-top: 4px; } .bz .bz-list.plain li { flex-direction: column; gap: 2px; }
.bz .bz-phset { display: flex; flex-direction: column; gap: 8px; } .bz .bz-phset + .bz-phset { margin-top: 8px; } .bz .bz-phset h3 { font: 700 13px var(--f-body); color: var(--mu); }
.bz .bz-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 10px; }
.bz .bz-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.04); display: block; }
.bz .bz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bz .bz-photo span { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 8px; background: rgba(2,6,16,.75); font-size: 11.5px; font-weight: 700; }
.bz .bz-photo.none { border-style: dashed; } .bz .bz-photo.none span { position: static; background: none; color: var(--dim); display: grid; place-items: center; height: 100%; }
.bz .bz-zoom { position: fixed; inset: 0; z-index: 80; background: rgba(2,6,16,.92); display: grid; place-items: center; padding: 20px; width: 100%; cursor: zoom-out; } .bz .bz-zoom img { max-width: 100%; max-height: calc(100vh - 40px); border-radius: 14px; object-fit: contain; }

/* ---------- editor de plan ---------- */
.bz .bz-day { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(79,141,255,.06); border: 1px solid rgba(79,141,255,.22); }
.bz .bz-daychips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.bz .bz-daychips button { min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); font-weight: 700; font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz .bz-daychips button.on { background: var(--fg); color: var(--ink); border-color: var(--fg); } .bz .bz-daychips button.add { border-style: dashed; color: var(--blue-soft); background: none; }
.bz .bz-habits { display: flex; flex-wrap: wrap; gap: 8px; }
.bz .bz-habits button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--mu); }
.bz .bz-habits button i { font-size: 16px; filter: grayscale(1) opacity(.6); }
.bz .bz-habits button.on { background: rgba(255,181,71,.14); border-color: rgba(255,181,71,.6); color: var(--fg); } .bz .bz-habits button.on i { filter: none; } .bz .bz-habits button.on::after { content: "✓"; color: var(--amber); font-weight: 800; }
.bz .bz-adv { display: flex; flex-direction: column; } .bz .bz-adv > * + * { margin-top: 12px; }
.bz .bz-adv summary { cursor: pointer; font: 700 15px var(--f-head); }

/* ---------- Claude ---------- */
.bz .bz-asks { display: flex; flex-direction: column; gap: 8px; }
.bz .bz-asks button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 600; transition: background .12s, border-color .12s; }
.bz .bz-asks button:hover { background: rgba(255,255,255,.09); } .bz .bz-asks button span { overflow-wrap: anywhere; min-width: 0; -webkit-user-select: text; user-select: text; }
.bz .bz-asks button i { font: 800 11.5px var(--f-body); color: var(--blue-soft); white-space: nowrap; flex: none; } .bz .bz-asks button.ok { border-color: rgba(63,210,143,.55); } .bz .bz-asks button.ok i { color: var(--ok); }
.bz .bz-modeline b { color: var(--fg); }

/* ---------- avisos ---------- */
.bz .bz-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; display: flex; align-items: center; gap: 14px; padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0,0,0,.5); max-width: calc(100vw - 32px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.bz .bz-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bz .bz-toast button { color: #1f5fd6; font-weight: 800; text-decoration: underline; white-space: nowrap; }

/* ---------- pantallas estrechas: la barra lateral pasa arriba ---------- */
@media (max-width: 900px) {
  .bz { --bz-pad: 16px; } .bz:not([hidden]) { display: block !important; }
  .bz .bz-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .bz .bz-brand { padding: 0 4px; flex: none; } .bz .bz-brand img { width: 28px; }
  .bz .bz-nav { flex-direction: row; flex: 1 1 250px; gap: 4px; justify-content: flex-end; }
  .bz .bz-nav button { flex: 0 1 auto; padding: 0 10px; gap: 6px; min-height: 40px; font-size: 13px; }
  .bz .bz-mode { display: none; }
  .bz .bz-main { padding: 16px 16px 96px; }
  .bz .bz-cols { grid-template-columns: minmax(0, 1fr); }
  .bz .bz-ph h1, .bz .bz-chead h1 { font-size: 22px; }
  .bz .bz-tabs { margin: 0 -16px; padding: 0 8px; }
}
@media (max-width: 560px) {
  .bz .bz-in { font-size: 16px; } /* evita el zoom automático de iOS al enfocar */
  .bz .bz-nav { justify-content: space-between; } .bz .bz-nav button { flex: 1 1 0; justify-content: center; }
  .bz .bz-tiles, .bz .bz-tiles.k4, .bz .bz-tiles.k6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bz .bz-kv { font-size: 21px; } .bz .bz-kpi { padding: 12px; }
  .bz .bz-card { padding: 14px; } .bz .bz-card.bz-flush { padding: 14px 0 0; } .bz .bz-card.bz-flush > :not(.bz-scroll):not(.bz-listwrap) { margin-left: 14px; margin-right: 14px; }
  .bz .bz-search { flex-basis: 100%; }
  .bz .bz-bats { gap: 6px; } .bz .bz-bat b { font-size: 11.5px; } .bz .bz-batcell { height: 64px; }
  .bz .bz-day { padding: 12px; } .bz .bz-fg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bz .bz-weekg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz .bz-actrow .bz-f, .bz .bz-actrow .bz-btn { flex: 1 1 100%; }
  .bz .bz-save { right: 12px; bottom: 12px; } .bz .bz-toast { bottom: 64px; border-radius: 18px; }
  .bz .bz-phr { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .bz *, .bz *::before, .bz *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ====================== Apartados nuevos (js/biz2.js) ====================== */
.bz .bz-grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bz .bz-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #1a1204; font: 800 11px/20px var(--f-num); text-align: center; font-style: normal; }
.bz .bz-nav button span { white-space: nowrap; }
.bz .bz-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line-soft); }
.bz .bz-seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--mu); } .bz .bz-seg button.on { background: var(--fg); color: var(--ink); }
.bz .bz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bz .bz-chips button { min-height: 36px; padding: 0 13px; border-radius: 999px; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--mu); }
.bz .bz-chips button.on { background: rgba(226,180,90,.18); border-color: rgba(226,180,90,.7); color: #f6dc9c; }
.bz .bz-pts { display: flex; flex-direction: column; gap: 6px; } .bz .bz-pts li { position: relative; padding-left: 16px; line-height: 1.45; } .bz .bz-pts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bz .bz-btn.ok { background: linear-gradient(180deg, #62e3a6, #2fb878); color: #04210f; }
.bz .bz-btn.wa { background: linear-gradient(180deg, #4be07f, #1faa55); color: #04210f; text-decoration: none; }
.bz .bz-tel { flex: 0 1 240px; }
.bz .bz-meter.gold { width: 100%; height: 8px; } .bz .bz-meter.gold i { background: linear-gradient(90deg, #c99a3c, #f6dc9c); }

/* panel: tarjetas de cliente con su personaje */
.bz .bz-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 14px; }
.bz .bz-cc { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line); transition: transform .12s, border-color .15s; min-width: 0; }
.bz .bz-cc:hover { border-color: rgba(226,180,90,.6); transform: translateY(-1px); }
.bz .bz-ccav { flex: none; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--bc), transparent 70%, var(--bc)); box-shadow: 0 0 22px -6px var(--bc); }
.bz .bz-ccav .pf, .bz .bz-pwho .pf, .bz .bz-wah .pf, .bz .bz-who .pf, .bz .bz-fwho .pf { display: block; }
.bz .bz-ccb { display: flex; flex-direction: column; gap: 5px; min-width: 0; align-items: flex-start; flex: 1; }
.bz .bz-ccn { font: 700 16px/1.2 var(--f-head); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.bz .bz-ccl { display: flex; align-items: center; gap: 8px; font-size: 13px; } .bz .bz-lvl { font-weight: 700; color: var(--mu); } .bz .bz-lvl b { font-size: 18px; color: var(--fg); }
.bz .bz-ccbat { display: flex; align-items: center; gap: 8px; width: 100%; } .bz .bz-ccbat .bz-meter { flex: 1; height: 7px; } .bz .bz-ccbat b { font-size: 13px; }

/* ficha técnica */
.bz .bz-ficha { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; background: radial-gradient(120% 120% at 0% 0%, rgba(226,180,90,.10), transparent 55%), var(--glass); border-color: rgba(226,180,90,.35); }
.bz .bz-fwho { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; } .bz .bz-fwho .pf { box-shadow: 0 0 0 3px var(--bc), 0 0 30px -6px var(--bc); border-radius: 50%; }
.bz .bz-fl { display: flex; align-items: baseline; gap: 8px; } .bz .bz-fl span { font: 700 11px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mu); } .bz .bz-fl b { font-size: 40px; line-height: 1; }
.bz .bz-fh2 { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.bz .bz-fcol { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .bz .bz-fcol h2 { font: 800 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); margin-top: 6px; } .bz .bz-fcol h2:first-child { margin-top: 0; }
.bz .bz-badges { display: flex; flex-wrap: wrap; gap: 6px; } .bz .bz-badges span { width: 34px; height: 34px; display: grid; place-items: center; font-size: 18px; border-radius: 50%; background: rgba(226,180,90,.14); border: 1px solid rgba(226,180,90,.4); }

/* nuevo protocolo */
.bz .bz-proto { gap: 16px; border-color: rgba(226,180,90,.45); }
.bz .bz-ph2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bz .bz-pwho { display: flex; align-items: center; gap: 14px; min-width: 0; } .bz .bz-pwho h2 { font: 700 19px/1.2 var(--f-head); letter-spacing: -.02em; }
.bz .bz-psec { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); } .bz .bz-psec h3 { font: 700 16px/1.2 var(--f-head); }
.bz .bz-psec p { max-width: 86ch; line-height: 1.55; }
.bz .bz-why { padding: 10px 14px; border-radius: 12px; background: rgba(79,141,255,.08); border-left: 3px solid var(--blue); color: #d6e0f5; } .bz .bz-why b { color: var(--blue-soft); }
.bz .bz-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bz .bz-wk > div { padding: 9px 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); text-align: center; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bz .bz-wk > div.on { background: rgba(79,141,255,.14); border-color: rgba(79,141,255,.45); } .bz .bz-wk span { font: 800 10.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); } .bz .bz-wk b { font-size: 12.5px; overflow-wrap: anywhere; line-height: 1.2; } .bz .bz-wk i { font-size: 11px; color: var(--amber); } .bz .bz-wk > div:not(.on) b { color: var(--dim); font-weight: 600; }
.bz .bz-pday { border: 1px solid var(--line-soft); border-radius: 12px; padding: 0 14px; background: rgba(255,255,255,.03); }
.bz .bz-pday summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 11px 0; cursor: pointer; } .bz .bz-pday ul { padding: 0 0 12px; display: flex; flex-direction: column; gap: 6px; } .bz .bz-pday li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; } .bz .bz-pday li span:last-child { text-align: right; }
.bz .bz-mac4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .bz .bz-mac4 > div { padding: 10px; border-radius: 12px; background: rgba(63,210,143,.09); border: 1px solid rgba(63,210,143,.28); text-align: center; } .bz .bz-mac4 b { display: block; font-size: 19px; } .bz .bz-mac4 span { font-size: 11.5px; color: var(--mu); font-weight: 700; }
.bz .bz-pfoot { display: flex; align-items: flex-end; gap: 10px 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(226,180,90,.35); } .bz .bz-pfoot .bz-f { flex: 0 1 170px; }

/* reporte semanal */
.bz .bz-rep { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.bz .bz-repb { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .bz .bz-repg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bz .bz-tk { position: relative; border-radius: 22px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--h1) 38%, transparent), transparent 60%), linear-gradient(165deg, #1a2444, #0a1022 60%, #05080f); border: 1px solid color-mix(in srgb, var(--h1) 70%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 34px -16px rgba(0,0,0,.8); }
.bz .bz-tkh { display: flex; justify-content: space-between; gap: 8px; font: 800 9.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--h1); }
.bz .bz-tkt { font: 800 11px var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: #b9c6e2; margin-top: 6px; }
.bz .bz-tkn { font: 700 24px/1.05 var(--f-head); letter-spacing: -.03em; overflow-wrap: anywhere; } .bz .bz-tkd { font-size: 12px; color: #b9c6e2; margin-top: -6px; }
.bz .bz-tkz { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bz .bz-tkz span { display: block; font: 700 9.5px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #b9c6e2; } .bz .bz-tkz b { display: block; font: 700 22px/1.1 var(--f-head); color: var(--h1); } .bz .bz-tkz i { font-size: 11.5px; font-weight: 700; color: #dfe6f5; }
.bz .bz-tks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .bz .bz-tks > div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); } .bz .bz-tks b { display: block; font: 700 24px/1 var(--f-num); } .bz .bz-tks span { font-size: 11px; font-weight: 700; color: #b9c6e2; }
.bz .bz-tkl { border-top: 1px dashed rgba(255,255,255,.25); padding-top: 10px; } .bz .bz-tkl span { font: 800 9.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--h1); } .bz .bz-tkl p { font-weight: 700; font-size: 13.5px; line-height: 1.35; margin-top: 4px; }
.bz .bz-tkbars { display: flex; gap: 5px; height: 30px; align-items: flex-end; } .bz .bz-tkbars i { flex: 1; height: 100%; border-radius: 4px; background: rgba(255,255,255,.08); display: flex; align-items: flex-end; overflow: hidden; } .bz .bz-tkbars em { display: block; width: 100%; background: var(--h1); border-radius: 4px; }

/* whatsapp y videollamadas: filas que se despliegan */
.bz .bz-wa { padding: 0; gap: 0; overflow: hidden; } .bz .bz-wa.open { border-color: rgba(226,180,90,.45); }
.bz .bz-wah { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; min-width: 0; } .bz .bz-wah b { font: 700 15.5px/1.2 var(--f-head); } .bz .bz-wah .bz-grow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz .bz-chev { font-size: 18px; color: var(--dim); width: 20px; text-align: center; flex: none; }
.bz .bz-wab { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 16px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.bz .bz-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .bz .bz-guide > div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; } .bz .bz-guide h3 { font: 700 14.5px/1.2 var(--f-head); }

/* crm */
.bz .bz-crm td { padding: 6px 6px; } .bz .bz-crm td:first-child { padding-left: 14px; position: sticky; left: 0; background: #0b1530; z-index: 1; } .bz .bz-crm th:first-child { position: sticky; left: 0; background: #0f1a36; z-index: 2; padding-left: 14px; }
.bz .bz-cell { min-width: 120px; background: transparent; border-color: transparent; } .bz .bz-cell:hover { border-color: var(--line); background: rgba(255,255,255,.05); } .bz .bz-cell[type=date] { min-width: 140px; } .bz select.bz-cell { min-width: 150px; }
.bz .bz-crmf .bz-cell { background: rgba(255,255,255,.06); border-color: var(--line); }

/* antes y después */
.bz .bz-bagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bz .bz-ba { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0a1626; border: 1px solid rgba(200,164,93,.45); box-shadow: 0 14px 30px -16px rgba(0,0,0,.8); text-align: left; min-width: 0; }
.bz .bz-ba:hover { border-color: #c8a45d; }
.bz .bz-bap { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #0a1626; padding: 3px 3px 0; }
.bz .bz-bap figure { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #12233a; }
.bz .bz-bap img { width: 100%; height: 100%; object-fit: cover; }
.bz .bz-bap figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(to top, rgba(5,12,22,.92), transparent); display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.bz .bz-bap figcaption b { font: 800 11px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; } .bz .bz-bap figure.z figcaption b { color: #e2c27f; } .bz .bz-bap figcaption span { font-size: 11px; color: #c8d2e2; }
.bz .bz-banone { height: 100%; display: grid; place-items: center; text-align: center; font-size: 12.5px; color: #9fadc0; padding: 10px; }
.bz .bz-bab { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; } .bz .bz-bab b { font: 700 16px var(--f-head); } .bz .bz-bab > span { font-size: 12.5px; color: #9fadc0; }
.bz .bz-bapills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .bz .bz-bapills span { padding: 4px 10px; border-radius: 999px; background: #c8a45d; color: #0a1626; font: 800 12px var(--f-num); }
.bz .bz-lb { position: fixed; inset: 0; z-index: 80; background: rgba(5,12,22,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
.bz .bz-ba.big { width: min(100%, 720px); max-height: calc(100dvh - 110px); } .bz .bz-ba.big .bz-bap { min-height: 0; } .bz .bz-ba.big figure { aspect-ratio: auto; height: min(62dvh, 480px); }

@media (max-width: 900px) {
  .bz .bz-side { flex-wrap: nowrap; flex-direction: column; align-items: stretch; position: sticky; top: 0; z-index: 30; background: rgba(4,9,22,.96); padding: 10px 0 8px; gap: 8px; }
  .bz .bz-brand { padding: 0 16px; }
  .bz .bz-nav { flex: none; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .bz .bz-nav::-webkit-scrollbar { display: none; }
  .bz .bz-nav button, .bz .bz-nav button:nth-child(n) { flex: none; }
  .bz .bz-ficha { grid-template-columns: minmax(0, 1fr); } .bz .bz-rep { grid-template-columns: minmax(0, 1fr); } .bz .bz-tk { max-width: 360px; width: 100%; margin: 0 auto; }
  .bz .bz-guide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bz .bz-nav { justify-content: flex-start; } .bz .bz-nav button { flex: none; justify-content: flex-start; }
  .bz .bz-cgrid { grid-template-columns: minmax(0, 1fr); padding: 12px; } .bz .bz-repg { grid-template-columns: minmax(0, 1fr); }
  .bz .bz-wk { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bz .bz-mac4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bz .bz-pfoot .bz-f, .bz .bz-pfoot .bz-btn.ok { flex: 1 1 100%; } .bz .bz-wah { padding: 12px; } .bz .bz-wab { padding: 14px 12px; }
  .bz .bz-bagrid { grid-template-columns: minmax(0, 1fr); } .bz .bz-wah > .bz-dim { display: none; }
}

/* cola de envío por WhatsApp */
.bz .bz-out { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); }
.bz .bz-grow1 { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz .bz-flat { padding: 12px 14px; gap: 8px; }
.bz .bz-steps { display: flex; flex-direction: column; gap: 12px; padding-left: 22px; list-style: decimal; } .bz .bz-steps li { padding-left: 4px; line-height: 1.5; } .bz .bz-steps .bz-btn { margin-left: 6px; vertical-align: middle; }
.bz .bz-sw { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-left: 6px; } .bz .bz-sw input { width: 20px; height: 20px; accent-color: var(--ok); }
