/* ============================================================
   PH ACADEMY — hoja propia (assets/css/academy.css)
   Estética: negro profundo, oro metálico, plata, verde/rojo solo
   para dirección de precio. No depende de frameworks.
   ============================================================ */

.ac { --ac-line: rgba(212, 175, 55, .22); --ac-line-soft: rgba(192, 197, 204, .13); }
.ac-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ac a { color: inherit; }
.ac-sec { padding: clamp(40px, 6vw, 78px) 0; position: relative; }
.ac-sec--alt { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 60%); border-top: 1px solid rgba(255,255,255,.05); }
.ac-eyebrow { margin: 0 0 10px; font: 700 11.5px/1.4 Rajdhani, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--ph-gold-light); }
.ac-h2 { margin: 0 0 10px; font: italic 800 clamp(26px, 3.4vw, 42px)/1.04 "Exo 2", sans-serif; letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.ac-h2 .g, .ac-g { background: linear-gradient(180deg, #FFF3C4 0%, #FFD45A 38%, #D4AF37 66%, #FFE79A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-sub { margin: 0; max-width: 70ch; color: var(--ph-muted); font-size: 15.5px; line-height: 1.7; }
.ac-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }

/* ---------------------------------------------------------- HERO */
.ac-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 118px) 0 clamp(52px, 7vw, 86px); background: #050505; }
.ac-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(58% 62% at 50% 8%, rgba(212,175,55,.20), rgba(212,175,55,.05) 42%, transparent 68%),
  radial-gradient(90% 80% at 50% 110%, rgba(212,175,55,.08), transparent 60%),
  linear-gradient(180deg, #000 0%, #050505 55%, #080808 100%); }
.ac-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.035) 0 1px, transparent 1px 110px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.ac-hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.ac-hero-in { position: relative; text-align: center; }
.ac-kicker { margin: 0 0 18px; font: 700 11px/1.4 Rajdhani, sans-serif; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ac-mark { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 6px; margin-bottom: 18px; border: 1px solid rgba(212,175,55,.55); border-radius: 999px; background: rgba(5,5,5,.6); box-shadow: 0 0 26px rgba(212,175,55,.22), inset 0 0 18px rgba(212,175,55,.08); font: 700 11.5px/1 Rajdhani, sans-serif; letter-spacing: .34em; color: var(--ph-gold-light); text-transform: uppercase; }
.ac-mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--ph-gold-light); box-shadow: 0 0 8px #FFD45A; }
.ac-title { margin: 0; font: italic 800 clamp(46px, 9.4vw, 116px)/.9 "Exo 2", sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.ac-title .silver { background: linear-gradient(180deg, #FFFFFF 0%, #EFEFEF 30%, #B9BEC6 58%, #F7F7F7 78%, #8E949C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.65)) drop-shadow(0 0 26px rgba(255,255,255,.12)); }
.ac-title .gold { background: linear-gradient(180deg, #FFF6CF 0%, #FFD45A 34%, #D4AF37 58%, #8A6415 74%, #FFE79A 96%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(60,44,6,.9)) drop-shadow(0 0 30px rgba(212,175,55,.3)); }
.ac-tagline { margin: 14px 0 0; font: 700 clamp(10px, 1.2vw, 13px)/1.4 Rajdhani, sans-serif; letter-spacing: .4em; text-transform: uppercase; color: #D9DDE3; }
.ac-tagline b { color: var(--ph-gold); font-weight: 700; }
.ac-lead { margin: 22px auto 0; max-width: 62ch; color: #B9BEC6; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.75; }
.ac-lead strong { color: #fff; font-weight: 600; }
.ac-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.ac-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 34px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.08); }
.ac-facts li { font: 600 12px/1.4 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8F959E; }
.ac-facts b { color: var(--ph-gold-light); font-weight: 700; }

.ac-hero-note { margin: 18px auto 0; max-width: 76ch; font-size: 11.5px; line-height: 1.6; color: #6F7680; }

/* ---------------------------------------------------------- BOTONES */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 9px; border: 1px solid transparent; font: 700 13px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.ac-btn:hover { transform: translateY(-1px); }
.ac-btn--gold { background: linear-gradient(180deg, #FFD45A, #D4AF37 62%, #B58A1C); color: #0A0A0A; box-shadow: 0 14px 30px -16px rgba(212,175,55,.75), inset 0 1px 0 rgba(255,255,255,.4); }
.ac-btn--gold:hover { box-shadow: 0 18px 40px -16px rgba(212,175,55,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.ac-btn--ghost { background: rgba(255,255,255,.03); border-color: rgba(212,175,55,.4); color: #F2F2F2; }
.ac-btn--ghost:hover { background: rgba(212,175,55,.1); border-color: rgba(212,175,55,.75); }
.ac-btn--sm { min-height: 36px; padding: 8px 14px; font-size: 11.5px; }
.ac-btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------- DASHBOARD */
.ac-dash { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.ac-card { position: relative; padding: 22px; border: 1px solid var(--ac-line); border-radius: 14px; background: linear-gradient(160deg, #131313 0%, #0B0B0B 55%, #080808 100%); box-shadow: 0 22px 50px -30px #000; overflow: hidden; }
.ac-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,212,90,.55), transparent); opacity: .6; }
.ac-dash-main { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.ac-ring { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.ac-ring svg { transform: rotate(-90deg); }
.ac-ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ac-ring-txt b { font: 700 30px/1 Rajdhani, sans-serif; color: #fff; }
.ac-ring-txt span { font: 700 9.5px/1.4 Rajdhani, sans-serif; letter-spacing: .2em; color: #8F959E; text-transform: uppercase; }
.ac-dash-head { flex: 1 1 260px; min-width: 240px; }
.ac-dash-head h3 { margin: 0 0 4px; font: italic 800 22px/1.15 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-dash-head p { margin: 0 0 14px; color: var(--ph-muted); font-size: 13.5px; line-height: 1.6; }
.ac-dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.ac-dash-stats div { padding: 10px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.02); }
.ac-dash-stats b { display: block; font: 700 22px/1 Rajdhani, sans-serif; color: var(--ph-gold-light); }
.ac-dash-stats span { font: 600 10px/1.3 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8F959E; }
.ac-dash-side { display: grid; gap: 10px; align-content: start; }
.ac-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.02); text-decoration: none; transition: border-color .18s, background .18s; }
.ac-mini:hover { border-color: rgba(212,175,55,.5); background: rgba(212,175,55,.05); }
.ac-mini b { display: block; font: 600 13.5px/1.3 Inter, sans-serif; color: #EDEDED; }
.ac-mini small { display: block; font-size: 11px; color: #7F868F; margin-top: 2px; }
.ac-mini i { color: var(--ph-gold); font-style: normal; font-size: 16px; }
.ac-last { border: 1px dashed rgba(212,175,55,.35); }

/* ---------------------------------------------------------- NIVELES */
.ac-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ac-level { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 0; border: 1px solid var(--ac-line); border-radius: 14px; background: #0A0A0A; overflow: hidden; text-decoration: none; transition: transform .24s var(--ph-ease), border-color .24s, box-shadow .24s; }
.ac-level:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.55); box-shadow: 0 30px 60px -34px rgba(212,175,55,.45); }
.ac-level-art { position: relative; height: 132px; background: radial-gradient(70% 90% at 50% 100%, rgba(212,175,55,.18), transparent 70%), #070707; border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.ac-level-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ac-level-n { position: absolute; top: 10px; left: 12px; font: 800 34px/1 Rajdhani, sans-serif; color: rgba(255,255,255,.14); letter-spacing: -.02em; }
.ac-level-b { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ac-level-k { font: 700 9.5px/1.4 Rajdhani, sans-serif; letter-spacing: .24em; color: var(--ph-gold); text-transform: uppercase; }
.ac-level h3 { margin: 0; font: italic 800 19px/1.05 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-level h3 span { display: block; color: #B9BEC6; }
.ac-level p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: #8F959E; }
.ac-level-meta { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.06); font: 600 11px/1.3 Rajdhani, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #7F868F; }
.ac-level-meta b { color: var(--ph-gold-light); }
.ac-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.ac-bar i { display: block; height: 100%; background: linear-gradient(90deg, #92600D, #FFD45A); border-radius: 3px; }

/* ---------------------------------------------------------- MÓDULOS */
.ac-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ac-mod { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0A0A0A; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.ac-mod:hover { border-color: rgba(212,175,55,.5); background: #101010; transform: translateY(-2px); }
.ac-mod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ac-mod-id { font: 700 11px/1 Rajdhani, sans-serif; letter-spacing: .14em; color: var(--ph-gold); }
.ac-mod h3 { margin: 0; font: 600 16px/1.3 Inter, sans-serif; color: #F2F2F2; }
.ac-mod p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #8A9099; }
.ac-mod-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font: 600 10.5px/1 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #7F868F; }
.ac-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font: 700 9.5px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #A8AEB6; }
.ac-chip--gold { border-color: rgba(212,175,55,.45); color: var(--ph-gold-light); background: rgba(212,175,55,.07); }
.ac-chip--ok { border-color: rgba(53,208,127,.45); color: #6BE3A4; background: rgba(53,208,127,.07); }
.ac-chip--free { border-color: rgba(53,208,127,.45); color: #6BE3A4; }
.ac-chip--lock { border-color: rgba(192,197,204,.22); color: #9AA0A8; }
.ac-mod.is-locked { opacity: .78; }
.ac-mod.is-locked:hover { border-color: rgba(192,197,204,.3); }
.ac-mod.is-done { border-color: rgba(53,208,127,.35); }
.ac-tick { color: #35D07F; }

/* ---------------------------------------------------------- CANDADO */
.ac-lockbox { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid rgba(212,175,55,.3); border-radius: 14px; background: radial-gradient(80% 140% at 0% 0%, rgba(212,175,55,.12), transparent 60%), #0B0B0B; }
.ac-lockbox .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(212,175,55,.38); color: var(--ph-gold-light); background: rgba(212,175,55,.06); }
.ac-lockbox h3 { margin: 0 0 4px; font: italic 800 19px/1.2 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-lockbox p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #9AA0A8; }
.ac-lock-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------- LECCIÓN */
.ac-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 26px; align-items: start; }
.ac-side { position: sticky; top: 86px; display: grid; gap: 12px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.ac-side-card { padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0A0A0A; }
.ac-side-card h4 { margin: 0 0 10px; font: 700 10px/1.4 Rajdhani, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #7F868F; }
.ac-side-mod { font: italic 800 17px/1.1 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; margin: 0 0 2px; }
.ac-side-sub { font-size: 11.5px; color: #8A9099; margin: 0 0 12px; }
.ac-toc { display: grid; gap: 3px; }
.ac-toc a { display: flex; gap: 8px; align-items: flex-start; padding: 7px 8px; border-radius: 7px; font-size: 12.5px; line-height: 1.35; color: #A8AEB6; text-decoration: none; border: 1px solid transparent; }
.ac-toc a:hover { background: rgba(255,255,255,.04); color: #fff; }
.ac-toc a[aria-current] { background: rgba(212,175,55,.08); border-color: rgba(212,175,55,.3); color: #FFE29A; }
.ac-toc a i { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); font: 700 9.5px/1 Rajdhani, sans-serif; font-style: normal; color: #8A9099; }
.ac-toc a.is-done i { border-color: rgba(53,208,127,.5); color: #35D07F; }
.ac-prog { display: flex; align-items: center; gap: 10px; font: 600 10.5px/1 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8A9099; }
.ac-prog .ac-bar { flex: 1; }

.ac-lesson-head { padding: 26px 28px; border: 1px solid var(--ac-line); border-radius: 14px; background: radial-gradient(90% 120% at 100% 0%, rgba(212,175,55,.10), transparent 55%), #0B0B0B; }
.ac-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 600 10.5px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #7F868F; margin-bottom: 12px; }
.ac-crumb a { text-decoration: none; color: #A8AEB6; }
.ac-crumb a:hover { color: var(--ph-gold-light); }
.ac-lesson-head h1 { margin: 0 0 10px; font: italic 800 clamp(26px, 3.6vw, 40px)/1.05 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-lesson-head .obj { margin: 14px 0 0; padding: 13px 15px; border-left: 2px solid var(--ph-gold); background: rgba(212,175,55,.06); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.6; color: #D6D9DE; }
.ac-lesson-head .obj b { color: var(--ph-gold-light); font: 700 10px/1.4 Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.ac-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ac-lesson-body { margin-top: 18px; padding: clamp(20px, 3vw, 34px); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: #080808; }
.ac-prose { font-size: 15.5px; line-height: 1.8; color: #C6CBD2; }
.ac-prose h2 { margin: 30px 0 10px; font: 700 22px/1.25 Rajdhani, sans-serif; letter-spacing: .02em; color: #fff; }
.ac-prose h2:first-child { margin-top: 0; }
.ac-prose h3 { margin: 22px 0 8px; font: 700 17px/1.3 Rajdhani, sans-serif; color: #F0F0F0; }
.ac-prose p { margin: 0 0 14px; }
.ac-prose b, .ac-prose strong { color: #fff; font-weight: 600; }
.ac-prose ul { margin: 0 0 16px; padding-left: 20px; }
.ac-prose li { margin: 0 0 8px; }
.ac-prose li::marker { color: var(--ph-gold); }
.ac-intro { font-size: 17px; line-height: 1.75; color: #DDE0E5; margin: 0 0 22px; }

.ac-fig { margin: 24px 0; border: 1px solid rgba(212,175,55,.22); border-radius: 12px; background: #060606; overflow: hidden; }
.ac-fig-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.ac-fig-bar b { font: 700 12.5px/1.3 Rajdhani, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #E8EAEE; }
.ac-fig-bar button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; border: 1px solid rgba(212,175,55,.28); background: transparent; color: var(--ph-gold-light); font: 700 10px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ac-fig-bar button:hover { background: rgba(212,175,55,.1); }
.ac-fig .chart { padding: 6px 8px 0; }
.ac-fig figcaption { padding: 10px 14px 14px; font-size: 12.5px; line-height: 1.6; color: #8F959E; border-top: 1px solid rgba(255,255,255,.05); }
.ac-svg { width: 100%; height: auto; display: block; }

.ac-quote { margin: 26px 0; padding: 22px 24px 22px 26px; border-left: 2px solid var(--ph-gold); background: linear-gradient(90deg, rgba(212,175,55,.09), transparent 70%); font: italic 600 19px/1.5 "Exo 2", sans-serif; color: #FFE29A; }
.ac-quote small { display: block; margin-top: 6px; font: 600 11px/1.4 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #8F959E; font-style: normal; }

.ac-box { margin: 20px 0; padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.02); }
.ac-box h4 { margin: 0 0 8px; font: 700 11px/1.4 Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.ac-box p, .ac-box li { font-size: 14px; line-height: 1.7; color: #C6CBD2; }
.ac-box ul { margin: 0; padding-left: 18px; }
.ac-box--ex { border-color: rgba(212,175,55,.28); background: rgba(212,175,55,.05); }
.ac-box--ex h4 { color: var(--ph-gold-light); }
.ac-box--risk { border-color: rgba(229,72,77,.3); background: rgba(229,72,77,.05); }
.ac-box--risk h4 { color: #FF8A8E; }
.ac-box--warn { border-color: rgba(255,180,90,.28); background: rgba(255,180,90,.04); }
.ac-box--warn h4 { color: #FFC46B; }
.ac-box--ok { border-color: rgba(53,208,127,.3); background: rgba(53,208,127,.05); }
.ac-box--ok h4 { color: #6BE3A4; }
.ac-box--err h4 { color: #FF9A9E; }

.ac-summary { margin: 26px 0; padding: 18px 20px; border: 1px solid rgba(53,208,127,.25); border-radius: 10px; background: rgba(53,208,127,.04); }
.ac-summary h4 { margin: 0 0 8px; color: #6BE3A4; font: 700 11px/1.4 Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.ac-summary ul { margin: 0; padding-left: 18px; }
.ac-summary li { font-size: 14px; line-height: 1.65; color: #C6CBD2; margin-bottom: 6px; }

/* ---------------------------------------------------------- QUIZ */
.ac-quiz { margin: 30px 0 0; padding: 22px; border: 1px solid rgba(212,175,55,.3); border-radius: 12px; background: linear-gradient(160deg, #101010, #080808); }
.ac-quiz h3 { margin: 0 0 4px; font: italic 800 20px/1.2 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-quiz > p { margin: 0 0 18px; font-size: 13px; color: #8A9099; }
.ac-q { margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ac-q:last-of-type { border-bottom: 0; }
.ac-q p.qt { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: #EDEDED; }
.ac-opt { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 10px 12px; margin-bottom: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.02); color: #C6CBD2; font-size: 13.5px; line-height: 1.5; cursor: pointer; transition: border-color .16s, background .16s; }
.ac-opt:hover { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.05); }
.ac-opt i { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); font: 700 9.5px/1 Rajdhani, sans-serif; font-style: normal; }
.ac-opt.ok { border-color: rgba(53,208,127,.55); background: rgba(53,208,127,.08); color: #D6F5E4; }
.ac-opt.ok i { border-color: #35D07F; color: #35D07F; }
.ac-opt.bad { border-color: rgba(229,72,77,.55); background: rgba(229,72,77,.08); color: #F5D6D7; }
.ac-opt.bad i { border-color: #E5484D; color: #E5484D; }
.ac-opt[disabled] { cursor: default; }
.ac-fb { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: #9AA0A8; display: none; }
.ac-fb.on { display: block; }
.ac-fb b { color: #FFD45A; }
.ac-quiz-res { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font: 600 12px/1.4 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8F959E; }
.ac-quiz-res b { color: var(--ph-gold-light); font-size: 15px; }

.ac-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.ac-done { display: inline-flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------- CALCULADORA */
.ac-calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin: 22px 0; padding: 22px; border: 1px solid rgba(212,175,55,.3); border-radius: 14px; background: radial-gradient(80% 120% at 100% 0%, rgba(212,175,55,.1), transparent 55%), #0A0A0A; }
.ac-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-field label { display: block; margin-bottom: 5px; font: 700 10px/1.4 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8A9099; }
.ac-field input, .ac-field select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: #050505; color: #fff; font: 600 14px/1.4 Inter, sans-serif; }
.ac-field input:focus, .ac-field select:focus { outline: none; border-color: rgba(212,175,55,.65); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.ac-field small { display: block; margin-top: 4px; font-size: 10.5px; color: #6F7680; }
.ac-out { display: grid; gap: 8px; align-content: start; padding: 14px; border: 1px dashed rgba(212,175,55,.32); border-radius: 10px; background: rgba(0,0,0,.35); }
.ac-out div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ac-out div:last-child { border-bottom: 0; padding-bottom: 0; }
.ac-out span { font: 700 10.5px/1.3 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8A9099; }
.ac-out b { font: 700 20px/1 Rajdhani, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.ac-out b.neg { color: #FF8A8E; }
.ac-out b.pos { color: #6BE3A4; }
.ac-out small { display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.5; color: #6F7680; }

/* tabla */
.ac-tablewrap { overflow-x: auto; margin: 18px 0; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ac-table th, .ac-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
.ac-table th { font: 700 10.5px/1.3 Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-gold-light); background: rgba(212,175,55,.06); }
.ac-table td { color: #C6CBD2; }
.ac-table tr:last-child td { border-bottom: 0; }
.ac-table td.num, .ac-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- PLAYBOOK */
.ac-pb-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #0A0A0A; margin-bottom: 18px; }
.ac-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: #050505; min-height: 42px; }
.ac-search input { flex: 1; border: 0; background: transparent; color: #fff; font: 500 14px/1.4 Inter, sans-serif; outline: none; }
.ac-search svg { color: #7F868F; flex: 0 0 auto; }
.ac-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-pill { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.13); background: transparent; color: #A8AEB6; font: 700 10.5px/1 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ac-pill:hover { border-color: rgba(212,175,55,.5); color: #FFE29A; }
.ac-pill.on { background: rgba(212,175,55,.14); border-color: rgba(212,175,55,.6); color: #FFE29A; }
.ac-count { font: 600 11px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7F868F; }
.ac-pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ac-pb-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #080808; overflow: hidden; transition: border-color .2s, transform .2s; }
.ac-pb-card:hover { border-color: rgba(212,175,55,.45); transform: translateY(-2px); }
.ac-pb-chart { position: relative; background: #050505; border-bottom: 1px solid rgba(255,255,255,.05); cursor: zoom-in; }
.ac-pb-chart svg { display: block; width: 100%; height: auto; }
.ac-pb-zoom { position: absolute; right: 8px; top: 8px; padding: 4px 7px; border-radius: 5px; background: rgba(0,0,0,.6); border: 1px solid rgba(212,175,55,.3); color: var(--ph-gold-light); font: 700 9px/1 Rajdhani, sans-serif; letter-spacing: .1em; }
.ac-pb-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ac-pb-b h3 { margin: 0; font: 600 14.5px/1.35 Inter, sans-serif; color: #F2F2F2; }
.ac-pb-b p { margin: 0; font-size: 12px; line-height: 1.55; color: #8A9099; }
.ac-pb-b a { margin-top: auto; padding-top: 8px; font: 700 10.5px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ph-gold); text-decoration: none; }
.ac-pb-b a:hover { color: #FFE29A; }
.ac-empty { padding: 40px 20px; text-align: center; color: #8A9099; font-size: 14px; border: 1px dashed rgba(255,255,255,.12); border-radius: 12px; }

/* lightbox */
.ac-lb { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(0,0,0,.94); }
.ac-lb.on { display: grid; grid-template-rows: auto 1fr auto; }
.ac-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ac-lb-top b { font: 700 13px/1.3 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #E8EAEE; }
.ac-lb-tools { display: flex; gap: 6px; }
.ac-lb-tools button { min-width: 34px; height: 32px; padding: 0 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: #111; color: #E8EAEE; font: 700 12px/1 Rajdhani, sans-serif; cursor: pointer; }
.ac-lb-tools button:hover { border-color: rgba(212,175,55,.55); color: #FFD45A; }
.ac-lb-stage { overflow: auto; display: grid; place-items: center; padding: 18px; }
.ac-lb-stage .inner { transition: transform .18s; transform-origin: center; max-width: 1200px; width: 100%; }
.ac-lb-stage svg { width: 100%; height: auto; }
.ac-lb-cap { padding: 10px 18px 16px; text-align: center; font-size: 12.5px; color: #9AA0A8; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------------------------------------------------------- PRESENCIAL */
.ac-pres { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(212,175,55,.38); border-radius: 16px; background: radial-gradient(70% 140% at 100% 0%, rgba(212,175,55,.18), transparent 60%), linear-gradient(160deg, #141414, #080808); }
.ac-pres::after { content: "PH"; position: absolute; right: -6px; bottom: -46px; font: italic 800 200px/1 "Exo 2", sans-serif; color: rgba(255,255,255,.025); pointer-events: none; }
.ac-pres h2 { margin: 0 0 8px; font: italic 800 clamp(22px, 3vw, 34px)/1.05 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-pres p { margin: 0 0 8px; max-width: 66ch; font-size: 14.5px; line-height: 1.65; color: #C6CBD2; }
.ac-pres .micro { margin: 0 0 18px; font-size: 11.5px; color: #8A9099; }
.ac-pres .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------------------------------------------------------- CERTIFICADO */
.ac-cert { display: grid; grid-template-columns: 1fr 420px; gap: 22px; align-items: center; padding: 24px; border: 1px solid rgba(192,197,204,.2); border-radius: 14px; background: linear-gradient(160deg, #101010, #070707); }
.ac-cert h3 { margin: 0 0 8px; font: italic 800 24px/1.1 "Exo 2", sans-serif; text-transform: uppercase; color: #fff; }
.ac-cert p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.65; color: #A8AEB6; max-width: 62ch; }
.ac-cert .fine { font-size: 11px; color: #6F7680; }
.ac-cert-prev { border-radius: 8px; overflow: hidden; background: #050505; box-shadow: 0 20px 50px -30px #000; }
.ac-cert-prev canvas { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------- GLOSARIO */
.ac-gl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.ac-gl-item { padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.02); }
.ac-gl-item dt { font: 700 14px/1.3 Rajdhani, sans-serif; letter-spacing: .04em; color: var(--ph-gold-light); }
.ac-gl-item dd { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: #B9BEC6; }
.ac-gl-item small { display: block; margin-top: 6px; font-size: 10.5px; color: #6F7680; }

/* ---------------------------------------------------------- FOOT NOTA */
.ac-note { margin: 20px 0 0; font-size: 11.5px; line-height: 1.65; color: #6F7680; }
.ac-note a { color: #9AA0A8; }

/* ---------------------------------------------------------- RESPONSIVE */
@media (max-width: 1020px) {
  .ac-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-mods, .ac-pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-dash { grid-template-columns: 1fr; }
  .ac-layout { grid-template-columns: 1fr; }
  .ac-side { position: static; max-height: none; order: -1; }
  .ac-cert { grid-template-columns: 1fr; }
  .ac-cert-prev { max-width: 380px; }
}
@media (max-width: 720px) {
  .ac-wrap { width: calc(100% - 28px); }
  .ac-levels { grid-template-columns: 1fr; }
  .ac-level { min-height: 0; }
  .ac-mods, .ac-pb-grid, .ac-gl { grid-template-columns: 1fr; }
  .ac-dash-main { gap: 16px; }
  .ac-dash-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-dash-stats b { font-size: 18px; }
  .ac-lockbox { grid-template-columns: 1fr; }
  .ac-calc { grid-template-columns: 1fr; }
  .ac-fields { grid-template-columns: 1fr; }
  .ac-hero { padding-top: 48px; }
  .ac-title { font-size: clamp(40px, 13vw, 64px); }
  .ac-tagline { letter-spacing: .24em; }
  .ac-lesson-head { padding: 20px; }
  .ac-lesson-body { padding: 18px; }
  .ac-prose { font-size: 15px; }
  .ac-quote { font-size: 16px; padding: 18px; }
  .ac-facts { gap: 8px 18px; }
  .ac-facts li { font-size: 10.5px; }
  .ac-lb-stage { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ac * { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------- FICHAS DE PATRONES */
.ac-fichas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.ac-ficha { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #080808; overflow: hidden; }
.ac-ficha .chart { padding: 4px 4px 0; background: #050505; }
.ac-ficha-b { padding: 10px 14px 14px; display: grid; gap: 8px; }
.ac-ficha h3 { margin: 0; font: 700 15px/1.25 Rajdhani, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #FFD45A; }
.ac-ficha dl { margin: 0; display: grid; gap: 6px; }
.ac-ficha dt { font: 700 10px/1.3 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #7F868F; }
.ac-ficha dd { margin: 0; font-size: 12.5px; line-height: 1.55; color: #C6CBD2; }
@media (max-width: 760px) { .ac-fichas { grid-template-columns: 1fr; } }

/* ajustes de legibilidad del hero (QA) */
.ac-hero-art { -webkit-mask-image: radial-gradient(120% 100% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(120% 100% at 50% 45%, #000 55%, transparent 100%); }
.ac-facts li { font-size: 12.5px; color: #A8AEB6; }
.ac-facts b { font-size: 13.5px; }
.ac-hero-note { color: #8A9099; font-size: 12px; }
.ac-btn--gold { color: #0A0A0A !important; }
.ac-continue { margin: 14px 0 0; }
.ac-continue a { font: 700 11.5px/1 Rajdhani, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-gold-light); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,.4); padding-bottom: 3px; }
.ac-continue a:hover { color: #FFE79A; border-color: rgba(212,175,55,.8); }
@media (max-width: 720px) { .ac-ctas .ac-btn { width: 100%; max-width: 340px; } }
.ac-hero { background: linear-gradient(180deg, #050505 0%, #050505 100%); }
.ac-level.is-locked .ac-level-art { filter: grayscale(.55) brightness(.8); }
.ac-level.is-locked:hover { border-color: rgba(192,197,204,.3); box-shadow: none; }
.ac-level-lock { position: absolute; top: 12px; right: 12px; color: #A8AEB6; }
.ac-level h3 { min-height: 3.1em; }
@media (max-width: 720px) { .ac-level h3 { min-height: 0; } }
/* legibilidad y medida de línea (QA 1440) */
.ac-prose { max-width: 74ch; }
.ac-crumb { font-size: 11.5px; color: #8A9099; }
.ac-side-card h4 { font-size: 10.5px; }
.ac-level-k { font-size: 10.5px; }
.ac-chip { font-size: 10px; }
.ac-fig-bar b { font-size: 13px; }
.ac-dash-stats span { font-size: 10.5px; }
.ac-lesson-head h1 { letter-spacing: -.005em; }
/* playbook: miniaturas legibles y textos sin cortes */
.ac-pb-b h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ac-pb-b p.ac-pb-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-pb-chart .ac-svg .ac-ax, .ac-pb-chart .ac-svg .ac-wm { display: none; }
.ac-pb-chart .ac-svg text { font-size: 13.5px; }
.ac-pb-chart .ac-svg rect[rx="1"] { }
/* lightbox sólido */
.ac-lb { background: #050505; }
.ac-lb-stage .inner { background: #080808; border: 1px solid rgba(212,175,55,.16); border-radius: 10px; padding: 10px; }
.ac-filtergroup { display: flex; align-items: center; gap: 8px; }
.ac-flabel { font: 700 9px/1 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6F7680; }
@media (max-width: 900px) { .ac-filtergroup { flex-wrap: wrap; } }
@media (max-width: 1020px) {
  .ac-side { order: 1; }
  .ac-lesson { order: 0; }
}
@media (max-width: 720px) {
  .ac-mark { display: none; }
  .ac-lead { max-width: 36ch; padding: 0 6px; }
  .ac-lead strong { display: block; margin-bottom: 8px; }
}
/* hero: promesa y cierre (QA 8,5) */
.ac-promise { margin: 18px auto 0; max-width: 30ch; font: italic 800 clamp(20px, 2.4vw, 30px)/1.18 "Exo 2", sans-serif; letter-spacing: -.005em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.ac-promise .g { background: linear-gradient(180deg,#FFF3C4,#FFD45A 45%,#D4AF37 75%,#FFE79A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-lead { margin-top: 14px; color: #9AA0A8; font-size: 15px; max-width: 58ch; }
.ac-hero::after { mask-image: none; -webkit-mask-image: none; opacity: 1; background: linear-gradient(180deg, transparent 82%, rgba(5,5,5,.85) 96%, #050505 100%); }
.ac-level h3 span { font-size: .62em; letter-spacing: .02em; margin-top: 4px; color: #9AA0A8; font-style: normal; font-weight: 600; }
.ac-level-k { color: #FFD45A; }
.ac-promise { font: 600 clamp(18px, 2.05vw, 25px)/1.42 Inter, ui-sans-serif, sans-serif; font-style: normal; text-transform: none; letter-spacing: 0; max-width: 46ch; color: #E8EAEE; }
.ac-promise .g { font-weight: 700; }
.ac-pb-zoom { top: auto; bottom: 8px; right: 8px; background: rgba(0,0,0,.78); }

/* ============================================================
   AUDITORÍA DIAGRAMAS + PORTADA (2026-12-03)
   ============================================================ */

/* 1) Portada: métricas con más peso y contraste */
.ac-facts { gap: 12px 38px; margin-top: 30px; padding-top: 22px; border-top-color: rgba(212,175,55,.22); }
.ac-facts li { display: inline-flex; align-items: baseline; gap: 9px; font: 700 12px/1.2 Rajdhani, sans-serif; letter-spacing: .16em; color: #A9AFB8; }
.ac-facts b { font: 800 clamp(24px, 2.4vw, 31px)/1 Rajdhani, sans-serif; letter-spacing: -.01em; color: #FFD45A; text-shadow: 0 0 22px rgba(212,175,55,.35); }

/* 2) Portada: jerarquía de textos más compacta */
.ac-tagline { margin-top: 10px; letter-spacing: .34em; color: #C9CED6; }
.ac-promise { margin-top: 14px; max-width: 42ch; font-size: clamp(17px, 1.85vw, 23px); line-height: 1.35; }
.ac-lead { margin-top: 12px; max-width: 60ch; font-size: 15px; color: #9EA4AD; }
.ac-ctas { margin-top: 24px; }
.ac-hero-note { margin-top: 16px; }

@media (max-width: 720px) {
  .ac-facts { gap: 10px 20px; }
  .ac-facts b { font-size: 21px; }
  .ac-facts li { font-size: 10.5px; letter-spacing: .1em; }
}

/* 3) Lección a 1440: aprovechar el ancho libre de la columna */
@media (min-width: 1080px) {
  .ac-lesson-body.ac-prose { max-width: none; }
  .ac-lesson-body > p, .ac-lesson-body > ul, .ac-lesson-body > .ac-intro,
  .ac-lesson-body > h2, .ac-lesson-body > h3 { max-width: 86ch; }
  .ac-lesson-body .ac-fig, .ac-lesson-body .ac-fichas, .ac-lesson-body .ac-cards { max-width: none; }
  .ac-fichas { gap: 16px; }
}

/* 4) Botón flotante de Soporte: que no tape contenido */
body footer { padding-bottom: 88px; }
body .tg-float { height: 46px; padding: 0 16px 0 13px; font-size: 13.5px; bottom: calc(14px + env(safe-area-inset-bottom)); }
@media (max-width: 900px) {
  body footer { padding-bottom: 78px; }
  body .tg-float { height: 40px; padding: 0 13px 0 11px; font-size: 12.5px; }
}

/* portada: linea de metrica que no corta las velas y velas sin base perfecta */
.ac-facts { position: relative; border-top: 0; }
.ac-facts::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(760px, 92%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.45) 18%, rgba(212,175,55,.45) 82%, transparent); }
.ac-facts li { font-size: 13px; color: #B9BEC6; }
.ac-hero { padding-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 720px) { .ac-facts li { font-size: 11px; } }

/* ===== Playbook · ajuste de proporciones (4-dic): mismo ancho que la cabecera, hero centrado,
   textos secundarios más grandes y fichas uniformes. Solo afecta a #playbook. ===== */
#playbook { padding-top: 40px !important; }
#playbook .ac-wrap { width: min(1340px, 100% - 90px); }
#playbook .ac-eyebrow, #playbook .ac-h2 { text-align: center; }
#playbook .ac-eyebrow { font-size: 12.5px; margin-bottom: 12px; }
#playbook .ac-h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 14px; }
#playbook .ac-sub { margin: 0 auto 28px !important; max-width: 760px; text-align: center; font-size: 16.5px; line-height: 1.65; }
#playbook .ac-pb-tools { padding: 16px 18px; gap: 12px 18px; margin-bottom: 24px; }
#playbook .ac-search { flex: 1 1 100%; min-height: 46px; }
#playbook .ac-search input { font-size: 15px; }
#playbook .ac-filtergroup { gap: 10px; }
#playbook .ac-flabel { font-size: 11.5px; color: #9AA0A8; min-width: 46px; }
#playbook .ac-pill { padding: 9px 15px; font-size: 12.5px; }
#playbook .ac-count { margin-left: auto; font-size: 12.5px; color: #A8AEB6; }
#playbook .ac-pb-grid { gap: 20px; }
#playbook .ac-pb-b { padding: 14px 16px 16px; gap: 8px; }
#playbook .ac-pb-b h3 { font-size: 16px; line-height: 1.35; }
#playbook .ac-pb-b p.ac-pb-desc { font-size: 13.5px; line-height: 1.55; color: #9AA0A8; min-height: 4.65em; }
#playbook .ac-pb-b a { font-size: 12px; }
#playbook .ac-pb-zoom { font-size: 11px; padding: 5px 9px; }
#playbook .ac-note { text-align: center; font-size: 12.5px; margin-top: 28px; }
@media (max-width: 900px) {
  #playbook .ac-wrap { width: calc(100% - 50px); }
  #playbook { padding-top: 28px !important; }
}
@media (max-width: 900px) {
  #playbook .ac-pb-tools { padding: 12px; gap: 10px; }
  #playbook .ac-filtergroup { flex-wrap: nowrap; width: 100%; min-width: 0; }
  #playbook .ac-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 24px 2px 0;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  #playbook .ac-filters::-webkit-scrollbar { display: none; }
  #playbook .ac-pill { flex: 0 0 auto; }
  #playbook .ac-count { margin-left: 0; }
}
@media (max-width: 640px) {
  #playbook .ac-wrap { width: calc(100% - 32px); }
  #playbook { padding-bottom: 96px; }
  #playbook .ac-h2 { font-size: 30px; }
  #playbook .ac-sub { font-size: 15px; margin-bottom: 20px !important; }
  #playbook .ac-pill { padding: 9px 13px; font-size: 12px; }
  #playbook .ac-pb-grid { gap: 16px; }
  #playbook .ac-pb-b h3 { min-height: 0; }
  #playbook .ac-pb-b p.ac-pb-desc { min-height: 0; }
}
#playbook .ac-pb-b h3 { text-wrap: balance; }

/* temario visible en los módulos para socios (4-dic) */
.ac-syl-obj{color:#cfcfcf;margin:0 0 14px;line-height:1.55}
.ac-syl-obj b{color:#E9D9A8}
.ac-syl-list{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}
.ac-syl-list li{display:grid;gap:4px;padding:14px 16px;border:1px solid rgba(212,175,55,.18);border-radius:10px;background:rgba(255,255,255,.015)}
.ac-syl-list li.is-cur{border-color:rgba(212,175,55,.55);background:rgba(212,175,55,.06)}
.ac-syl-list .n{font:700 11px/1 var(--ph-font-heading,inherit);letter-spacing:.14em;text-transform:uppercase;color:#D4AF37}
.ac-syl-list b{color:#fff;font-size:16px}
.ac-syl-list small{color:#bdbdbd;font-size:14px;line-height:1.5}
.ac-syl-list em{font-style:normal;font-size:12px;color:#9a9a9a}
.ac-hist{display:block}
.ac-hist summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none}
.ac-hist summary::-webkit-details-marker{display:none}
.ac-hist summary span{flex:1}
.ac-hist[open] summary i{transform:rotate(90deg)}
.ac-hist ul{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px solid rgba(212,175,55,.18);display:grid;gap:8px}
.ac-hist ul a{color:#E9D9A8;font-size:13px;text-decoration:none}
.ac-hist ul a:hover{color:#FFD45A}
