:root{
  --bg:#130f24;
  --panel:rgba(255,255,255,.09);
  --panel-strong:rgba(255,255,255,.14);
  --text:#f7f3ff;
  --muted:#c8bfdc;
  --line:rgba(255,255,255,.16);
  --accent:#ffb86c;
  --accent2:#9d7cff;
  --ok:#8bf0c5;
  --danger:#ff8799;
  --shadow:0 24px 80px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at 20% 20%,#44316c 0,#1a1430 35%,#0f0b1d 100%);color:var(--text)}
body{overflow-x:hidden}.aurora{position:fixed;inset:-20%;background:radial-gradient(circle at 20% 10%,rgba(255,184,108,.26),transparent 28%),radial-gradient(circle at 80% 22%,rgba(157,124,255,.25),transparent 30%),radial-gradient(circle at 50% 85%,rgba(139,240,197,.15),transparent 34%);filter:blur(20px);z-index:-1}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid var(--line);backdrop-filter:blur(18px);background:rgba(9,7,17,.36);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:.8rem;color:var(--text);text-decoration:none;font-family:Jost,Inter,system-ui,sans-serif;font-weight:400;letter-spacing:.13em;text-transform:uppercase}.brand-isotype{display:block;width:46px;height:46px;object-fit:contain;flex:0 0 46px}.brand-name{line-height:1.12;font-size:.92rem;white-space:nowrap}nav{display:flex;align-items:center;gap:1rem}nav a{color:var(--text);text-decoration:none;font-weight:700;opacity:.88}nav a:hover{opacity:1}.page{width:min(1180px,92vw);margin:0 auto;padding:48px 0 76px}.footer{color:var(--muted);border-top:1px solid var(--line);padding:24px 5vw;text-align:center;background:rgba(9,7,17,.28)}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}.card{background:var(--panel);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);backdrop-filter:blur(22px)}.hero-card{padding:42px}.mini-card{padding:24px}.kicker{color:var(--accent);font-weight:800;letter-spacing:.16em;text-transform:uppercase;font-size:.78rem}.h1{font-size:clamp(2.2rem,5vw,4.7rem);line-height:.97;margin:14px 0 18px;letter-spacing:-.08em}.h2{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.05;margin:0 0 14px;letter-spacing:-.05em}.lead{color:var(--muted);font-size:1.12rem;line-height:1.75}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:13px 18px;font-weight:800;text-decoration:none;cursor:pointer;transition:.2s transform,.2s opacity;min-height:48px}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--accent),#ff8f70);color:#241424}.btn-secondary{background:rgba(255,255,255,.12);color:var(--text);border:1px solid var(--line)}.btn-danger{background:rgba(255,135,153,.15);color:#ffd3da;border:1px solid rgba(255,135,153,.32)}.grid{display:grid;gap:18px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:22px}.stat-num{font-size:2rem;font-weight:900;letter-spacing:-.05em}.muted{color:var(--muted)}.pill{display:inline-flex;border:1px solid var(--line);background:rgba(255,255,255,.08);padding:7px 11px;border-radius:999px;color:var(--muted);font-size:.87rem;font-weight:700}.form{display:grid;gap:16px}.field label{display:block;font-weight:800;margin-bottom:7px}.input{width:100%;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.09);color:var(--text);padding:14px 15px;font:inherit;outline:none}.input:focus{border-color:rgba(255,184,108,.7);box-shadow:0 0 0 4px rgba(255,184,108,.12)}.alert{padding:14px 16px;border-radius:18px;background:rgba(255,135,153,.13);border:1px solid rgba(255,135,153,.28);color:#ffe3e7}.success{background:rgba(139,240,197,.12);border-color:rgba(139,240,197,.25);color:#dcfff2}.test-shell{display:grid;grid-template-columns:280px 1fr;gap:22px;align-items:start}.progress-panel{position:sticky;top:96px;padding:22px}.progress-bar{height:12px;background:rgba(255,255,255,.11);border-radius:99px;overflow:hidden;border:1px solid var(--line);margin:14px 0}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--accent),var(--accent2));border-radius:inherit}.question-card{padding:32px}.question-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.question-text{font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 28px}.scale{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.scale-option{position:relative}.scale-option input{position:absolute;opacity:0}.scale-option span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:72px;border:1px solid var(--line);background:rgba(255,255,255,.08);border-radius:18px;font-weight:900;cursor:pointer}.scale-option input:checked+span{background:linear-gradient(135deg,rgba(255,184,108,.92),rgba(157,124,255,.88));border-color:rgba(255,255,255,.35);color:#fff;box-shadow:0 16px 42px rgba(0,0,0,.22)}.test-nav{display:flex;justify-content:space-between;gap:12px;margin-top:28px}.hidden{display:none!important}.table-wrap{overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;-webkit-overflow-scrolling:touch;border-radius:22px;border:1px solid var(--line)}.table-wrap>table{min-width:920px}table{border-collapse:collapse;width:100%;background:rgba(255,255,255,.06)}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:#fff;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;background:rgba(255,255,255,.08)}td{color:var(--muted)}.bars{display:grid;gap:12px}.score-row{display:grid;grid-template-columns:170px 1fr 60px;gap:12px;align-items:center}.bar{height:12px;background:rgba(255,255,255,.11);border-radius:99px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--accent2));border-radius:inherit}.result-hero{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px}.big-result{padding:32px}.result-type{font-size:clamp(2rem,4vw,3.5rem);font-weight:900;letter-spacing:-.07em;line-height:1}.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}@media(max-width:860px){.hero,.test-shell,.result-hero{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr}.progress-panel{position:relative;top:auto}.scale{grid-template-columns:1fr}.topbar{height:auto;padding:18px 5vw;align-items:flex-start;gap:14px;flex-direction:column}nav{flex-wrap:wrap}.score-row{grid-template-columns:1fr}.h1{font-size:2.55rem}}

.check-row{display:flex;gap:.7rem;align-items:flex-start;margin:.7rem 0 1rem;color:var(--muted);font-size:.95rem;line-height:1.45}
.check-row input{margin-top:.22rem;accent-color:#8b5cf6}
.small-note{font-size:.92rem;margin-top:1rem}

.stage-card{
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:18px;
  padding:18px 20px;
  margin-bottom:22px;
}
.stage-card p{margin:8px 0 0;color:var(--muted);line-height:1.5;}
.stage-mini{
  margin:14px 0 12px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  color:var(--text);
  line-height:1.35;
}
.resume-box{
  margin:16px 0;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.12);
}
.resume-box p{margin:6px 0 8px;}
.btn-full{display:flex;justify-content:center;width:100%;box-sizing:border-box;margin-top:10px;}


/* v1.0 landing explanation */
.hero-informed{align-items:stretch;}
.intro-card{padding:30px;}
.intro-card .h2{margin-top:12px;}
.intro-card p{line-height:1.6;}
.soft-pill{background:rgba(255,184,108,.11);color:#ffd8ac;border-color:rgba(255,184,108,.28);}
.intro-list{display:grid;gap:14px;margin:20px 0;}
.intro-item{display:grid;grid-template-columns:38px 1fr;gap:13px;align-items:start;padding:14px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);}
.intro-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,var(--accent),var(--accent2));font-weight:900;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.18);}
.intro-item strong{display:block;color:#fff;margin-bottom:4px;}
.intro-item p{margin:0;color:var(--muted);font-size:.95rem;}
.notice-box{margin-top:18px;padding:16px 17px;border-radius:18px;background:rgba(255,135,153,.10);border:1px solid rgba(255,135,153,.22);}
.notice-box strong{color:#ffe3e7;}
.notice-box p{margin:7px 0 0;color:#ffd9df;font-size:.93rem;}
.question-card .question-text{margin-top:4px;}

/* v1.2 contrast A/B question format */
.contrast-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:18px 0 20px;
}
.contrast-card{
  position:relative;
  display:grid;
  grid-template-columns:44px 1fr;
  gap:14px;
  align-items:start;
  min-height:118px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}
.contrast-badge{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:16px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}
.contrast-card p{
  margin:0;
  color:#fff;
  font-size:1.04rem;
  line-height:1.48;
  font-weight:750;
}
.contrast-scale{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-top:8px;
}
.contrast-option{position:relative;}
.contrast-option input{position:absolute;opacity:0;}
.contrast-option span{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:72px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  border-radius:18px;
  font-weight:900;
  cursor:pointer;
  padding:10px;
}
.contrast-option small{font-size:.82rem;line-height:1.25;}
.contrast-option input:checked+span{
  background:linear-gradient(135deg,rgba(255,184,108,.92),rgba(157,124,255,.88));
  border-color:rgba(255,255,255,.35);
  color:#fff;
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}
@media(max-width:860px){
  .contrast-grid,.contrast-scale{grid-template-columns:1fr;}
  .contrast-card{min-height:auto;}
}

/* v1.5 adaptive instinct/subtype flow */
.triple-grid{grid-template-columns:repeat(3,1fr);}
.triple-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px;}
.triple-choice .contrast-option span{min-height:96px;align-items:center;}
.triple-choice .contrast-option small{font-size:.9rem;line-height:1.35;}
@media(max-width:860px){.triple-grid,.triple-choice{grid-template-columns:1fr;}}

/* v2.0 profile engine — responsive report */
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.report-card{min-width:0}
.report-card .h2{font-size:clamp(1.45rem,2.2vw,2rem);margin-top:8px}
.leader-list,.strategy-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.stack-code{font-size:clamp(2rem,5vw,3.2rem);font-weight:900;letter-spacing:.08em;margin:.5rem 0}
.ranking-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}
.ranking-list li{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}
.ranking-list li span{min-width:0}
.strategy-chip{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid var(--line)}
.strategy-chip small{color:var(--muted)}
@media(max-width:900px){.report-grid{grid-template-columns:1fr}.page{width:min(100% - 28px,1180px);padding-top:28px}.big-result,.mini-card{padding:22px}.actions .btn,.actions form,.actions form .btn{width:100%}}
@media(max-width:560px){.topbar{padding:14px 18px}.page{width:min(100% - 20px,1180px)}.card{border-radius:22px}.result-type{font-size:2.1rem}.score-row{gap:7px}.ranking-list li{align-items:flex-start}.footer{font-size:.85rem;padding:20px 18px}.pill{white-space:normal}.btn{width:100%}}

/* v2.1 complete interpretation */
.narrative-report p,.report-card p{line-height:1.72}.axis-list{display:grid;gap:22px}.axis-labels{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}.axis-labels span:last-child{text-align:right}.axis-track{height:12px;background:linear-gradient(90deg,rgba(157,124,255,.35),rgba(255,255,255,.12),rgba(255,184,108,.35));border-radius:99px;position:relative;margin:10px 0}.axis-track i{position:absolute;top:-5px;width:4px;height:22px;border-radius:4px;background:#fff;box-shadow:0 0 14px rgba(255,255,255,.5)}.axis-item small{color:var(--muted)}@media(max-width:560px){.axis-labels{grid-template-columns:1fr 1fr}.axis-labels strong{grid-column:1/-1;grid-row:2;text-align:center}.axis-labels span:last-child{text-align:right}}
.settings-card{max-width:760px;margin:0 auto}.field{display:grid;gap:8px;margin:18px 0}.field span{font-weight:700}.field input,.field select{width:100%;padding:12px 14px;border:1px solid rgba(80,58,114,.25);border-radius:12px;background:#fff;font:inherit}.notice{padding:14px 16px;border-radius:12px;margin:14px 0;background:#f1edf7}.notice.success{background:#e8f5ed}.notice.warning{background:#fff4df}.coach-report{max-width:980px;margin-left:auto;margin-right:auto}.report-section{padding:18px 0;border-top:1px solid rgba(80,58,114,.14)}.report-section h3{margin:0 0 8px;color:#503a72}@media(max-width:760px){.grid,.result-hero{grid-template-columns:1fr!important}.score-row{grid-template-columns:minmax(105px,1fr) minmax(90px,2fr) auto}.topbar{align-items:flex-start}.topbar nav{display:flex;flex-wrap:wrap;gap:10px}.actions{display:flex;flex-wrap:wrap}.btn{min-height:44px}.page{padding-left:14px;padding-right:14px}}

/* =========================================================
   Informe multidimensional v3.3.0
   Lectura narrativa en una sola columna, sin sidebar lateral.
   ========================================================= */
.profile-report{max-width:1040px;margin:0 auto;display:block}
.profile-report-hero{position:relative;overflow:hidden;padding:clamp(28px,5vw,58px);border:1px solid var(--line);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.055));box-shadow:var(--shadow)}
.profile-report-hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-130px;top:-180px;background:radial-gradient(circle,rgba(157,124,255,.34),transparent 70%);pointer-events:none}
.profile-report-eyebrow{position:relative;z-index:1;color:var(--accent);font-size:.77rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:22px}
.profile-report-title-row{position:relative;z-index:1;display:flex;gap:22px;align-items:center}
.profile-type-badge{display:grid;place-items:center;flex:0 0 auto;width:96px;height:96px;border-radius:30px;background:linear-gradient(145deg,var(--accent),#f18976 52%,var(--accent2));color:#26182c;font-size:2.5rem;font-weight:900;letter-spacing:-.08em;box-shadow:0 18px 50px rgba(0,0,0,.25)}
.profile-report-title-row h1{margin:0;font-size:clamp(2.2rem,5.6vw,4.8rem);line-height:.95;letter-spacing:-.075em;max-width:760px}
.profile-report-subtitle{margin:12px 0 0;color:var(--muted);font-size:1.12rem;line-height:1.45}
.profile-report-lead{position:relative;z-index:1;margin:30px 0 20px;font-size:clamp(1.2rem,2.4vw,1.65rem);font-weight:700;color:#fff}
.profile-fact-strip{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}
.profile-fact{padding:16px 18px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(11,8,23,.24)}
.profile-fact span{display:block;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin-bottom:7px}
.profile-fact strong{display:block;color:#fff;font-size:1.02rem;line-height:1.3}
.profile-report-meta{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;color:var(--muted);font-size:.9rem}
.profile-report-actions{display:flex;flex-wrap:wrap;gap:11px;align-items:center;margin:20px 0}
.profile-report-actions form{display:inline-flex;margin:0}
.profile-report-nav{position:sticky;top:86px;z-index:4;display:flex;gap:8px;overflow-x:auto;padding:10px;border:1px solid var(--line);border-radius:20px;background:rgba(15,11,29,.88);backdrop-filter:blur(18px);box-shadow:0 10px 28px rgba(0,0,0,.2);scrollbar-width:thin}
.profile-report-nav a{white-space:nowrap;padding:9px 12px;border-radius:12px;color:var(--muted);font-size:.82rem;font-weight:800;text-decoration:none;background:rgba(255,255,255,.055)}
.profile-report-nav a:hover{color:#fff;background:rgba(255,255,255,.11)}
.profile-report-section{scroll-margin-top:150px;margin:22px 0 0;padding:clamp(26px,5vw,52px);border:1px solid var(--line);border-radius:30px;background:linear-gradient(155deg,rgba(255,255,255,.105),rgba(255,255,255,.045));box-shadow:0 22px 68px rgba(0,0,0,.22)}
.profile-report-summary{background:linear-gradient(145deg,rgba(157,124,255,.15),rgba(255,255,255,.055))}
.profile-section-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:30px}
.profile-section-heading>span{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:rgba(255,184,108,.13);border:1px solid rgba(255,184,108,.28);color:var(--accent);font-size:.93rem;font-weight:900}
.profile-section-heading .kicker{margin:1px 0 8px}
.profile-section-heading h2{margin:0;font-size:clamp(1.75rem,3.8vw,3rem);line-height:1.05;letter-spacing:-.055em}
.profile-section-intro{color:var(--muted);font-size:1.02rem;line-height:1.72;margin:-8px 0 26px}
.profile-prose{max-width:850px;color:#eee8f8;font-size:1.02rem;line-height:1.82}
.profile-prose p{margin:0 0 1.1em}
.profile-prose p:last-child{margin-bottom:0}
.profile-prose-lead{font-size:clamp(1.06rem,2vw,1.2rem);line-height:1.85}
.profile-reading-note{margin-top:28px;padding:20px 22px;border-radius:20px;background:rgba(139,240,197,.08);border:1px solid rgba(139,240,197,.19)}
.profile-reading-note strong{display:block;color:var(--ok);margin-bottom:7px}
.profile-reading-note p{margin:0;color:var(--muted);line-height:1.7}
.profile-definition-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:30px 0}
.profile-definition-list article{padding:20px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid var(--line)}
.profile-definition-list small,.profile-dimension-heading small,.profile-chart-header small,.profile-dilemma-list small,.profile-explainability-list small,.profile-final-synthesis>small,.profile-api-row small{display:block;color:var(--accent);font-size:.76rem;font-weight:900;letter-spacing:.095em;text-transform:uppercase;margin-bottom:8px}
.profile-definition-list p{margin:0;color:var(--muted);line-height:1.68}
.profile-callout-group{display:block;margin-top:30px}
.profile-callout-group>div+div{margin-top:32px}
.profile-callout-group h3,.profile-strategy-group>h3{font-size:1.35rem;margin:0 0 14px}
.profile-callout{padding:20px 22px;margin:0 0 12px;border-radius:19px;background:rgba(255,255,255,.05);border:1px solid var(--line);border-left-width:4px}
.profile-callout.resource{border-left-color:var(--ok)}
.profile-callout.risk{border-left-color:var(--danger)}
.profile-callout.development{border-left-color:var(--accent2)}
.profile-callout h4{margin:0 0 7px;font-size:1.02rem}
.profile-callout p{margin:0;color:var(--muted);line-height:1.7}
.profile-chart-card{margin:28px 0;padding:24px;border-radius:22px;background:rgba(10,7,21,.27);border:1px solid var(--line)}
.profile-chart-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}
.profile-chart-header strong{display:block;font-size:clamp(1.7rem,4vw,2.8rem);letter-spacing:.08em}
.profile-chart-header>span,.profile-dimension-heading>span{padding:7px 11px;border-radius:999px;background:rgba(157,124,255,.12);border:1px solid rgba(157,124,255,.26);color:var(--muted);font-size:.8rem;font-weight:800}
.profile-bar-row{display:grid;grid-template-columns:minmax(120px,190px) 1fr 70px;gap:14px;align-items:center;margin:13px 0}
.profile-bar-label{font-weight:800;line-height:1.25}
.profile-bar-track{height:12px;border-radius:999px;background:rgba(255,255,255,.085);overflow:hidden;border:1px solid rgba(255,255,255,.06)}
.profile-bar-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent2),var(--accent));box-shadow:0 0 18px rgba(157,124,255,.24)}
.profile-bar-value{text-align:right;color:var(--muted);font-weight:800}
.profile-instinct-list{display:grid;gap:13px;margin-top:24px}
.profile-instinct-list article{display:grid;grid-template-columns:50px 1fr;gap:18px;padding:22px;border-radius:22px;background:rgba(255,255,255,.045);border:1px solid var(--line)}
.profile-list-number{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:rgba(255,184,108,.12);border:1px solid rgba(255,184,108,.22);color:var(--accent);font-weight:900}
.profile-instinct-list h3{margin:2px 0 12px;font-size:1.3rem}
.profile-instinct-list p{margin:0 0 8px;color:var(--muted);line-height:1.65}
.profile-stack-table-wrap{overflow:auto;margin:28px 0;border:1px solid var(--line);border-radius:22px}
.profile-stack-table{min-width:700px;background:rgba(8,6,16,.2)}
.profile-stack-table th{padding:14px 16px;background:rgba(255,255,255,.075)}
.profile-stack-table td{padding:15px 16px}
.profile-stack-table td:nth-child(1){width:88px}
.profile-stack-table td:nth-child(4){width:120px;text-align:right}
.profile-stack-table small{display:block;margin-top:5px;color:#a9a0b8}
.profile-stack-table .top-profile-row td{background:rgba(157,124,255,.075);color:#eee8f8}
.profile-rank-number{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.08);font-weight:900;color:#fff}
.profile-top-three{display:grid;gap:13px}
.profile-top-three article{position:relative;padding:24px 24px 22px 76px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.profile-top-three article>span{position:absolute;left:22px;top:22px;display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#211524;font-weight:900}
.profile-top-three h3{margin:0 0 13px;font-size:1.24rem}
.profile-top-three p{margin:0 0 8px;color:var(--muted);line-height:1.65}
.profile-dimension-block{padding:24px;margin:0 0 16px;border-radius:22px;background:rgba(255,255,255,.045);border:1px solid var(--line)}
.profile-dimension-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.profile-dimension-heading h3{font-size:1.65rem;margin:0}
.profile-strategy-group{margin-top:30px}
.profile-strategy-title{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:8px}
.profile-strategy-title h4{margin:0}
.profile-strategy-title span{color:var(--muted);font-size:.85rem;font-weight:800;white-space:nowrap}
.profile-method-note{margin:24px 0 0;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.045);color:var(--muted);font-size:.9rem;line-height:1.65}
.profile-axis-list{display:grid;gap:15px;margin:28px 0}
.profile-axis{padding:22px;border-radius:22px;background:rgba(255,255,255,.045);border:1px solid var(--line)}
.profile-axis-labels{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:.9rem}
.profile-axis-track{height:12px;border-radius:999px;background:linear-gradient(90deg,rgba(157,124,255,.38),rgba(255,255,255,.11),rgba(255,184,108,.36));position:relative;margin:14px 0}
.profile-axis-track i{position:absolute;top:-6px;width:4px;height:24px;border-radius:4px;background:#fff;box-shadow:0 0 16px rgba(255,255,255,.55)}
.profile-axis-meta{display:flex;justify-content:space-between;gap:16px;font-size:.88rem;margin-bottom:12px}
.profile-axis-meta span{color:var(--muted)}
.profile-axis p{margin:0;color:var(--muted);line-height:1.68}
.profile-equilibrium-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:26px}
.profile-equilibrium-strip>div{padding:20px;border-radius:20px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.profile-equilibrium-strip small{display:block;color:var(--muted);margin-bottom:8px}
.profile-equilibrium-strip strong{display:block;font-size:1.08rem;margin-bottom:6px}
.profile-equilibrium-strip span{color:var(--muted);font-size:.86rem}
.profile-dilemma-list{display:grid;gap:13px;margin-top:25px}
.profile-dilemma-list article{padding:24px;border-radius:22px;background:linear-gradient(145deg,rgba(157,124,255,.10),rgba(255,255,255,.04));border:1px solid rgba(157,124,255,.23)}
.profile-dilemma-list p{margin:0;font-size:clamp(1.08rem,2vw,1.25rem);line-height:1.6;font-weight:700}
.profile-practice-list{counter-reset:practice;list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px}
.profile-practice-list li{counter-increment:practice;position:relative;padding:19px 20px 19px 64px;border-radius:20px;background:rgba(255,255,255,.045);border:1px solid var(--line);color:var(--muted);line-height:1.68}
.profile-practice-list li:before{content:counter(practice);position:absolute;left:18px;top:16px;display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:rgba(255,184,108,.12);color:var(--accent);font-weight:900}
.profile-final-synthesis{margin-top:30px;padding:26px;border-radius:23px;background:linear-gradient(145deg,rgba(255,184,108,.105),rgba(157,124,255,.09));border:1px solid rgba(255,184,108,.22)}
.profile-explainability-list{display:grid;gap:12px}
.profile-explainability-list article{display:grid;grid-template-columns:minmax(220px,.75fr) 1.25fr;gap:24px;padding:20px 22px;border-radius:20px;background:rgba(255,255,255,.045);border:1px solid var(--line)}
.profile-explainability-list strong{display:block;line-height:1.45}
.profile-explainability-list p{margin:0;color:var(--muted);line-height:1.68}
.profile-methodology-box{margin-top:26px;padding:22px;border-radius:21px;background:rgba(139,240,197,.065);border:1px solid rgba(139,240,197,.18)}
.profile-methodology-box>strong{display:block;color:var(--ok);margin-bottom:8px}
.profile-methodology-box p{margin:0 0 8px;color:var(--muted);line-height:1.68}
.profile-api-row{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:18px;padding:20px 22px;border-radius:20px;background:rgba(255,255,255,.045);border:1px solid var(--line)}
.profile-api-row strong{display:block}
.profile-technical-section{border-style:dashed}
.profile-delete-row{display:flex;justify-content:flex-end;margin-top:20px}
.profile-delete-row form{margin:0}

@media(max-width:900px){
  .profile-report-nav{top:8px}
  .profile-fact-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-definition-list{grid-template-columns:1fr}
  .profile-equilibrium-strip{grid-template-columns:1fr}
  .profile-explainability-list article{grid-template-columns:1fr;gap:10px}
}
@media(max-width:680px){
  .profile-report-hero,.profile-report-section{border-radius:24px}
  .profile-report-title-row{align-items:flex-start;gap:16px}
  .profile-type-badge{width:68px;height:68px;border-radius:22px;font-size:1.8rem}
  .profile-report-title-row h1{font-size:2.25rem}
  .profile-fact-strip{grid-template-columns:1fr}
  .profile-report-actions,.profile-report-actions form,.profile-report-actions .btn{width:100%}
  .profile-section-heading{gap:13px}
  .profile-section-heading>span{width:42px;height:42px;flex-basis:42px}
  .profile-section-heading h2{font-size:1.85rem}
  .profile-chart-header,.profile-dimension-heading,.profile-strategy-title,.profile-axis-meta,.profile-api-row{flex-direction:column;align-items:flex-start}
  .profile-bar-row{grid-template-columns:1fr auto;gap:8px}
  .profile-bar-track{grid-column:1/-1;grid-row:2}
  .profile-bar-value{grid-column:2;grid-row:1}
  .profile-instinct-list article{grid-template-columns:42px 1fr;gap:12px;padding:18px}
  .profile-top-three article{padding:66px 20px 20px}
  .profile-top-three article>span{left:20px;top:18px}
  .profile-axis-labels{font-size:.8rem}
  .profile-api-row .btn{width:100%}
  .profile-delete-row,.profile-delete-row form,.profile-delete-row .btn{width:100%}
}

/* 3.3.0: cola de informes y biblioteca */
.notice{padding:16px 18px;border-radius:18px;border:1px solid var(--line);margin:0 0 20px;background:rgba(255,255,255,.07)}
.notice.warning{background:rgba(255,184,108,.10);border-color:rgba(255,184,108,.30);color:#ffe8c9}
.check-row{display:flex;align-items:flex-start;gap:10px;padding:14px 0;color:var(--muted);line-height:1.55}
.check-row input{margin-top:4px}
.test-history-list{display:grid;gap:16px}
.test-history-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,.8fr);gap:20px;padding:22px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.045)}
.test-history-main h2{margin:6px 0 6px;font-size:1.35rem}.test-history-main p{margin:0}.test-history-main small{color:var(--muted)}
.test-history-report{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}.test-history-report .progress-bar{width:100%;margin:2px 0}
.test-history-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid var(--line);padding-top:16px}.test-history-actions form,.test-history-report form{margin:0}
.status-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.07);font-size:.8rem;font-weight:900}
.status-badge.complete,.status-badge.ready{background:rgba(139,240,197,.12);border-color:rgba(139,240,197,.28);color:var(--ok)}
.status-badge.pending,.status-badge.queued,.status-badge.processing{background:rgba(255,184,108,.11);border-color:rgba(255,184,108,.28);color:var(--accent)}
.status-badge.failed{background:rgba(255,135,153,.12);border-color:rgba(255,135,153,.30);color:#ffd3da}
.job-status-card{padding:22px;border-radius:20px;border:1px solid var(--line);background:rgba(255,255,255,.045)}
.job-status-card strong{font-size:1.15rem}.job-status-card p{margin:8px 0}
.full-report-request{background:linear-gradient(145deg,rgba(157,124,255,.085),rgba(255,184,108,.055))}
.knowledge-upload .field>span,.settings-card .field>span{display:block;font-weight:800;margin-bottom:8px}
.settings-card input,.settings-card select{width:100%;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.09);color:var(--text);padding:13px 14px;font:inherit;margin-bottom:14px}
.settings-card option{background:#1a1430}.error-text{color:#ffd3da;display:inline-block;max-width:420px;margin-top:6px}
@media(max-width:760px){.test-history-card{grid-template-columns:1fr}.test-history-actions{grid-column:1}.test-history-actions .btn,.test-history-actions form,.test-history-report .btn,.test-history-report form{width:100%}}

/* 3.4.3: contraste accesible en superficies claras */
.notice.success{
  background:#e8f5ed;
  border-color:#b8dfc7;
  color:#173b2b;
}
.notice.warning{
  background:#fff4df;
  border-color:#ebc986;
  color:#573713;
}
.notice.success a,.notice.warning a{color:inherit;text-decoration:underline;font-weight:800}
.notice.success .muted,.notice.warning .muted{color:inherit}
.field input,.field select{
  color:#2b213a;
}
.field input::placeholder{color:#82778f;opacity:1}
.field select option{color:#2b213a;background:#fff}
.settings-card input,.settings-card select,.knowledge-upload input,.knowledge-upload select{
  color:var(--text);
}
.settings-card input::placeholder,.knowledge-upload input::placeholder{color:#aaa0bb}
.admin-report-actions{gap:8px}
.admin-report-actions form{margin:0}
@media(max-width:760px){.admin-report-actions,.admin-report-actions form,.admin-report-actions .btn{width:100%}}

/* 3.5.0 contrast hotfix: solid black text on light notices */
.notice.success,
.notice.success *,
.alert.success,
.alert.success *{
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
  opacity:1 !important;
  filter:none !important;
  text-shadow:none !important;
  mix-blend-mode:normal !important;
}
.notice.success{
  background:#e8f5ed !important;
  border-color:#b8dfc7 !important;
}
.notice.success a,
.alert.success a{
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
  text-decoration:underline;
}

/* Selector de apariencia — solo administración */
.report-theme-grid{display:grid;gap:14px;margin:14px 0 28px;align-items:stretch}
.report-theme-grid-site{grid-template-columns:repeat(3,minmax(210px,1fr))}
.report-theme-grid-report{grid-template-columns:repeat(2,minmax(220px,1fr))}
.report-theme-option{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  min-width:0;min-height:204px;gap:12px;padding:18px 16px 16px 44px;
  border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.06);
  cursor:pointer;color:#fff;text-align:center;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease
}
.report-theme-option:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.34)}
.report-theme-option:focus-within{outline:3px solid rgba(169,185,236,.34);outline-offset:2px}
.report-theme-option:has(input:checked){border-color:#ffad72;box-shadow:0 0 0 2px rgba(255,173,114,.18)}
.report-theme-option input{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;accent-color:#ff9966}
.report-theme-preview{display:flex;flex:0 0 auto;width:108px;height:68px;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.report-theme-preview .preview-sidebar{width:25%;background:#633b7c}
.report-theme-preview .preview-content{flex:1;padding:10px 8px;display:block}
.report-theme-preview i,.report-theme-preview b,.report-theme-preview em{display:block;height:5px;margin-bottom:7px;background:#ddd;border-radius:3px}
.report-theme-preview b{width:82%;height:9px}.report-theme-preview em{width:65%}
.theme-elegant .preview-sidebar{background:#111b3d}.theme-elegant .preview-content i{background:#bd8c35}.theme-elegant .preview-content b{background:#18213c}
.theme-executive .preview-sidebar{background:#073b70}.theme-executive .preview-content i,.theme-executive .preview-content b{background:#1769b0}
.report-theme-copy{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}
.report-theme-copy strong{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;font-size:1.05rem;line-height:1.18;text-wrap:balance}
.report-theme-copy small{display:block;margin-top:4px;color:rgba(255,255,255,.72);line-height:1.38;max-width:230px;text-wrap:balance}
@media(max-width:900px){.report-theme-grid-site{grid-template-columns:1fr}.report-theme-grid-report{grid-template-columns:1fr}.report-theme-option{min-height:188px}}
@media(max-width:520px){.report-theme-option{padding-left:42px}.report-theme-preview{width:100px;height:64px}.report-theme-copy strong{min-height:auto}}



/* v3.5.2 — Temas globales del sitio web */
body.site-theme-elegant{
  --bg:#f5f3ee;--panel:#ffffff;--panel-strong:#f7f5f0;--text:#17223d;--muted:#5f6878;
  --line:#d9dde5;--accent:#b88632;--accent2:#243b67;--ok:#176b50;--danger:#a43e4b;
  --shadow:0 18px 52px rgba(20,31,55,.10);
  background:linear-gradient(135deg,#faf9f6 0,#f1f3f6 100%);color:var(--text);
  font-weight:400;
}
body.site-theme-elegant .aurora{background:radial-gradient(circle at 15% 8%,rgba(184,134,50,.10),transparent 30%),radial-gradient(circle at 86% 15%,rgba(36,59,103,.08),transparent 32%);filter:none}
body.site-theme-elegant .topbar{background:rgba(255,255,255,.94);border-bottom-color:#dfe3ea;box-shadow:0 8px 28px rgba(23,34,61,.06)}
body.site-theme-elegant .brand,body.site-theme-elegant nav a,body.site-theme-elegant h1,body.site-theme-elegant h2,body.site-theme-elegant h3,body.site-theme-elegant h4{color:#17223d}
body.site-theme-elegant .brand-mark{background:linear-gradient(135deg,#c7a35f,#243b67);color:#fff}
body.site-theme-elegant .card,body.site-theme-elegant .profile-report-section,body.site-theme-elegant .stage-card,body.site-theme-elegant .resume-box{background:#fff;border-color:#d9dde5;box-shadow:var(--shadow);backdrop-filter:none}
body.site-theme-elegant .btn-primary{background:linear-gradient(135deg,#243b67,#17223d);color:#fff}
body.site-theme-elegant .btn-secondary{background:#fff;color:#17223d;border-color:#cfd5df}
body.site-theme-elegant .btn-danger{background:#fff2f3;color:#8c2f3b;border-color:#e5b9bf}
body.site-theme-elegant .input,body.site-theme-elegant input,body.site-theme-elegant select,body.site-theme-elegant textarea{background:#fff;color:#17223d;border-color:#cfd5df}
body.site-theme-elegant input::placeholder,body.site-theme-elegant textarea::placeholder{color:#7d8592;opacity:1}
body.site-theme-elegant table{background:#fff}body.site-theme-elegant th{background:#243b67;color:#fff}body.site-theme-elegant td{color:#4d5665}
body.site-theme-elegant .notice.success,body.site-theme-elegant .success{background:#eaf6f0;color:#123f31;border-color:#b8dacb}
body.site-theme-elegant .notice.warning,body.site-theme-elegant .alert{background:#fff3e4;color:#613d12;border-color:#e7c99d}
body.site-theme-elegant .footer{background:#17223d;color:#e7eaf0;border-top-color:#17223d}
body.site-theme-elegant .profile-report-nav{background:rgba(255,255,255,.96);border-color:#d9dde5}body.site-theme-elegant .profile-report-nav a{background:#f2f4f7;color:#4d5665}body.site-theme-elegant .profile-report-nav a:hover{background:#243b67;color:#fff}
body.site-theme-elegant .profile-prose,body.site-theme-elegant .profile-fact strong,body.site-theme-elegant .intro-item strong{color:#27324a}
body.site-theme-elegant .profile-definition-list article,body.site-theme-elegant .profile-callout,body.site-theme-elegant .profile-chart-card,body.site-theme-elegant .profile-instinct-list article,body.site-theme-elegant .profile-dimension-block,body.site-theme-elegant .profile-axis,body.site-theme-elegant .profile-top-three article{background:#f8f7f3;border-color:#d9dde5}
body.site-theme-elegant .profile-bar-track,body.site-theme-elegant .progress-bar,body.site-theme-elegant .bar{background:#e7eaf0}
body.site-theme-elegant .scale-option span{background:#fff;color:#17223d;border-color:#cfd5df}
body.site-theme-elegant .scale-option input:checked+span{background:linear-gradient(135deg,#243b67,#b88632);color:#fff}

body.site-theme-executive{
  --bg:#eef3f8;--panel:#ffffff;--panel-strong:#f4f7fb;--text:#09284c;--muted:#58697d;
  --line:#ced9e5;--accent:#ed7a22;--accent2:#1670be;--ok:#16705b;--danger:#a83f4d;
  --shadow:0 18px 50px rgba(4,37,72,.12);
  background:linear-gradient(145deg,#f7fafc 0,#e9f0f7 100%);color:var(--text);
}
body.site-theme-executive .aurora{background:radial-gradient(circle at 80% 0,rgba(22,112,190,.10),transparent 32%);filter:none}
body.site-theme-executive .topbar{background:#073b70;border-bottom-color:#0d4d89;box-shadow:0 8px 28px rgba(4,37,72,.18)}
body.site-theme-executive .brand,body.site-theme-executive nav a,body.site-theme-executive .topbar .muted{color:#fff}
body.site-theme-executive .brand-mark{background:linear-gradient(135deg,#ffffff,#68b6ef);color:#073b70}
body.site-theme-executive .card,body.site-theme-executive .profile-report-section,body.site-theme-executive .stage-card,body.site-theme-executive .resume-box{background:#fff;border-color:#ced9e5;box-shadow:var(--shadow);backdrop-filter:none}
body.site-theme-executive h1,body.site-theme-executive h2,body.site-theme-executive h3,body.site-theme-executive h4{color:#09284c}
body.site-theme-executive .btn-primary{background:linear-gradient(135deg,#1670be,#07519a);color:#fff}
body.site-theme-executive .btn-secondary{background:#fff;color:#0b4f8c;border-color:#b9cadb}
body.site-theme-executive .btn-danger{background:#fff1f2;color:#963743;border-color:#e4b7bd}
body.site-theme-executive .input,body.site-theme-executive input,body.site-theme-executive select,body.site-theme-executive textarea{background:#fff;color:#09284c;border-color:#bfcddd}
body.site-theme-executive input::placeholder,body.site-theme-executive textarea::placeholder{color:#6f7d8d;opacity:1}
body.site-theme-executive table{background:#fff}body.site-theme-executive th{background:#073b70;color:#fff}body.site-theme-executive td{color:#4f6173}
body.site-theme-executive .notice.success,body.site-theme-executive .success{background:#e6f5ef;color:#123f31;border-color:#abd6c7}
body.site-theme-executive .notice.warning,body.site-theme-executive .alert{background:#fff2e6;color:#603711;border-color:#e6c39f}
body.site-theme-executive .footer{background:#062e57;color:#e8f1fa;border-top-color:#062e57}
body.site-theme-executive .profile-report-nav{background:rgba(255,255,255,.97);border-color:#ced9e5}body.site-theme-executive .profile-report-nav a{background:#edf3f8;color:#38536e}body.site-theme-executive .profile-report-nav a:hover{background:#1670be;color:#fff}
body.site-theme-executive .profile-prose,body.site-theme-executive .profile-fact strong,body.site-theme-executive .intro-item strong{color:#203c58}
body.site-theme-executive .profile-definition-list article,body.site-theme-executive .profile-callout,body.site-theme-executive .profile-chart-card,body.site-theme-executive .profile-instinct-list article,body.site-theme-executive .profile-dimension-block,body.site-theme-executive .profile-axis,body.site-theme-executive .profile-top-three article{background:#f5f8fb;border-color:#ced9e5}
body.site-theme-executive .profile-bar-track,body.site-theme-executive .progress-bar,body.site-theme-executive .bar{background:#dfe8f1}
body.site-theme-executive .scale-option span{background:#fff;color:#09284c;border-color:#bfcddd}
body.site-theme-executive .scale-option input:checked+span{background:linear-gradient(135deg,#1670be,#ed7a22);color:#fff}

body.site-theme-elegant .report-theme-option,body.site-theme-executive .report-theme-option{color:var(--text);background:#fff;border-color:var(--line)}
body.site-theme-elegant .report-theme-copy small,body.site-theme-executive .report-theme-copy small{color:var(--muted)}


/* v3.5.3 — Barras diferenciadas por tema web */
body.site-theme-elegant .bar span,
body.site-theme-elegant .progress-fill,
body.site-theme-elegant .profile-bar-track span{
  background:linear-gradient(90deg,#17345f 0%,#326aa3 55%,#86b8dc 100%);
  box-shadow:0 0 16px rgba(50,106,163,.20);
}
body.site-theme-executive .bar span,
body.site-theme-executive .progress-fill,
body.site-theme-executive .profile-bar-track span{
  background:linear-gradient(90deg,#07519a 0%,#1670be 55%,#68b6ef 100%);
  box-shadow:0 0 16px rgba(22,112,190,.22);
}


/* v3.5.4 — Identidad visual aprobada y tablas administrativas */
.card,.mini-card,.grid,.page{min-width:0}
.admin-table-actions{display:grid;grid-template-columns:1fr;min-width:154px}
.admin-table-actions .btn,.admin-table-actions form{width:100%;margin:0}
.admin-table-actions .btn{white-space:normal;line-height:1.2;padding:11px 13px}
.table-wrap th,.table-wrap td{overflow-wrap:anywhere}
.table-wrap th:last-child,.table-wrap td:last-child{min-width:174px}
@media(max-width:860px){
  .brand-name{font-size:.82rem;white-space:normal}
  .brand-isotype{width:42px;height:42px;flex-basis:42px}
}
@media(max-width:620px){
  .brand-name{max-width:230px;letter-spacing:.09em}
  .table-wrap>table{min-width:820px}
}

/* Vista previa del tema de informe Profesional */
.theme-professional .preview-sidebar{background:linear-gradient(180deg,#151742,#25265d)}
.theme-professional .preview-content{background:linear-gradient(160deg,#fff,#f8f8fc)}
.theme-professional .preview-content i{background:#cdaa58}
.theme-professional .preview-content b{background:linear-gradient(90deg,#151742,#5878c8)}
.theme-professional .preview-content em{background:#a9b9ec}

/* v3.6.0 — Contraste legible en temas claros */
body.site-theme-elegant .question-card,
body.site-theme-elegant .question-card .question-text,
body.site-theme-elegant .question-card .stage-card,
body.site-theme-elegant .question-card .stage-card p,
body.site-theme-elegant .question-card .contrast-card,
body.site-theme-elegant .question-card .contrast-card p,
body.site-theme-elegant .question-card .contrast-option span,
body.site-theme-elegant .question-card .contrast-option small,
body.site-theme-elegant .question-card .scale-option span,
body.site-theme-elegant .question-card .scale-option small,
body.site-theme-executive .question-card,
body.site-theme-executive .question-card .question-text,
body.site-theme-executive .question-card .stage-card,
body.site-theme-executive .question-card .stage-card p,
body.site-theme-executive .question-card .contrast-card,
body.site-theme-executive .question-card .contrast-card p,
body.site-theme-executive .question-card .contrast-option span,
body.site-theme-executive .question-card .contrast-option small,
body.site-theme-executive .question-card .scale-option span,
body.site-theme-executive .question-card .scale-option small{
  color:#111827!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.site-theme-elegant .question-card .muted,
body.site-theme-executive .question-card .muted{
  color:#4b5563!important;
  opacity:1!important;
}
body.site-theme-elegant .contrast-card,
body.site-theme-elegant .contrast-option span,
body.site-theme-executive .contrast-card,
body.site-theme-executive .contrast-option span{
  background:#fff!important;
  border-color:#cbd5e1!important;
}
body.site-theme-elegant .contrast-option input:checked+span{
  background:linear-gradient(135deg,#17345f,#86b8dc)!important;
  color:#fff!important;
}
body.site-theme-executive .contrast-option input:checked+span{
  background:linear-gradient(135deg,#07519a,#68b6ef)!important;
  color:#fff!important;
}
body.site-theme-elegant .contrast-option input:checked+span small,
body.site-theme-executive .contrast-option input:checked+span small,
body.site-theme-elegant .scale-option input:checked+span small,
body.site-theme-executive .scale-option input:checked+span small{
  color:#fff!important;
}

/* v3.6.0 - Estado seleccionado legible en los temas claros */
body.site-theme-elegant .question-card .scale-option input:checked + span,
body.site-theme-executive .question-card .scale-option input:checked + span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
body.site-theme-elegant .question-card .scale-option input:checked + span *,
body.site-theme-executive .question-card .scale-option input:checked + span *,
body.site-theme-elegant .question-card .contrast-option input:checked + span *,
body.site-theme-executive .question-card .contrast-option input:checked + span *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}

/* v3.6.2 — preguntas comparativas A/B visibles y legibles en móvil */
.comparison-instruction{margin:-12px 0 14px;line-height:1.5}
.contrast-grid{
  width:100%;
  min-width:0;
  visibility:visible;
  opacity:1;
  overflow:visible;
}
.contrast-card{
  min-width:0;
  height:auto;
  overflow:visible;
}
.contrast-card p{
  display:block;
  min-width:0;
  overflow:visible;
  overflow-wrap:break-word;
  word-break:normal;
}
@media(max-width:860px){
  .topbar{position:relative;top:auto}
  .question-card{padding:24px 20px;overflow:visible}
  .question-text{font-size:clamp(1.7rem,8vw,2.3rem);line-height:1.16;margin-bottom:22px}
  .comparison-instruction{margin:-8px 0 14px}
  .contrast-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px;
    margin:14px 0 18px;
    height:auto!important;
    max-height:none!important;
  }
  .contrast-card{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
    align-items:start;
    width:100%;
    min-height:0;
    padding:16px;
  }
  .contrast-badge{width:42px;height:42px;border-radius:14px}
  .contrast-card p{font-size:1rem;line-height:1.45}
  .contrast-scale{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px;width:100%}
  .contrast-option,.contrast-option span{width:100%;min-width:0}
  .contrast-option span{min-height:76px;padding:12px 14px}
  .test-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .test-nav .btn{width:100%}
}
@media(max-width:430px){
  .question-card{padding:22px 16px}
  .contrast-card{grid-template-columns:38px minmax(0,1fr);padding:14px}
  .contrast-badge{width:38px;height:38px}
  .contrast-option span{min-height:72px}
}

/* v3.6.6 — edición administrativa auditada de respuestas */
.response-edit-card{scroll-margin-top:24px}
.response-edit-question-options{
  margin:14px 0;
  padding:14px 16px;
  border:1px solid var(--border,rgba(255,255,255,.14));
  border-radius:16px;
  background:rgba(255,255,255,.04);
}
.response-edit-question-options p{margin:6px 0}
.response-edit-options{
  display:grid;
  gap:10px;
  margin:18px 0;
  padding:0;
  border:0;
}
.response-edit-options legend{font-weight:700;margin-bottom:10px}
.response-edit-option{display:block;cursor:pointer}
.response-edit-option input{position:absolute;opacity:0;pointer-events:none}
.response-edit-option span{
  display:block;
  padding:12px 14px;
  border:1px solid var(--border,rgba(255,255,255,.16));
  border-radius:14px;
  background:rgba(255,255,255,.04);
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.response-edit-option input:checked+span{
  border-color:var(--accent,#8ba7ff);
  background:rgba(139,167,255,.18);
  transform:translateY(-1px);
}
.response-edit-card textarea{width:100%;margin-top:8px;resize:vertical}
.response-edit-audit-note{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid var(--border,rgba(255,255,255,.12));
  font-size:.82rem;
  line-height:1.4;
}
.btn-compact{padding:8px 12px;font-size:.86rem;white-space:nowrap}
.actions-cell{min-width:96px}
body.site-theme-elegant .response-edit-question-options,
body.site-theme-elegant .response-edit-option span,
body.site-theme-executive .response-edit-question-options,
body.site-theme-executive .response-edit-option span{
  background:#fff;
  color:#111827;
  border-color:#cbd5e1;
}
body.site-theme-elegant .response-edit-option input:checked+span,
body.site-theme-executive .response-edit-option input:checked+span{
  background:#e8eefc;
  color:#111827;
  border-color:#5878c8;
}
@media(max-width:760px){
  .response-edit-option span{padding:14px}
  .actions-cell{min-width:88px}
}

/* v3.10.0 — respuestas de confirmación como tarjetas seleccionables */
.confirmation-contrast-options{display:grid;gap:12px;margin:18px 0 22px}
.confirmation-contrast-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:15px 17px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.06)}
.confirmation-contrast-card strong{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-size:1.05rem}
.confirmation-contrast-card span{font-weight:750;line-height:1.45}
.likert-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-top:18px}
.likert-grid.likert-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.likert-option{position:relative;display:block;min-width:0}
.likert-option input{position:absolute;opacity:0;pointer-events:none}
.likert-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:100px;padding:13px 10px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.075);cursor:pointer;text-align:center;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.likert-number{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:rgba(255,255,255,.11);font-size:1rem}
.likert-card small{font-size:.82rem;line-height:1.28;font-weight:760}
.likert-option:hover .likert-card{transform:translateY(-2px);border-color:rgba(255,255,255,.30)}
.likert-option input:focus-visible+.likert-card{outline:3px solid rgba(255,184,108,.45);outline-offset:3px}
.likert-option input:checked+.likert-card{background:linear-gradient(135deg,rgba(255,159,104,.96),rgba(145,112,241,.94));border-color:rgba(255,255,255,.38);color:#fff;box-shadow:0 16px 40px rgba(0,0,0,.24);transform:translateY(-2px)}
.likert-option input:checked+.likert-card .likert-number{background:rgba(255,255,255,.22)}
body.site-theme-elegant .confirmation-contrast-card,body.site-theme-executive .confirmation-contrast-card,body.site-theme-elegant .likert-card,body.site-theme-executive .likert-card{background:#fff;color:#111827;border-color:#cbd5e1}
body.site-theme-elegant .likert-option input:checked+.likert-card,body.site-theme-executive .likert-option input:checked+.likert-card{color:#fff;background:linear-gradient(135deg,#243b67,#b88632)}
@media(max-width:980px){.likert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.likert-grid.likert-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.likert-grid,.likert-grid.likert-count-3{grid-template-columns:1fr}.likert-card{min-height:74px;flex-direction:row;justify-content:flex-start;text-align:left;padding:12px 14px}.confirmation-contrast-card{grid-template-columns:38px minmax(0,1fr);padding:13px}}

/* 3.14.0 visual clarity fix — admin reports */
.admin-dashboard-card{padding:26px 28px;margin-bottom:22px}
.admin-section-title{margin:6px 0 18px;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.08;letter-spacing:-.04em}
.admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.admin-summary-card{padding:18px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(150deg,rgba(255,255,255,.09),rgba(255,255,255,.05));min-height:118px}
.admin-summary-label{font-size:.86rem;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-weight:900;margin-bottom:10px}
.admin-summary-main{font-size:1.08rem;font-weight:800;color:#fff;line-height:1.35}
.admin-summary-meta{margin-top:8px;color:var(--muted);font-size:.92rem;line-height:1.5}
.admin-filter-form{display:grid;gap:16px}
.admin-filter-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;align-items:end}
.admin-filter-actions{margin-top:0}
.admin-attempt-card{padding:24px 26px;margin-bottom:20px}
.admin-attempt-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.admin-attempt-id{font-size:.82rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:6px}
.admin-attempt-name{margin:0 0 10px;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.12;letter-spacing:-.03em}
.admin-attempt-meta{display:flex;flex-wrap:wrap;gap:8px}
.admin-attempt-actions{margin:14px 0 18px}
.admin-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-report-card{padding:20px;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);display:grid;gap:14px;align-content:start}
.admin-report-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.admin-report-card-header h4{margin:0;font-size:1.15rem;line-height:1.25}
.admin-report-status-pill{align-self:flex-start}
.admin-report-info-list{display:grid;gap:8px;color:var(--muted);font-size:.95rem;line-height:1.55}
.admin-report-info-list strong{color:#fff;font-weight:800}
.admin-inline-warning,.admin-inline-error{padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.1)}
.admin-inline-warning{background:rgba(255,184,108,.10);border-color:rgba(255,184,108,.24);color:#ffe0b4}
.admin-inline-error{background:rgba(255,135,153,.12);border-color:rgba(255,135,153,.22);color:#ffd9df}
.validation-note{padding:12px 14px;border-left:4px solid var(--accent);border-radius:16px;background:rgba(255,184,108,.10);color:#ffe0b4;font-size:.93rem;line-height:1.55}
.admin-report-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}
.admin-report-form{display:grid;gap:10px;margin:0}
.admin-check-row{margin:0;color:var(--muted);font-size:.92rem}
.admin-check-row span{display:block;line-height:1.45}
.card h2,.card h3,.card h4{color:#fff}
.card p{color:var(--muted)}
@media(max-width:980px){.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filter-grid{grid-template-columns:1fr 1fr}.admin-report-grid{grid-template-columns:1fr}}
@media(max-width:640px){.admin-dashboard-card,.admin-attempt-card{padding:20px}.admin-summary-grid,.admin-filter-grid{grid-template-columns:1fr}.admin-report-card-header{flex-direction:column}.admin-report-actions .btn,.admin-report-form .btn{width:100%}}

/* 3.14.0 visual fix 2 — Mis tests */
.my-tests-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:30px 32px;margin-bottom:22px}
.my-tests-hero-copy{max-width:820px}.my-tests-hero .h2{margin:8px 0 10px}.my-tests-hero .lead{margin:0;font-size:1.02rem;line-height:1.65}.my-tests-hero-actions{margin:0;flex:0 0 auto}
.my-tests-panel{padding:24px}
.my-tests-empty{padding:24px;text-align:center}.my-tests-empty h2{margin:0 0 8px}
.test-history-list{display:grid;gap:18px}
.test-history-card{display:block;padding:24px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.045);box-shadow:none}
.test-history-header{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--line)}
.test-history-main{min-width:0}.test-history-eyebrow{color:var(--muted);font-size:.86rem;font-weight:700;line-height:1.4;margin-bottom:7px}.test-history-main h2{margin:0 0 6px;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.14;letter-spacing:-.025em;color:var(--text)}
.test-history-subtype{margin:0;color:var(--muted);font-size:1rem;line-height:1.5}.test-history-primary-action{flex:0 0 auto}
.test-validation-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}.test-validation-link{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:12px;color:var(--accent);font-weight:800;text-decoration:none;border:1px solid rgba(255,184,108,.18);background:rgba(255,184,108,.06)}.test-validation-link:hover{background:rgba(255,184,108,.12);text-decoration:none}
.test-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:18px}
.test-report-card{display:flex;flex-direction:column;min-width:0;min-height:230px;padding:20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.055);box-shadow:none}
.test-report-card-full{background:linear-gradient(145deg,rgba(157,124,255,.075),rgba(255,255,255,.045))}
.test-report-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.test-report-card-head>div{min-width:0}.test-report-kicker{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:5px}.test-report-card h3{margin:0;color:var(--text);font-size:1.16rem;line-height:1.25;letter-spacing:-.015em}.test-report-card .status-badge{flex:0 0 auto;max-width:48%;text-align:center;justify-content:center}
.test-report-body{flex:1;padding:18px 0 14px}.test-report-note{margin:0;color:var(--muted);font-size:.94rem;line-height:1.58;max-width:620px}
.test-report-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:auto}.test-report-actions form{margin:0;display:inline-flex}.test-report-actions .btn{min-height:44px}
.test-history-card>.progress-bar{margin:18px 0 0;width:100%}
body.site-theme-elegant .test-history-card,body.site-theme-executive .test-history-card{background:var(--panel);border-color:var(--line)}
body.site-theme-elegant .test-report-card,body.site-theme-executive .test-report-card{background:var(--panel-strong);border-color:var(--line)}
body.site-theme-elegant .test-report-card-full,body.site-theme-executive .test-report-card-full{background:var(--panel-strong)}
body.site-theme-elegant .test-validation-link,body.site-theme-executive .test-validation-link{color:var(--accent2);border-color:var(--line);background:var(--panel-strong)}
@media(max-width:900px){.my-tests-hero{align-items:flex-start;flex-direction:column}.my-tests-hero-actions{width:100%}.test-report-grid{grid-template-columns:1fr}}
@media(max-width:640px){.my-tests-hero,.my-tests-panel{padding:20px}.my-tests-hero-actions,.my-tests-hero-actions .btn{width:100%}.test-history-card{padding:18px}.test-history-header{flex-direction:column}.test-history-primary-action,.test-history-primary-action .btn{width:100%}.test-report-card-head{flex-direction:column}.test-report-card .status-badge{max-width:100%}.test-report-actions,.test-report-actions form,.test-report-actions .btn{width:100%}.test-validation-row{align-items:stretch}.test-validation-link{width:100%;justify-content:center}}

/* 3.14.0 visual fix 3 — result documents section */
.result-documents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.result-document-card{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:250px;padding:24px;border-radius:28px;border:1px solid var(--line);background:rgba(255,255,255,.055);box-shadow:none}
.result-document-card-full{background:linear-gradient(145deg,rgba(157,124,255,.075),rgba(255,255,255,.045))}
.result-document-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.result-document-head>div{min-width:0}
.result-document-kicker{color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900;margin-bottom:6px}
.result-document-card h3{margin:0;font-size:1.2rem;line-height:1.2;letter-spacing:-.02em;color:var(--text)}
.result-document-head .status-badge{flex:0 0 auto;max-width:46%;text-align:center;justify-content:center}
.result-document-body{display:grid;gap:10px}
.result-document-note{margin:0;color:var(--muted);font-size:1rem;line-height:1.65}
.result-document-note strong{color:#fff}
.result-document-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:auto}
.result-document-actions form{margin:0;display:inline-flex}
.result-document-actions .btn{min-height:46px}
.full-report-request .profile-section-heading{margin-bottom:22px}
body.site-theme-elegant .result-document-card,body.site-theme-executive .result-document-card{background:var(--panel-strong);border-color:var(--line)}
body.site-theme-elegant .result-document-card-full,body.site-theme-executive .result-document-card-full{background:var(--panel-strong)}
@media(max-width:900px){.result-documents-grid{grid-template-columns:1fr}}
@media(max-width:640px){.result-document-card{padding:20px;min-height:auto}.result-document-head{flex-direction:column}.result-document-head .status-badge{max-width:100%}.result-document-actions,.result-document-actions form,.result-document-actions .btn{width:100%}}


/* 3.14.2 — Admin reports: containment and wrapping during active generation */
.admin-report-grid>*{min-width:0}
.admin-report-card{min-width:0;max-width:100%;overflow:hidden}
.admin-report-card-header{min-width:0}
.admin-report-card-header h4{min-width:0;overflow-wrap:anywhere}
.admin-report-status-pill{min-width:0;max-width:56%;white-space:normal;text-align:center;overflow-wrap:anywhere;line-height:1.25}
.admin-report-info-list,.admin-report-info-list>div,.admin-inline-warning,.admin-inline-error,.validation-note,.admin-report-actions,.admin-report-form{min-width:0;max-width:100%}
.admin-report-info-list>div,.admin-inline-warning,.admin-inline-error,.validation-note{overflow-wrap:anywhere;word-break:normal}
.admin-report-actions{overflow:hidden}
.admin-report-form{max-width:100%}
.admin-report-form .check-row{max-width:100%}
.admin-report-form .check-row span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1180px){.admin-report-status-pill{max-width:48%}}
@media(max-width:980px){.admin-report-status-pill{max-width:100%}}

/* 3.14.5 · Actualización AJAX de generación de informes en administración */
.admin-report-progress{display:grid;gap:7px;min-width:0}
.admin-report-progress[hidden]{display:none!important}
.admin-report-progress-track{height:8px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.08)}
.admin-report-progress-track span{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#ff8e70);transition:width .35s ease}
.admin-report-progress-text{font-size:.88rem;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
#admin-report-live-message{position:sticky;top:92px;z-index:20;margin:0 0 16px;box-shadow:0 12px 28px rgba(13,7,31,.24)}
#admin-report-live-message[hidden]{display:none!important}
.admin-report-form [disabled]{opacity:.62;cursor:wait}

/* 3.14.13 — Impersonación administrativa y acceso visible a recuperación */
.impersonation-banner{position:sticky;top:74px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 5vw;background:#3b245f;color:#fff;border-bottom:1px solid rgba(255,255,255,.25);box-shadow:0 10px 26px rgba(0,0,0,.18)}
.impersonation-banner span{opacity:.9}.impersonation-banner form{margin:0}.impersonation-banner .impersonation-exit{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.48)}
.login-recovery-actions{margin-top:14px}.login-recovery-actions .login-recovery-btn{width:100%;box-sizing:border-box}
body.site-theme-current .login-recovery-btn{color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.38)}
body.site-theme-current .login-recovery-btn:hover{background:rgba(255,255,255,.18)}
.admin-inline-form{margin:0}
@media(max-width:860px){.impersonation-banner{top:0;position:relative;align-items:stretch;flex-direction:column}.impersonation-banner .btn{width:100%}}

/* 3.14.14 · Validación dirigida */
.targeted-subtype-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.targeted-type-group{border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px;min-width:0}.targeted-type-group legend{padding:0 7px;font-weight:800}.targeted-subtype-choice{display:flex;align-items:flex-start;gap:9px;padding:9px;border-radius:10px;cursor:pointer}.targeted-subtype-choice:hover{background:rgba(255,255,255,.06)}.targeted-subtype-choice input{margin-top:3px}.targeted-subtype-choice span{display:flex;flex-direction:column;gap:3px}.targeted-subtype-choice small{opacity:.72;line-height:1.35}.targeted-result-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}.targeted-result-row:last-child{border-bottom:0}.targeted-result-row small{display:block;margin-top:3px;opacity:.68}.targeted-result-score{font-size:1.35rem;font-weight:800}.validation-final-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(80,180,120,.15);border:1px solid rgba(120,220,160,.35);font-weight:700}
@media(max-width:980px){.targeted-subtype-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.targeted-subtype-grid{grid-template-columns:1fr}}

/* 3.14.15 — jerarquía administrativa, notificaciones y herramientas */
.admin-body{--admin-sidebar-width:250px}
.admin-topbar{padding:0 24px;height:70px;z-index:40}
.admin-topbar .brand{margin-right:auto}
.admin-top-actions{display:flex;align-items:center;gap:14px}
.admin-user-name{font-size:.88rem;font-weight:800;color:var(--muted);max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-logout{color:var(--text);font-weight:800;text-decoration:none;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.06)}
.admin-menu-toggle,.admin-sidebar-close{display:none;border:0;background:transparent;color:var(--text);font:inherit;font-size:1.4rem;cursor:pointer;padding:8px}
.admin-shell{display:grid;grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr);min-height:calc(100vh - 70px)}
.admin-sidebar{position:sticky;top:70px;height:calc(100vh - 70px);overflow-y:auto;padding:18px 14px 24px;border-right:1px solid var(--line);background:rgba(10,8,20,.72);backdrop-filter:blur(22px);z-index:30}
.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 16px;font-size:.94rem}
.admin-nav-group{display:grid;gap:4px;margin-bottom:18px}
.admin-nav-title{padding:0 10px 7px;color:var(--muted);font-size:.69rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.admin-nav-link{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 10px;border-radius:13px;color:var(--text);text-decoration:none;font-size:.88rem;font-weight:750;opacity:.82}
.admin-nav-link:hover,.admin-nav-link.active{opacity:1;background:rgba(255,255,255,.10)}
.admin-nav-link.active{box-shadow:inset 3px 0 0 var(--accent)}
.admin-nav-icon{display:grid;place-items:center;min-width:28px;height:28px;padding:0 4px;border-radius:9px;background:rgba(255,255,255,.08);font-size:.7rem;font-weight:900;color:var(--accent)}
.admin-sidebar-foot{border-top:1px solid var(--line);padding-top:13px}
.admin-page{width:min(1320px,calc(100% - 48px));padding:34px 0 70px}
.admin-sidebar-overlay{display:none}
.footer a{color:inherit;font-weight:800;margin-left:8px}

.notification-menu{position:relative}
.notification-menu summary{list-style:none;position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.08);cursor:pointer;color:var(--text)}
.notification-menu summary::-webkit-details-marker{display:none}
.notification-bell{display:grid;place-items:center;width:22px;height:22px}.notification-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.notification-count{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ff6f7f;color:#fff;font-size:.65rem;font-weight:900;border:2px solid #171126}
.notification-panel{position:absolute;right:0;top:52px;width:min(390px,92vw);border:1px solid var(--line);border-radius:20px;background:#171126;box-shadow:0 24px 60px rgba(0,0,0,.42);overflow:hidden;z-index:80}
.notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line)}
.notification-panel-head form{margin:0}.notification-panel-head button{border:0;background:transparent;color:var(--accent);font:inherit;font-size:.78rem;font-weight:900;cursor:pointer}
.notification-list{max-height:430px;overflow:auto}
.notification-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;padding:14px 16px;color:var(--text);text-decoration:none;border-bottom:1px solid var(--line);background:rgba(255,255,255,.025)}
.notification-item:hover{background:rgba(255,255,255,.075)}
.notification-item.unread{background:rgba(157,124,255,.11)}
.notification-item-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(255,184,108,.12);color:var(--accent);font-size:.68rem;font-weight:900}
.notification-item strong,.notification-item small,.notification-item time{display:block}.notification-item strong{font-size:.86rem}.notification-item small{color:var(--muted);line-height:1.38;margin-top:3px}.notification-item time{color:var(--muted);font-size:.68rem;margin-top:5px}
.notification-empty{padding:24px;text-align:center;color:var(--muted);margin:0}.notification-all{display:block;text-align:center;padding:13px;color:var(--accent);font-weight:900;text-decoration:none}

.admin-page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}
.admin-page-heading h1{margin:0 0 6px;font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.05em}.admin-page-heading p{margin:0;color:var(--muted)}
.admin-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.admin-kpi{padding:21px}.admin-kpi strong{display:block;font-size:1.9rem;letter-spacing:-.05em}.admin-kpi span{display:block;color:var(--muted);font-size:.84rem;margin-top:5px}.admin-kpi.attention{border-color:rgba(255,184,108,.35);background:linear-gradient(145deg,rgba(255,184,108,.10),rgba(255,255,255,.05))}
.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:18px;margin-top:18px}.admin-dashboard-stack{display:grid;gap:18px}
.admin-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.admin-section-title h2{margin:0;font-size:1.35rem}.admin-section-title a{color:var(--accent);font-weight:800;text-decoration:none;font-size:.82rem}
.admin-attention-list,.admin-activity-list{display:grid;gap:9px}.admin-attention-item,.admin-activity-item{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 14px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.045);text-decoration:none;color:var(--text)}.admin-attention-item span,.admin-activity-item span{color:var(--muted);font-size:.82rem}.admin-attention-item strong{font-size:.88rem}.admin-attention-badge{display:grid;place-items:center;min-width:32px;height:28px;padding:0 9px;border-radius:999px;background:rgba(255,184,108,.12);color:var(--accent);font-size:.76rem;font-weight:900}
.admin-funnel{display:grid;gap:11px}.admin-funnel-row{display:grid;grid-template-columns:150px 1fr 48px;gap:10px;align-items:center}.admin-funnel-row span{font-size:.82rem;color:var(--muted)}.admin-funnel-track{height:10px;border-radius:999px;background:rgba(255,255,255,.10);overflow:hidden}.admin-funnel-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--accent2))}.admin-funnel-row strong{text-align:right;font-size:.84rem}
.admin-row-actions{display:flex;align-items:center;gap:8px}.admin-row-actions>a{white-space:nowrap}.action-menu{position:relative}.action-menu summary{list-style:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.08);cursor:pointer;font-weight:900;color:var(--text)}.action-menu summary::-webkit-details-marker{display:none}.action-menu-panel{position:absolute;right:0;top:48px;width:210px;padding:8px;border-radius:15px;background:#171126;border:1px solid var(--line);box-shadow:0 18px 44px rgba(0,0,0,.35);z-index:20}.action-menu-panel a,.action-menu-panel button{display:block;width:100%;padding:10px 11px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left;text-decoration:none;font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}.action-menu-panel a:hover,.action-menu-panel button:hover{background:rgba(255,255,255,.08)}.action-menu-panel .danger{color:#ffd3da}.action-menu-panel form{margin:0}

.settings-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.settings-nav a{padding:9px 13px;border:1px solid var(--line);border-radius:999px;color:var(--text);text-decoration:none;font-size:.82rem;font-weight:800;background:rgba(255,255,255,.055)}.settings-nav a.active{background:var(--accent);color:#241424;border-color:transparent}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.55fr);gap:20px}.contact-card textarea,.admin-form textarea{width:100%;min-height:180px;resize:vertical;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.09);color:var(--text);padding:14px 15px;font:inherit}.contact-card select,.contact-card input,.admin-form select,.admin-form input{width:100%;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.09);color:var(--text);padding:13px 14px;font:inherit}.contact-card option,.admin-form option{color:#2b213a;background:#fff}.honeypot-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.contact-meta{display:grid;gap:10px}.contact-meta div{padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid var(--line)}.contact-meta small,.contact-meta strong{display:block}.contact-meta small{color:var(--muted);margin-bottom:4px}
.backup-status-ready{color:var(--ok)}.backup-status-failed{color:#ffd3da}.backup-status-generating{color:var(--accent)}
.system-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.system-status-card{padding:20px}.system-status-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.system-dot{width:11px;height:11px;border-radius:50%;background:#ff8799;box-shadow:0 0 0 5px rgba(255,135,153,.10)}.system-dot.ok{background:var(--ok);box-shadow:0 0 0 5px rgba(139,240,197,.10)}.system-status-card p{margin:4px 0;color:var(--muted);font-size:.85rem}
.audit-filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.audit-event{display:grid;grid-template-columns:170px 180px minmax(0,1fr);gap:14px;padding:14px 16px;border-bottom:1px solid var(--line)}.audit-event time,.audit-event small{color:var(--muted)}.audit-event strong{font-size:.84rem}.audit-event p{margin:3px 0 0;color:var(--muted);font-size:.82rem;line-height:1.45}

body.site-theme-elegant .admin-sidebar,body.site-theme-elegant .notification-panel,body.site-theme-elegant .action-menu-panel{background:#fff;color:#17223d;border-color:#dfe3ea}body.site-theme-elegant .admin-nav-link,body.site-theme-elegant .notification-item,body.site-theme-elegant .notification-panel-head,body.site-theme-elegant .notification-all,body.site-theme-elegant .action-menu-panel a,body.site-theme-elegant .action-menu-panel button{color:#17223d}body.site-theme-elegant .admin-sidebar{background:rgba(255,255,255,.96)}body.site-theme-elegant .admin-logout{color:#17223d;background:#fff}body.site-theme-elegant .notification-count{border-color:#fff}
body.site-theme-executive .admin-sidebar{background:#062e57}body.site-theme-executive .notification-panel,body.site-theme-executive .action-menu-panel{background:#062e57}

@media(max-width:1100px){.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-grid{grid-template-columns:1fr}.system-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){
  .admin-body{--admin-sidebar-width:270px}.admin-menu-toggle,.admin-sidebar-close{display:block}.admin-topbar{flex-direction:row;align-items:center;padding:10px 14px;height:68px}.admin-topbar .brand-name{display:none}.admin-topbar .brand-isotype{width:42px;height:42px}.admin-shell{display:block}.admin-sidebar{position:fixed;left:0;top:0;height:100vh;width:var(--admin-sidebar-width);transform:translateX(-105%);transition:transform .22s ease;z-index:100}.admin-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.52);opacity:0;visibility:hidden;transition:.2s;z-index:90}.admin-nav-open .admin-sidebar{transform:translateX(0)}.admin-nav-open .admin-sidebar-overlay{opacity:1;visibility:visible}.admin-page{width:min(100% - 28px,1320px);padding-top:24px}.admin-user-name{display:none}.notification-panel{position:fixed;right:12px;top:72px}.contact-layout{grid-template-columns:1fr}.audit-event{grid-template-columns:1fr;gap:6px}.system-status-grid{grid-template-columns:1fr}.topbar.admin-topbar nav{display:none}
}
@media(max-width:620px){.admin-kpi-grid{grid-template-columns:1fr}.admin-page-heading{flex-direction:column}.admin-page-heading .btn{width:100%}.admin-funnel-row{grid-template-columns:105px 1fr 38px}.admin-row-actions{flex-direction:column;align-items:stretch}.admin-row-actions .btn{width:100%}.notification-panel{left:10px;right:10px;width:auto}.admin-top-actions{gap:8px}.admin-logout{font-size:.78rem;padding:8px 10px}}

/* 3.14.16 — usuarios, menús flotantes y respuestas de contacto */
.admin-form-card{max-width:900px}
.users-card{padding:28px}
.users-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.users-search{flex:1 1 320px}.users-toolbar .btn{min-height:48px}
.alphabet-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.alphabet-filter a{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:10px;color:var(--text);text-decoration:none;font-size:.82rem;font-weight:800;background:rgba(255,255,255,.06)}
.alphabet-filter a:first-child{padding:0 13px}.alphabet-filter a.active,.alphabet-filter a:hover{background:rgba(255,184,108,.18);border-color:rgba(255,184,108,.46)}
.users-table-wrap>table{min-width:1080px}.users-table td:first-child{min-width:220px}.users-table td:first-child strong{font-size:1rem;color:var(--text)}
.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:20px}.pagination a{color:var(--text);font-weight:800;text-decoration:none;padding:9px 13px;border:1px solid var(--line);border-radius:12px}.pagination span{color:var(--muted)}
.action-menu-panel-floating{position:fixed!important;right:auto!important;z-index:10000!important;padding:8px;border-radius:15px;background:#171126;border:1px solid var(--line);box-shadow:0 18px 44px rgba(0,0,0,.45)}
.action-menu-note{display:block;padding:10px 11px;color:var(--muted);font-size:.82rem}
.contact-admin-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;margin-top:20px}
.contact-reply-form,.contact-followup-form{padding:20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.04)}
.contact-reply-form textarea,.contact-followup-form textarea{width:100%;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.09);color:var(--text);padding:14px 15px;font:inherit;resize:vertical}
.mail-config-state{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:.75rem;font-weight:800}.mail-config-state.ready{background:rgba(139,240,197,.12);color:#dcfff2}.mail-config-state.not-ready{background:rgba(255,135,153,.13);color:#ffe3e7}
.contact-reply-history,.contact-audit-history{margin-top:24px}.contact-reply-item{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.04);margin-top:12px}.contact-reply-item>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.contact-reply-item p{margin:7px 0}.contact-reply-body{white-space:normal;line-height:1.65;color:var(--text)}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none}
body.site-theme-elegant .action-menu-panel-floating{background:#fff;color:#17223d;border-color:#dfe3ea}body.site-theme-elegant .action-menu-panel-floating a,body.site-theme-elegant .action-menu-panel-floating button{color:#17223d}body.site-theme-executive .action-menu-panel-floating{background:#062e57}
@media(max-width:900px){.contact-admin-grid{grid-template-columns:1fr}}
@media(max-width:620px){.users-card{padding:18px}.users-toolbar{align-items:stretch}.users-toolbar .btn{width:100%}.alphabet-filter{gap:5px}.alphabet-filter a{min-width:31px;height:31px;padding:0 7px}.pagination{justify-content:space-between;gap:8px}.pagination span{font-size:.82rem}.contact-reply-item>div:first-child{flex-direction:column}}

/* 3.15.0 — solicitudes, códigos, presencia, mantenimiento y notificaciones de participantes */
.participant-nav{display:flex;align-items:center;gap:14px}.participant-nav .notification-menu{flex:0 0 auto}.participant-nav .notification-menu summary{width:40px;height:40px;border-radius:12px}.user-notification-menu .notification-panel{right:0}
.notification-page-list{display:grid}.notification-page-item{display:flex;justify-content:space-between;gap:18px;padding:17px 18px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}.notification-page-item:hover{background:rgba(255,255,255,.05)}.notification-page-item.unread{background:rgba(157,124,255,.10)}.notification-page-item strong,.notification-page-item small{display:block}.notification-page-item small{margin-top:5px;color:var(--muted)}.notification-page-item time{white-space:nowrap;color:var(--muted);font-size:.76rem}
.access-hero{padding:28px;margin-bottom:20px}.access-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-product{display:flex;flex-direction:column}.access-product form{margin-top:auto}.access-product h2{margin:15px 0 8px}.access-price{font-size:1.45rem;font-weight:900;color:var(--accent);margin:14px 0}.inline-access-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.inline-access-form .field{margin:0}
.access-settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);align-items:start}.switch-field{display:flex;align-items:flex-start;gap:13px;padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.04);cursor:pointer}.switch-field>input{position:absolute;opacity:0;pointer-events:none}.switch-control{position:relative;flex:0 0 48px;width:48px;height:27px;border-radius:999px;background:rgba(255,255,255,.15);transition:.2s}.switch-control:after{content:"";position:absolute;left:4px;top:4px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.2s}.switch-field input:checked+.switch-control{background:var(--accent)}.switch-field input:checked+.switch-control:after{transform:translateX(21px)}.switch-field strong,.switch-field small{display:block}.switch-field small{margin-top:4px;color:var(--muted);line-height:1.4}.active-users-card{display:flex;align-items:center;gap:15px;padding:17px;border-radius:16px;border:1px solid rgba(255,184,108,.32);background:rgba(255,184,108,.08)}.active-users-card strong{font-size:2rem}.active-users-card span{color:var(--muted);line-height:1.35}.maintenance-steps{display:grid;gap:10px;padding-left:22px;color:var(--muted)}
.maintenance-card{max-width:780px;margin:40px auto;text-align:center;padding:44px}.maintenance-card>img{display:block;max-width:340px;width:72%;margin:0 auto 28px}.maintenance-card h1{font-size:clamp(2rem,5vw,3.5rem);margin:12px 0}.maintenance-card .actions{justify-content:center}
.access-approval-form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.access-approval-form select,.access-approval-form input,.access-manual-form select,.access-manual-form input,.access-code-actions input{border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.08);color:var(--text);padding:9px 10px}.access-approval-form input[type=number]{width:72px}.access-approval-form input[type=date]{width:150px}.access-manual-form{display:grid;grid-template-columns:2fr 1fr .7fr 1fr auto;gap:12px;align-items:end}.access-code-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.access-code-actions form{display:flex;align-items:center;gap:6px;margin:0}.access-code-actions input{width:65px}.issued-code{display:inline-block;margin:7px 0;font-size:1rem;letter-spacing:.06em}.status-badge.issued{background:rgba(255,184,108,.12);color:#ffe1b6}.status-badge.active,.status-badge.approved{background:rgba(139,240,197,.12);color:#dcfff2}.status-badge.exhausted,.status-badge.cancelled,.status-badge.rejected{background:rgba(255,135,153,.12);color:#ffe3e7}.status-badge.pending{background:rgba(157,124,255,.14);color:#e5dbff}
body.site-theme-elegant .switch-field,body.site-theme-elegant .active-users-card{background:#fff}body.site-theme-elegant .access-approval-form select,body.site-theme-elegant .access-approval-form input,body.site-theme-elegant .access-manual-form select,body.site-theme-elegant .access-manual-form input,body.site-theme-elegant .access-code-actions input{background:#fff;color:#17223d}
@media(max-width:1050px){.access-manual-form{grid-template-columns:repeat(2,minmax(0,1fr))}.access-manual-form .btn{align-self:end}.access-settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){.access-product-grid{grid-template-columns:1fr}.inline-access-form{grid-template-columns:1fr}.notification-page-item{flex-direction:column}.participant-nav .muted{display:none}.access-manual-form{grid-template-columns:1fr}.access-approval-form{align-items:stretch;flex-direction:column}.access-approval-form select,.access-approval-form input[type=number],.access-approval-form input[type=date]{width:100%}.maintenance-card{padding:28px 20px}.participant-nav{gap:8px}}


/* 3.15.1 FIX1 — una validación activa prevalece visualmente sobre un resultado anterior. */
.btn-validation-attention{background:linear-gradient(135deg,#d6243f,#9f1029)!important;color:#fff!important;border-color:#ef6074!important;box-shadow:0 12px 30px rgba(159,16,41,.34)!important;font-weight:900!important}
.btn-validation-attention:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 16px 36px rgba(159,16,41,.42)!important}
.btn-validation-attention:focus-visible{outline:3px solid rgba(255,102,123,.45);outline-offset:3px}
.validation-attention-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:18px 20px;border:2px solid #d6243f;border-radius:18px;background:linear-gradient(135deg,rgba(214,36,63,.18),rgba(159,16,41,.08));box-shadow:0 14px 34px rgba(80,8,20,.2)}
.validation-attention-panel strong{color:#fff;font-size:1.05rem}.validation-attention-panel span{color:var(--muted)}
.test-history-card.has-validation-pending{border:2px solid rgba(214,36,63,.72);box-shadow:0 16px 42px rgba(159,16,41,.18)}
.test-validation-attention-row{padding:12px 14px;border:1px solid rgba(214,36,63,.58);border-radius:15px;background:rgba(214,36,63,.1)}
.status-badge.validation-pending{background:#d6243f!important;color:#fff!important;border-color:#ef6074!important}
.validation-progress{font-size:.82rem;font-weight:800;color:#ffd7de}
.notice.validation-warning{border-color:rgba(214,36,63,.65);background:rgba(214,36,63,.12)}
@media(max-width:760px){.validation-attention-panel{align-items:stretch;flex-direction:column}.validation-attention-panel .btn-validation-attention{width:100%;text-align:center}.test-validation-attention-row{align-items:stretch;flex-direction:column}.test-validation-attention-row .btn-validation-attention{width:100%;text-align:center}}

/* 3.15.2 — notificaciones AJAX y actividad de participantes. */
.notification-count[hidden]{display:none!important}
.admin-kpi-link{color:var(--text);text-decoration:none;position:relative;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.admin-kpi-link:hover{transform:translateY(-2px);border-color:rgba(255,184,108,.5);background:rgba(255,184,108,.08)}
.admin-kpi-link small{display:block;margin-top:7px;color:var(--accent);font-size:.75rem;font-weight:800}
.active-users-link{color:var(--text);text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.active-users-link:hover{transform:translateY(-1px);border-color:rgba(255,184,108,.58);background:rgba(255,184,108,.13)}
.active-users-link span{flex:1}.active-users-link span small{display:block;margin-top:5px;color:var(--accent);font-size:.76rem;font-weight:800}.active-users-link b{font-size:1.35rem;color:var(--accent)}
.activity-window-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.activity-window-tabs a{padding:10px 13px;border:1px solid var(--line);border-radius:12px;color:var(--text);text-decoration:none;font-size:.82rem;font-weight:800;background:rgba(255,255,255,.05)}
.activity-window-tabs a:hover,.activity-window-tabs a.active{border-color:rgba(255,184,108,.55);background:rgba(255,184,108,.14);color:var(--accent)}
.activity-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.activity-users-table{min-width:980px}.activity-users-table td:first-child{min-width:220px}.activity-users-table td:nth-child(3){min-width:240px}
.activity-events-card{margin-top:20px}.activity-event-list{display:grid}.activity-event-item{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 3px;border-bottom:1px solid var(--line)}
.activity-event-item:last-child{border-bottom:0}.activity-event-item strong,.activity-event-item small{display:block}.activity-event-item small{margin-top:5px;color:var(--muted)}.activity-event-item time{white-space:nowrap;color:var(--muted);font-size:.78rem}
body.site-theme-elegant .activity-window-tabs a{background:#fff}body.site-theme-elegant .admin-kpi-link:hover{background:#fff9ef}
@media(max-width:760px){.activity-kpi-grid{grid-template-columns:1fr}.activity-event-item{flex-direction:column;gap:6px}.activity-event-item time{white-space:normal}.active-users-link{align-items:flex-start}.active-users-link b{margin-left:auto}}

/* Test Adaptativo 3.16.0 FIX4 — contraste legible y estados seleccionados. */
.adaptive-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.adaptive-option-card{border:1px solid rgba(255,255,255,.20);border-radius:18px;padding:18px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.055));position:relative;color:var(--text);box-shadow:0 14px 34px rgba(0,0,0,.16)}
.adaptive-option-card p{margin:10px 0 16px;line-height:1.55;color:var(--text);font-size:1rem;font-weight:700}
.adaptive-choice-actions{display:flex;gap:10px;flex-wrap:wrap}
.adaptive-choice-actions label{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:9px 13px;cursor:pointer;background:rgba(8,6,18,.38);color:var(--text);font-weight:750;transition:border-color .18s ease,background .18s ease,transform .18s ease,opacity .18s ease}
.adaptive-choice-actions label:hover{border-color:rgba(255,184,108,.72);background:rgba(255,184,108,.12);transform:translateY(-1px)}
.adaptive-choice-actions label:has(input:checked){border-color:rgba(255,255,255,.72);background:linear-gradient(135deg,#ffb86c,#9d7cff);color:#1d1328;font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.adaptive-choice-actions label:has(input:disabled){opacity:.42;cursor:not-allowed;transform:none}
.adaptive-choice-actions input{accent-color:#9d7cff}
.adaptive-choice-actions span{color:inherit}
.adaptive-test-shell .question-card{min-height:540px}
body.site-theme-elegant .adaptive-option-card,body.site-theme-executive .adaptive-option-card{background:#fff;color:#17223d;border-color:#cfd5df;box-shadow:0 12px 28px rgba(23,34,61,.10)}
body.site-theme-elegant .adaptive-option-card p,body.site-theme-executive .adaptive-option-card p{color:#17223d}
body.site-theme-elegant .adaptive-choice-actions label,body.site-theme-executive .adaptive-choice-actions label{background:#f5f7fa;color:#17223d;border-color:#c7cfda}
body.site-theme-elegant .adaptive-choice-actions label:has(input:checked){background:linear-gradient(135deg,#243b67,#b88632);color:#fff;border-color:#243b67}
body.site-theme-executive .adaptive-choice-actions label:has(input:checked){background:linear-gradient(135deg,#1670be,#07519a);color:#fff;border-color:#07519a}
@media(max-width:760px){.adaptive-options{grid-template-columns:1fr}.adaptive-choice-actions{display:grid;grid-template-columns:1fr 1fr}.adaptive-choice-actions label{justify-content:center}.adaptive-test-shell .question-card{min-height:auto}}

/* Test Adaptativo 3.16.0 FIX5 — orden explícito de 1.ª, 2.ª y 3.ª elección. */
.adaptive-ranking-guide{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 16px}
.adaptive-ranking-guide span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.055);color:var(--muted);font-size:.82rem;line-height:1.2}
.adaptive-ranking-guide b{color:var(--text);font-weight:900}
.adaptive-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.adaptive-rank-marker{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border-radius:999px;background:rgba(255,184,108,.14);border:1px solid rgba(255,184,108,.45);color:#ffd5a8;font-size:.78rem;font-weight:900;white-space:nowrap}
.adaptive-choice-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.adaptive-choice-actions label{justify-content:center;padding:9px 8px;min-width:0}
.adaptive-choice-actions label.is-disabled{opacity:.38;cursor:not-allowed;transform:none}
.adaptive-choice-actions label:has(input:disabled){opacity:.38;cursor:not-allowed;transform:none}
.adaptive-option-card.adaptive-option-primary{border-color:rgba(255,184,108,.72);box-shadow:0 0 0 2px rgba(255,184,108,.12),0 14px 34px rgba(0,0,0,.16)}
.adaptive-option-card.adaptive-option-secondary{border-color:rgba(157,124,255,.68);box-shadow:0 0 0 2px rgba(157,124,255,.10),0 14px 34px rgba(0,0,0,.16)}
.adaptive-option-card.adaptive-option-tertiary{border-color:rgba(131,211,188,.62);box-shadow:0 0 0 2px rgba(131,211,188,.09),0 14px 34px rgba(0,0,0,.16)}
body.site-theme-elegant .adaptive-ranking-guide span,body.site-theme-executive .adaptive-ranking-guide span{background:#f7f8fb;border-color:#d6dbe4;color:#4b5563}
body.site-theme-elegant .adaptive-ranking-guide b,body.site-theme-executive .adaptive-ranking-guide b{color:#17223d}
body.site-theme-elegant .adaptive-rank-marker,body.site-theme-executive .adaptive-rank-marker{background:#fff5e7;border-color:#d9a35e;color:#7b4b12}
@media(max-width:760px){.adaptive-ranking-guide{display:grid;grid-template-columns:1fr}.adaptive-choice-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.adaptive-choice-actions label{padding:10px 5px}.adaptive-rank-marker{font-size:.73rem}}
@media(max-width:410px){.adaptive-choice-actions{gap:6px}.adaptive-choice-actions label{font-size:.78rem}.adaptive-option-card{padding:15px}}


/* Test Adaptativo 2.1 (3.18.0) — más texto sin sacrificar legibilidad. */
.adaptive-test-shell .question-text{
  font-size:clamp(1.18rem,2.0vw,1.72rem);
  line-height:1.24;
  letter-spacing:-.025em;
  margin-bottom:20px;
}
.adaptive-test-shell .adaptive-option-card p{
  font-size:.96rem;
  line-height:1.5;
  font-weight:700;
}
@media(max-width:760px){
  .adaptive-test-shell .question-text{font-size:clamp(1.12rem,4.7vw,1.48rem);line-height:1.28}
  .adaptive-test-shell .adaptive-option-card p{font-size:.94rem;line-height:1.48}
}

/* Test Adaptativo 2.2 (3.19.0) */
.adaptive-save-status-hidden:empty{display:none}.adaptive-test-shell .adaptive-card-top:empty{display:none}.adaptive-test-shell .adaptive-option-card p{margin-top:0}.adaptive-test-shell .question-card{padding-top:24px}

/* 3.23.1 — Centro de recuperación operativa */
.system-status-disclosure{padding:0;overflow:hidden}
.system-status-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;cursor:pointer;user-select:none;min-height:82px}
.system-status-disclosure>summary::-webkit-details-marker{display:none}
.system-status-disclosure>summary:hover{background:rgba(255,255,255,.035)}
.system-status-disclosure>summary span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.system-status-disclosure>summary strong{color:#fff;font-size:1rem}
.system-status-disclosure>summary small{color:var(--muted);font-size:.8rem;font-weight:600;line-height:1.35}
.system-status-disclosure[open]>summary{border-bottom:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)}
.system-status-detail{padding:16px 20px 20px}
.system-status-detail p{margin:5px 0 10px;line-height:1.5}
.system-dot.warning{background:#f5c36a;box-shadow:0 0 0 5px rgba(245,195,106,.12)}
.system-action-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:14px}
.system-action-row form{margin:0}
.system-action-row .btn{min-height:38px}
.system-technical-name{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:.76rem!important;overflow-wrap:anywhere}
.system-model-list{display:grid;gap:8px;margin-top:14px}
.system-model-list>div{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(150px,1.2fr) auto;gap:10px;align-items:center;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.04);font-size:.82rem}
.system-model-list>div>span:first-child{color:var(--muted)}
.system-model-list>div strong{overflow-wrap:anywhere}
.pill-warning{background:rgba(245,195,106,.14)!important;color:#ffe0a2!important;border-color:rgba(245,195,106,.26)!important}
.system-failure-list{display:grid;gap:12px;margin-top:14px}
.system-failure-item{border:1px solid rgba(255,135,153,.20);background:rgba(255,135,153,.045);border-radius:14px;padding:14px}
.system-failure-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}
.system-failure-heading>div{display:flex;flex-direction:column;gap:3px}
.system-failure-heading span:not(.pill){color:var(--muted);font-size:.84rem}
.system-failure-item p{font-size:.83rem}
@media(max-width:720px){.system-model-list>div{grid-template-columns:1fr}.system-action-row .btn{width:100%}.system-action-row form{width:100%}.system-failure-heading{flex-direction:column}}


/* 3.23.2 — Test Adaptativo: navegación compacta en el cuarto cuadrante de laptop/escritorio. */
@media (min-width:761px){
  .adaptive-test-shell .question-card{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:16px;
    row-gap:0;
    align-items:stretch;
    min-height:0;
    padding:20px 24px 24px;
  }
  .adaptive-test-shell #adaptiveQuestionMount,
  .adaptive-test-shell .adaptive-options{display:contents}
  .adaptive-test-shell .question-text,
  .adaptive-test-shell .comparison-instruction,
  .adaptive-test-shell .adaptive-ranking-guide,
  .adaptive-test-shell #adaptiveQuestionMount>.notice{grid-column:1/-1}
  .adaptive-test-shell .question-text{margin:0 0 12px}
  .adaptive-test-shell .comparison-instruction{margin:0 0 8px;line-height:1.42}
  .adaptive-test-shell .adaptive-ranking-guide{margin:0 0 14px;gap:7px}
  .adaptive-test-shell .adaptive-ranking-guide span{padding:6px 10px;font-size:.78rem}
  .adaptive-test-shell .adaptive-option-card{
    display:flex;
    flex-direction:column;
    min-height:0;
    margin:0 0 16px;
    padding:17px 18px;
  }
  .adaptive-test-shell .adaptive-option-card p{margin-bottom:14px}
  .adaptive-test-shell .adaptive-choice-actions{margin-top:auto}
  .adaptive-test-shell .test-nav{
    margin:0 0 16px;
    padding:18px;
    min-height:0;
    border:1px dashed rgba(255,255,255,.22);
    border-radius:18px;
    background:rgba(255,255,255,.035);
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    align-content:center;
    align-items:center;
  }
  .adaptive-test-shell .test-nav::before{
    content:'Navegación';
    grid-column:1/-1;
    color:var(--muted);
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-align:center;
  }
  .adaptive-test-shell .test-nav .btn{width:100%;min-width:0}
  .adaptive-test-shell .question-card:has(.adaptive-options>.adaptive-option-card:nth-child(2):last-child) .test-nav{
    grid-column:1/-1;
    min-height:auto;
    padding:0;
    border:0;
    background:transparent;
    grid-template-columns:repeat(2,minmax(140px,190px));
    justify-content:end;
    margin-top:0;
  }
  .adaptive-test-shell .question-card:has(.adaptive-options>.adaptive-option-card:nth-child(2):last-child) .test-nav::before{display:none}
  body.site-theme-elegant .adaptive-test-shell .test-nav,
  body.site-theme-executive .adaptive-test-shell .test-nav{
    background:#f7f8fb;
    border-color:#cfd5df;
  }
  body.site-theme-elegant .adaptive-test-shell .question-card:has(.adaptive-options>.adaptive-option-card:nth-child(2):last-child) .test-nav,
  body.site-theme-executive .adaptive-test-shell .question-card:has(.adaptive-options>.adaptive-option-card:nth-child(2):last-child) .test-nav{
    background:transparent;
    border-color:transparent;
  }
}


/* 3.23.3 — Test Adaptativo: navegación limpia y pausa con énfasis principal. */
@media (min-width:761px){
  .adaptive-test-shell .test-nav::before{
    content:none !important;
    display:none !important;
  }
}


/* 3.23.4 — Afinamiento continuo y diagnóstico administrativo. */
.adaptive-refinement-note{display:block;margin-top:8px;line-height:1.45}
.adaptive-diagnostic-summary .stat-num{font-size:1.8rem;margin:10px 0 4px}
.adaptive-diagnostic-summary .adaptive-diagnostic-subtype{font-size:1.18rem;line-height:1.3;letter-spacing:-.02em}
.adaptive-diagnostic-summary .adaptive-diagnostic-stack{font-size:1.25rem;line-height:1.3;letter-spacing:-.02em}
.adaptive-diagnostic-decision{margin-top:18px;border-color:rgba(255,184,108,.32)}
.adaptive-diagnostic-counts{display:flex;flex-wrap:wrap;gap:8px}
.adaptive-diagnostic-winner td{background:rgba(255,184,108,.08);color:var(--text)}
@media(max-width:860px){.adaptive-diagnostic-summary{grid-template-columns:1fr}.adaptive-diagnostic-counts{display:grid;grid-template-columns:1fr 1fr}}


/* 3.25.0 — Experiencia de participante: progreso, continuidad, móvil e informes. */
.adaptive-experience-progress{margin:6px 0 4px}.adaptive-save-state{display:flex;align-items:flex-start;gap:8px;margin:12px 0 16px;padding:10px 12px;border:1px solid rgba(139,240,197,.20);border-radius:14px;background:rgba(139,240,197,.07)}.adaptive-save-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#8bf0c5;box-shadow:0 0 0 4px rgba(139,240,197,.10);flex:0 0 auto}.participant-details{margin:12px 0 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden}.participant-details>summary{cursor:pointer;padding:11px 13px;font-weight:800;color:var(--muted);list-style:none}.participant-details>summary::-webkit-details-marker{display:none}.participant-details>summary:after{content:'+';float:right;color:var(--accent);font-size:1.1rem}.participant-details[open]>summary:after{content:'−'}.participant-details-body{padding:0 13px 10px}.participant-details-body .field{margin:10px 0}
.current-journey-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 28px;margin-bottom:22px;border-color:rgba(255,184,108,.28);background:linear-gradient(135deg,rgba(255,184,108,.075),rgba(157,124,255,.045))}.current-journey-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:rgba(255,184,108,.14);border:1px solid rgba(255,184,108,.28);font-weight:900;font-size:1.25rem}.current-journey-copy h2{margin:5px 0 5px;font-size:1.3rem}.current-journey-copy p{margin:0;color:var(--muted);line-height:1.5}.journey-state{display:inline-flex;margin-top:9px;color:var(--muted);font-size:.86rem;font-weight:700}.current-journey-complete{border-color:rgba(139,240,197,.23)}.current-journey-complete .current-journey-icon{background:rgba(139,240,197,.10);border-color:rgba(139,240,197,.24)}
.result-completion-banner{display:flex;align-items:flex-start;gap:14px;margin:0 0 20px;padding:18px 20px;border:1px solid rgba(139,240,197,.22);border-radius:20px;background:rgba(139,240,197,.065)}.result-completion-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:rgba(139,240,197,.16);font-weight:900}.result-completion-banner strong{display:block;margin:5px 0 3px;color:var(--text)}.result-completion-banner p{margin:0;color:var(--muted);line-height:1.5;font-size:.94rem}
.report-processing-shell{max-width:780px;margin:0 auto;padding:38px;text-align:center}.report-processing-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:24px;background:rgba(255,184,108,.10);border:1px solid rgba(255,184,108,.24)}.report-processing-icon span{display:block;width:28px;height:28px;border:3px solid rgba(255,255,255,.22);border-top-color:var(--accent);border-radius:50%;animation:report-spin 1s linear infinite}.report-processing-lead{max-width:620px;margin:8px auto 24px}.report-processing-progress{max-width:600px;margin:0 auto 26px;text-align:left}.report-processing-state{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:.92rem}.report-processing-state strong{color:var(--text)}.report-processing-steps{display:grid;gap:10px;max-width:620px;margin:0 auto 24px;text-align:left}.report-processing-steps>div{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);opacity:.62}.report-processing-steps>div>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);font-weight:900}.report-processing-steps strong{display:block}.report-processing-steps small{color:var(--muted);line-height:1.35}.report-processing-steps .is-active{opacity:1;border-color:rgba(255,184,108,.32);background:rgba(255,184,108,.06)}.report-processing-steps .is-done{opacity:1;border-color:rgba(139,240,197,.24)}.report-processing-steps .is-done>span{background:rgba(139,240,197,.14);border-color:rgba(139,240,197,.28)}.report-processing-message{max-width:620px;margin:0 auto 18px;text-align:left}.report-processing-actions{justify-content:center}
@keyframes report-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.current-journey-card{grid-template-columns:auto 1fr;padding:20px}.current-journey-card>.btn{grid-column:1/-1;width:100%}.result-completion-banner{padding:16px}.report-processing-shell{padding:24px 18px}.report-processing-state{font-size:.84rem}.adaptive-test-shell .test-nav,.test-shell .test-nav{position:sticky;bottom:8px;z-index:4;padding:10px;border-radius:16px;background:rgba(18,14,31,.94);backdrop-filter:blur(18px);box-shadow:0 12px 32px rgba(0,0,0,.26)}body.site-theme-elegant .adaptive-test-shell .test-nav,body.site-theme-executive .adaptive-test-shell .test-nav,body.site-theme-elegant .test-shell .test-nav,body.site-theme-executive .test-shell .test-nav{background:rgba(255,255,255,.96)}.adaptive-choice-actions label,.scale-option span,.contrast-option span{min-height:52px}}


/* 3.26.0 · refinamiento visual, estabilidad de layout y microinteracciones */
.adaptive-stage-detail{display:block;margin:-2px 0 14px;line-height:1.5}.adaptive-stage-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:14px 0 12px;position:relative}.adaptive-stage-node{min-width:0;text-align:center;position:relative;color:var(--muted)}.adaptive-stage-node:before{content:'';position:absolute;top:13px;left:-50%;right:50%;height:1px;background:var(--line);z-index:0}.adaptive-stage-node:first-child:before{display:none}.adaptive-stage-node span{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;margin:0 auto 5px;border-radius:50%;border:1px solid var(--line);background:var(--panel);font-size:.72rem;font-weight:900;transition:border-color .2s ease,background .2s ease,transform .2s ease}.adaptive-stage-node small{display:block;overflow:hidden;text-overflow:ellipsis;font-size:.66rem;font-weight:750;line-height:1.15}.adaptive-stage-node.is-current span{border-color:rgba(255,184,108,.68);background:rgba(255,184,108,.12);transform:scale(1.07)}.adaptive-stage-node.is-current{color:var(--text)}.adaptive-stage-node.is-done span{border-color:rgba(139,240,197,.40);background:rgba(139,240,197,.12)}.adaptive-stage-node.is-done:before,.adaptive-stage-node.is-current:before{background:rgba(139,240,197,.35)}.adaptive-stage-progress-bar{margin-top:8px}
.adaptive-option-card{transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background-color .2s ease}.adaptive-option-card:hover{transform:translateY(-2px)}.adaptive-option-card:focus-within{outline:2px solid color-mix(in srgb,var(--accent) 72%,transparent);outline-offset:3px}.adaptive-choice-actions label{transition:transform .16s ease,background-color .16s ease,border-color .16s ease}.adaptive-choice-actions label:hover{transform:translateY(-1px)}.adaptive-choice-actions label:active{transform:scale(.98)}.adaptive-selection-pulse{animation:adaptive-selection-pulse .38s ease}.adaptive-option-card p{min-height:0}.adaptive-question-enter{opacity:0;transform:translateY(9px);transition:opacity .28s ease var(--adaptive-enter-delay,0ms),transform .32s cubic-bezier(.2,.8,.2,1) var(--adaptive-enter-delay,0ms)}.adaptive-question-enter.is-visible{opacity:1;transform:none}.adaptive-question-leave{opacity:0;transform:translateX(-8px);transition:opacity .15s ease,transform .17s ease}.adaptive-question-leave-back{opacity:0;transform:translateX(8px);transition:opacity .15s ease,transform .17s ease}
.adaptive-stage-overlay{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:rgba(18,14,31,.26);backdrop-filter:blur(4px);z-index:1200;opacity:0;pointer-events:none;transition:opacity .24s ease}.adaptive-stage-overlay.is-visible{opacity:1}.adaptive-stage-overlay-card{width:min(500px,92vw);padding:28px;border:1px solid rgba(255,255,255,.18);border-radius:24px;background:rgba(31,24,48,.94);box-shadow:0 26px 70px rgba(0,0,0,.30);text-align:center;transform:translateY(8px) scale(.985);transition:transform .3s cubic-bezier(.2,.8,.2,1)}.adaptive-stage-overlay.is-visible .adaptive-stage-overlay-card{transform:none}.adaptive-stage-overlay-mark{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 12px;border-radius:14px;background:rgba(255,184,108,.12);color:var(--accent);font-size:1.1rem}.adaptive-stage-overlay-card strong{display:block;font-size:1.16rem}.adaptive-stage-overlay-card p{margin:8px 0 0;color:var(--muted);line-height:1.5}
.result-completion-mark{animation:result-mark-in .55s cubic-bezier(.2,.85,.25,1)}
.report-processing-shell{position:relative;overflow:hidden}.report-processing-shell:before{content:'';position:absolute;width:280px;height:280px;border-radius:50%;top:-210px;left:50%;transform:translateX(-50%);background:radial-gradient(circle,rgba(255,184,108,.18),transparent 68%);pointer-events:none}.report-processing-steps>div{transition:opacity .22s ease,border-color .22s ease,background-color .22s ease,transform .22s ease}.report-processing-steps .is-active{transform:translateX(3px)}.report-processing-steps .is-active>span{animation:report-step-pulse 1.8s ease-in-out infinite}.report-processing-shell.is-complete .report-processing-icon span{border:0;width:36px;height:36px;animation:none}.report-processing-shell.is-complete .report-processing-icon span:before{content:'✓';display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(139,240,197,.14);color:#8bf0c5;font-size:1.35rem;font-weight:900}.report-email-inline{display:inline-flex;margin:0}.report-email-inline.hidden{display:none}.report-email-destination{display:block;margin:12px auto 0;max-width:620px;text-align:center;overflow-wrap:anywhere}.report-email-inline .btn{white-space:nowrap}
body.site-theme-elegant .adaptive-stage-overlay,body.site-theme-executive .adaptive-stage-overlay{background:rgba(242,239,247,.42)}body.site-theme-elegant .adaptive-stage-overlay-card,body.site-theme-executive .adaptive-stage-overlay-card{background:rgba(255,255,255,.97);border-color:#ddd6e5;box-shadow:0 24px 64px rgba(32,26,44,.18)}
@keyframes adaptive-selection-pulse{0%{transform:scale(1)}45%{transform:scale(1.008);box-shadow:0 0 0 4px rgba(255,184,108,.10),0 14px 34px rgba(0,0,0,.16)}100%{transform:scale(1)}}@keyframes result-mark-in{0%{opacity:0;transform:scale(.72)}70%{transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}@keyframes report-step-pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,184,108,.06)}50%{box-shadow:0 0 0 6px rgba(255,184,108,.10)}}
@media(max-width:760px){.adaptive-stage-track{gap:3px}.adaptive-stage-node small{font-size:.58rem}.adaptive-stage-node span{width:25px;height:25px}.adaptive-option-card:hover{transform:none}.report-processing-steps .is-active{transform:none}.report-processing-actions .report-email-inline,.report-processing-actions .report-email-inline .btn,.result-document-actions .report-email-inline,.result-document-actions .report-email-inline .btn{width:100%}.test-report-actions .report-email-inline{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.adaptive-option-card,.adaptive-choice-actions label,.adaptive-stage-node span,.adaptive-question-enter,.adaptive-question-leave,.adaptive-question-leave-back,.adaptive-stage-overlay,.adaptive-stage-overlay-card,.report-processing-steps>div{transition:none!important;animation:none!important}.adaptive-selection-pulse,.result-completion-mark,.report-processing-icon span,.report-processing-steps .is-active>span{animation:none!important}.adaptive-option-card:hover,.adaptive-stage-node.is-current span,.report-processing-steps .is-active{transform:none!important}}

/* EnneaDimensions360 3.30.0-FIX3: homepage logo */
.homepage-brand-logo{display:block;width:min(100%,560px);height:auto;margin:16px auto 22px;object-fit:contain;filter:drop-shadow(0 14px 32px rgba(64,102,255,.18))}
@media(max-width:860px){.homepage-brand-logo{width:min(100%,520px);margin:14px auto 20px}}
@media(max-width:520px){.homepage-brand-logo{width:100%;margin:12px auto 18px}}


/* 3.31.0-FIX4 · comparación clara Perfil Básico / Perfil Completo */
.product-feature-group{margin-top:18px}.product-feature-group-title{font-size:.82rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:9px}.product-feature-list{list-style:none!important;margin:0;padding:0!important;display:grid;gap:8px}.product-feature-list li{list-style:none!important;display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start;line-height:1.35}.product-feature-list li::marker{content:''}.product-feature-list .feature-symbol{font-weight:900;text-align:center}.product-feature-list .feature-included .feature-symbol{color:var(--accent)}.product-feature-group-excluded{padding-top:2px}.product-feature-list .feature-excluded{color:var(--muted);opacity:.82}.product-feature-list .feature-excluded .feature-symbol{color:var(--muted)}

/* 3.31.0-FIX6 — purchase flow clarity */
.purchase-list-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.purchase-list-heading .h2{margin-bottom:4px}.purchase-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.purchase-actions form{margin:0}.payment-awaiting{display:inline-block;max-width:240px;color:var(--accent);font-weight:800;line-height:1.35}.payment-confirmed{display:inline-block;color:var(--ok);font-weight:800}.payment-dialog{width:min(560px,calc(100vw - 28px));max-width:560px;border:1px solid var(--line);border-radius:22px;padding:0;background:transparent;color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.48)}.payment-dialog::backdrop{background:rgba(7,5,20,.72);backdrop-filter:blur(5px)}.payment-dialog-shell{position:relative;padding:28px;background:linear-gradient(145deg,rgba(60,49,82,.98),rgba(32,27,49,.99));border-radius:21px}.payment-dialog-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.07);color:var(--text);font-size:1.45rem;line-height:1;cursor:pointer}.payment-dialog-heading{padding-right:42px;margin-bottom:18px}.payment-dialog-heading h3{font-size:1.45rem;margin:5px 0 7px}.payment-dialog-heading p{margin:0}.payment-method-static{display:grid;gap:5px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.055);margin-bottom:15px}.payment-method-static span{color:var(--muted);font-size:.82rem;font-weight:800}.payment-ars-panel{display:grid;gap:4px;padding:14px 15px;margin:2px 0 15px;border:1px solid rgba(255,184,108,.34);border-radius:13px;background:rgba(255,184,108,.09)}.payment-ars-panel[hidden]{display:none!important}.payment-ars-panel span,.payment-ars-panel small{color:var(--muted)}.payment-ars-panel strong{font-size:1.25rem;color:var(--accent)}.payment-dialog-note{font-size:.9rem;line-height:1.45;margin-top:6px}.payment-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.payment-dialog-actions .btn{min-width:150px}.status-badge.pending_payment{background:rgba(255,184,108,.11);border-color:rgba(255,184,108,.28);color:var(--accent)}.status-badge.payment_reported{background:rgba(157,124,255,.14);border-color:rgba(157,124,255,.30);color:#e5dbff}.status-badge.confirmed{background:rgba(139,240,197,.12);border-color:rgba(139,240,197,.28);color:var(--ok)}
@media(max-width:760px){.purchase-table th:nth-child(1),.purchase-table td:nth-child(1){min-width:115px}.purchase-actions,.payment-dialog-actions{flex-direction:column;align-items:stretch}.purchase-actions .btn,.purchase-actions form,.purchase-actions form .btn,.payment-dialog-actions .btn{width:100%}.payment-dialog-shell{padding:24px 18px}}

.admin-nav-accordion{display:block;margin-bottom:8px}.admin-nav-accordion>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:9px 10px}.admin-nav-accordion>summary::-webkit-details-marker{display:none}.admin-nav-items{display:grid;gap:4px;padding-bottom:6px}.admin-nav-chevron{transition:.18s}.admin-nav-accordion[open] .admin-nav-chevron{transform:rotate(180deg)}.email-center-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px}.email-template-list{position:sticky;top:92px}.email-template-link{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:10px;text-decoration:none;color:var(--text)}.email-template-link.active,.email-template-link:hover{background:rgba(111,83,166,.14)}.email-template-link small{color:var(--muted)}.email-preview-frame{width:100%;height:600px;border:1px solid var(--line);border-radius:14px;background:#fff}.checkline{display:flex;gap:8px;align-items:center;margin:14px 0}.email-center-layout textarea{width:100%;resize:vertical}@media(max-width:900px){.email-center-layout{grid-template-columns:1fr}.email-template-list{position:static}}
