/* =====================================================================
 * Paneles modernos (Mis cursos, facilitador, curso del facilitador y Administración).
 * Todo va dentro de .dz para no chocar con los estilos del resto del aula.
 * ===================================================================== */
.dz { --brand-2: #0a9be0; --violet: #7c3aed; --violet-50: #f1ebfd; --warn: #b45309; --danger: #dc2626; --ok-t: #047857;
  --c1: #0a7fc0; --c2: #e8590c; --c3: #7c3aed; --rad: 22px; }
html[data-theme="dark"] .dz { --brand-2: #3ea8e2; --violet: #a78bfa; --violet-50: rgba(124, 58, 237, .18); --warn: #fbbf24; --danger: #f87171; --ok-t: #34d399;
  --c1: #2a90d0; --c2: #de6a28; --c3: #9b6cf0; }
.dz { display: block; }
.dz .group { margin-top: 26px; } .dz .group:first-child, .dz > svg:first-child + .group { margin-top: 0; }
.dz .gt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 4px 10px; }
.dz .gt h2 { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.dz .lnk { color: var(--brand-2); font-size: .84rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 4px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.dz .lnk:hover { text-decoration: underline; }
.dz .bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dz .dcard { background: var(--card); border-radius: var(--rad); padding: 20px 22px; box-shadow: var(--shadow); min-width: 0; }
.dz .s1 { grid-column: span 1; } .dz .s2 { grid-column: span 2; } .dz .s3 { grid-column: span 3; } .dz .s4 { grid-column: span 4; }
.dz .dh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.dz .dh h3 { margin: 0; font-size: 1rem; }
.dz .dh .lnk { margin: -10px -4px; }
.dz .sub { color: var(--ink-3); font-size: .8rem; }
.dz .pill2 { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.dz .p-ok { color: var(--ok-t); background: var(--ok-50); } .dz .p-warn { color: var(--warn); background: var(--warn-50); }
.dz .p-bad { color: var(--danger); background: var(--danger-50, #fdecec); } .dz .p-brand { color: var(--brand-2); background: var(--brand-50); }
.dz .dbar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.dz .dbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.dz .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dz .lnk .ar { width: 16px; height: 16px; }
.dz .bi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dz .dbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0; color: #fff; font: inherit; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px rgba(10, 155, 224, .3); cursor: pointer; text-decoration: none; white-space: nowrap; }
.dz .dbtn.ghost { background: var(--card); color: var(--brand-2); border: 1px solid color-mix(in srgb, var(--brand-2) 35%, var(--line)); box-shadow: none; min-height: 44px; font-weight: 700; font-size: .88rem; }
.dz .dbtn.ghost:hover { background: var(--brand-50); }
.dz .dbtn:focus-visible, .dz .lnk:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* Héroe con el degradado de la marca */
.dz .hero { color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18) 0%, transparent 45%), linear-gradient(135deg, #004a73 0%, #006298 45%, #0a9be0 100%); }
.dz .hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; bottom: -170px; border-radius: 50%; border: 56px solid rgba(255,255,255,.07); pointer-events: none; }
.dz .hero small { opacity: .9; font-weight: 600; }
.dz .hero h1 { margin: 4px 0 12px; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.dz .hero .lnk { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Mis cursos: saludo con la meta de la semana */
.dz .hp { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "txt ring" "week ring"; column-gap: 18px; align-items: center; }
.dz .hp > .txt { grid-area: txt; position: relative; z-index: 1; } .dz .hp .ringw { grid-area: ring; } .dz .hp .week { grid-area: week; }
.dz .ringw { text-align: center; display: grid; justify-items: center; gap: 4px; position: relative; z-index: 1; }
.dz .ringw span { font-size: .8rem; opacity: .95; }
.dz .week { display: flex; gap: 6px; position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.dz .week li { display: grid; justify-items: center; gap: 3px; flex: 1 1 0; min-width: 0; max-width: 34px; }
.dz .week i { width: 100%; aspect-ratio: 1; min-width: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .76rem; font-weight: 800; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.dz .week li.on i { background: #fff; color: var(--brand); border-color: #fff; }
.dz .week li.today i { outline: 2px solid #fff; outline-offset: 2px; }
.dz .week li.future i { border-style: dashed; opacity: .75; }
.dz .certs { display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; }
.dz .certs .em { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--warn-50); color: var(--warn); }
.dz .certs .em .lp-ico { width: 28px; height: 28px; }
.dz .ct { display: grid; gap: 2px; } .dz .ct b { font-size: 1.05rem; } .dz .ct span { color: var(--ink-2); font-size: .84rem; font-weight: 600; }
.dz .resume { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.dz .resume .th { width: 84px; height: 84px; border-radius: 18px; background: var(--brand-50) center / cover no-repeat; }
.dz .resume small { color: var(--ink-3); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.dz .resume b { display: block; font-size: 1.05rem; margin: 2px 0 8px; line-height: 1.35; }
.dz .resume.nudge { background: linear-gradient(135deg, #fff7ed, #fff); } html[data-theme="dark"] .dz .resume.nudge { background: linear-gradient(135deg, rgba(245,158,11,.12), var(--card)); }
.dz .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.dz .chip3 { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font: inherit; font-weight: 700; font-size: .8rem; cursor: pointer; }
.dz .chip3.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.dz .cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dz .ccard { background: var(--card); border-radius: var(--rad); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; transition: transform .2s; }
.dz .ccard:hover { transform: translateY(-2px); }
.dz .ccard .cover { aspect-ratio: 16 / 8; position: relative; background: var(--brand-50) center / cover no-repeat; }
.dz .ccard .tag { position: absolute; left: 12px; top: 12px; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.94); color: #0f1f33; }
.dz .ccard .tag.done { background: #16a34a; color: #fff; }
.dz .ccard .ring { position: absolute; right: 12px; bottom: -26px; width: 56px; height: 56px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); }
.dz .ccard .body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.dz .ccard b { font-size: 1rem; padding-right: 60px; line-height: 1.35; } .dz .ccard .sub { font-size: .8rem; }
.dz .ring-m, .dz .ccard .ring.ring-m { display: none; }
.dz .rtxt { font-size: 11px; font-weight: 800; font-family: inherit; }
.dz .ag { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dz .ag li a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; min-height: 44px; }
.dz .day { width: 46px; height: 50px; border-radius: 14px; display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.05; flex: none; }
.dz .day small { display: block; font-size: .7rem; font-weight: 700; opacity: .85; text-transform: uppercase; }
.dz .ag .t { font-weight: 700; font-size: .9rem; } .dz .ag .s { color: var(--ink-3); font-size: .78rem; }
.dz .empty2 { color: var(--ink-3); font-size: .88rem; margin: 6px 0 0; }
.dz .badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dz .wide .badges { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .dz .wide .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dz .badge2 { text-align: center; padding: 12px 6px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.dz .badge2 .bi2 { width: 40px; height: 40px; margin: 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-2); }
.dz .badge2 .bi2 .lp-ico { width: 22px; height: 22px; }
.dz .badge2 b { display: block; font-size: .78rem; margin-top: 6px; line-height: 1.25; }
.dz .badge2.off { opacity: .5; filter: grayscale(1); }
.dz .recs { display: grid; }
.dz .rec { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: inherit; }
.dz .rec + .rec { border-top: 1px solid var(--line); }
.dz .rec .th { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-50) center / cover no-repeat; }
.dz .rec b { display: block; font-size: .92rem; } .dz .rec .sub { font-size: .76rem; }

/* Paneles del facilitador y de Administración */
.dz .p-mute { color: var(--ink-3); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.dz .hero .todo { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.dz .hero .todo-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dz .hero .todo-2 li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dz .hero.s3:not(.hp) { display: flex; flex-direction: column; }
.dz .hero .hoy { margin-top: auto; }
.dz .hero .todo { margin-bottom: 14px; }
.dz .todo li { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 8px 8px 14px; border-radius: 14px; background: rgba(255,255,255,.12); }
.dz .todo .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dz .todo .n { font-size: 1.15rem; font-weight: 800; min-width: 42px; text-align: center; flex: none; width: auto; height: auto; border-radius: 0; background: none; display: block; color: #fff; }
.dz .todo .t { flex: 1; min-width: 0; font-weight: 600; font-size: .88rem; line-height: 1.3; }
.dz .todo a { color: #fff; background: rgba(255,255,255,.2); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.dz .todo a:hover { background: rgba(255,255,255,.3); }
.dz .hero-ok { margin: 0; opacity: .92; position: relative; z-index: 1; max-width: 46ch; }
.dz .side { display: grid; align-content: center; gap: 6px; }
.dz .side.center { justify-items: center; text-align: center; }
.dz .bring .bnum { fill: var(--ink); font-size: 26px; font-weight: 800; font-family: inherit; }
.dz .bring .bsub { fill: var(--ink-3); font-size: 11px; font-weight: 700; font-family: inherit; }
.dz .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
.dz .stat { padding: 18px 22px; min-width: 0; display: flex; flex-direction: column; background: none; border-radius: 0; }
.dz .stat span { opacity: 1; }
.dz .stat + .stat { border-left: 1px solid var(--line); }
.dz .stat .lbl { color: var(--ink-2); font-weight: 700; font-size: .84rem; display: flex; align-items: center; gap: 8px; }
.dz .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.dz .ico .lp-ico { width: 17px; height: 17px; }
.dz .i-brand { background: var(--brand-50); color: var(--brand-2); } .dz .i-violet { background: var(--violet-50); color: var(--violet); }
.dz .i-bad { background: var(--danger-50, #fdecec); color: var(--danger); } .dz .i-warn { background: var(--warn-50); color: var(--warn); }
.dz .stat .val { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; line-height: 1.1; }
.dz .trend { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; letter-spacing: 0; }
.dz .spark { width: 100%; height: 36px; margin-top: auto; display: block; }
.dz .stat .dbar.risk { margin: auto 0 14px; } .dz .dbar.risk i { background: linear-gradient(90deg, #f87171, var(--danger)); }
.dz .stat > .sub { margin-top: 4px; }
.dz .combo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.dz .area { width: 100%; height: 150px; display: block; }
.dz .axis { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .74rem; margin-top: 6px; text-align: center; }
.dz .axis span { display: grid; min-width: 28px; } .dz .axis b { color: var(--ink); font-size: .84rem; } .dz .axis i { font-style: normal; } .dz .axis.days i { text-transform: capitalize; }
.dz .rings { display: flex; align-items: center; gap: 14px; padding-left: 22px; border-left: 1px solid var(--line); }
.dz .legend { display: grid; gap: 10px; font-size: .86rem; }
.dz .legend b { font-size: 1.02rem; } .dz .legend span:not(.sw) { color: var(--ink-2); display: block; font-size: .78rem; padding-left: 16px; }
.dz .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dz .ag .ag-i { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.dz .rows { display: grid; padding: 8px 14px; }
.dz .row { display: grid; grid-template-columns: 52px minmax(0, 1.6fr) minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; padding: 12px 6px; text-decoration: none; color: inherit; border-radius: 14px; min-height: 64px; }
.dz .row:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.dz .row + .row { border-top: 1px solid var(--line); border-radius: 0; }
.dz .row .thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50) center / cover no-repeat; }
.dz .row .nm { display: grid; gap: 2px; min-width: 0; } .dz .row b { font-size: .95rem; line-height: 1.35; } .dz .row .s { color: var(--ink-3); font-size: .78rem; }
.dz .row .hide-t { display: grid; gap: 6px; } .dz .row > .ar { color: var(--ink-3); }

/* Resumen del curso (facilitador) */
.admin-body > .dz .stats { margin-bottom: 0; }
.admin-body > .dz .group { margin-top: 18px; }
.dz .stat .dbar { margin: auto 0 0; }
.dz .ppl, .dz .tasks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.dz .ppl li { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 56px; }
.dz .ppl li + li, .dz .tasks li + li { border-top: 1px solid var(--line); }
.dz .ppl .nm, .dz .tasks .nm { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dz .ppl b, .dz .tasks b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz .ppl .s, .dz .tasks .s { color: var(--ink-3); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz .tasks a { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-height: 56px; text-decoration: none; color: inherit; }
.dz .tasks a > .ar { color: var(--ink-3); }
.dz .wfull { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding: 8px 16px; }
.dz .wfull .lp-ico { width: 18px; height: 18px; flex: none; }
.dz.tcs .bento { align-items: start; }
.dz .tasks .s em { font-style: normal; font-weight: 800; color: var(--warn); }
.dz .cols { display: flex; align-items: flex-end; gap: 2px; height: 110px; padding-top: 6px; }
.dz .cols i { flex: 1; min-width: 2px; max-width: 26px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); opacity: .85; }
.dz .cols i.hot { background: linear-gradient(180deg, #fb923c, #e8590c); opacity: 1; }
.dz .callout { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--warn-50); color: var(--ink); font-size: .86rem; line-height: 1.45; }
.dz .callout .lp-ico { width: 18px; height: 18px; color: var(--warn); flex: none; margin-top: 1px; }
.dz .callout.ok { background: var(--ok-50); }
.dz .vbox { min-height: 170px; display: grid; align-content: start; gap: 8px; }
.dz .vt { font-size: .95rem; }
.dz .vnums { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: .8rem; } .dz .vnums b { color: var(--ink); font-size: 1rem; }
.dz .vcurve { width: 100%; height: 80px; display: block; margin-top: 6px; }

/* Resumen de Administración */
.dz .hoy { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-size: .84rem; }
.dz .hoy b { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.dz .hoy i { font-style: normal; font-weight: 800; font-size: 1rem; }
.dz .sys .checks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.dz .sys .checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: .86rem; }
.dz .sys .checks small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.dz .st { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: none; }
.dz .st.ok { background: #16a34a; box-shadow: 0 0 0 4px var(--ok-50); } .dz .st.warn { background: #f59e0b; box-shadow: 0 0 0 4px var(--warn-50); }
.dz .st.bad { background: var(--danger); box-shadow: 0 0 0 4px var(--danger-50, #fdecec); }
.dz .bk { display: grid; gap: 8px; } .dz .bk .dbtn { justify-content: flex-start; width: 100%; padding: 0 14px; }
.dz .bk .lp-ico { width: 18px; height: 18px; flex: none; }
.dz .gauge { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.dz .gauge .dh { text-align: left; }
.dz .gsvg { width: 100%; max-width: 220px; margin: 0 auto; display: block; }
.dz .gsvg .gnum { fill: var(--ink); font-size: 34px; font-weight: 800; font-family: inherit; letter-spacing: -1px; }
.dz .gsvg .gof { fill: var(--ink-3); font-size: 12px; font-weight: 600; font-family: inherit; }
.dz .gv { margin-top: 4px; } .dz .gs { color: var(--ink-3); font-size: .8rem; margin: 8px 0 0; line-height: 1.45; }
.dz .gs .lnk { min-height: 32px; }
.dz .funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dz .funnel li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 44px 40px; gap: 10px; align-items: center; font-size: .84rem; }
.dz .funnel .fl { color: var(--ink-2); font-weight: 600; }
.dz .funnel .fb { height: 22px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 6%, transparent); overflow: hidden; }
.dz .funnel .fb i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.dz .funnel b { text-align: right; } .dz .funnel small { color: var(--ink-3); text-align: right; }
.dz .vbars { display: flex; align-items: flex-end; gap: 10px; height: 190px; }
.dz .vbars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.dz .vbars i { width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.dz .vbars b { font-size: .8rem; } .dz .vbars span { color: var(--ink-3); font-size: .74rem; text-transform: capitalize; }
.dz .rows .dh { padding: 8px 6px 0; }
.dz .imp { display: flex; flex-direction: column; gap: 14px; }
.dz .imp .ibs { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dz .imp .ib { grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; } .dz .imp .ib .ico { grid-row: span 2; margin: 0; }
.dz .imp .ib { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.dz .imp .ib .ico { width: 30px; height: 30px; margin-bottom: 4px; }
.dz .imp .ib b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.dz .imp .ib > span:last-child { color: var(--ink-3); font-size: .76rem; line-height: 1.3; }
.dz .imp .ispark .spark { height: 40px; }
.dz .imp .dbtn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.25; padding: 8px 14px; font-size: .9rem; }
.dz .imp .dbtn .lp-ico { width: 18px; height: 18px; flex: none; }
.bk-list { display: grid; gap: 6px; margin-top: 12px; max-height: 340px; overflow: auto; }
.bk-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.bk-row:hover { background: var(--brand-50); } .bk-row > span { flex: 1; min-width: 0; display: grid; } .bk-row small { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-row .lp-ico { width: 20px; height: 20px; color: var(--brand-2); flex: none; }
.bk-check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.bk-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.steps2 { padding-left: 1.2rem; display: grid; gap: 6px; }

/* Ingresos: dólares cobrados, bolívares recaudados y lo que valen hoy */
.dz .money { text-align: left; flex: initial; }
.dz .money > .sub { align-self: flex-start; margin-top: 0; }
.dz .money .mrows { margin: auto 0 0; padding-top: 10px; display: grid; gap: 6px; }
.dz .money .mrows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.dz .money dt { color: var(--ink-3); font-size: .78rem; font-weight: 600; } .dz .money dd { margin: 0; font-weight: 800; font-size: .92rem; white-space: nowrap; }
@media (max-width: 620px) {
  .dz .stats .money, .dz .stats:has(.money) .stat:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .dz .money .mrows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dz .money .mrows > div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0 0; }
  .dz .money dd { font-size: 1rem; }
}

/* Selector de período de la gráfica */
.dz .seg2 { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); margin: 0 0 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dz .seg2 button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.dz .seg2 button.on { background: var(--card); color: var(--brand-2); box-shadow: 0 1px 4px rgba(15, 31, 51, .12); }
.dz .seg2 button:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.dz .axis.dense span { min-width: 0; flex: 1 1 0; overflow: visible; } .dz .axis.dense i { white-space: nowrap; }
.dz .axis.dense span:first-child { text-align: left; } .dz .axis.dense span:last-child { text-align: right; }
.dz .axis.dense span:first-child i { display: block; } .dz .axis.dense span:last-child i { display: block; }
@media (max-width: 620px) {
  .dz .seg2 { display: flex; width: 100%; }
  .dz .seg2 button { flex: 1 1 0; padding: 0 4px; font-size: .76rem; min-width: 0; }
}
.dz .serie { min-width: 0; }

/* Datos al pasar el mouse o tocar */
.dz .lwrap { position: relative; } .dz .lwrap > svg { display: block; }
.dz .stat .spark-w { margin-top: auto; } .dz .stat .spark-w .spark { margin-top: 6px; }
.dz .hits { position: absolute; inset: 0; }
.dz .hits i { position: absolute; top: 0; bottom: 0; cursor: crosshair; outline: none; }
.dz .hits i::before { content: ""; position: absolute; left: var(--px, 50%); top: 0; bottom: 0; width: 1px; background: var(--line); opacity: 0; }
.dz .hits i::after { content: ""; position: absolute; left: var(--px, 50%); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--card); border: 3px solid var(--c); opacity: 0; box-sizing: border-box; }
.dz .hits i:hover::before, .dz .hits i:hover::after, .dz .hits i:focus-visible::before, .dz .hits i:focus-visible::after { opacity: 1; }
.dz .cols i { cursor: pointer; outline: none; } .dz .cols i:hover, .dz .cols i:focus-visible { opacity: 1; filter: brightness(1.15); }
.dz .vbars > div[data-tip], .dz .funnel li[data-tip] { cursor: default; }
.dz .vbars > div[data-tip]:hover i { filter: brightness(1.15); }
.dz .funnel li[data-tip]:hover .fb i { filter: brightness(1.15); }
.dz-tip { position: fixed; z-index: 9999; max-width: 260px; padding: 6px 10px; border-radius: 8px; background: #0f1f33; color: #fff; font: 700 .76rem/1.35 inherit; font-family: inherit; box-shadow: 0 6px 18px rgba(0,0,0,.18); pointer-events: none; opacity: 0; transition: opacity .12s; }
.dz-tip.on { opacity: 1; }
html[data-theme="dark"] .dz-tip { background: #f1f5f9; color: #0f1f33; }
@media (prefers-reduced-motion: reduce) { .dz-tip { transition: none; } }

/* Tablet */
@media (max-width: 1000px) {
  .dz .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz .s3, .dz .s4 { grid-column: span 2; } .dz .s1 { grid-column: span 1; }
  .dz .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz .stat:nth-child(3) { border-left: 0; } .dz .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dz .combo { grid-template-columns: 1fr; } .dz .rings { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: center; }
  .dz .row { grid-template-columns: 48px minmax(0, 1fr) auto 18px; } .dz .row .hide-t { display: none; }
  .dz .bento > .side.s1:last-child, .dz .bento > .sys.s1:last-child, .dz .bento > .imp.s1 { grid-column: 1 / -1; }
  .dz .imp .ibs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dz .imp .dbtn { align-self: flex-start; padding: 0 22px; }
  .dz .sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; } .dz .sys .dh { grid-column: 1 / -1; }
  .dz .side.center { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 20px; } .dz .side.center > svg { grid-row: span 2; }
}
/* Celular */
@media (max-width: 620px) {
  .dz .bento { grid-template-columns: 1fr; gap: 12px; } .dz .s1, .dz .s2, .dz .s3, .dz .s4 { grid-column: auto; }
  .dz .gt { flex-wrap: wrap; } .dz .gt h2 { white-space: nowrap; }
  .dz .gt .chips { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .dz .gt .chips .chip3 { flex: none; }
  .dz .dcard { padding: 16px; border-radius: 20px; }
  .dz .hero h1 { font-size: 1.15rem; margin-bottom: 10px; }
  .dz .hp { grid-template-areas: "txt ring" "week week"; column-gap: 12px; }
  .dz .ringw svg { width: 72px; height: 72px; } .dz .ringw span { font-size: .74rem; }
  .dz .week { justify-content: space-between; margin-top: 12px; gap: 4px; } .dz .week li { flex: 1; max-width: 42px; }
  .dz .week i { width: 100%; height: auto; aspect-ratio: 1; }
  .dz .certs { display: flex; align-items: center; gap: 12px; text-align: left; justify-content: flex-start; }
  .dz .certs .ct { flex: 1; min-width: 0; }
  .dz .certs .dbtn.ghost { padding: 0 14px; } .dz .certs .lg { display: none; }
  .dz .resume { grid-template-columns: 64px minmax(0, 1fr); } .dz .resume .th { width: 64px; height: 64px; }
  .dz .resume .dbtn { grid-column: 1 / -1; }
  .dz .cgrid { grid-template-columns: 1fr; gap: 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 4px 14px; }
  .dz .ccard { flex-direction: row; align-items: center; gap: 12px; border-radius: 0; box-shadow: none; background: none; padding: 12px 0; }
  .dz .ccard + .ccard { border-top: 1px solid var(--line); }
  .dz .ccard:hover { transform: none; }
  .dz .ccard .cover { flex: none; width: 56px; height: 56px; aspect-ratio: auto; border-radius: 14px; }
  .dz .ccard .cover .tag, .dz .ccard .cover .ring { display: none; }
  .dz .ccard .ring.ring-m { display: grid; position: static; box-shadow: none; width: 48px; height: 48px; flex: none; }
  .dz .hero .todo-2 { grid-template-columns: 1fr; } .dz .todo li { padding: 6px 6px 6px 12px; gap: 10px; } .dz .todo .t { font-size: .84rem; }
  .dz .side.center { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 16px; }
  .dz .side.center > svg { grid-row: span 2; width: 84px; height: 84px; }
  .dz .stat { padding: 14px 16px; } .dz .stat .val { font-size: 1.45rem; } .dz .stat .lbl { font-size: .78rem; } .dz .ico { width: 28px; height: 28px; }
  .dz .funnel li { grid-template-columns: minmax(0, 1fr) 40px 36px; } .dz .funnel .fb { grid-column: 1 / -1; grid-row: 2; height: 14px; }
  .dz .vbars { height: 150px; gap: 6px; } .dz .gsvg { max-width: 170px; }
  .dz .area { height: 90px; } .dz .hide-s { display: none; } .dz .rings svg { width: 96px; height: 96px; }
  .dz .rows { padding: 4px 12px; } .dz .row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; }
  .dz .row .thumb { width: 44px; height: 44px; } .dz .row > .ar { display: none; } .dz .row b { font-size: .9rem; }
  .dz .ccard .body { padding: 0; gap: 2px; flex: 1; min-width: 0; } .dz .ccard b { padding-right: 0; font-size: .92rem; } .dz .ccard .sub { font-size: .76rem; }
}
/* Botón «Ver los N cursos» (teléfono) */
.dz .more2 { display: none; }
@media (max-width: 620px) {
  .dz .sys { display: block; }
  .dz .imp .ibs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dz .imp .dbtn { align-self: stretch; }
  .dz .more2 { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 48px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--brand-2); font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; }
  .dz .dl-empty { display: none; }
  .dz .badges, .dz .wide .badges { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .dz .badge2 { padding: 10px 6px; } .dz .badge2 b { font-size: .74rem; }
  .dz .group { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .dz .ccard { transition: none; } .dz .ccard:hover { transform: none; } }

/* Ventana «Mis certificados» */
.dz-cert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dz-cert-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg); flex-wrap: wrap; }
.dz-cert-list li > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--warn-50); color: #b45309; flex: none; }
.dz-cert-list li > div { flex: 1; min-width: 180px; display: grid; } .dz-cert-list small { color: var(--ink-3); }
.dz-cert-list .btn { min-height: 44px; }
