@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --bc-brand: #2a7dff;
  --bc-brand-dark: #10146e;
  --bc-brand-deep: #0a0d4a;
  --bc-gold: #f5b301;
  --bc-cream: #f7fbff;
  --bc-surface: #fff;
  --bc-border: rgba(16, 20, 110, 0.12);
  --bc-text: #10146e;
  --bc-muted: #64748b;
  --bc-shadow: 0 14px 40px rgba(16, 20, 110, 0.12);
  --bc-font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --bc-display: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--bc-font); font-size: 16px; color: var(--bc-text); background: var(--bc-cream); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

html, body, #app { max-width: 100%; overflow-x: hidden; }
.bc-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bc-cream); min-width: 0; max-width: 100%; overflow-x: hidden; }

.bc-brandbar {
  background: linear-gradient(105deg, #10146e 0%, #2a7dff 55%, #5d3cff 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 20, 110, 0.22);
}
.bc-brandbar::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #53f235 0%, #39ebc7 40%, #2a7dff 70%, #5d3cff 100%);
}
.bc-brandbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}
.bc-brandbar-left { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.bc-brandbar-right { min-width: 0; }
.bc-logo {
  font-family: var(--bc-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.bc-logo-ayni { color: var(--bc-gold); }
.bc-logo-free { color: #fff; }
.bc-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.3); flex-shrink: 0; }
.bc-colegio { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.bc-colegio strong {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-colegio small {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bc-badge {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  vertical-align: middle;
}
.bc-brand-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
  min-width: 0;
  padding: 0 0.5rem;
}
.bc-brand-user strong {
  font-weight: 600;
  font-size: 0.88rem;
  max-width: min(22rem, 42vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-brand-user span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: min(22rem, 42vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .bc-brandbar-inner { grid-template-columns: 1fr; gap: 0.35rem; }
  .bc-brandbar-right { display: none; }
  .bc-brand-user { order: 2; padding: 0; }
  .bc-brand-user strong, .bc-brand-user span { max-width: 100%; }
}

.bc-topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bc-surface);
  border-bottom: 1px solid var(--bc-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.bc-topnav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
}
.bc-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--bc-border);
  background: var(--bc-cream);
  color: var(--bc-brand-dark);
  cursor: pointer;
}
.bc-burger svg { width: 22px; height: 22px; }
.bc-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}
@media (min-width: 992px) {
  .bc-burger { display: none; }
  .bc-links { display: flex; }
}
.bc-link, .bc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  border: 0;
  background: none;
  color: var(--bc-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.bc-link:hover, .bc-trigger:hover, .bc-link.activo, .bc-group.activo > .bc-trigger {
  background: var(--bc-cream);
  color: var(--bc-brand-dark);
}
.bc-caret { width: 13px; height: 13px; opacity: 0.75; transition: transform 0.2s; }
.bc-group { position: relative; }
.bc-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 224px;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  box-shadow: var(--bc-shadow);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 50;
}
.bc-group:hover > .bc-drop, .bc-group:focus-within > .bc-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bc-group:hover > .bc-trigger .bc-caret, .bc-group:focus-within > .bc-trigger .bc-caret { transform: rotate(180deg); }
.bc-drop button {
  display: flex;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--bc-text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}
.bc-drop button:hover, .bc-drop button.activo { background: var(--bc-cream); color: var(--bc-brand-dark); font-weight: 600; }
.bc-drop button.pronto, .bc-drawer nav button.pronto { opacity: 0.55; cursor: not-allowed; }
.bc-drop button.pronto:hover, .bc-drawer nav button.pronto:hover { background: transparent; color: inherit; font-weight: 500; }

.bc-user { position: relative; margin-left: auto; flex-shrink: 0; }
.bc-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: var(--bc-cream);
  border: 1px solid var(--bc-border);
  color: var(--bc-text);
  cursor: pointer;
}
.bc-user-trigger:hover { background: rgba(16, 20, 110, 0.06); }
.bc-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bc-gold);
  color: var(--bc-brand-deep);
  font-weight: 700;
  font-size: 0.8rem;
}
.bc-user-meta { display: none; flex-direction: column; line-height: 1.15; text-align: left; }
.bc-user-meta strong { font-size: 0.8rem; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-user-meta span { font-size: 0.68rem; color: var(--bc-muted); }
@media (min-width: 640px) and (max-width: 767px) { .bc-user-meta { display: flex; } }
.bc-user-drop {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  box-shadow: var(--bc-shadow);
  padding: 0.4rem;
  z-index: 55;
}
.bc-user.abierto .bc-user-drop { display: block; }
.bc-user-head {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--bc-border);
  margin-bottom: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.bc-user-head strong { font-size: 0.85rem; }
.bc-user-head span { font-size: 0.75rem; color: var(--bc-muted); }
.bc-user-drop button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #b91c1c;
  font-weight: 600;
  cursor: pointer;
}
.bc-user-drop button:hover { background: var(--bc-cream); }

.bc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16, 20, 110, 0.55);
  border: 0;
  cursor: pointer;
}
.bc-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 61;
  width: min(20rem, 90vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #10146e 0%, #0a0d4a 100%);
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.bc-drawer header, .bc-drawer-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.bc-drawer-pie { border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.bc-drawer header button, .bc-drawer-pie button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.bc-drawer nav { flex: 1; overflow: auto; padding: 0.4rem 0.7rem 1rem; }
.bc-drawer p {
  margin: 0.7rem 0 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #39ebc7;
}
.bc-drawer nav button {
  display: flex;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.9rem;
}
.bc-drawer nav button.activo, .bc-drawer nav button:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (min-width: 992px) { .bc-backdrop, .bc-drawer { display: none; } }

.bc-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--bc-cream);
  background-image:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(125, 211, 252, 0.16), transparent 50%);
}
.bc-container { max-width: min(80rem, 100%); width: 100%; box-sizing: border-box; min-width: 0; margin: 0 auto; padding: 1.75rem 2rem 3rem; }
.bc-login-shell { min-height: 100vh; }
.bc-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.1rem;
}
.bc-login__card {
  width: min(26rem, 100%);
  padding: 1.4rem 1.2rem 1.5rem;
  border-radius: 18px;
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  box-shadow: var(--bc-shadow);
}
.bc-login__kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--bc-brand);
}
.bc-login h1 {
  margin: 0 0 0.45rem;
  font-family: var(--bc-display);
  font-size: 1.7rem;
}
.bc-login__lead { margin: 0 0 1rem; color: var(--bc-muted); line-height: 1.45; }
.bc-login__form .primario { width: 100%; margin-top: 0.4rem; }
.bc-login__ver {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--bc-muted);
  font-size: 0.75rem;
}
@media (max-width: 767px) { .bc-container { padding: 1.25rem 1rem 3rem; } }

@keyframes bc-title-float {
  0%, 100% {
    transform: translateY(0);
    text-shadow: 0 2px 0 rgba(16, 20, 110, 0.05), 0 8px 18px rgba(16, 20, 110, 0.12), 0 16px 34px rgba(42, 125, 255, 0.1);
  }
  50% {
    transform: translateY(-3px);
    text-shadow: 0 4px 0 rgba(16, 20, 110, 0.04), 0 12px 26px rgba(16, 20, 110, 0.16), 0 22px 42px rgba(42, 125, 255, 0.14);
  }
}
@keyframes bc-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes bc-glow {
  0%, 100% { filter: drop-shadow(0 4px 10px rgba(16, 20, 110, 0.12)); }
  50% { filter: drop-shadow(0 8px 18px rgba(42, 125, 255, 0.22)); }
}
.bc-head { margin-bottom: 1.15rem; }
.bc-title {
  margin: 0;
  font-family: var(--bc-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #10146e;
  animation: bc-title-float 5.5s ease-in-out infinite;
}
.bc-accent {
  background: linear-gradient(105deg, #53f235 0%, #39ebc7 28%, #2a7dff 62%, #5d3cff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bc-shimmer 8s ease-in-out infinite alternate, bc-glow 5.5s ease-in-out infinite;
}
.bc-lead { margin: 0.35rem 0 0; max-width: 40rem; color: var(--bc-muted); font-size: 0.95rem; line-height: 1.5; }
h2 { margin: 1.1rem 0 0.35rem; font-family: var(--bc-display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #10146e; }

.bc-mod-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1.15rem; }
.bc-mod-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.secundario, button.secundario, button.primario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-family: var(--bc-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.secundario, button.secundario {
  background: #fff;
  color: var(--bc-text);
  border: 1px solid var(--bc-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
button.primario {
  background: linear-gradient(135deg, #2a7dff 0%, #3dbeff 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 14px rgba(42, 125, 255, 0.35);
}
.bc-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }
.bc-pill {
  border: 1px solid var(--bc-border); background: #fff; color: var(--bc-muted);
  border-radius: 999px; padding: 0.35rem 0.75rem; font-weight: 700; cursor: pointer;
}
.bc-pill.activo { background: #10146e; color: #fff; border-color: #10146e; }
.bc-aviso { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 0.8rem; }
.bc-ficha {
  display: block;
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(16, 20, 110, 0.08);
}
.bc-ficha:hover { box-shadow: 0 14px 40px rgba(16, 20, 110, 0.12); }
.bc-ficha-layout { display: flex; gap: 1rem; align-items: flex-start; }
.bc-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
}
.bc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-ficha h3 {
  margin: 0;
  font-family: var(--bc-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--bc-text);
}
.bc-meta {
  margin: 0.35rem 0 0;
  color: var(--bc-muted);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.bc-extracto { margin: 0.75rem 0 0; font-size: 0.9rem; white-space: pre-wrap; }
.bc-rechazo { margin: 0.35rem 0 0; font-size: 0.78rem; color: #dc2626; }
.bc-eval { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--bc-muted); }
.bc-meta-extra { margin-left: 0.35rem; color: var(--bc-muted); }
.bc-estados { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.bc-acciones { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.bc-acciones button,
.bc-acciones button.primario {
  font-family: var(--bc-font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--bc-border);
  background: #fff;
  color: #2a7dff;
  box-shadow: none;
}
.bc-acciones button:hover { background: #e0f2fe; border-color: #7dd3fc; }
.bc-cat {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}
.bc-origen {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f0f9ff;
  color: #0369a1;
}
.bc-badge-estado {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.bc-badge-aviso { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.bc-badge-ok { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.bc-badge-mal { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.bc-badge-neutro { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.bc-badge-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.bc-form-page { background: #fff; border: 1px solid rgba(16, 20, 110, 0.1); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 6px 20px rgba(16, 20, 110, 0.06); }
.bc-check { display: flex; gap: 0.45rem; align-items: center; font-weight: 600; }
.bc-checks { display: grid; gap: 0.35rem; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.tarjeta, .item, form.alta {
  background: var(--bc-surface);
  border: 1px solid rgba(16, 20, 110, 0.1);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 20px rgba(16, 20, 110, 0.06);
}
.tarjeta { text-align: left; font: inherit; color: inherit; }
.tarjeta strong { display: block; font-family: var(--bc-display); font-size: 1.35rem; color: #10146e; }
.tarjeta small, .item p, .vacio { color: var(--bc-muted); }
.item strong { display: block; }
.lista { display: grid; gap: 0.6rem; margin-top: 0.9rem; }
form.alta { display: grid; gap: 0.5rem; margin: 0.8rem 0; }
label { font-size: 0.85rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--bc-border); border-radius: 10px; padding: 0.55rem 0.7rem; }
.error { color: #9f1239; }
@media (prefers-reduced-motion: reduce) {
  .bc-title, .bc-accent { animation: none; }
}
.bc-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin: 0 0 1.25rem; }
@media (min-width: 768px) { .bc-kpis { grid-template-columns: repeat(4, 1fr); } }
.bc-kpi { border-radius: 12px; padding: 1rem 1.1rem; color: #fff; text-align: center; box-shadow: 0 8px 30px rgba(16, 20, 110, 0.08); }
.bc-kpi strong { display: block; font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.bc-kpi span { display: block; margin-top: 0.25rem; font-size: 0.8rem; opacity: 0.92; }
.bc-kpi-marca { background: linear-gradient(135deg, #2a7dff 0%, #10146e 100%); }
.bc-kpi-aviso { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.bc-kpi-ok { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bc-kpi-info { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }
.bc-tabla-tools {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--bc-border); border-radius: 16px; padding: 0.85rem 1rem; margin-bottom: 0.75rem;
  box-shadow: 0 8px 30px rgba(16, 20, 110, 0.08);
}
.bc-tabla-tools input { width: auto; max-width: 320px; flex: 1 1 200px; }
.bc-tabla-wrap { overflow-x: auto; max-width: 100%; min-width: 0; border-radius: 16px; border: 1px solid var(--bc-border); background: #fff; box-shadow: 0 8px 30px rgba(16, 20, 110, 0.08); }
.bc-tabla { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: auto; font-family: var(--bc-font); font-size: 0.875rem; }
.bc-tabla thead { background: linear-gradient(180deg, #f5f5f4, #ebe8e4); border-bottom: 2px solid var(--bc-brand); }
.bc-tabla th { padding: 0.85rem 1rem; font-family: var(--bc-font); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bc-brand); text-align: left; }
.bc-tabla td { padding: 0.85rem 1rem; font-family: var(--bc-font); font-size: 0.875rem; font-weight: 400; color: #44403c; border-bottom: 1px solid #f5f5f4; vertical-align: middle; }
.bc-tabla tbody tr:hover { background: rgba(42, 125, 255, 0.04); }
.bc-tabla a, .bc-tabla .bc-titulo-reunion {
  font-family: var(--bc-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0c4a6e;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.bc-iconos { display: inline-flex; gap: 0.25rem; justify-content: flex-end; }
.bc-icono {
  display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0;
  border-radius: 0.5rem; border: 1px solid var(--bc-border); background: #fff; color: var(--bc-brand); cursor: pointer;
}
.bc-icono svg { width: 1.05rem; height: 1.05rem; }
.bc-icono:hover { background: #e0f2fe; }
.bc-icono-peligro { color: #b91c1c; border-color: #fecaca; }
.bc-icono-peligro:hover { background: #fef2f2; }
.bc-icono-marca { background: var(--bc-brand); border-color: var(--bc-brand); color: #fff; }
.bc-icono-marca:hover { background: var(--bc-brand-dark); color: #fff; }
.bc-paginador {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.75rem 1rem; border-top: 1px solid var(--bc-border); font-size: 0.85rem; color: #78716c;
}
.bc-paginador div { display: flex; gap: 0.35rem; }
.bc-paginador button:disabled { opacity: 0.45; cursor: not-allowed; }
.bc-stack > * + * { margin-top: 1.5rem; }
.bc-seccion { margin: 0 0 1rem; font-family: var(--bc-display); font-size: 1.1rem; font-weight: 700; color: var(--bc-brand-dark); }
.bc-adjuntos { display: grid; gap: 1rem; }
@media (min-width: 768px) { .bc-adjuntos { grid-template-columns: repeat(2, 1fr); } }
.bc-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; margin-bottom: 0.75rem; }
.bc-preview-item { position: relative; }
.bc-previews img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--bc-border); display: block; }
.bc-preview-quitar { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.6); color: #fff; border: 0; border-radius: 4px; padding: 2px 6px; font-size: 0.7rem; cursor: pointer; }
.bc-docs { margin: 0 0 0.75rem; padding: 0; list-style: none; }
.bc-doc { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px solid var(--bc-border); font-size: 0.88rem; }
.bc-doc a, .bc-enlace { font-weight: 600; color: var(--bc-brand); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.bc-doc span { color: var(--bc-muted); white-space: nowrap; }
.bc-doc-quitar { margin-left: 0.5rem; color: #b91c1c; background: none; border: 0; cursor: pointer; font-weight: 600; }
.bc-hint { display: block; margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--bc-muted); }
.bc-tabla-tools-acciones { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.bc-alerta { border-radius: 12px; padding: 0.7rem 0.9rem; margin: 0 0 0.8rem; font-size: 0.9rem; border: 1px solid transparent; }
.bc-alerta-info { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }
.bc-alerta-ok { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
.bc-alerta-aviso { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.bc-alerta-error { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.bc-campo { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.85rem; font-weight: 400; }
.bc-label { font-size: 0.8rem; font-weight: 600; color: var(--bc-text); }
.bc-grid-2 { display: grid; gap: 0 1rem; }
@media (min-width: 768px) { .bc-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.bc-form-seccion { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.25rem; }
.bc-form-pie { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; padding-top: 1rem; border-top: 1px solid var(--bc-border); }
.bc-modal-fondo { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 60; }
.bc-modal { background: #fff; border-radius: 16px; max-width: 760px; width: 100%; max-height: 90vh; overflow: auto; padding: 1.25rem; box-shadow: 0 20px 60px rgba(16, 20, 110, 0.25); }
.bc-modal-cerrar { float: right; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--bc-muted); }
.bc-barra { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.bc-barra > span { display: block; height: 100%; background: linear-gradient(90deg, #2a7dff, #3dbeff); }
.bc-tabla tr.bc-fila-rojo { background: #fef2f2; }
.bc-tabla tr.bc-fila-amarillo { background: #fffbeb; }
.bc-eval-estrellas { color: #f59e0b; letter-spacing: 1px; }
