/* Planner (2026-11-03): la semana a la vista, con el mismo estilo que Autorizar. */
.pl-cab { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.pl-rango { flex: 1; text-align: center; min-width: 0; }
.pl-rango b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pl-rango span { color: #6B7080; font-size: 13px; }
.pl-rango button { border: 0; background: transparent; color: #0147FF; font: inherit; font-size: 13px; font-weight: 700; padding: 4px 8px; cursor: pointer; }
.pl-redes { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 2px 16px; scrollbar-width: none; }
.pl-redes::-webkit-scrollbar { display: none; }
.pl-redes button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 0; background: #fff; color: #111318; font: inherit; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 12px; box-shadow: 0 1px 3px rgba(17,19,24,.08); cursor: pointer; }
.pl-redes button.sel { background: #111318; color: #fff; }
.pl-aviso { display: flex; align-items: center; gap: 8px; background: #E6EDFF; color: #0147FF; font-size: 14px; font-weight: 700; border-radius: 16px; padding: 11px 14px; margin-bottom: 12px; }
.pl-semana { display: flex; flex-direction: column; gap: 14px; }
.pl-dia { min-width: 0; border-radius: 18px; }
.pl-dia.destino { outline: 3px dashed #0147FF; outline-offset: 3px; }
.pl-dia h2 { font-size: 14px; font-weight: 700; color: #6B7080; text-transform: capitalize; margin: 0 4px 8px; }
.pl-dia h2 b { color: #111318; font-weight: 800; }
.pl-dia h2 em { font-style: normal; text-transform: none; background: #0147FF; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; margin-left: 4px; }
.pl-dia.paso { opacity: .72; }
.pl-fila { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.pl-fila::-webkit-scrollbar { display: none; }
.pl-nada { color: #9498A5; font-size: 13px; background: #E9EAEE; border-radius: 14px; padding: 12px 14px; width: 100%; }
.pl-video { position: relative; flex: none; width: 132px; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; overflow: hidden; background: #D9DBE2; padding: 0; font: inherit; color: #fff; text-align: left; cursor: pointer; box-shadow: 0 1px 3px rgba(17,19,24,.12); transition: transform .1s; }
.pl-video:active { transform: scale(.97); }
.pl-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-video::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(10,12,18,0), rgba(10,12,18,.88)); pointer-events: none; }
.pl-hora { position: absolute; z-index: 1; left: 7px; top: 7px; background: rgba(17,19,24,.78); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 8px; }
.pl-sobre { position: absolute; z-index: 1; right: 7px; top: 7px; }
.pl-corr { position: absolute; z-index: 1; right: 7px; top: 35px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #0147FF; display: grid; place-items: center; font-size: 17px !important; }
.pl-pie { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: flex-start; gap: 5px; }
.pl-pie b { font-size: 12px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pl-punto { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-top: 3px; box-shadow: 0 0 0 1.5px #fff; }
.pl-punto.naranja { background: #F59E0B; }
.pl-punto.verde { background: #22A45D; }
.pl-punto.azul { background: #0147FF; }
.pl-punto.gris { background: #9498A5; }
.pl-punto.rojo { background: #D23A3A; }
.pl-leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #6B7080; font-size: 12px; font-weight: 600; margin: 16px 4px; }
.pl-leyenda span { display: inline-flex; align-items: center; gap: 5px; }
.pl-leyenda .pl-punto { margin-top: 0; box-shadow: none; }
.av-estado.azul { background: #E6EDFF; color: #0147FF; }
/* Hoja de un video */
#avHojaCuerpo { max-height: 92dvh; overflow-y: auto; }
.pl-hoja { display: flex; gap: 12px; margin-bottom: 14px; }
.pl-ver { position: relative; flex: none; width: 104px; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; overflow: hidden; background: #E4E5EA; padding: 0; cursor: pointer; color: #fff; }
.pl-ver img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-ver .material-symbols-outlined { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(17,19,24,.6); display: grid; place-items: center; }
.pl-datos { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#avHojaCuerpo .pl-datos h2 { font-size: 18px; line-height: 1.2; margin: 0; }
.pl-datos p { display: flex; align-items: center; gap: 6px; color: #6B7080; font-size: 13px; font-weight: 600; }
#avHojaCuerpo .pl-hoja + .av-negro, #avHojaCuerpo .pl-hoja + .av-pill { margin-top: 0; }
#avHojaCuerpo a.av-pill { text-decoration: none; box-sizing: border-box; box-shadow: inset 0 0 0 1px #E4E5EA; }
.pl-nota { color: #6B7080; font-size: 13px; margin: 8px 2px 0; }
.pl-cambio { margin: 14px 0 4px; }
.pl-cambio label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pl-cambio textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: #111318; background: #fff; border: 1px solid #E4E5EA; border-radius: 14px; padding: 10px 12px; resize: vertical; }
.pl-cambio .av-pill { box-shadow: inset 0 0 0 1px #E4E5EA; }
.pl-cambio .pl-enviar { flex: 1; min-height: 42px; box-shadow: none; }
#plMic.escucha { background: #D23A3A; color: #fff; }
/* Repasar: un video a la vez */
#avVisor.pl-repaso { flex-direction: column; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 12px max(14px, env(safe-area-inset-bottom)); font-family: "Segoe UI", -apple-system, system-ui, sans-serif; }
#avVisor.pl-repaso video { flex: 1; min-height: 0; max-width: 100%; }
.pl-repaso-pie { width: 100%; max-width: 480px; color: #fff; }
.pl-repaso-pie p { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; margin-bottom: 10px; }
.pl-repaso-pie p b { font-size: 15px; font-weight: 700; line-height: 1.2; }
.pl-repaso-pie p span:last-child { grid-column: 2; font-size: 12px; color: #C7CAD3; }
.pl-repaso-pie > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
#avVisor .pl-repaso-pie button { position: static; width: auto; height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 16px; font-weight: 800; }
#avVisor .pl-repaso-pie .pl-no { background: rgba(255,255,255,.16); color: #fff; }
#avVisor .pl-repaso-pie .pl-si { background: #0147FF; color: #fff; }
/* PC: las siete columnas de la semana */
#autoScreen[data-vista="pc"] .pl-redes { margin: 0 0 12px; padding: 2px 0; }
#autoScreen[data-vista="pc"] .pl-cab { max-width: 520px; margin-left: auto; margin-right: auto; }
#autoScreen[data-vista="pc"] .pl-semana { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: start; }
#autoScreen[data-vista="pc"] .pl-dia { background: #E9EAEE; padding: 10px 8px; min-height: 340px; }
#autoScreen[data-vista="pc"] .pl-dia.hoy { background: #DCE5FF; }
#autoScreen[data-vista="pc"] .pl-fila { flex-direction: column; margin: 0; padding: 0; overflow: visible; }
#autoScreen[data-vista="pc"] .pl-video { width: 100%; cursor: grab; }
#autoScreen[data-vista="pc"] .pl-nada { background: transparent; padding: 4px; }
/* Mapa de temas y formatos */
.mt-mapa-scroll { overflow-x: auto; }
.mt-mapa { width: 100%; min-width: 460px; border-collapse: separate; border-spacing: 4px; font-size: 12px; }
.mt-mapa th { color: #6B7080; font-weight: 700; text-align: left; padding: 4px; }
.mt-mapa thead th { text-align: center; }
.mt-mapa td { height: 48px; min-width: 62px; border-radius: 10px; text-align: center; font-weight: 800; background: #F2F2F4; color: #111318; }
.mt-mapa td small { display: block; font-size: 10px; font-weight: 600; opacity: .8; }
.mt-mapa td.vacio { color: #B6B9C4; font-weight: 600; }
.mt-x { display: inline-block; background: #E6EDFF; color: #0147FF; font-size: 11px; font-style: normal; font-weight: 800; border-radius: 999px; padding: 2px 7px; margin-left: 4px; }
