@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Ventas La Tinta — estilo "Papel" (papel.css) + lo propio de la bandeja */
body { font-size: 14px; }
.barra { display: flex; align-items: center; gap: 22px; padding: 0 20px; height: 56px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.barra .logo { height: 18px; }
.barra nav { display: flex; gap: 18px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.barra nav a { white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--ink-3); text-decoration: none; padding: 18px 0; border-bottom: 2px solid transparent; }
.barra nav a.on, .barra nav a:hover { color: var(--ink); }
.barra nav a.on { border-bottom-color: var(--ink); }
.barra .yo { font-family: var(--mono); font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.barra .yo button { background: none; border: 0; color: var(--ink-3); font-size: 12px; padding: 0; }
.barra .menu-btn { display: none; }
.barra nav a.externo { margin-left: auto; }
.barra nav a.externo i { font-size: 11px; margin-left: 2px; }
.campana { position: relative; background: none; border: 0; font-size: 18px; color: var(--ink); padding: 4px; }
.campana .n { position: absolute; top: -2px; right: -6px; background: var(--rosa); color: #fff; font-family: var(--mono); font-size: 10px; border-radius: 999px; padding: 0 5px; min-width: 16px; text-align: center; }
.panel-avisos { position: absolute; right: 16px; top: 52px; width: 380px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.08); z-index: 30; }
.panel-avisos .a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.panel-avisos .a:hover { background: var(--paper-2); }
.panel-avisos .a .t { font-weight: 600; font-size: 13px; }
.panel-avisos .a .c { font-size: 12px; color: var(--ink-2); }
.panel-avisos .a.p2 { border-left: 3px solid var(--warn); }
.panel-avisos .a.p3 { border-left: 3px solid #c62f2f; }
.aviso-simulado { background: var(--warn-soft); color: var(--warn); font-size: 12px; padding: 6px 20px; border-bottom: 1px solid var(--line); }

/* ── Bandeja: lista · chat · ficha ─────────────────────────────────────────── */
.bandeja { display: grid; grid-template-columns: clamp(280px, 21vw, 360px) minmax(0, 1fr) clamp(340px, 29vw, 500px); height: calc(100vh - 56px); }
.bandeja.con-aviso { height: calc(100vh - 86px); }
.lista { border-right: 1px solid var(--line-2); display: flex; flex-direction: column; min-height: 0; }
.lista { position: relative; }
.lista .filtros { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; padding: 0 14px 12px; border-bottom: 1px solid var(--line); }
.lista .filtros .sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 2px; }
.lista .filtros button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.lista .filtros button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lista .buscar { padding: 14px 14px 10px; display: flex; gap: 8px; }
.lista .buscar .form-control { border-radius: 999px; }
.btn-filtros { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.btn-filtros.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.btn-filtros .n, .lista .filtros button .n { font-size: 11px; margin-left: 4px; }
.panel-filtros { position: absolute; top: 56px; left: 14px; right: 14px; z-index: 10; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 14px; display: flex; flex-direction: column; font-size: 13px; }
.panel-filtros.d-none { display: none; }
.panel-filtros .form-check { margin-bottom: 6px; }
.lista .alcance { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 8px; }
.lista .alcance .form-select { flex: 1 1 40%; min-width: 0; font-size: 12px; height: 30px; padding: 3px 26px 3px 10px; border-radius: 999px; background-position: right 8px center; }
.seg { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; flex: 1 1 100%; }
.seg button { flex: 1; background: #fff; border: 0; padding: 4px 10px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.seg button.on { background: var(--ink); color: #fff; }
.item.ajeno { opacity: .75; }
.lista .items { overflow-y: auto; flex: 1; }
.item { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); cursor: pointer; text-decoration: none; color: var(--ink); }
.item:hover { background: var(--paper-2); }
.item.on { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--ink); }
.item .l1 { display: flex; justify-content: space-between; gap: 8px; }
.item .tt { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .hr { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.item .ul { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 5px; }
.item .tags { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.pill { border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 500; white-space: nowrap; background: var(--paper-2); color: var(--ink-2); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.rojo { background: #fdeaea; color: #c62f2f; }
.pill.rosa { background: var(--rosa-soft); color: var(--rosa-ink); }
.pill.lila { background: #ece6ff; color: #5b3fbf; }
.pill.ia { background: #d9fdd3; color: #1f6b33; }
.no-leidos { background: var(--ok); color: #fff; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; padding: 0 6px; }

.chat { display: flex; flex-direction: column; min-height: 0; background: #efeae2; }
.chat .cab { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat .cab .tt { font-weight: 600; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.vacio { margin: auto; color: var(--ink-3); text-align: center; }
.b { max-width: min(72%, 560px); padding: 7px 10px 5px; border-radius: 8px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.2px; line-height: 1.4; color: #111b21; white-space: pre-wrap; word-break: break-word; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.b .q { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 2px; }
.b .m { font-size: 10.5px; color: var(--ink-3); text-align: right; margin-top: 2px; }
.b img { max-width: 260px; max-height: 260px; border-radius: 6px; display: block; }
.b.cliente { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.b .transcripcion { margin-top: 6px; font-size: .9em; color: #444; border-left: 2px solid #ddd; padding-left: 8px; }
.b .transcripcion.vacia { color: #999; font-style: italic; }
.b.ia { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.b.vendedor { align-self: flex-end; background: #dbe8ff; border-top-right-radius: 2px; }
.b.seguimiento { align-self: flex-end; background: #ece6ff; border-top-right-radius: 2px; }
.b.espera { align-self: flex-end; background: #fff3dd; border-top-right-radius: 2px; }
.b.fallido { outline: 1px solid #c62f2f; }
.nota { align-self: center; background: #f1effa; color: #4b3a8f; font-size: 12px; border-radius: 8px; padding: 4px 10px; margin: 6px 0; max-width: 88%; text-align: center; }
.tick { font-size: 11px; }
.tick.leido { color: #2a7be4; }
.chat .pie { background: #f0f2f5; padding: 8px 12px; position: relative; }
.resp { position: absolute; left: 12px; right: 12px; bottom: 100%; margin-bottom: 6px; max-height: 360px; display: flex; flex-direction: column; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px; }
.resp .tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; white-space: nowrap; color: var(--ink-2); }
.resp .tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.resp .lst { overflow-y: auto; flex: 1; min-height: 0; }
.resp .it { padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.resp .it.on, .resp .it:hover { background: var(--paper-2); }
.resp .it .x { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat .pie textarea { resize: none; border-radius: 20px; padding: 8px 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14.5px; }
.chat .pie .ventana { background: var(--warn-soft); color: var(--warn); font-size: 12px; border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; }
.chat .escribiendo { align-self: flex-end; font-size: 12px; color: var(--ink-3); font-style: italic; }

.ficha { border-left: 1px solid var(--line-2); overflow-y: auto; padding: 12px; background: var(--paper-2); }
.ficha .bloque { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.ficha h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 18px 0 8px; }
.ficha h3:first-child { margin-top: 0; }
.campo { display: grid; grid-template-columns: 18px 108px 1fr; gap: 4px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.campo .k { color: var(--ink-3); }
.campo .v:empty::after { content: "—"; color: var(--ink-3); }
.archivo { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.archivo .vista { width: 44px; height: 44px; flex: none; border-radius: 8px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-2); font-size: 20px; }
.archivo .vista img { width: 100%; height: 100%; object-fit: cover; }
.archivo .dat { flex: 1; min-width: 0; font-size: 12.5px; }
.archivo .nom { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); text-decoration: none; }
.archivo .nom:hover { text-decoration: underline; }
.resumen { background: var(--paper-2); border-radius: 10px; padding: 9px 11px; font-size: 12.5px; white-space: pre-wrap; }
.alerta { background: #fdeaea; color: #c62f2f; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.editable { border: 1px solid transparent; border-radius: 6px; padding: 1px 4px; margin: -1px -4px; }
.editable:hover, .editable:focus { border-color: var(--line-2); outline: none; background: #fff; }

/* ── Embudo ────────────────────────────────────────────────────────────────── */
.embudo { display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 12px; overflow-x: auto; padding: 16px 20px; height: calc(100vh - 110px); }
.col { background: var(--paper-2); border-radius: 14px; padding: 10px; overflow-y: auto; }
.col.sobre { outline: 2px dashed var(--ink-3); }
.col h2 { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 2px 4px 10px; display: flex; justify-content: space-between; }
.tarjeta { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; margin-bottom: 8px; cursor: pointer; }
.tarjeta:hover { border-color: var(--ink-3); }
.tarjeta .t { font-weight: 600; font-size: 13px; }
.tarjeta .p { font-size: 12px; color: var(--ink-2); margin: 2px 0 6px; }
.tarjeta.warn { border-left: 3px solid #e2a43a; } .tarjeta.rojo { border-left: 3px solid #e05555; }
.tarjeta.ajena { cursor: pointer; opacity: .8; }
.tarjeta .monto { font-family: var(--mono); font-size: 12px; font-weight: 700; white-space: nowrap; }
.col-suma { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); margin: -6px 4px 8px; }
.embudo-herr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 14px 20px 0; }
.embudo-herr .seg { flex: 0 0 auto; }
.embudo-herr .form-select, .embudo-herr .form-control { width: auto; min-width: 160px; height: 32px; padding-top: 4px; padding-bottom: 4px; font-size: 12.5px; border-radius: 999px; }

/* ── Ajustes y teléfono ────────────────────────────────────────────────────── */
.hoja { max-width: 980px; margin: 0 auto; padding: 28px 24px 72px; }
.caja { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 18px; }
.caja h2 { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.telefono { max-width: 420px; margin: 18px auto; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; height: calc(100vh - 150px); display: flex; flex-direction: column; background: #efeae2; }
.telefono .cab { background: #fff; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.telefono .msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.telefono .b.yo { align-self: flex-end; background: #d9fdd3; }
.telefono .b.negocio { align-self: flex-start; background: #fff; }
.telefono .b.aviso { align-self: flex-start; background: #fff3dd; }

@media (max-width: 1100px) {
  .bandeja { grid-template-columns: 300px minmax(0, 1fr); }
  .bandeja .ficha { display: none; }
  .bandeja.ver-ficha .ficha { display: block; position: fixed; right: 0; top: 56px; bottom: 0; width: 340px; z-index: 15; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
}
/* Barra: con todas las pantallas no cabe abajo de ~1100 px; ahí van en un menú */
@media (max-width: 1100px) {
  .barra { gap: 14px; padding: 0 16px; }
  .barra .menu-btn { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; background: none; border: 0; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
  .barra .menu-btn i { font-size: 22px; line-height: 1; }
  .barra .menu-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barra .yo > span { display: none; }
  .barra nav { display: none; position: absolute; top: 56px; left: 0; width: 300px; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-top: 0; box-shadow: 0 12px 24px rgba(0,0,0,.08); padding: 6px 0; }
  .barra.abierto nav { display: flex; }
  .barra nav a { padding: 13px 20px; font-size: 15px; color: var(--ink-2); border-bottom: 0; border-left: 3px solid transparent; }
  .barra nav a.on { border-left-color: var(--ink); background: var(--paper-2); }
  .barra nav a.externo { margin-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .barra nav { width: auto; right: 0; border-width: 0 0 1px; }
  /* Botones de vistas: si no caben, se recorren de lado en vez de ensanchar la página */
  .seg, .inicio .seg-g, .ct-herr .seg { max-width: 100%; overflow-x: auto; flex-shrink: 1; }
  .seg button { flex: 0 0 auto; }
  .ct-tabla th:nth-child(3), .ct-tabla td:nth-child(3), .ct-tabla th:nth-child(5), .ct-tabla td:nth-child(5) { display: none; }
  .bandeja { grid-template-columns: minmax(0, 1fr); }
  .bandeja.ver-ficha .ficha { width: 100%; }
  .bandeja .chat { display: none; }
  .bandeja.ver-chat .lista { display: none; }
  .bandeja.ver-chat .chat { display: flex; }
}

/* ── Inicio (dashboard del vendedor) ───────────────────────────────────────── */
.inicio { max-width: 1040px; }
/* De un vistazo */
.inicio .kpis-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.inicio .kt { background: var(--paper-2); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.inicio .kt .l { font-size: 12px; color: var(--ink-2); } .inicio .kt .s { font-size: 11.5px; color: var(--ink-3); }
.inicio .kt .v { font-family: var(--mono); font-size: 22px; font-weight: 700; line-height: 1.25; }
.inicio .kt .v.ok { color: var(--ok); } .inicio .kt .v.warn { color: var(--warn); } .inicio .kt .v.rojo { color: #c62f2f; }
.inicio .arco.ok { stroke: var(--ok); } .inicio .arco.warn { stroke: #e2a43a; } .inicio .arco.rojo { stroke: #e05555; }
.inicio .grafica { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 6px; margin-bottom: 22px; }
.inicio .grafica:empty { display: none; }
.inicio .g-real { fill: none; stroke: var(--ok); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.inicio .g-ideal { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.inicio .g-meta { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.inicio .g-punto { fill: var(--ok); } .inicio .g-txt { font-family: var(--sans); font-size: 11px; fill: var(--ink-3); }
.inicio .ley { display: inline-block; width: 14px; height: 0; vertical-align: middle; border-top: 2.5px solid var(--ok); }
.inicio .ley.ideal { border-top: 2px dashed var(--ink-3); }
/* Tu día en tarjetas */
.inicio .dia-cab { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.inicio .dia-cab h2 { font-size: 20px; font-weight: 700; margin: 0; }
.inicio .tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.inicio .tj { border: 1px solid var(--line); border-radius: 16px; padding: 12px 0 6px; min-width: 0; }
.inicio .tj.abierta { grid-column: 1 / -1; border-color: var(--ink); }
.inicio .tj-cab { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 6px; font-weight: 600; font-size: 14px; }
.inicio .tj-n { font-family: var(--mono); font-size: 20px; font-weight: 700; } .inicio .tj-n.rojo { color: #c62f2f; } .inicio .tj-n.cero { color: var(--ink-3); }
.inicio .tj-sub { padding: 0 16px 6px; font-size: 12px; color: var(--ink-3); margin-top: -4px; }
.inicio .tj-vacio { padding: 8px 16px 12px; font-size: 13px; color: var(--ink-2); } .inicio .tj-vacio i { color: var(--ok); }
.inicio .tj-ver { display: block; width: 100%; background: none; border: 0; border-top: 1px solid var(--line); padding: 8px 16px 2px; font-size: 12.5px; color: var(--ink-2); text-align: left; }
.inicio .fc { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 16px; border-top: 1px solid var(--line); }
.inicio .fc-t { min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inicio .fc-t .tag { margin-left: 6px; }
.inicio .fc-t { cursor: pointer; }
.inicio .fc-t:hover b { text-decoration: underline; }
.inicio .fc-b { display: flex; gap: 6px; flex-shrink: 0; }
.inicio .fc .btn { padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.inicio .tj .item { padding: 10px 16px; border-top: 1px solid var(--line); border-bottom: 0; }
.inicio .item { cursor: default; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.inicio .item:last-child { border-bottom: 0; }
.inicio .item .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--paper-2); color: var(--ink-2); }
.inicio .ic.rojo, .inicio .tag.rojo { background: #fdeaea; color: #c62f2f; } .inicio .ic.warn, .inicio .tag.warn { background: var(--warn-soft); color: var(--warn); }
.inicio .ic.rosa, .inicio .tag.rosa { background: var(--rosa-soft); color: var(--rosa-ink); } .inicio .ic.lila, .inicio .tag.lila { background: #ece6ff; color: #5b3fbf; }
.inicio .ic.azul, .inicio .tag.azul, .pill.azul { background: var(--info-soft); color: var(--info); }
.inicio .ic.ok, .inicio .tag.ok { background: var(--ok-soft, #e3f4ea); color: var(--ok); }
.inicio .item .tit { font-size: 14px; } .inicio .tag { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; margin-left: 4px; white-space: nowrap; }
.inicio .item .sub { font-size: 13px; color: var(--ink-2); margin: 2px 0 0; overflow-wrap: anywhere; }
.inicio .acc .btn-link { border: 0; padding: 7px 6px; color: var(--ink-2); }
.inicio .item .ia { font-size: 12.5px; margin-top: 4px; color: #1f6b33; }
.inicio .item .acc { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.inicio .aud { font-size: 12.5px; margin-top: 4px; } .inicio .aud summary { cursor: pointer; color: var(--ink); }
.inicio .aud ul { margin: 2px 0 4px; padding-left: 18px; }
.inicio .vacio { padding: 22px 18px; color: var(--ink-2); font-size: 14px; } .inicio .vacio i { color: var(--ok); }
/* Pestañas */
.inicio .pestanas { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; padding: 0; list-style: none; flex-wrap: nowrap; overflow-x: auto; }
.inicio .pestanas button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.inicio .pestanas button.on { color: var(--ink); border-bottom-color: var(--ink); }
.inicio .pest-panel h3 { font-size: 14px; font-weight: 700; }
.inicio .regla { font-size: 13px; background: var(--rosa-soft); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.inicio .et { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.inicio .et.rojo { color: #c62f2f; } .inicio .et.warn { color: var(--warn); } .inicio .et.ok { color: var(--ok); }
.inicio .guia { margin-top: 12px; font-size: 13px; } .inicio .guia summary { font-weight: 600; cursor: pointer; } .inicio .guia ol, .inicio .guia ul { margin: 6px 0 0; padding-left: 20px; } .inicio .guia li { margin-bottom: 4px; }
.inicio .sug { border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--ink); font-size: 13px; } .inicio .sug:last-child { border-bottom: 0; }
.inicio .sug .paso { font-size: 14px; font-weight: 600; margin-top: 4px; }
.inicio .sugerido { background: #d9fdd3; border-radius: 10px; padding: 8px 12px; margin-top: 6px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; white-space: pre-wrap; }
.inicio .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.inicio .kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.inicio .kpi .v { font-family: var(--mono); font-size: 20px; font-weight: 700; } .inicio .kpi .t { font-weight: 600; font-size: 12.5px; } .inicio .kpi .s { font-size: 11.5px; color: var(--ink-3); }
.inicio .kpi.ok .v { color: var(--ok); } .inicio .kpi.warn .v { color: var(--warn); } .inicio .kpi.rojo .v { color: #c62f2f; }
.inicio .ejemplo { background: var(--info-soft); color: var(--info); font-size: 12px; padding: 5px 10px; border-radius: 8px; margin-bottom: 8px; }
@media (max-width: 720px) {
  .inicio .item { grid-template-columns: 30px minmax(0, 1fr); padding: 12px 14px; }
  .inicio .item .acc { grid-column: 2; }
  .inicio .kpis-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inicio .tarjetas { grid-template-columns: 1fr; }
}

/* Áreas separadas en el Inicio: fondo gris y cada área en su tarjeta blanca */
body.fondo-gris { background: var(--paper-2); }
.inicio .area { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 18px; margin-bottom: 18px; }
.inicio .area-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.inicio .area-cab h2 { font-size: 17px; font-weight: 700; margin: 0; }
.inicio .area-n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.inicio .area .tarjetas, .inicio .area .grafica { margin-bottom: 0; }
.inicio .kt { background: var(--paper-2); }
/* Indicadores que abren una lista */
.inicio .clic, .inicio .clic-txt { cursor: pointer; }
.inicio .kt.clic:hover, .inicio .kpi.clic:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.inicio .cot-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 34px; margin-bottom: 4px; }
.inicio .cot-barra { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.inicio table.cot th.sel, .inicio table.cot td.sel { width: 28px; padding-right: 0; }
.inicio .cot-mas > summary { cursor: pointer; padding: 6px 0; list-style-position: inside; }
.inicio .clic-txt { text-decoration: underline; text-underline-offset: 2px; }
.inicio .seg-g { flex: 0 0 auto; }
/* Barras de 12 meses */
.inicio .barras { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 18px 0 20px; }
.inicio .b-meta { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--ink-3); margin-bottom: 20px; pointer-events: none; }
.inicio .barras .bm { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.inicio .b-barra { width: 100%; max-width: 38px; background: var(--ink-3); border-radius: 6px 6px 0 0; min-height: 2px; }
.inicio .b-barra.ok { background: var(--ok); } .inicio .barras .bm:last-child .b-barra { background: var(--ink); }
.inicio .barras .bm.clic:hover .b-barra { opacity: .8; }
.inicio .b-v { font-family: var(--mono); font-size: 10px; color: var(--ink-2); margin-bottom: 2px; white-space: nowrap; }
.inicio .b-m { position: absolute; bottom: -18px; font-size: 11px; color: var(--ink-3); }

/* ── Tipografía (oct 2026): Inter en todo el portal en lugar de DM Sans + Space Mono ──────────
   Más limpia y menos "de máquina": números con ancho parejo (se alinean en tablas) y etiquetas
   en minúsculas normales en vez de MAYÚSCULAS espaciadas. Solo cambia el portal de ventas. */
:root {
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font-feature-settings: 'tnum' 1, 'cv11' 1; -webkit-font-smoothing: antialiased; }
.eyebrow, .form-label, .tabla th, .caja h2, .ficha h3, .col h2, .inicio .et, .b .q {
  text-transform: none; letter-spacing: 0; font-weight: 600;
}
.eyebrow { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.caja h2, .ficha h3 { font-size: 13px; color: var(--ink); }
.col h2 { font-size: 12.5px; color: var(--ink-2); }
.inicio .et { font-size: 11.5px; }
.b .q { font-size: 11px; font-weight: 600; }
h1.titulo { letter-spacing: -.025em; }
.inicio .kt .v, .inicio .kpi .v, .inicio .tj-n, .inicio .grande, .inicio .d-big { letter-spacing: -.02em; }
/* Plantillas en su ventana: lista a la izquierda, vista previa a la derecha */
.pl-modal { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; min-height: 340px; }
.pl-lista { max-height: 60vh; overflow-y: auto; border-right: 1px solid var(--line); padding-right: 12px; }
.pl-grupo { font-size: 12px; font-weight: 600; color: var(--ink-3); margin: 10px 0 4px; } .pl-grupo:first-child { margin-top: 0; }
.pl-it { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 7px 10px; font-size: 13.5px; color: var(--ink); }
.pl-it:hover { background: var(--paper-2); } .pl-it.on { background: var(--ink); color: #fff; }
.pl-it.rec { color: var(--ok); font-weight: 600; } .pl-it.rec.on { background: var(--ok); color: #fff; }
.pl-txt { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background: #d9fdd3; border-radius: 10px; padding: 10px 12px; white-space: pre-wrap; }
.plant-elegida { font-size: 13px; font-weight: 600; align-self: center; }
@media (max-width: 720px) { .pl-modal { grid-template-columns: 1fr; } .pl-lista { border-right: 0; max-height: 30vh; } }
.inicio .sugerido.plantilla { background: #fff7e0; border: 1px solid #f1d58a; align-items: center; }
.inicio .tj-cerrar { background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.inicio .tj-cerrar:hover { border-color: var(--ink); color: var(--ink); }
/* Sección Plantillas */
.plantillas { max-width: 980px; }
.plantillas .area { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.plantillas .pl-seccion h2 { font-size: 15px; font-weight: 700; margin: 6px 0 8px; }
.plantillas .pl-seccion + .pl-seccion { margin-top: 18px; }
.plantillas .pl-fila { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.plantillas .pl-fila.oculta > div:first-child { opacity: .55; }
.plantillas .pl-der { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.plantillas .pl-txt { font-size: 13px; }
.min-w-0 { min-width: 0; }
@media (max-width: 720px) { .plantillas .pl-fila { grid-template-columns: 1fr; } }
/* Clientes recurrentes: barras ordenadas */
.inicio .cli-hero { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13.5px; }
.inicio .cli-barras { display: grid; gap: 2px; }
.inicio .cb { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) 96px 80px; gap: 12px; align-items: center; padding: 5px 6px; border-radius: 8px; }
.inicio .cb:hover { background: var(--paper-2); }
.inicio .cb-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.inicio .cb-pista { height: 12px; }
.inicio .cb-barra { height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; min-width: 3px; }
.inicio .cb-barra.frio { background: var(--rosa); }
.inicio .cb-v { text-align: right; font-size: 13px; white-space: nowrap; }
@media (max-width: 720px) { .inicio .cb { grid-template-columns: minmax(0, 1fr) 80px; } .inicio .cb-pista { grid-column: 1 / -1; order: 3; } .inicio .cb-x { display: none; } }
.inicio .cli-hero .grande { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 720px) { .inicio .cb { row-gap: 4px; padding: 6px 4px; } .inicio .cb-pista { height: 8px; } .inicio .cli-hero { flex-direction: column; gap: 2px; } }
/* Clientes en dona */
.inicio .dona-caja { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.inicio .dona circle { transition: opacity .15s; cursor: default; }
.inicio .d-big { font-size: 26px; font-weight: 700; fill: var(--ink); letter-spacing: -.02em; } .inicio .d-small { font-size: 11px; fill: var(--ink-3); }
.inicio .dona-ley { flex: 1; min-width: 280px; display: grid; gap: 2px; }
.inicio .dl { display: grid; grid-template-columns: 10px minmax(0, 1fr) 64px 40px 80px; gap: 10px; align-items: center; font-size: 13px; padding: 4px 8px; border-radius: 8px; transition: opacity .15s; }
.inicio .dl:hover { background: var(--paper-2); }
.inicio .dl .pt { width: 10px; height: 10px; border-radius: 50%; }
.inicio .dl .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inicio .dl .mt { text-align: right; font-weight: 600; } .inicio .dl .pc { text-align: right; color: var(--ink-3); }
.inicio .apagado { opacity: .25; }
/* Ligas a Netzo dentro del Inicio: en tinta, sin subrayado azul; el icono y el subrayado aparecen al pasar el cursor */
.inicio .pest-panel a, .inicio .dona-ley a, .inicio .cb-n a, .modal-body a { color: var(--ink); text-decoration: none; }
.inicio .pest-panel a:hover, .modal-body a:hover { text-decoration: underline; text-underline-offset: 2px; }
.inicio .dona-ley a i, .inicio .cb-n a i { font-size: 10px; margin-left: 4px; color: var(--ink-3); opacity: 0; }
.inicio .dona-ley a:hover i, .inicio .cb-n a:hover i { opacity: 1; }
/* Chat: en pantallas anchas los mensajes no se estiran de lado a lado */
.chat .msgs { padding: 16px max(18px, calc((100% - 820px) / 2)); }
/* Embudo: color por quién maneja la columna */
.embudo { display: flex; align-items: stretch; }
.embudo > .col { flex: 0 0 250px; }
.embudo > .col.angosta { flex: 0 0 44px; padding: 10px 0; cursor: pointer; display: flex; justify-content: center; }
.col .vert { writing-mode: vertical-rl; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.col-sub { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: -4px 4px 4px; font-size: 12px; }
.col-sub .quien { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: #fff; color: var(--ink-2); }
.col-salida { font-size: 11px; color: var(--ink-3); margin: 0 4px 10px; line-height: 1.3; }
.col.q-ia { background: #e7f7e4; } .col.q-ia .quien { background: #c9efc2; color: #1f6b33; }
.col.q-auto { background: #f1edff; } .col.q-auto .quien { background: #e0d8ff; color: #5b3fbf; }
.col.q-vendedor { background: var(--paper-2); }
.col.q-cerrado { background: #eceef1; }
/* Ajustes: etapas del embudo */
.col-fila { display: grid; grid-template-columns: 22px minmax(0, 260px) 92px 130px 1fr; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.col-fila.oculta input { opacity: .5; }
.pill.q-ia { background: #c9efc2; color: #1f6b33; } .pill.q-auto { background: #e0d8ff; color: #5b3fbf; } .pill.q-cerrado { background: #eceef1; color: var(--ink-2); }
.col-fila .btn-link { border: 0; padding: 0 2px; line-height: 1; color: var(--ink-2); }
.col-fila .btn-link:disabled { opacity: .25; }
.inicio .err-cods { display: flex; gap: 6px; flex-wrap: wrap; }
.inicio .mini-meta { width: 90px; height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.inicio .mini-meta > div { height: 100%; } .inicio .mini-meta .ok { background: var(--ok); } .inicio .mini-meta .warn { background: #e2a43a; }

/* Inicio: tira de instalaciones de la semana */
.inicio .instal { margin-bottom: 12px; }
.inicio .instal-cab { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 13.5px; margin: 0 2px 6px; }
.inicio .instal-ls { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.inicio .ins { flex: 0 0 auto; min-width: 150px; max-width: 220px; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); color: var(--ink); text-decoration: none; font-size: 12.5px; }
.inicio .ins:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.inicio .ins.ok { border-left-color: var(--ok); } .inicio .ins.rojo { border-left-color: #c62f2f; } .inicio .ins.azul { border-left-color: #2a78d6; }
.inicio .ins-d { font-weight: 700; } .inicio .ins-c { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .inicio .ins-e { color: var(--ink-3); font-size: 11.5px; }

/* Contactos: directorio y ventana "Nuevo contacto" */
.contactos { max-width: 1180px; }
.contactos .area { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ct-herr { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ct-herr .form-control { width: 280px; max-width: 100%; border-radius: 999px; }
.ct-herr .seg { flex: 0 0 auto; }
.ct-tabla th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3, #888); font-weight: 600; padding: 10px 12px; }
.ct-tabla td { padding: 10px 12px; vertical-align: top; }
.ct-tabla tr:last-child td { border-bottom: 0; }
.nc-pegar { background: var(--paper-2, #f6f5f1); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.nc-pegar summary { font-size: 13px; font-weight: 600; cursor: pointer; }
.nc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.nc-form .nc-ancho { grid-column: 1 / -1; }
.nc-form .form-label { font-size: 12px; margin-bottom: 2px; color: var(--ink-2); }
.nc-rev { font-size: 12.5px; border-left: 3px solid var(--line-2); background: #fafaf8; border-radius: 6px; padding: 6px 10px; margin-bottom: 4px; }
.nc-rev.ok { border-left-color: var(--ok); }
.nc-rev.warn { border-left-color: #c98a00; }
.nc-rev.rojo { border-left-color: #c0392b; }
@media (max-width: 640px) { .nc-form { grid-template-columns: 1fr; } }

/* Correos de info@ */
.correos { max-width: 980px; }
.correos .area { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.co-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line-2); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.co-card.pend { border-left-color: var(--rosa-ink, #c2185b); }
.co-card.resaltar { box-shadow: 0 0 0 2px var(--ink); }
.co-chips { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.co-texto summary { cursor: pointer; color: var(--ink-2); margin-top: 6px; }
.co-texto pre { white-space: pre-wrap; font-family: inherit; font-size: 12.5px; background: var(--paper-2); border-radius: 8px; padding: 10px; max-height: 320px; overflow: auto; margin: 6px 0 0; }
.co-pie { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.co-asignar { width: auto; min-width: 150px; height: 31px; padding-top: 2px; padding-bottom: 2px; font-size: 12.5px; }

/* Retro del asistente (👍 / 👎) */
.retro { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; }
.retro button { border: 0; background: transparent; padding: 0 3px; color: var(--ink-3); font-size: 12px; line-height: 1; }
.retro button:hover { color: var(--ink); }
.retro button.on { color: var(--ok); }
.retro button.on.mal { color: #c62f2f; }
.retro .n { font-size: 10.5px; color: var(--ink-3); margin-left: 2px; }
.ayuda-tel { max-width: 640px; }
.ayuda-tel summary { cursor: pointer; text-align: center; color: var(--ink-2); }
.ayuda-tel ul { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 28px; }
/* Pantalla Retro del asistente */
.filtros-retro { display: flex; gap: 6px; }
.filtros-retro button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12.5px; color: var(--ink-2); }
.filtros-retro button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.retro-caso.mal { border-left: 4px solid #c62f2f; }
.retro-caso.bien { border-left: 4px solid var(--ok); }
.retro-caso .voto { font-size: 16px; }
.retro-caso .comentario { margin: 8px 0; font-size: 14px; }
.retro-caso summary { cursor: pointer; color: var(--ink-2); }
.retro-caso .conv { background: #efeae2; border-radius: 10px; padding: 10px; margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.retro-caso .ln { max-width: 85%; background: #fff; border-radius: 8px; padding: 5px 9px; white-space: pre-wrap; }
.retro-caso .ln.cliente { align-self: flex-start; }
.retro-caso .ln.ia, .retro-caso .ln.vendedor { align-self: flex-end; background: #d9fdd3; }
.retro-caso .ln.marcado { outline: 2px solid #c62f2f; }
.retro-caso.bien .ln.marcado { outline-color: var(--ok); }
.retro-caso .ln .q { display: block; font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; color: var(--ink-3); }
.retro-caso .atendido { margin-top: 8px; color: var(--ink-2); }

/* Bandeja sin conversación abierta: resumen de pendientes y sin la columna de la ficha */
@media (min-width: 1101px) {
  .bandeja.sin-chat { grid-template-columns: clamp(280px, 21vw, 360px) minmax(0, 1fr); }
  .bandeja.sin-chat .ficha { display: none; }
}
.resumen-bandeja { margin: 48px auto 32px; max-width: 680px; width: calc(100% - 48px); align-self: flex-start; }
.rb-cab h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.rb-cab p { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.rb-cab p i { color: var(--ok); }
.rb-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 18px; }
.rb-dato { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.rb-dato i { grid-row: span 2; font-size: 18px; color: var(--ink-3); width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.rb-dato b { font-size: 20px; line-height: 1.1; }
.rb-dato span { font-size: 12px; color: var(--ink-2); }
.rb-dato:hover { border-color: var(--ink-3); }
.rb-dato.cero b { color: var(--ink-3); font-weight: 600; }
.rb-dato.urgente { border-color: #f0b4b4; }
.rb-dato.urgente i { background: #fdeaea; color: #c62f2f; }
.rb-dato.urgente b { color: #c62f2f; }
.rb-lista { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rb-tt { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 12px 16px 6px; }
.rb-fila { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 11px 16px; }
.rb-fila:first-of-type { border-top: 0; }
.rb-fila:hover { background: var(--paper-2); }
.rb-ini { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rb-txt { min-width: 0; display: flex; flex-direction: column; }
.rb-txt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-txt small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-der { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rb-der small { font-size: 11px; color: var(--ink-3); }
.rb-vacio { padding: 18px 16px; color: var(--ink-3); font-size: 13.5px; }
.col h2 .col-mas { border: 0; background: transparent; color: var(--ink-3); padding: 0 6px 0 0; font-size: 14px; line-height: 1; }
.col h2 .col-mas:hover { color: var(--ink); }

/* Menú: engrane con administración y pruebas (en celular, esas ligas van al final del menú) */
.barra nav a.mas { display: none; }
.barra .engrane { font-size: 16px !important; color: var(--ink-3) !important; }
.barra .engrane.on, .barra .engrane:hover { color: var(--ink) !important; }
.menu-mas { position: absolute; right: 16px; top: 52px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.08); z-index: 30; padding: 6px 0; display: flex; flex-direction: column; font-family: var(--font, inherit); }
.menu-mas.d-none { display: none; }
.menu-mas a { padding: 9px 16px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; font-family: 'DM Sans', sans-serif; }
.menu-mas a:hover, .menu-mas a.on { background: var(--paper-2); color: var(--ink); }
.menu-mas a i { font-size: 11px; }
@media (max-width: 1100px) {
  .barra nav a.mas { display: block; }
  .barra nav a.mas.primero { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 15px; }
  .barra .engrane, .menu-mas { display: none !important; }
}
/* Pestañas de Mensajes: WhatsApp · Correos */
.canales { display: flex; gap: 4px; padding: 10px 12px 0; }
.canales a { flex: 1; text-align: center; padding: 7px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; background: var(--paper-2); }
.canales a.on { background: var(--ink); color: #fff; }
.canales a .n { background: #c62f2f; color: #fff; border-radius: 999px; font-size: 10.5px; padding: 0 6px; margin-left: 5px; }
.correos .canales { padding: 0; max-width: 360px; margin-bottom: 14px; }
