/* WP5 · GoHighLevel visto desde el portal: pestaña de Configuración + bloque «Avance de hoy» en la ficha del guion. Solo reglas nuevas (no se toca app.css). */

/* ---------- Configuración → GoHighLevel ---------- */
.ghl-cfg { display: grid; gap: .75rem; }
.ghl-cfg h3 { margin: .25rem 0 0; }
.ghl-cfg .sub { margin: 0; }
.ghl-estado { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ghl-estado .btn { margin-left: auto; align-self: auto; }
.ghl-lista { border: 1px solid var(--line); border-radius: var(--r-ctrl); overflow: hidden; background: var(--raised); }
.ghl-fila { display: flex; align-items: center; gap: .5rem; min-height: 2.25rem; padding: .25rem .75rem; border-top: 1px solid var(--line); }
.ghl-fila:first-child { border-top: 0; }
.ghl-fila .nombre { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghl-vacio { padding: .75rem; color: var(--mute); font-size: var(--fs-chico); }
.ghl-caja { display: grid; gap: .5rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--r-ctrl); background: var(--raised); }
.ghl-caja-t { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ghl-caja-t b { margin-right: auto; }
.ghl-fila-in { display: flex; gap: .5rem; align-items: center; }
.ghl-fila-in .inp { flex: 1; min-width: 0; }
.ghl-fila-in .btn { align-self: auto; flex: none; }
.ghl-secreto { padding: .5rem .625rem; border: 1px dashed var(--accent); border-radius: var(--r-ctrl); font-family: ui-monospace, Consolas, monospace; font-size: var(--fs-chico); overflow-wrap: anywhere; }
.ghl-cfg details { border: 1px solid var(--line); border-radius: var(--r-ctrl); background: var(--raised); }
.ghl-cfg summary { cursor: pointer; padding: .5rem .75rem; font-weight: 650; min-height: 2.25rem; display: flex; align-items: center; }
.ghl-cfg details > div { padding: 0 .75rem .75rem; display: grid; gap: .5rem; }
.ghl-pasos { margin: 0; padding-left: 1.25rem; display: grid; gap: .375rem; font-size: var(--fs-chico); }
.ghl-cfg .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.ghl-dos { display: grid; gap: .75rem; }
@media (min-width: 1100px) { .ghl-dos { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Avance de hoy (ficha del guion) ---------- */
.ghl-av { margin-top: .75rem; padding: .625rem .75rem; border: 1px solid var(--line); border-radius: var(--r-ctrl); background: var(--raised); display: grid; gap: .375rem; }
.ghl-av[hidden] { display: none; }
.ghl-av-t { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ghl-av-t b { margin-right: auto; }
.ghl-av-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .125rem .75rem; font-size: var(--fs-chico); color: var(--mute); }
.ghl-av-fila span:first-child { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.ghl-pas { display: flex; flex-wrap: wrap; gap: .375rem; }
.ghl-p { display: inline-flex; align-items: center; height: 1.5rem; padding: 0 .5rem; border-radius: var(--r-pill); font-size: var(--fs-chico); font-weight: 650; white-space: nowrap; background: var(--raised); color: var(--mute); border: 1px solid var(--line); }
.ghl-p-enviado { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.ghl-p-omitido { background: var(--warn-bg); color: var(--warn); border-color: transparent; }

/* ---------- Tarjeta del reporte diario en la campana (la dibuja reporte-dia.js) ---------- */
.rd-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; margin-top: .375rem; width: 100%; }
.rd-fila { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .3125rem .625rem; border: 1px solid var(--line); border-radius: var(--r-ctrl); background: var(--raised); color: var(--ink); font-size: var(--fs-chico); text-align: left; }
.rd-fila > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-fila > span:last-child { color: var(--mute); white-space: nowrap; flex: none; }
.rd-mas { color: var(--mute); font-size: var(--fs-chico); padding: 0 .25rem; }
