/* PUESTO DE MANDO · MÁS SENCILLO (08/10/2026) */

/* Inicio: solo lo de hoy (lo demás ya está en Mi plan y Estadísticas) */
.ob-simple #v-mando > .hero,
.ob-simple #v-mando > .grid.g2 { display: none !important; }

/* Temario: lista limpia por bloques */
.ob-simple #v-temario .toolbar,
.ob-simple #v-temario > .card,
.ob-simple #tlist { display: none !important; }
#smTemario { display: flex; flex-direction: column; gap: 22px; }
.sm-busca { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px;
  background: var(--vidrio-fuerte, rgba(255,255,255,.8)); border: 1px solid var(--borde, rgba(0,0,0,.08)); box-shadow: var(--sombra); }
.sm-busca svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.sm-busca input { all: unset; flex: 1; font: 500 15px var(--f-body, Inter, sans-serif); color: var(--text); }
.sm-bloque h2 { margin: 0 0 8px 4px; font: 600 13px var(--f-body, Inter, sans-serif); color: var(--muted); letter-spacing: .01em; }
.sm-lista { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--vidrio, rgba(255,255,255,.62));
  border: 1px solid var(--borde, rgba(0,0,0,.08)); box-shadow: var(--sombra); }
.sm-tema { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 13px 14px 13px 16px;
  border-top: 1px solid var(--borde, rgba(0,0,0,.07)); transition: background .15s; }
.sm-tema:first-child { border-top: 0; }
.sm-tema:hover { background: rgba(18,128,92,.05); }
.sm-tema:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.sm-n { flex: none; width: 40px; font: 400 30px/1 "Anton", var(--f-disp); color: var(--primario, #17201C); text-align: center; }
.sm-tema.curso .sm-n { color: var(--gold, #12805C); }
.sm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sm-t b { font: 600 15px/1.25 var(--f-body, Inter, sans-serif); color: var(--text); }
.sm-t small { font-size: 12.5px; color: var(--muted); }
.sm-barra { display: block; height: 3px; border-radius: 3px; background: rgba(23,32,28,.08); margin-top: 4px; overflow: hidden; }
.sm-barra > i { display: block; height: 100%; background: var(--gold, #12805C); border-radius: 3px; }
.sm-ir { flex: none; width: 18px; height: 18px; color: var(--dim, #8A948F); }
.sm-tema.off { cursor: default; opacity: .55; }
.sm-tema.off:hover { background: none; }

/* Test: lo demás, plegado */
.sm-mas { margin-top: 12px; padding: 0 !important; }
.sm-mas > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; }
.sm-mas > summary::-webkit-details-marker { display: none; }
.sm-mas > summary b { font-size: 15px; }
.sm-mas > summary small { color: var(--muted); font-size: 13px; }
.sm-mas > summary::after { content: ""; align-self: flex-end; margin-top: -30px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.sm-mas[open] > summary::after { transform: rotate(-135deg); margin-top: -24px; }
.sm-mas-c { display: grid; gap: 12px; padding: 0 12px 12px; }
.sm-mas-c .tcard { margin: 0; }

/* Lector: una fila con lo esencial */
.ob-simple #rd #aTools { display: none; }
.ob-simple #rd.sm-con-herr #aTools { display: flex; }
.ob-simple #rd.study #aTools { display: none !important; }
.sm-anotar.on { background: var(--gold, #12805C) !important; color: #fff !important; }
.sm-menu { position: relative; }
.sm-puntos { min-width: 38px; font-size: 18px !important; line-height: 1 !important; }
.sm-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; padding: 8px; border-radius: 14px;
  background: var(--vidrio-fuerte, rgba(255,255,255,.96)); -webkit-backdrop-filter: var(--desenfoque); backdrop-filter: var(--desenfoque);
  border: 1px solid var(--borde, rgba(0,0,0,.08)); box-shadow: 0 18px 40px -16px rgba(20,40,30,.35); display: flex; flex-direction: column; gap: 4px; }
.sm-pop[hidden] { display: none; }
.sm-pop-f { display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 10px; cursor: pointer; font-size: 13.5px; color: var(--text); }
.sm-pop-f:hover { background: rgba(23,32,28,.05); }
.sm-pop-f .btn { flex: none; }
.sm-pop-f .autop { padding: 4px 6px; }

/* ajustes: menú por encima, navegación de página unida y buscador sin borde nativo */
.ob-simple #rd .rbar { position: relative; z-index: 40; overflow: visible; }
.ob-simple #rd .rbar .pdfonly { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 6px; }
.sm-busca input[type="search"] { -webkit-appearance: none; appearance: none; border: 0; background: transparent; outline: none; height: 100%; }
.sm-busca input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.sm-busca:focus-within { border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.sm-pag { display: inline-flex !important; flex-wrap: nowrap; align-items: center; gap: 6px; }
.ob-simple #rd .rbar .ttl { flex: 1 1 0; min-width: 0; }
@media (min-width: 900px) { .ob-simple #rd .rbar .ttl { flex: 0 1 auto; } .ob-simple #rd .rbar .sm-menu { order: 99; margin-left: auto; } }
