/* Centro de Operaciones — Marketing con Belu + Chicas en Marketing */


:root {
  --fondo: #E7E4F1;
  --hoja: #FFFFFF;
  --tinta: #141218;
  --tinta-2: #55505F;
  --tinta-3: #8E8899;
  --linea: #E8E5EF;
  --linea-2: #D6D1E2;

  --verde: #34D17F;
  --verde-suave: #CFF3DD;
  --lila: #C9B8F6;
  --lila-suave: #ECE6FD;
  --lila-osc: #3F2F8F;
  --lima: #DCF5AE;
  --lima-suave: #F0FADC;
  --rosa: #F8AEDB;
  --rosa-suave: #FDE4F2;
  --amarillo: #F8E66C;
  --amarillo-suave: #FDF6C8;
  --durazno: #FFCBAA;
  --durazno-suave: #FFEADC;
  --gris-suave: #F1EFF5;

  --radio: 22px;
  --radio-sm: 14px;
  --sombra: 0 1px 0 rgba(20, 18, 24, .04), 0 8px 24px -12px rgba(63, 47, 143, .18);

  --f-titulo: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-texto: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-acento: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.oculto { display: none !important; }

/* ---------- Login ---------- */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.login-hoja {
  position: relative;
  width: min(460px, 100%);
  background: var(--hoja);
  border-radius: 32px;
  padding: 40px 32px 32px;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.login-hoja .garabato { position: absolute; right: -40px; top: 40px; width: 260px; opacity: .9; pointer-events: none; }
.login h1 {
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 46px;
  line-height: .95;
  margin: 22px 0 0;
  letter-spacing: -.045em;
}
.login h1 .acento { display: block; font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 54px; letter-spacing: -.01em; }
.login-logos { display: flex; align-items: center; gap: 18px; margin-top: 4px; position: relative; }
.login-logos .l-cem { height: 26px; }
.login-logos .l-mcb { height: 84px; margin: -12px 0; }
.login-logos .mas { font-family: var(--f-acento); font-style: italic; font-size: 22px; color: var(--tinta-3); }
.login p.bajada { color: var(--tinta-2); margin: 14px 0 26px; max-width: 34ch; font-weight: 300; font-size: 16px; }
.etiqueta { display: block; font-size: 12px; font-weight: 600; color: var(--tinta-2); margin: 0 0 8px; letter-spacing: .02em; }
.quien { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.quien button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--linea-2); background: var(--hoja);
  border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.quien button:hover { border-color: var(--tinta-3); }
.quien button[aria-pressed="true"] { border-color: var(--tinta); background: var(--gris-suave); }
.campo-login {
  width: 100%; border: 1.5px solid var(--linea-2); border-radius: 14px;
  padding: 12px 14px; background: var(--hoja); outline: none;
}
.campo-login:focus { border-color: var(--tinta); }
.btn-negro {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--tinta); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 20px; font-weight: 600;
}
.btn-negro:hover { background: #2B2733; }
.login .btn-negro { width: 100%; margin-top: 14px; }
.error { color: #C0265E; font-size: 13px; margin-top: 10px; min-height: 18px; }
.nota-modo { margin-top: 18px; font-size: 12px; color: var(--tinta-3); }

/* ---------- Avatares ---------- */
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-family: var(--f-titulo); font-weight: 700; font-size: 13px;
  color: var(--tinta); flex: none;
}
.avatar.chico { width: 22px; height: 22px; font-size: 10px; }
.av-belu { background: var(--amarillo); }
.av-valen { background: var(--rosa); }
.av-eli { background: var(--verde); }

/* ---------- Estructura ---------- */
.marco { max-width: 1320px; margin: 0 auto; padding: 20px 20px 40px; }
.hoja {
  position: relative;
  background: var(--hoja);
  border-radius: 32px;
  box-shadow: var(--sombra);
  padding: 18px 28px 32px;
  overflow: hidden;
  min-height: calc(100vh - 60px);
}
.barra {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 6px;
  position: relative; z-index: 2;
}
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.marca svg { width: 24px; height: 24px; }
.paneles { display: flex; gap: 6px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.pastilla {
  border: 1.5px solid var(--linea-2); background: var(--hoja);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 500;
  white-space: nowrap; transition: border-color .15s, background .15s;
}
.pastilla:hover { border-color: var(--tinta-3); }
.pastilla[aria-current="true"] { border-color: var(--tinta); font-weight: 600; }
.yo { display: flex; align-items: center; gap: 10px; }
.yo .salir { border: 0; background: none; color: var(--tinta-2); font-size: 13px; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.serif { font-family: var(--f-acento); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.fino { font-weight: 300; }
.hero { position: relative; padding: 30px 0 22px; z-index: 1; }
.hero .garabato { position: absolute; left: -10%; top: 40px; width: 120%; height: 180px; pointer-events: none; z-index: -1; }
.hero-fila { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.hero h1 {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--f-titulo); font-weight: 800;
  font-size: clamp(48px, 7.4vw, 108px); line-height: .9; margin: 0; letter-spacing: -.05em;
}
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.02em; }
.asterisco { width: .62em; height: .62em; border-radius: 50%; display: grid; place-items: center; flex: none; }
.asterisco svg { width: 46%; height: 46%; }
.hero .bajada-hero { margin: 34px 0 0; max-width: 46ch; color: var(--tinta-2); font-weight: 300; font-size: 17px; line-height: 1.4; }
.hero .bajada-hero b { font-weight: 700; color: var(--tinta); }
.hero-logo { display: block; flex: none; }
.hero-logo.logo-cem { width: clamp(170px, 22vw, 290px); }
.hero-logo.logo-mcb { width: clamp(120px, 13vw, 170px); }
.marca .fino-serif { font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 18px; }

.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 22px; position: relative; z-index: 2; }
.subnav .pastilla { display: inline-flex; align-items: center; gap: 8px; }
.subnav .pastilla .cuenta { background: var(--gris-suave); border-radius: 999px; padding: 0 7px; font-size: 11px; font-weight: 600; }
.subnav .pastilla[aria-current="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.subnav .pastilla[aria-current="true"] .cuenta { background: rgba(255,255,255,.18); }

/* Barra de herramientas de cada sección */
.herramientas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.herramientas .espacio { flex: 1; }
.rapida {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; max-width: 560px;
  border: 1.5px solid var(--linea-2); border-radius: 999px; padding: 4px 4px 4px 16px; background: var(--hoja);
}
.rapida:focus-within { border-color: var(--tinta); }
.rapida input { flex: 1; border: 0; outline: none; background: none; padding: 6px 0; min-width: 0; }
.rapida .btn-negro { padding: 8px 16px; }
.btn-borde {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--linea-2); background: var(--hoja); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 500;
}
.btn-borde:hover { border-color: var(--tinta); }
.btn-redondo {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--tinta);
  background: transparent; display: inline-grid; place-items: center; flex: none;
}
.btn-redondo svg { width: 14px; height: 14px; }
.filtros { display: flex; gap: 6px; flex-wrap: wrap; }
.filtro {
  border: 1.5px solid var(--linea-2); background: var(--hoja); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 500;
}
.filtro[aria-pressed="true"] { border-color: var(--tinta); background: var(--tinta); color: #fff; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.2px solid var(--tinta); border-radius: 999px;
  padding: 1px 9px; font-size: 11.5px; font-weight: 500; white-space: nowrap; line-height: 1.5;
  background: transparent;
}
.chip.lleno { border-color: transparent; }
.c-verde { background: var(--verde); }
.c-lila { background: var(--lila); }
.c-lima { background: var(--lima); }
.c-rosa { background: var(--rosa); }
.c-amarillo { background: var(--amarillo); }
.c-durazno { background: var(--durazno); }
.c-gris { background: var(--gris-suave); }
.s-verde { background: var(--verde-suave); }
.s-lila { background: var(--lila-suave); }
.s-lima { background: var(--lima-suave); }
.s-rosa { background: var(--rosa-suave); }
.s-amarillo { background: var(--amarillo-suave); }
.s-durazno { background: var(--durazno-suave); }
.s-gris { background: var(--gris-suave); }

/* ---------- Tablero (kanban) ---------- */
.tablero { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.columna { background: var(--gris-suave); border-radius: var(--radio); padding: 12px; min-height: 240px; transition: background .15s; }
.columna.sobre { background: var(--lila-suave); outline: 2px dashed var(--lila); }
.columna-cab { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.columna-cab h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--f-titulo); font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.columna-cab .n { font-size: 12px; color: var(--tinta-3); }
.columna .lista { display: flex; flex-direction: column; gap: 10px; }

.tarjeta {
  position: relative; overflow: hidden;
  border-radius: 18px; padding: 14px 14px 12px; text-align: left; border: 0; width: 100%;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.tarjeta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(20, 18, 24, .5); }
.tarjeta[draggable="true"] { cursor: grab; }
.tarjeta.arrastrando { opacity: .4; }
.tarjeta h4 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; position: relative; z-index: 1; }
.tarjeta .nota { margin: 0; font-size: 12.5px; color: var(--tinta-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; position: relative; z-index: 1; }
.tarjeta .chips { display: flex; gap: 4px; flex-wrap: wrap; position: relative; z-index: 1; }
.tarjeta .pie { display: flex; align-items: center; justify-content: space-between; gap: 6px; position: relative; z-index: 1; font-size: 11.5px; color: var(--tinta-2); }

/* ---------- Ideas de colores (MCB) ---------- */
.muro { columns: 4 250px; column-gap: 16px; }
.muro .tarjeta-idea { break-inside: avoid; margin-bottom: 16px; }
.tarjeta-idea {
  position: relative; overflow: hidden; display: block; width: 100%; text-align: left; border: 0;
  border-radius: 26px; padding: 20px 20px 18px; min-height: 170px;
  transition: transform .15s, box-shadow .15s;
}
.tarjeta-idea:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(20, 18, 24, .55); }
.tarjeta-idea .deco { position: absolute; right: -14px; bottom: -18px; width: 110px; height: 110px; opacity: .95; pointer-events: none; }
.tarjeta-idea .arriba { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 14px; position: relative; z-index: 1; }
.tarjeta-idea h4 { font-family: var(--f-titulo); font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -.035em; margin: 0; position: relative; z-index: 1; max-width: 92%; }
.tarjeta-idea .nota { margin: 10px 0 0; font-size: 13px; color: rgba(20, 18, 24, .75); position: relative; z-index: 1; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; max-width: 85%; }
.tarjeta-idea .abajo { display: flex; align-items: center; gap: 8px; margin-top: 18px; position: relative; z-index: 1; font-size: 12px; }
.tarjeta-idea.usada { opacity: .62; }
.tarjeta-idea .marca-usada { font-size: 11px; font-weight: 600; background: rgba(255,255,255,.75); border-radius: 999px; padding: 2px 9px; }
.c-blanca { background: var(--hoja); border: 1.5px solid var(--linea-2) !important; }

/* ---------- Tablas ---------- */
.tabla-caja { border: 1.5px solid var(--linea); border-radius: var(--radio); overflow: auto; background: var(--hoja); }
table.tabla { width: 100%; border-collapse: collapse; min-width: 860px; }
.tabla th {
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--tinta-3); letter-spacing: .03em; text-transform: uppercase;
  padding: 12px 14px; border-bottom: 1.5px solid var(--linea); background: #FCFBFE; white-space: nowrap; position: sticky; top: 0;
}
.tabla td { padding: 11px 14px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tbody tr.fila { cursor: pointer; transition: background .12s; }
.tabla tbody tr.fila:hover { background: #FAF9FD; }
.tabla tr.separador td { background: var(--gris-suave); font-size: 12px; font-weight: 700; padding: 8px 14px; color: var(--tinta-2); }
.tabla .titulo-celda { font-weight: 600; min-width: 220px; }
.tabla .fecha-celda { white-space: nowrap; }
.tabla .fecha-celda .dia { font-family: var(--f-titulo); font-weight: 200; font-size: 28px; letter-spacing: -.04em; margin-right: 6px; line-height: 1; vertical-align: middle; }
.tabla .fecha-celda .sem { font-family: var(--f-acento); font-style: italic; font-size: 15px; text-transform: none; color: var(--tinta-2); }
.tabla .fecha-celda .sem { color: var(--tinta-3); font-size: 12px; text-transform: capitalize; }
.tabla .tenue { color: var(--tinta-3); }
.tabla .corta { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tinta-2); }
.tabla tr.hoy td:first-child { box-shadow: inset 3px 0 0 var(--verde); }
.sel-estado {
  appearance: none; -webkit-appearance: none;
  border: 0; border-radius: 999px; padding: 3px 26px 3px 10px; font-size: 12px; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141218' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 9px;
  cursor: pointer;
}
.link-ico { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--lila); }
.link-ico:hover { border-color: var(--tinta); }

/* Navegación de mes */
.mes-nav { display: flex; align-items: center; gap: 10px; }
.mes-nav h2 { font-family: var(--f-titulo); font-weight: 800; font-size: 30px; letter-spacing: -.04em; margin: 0; min-width: 210px; text-transform: capitalize; }
.mes-nav h2 em { font-family: var(--f-acento); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* Semana (MCB) */
.semana { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.slot {
  position: relative; overflow: hidden; border-radius: var(--radio); padding: 16px 18px; min-height: 118px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 0; text-align: left;
}
.slot .que { font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.slot h4 { margin: 0; font-family: var(--f-titulo); font-weight: 800; letter-spacing: -.035em; font-size: 21px; line-height: 1.1; position: relative; z-index: 1; }
.slot h4 .serif { font-size: 1.15em; }
.slot .falta { font-size: 13px; color: var(--tinta-2); position: relative; z-index: 1; }
.slot .deco { position: absolute; right: -10px; bottom: -16px; width: 86px; height: 86px; pointer-events: none; }

/* ---------- Clases por mes ---------- */
.meses { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mes-carta {
  position: relative; overflow: hidden; border-radius: var(--radio); padding: 16px 16px 14px; min-height: 170px;
  display: flex; flex-direction: column; gap: 10px; background: var(--gris-suave);
}
.mes-carta.actual { outline: 2px solid var(--tinta); }
.mes-carta .cab { display: flex; justify-content: space-between; align-items: baseline; }
.mes-carta .cab h3 { margin: 0; font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1; }
.mes-carta .cab span { font-size: 11px; color: var(--tinta-3); font-weight: 600; }
.clase {
  border: 0; text-align: left; width: 100%; border-radius: 14px; padding: 10px 12px; background: var(--hoja);
  display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1;
}
.clase:hover { box-shadow: 0 6px 14px -10px rgba(20,18,24,.5); }
.clase strong { font-size: 14px; line-height: 1.2; }
.clase .meta { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; font-size: 11.5px; color: var(--tinta-2); }
.mes-carta .agregar {
  margin-top: auto; border: 1.5px dashed var(--linea-2); background: transparent; border-radius: 14px; padding: 9px;
  font-size: 12.5px; color: var(--tinta-2); position: relative; z-index: 1;
}
.mes-carta .agregar:hover { border-color: var(--tinta); color: var(--tinta); }
.mes-carta .deco { position: absolute; right: -16px; bottom: -20px; width: 90px; height: 90px; pointer-events: none; opacity: .9; }

/* ---------- Pizarra ---------- */
.pizarra { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.postit {
  border: 0; text-align: left; border-radius: 6px 22px 22px 22px; padding: 16px; min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; white-space: pre-line;
  font-size: 14px;
}
.postit .firma { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tinta-2); white-space: normal; }

/* Radar destacado */
.radar-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin-bottom: 18px; }
.destacado {
  position: relative; overflow: hidden; border-radius: var(--radio); padding: 18px 20px; min-height: 130px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 0; text-align: left;
}
.destacado .que { font-size: 12px; font-weight: 600; position: relative; z-index: 1; }
.destacado h3 { margin: 0; font-family: var(--f-titulo); font-weight: 800; letter-spacing: -.035em; font-size: 26px; line-height: 1.08; position: relative; z-index: 1; max-width: 80%; }
.destacado .num { font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 34px; letter-spacing: 0; }
.destacado .deco { position: absolute; right: -6px; bottom: -18px; width: 120px; height: 120px; pointer-events: none; }
.destacado .chips { display: flex; gap: 4px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Vacío ---------- */
.vacio { text-align: center; padding: 40px 16px; color: var(--tinta-2); border: 1.5px dashed var(--linea-2); border-radius: var(--radio); }
.vacio strong { display: block; font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 28px; color: var(--tinta); margin-bottom: 4px; }

/* ---------- Panel lateral de edición ---------- */
.velo { position: fixed; inset: 0; background: rgba(20, 18, 24, .28); z-index: 40; animation: aparecer .15s ease; }
.cajon {
  position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(520px, calc(100vw - 24px));
  background: var(--hoja); border-radius: 28px; z-index: 41; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(20, 18, 24, .45); animation: entrar .2s ease;
}
@keyframes aparecer { from { opacity: 0; } }
@keyframes entrar { from { transform: translateX(24px); opacity: 0; } }
.cajon-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px 10px; }
.cajon-cab .tipo { font-size: 12px; font-weight: 600; color: var(--tinta-2); display: flex; align-items: center; gap: 8px; }
.cajon-cab .tipo svg { width: 16px; height: 16px; flex: none; }
.btn-borde svg, .link-ico svg { width: 12px; height: 12px; }
.cajon-cuerpo { flex: 1; overflow: auto; padding: 4px 22px 18px; }
.cajon-pie { display: flex; align-items: center; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid var(--linea); flex-wrap: wrap; }
.cajon-pie .espacio { flex: 1; }
.btn-borrar { border: 0; background: none; color: #C0265E; font-size: 13px; padding: 6px 4px; }
.titulo-grande {
  width: 100%; border: 0; outline: none; resize: none; padding: 4px 0 10px;
  font-family: var(--f-titulo); font-weight: 800; letter-spacing: -.035em; font-size: 28px; line-height: 1.05; background: none;
}
.titulo-grande::placeholder { color: var(--tinta-3); }
.form-fila { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--linea); }
.form-fila:last-child { border-bottom: 0; }
.form-fila > label { font-size: 12.5px; color: var(--tinta-2); padding-top: 7px; }
.form-fila input[type="text"], .form-fila input[type="url"], .form-fila input[type="date"], .form-fila input[type="datetime-local"], .form-fila input[type="number"], .form-fila textarea {
  width: 100%; border: 1.5px solid transparent; border-radius: 10px; padding: 6px 8px; background: var(--gris-suave); outline: none;
}
.form-fila input:focus, .form-fila textarea:focus { border-color: var(--tinta); background: var(--hoja); }
.form-fila textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
.form-fila textarea.largo { min-height: 170px; }
.opciones { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 3px; }
.opcion {
  border: 1.2px solid var(--linea-2); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; background: var(--hoja);
}
.opcion[aria-pressed="true"] { border-color: var(--tinta); font-weight: 600; }
.colores { display: flex; gap: 8px; padding-top: 4px; }
.color-bola { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; outline: 1.5px solid var(--linea-2); }
.color-bola[aria-pressed="true"] { border-color: #fff; outline: 2px solid var(--tinta); }
.ayuda { font-size: 12px; color: var(--tinta-3); margin-top: 4px; }
.meta-autor { font-size: 12px; color: var(--tinta-3); margin-top: 14px; }

/* Aviso */
.aviso {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: var(--tinta); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13px; z-index: 60;
  animation: aparecer .2s ease;
}
.banda-prueba {
  background: var(--amarillo-suave); border-radius: 14px; padding: 8px 14px; font-size: 12.5px; color: var(--tinta-2);
  margin: 6px 0 0; display: inline-block;
}

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .radar-top { grid-template-columns: 1fr; }
  .semana { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .marco { padding: 10px 10px 30px; }
  .hoja { padding: 14px 16px 24px; border-radius: 24px; }
  .barra { flex-wrap: wrap; }
  .paneles { order: 3; width: 100%; justify-content: flex-start; margin: 4px 0 0; }
  .yo { margin-left: auto; }
  .hero-fila { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .hero-logo.logo-cem { width: 160px; }
  .hero-logo.logo-mcb { width: 96px; }
  .tablero { grid-template-columns: repeat(4, 82%); }
  .form-fila { grid-template-columns: 1fr; gap: 4px; }
  .form-fila > label { padding-top: 0; }
  .mes-nav h2 { min-width: 0; font-size: 22px; }
}

/* ---------- Formas, etiquetas y emojis flotando ---------- */
.hero .cinta { display: none; }
.cinta { position: absolute; left: -170px; bottom: -130px; width: 320px; height: 210px; pointer-events: none; z-index: -1; transform: rotate(-14deg); }
.cinta svg, .lf-cinta svg { width: 100%; height: 100%; display: block; }

.titulo-caja { position: relative; display: inline-block; padding-right: 30px; }
.etiqueta-flot {
  position: absolute; display: inline-block; white-space: nowrap;
  font-family: var(--f-texto); font-style: normal; font-weight: 700; letter-spacing: -.01em;
  font-size: 14px; line-height: 1; padding: 9px 16px; border-radius: 999px; color: var(--tinta);
  transform: rotate(var(--r)); box-shadow: 0 6px 14px -10px rgba(20, 18, 24, .5);
  animation: flotar 6s ease-in-out infinite;
}
.etiqueta-1 { right: -18px; top: -14px; }
.etiqueta-2 { left: 52%; bottom: -16px; animation-delay: -2.5s; }
.etiqueta-login { position: relative; font-size: 12px; padding: 7px 12px; margin-left: 6px; vertical-align: middle; top: -6px; }
.rayitas { position: absolute; left: -16px; top: -18px; width: 28px; height: 28px; opacity: .8; transform: rotate(-20deg); }
.rayitas svg { width: 100%; height: 100%; }

.burbuja {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 21px; line-height: 1; pointer-events: none;
  box-shadow: 0 8px 18px -12px rgba(20, 18, 24, .45);
  animation: flotar 7s ease-in-out infinite; --r: 0deg; z-index: 0;
}
.burbuja-1 { left: 58%; top: 18px; --r: -8deg; }
.burbuja-2 { left: 63%; bottom: 34px; --r: 6deg; animation-delay: -3s; width: 40px; height: 40px; font-size: 18px; }
.burbuja-3 { right: 4px; bottom: -6px; --r: -4deg; animation-delay: -1.5s; width: 38px; height: 38px; font-size: 17px; }
.chispa { position: absolute; width: 22px; height: 22px; pointer-events: none; animation: titilar 4s ease-in-out infinite; }
.chispa svg { width: 100%; height: 100%; display: block; }
.chispa-1 { left: 54%; top: 70px; }
.chispa-2 { left: 70%; top: 36px; width: 14px; height: 14px; animation-delay: -2s; }
.puntito { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--tinta); opacity: .7; pointer-events: none; }
.puntito-1 { left: 52%; top: 40px; }
.puntito-2 { left: 67%; bottom: 70px; }

@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-7px) rotate(calc(var(--r, 0deg) + 2deg)); }
}
@keyframes titilar { 0%, 100% { transform: scale(1) rotate(0); opacity: .85; } 50% { transform: scale(.75) rotate(20deg); opacity: .5; } }

/* Login */
.login { position: relative; overflow: hidden; }
.login-fondo { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.login-hoja { z-index: 1; }
.lf { position: absolute; display: block; }
.lf svg { width: 100%; height: 100%; display: block; }
.lf-1 { width: 300px; height: 300px; left: -90px; top: -90px; }
.lf-2 { width: 240px; height: 240px; right: 8%; top: -110px; opacity: .6; }
.lf-3 { width: 220px; height: 220px; right: -70px; bottom: 12%; opacity: .55; }
.lf-4 { width: 260px; height: 260px; left: 10%; bottom: -150px; opacity: .65; }
.lf-5 { width: 150px; height: 150px; left: -40px; top: 52%; opacity: .5; }
.lf-cinta { position: absolute; right: -40px; top: 30%; width: 420px; height: 280px; opacity: .55; transform: rotate(12deg); }
.burbuja-login-1 { right: 26px; top: 86px; --r: 8deg; }
.burbuja-login-2 { right: 28px; top: 196px; width: 38px; height: 38px; font-size: 17px; --r: -6deg; animation-delay: -3s; }
.chispa-login { right: 78px; top: 150px; }

@media (max-width: 720px) {
    .burbuja-1, .burbuja-2, .chispa-1, .chispa-2, .puntito { display: none; }
  .burbuja-3 { right: auto; left: 150px; bottom: auto; top: 20px; }
  .etiqueta-flot { font-size: 12px; padding: 7px 12px; }
  .etiqueta-2 { left: 30%; }
  .cinta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .etiqueta-flot, .burbuja, .chispa { animation: none; }
}
/* El logo de MCB viene con fondo blanco: lo recortamos en círculo, como un sticker. */
.hero-logo.logo-mcb, .login-logos .l-mcb { border-radius: 50%; box-shadow: 0 10px 24px -16px rgba(20, 18, 24, .45); }

/* ---------- Piezas: stickers y formas planas ---------- */
.pieza { position: absolute; display: block; pointer-events: none; z-index: 0; transform: rotate(var(--r, 0deg)); }
.pieza svg { width: 100%; height: 100%; display: block; overflow: visible; }
.es-sticker { filter: drop-shadow(0 6px 8px rgba(123, 30, 58, .12)); animation: flotar 8s ease-in-out infinite; }
.p-a { width: 84px; height: 84px; right: 290px; top: -8px; }
.p-b { width: 50px; height: 50px; right: 2px; top: -4px; animation-delay: -2s; }
.p-c { width: 58px; height: 58px; right: 250px; bottom: -6px; animation-delay: -4s; }
.p-d { width: 46px; height: 46px; left: 47%; top: 96px; }
.p-e { width: 26px; height: 56px; left: 75%; top: 4px; }
.p-f { width: 40px; height: 40px; right: 340px; top: 140px; }
.pz-ola.p-e { width: 70px; height: 30px; left: 72%; top: 14px; }

/* Login */
.lf-1 { width: 280px; height: 280px; left: -80px; top: -80px; }
.lf-2 { width: 190px; height: 190px; right: 12%; top: -70px; }
.lf-3 { width: 200px; height: 200px; right: -60px; bottom: 10%; }
.lf-4 { width: 230px; height: 230px; left: 12%; bottom: -110px; }
.lf-5 { width: 60px; height: 130px; left: 6%; top: 48%; }
.lf-6 { width: 160px; height: 70px; right: 22%; bottom: 6%; }
.lf-cinta { opacity: 1 !important; }
.ls { position: absolute; display: block; transform: rotate(var(--r)); animation: flotar 8s ease-in-out infinite; filter: drop-shadow(0 6px 8px rgba(123, 30, 58, .12)); }
.ls svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ls-1 { width: 120px; height: 120px; left: calc(50% - 330px); top: 14%; }
.ls-2 { width: 110px; height: 110px; left: calc(50% + 230px); top: 12%; animation-delay: -2s; }
.ls-3 { width: 80px; height: 80px; left: calc(50% + 250px); top: 62%; animation-delay: -4s; }
.ls-4 { width: 54px; height: 54px; left: calc(50% - 300px); top: 58%; animation-delay: -1s; }
.ls-5 { width: 70px; height: 70px; left: calc(50% - 360px); top: 72%; animation-delay: -3s; }
.ls-6 { width: 70px; height: 70px; left: calc(50% + 330px); top: 36%; animation-delay: -5s; }
@media (max-width: 760px) { .ls-1, .ls-4, .ls-5, .ls-6 { display: none; } .ls-2 { left: auto; right: -10px; top: 8px; width: 80px; height: 80px; } .ls-3 { left: 6px; top: auto; bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .es-sticker, .ls { animation: none; } }

/* ---------- Top 10 ---------- */
.form-seccion { padding: 22px 0 6px; border-bottom: 1px solid var(--linea); }
.form-seccion h4 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.form-seccion h4::after { content: " ✦"; color: var(--lila); }
.faltan { background: var(--amarillo-suave); border-radius: var(--radio-sm); padding: 12px 14px; margin-bottom: 16px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.faltan .chip { cursor: pointer; background: var(--hoja); }
.ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.puesto {
  position: relative; overflow: hidden; width: 100%; border: 1.5px solid var(--linea); background: var(--hoja); text-align: left;
  border-radius: var(--radio); padding: 14px 20px; display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center;
  transition: transform .15s, box-shadow .15s;
}
.puesto[class*="c-"] { border-color: transparent; }
.puesto.c-amarillo { background: var(--amarillo); }
.puesto.c-lila { background: var(--lila); }
.puesto.c-rosa { background: var(--rosa); }
.puesto[class*="c-"] .metricas, .puesto[class*="c-"] .lado { color: rgba(20, 18, 24, .7); }
.puesto:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(20, 18, 24, .5); }
.puesto .n { font-weight: 200; font-size: 56px; line-height: 1; letter-spacing: -.06em; text-align: center; }
.ranking li:first-child .puesto .n { font-family: var(--f-acento); font-style: italic; font-weight: 400; font-size: 72px; letter-spacing: 0; }
.puesto .cuerpo { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; min-width: 0; }
.puesto strong { font-size: 18px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.puesto .metricas { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--tinta-2); }
.puesto .metricas em { font-style: normal; font-weight: 300; }
.puesto .metricas .fuerte { color: var(--tinta); font-weight: 800; }
.puesto .porque { font-family: var(--f-acento); font-style: italic; font-size: 17px; line-height: 1.25; color: var(--tinta); }
.puesto .lado { font-size: 12.5px; color: var(--tinta-2); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; position: relative; z-index: 1; white-space: nowrap; padding-right: 40px; }
.puesto .deco { width: 90px; height: 90px; right: -14px; bottom: -22px; position: absolute; }
@media (max-width: 720px) {
  .puesto { grid-template-columns: 44px 1fr; padding: 12px 14px; }
  .puesto .n { font-size: 40px; }
  .ranking li:first-child .puesto .n { font-size: 50px; }
  .puesto .lado { grid-column: 2; align-items: flex-start; padding: 0; }
}
