:root{
  --purple:#523178;--purple2:#321078;--purple3:#6228ba;--pink:#8C4799;
  --red:#e31d37;--orange:#ff7a12;--yellow:#f4b51b;--green:#2d9253;
  --blue:#315fbf;--cyan:#2ba9c3;--ink:#171a3b;--muted:#68708a;--bg:#f7f4fa;
  --line:#e5e8f0;--shadow:0 12px 28px rgba(30,20,75,.10)
}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:1.1em;height:1.1em;stroke-width:2}
.app{display:grid;grid-template-columns:210px 1fr;min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;background:linear-gradient(180deg,#16063f,#1f0b57 58%,#15083c);color:white;display:flex;flex-direction:column;z-index:50}
.brand{padding:18px;background:white}.brand img{width:100%;display:block}.sidebar nav{padding:14px 12px;display:grid;gap:5px}.nav-btn{border:0;background:transparent;color:white;padding:12px 13px;border-radius:10px;display:flex;align-items:center;gap:12px;text-align:left}
.nav-btn.active,.nav-btn:hover{background:linear-gradient(90deg,var(--pink) 0 4px,rgba(255,255,255,.13) 4px)}
.voice-side{margin:auto 14px 18px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.05);color:white;border-radius:16px;padding:15px;display:grid;place-items:center;text-align:center;gap:7px}
.voice-orb{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 30%,#ff5ea5,#8218bb 64%,#35106d);box-shadow:0 12px 28px rgba(0,0,0,.3)}.voice-side small{color:#ddd5ef}.ready{font-size:.7rem;font-weight:800;color:#c8f5d4}.ready i{display:inline-block;width:8px;height:8px;background:#27c45c;border-radius:50%;margin-right:5px}
.sidebar footer{padding:18px}.sidebar footer small{display:block;color:#d6d1e5;margin-top:3px}
.main{min-width:0}.topbar{height:84px;background:linear-gradient(90deg,#21105c,#15093e);color:white;display:flex;align-items:center;padding:0 18px;position:sticky;top:0;z-index:40;gap:12px}
.menu-btn{width:44px;height:44px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:white;display:grid;place-items:center}.page-title h1{margin:0;font-size:1.35rem}.page-title p{margin:3px 0 0;color:#ddd4ee}.ai-status,.generation,.profile{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:8px 12px}.ai-status{margin-left:auto}.ai-status small{color:#4ce67b}.ai-status strong,.generation strong,.profile strong{display:block}.generation small,.profile small{display:block;color:#ddd4ee}.notify{position:relative;width:44px;height:44px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:white}.notify b{position:absolute;right:-3px;top:-5px;background:var(--red);border-radius:50%;font-size:.68rem;padding:2px 5px}.avatar{width:40px;height:40px;background:white;color:var(--purple);border-radius:50%;display:grid;place-items:center;font-weight:900}
main{max-width:1750px;margin:auto;padding:14px}.view{display:none}.view.active{display:block}.card{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.incident-header{background:linear-gradient(135deg,#281061,#180847);color:white;border-radius:15px;padding:18px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}.incident-icon{width:72px;height:72px;background:linear-gradient(135deg,#ff503e,#da003c);border-radius:50%;display:grid;place-items:center}.incident-icon svg{width:38px;height:38px}.incident-copy>span{color:#ff536f;font-weight:900;font-size:.72rem}.incident-copy h2{margin:5px 0;font-size:1.35rem}.incident-copy p{margin:0;color:#e4dcf2}.meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;font-size:.82rem}.meta b{display:flex;align-items:center;gap:6px}.meta em{font-style:normal;background:#ed4d68;border-radius:999px;padding:3px 7px}.state{display:grid;justify-items:end;gap:7px;text-align:right}.state strong{display:flex;align-items:center;gap:5px;background:#31a84f;padding:9px 15px;border-radius:9px}
.layout{display:grid;grid-template-columns:minmax(0,1.82fr) minmax(360px,.78fr);gap:14px;margin-top:14px}.left,.right{display:grid;gap:14px;align-content:start}
.ai-analysis{display:grid;grid-template-columns:1.3fr .7fr;padding:18px}.analysis-list h3{margin:0 0 10px;color:var(--purple3);display:flex;align-items:center;gap:8px}.analysis-list ul{list-style:none;padding:0;margin:0}.analysis-list li{display:grid;grid-template-columns:auto 1fr auto;gap:9px;padding:6px 0;align-items:center}.analysis-list li svg{color:var(--green)}.analysis-list li b{color:var(--green);font-size:.78rem}.analysis-progress{position:relative;height:8px;background:#e9e6f2;border-radius:999px;margin-top:12px;overflow:hidden}.analysis-progress i{display:block;height:100%;background:linear-gradient(90deg,#7026dc,#6b2be0)}.analysis-progress span{position:absolute;right:8px;top:-6px;font-size:.68rem;color:white}.ai-visual{display:grid;place-items:center}.brain{width:145px;height:145px;border-radius:28px;display:grid;place-items:center;font-size:4rem;color:#d9b8ff;background:radial-gradient(circle at 50% 30%,#7d4ae7,#4e1d9b 55%,#28105f);box-shadow:0 20px 40px rgba(74,24,150,.28)}
.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.kpis article{background:white;border:1px solid var(--line);border-radius:13px;padding:12px;box-shadow:var(--shadow)}.ico{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.ico.purple{background:#ece7fa;color:var(--purple)}.ico.orange{background:#fff0df;color:var(--orange)}.ico.green{background:#e2f2e6;color:var(--green)}.ico.blue{background:#e7efff;color:var(--blue)}.ico.pink{background:#ffe6f0;color:var(--pink)}
.kpis small{display:block;color:var(--purple);font-weight:900;font-size:.63rem;margin-top:7px}.kpis strong{display:block;font-size:1.4rem;margin-top:7px}.kpis strong.small{font-size:1rem}.kpis p{margin:3px 0 8px;color:var(--muted);font-size:.78rem}.bar{height:5px;background:#e8e3f1;border-radius:999px;overflow:hidden}.bar i{display:block;height:100%;background:var(--purple)}.bar.orange i{background:var(--orange)}.bar.green i{background:var(--green)}.bar.blue i{background:var(--blue)}.bar.pink i{background:var(--pink)}
.map-frame-wrap{position:relative;overflow:hidden;background:#eee}.map-frame-wrap iframe{display:block}.incident-map-marker{position:absolute;left:50%;top:50%;width:42px;height:52px;transform:translate(-50%,-100%);pointer-events:none;z-index:9;filter:drop-shadow(0 4px 6px #0008)}.incident-map-marker:after{content:"";position:absolute;left:1px;top:2px;width:34px;height:34px;border:3px solid #F9B52C;border-radius:50%;animation:incidentPinPulse 1.8s infinite}@keyframes incidentPinPulse{0%{transform:scale(.7);opacity:.9}70%{transform:scale(1.4);opacity:0}100%{opacity:0}}.incident-map-marker:before{content:"";position:absolute;left:5px;top:2px;width:24px;height:24px;background:#F9B52C;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}.incident-map-marker span{position:absolute;left:14px;top:11px;width:7px;height:7px;border-radius:50%;background:#fff;z-index:2}.incident-map-marker.hidden{display:none}
.map-data{display:grid;grid-template-columns:1.25fr .75fr;gap:12px}.map-card h3,.data-card h3,.timeline-card h3{margin:0;padding:12px 14px;color:var(--purple);font-size:.82rem}.map-card iframe{width:100%;height:300px;border:0}.map-foot{display:flex;align-items:center;gap:7px;padding:9px 12px;border-top:1px solid var(--line);font-size:.76rem}.map-foot a{margin-left:auto;color:var(--purple);text-decoration:none;font-weight:800;display:flex;align-items:center;gap:5px}
.data-card dl{margin:0;padding:0 14px 14px}.data-card dl div{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;padding:7px 0}.data-card dd{margin:0;font-weight:800}
.timeline-card{padding-bottom:14px}.timeline{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;position:relative;padding:0 12px}.timeline:before{content:"";position:absolute;left:7%;right:7%;top:18px;height:3px;background:linear-gradient(90deg,var(--red),var(--orange),var(--blue),var(--purple3),var(--cyan),var(--green),#7c8191)}.timeline>div{display:grid;justify-items:center;text-align:center;gap:5px;z-index:1}.dot{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:white}.dot.red{background:var(--red)}.dot.orange{background:var(--orange)}.dot.blue{background:var(--blue)}.dot.purple{background:var(--purple3)}.dot.cyan{background:var(--cyan)}.dot.green{background:var(--green)}.dot.gray{background:#7c8191}.timeline small{font-size:.6rem;color:var(--muted)}
.crisis{overflow:hidden;position:sticky;top:98px;align-self:start}.crisis header{background:linear-gradient(90deg,#2b1167,#431588);color:white;padding:14px;display:flex;justify-content:space-between;font-weight:900}.crisis header span{display:flex;align-items:center;gap:8px}.crisis-body{padding:14px}.crisis-body h3{font-size:.8rem;color:var(--purple);display:flex;justify-content:space-between}.crisis-body h3 em{font-style:normal;color:#d92d49;background:#fde4e9;border-radius:999px;padding:3px 8px}.criticality{position:relative;margin:10px 0 16px}.criticality i{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,#2d9253 0 28%,#8abe28 28% 43%,#f4b51b 43% 62%,#ff7a12 62% 82%,#e31d37 82%)}.criticality span{position:absolute;left:88%;top:-3px;width:16px;height:16px;border-radius:50%;background:white;border:2px solid var(--red)}
.crisis-body h4{margin:14px 0 8px;color:var(--purple);font-size:.78rem}.crisis-body ul{list-style:none;padding:0;margin:0}.crisis-body li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.crisis-body li span{display:flex;align-items:center;gap:7px}.ok,.warn{border-radius:999px;padding:4px 8px;font-size:.72rem}.ok{background:#e0f2e5;color:#207744}.warn{background:#fff0dc;color:#ca710e}.money{font-size:1.35rem}.crisis-body p{line-height:1.5}.download-btn{width:100%;border:0;background:var(--purple);color:white;border-radius:9px;padding:13px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:7px}
.actions{display:grid;grid-template-columns:1.15fr 1.1fr .95fr 1.35fr;gap:12px;margin-top:14px}.action{border:1px solid var(--line);background:white;color:var(--purple);border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:center;gap:10px}.action span{display:grid;text-align:left}.action small{color:var(--muted);font-weight:500}.action.dark{background:var(--purple);color:white}.action.dark small{color:#e3dcf2}.action.gradient{background:linear-gradient(90deg,var(--purple),var(--purple3));color:white;border:0}
.new-report{padding:22px}.new-head{display:flex;justify-content:space-between;align-items:center}.new-head>div>span{color:var(--pink);font-weight:900;font-size:.72rem}.new-head h2{margin:5px 0;color:var(--purple)}.new-head p{margin:0;color:var(--muted)}.big-mic{width:84px;height:84px;border:0;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ff5ea5,#8218bb 64%,#35106d);color:white}.big-mic.recording{animation:pulse 1.2s infinite}@keyframes pulse{50%{transform:scale(1.06);box-shadow:0 0 0 14px rgba(213,20,115,.12)}}.record-status{display:flex;justify-content:space-between;margin-top:18px}.record-status small{display:block;color:var(--muted)}
.waveform{height:72px;display:flex;align-items:center;justify-content:center;gap:5px}.waveform i{width:4px;height:18px;background:var(--purple);border-radius:999px;animation:wave 1s infinite ease-in-out;animation-play-state:paused}.waveform.active i{animation-play-state:running}.waveform i:nth-child(2n){animation-delay:.1s}.waveform i:nth-child(3n){animation-delay:.2s}@keyframes wave{50%{height:52px}}textarea,input,select{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:white}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:14px}.form-grid label{display:grid;gap:7px;color:var(--purple);font-weight:800}.new-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.placeholder .card{padding:24px}.mobile-nav{display:none}
.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1200px){.app{grid-template-columns:86px 1fr}.brand{padding:12px 7px}.nav-btn{justify-content:center}.nav-btn span{display:none}.voice-side,.sidebar footer{display:none}.kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:930px){body{padding-bottom:72px}.app{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:250px;transform:translateX(-104%);transition:.25s}.sidebar.open{transform:translateX(0)}.layout{grid-template-columns:1fr}.ai-status,.generation{display:none}.kpis{grid-template-columns:repeat(3,1fr)}.actions{grid-template-columns:1fr 1fr}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;background:white;border-top:1px solid var(--line);z-index:60;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{border:0;background:white;color:var(--purple);padding:8px 3px;display:grid;place-items:center;gap:2px}.mobile-nav span{font-size:.62rem}.mobile-mic{width:54px;height:54px;border-radius:50%!important;background:var(--purple)!important;color:white!important;margin-top:-20px;justify-self:center}}
@media(max-width:650px){main{padding:9px}.topbar{height:66px;padding:0 9px}.page-title h1{font-size:.98rem}.page-title p,.profile>span:not(.avatar),.notify{display:none}.profile{padding:0;background:transparent;border:0}.incident-header{grid-template-columns:auto 1fr;padding:13px}.incident-icon{width:48px;height:48px}.incident-copy h2{font-size:.95rem}.incident-copy p{font-size:.75rem}.meta{gap:7px;font-size:.66rem}.state{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.ai-analysis{grid-template-columns:1fr}.ai-visual{display:none}.kpis{grid-template-columns:repeat(3,1fr);gap:7px}.kpis article{padding:9px}.kpis small{font-size:.55rem}.kpis strong{font-size:1.05rem}.kpis article:nth-child(4),.kpis article:nth-child(5){display:none}.map-data{grid-template-columns:1fr}.map-card iframe{height:220px}.timeline{grid-template-columns:repeat(7,120px);overflow-x:auto}.right{display:none}.actions{grid-template-columns:1fr 1fr}.actions .action:nth-child(2),.actions .action:nth-child(3){display:none}.form-grid{grid-template-columns:1fr}.new-head{align-items:flex-start}.big-mic{width:68px;height:68px}}

@media(max-width:930px){
  .crisis{position:static;top:auto}
}

.hidden{display:none!important}
.ai-process,.ai-result{margin-top:16px;border:1px solid var(--line);border-radius:14px;padding:16px;background:linear-gradient(135deg,#fbfaff,#f5f1ff)}
.ai-process-head{display:flex;align-items:center;gap:12px}
.ai-process-head small{display:block;color:var(--muted);margin-top:3px}
.ai-process-orb{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:white;background:linear-gradient(135deg,var(--pink),var(--purple3));animation:aiPulse 1.2s infinite}
@keyframes aiPulse{50%{transform:scale(1.06);box-shadow:0 0 0 10px rgba(98,40,186,.10)}}
.ai-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.ai-steps span{display:flex;align-items:center;gap:7px;font-size:.76rem;color:var(--muted);background:white;border:1px solid var(--line);border-radius:9px;padding:9px}
.ai-steps span.active{color:var(--purple);border-color:#cdb9f0}.ai-steps span.done{color:var(--green);border-color:#bfe5cb;background:#f3fbf5}
.ai-progress{height:7px;background:#e8e2f1;border-radius:999px;overflow:hidden}.ai-progress i{display:block;height:100%;width:8%;background:linear-gradient(90deg,var(--pink),var(--purple3));transition:width .35s}
.ai-result header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}
.ai-result header span{color:var(--pink);font-size:.68rem;font-weight:900}.ai-result h3{margin:4px 0;color:var(--purple)}
.ai-result header>b{border-radius:999px;padding:6px 10px;background:#fde4e9;color:#c5233d}
.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}
.result-grid article{background:white;border:1px solid var(--line);border-radius:11px;padding:12px}.result-grid h4{margin:0 0 7px;color:var(--purple);font-size:.8rem}.result-grid p,.result-grid ul{margin:0;line-height:1.5}.result-grid ul{padding-left:18px}
.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.ai-disclaimer{font-size:.72rem;color:var(--muted);margin:10px 0 0}
.action:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:650px){.ai-steps{grid-template-columns:1fr 1fr}.result-grid{grid-template-columns:1fr}.result-actions .action{width:100%}}

/* V5 Profesional móvil */
.evidence-panel{margin-top:16px;background:white;border:1px solid var(--line);border-radius:14px;padding:14px}
.evidence-panel header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px}
.evidence-panel header span{color:var(--pink);font-size:.68rem;font-weight:900}.evidence-panel h3{margin:4px 0;color:var(--purple)}
.evidence-panel>p{color:var(--muted);font-size:.7rem;margin:10px 0 0}.evidence-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.evidence-item{position:relative;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fafafa;min-height:115px}
.evidence-item img{width:100%;height:115px;object-fit:cover;display:block}.evidence-file{height:115px;display:grid;place-items:center;text-align:center;padding:10px;color:var(--purple)}
.evidence-item button{position:absolute;right:6px;top:6px;border:0;width:28px;height:28px;border-radius:50%;background:rgba(20,8,60,.85);color:white;display:grid;place-items:center}
.evidence-name{padding:7px;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crisis-fab{display:none}
.mobile-sheet{display:none}
@media(max-width:930px){
  .crisis-fab{display:flex;position:fixed;right:14px;bottom:84px;z-index:55;border:0;border-radius:999px;padding:11px 14px;background:linear-gradient(90deg,#2b1167,#5b20ad);color:white;align-items:center;gap:7px;box-shadow:0 14px 30px rgba(35,10,90,.28);font-weight:900}
  .mobile-sheet{display:block;position:fixed;inset:0;z-index:90;pointer-events:none}
  .mobile-sheet.open{pointer-events:auto}.sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(10,8,25,.52);opacity:0;transition:.25s}.mobile-sheet.open .sheet-backdrop{opacity:1}
  .sheet-content{position:absolute;left:0;right:0;bottom:0;background:white;border-radius:22px 22px 0 0;padding:12px 16px calc(18px + env(safe-area-inset-bottom));max-height:82vh;overflow:auto;transform:translateY(105%);transition:.28s}
  .mobile-sheet.open .sheet-content{transform:translateY(0)}.sheet-handle{width:48px;height:5px;border-radius:999px;background:#d9dbe3;margin:0 auto 12px}
  .sheet-content header{display:flex;justify-content:space-between;align-items:flex-start}.sheet-content header span{font-size:.68rem;color:var(--pink);font-weight:900}.sheet-content h3{margin:4px 0;color:var(--purple)}
  .sheet-content header button{border:0;background:#f0edf7;color:var(--purple);width:38px;height:38px;border-radius:50%;display:grid;place-items:center}
  .mobile-crisis-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.mobile-crisis-grid article{border:1px solid var(--line);border-radius:11px;padding:11px;background:#faf9fd}.mobile-crisis-grid small{display:block;color:var(--muted)}.mobile-crisis-grid strong{display:block;margin-top:5px;color:var(--purple)}
  .evidence-grid{grid-template-columns:repeat(2,1fr)}
}
@media print{
  body{background:white!important;padding:0!important}.sidebar,.topbar,.mobile-nav,.actions,.new-actions,.crisis-fab,.mobile-sheet,.result-actions,.ai-disclaimer{display:none!important}
  .app{display:block}.main{width:100%}.view{display:none!important}#home.view{display:block!important}.incident-header,.card,.kpis article{box-shadow:none!important}
  main{max-width:none;padding:0}.layout{grid-template-columns:1fr .55fr}.right{display:grid!important}
}

.welcome-new{
  display:flex;align-items:center;gap:16px;margin-bottom:16px;padding:18px;
  border-radius:16px;color:white;background:linear-gradient(110deg,#523178,#3a176f 58%,#5e248e);
  box-shadow:0 12px 26px rgba(30,12,75,.16)
}
.welcome-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:rgba(255,255,255,.14)}
.welcome-new span{font-size:.68rem;font-weight:900;color:#ffb4d1}.welcome-new h2{margin:4px 0;font-size:1.45rem}.welcome-new p{margin:0;max-width:820px;line-height:1.45;color:#f1ebfa}
@media(max-width:650px){
  .welcome-new{align-items:flex-start;padding:15px}.welcome-icon{width:44px;height:44px}.welcome-new h2{font-size:1.2rem}
}

/* V7 Gestión del Conocimiento */
.knowledge-view{display:none}.knowledge-view.active{display:block}
.knowledge-hero{display:flex;align-items:center;gap:16px;padding:18px;margin-bottom:16px;border-radius:16px;color:white;background:linear-gradient(115deg,#523178,#3f187a 60%,#6c2c92)}
.knowledge-icon{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.15)}
.knowledge-hero span,.knowledge-upload header span,.knowledge-search-card header span,.knowledge-library header span{font-size:.68rem;font-weight:900;color:var(--pink)}
.knowledge-hero h2{margin:4px 0}.knowledge-hero p{margin:0;line-height:1.45;color:#f1ecf9}
.knowledge-mic{margin-left:auto;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:white;border-radius:12px;padding:11px 14px;display:flex;gap:8px;align-items:center;font-weight:900}
.knowledge-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.knowledge-upload header,.knowledge-search-card header,.knowledge-library header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:11px;margin-bottom:12px}
.knowledge-upload h3,.knowledge-search-card h3,.knowledge-library h3{margin:4px 0;color:var(--purple)}
.knowledge-upload label{display:block;font-weight:800;font-size:.76rem;margin:10px 0}.knowledge-upload input,.knowledge-upload select,.knowledge-upload textarea,.knowledge-query textarea,.library-toolbar input{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:10px;padding:11px;background:white;font:inherit}
.knowledge-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.knowledge-upload>small{display:block;margin-top:8px;color:var(--muted)}
.knowledge-query{position:relative}.knowledge-query textarea{padding-right:52px;resize:vertical}.query-mic{position:absolute;right:8px;bottom:8px;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;color:white;background:linear-gradient(135deg,var(--pink),var(--purple3))}
.full{width:100%;justify-content:center}.knowledge-answer{margin-top:12px;padding:14px;border-radius:12px;border:1px solid #c9b9e8;background:#f7f3ff;line-height:1.55}.knowledge-answer h4{margin:0 0 8px;color:var(--purple)}.knowledge-answer ul{padding-left:18px}
.library-toolbar{margin-bottom:12px}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.library-empty{grid-column:1/-1;padding:24px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}
.library-item{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;position:relative}.library-item h4{margin:5px 30px 5px 0;color:var(--purple)}.library-item p{font-size:.76rem;line-height:1.45;color:#424451;max-height:66px;overflow:hidden}.library-item small{display:block;color:var(--muted)}.library-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.library-tags span{font-size:.62rem;background:#f0ebf8;color:var(--purple);padding:4px 7px;border-radius:999px}.library-delete{position:absolute;right:8px;top:8px;border:0;background:#f8e8ed;color:#c5233d;width:28px;height:28px;border-radius:50%;display:grid;place-items:center}
.ai-assistant-fab{position:fixed;right:18px;bottom:18px;z-index:60;border:0;border-radius:999px;padding:12px 16px;color:white;background:linear-gradient(90deg,#8C4799,#5e2490);box-shadow:0 15px 30px rgba(70,20,100,.28);display:flex;align-items:center;gap:8px;font-weight:900}
.assistant-sheet{position:fixed;inset:0;z-index:100;pointer-events:none}.assistant-sheet.open{pointer-events:auto}.assistant-backdrop{position:absolute;inset:0;border:0;background:rgba(8,6,22,.52);opacity:0;transition:.25s}.assistant-sheet.open .assistant-backdrop{opacity:1}
.assistant-content{position:absolute;right:18px;bottom:18px;width:min(440px,calc(100% - 32px));max-height:82vh;overflow:auto;padding:16px;border-radius:18px;background:white;box-shadow:0 24px 60px rgba(10,5,40,.3);transform:translateY(115%);transition:.28s}.assistant-sheet.open .assistant-content{transform:translateY(0)}
.assistant-content header{display:flex;justify-content:space-between;align-items:flex-start}.assistant-content header span{font-size:.68rem;font-weight:900;color:var(--pink)}.assistant-content h3{margin:4px 0;color:var(--purple)}.assistant-content header button{border:0;background:#f1edf8;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--purple)}
.recording-knowledge{animation:aiPulse 1.1s infinite;background:#d0005d!important}
@media(max-width:930px){
  .knowledge-layout{grid-template-columns:1fr}.library-grid{grid-template-columns:1fr 1fr}.knowledge-hero{align-items:flex-start}.knowledge-mic{margin-left:0}
  .ai-assistant-fab{bottom:84px;right:14px}.assistant-content{right:0;bottom:0;width:100%;border-radius:22px 22px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}
@media(max-width:600px){
  .knowledge-hero{display:grid;grid-template-columns:auto 1fr}.knowledge-mic{grid-column:1/-1;width:100%;justify-content:center}.library-grid{grid-template-columns:1fr}.knowledge-actions .action{width:100%}
}

/* V8 Navegación móvil */
.mobile-more-sheet{display:none}
@media(max-width:930px){
  body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
  .sidebar{display:none!important}
  .menu-btn{display:none!important}

  .mobile-nav{
    position:fixed;left:0;right:0;bottom:0;z-index:80;
    display:grid!important;grid-template-columns:1fr 1fr 78px 1fr 1fr;
    align-items:end;
    min-height:72px;
    padding:7px 10px calc(7px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.98);
    border-top:1px solid #ddd8e8;
    box-shadow:0 -10px 28px rgba(28,12,70,.10);
    backdrop-filter:blur(14px)
  }
  .mobile-nav-item{
    border:0;background:transparent;color:#251353;
    min-height:54px;border-radius:12px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    font-size:.72rem;font-weight:800
  }
  .mobile-nav-item svg{width:22px;height:22px}
  .mobile-nav-item.active{color:#5a2490;background:#f3eef9}
  .mobile-nav-mic{
    position:relative;top:-14px;justify-self:center;
    width:70px;height:70px;border-radius:50%;
    border:7px solid white;color:white;
    display:grid;place-items:center;
    background:linear-gradient(145deg,#5b20ad,#523178);
    box-shadow:0 10px 24px rgba(45,15,105,.28)
  }
  .mobile-nav-mic svg{width:29px;height:29px}

  .mobile-more-sheet{display:block;position:fixed;inset:0;z-index:120;pointer-events:none}
  .mobile-more-sheet.open{pointer-events:auto}
  .mobile-more-backdrop{
    position:absolute;inset:0;border:0;background:rgba(8,5,22,.56);
    opacity:0;transition:.24s
  }
  .mobile-more-sheet.open .mobile-more-backdrop{opacity:1}
  .mobile-more-panel{
    position:absolute;left:0;right:0;bottom:0;
    max-height:78vh;overflow:auto;
    padding:12px 16px calc(22px + env(safe-area-inset-bottom));
    background:white;border-radius:22px 22px 0 0;
    transform:translateY(105%);transition:.28s;
    box-shadow:0 -20px 48px rgba(18,7,60,.28)
  }
  .mobile-more-sheet.open .mobile-more-panel{transform:translateY(0)}
  .mobile-more-panel header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
  .mobile-more-panel header span{font-size:.68rem;color:var(--pink);font-weight:900}
  .mobile-more-panel header h3{margin:4px 0;color:var(--purple)}
  .mobile-more-panel header button{
    width:38px;height:38px;border:0;border-radius:50%;
    display:grid;place-items:center;background:#f1edf8;color:var(--purple)
  }
  .mobile-more-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:10px
  }
  .mobile-more-grid button{
    min-height:84px;border:1px solid var(--line);border-radius:14px;
    background:#faf9fd;color:#28115f;
    display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
    gap:8px;padding:14px;text-align:left;font-weight:900
  }
  .mobile-more-grid button svg{width:24px;height:24px;color:#6b2ca2}
  .mobile-more-grid button:active{transform:scale(.98);background:#f2ecfa}

  .ai-assistant-fab{display:none!important}
  .crisis-fab{display:none!important}
}
@media(max-width:420px){
  .mobile-nav{grid-template-columns:1fr 1fr 72px 1fr 1fr;padding-left:4px;padding-right:4px}
  .mobile-nav-item{font-size:.68rem}
  .mobile-nav-mic{width:66px;height:66px}
  .mobile-more-grid{grid-template-columns:1fr 1fr}
}

/* V9 módulos IA */
.specialized-view{display:none}.specialized-view.active{display:block}
.module-hero{display:flex;align-items:center;gap:16px;padding:20px;border-radius:17px;color:white;margin-bottom:16px;background:linear-gradient(115deg,#1e0b51,#482080 62%,#852c80)}
.inspection-hero{background:linear-gradient(115deg,#17204e,#333f80 62%,#7a2f81)}
.crisis-module-hero{background:linear-gradient(115deg,#28104f,#591d70 58%,#b21e5c)}
.module-hero-icon{width:58px;height:58px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.15)}
.module-hero span,.specialized-form header span,.specialized-guide header span,.module-result header span{font-size:.68rem;font-weight:900;color:#ffb7d3}
.module-hero h2{margin:4px 0}.module-hero p{margin:0;color:#f2edf9;line-height:1.45}
.module-mic{margin-left:auto;border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:11px 14px;background:rgba(255,255,255,.12);color:white;display:flex;gap:8px;align-items:center;font-weight:900}
.specialized-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}
.specialized-form header,.specialized-guide header,.module-result header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:11px;margin-bottom:12px}
.specialized-form h3,.specialized-guide h3,.module-result h3{margin:4px 0;color:var(--purple)}
.specialized-form label{display:block;margin:10px 0;font-size:.76rem;font-weight:900}.specialized-form input,.specialized-form select,.specialized-form textarea{width:100%;margin-top:5px;padding:11px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}
.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.module-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.specialized-form>small{display:block;margin-top:8px;color:var(--muted)}
.format-list{list-style:none;padding:0;margin:0}.format-list li{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.format-list li:last-child{border:0}.format-list svg{color:#6a2b99}.format-list b,.format-list small{display:block}.format-list small{margin-top:3px;color:var(--muted);line-height:1.35}
.module-process{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px;border:1px solid #c9b8e8;border-radius:13px;background:#f7f3ff}.module-process strong,.module-process small{display:block}.module-process small{margin-top:4px;color:var(--muted)}
.module-result{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:14px;background:white}.module-result header>b{padding:7px 12px;border-radius:999px;background:#f6dfe8;color:#a51e4e}
.module-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.module-result-grid article{padding:13px;border:1px solid var(--line);border-radius:11px;background:#fbfafc}.module-result-grid h4{margin:0 0 7px;color:var(--purple)}.module-result-grid p,.module-result-grid ul{margin:0;line-height:1.5}.module-result-grid ul{padding-left:18px}
.crisis-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:10px}.crisis-kpis article{padding:12px;border:1px solid var(--line);border-radius:11px;background:#f8f6fb}.crisis-kpis small,.crisis-kpis strong{display:block}.crisis-kpis strong{margin-top:5px;color:var(--purple)}
.module-mic.recording-knowledge,[data-module-mic].recording-module{animation:aiPulse 1s infinite;background:#d0005d!important}
@media(max-width:930px){
  .specialized-grid{grid-template-columns:1fr}.module-hero{align-items:flex-start}.module-mic{margin-left:0}.module-result-grid{grid-template-columns:1fr}.crisis-kpis{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .module-hero{display:grid;grid-template-columns:auto 1fr;padding:15px}.module-mic{grid-column:1/-1;width:100%;justify-content:center}.two-fields{grid-template-columns:1fr}.module-actions .action{width:100%}
}
@media print{
  .module-hero,.specialized-grid,.module-process,.mobile-nav,.topbar,.sidebar,.module-result .result-actions{display:none!important}
  .specialized-view.active{display:block!important}.module-result{display:block!important;border:0!important}
}

/* V10: compatibilidad universal, responsables y sucursales */
.browser-audio-badge{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:11px;color:white;background:rgba(255,255,255,.08);font-size:.72rem;font-weight:800}
.universal-recording{animation:aiPulse 1s infinite!important;background:#d0005d!important;color:white!important}
.audio-transcribing{opacity:.78;pointer-events:none}
@media(max-width:930px){.browser-audio-badge{display:none}}

/* V11 Mapa georreferencial */
.geo-map-card{margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:white}
.geo-map-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.geo-map-card header span{font-size:.68rem;font-weight:900;color:var(--pink)}
.geo-map-card h3{margin:4px 0;color:var(--purple)}
.geo-map-card a{display:flex;align-items:center;gap:6px;color:var(--purple3);font-weight:900;text-decoration:none;font-size:.76rem}
.geo-map-card iframe{width:100%;height:320px;border:0;border-radius:11px;background:#eee}
.incident-geo-map{max-width:1200px;margin-left:auto;margin-right:auto}
@media(max-width:600px){
  .geo-map-card{padding:10px}.geo-map-card header{align-items:flex-start;gap:8px}.geo-map-card iframe{height:260px}.geo-map-card a{font-size:.68rem}
}
@media print{
  .geo-map-card iframe{height:250px}
}

/* V12 Personas y Dotación */
.people-view{display:none}.people-view.active{display:block}
.people-hero{display:flex;align-items:center;gap:16px;padding:20px;border-radius:17px;color:white;background:linear-gradient(115deg,#1b0b4f,#412080 60%,#6b2b91);margin-bottom:12px}
.people-hero-icon{width:60px;height:60px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.15)}
.people-hero span,.people-import header span,.people-search-card header span,.people-guide header span,.people-results header span,.linked-person header span{font-size:.68rem;font-weight:900;color:var(--pink)}
.people-hero h2{margin:4px 0}.people-hero p{margin:0;line-height:1.45;color:#f3edf9}
.people-mic{margin-left:auto;border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:11px 14px;background:rgba(255,255,255,.12);color:white;display:flex;align-items:center;gap:8px;font-weight:900}
.privacy-notice{display:flex;gap:12px;align-items:flex-start;padding:13px 15px;margin-bottom:14px;border-radius:12px;border:1px solid #c7e5d1;background:#f1faf4;color:#24663d}.privacy-notice p{margin:3px 0 0;color:#4c6757;font-size:.78rem}
.people-import{padding:16px;margin-bottom:14px}.people-import header,.people-search-card header,.people-guide header,.people-results>header,.linked-person header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:11px;margin-bottom:12px}
.people-import h3,.people-search-card h3,.people-guide h3,.people-results h3,.linked-person h3{margin:4px 0;color:var(--purple)}
.people-import-row{display:flex;align-items:center;gap:12px}.people-file-status{flex:1}.people-file-status strong,.people-file-status small{display:block}.people-file-status small{margin-top:3px;color:var(--muted)}
.people-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.people-kpis article{padding:13px;border:1px solid var(--line);border-radius:11px;background:#faf9fd}.people-kpis small,.people-kpis strong{display:block}.people-kpis strong{margin-top:6px;font-size:1.25rem;color:var(--purple)}
.people-search-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-bottom:14px}.people-search-card,.people-guide{padding:16px}
.people-query{position:relative}.people-query textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px 54px 12px 12px;font:inherit;resize:vertical}
.people-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.people-filters label{font-size:.72rem;font-weight:900;color:var(--purple)}.people-filters select{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:9px;padding:10px;background:white}
.people-search-actions{display:flex;gap:8px;margin-top:11px}.people-search-card>small{display:block;margin-top:9px;color:var(--muted)}
.people-guide ul{list-style:none;padding:0;margin:0}.people-guide li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.people-guide li:last-child{border:0}.people-guide svg{color:#6a2ca0}
.linked-person{padding:14px;margin-bottom:14px;border-left:5px solid var(--green)}.linked-person header button{border:0;background:#f1edf7;color:var(--purple);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.linked-person p{margin:0;color:var(--muted)}
.people-results{padding:16px;border:1px solid var(--line);border-radius:14px;background:white}.people-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.people-empty{grid-column:1/-1;text-align:center;padding:30px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.person-card{position:relative;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 5px 14px rgba(28,15,70,.05)}.person-card h4{margin:3px 0;color:var(--purple);padding-right:30px}.person-card small{color:var(--muted)}.person-card dl{margin:10px 0}.person-card dl div{display:grid;grid-template-columns:105px 1fr;gap:7px;padding:4px 0;font-size:.73rem}.person-card dt{color:var(--muted)}.person-card dd{margin:0;font-weight:700;overflow-wrap:anywhere}.person-card-actions{display:flex;gap:7px;margin-top:10px}.person-card-actions button{flex:1;border:1px solid var(--line);border-radius:9px;padding:8px;background:#f8f6fb;color:var(--purple);font-size:.7rem;font-weight:900}.person-card-actions button.primary{background:var(--purple);color:white;border-color:var(--purple)}
.person-status{position:absolute;right:9px;top:9px;width:9px;height:9px;border-radius:50%;background:#35a65a}.person-status.inactive{background:#999}
@media(max-width:1050px){.people-result-grid{grid-template-columns:1fr 1fr}}
@media(max-width:930px){.people-search-layout{grid-template-columns:1fr}.people-hero{align-items:flex-start}.people-mic{margin-left:0}}
@media(max-width:650px){
  .people-hero{display:grid;grid-template-columns:auto 1fr;padding:15px}.people-mic{grid-column:1/-1;width:100%;justify-content:center}
  .people-import-row{align-items:stretch;flex-direction:column}.people-kpis{grid-template-columns:1fr 1fr}.people-filters{grid-template-columns:1fr}.people-search-actions{flex-direction:column}.people-search-actions .action{width:100%}
  .people-result-grid{grid-template-columns:1fr}.person-card dl div{grid-template-columns:92px 1fr}
}

/* V13 identificadores */
#incidentReportId,#inspectionReportId,#crisisReportId{display:block;margin-top:4px;color:#756b85;font-size:.7rem;font-weight:800}

/* V14 estados de micrófono Safari/WAV */
.universal-recording{animation:aiPulse 1s infinite!important;background:#d0005d!important;color:#fff!important}
.audio-transcribing{opacity:.72!important;pointer-events:none!important}

/* Enterprise 1.0 */
.enterprise-badge{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.12);font-size:.62rem;font-weight:900}
.enterprise-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}
.enterprise-summary article{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 8px 18px rgba(28,13,74,.06)}
.enterprise-summary svg{color:var(--purple3);width:24px;height:24px}.enterprise-summary small,.enterprise-summary strong{display:block}.enterprise-summary small{color:var(--muted);font-size:.68rem}.enterprise-summary strong{margin-top:3px;color:var(--purple)}
.linked-report-person{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px;border:1px solid #c7e5d1;border-radius:12px;background:#f2faf4}
.linked-report-person svg{color:var(--green)}.linked-report-person small,.linked-report-person strong,.linked-report-person span{display:block}.linked-report-person small{font-size:.64rem;color:#39724c}.linked-report-person span{margin-top:3px;color:var(--muted);font-size:.72rem}
.enterprise-fallback{margin-top:10px;padding:10px;border-radius:10px;background:#fff6db;border:1px solid #efd487;color:#6f5400;font-size:.75rem}
@media(max-width:930px){.enterprise-summary{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.enterprise-summary{grid-template-columns:1fr}.enterprise-summary article{padding:10px}}

/* Enterprise 1.2 Dotación persistente */
.people-storage-badge{display:inline-block;margin-top:6px;padding:4px 8px;border-radius:999px;background:#eeeaf7;color:#5e2c8f;font-size:.65rem;font-weight:900}
.people-storage-badge.saved{background:#e7f7ec;color:#237141}
.people-storage-badge.loading{background:#fff4d9;color:#8a6200}

/* Enterprise 2.0 backend status */
html[data-backend="ready"] .browser-audio-badge{border-color:rgba(73,220,135,.55)}
html[data-backend="offline"] .browser-audio-badge{border-color:rgba(255,90,90,.65)}
html[data-backend="offline"] .browser-audio-badge span::after{content:" · Backend pendiente";color:#ffb7b7}

/* Enterprise 3.0: estados iniciales limpios y reportes */
.timeline.timeline-empty{display:flex;align-items:center;justify-content:center;min-height:90px;border:1px dashed #c9c4d8;border-radius:14px;background:#faf9fc;color:#665f75}
.timeline.timeline-empty p{display:flex;gap:10px;align-items:center;margin:0;font-weight:700}
#newReport{border:1px solid #d6cfe5;background:#fff}
@media print{#newReport,.mobile-nav,.sidebar,.topbar,.actions{display:none!important}}

/* Enterprise 4.1: catálogo maestro de sucursales y reportes georreferenciados */
.branch-context{display:block;margin-top:6px;color:#6b6380;font-size:.68rem;font-weight:700;line-height:1.35}
.branch-context.ready{color:#2b6f47}
.conditional-detail.hidden{display:none!important}
.data-card dl div.hidden{display:none!important}
.report-map-note{font-size:.72rem;color:#6b6380}
@media print{
  .map-card iframe{height:220px!important}
}

.share-report-action{border-color:#8C4799!important;color:#8b0d4e!important;background:#fff5fa!important}


/* Enterprise 28.0 · Investigación de Accidentes */
.investigation-view{padding-bottom:42px}.investigation-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#261052,#5c2179);color:#fff;padding:28px;border-radius:22px;margin-bottom:18px}.investigation-hero span,.investigation-card-head span,.inv-summary-card header span{font-size:11px;font-weight:900;letter-spacing:.08em;color:#ef4aa4}.investigation-hero h2{font-size:30px;margin:8px 0}.investigation-hero p{margin:0;color:#e4dbed;max-width:760px}.investigation-mode{min-width:205px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:18px;display:grid;gap:5px}.investigation-mode svg{width:28px;height:28px;color:#65e6a2}.investigation-mode small{opacity:.72}.investigation-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}.investigation-main{display:grid;gap:16px}.investigation-card{padding:20px}.investigation-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.investigation-card-head h3{margin:4px 0}.investigation-card-head p{margin:0;color:var(--muted);font-size:13px}.investigation-card textarea{width:100%;border:1px solid #ddd7e7;border-radius:13px;padding:14px;resize:vertical;line-height:1.5}.investigation-mic,.investigation-analyze,.mini-mic,.small-action{border:0;border-radius:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px}.investigation-mic{padding:12px 15px;background:#2d155d;color:#fff}.investigation-mic.recording,.mini-mic.recording{background:#c9234d;box-shadow:0 0 0 6px rgba(201,35,77,.13)}.investigation-analyze{padding:13px 16px;background:linear-gradient(135deg,#482071,#d51d74);color:#fff}.mini-mic{width:36px;height:36px;background:#eee8f5;color:#4f2474}.small-action{padding:8px 11px;background:#eee8f5;color:#4f2474}.inv-mic-state{margin:9px 0 14px;color:#647085;font-size:12px}.inv-mic-state i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#20a568;margin-right:6px}.investigation-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.investigation-fields label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#5d6373}.investigation-fields input,.investigation-fields select{width:100%;border:1px solid #ddd7e7;border-radius:10px;padding:10px;background:#fff}.statement-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.statement-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.investigation-side{display:grid;gap:16px;align-content:start}.inv-legend,.inv-prompt{padding:18px}.inv-legend h3,.inv-prompt h3{margin-top:0}.inv-legend p{font-size:13px}.inv-legend p i{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:7px}.inv-legend .confirmed{background:#1f9d62}.inv-legend .hypothesis{background:#e3a219}.inv-legend .pending{background:#d12b55}.inv-prompt p{font-size:13px;line-height:1.55;color:#5d6373}.inv-progress{height:44px;background:#f3eef8;border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 13px}.inv-progress i{width:18px;height:18px;border:3px solid #d8c8e5;border-top-color:#702c91;border-radius:50%;animation:spin 1s linear infinite}.inv-questions{margin-top:12px;padding:14px;border-radius:12px;background:#fff7df;border:1px solid #efd995}.inv-questions ul{margin-bottom:0}.investigation-results{margin-top:18px;display:grid;gap:16px}.inv-summary-card{padding:0;overflow:hidden}.inv-summary-card header{padding:18px 20px;background:#201044;color:#fff;display:flex;justify-content:space-between;align-items:center}.inv-summary-card h3{margin:3px 0 0}.inv-summary-card header b{background:#4b2b68;padding:9px 12px;border-radius:10px}.consequence-matrix{display:grid;grid-template-columns:repeat(3,1fr)}.consequence-matrix>div{padding:16px 18px;border-right:1px solid #ece7f1}.consequence-matrix>div:last-child{border-right:0}.consequence-matrix small{font-weight:900;color:#7b378f}.consequence-matrix p{margin:7px 0 0;font-size:13px;line-height:1.45}.investigation-output-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.investigation-output-grid>.card{padding:18px}.cause-tree-card header{display:flex;justify-content:space-between;align-items:center}.cause-tree{display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px}.tree-node{position:relative;min-width:210px;max-width:520px;padding:11px 14px;border-radius:11px;text-align:center;font-size:13px;font-weight:800}.tree-node.confirmed{background:#e4f5ec;border:1px solid #9bd4b7}.tree-node.hypothesis{background:#fff4d6;border:1px solid #ebcb75}.tree-node.pending{background:#fde8ed;border:1px solid #e7a0b1}.tree-arrow{height:22px;border-left:2px solid #9b8aaa}.tree-branches{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));width:100%;gap:10px}.result-list{display:grid;gap:9px}.result-item{border-left:5px solid #773295;background:#f8f5fa;border-radius:9px;padding:11px 12px}.result-item b{display:block;font-size:12px}.result-item p{margin:4px 0 0;font-size:12px;color:#5f6675;line-height:1.45}.measure-group{margin-bottom:13px}.measure-group h4{margin:0 0 7px;color:#702c91}.hidden{display:none!important}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.investigation-layout{grid-template-columns:1fr}.investigation-side{grid-template-columns:1fr 1fr}.investigation-fields{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.investigation-hero{display:block;padding:21px}.investigation-hero h2{font-size:24px}.investigation-mode{margin-top:16px}.investigation-card-head{display:block}.investigation-mic,.investigation-analyze{width:100%;margin-top:12px}.investigation-fields,.statement-grid,.investigation-side,.consequence-matrix,.investigation-output-grid{grid-template-columns:1fr}.consequence-matrix>div{border-right:0;border-bottom:1px solid #ece7f1}.consequence-matrix>div:last-child{border-bottom:0}}
@media print{body.print-investigation .sidebar,body.print-investigation .topbar,body.print-investigation .mobile-bottom-nav,body.print-investigation .mobile-more-sheet,body.print-investigation .investigation-hero,body.print-investigation .investigation-layout{display:none!important}body.print-investigation .view{display:none!important}body.print-investigation #investigation,body.print-investigation #invResults{display:block!important}body.print-investigation #invResults{margin:0}.small-action{display:none!important}}

/* Enterprise 28.0 · Rigor Cero */
.tree-node b{display:block;margin:4px 0 6px;font-size:10px;letter-spacing:.05em}.tree-node em{display:block;margin-top:7px;font-size:10px;font-style:normal;font-weight:600;color:#667085}.tree-node.discarded{background:#e8f1fb;border:1px solid #8eb7e1}.result-item.confirmed{border-left-color:#1f9d62}.result-item.hypothesis{border-left-color:#e3a219}.result-item.pending{border-left-color:#d12b55}.result-item.discarded{border-left-color:#4185c5}.result-item small{display:block;margin-top:7px;color:#7c8492}.measure-proposal{border-left-color:#702c91}.measure-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;font-size:11px;color:#596273}.measure-meta span{background:#f1edf5;border-radius:7px;padding:7px}.inv-legend .discarded{background:#4185c5}
@media(max-width:700px){.measure-meta{grid-template-columns:1fr}}


/* Enterprise 29.0 · Integridad del Relato Maestro */
.master-narrative{background:#fff8fc;border-left:4px solid #8C4799;padding:12px;border-radius:8px;white-space:pre-wrap;font-style:normal}.investigation-link-btn{margin-top:12px;width:100%;justify-content:center;background:linear-gradient(90deg,#4b1b78,#8C4799)!important;color:#fff!important}.linked-case-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(100deg,#f2edf9,#fff5fa);border:1px solid #dacde8;border-radius:12px;padding:12px 14px;margin-bottom:16px}.linked-case-bar div{display:grid;gap:2px}.linked-case-bar small{color:#8C4799;font-weight:900;letter-spacing:.05em}.linked-case-bar strong{color:#523178}.linked-case-bar span{font-size:.78rem;color:#6d6377}.linked-case-bar button{border:0;border-radius:10px;background:#523178;color:#fff;font-weight:800;padding:10px 13px;display:flex;gap:7px;align-items:center;white-space:nowrap}.linked-case-bar.linked{border-color:#27a466;background:#effaf4}.linked-case-bar.linked small{color:#17884e}.master-source-label{display:flex;gap:7px;align-items:center;color:#5d2d82;font-size:.78rem;font-weight:800;margin:0 0 7px}.master-source-label svg{width:15px}.investigation-view textarea[data-linked-master="true"]{background:#fffdf5;border-color:#c9a93e}.case-source-note{font-size:.76rem;color:#6d6377;margin-top:6px}@media(max-width:760px){.linked-case-bar{align-items:stretch;flex-direction:column}.linked-case-bar button{justify-content:center}}
/* Enterprise 38.0: micrófonos por sección y descargas sin mapa */
.hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.knowledge-download{display:inline-flex;align-items:center;gap:8px;border:1px solid #d6cde9;background:#fff;color:#2c1a5e;border-radius:14px;padding:11px 14px;font-weight:800;cursor:pointer}
.inline-field-mic{display:inline-grid;place-items:center;width:34px;height:34px;margin-left:8px;border:0;border-radius:50%;background:#efe8f7;color:#5a2788;vertical-align:middle;cursor:pointer}
.inline-field-mic.universal-recording,.knowledge-download:hover{background:linear-gradient(135deg,#5b238f,#8C4799);color:#fff}
@media(max-width:720px){.hero-actions{width:100%}.hero-actions>*{flex:1;justify-content:center}}

/* Enterprise 40.0 · búsqueda de dotación acelerada */
.people-search-mode{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 2px}
.people-search-mode span{font-size:11px;font-weight:800;color:#57456d;background:#f3eef8;border:1px solid #e4d8ee;border-radius:999px;padding:6px 9px}
#peopleLoadMoreButton{display:block;margin:16px auto 4px;min-width:180px}
.hidden{display:none!important}

/* Enterprise 43.0 · Centro de respaldo individual */
.settings-hero{display:grid;grid-template-columns:1fr 270px;gap:20px;padding:26px;border-radius:22px;background:linear-gradient(135deg,#25134f,#5a2388);color:#fff;margin-bottom:18px}
.settings-hero h2{font-size:30px;margin:7px 0 8px}.settings-hero p{margin:0;max-width:760px;color:#e9e1f3;line-height:1.55}
.backup-status-card{background:#ffffff18;border:1px solid #ffffff28;border-radius:17px;padding:20px;display:flex;flex-direction:column;justify-content:center}
.backup-status-card small{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#eadff4}.backup-status-card strong{font-size:22px;margin:7px 0}.backup-status-card span{font-size:12px;color:#e4d9ee}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.backup-card{padding:22px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.card-title-row h3{margin:3px 0 0}.card-title-row>svg{width:28px;height:28px;color:#7a2c94}
.step-kicker{font-size:10px;font-weight:900;letter-spacing:.1em;color:#d71971}.backup-card>p{color:#6e6875;line-height:1.5}
.backup-label{display:grid;gap:7px;margin-top:13px;font-size:12px;font-weight:800;color:#534b5d}.backup-label input{width:100%;border:1px solid #d8d0df;border-radius:11px;padding:12px}
.backup-note{display:flex;gap:9px;align-items:flex-start;background:#fff7df;border:1px solid #eed997;padding:11px 12px;border-radius:12px;margin:13px 0;color:#66552e;font-size:12px}.backup-note svg{width:18px;min-width:18px}
.backup-action{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px}
.backup-file-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:2px dashed #cfc2d9;background:#faf8fc;border-radius:15px;padding:23px;margin-top:15px;cursor:pointer;text-align:center}.backup-file-drop:hover{border-color:#7a2c94;background:#f6f0fa}.backup-file-drop svg{color:#7a2c94}.backup-file-drop span{font-size:11px;color:#81798a}
.backup-info-card{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:18px;padding:22px}.backup-info-card h3{margin-top:0}.backup-chip-grid{display:flex;flex-wrap:wrap;gap:8px}.backup-chip-grid span{background:#f2edf6;color:#563866;border:1px solid #e2d8e9;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}
.backup-security{display:flex;gap:13px;align-items:flex-start;background:#eef7f2;border:1px solid #cee4d6;padding:16px;border-radius:14px;color:#315f43}.backup-security svg{width:25px;min-width:25px}.backup-security p{margin:0;font-size:12px;line-height:1.55}
@media(max-width:850px){.settings-hero,.settings-grid,.backup-info-card{grid-template-columns:1fr}.backup-status-card{min-height:135px}}

/* Enterprise 44.0 · Mis reportes, indicadores y gravedad asistida */
.severity-ai-card{grid-column:1/-1;background:linear-gradient(135deg,#f7f2fb,#fff);border:1px solid #decfe8;border-left:5px solid #7b2c92;border-radius:14px;padding:13px 15px;display:grid;grid-template-columns:1fr auto;gap:5px 15px;align-items:center}
.severity-ai-card span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#d71971}.severity-ai-card strong{display:block;font-size:15px;color:#422052;margin-top:3px}.severity-ai-card p{grid-column:1/-1;margin:2px 0;color:#6f6576;font-size:12px;line-height:1.45}
.severity-ai-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.severity-ai-actions small{font-weight:800;color:#735c7f}.severity-ai-actions button:disabled{opacity:.45;cursor:not-allowed}
.case-module-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border-radius:22px;background:linear-gradient(135deg,#25134f,#5c2388);color:#fff;margin-bottom:18px}.case-module-hero h2{font-size:30px;margin:5px 0 6px}.case-module-hero p{margin:0;color:#e7def0}
.case-total{background:#ffffff17;border:1px solid #ffffff25;border-radius:16px;padding:16px 23px;text-align:center;min-width:150px}.case-total small{display:block;color:#e5d9ee}.case-total strong{font-size:34px}
.report-toolbar{display:grid;grid-template-columns:minmax(300px,1fr) repeat(3,minmax(145px,190px)) auto;gap:10px;padding:15px;margin-bottom:13px}.report-search-wrap{position:relative}.report-search-wrap svg{position:absolute;left:12px;top:12px;width:18px;color:#756d7c}.report-search-wrap input{width:100%;padding-left:39px}.report-toolbar input,.report-toolbar select{height:43px;border:1px solid #d9d2df;border-radius:11px;padding:0 12px;background:#fff}
.report-history-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:14px}.report-history-summary>div{background:#fff;border:1px solid #e1dce5;border-radius:14px;padding:13px 16px}.report-history-summary small{display:block;color:#81798a;font-size:10px;text-transform:uppercase;font-weight:900}.report-history-summary strong{font-size:22px;color:#34213f}
.empty-state{text-align:center;padding:52px 20px}.empty-state svg{width:44px;height:44px;color:#8a5aa0}.empty-state h3{margin:12px 0 5px}.empty-state p{color:#77707d}
.report-history-list{display:grid;gap:12px}.history-card{background:#fff;border:1px solid #ded8e3;border-radius:16px;padding:17px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;box-shadow:0 5px 15px #2e17340a}.history-card:hover{border-color:#c9b3d5;box-shadow:0 10px 25px #3c1b5510}
.history-card-head{display:flex;gap:12px;align-items:flex-start}.history-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f4edf8;color:#762b91;flex:0 0 auto}.history-icon svg{width:21px}.history-title small{font-size:9px;color:#d71971;font-weight:900;letter-spacing:.07em}.history-title h3{font-size:16px;margin:3px 0}.history-meta{display:flex;flex-wrap:wrap;gap:7px 13px;color:#756e7c;font-size:11px}.history-meta span{display:flex;align-items:center;gap:4px}
.history-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.history-badge{padding:5px 8px;border-radius:999px;background:#f2edf5;color:#634171;font-size:10px;font-weight:800}.history-badge.injury{background:#fff0e2;color:#9b5d20}.history-badge.operational{background:#ffe9ed;color:#a72e47}
.history-actions{display:flex;align-items:center;gap:7px}.history-actions button{height:37px;border-radius:10px;border:1px solid #d9d0df;background:#fff;padding:0 10px;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:#523460}.history-actions button:hover{background:#f6f0f8}.history-actions .danger{color:#a52d48}
.indicators-hero{margin-bottom:15px}.light-button{background:#ffffff18!important;border-color:#ffffff42!important;color:#fff!important}.indicators-filter-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:15px;margin-bottom:14px}.indicators-filter-bar label{display:grid;gap:5px;font-size:10px;font-weight:900;color:#716979;text-transform:uppercase}.indicators-filter-bar select{height:41px;border:1px solid #d9d2df;border-radius:10px;padding:0 10px;background:#fff}
.indicator-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:14px}.indicator-kpi-grid article{background:#fff;border:1px solid #dfdae4;border-radius:15px;padding:15px;position:relative}.indicator-kpi-grid svg{width:20px;color:#762c91}.indicator-kpi-grid small{display:block;color:#79717f;margin:8px 0 3px;font-size:10px;font-weight:900;text-transform:uppercase}.indicator-kpi-grid strong{font-size:25px;color:#302038}
.indicator-panels{display:grid;grid-template-columns:1fr 1fr;gap:13px}.indicator-panel{padding:18px}.indicator-panel header,.indicator-latest header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ece7ef;padding-bottom:10px;margin-bottom:12px}.indicator-panel h3,.indicator-latest h3{margin:0}.indicator-panel header span,.indicator-latest header span{font-size:10px;color:#82798a}
.metric-bars{display:grid;gap:10px}.metric-row{display:grid;grid-template-columns:minmax(110px,1fr) 2fr 42px;gap:9px;align-items:center;font-size:11px}.metric-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#554d5b;font-weight:700}.metric-track{height:9px;border-radius:999px;background:#eee9f1;overflow:hidden}.metric-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#772b91,#d71971)}.metric-value{text-align:right;font-weight:900;color:#52305e}
.indicator-latest{padding:18px;margin-top:13px}.latest-case-row{display:grid;grid-template-columns:92px minmax(0,1fr) 180px 100px;gap:12px;padding:10px 4px;border-bottom:1px solid #efebf1;align-items:center;font-size:11px}.latest-case-row:last-child{border-bottom:0}.latest-case-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.latest-case-row span{color:#746c79}
@media(max-width:1100px){.report-toolbar{grid-template-columns:1fr 1fr}.report-search-wrap{grid-column:1/-1}.indicator-kpi-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.case-module-hero{align-items:flex-start}.case-total{min-width:100px}.report-history-summary,.indicator-kpi-grid,.indicator-panels,.indicators-filter-bar{grid-template-columns:1fr}.history-card{grid-template-columns:1fr}.history-actions{flex-wrap:wrap}.latest-case-row{grid-template-columns:75px 1fr}.latest-case-row span:nth-child(3),.latest-case-row span:nth-child(4){display:none}}

/* Enterprise 45.0 · Difusión Preventiva IA */
.diffusion-hero{display:grid;grid-template-columns:1fr 290px;gap:20px;padding:27px;border-radius:22px;background:linear-gradient(135deg,#211044 0%,#4b1f78 65%,#6d2c88 100%);color:#fff;margin-bottom:18px;position:relative;overflow:hidden}
.diffusion-hero:after{content:"";position:absolute;right:-60px;bottom:-90px;width:280px;height:280px;border-radius:50%;background:#ffffff0a}
.diffusion-hero h2{font-size:31px;margin:6px 0 8px}.diffusion-hero p{margin:0;color:#e6dded;line-height:1.55;max-width:760px}
.diffusion-brand-card{align-self:center;background:#fff;color:#321849;border-radius:17px;padding:20px;box-shadow:0 18px 50px #12052733;position:relative;z-index:1}
.diffusion-brand-card strong{display:block;font-size:19px;margin:12px 0 3px}.diffusion-brand-card small{color:#786b80}
.brand-bars{display:flex;height:8px;border-radius:999px;overflow:hidden}.brand-bars span:nth-child(1){width:55%;background:#ef1f3b}.brand-bars span:nth-child(2){width:15%;background:#ffb71b}.brand-bars span:nth-child(3){width:30%;background:#7d3f98}
.diffusion-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.diffusion-main{display:grid;gap:15px}.diffusion-side{display:grid;align-content:start;gap:15px}
.diffusion-source-card,.diffusion-content-card,.diffusion-decision-card,.brand-standard-card,.auto-rules-card,.diffusion-history-card{padding:20px}
.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.source-option{border:1px solid #ddd5e4;background:#fff;border-radius:14px;padding:14px;text-align:left;display:grid;grid-template-columns:31px 1fr;column-gap:9px;align-items:start;color:#4f3b59}.source-option svg{grid-row:1/3;color:#7c2f96;width:22px}.source-option strong{font-size:12px}.source-option span{font-size:10px;color:#7d7483;line-height:1.35}.source-option:hover,.source-option.active{border-color:#7c2f96;background:#f7f1fa;box-shadow:0 5px 15px #5f287516}
.diffusion-content-wrap{position:relative}.diffusion-content-wrap textarea{width:100%;padding-right:52px}.field-mic{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:0;background:linear-gradient(135deg,#6b268a,#d71971);color:#fff;display:grid;place-items:center}.field-mic svg{width:18px}
.diffusion-context-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.diffusion-context-row label,.diffusion-output-grid label,.diffusion-decision-card>div>label,.diffusion-decision-card>label{display:grid;gap:6px;font-size:10px;font-weight:900;color:#6c6272;text-transform:uppercase}.diffusion-context-row select,.diffusion-output-grid input,.diffusion-output-grid textarea,.diffusion-decision-card input,.diffusion-decision-card textarea{width:100%;border:1px solid #d9d2df;border-radius:11px;padding:11px;background:#fff;text-transform:none;font-weight:500;color:#39313e}
.diffusion-empty{text-align:center;padding:38px 20px;color:#756b7b}.diffusion-empty svg{width:42px;height:42px;color:#7b2d94}.diffusion-empty strong{display:block;color:#4d315b;margin:10px 0 5px}
.decision-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}.decision-summary>div{background:#f4eef7;border:1px solid #e3d8e9;border-radius:12px;padding:11px}.decision-summary small{display:block;font-size:9px;text-transform:uppercase;color:#7b7181;font-weight:900}.decision-summary strong{display:block;margin-top:4px;color:#432450;font-size:13px}
.diffusion-output-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.diffusion-output-grid>div{display:grid;gap:10px}.diffusion-result-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:13px}
.brand-standard-card ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:9px}.brand-standard-card li{display:flex;gap:8px;align-items:flex-start;color:#5e5664;font-size:12px}.brand-standard-card li svg{width:17px;min-width:17px;color:#15975b}
.auto-rule{display:grid;grid-template-columns:105px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #eee8f1}.auto-rule:last-child{border-bottom:0}.auto-rule strong{font-size:11px;color:#612a76}.auto-rule span{font-size:11px;color:#746c79;line-height:1.4}
.count-pill{background:#f0e7f4;color:#6f2e84;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.diffusion-draft-list{display:grid;gap:8px}.diffusion-draft-item{border:1px solid #e1d9e6;border-radius:12px;padding:10px;background:#fff}.diffusion-draft-item strong{display:block;font-size:11px;color:#493253}.diffusion-draft-item span{font-size:9px;color:#817889}.diffusion-draft-item button{margin-top:7px;border:0;background:#f4eef7;color:#6c2d81;border-radius:8px;padding:6px 8px;font-size:10px;font-weight:800}
@media(max-width:1100px){.diffusion-layout{grid-template-columns:1fr}.diffusion-side{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.diffusion-hero{grid-template-columns:1fr}.source-grid{grid-template-columns:1fr 1fr}.diffusion-context-row,.decision-summary,.diffusion-output-grid{grid-template-columns:1fr 1fr}.diffusion-side{grid-template-columns:1fr}}
@media(max-width:540px){.source-grid,.diffusion-context-row,.decision-summary,.diffusion-output-grid{grid-template-columns:1fr}}

/* Enterprise 46.0 · navegación y experiencia móvil */
.mobile-diffusion-shortcut{display:none}
@media(max-width:760px){
  .mobile-more-menu .mobile-diffusion-shortcut,
  #mobileMoreMenu .mobile-diffusion-shortcut{
    display:flex;width:calc(100% - 24px);margin:10px 12px 14px;padding:14px;border:0;border-radius:15px;
    background:linear-gradient(135deg,#4c1f78,#d71971);color:#fff;align-items:center;gap:12px;text-align:left;
    box-shadow:0 12px 30px #4b1d7030
  }
  .mobile-diffusion-shortcut svg{width:23px;height:23px;flex:0 0 auto}
  .mobile-diffusion-shortcut strong{display:block;font-size:13px}
  .mobile-diffusion-shortcut span{display:block;font-size:10px;color:#f1e8f4;margin-top:3px;line-height:1.35}
  #diffusion{padding-bottom:105px}
  .diffusion-hero{padding:20px;border-radius:18px}
  .diffusion-hero h2{font-size:25px}
  .diffusion-brand-card{padding:15px}
  .diffusion-source-card,.diffusion-content-card,.diffusion-decision-card,.brand-standard-card,.auto-rules-card,.diffusion-history-card{padding:15px}
  .source-grid{grid-template-columns:1fr}
  .source-option{min-height:72px}
  .diffusion-context-row,.decision-summary,.diffusion-output-grid{grid-template-columns:1fr}
  .diffusion-result-actions{display:grid;grid-template-columns:1fr}
  .diffusion-result-actions button{width:100%;min-height:44px}
  .diffusion-content-wrap textarea{min-height:220px}
  .field-mic{width:44px;height:44px;right:9px;top:9px}
  .diffusion-side{grid-template-columns:1fr}
  .card-title-row{align-items:flex-start}
  .card-title-row .primary,.card-title-row .secondary{min-height:42px}
  .report-toolbar{grid-template-columns:1fr}
  .report-search-wrap{grid-column:auto}
  .report-history-summary{grid-template-columns:1fr 1fr}
  .indicator-kpi-grid{grid-template-columns:1fr 1fr}
  .settings-grid{grid-template-columns:1fr}
  input,select,textarea{font-size:16px}
}
@media(max-width:390px){
  .report-history-summary,.indicator-kpi-grid{grid-template-columns:1fr}
  .diffusion-hero h2{font-size:22px}
}

/* Enterprise 47.0 · acceso visible a Difusión Preventiva IA */
.nav-btn[data-view="diffusion"]{position:relative}
.nav-btn[data-view="diffusion"]::after{content:"NUEVO";margin-left:auto;background:#d71971;color:#fff;font-size:8px;font-weight:900;border-radius:999px;padding:3px 6px}
.mobile-more-grid button[data-view="diffusion"]{background:linear-gradient(135deg,#4f217a,#7b2e93);color:#fff;border-color:transparent}
.mobile-more-grid button[data-view="diffusion"] svg{color:#fff}

/* Enterprise 48.0 · Creative Studio y afiche visual */
.creative-preview-shell{margin:18px 0;border-top:1px solid #ece6ef;padding-top:18px}
.creative-preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.creative-preview-toolbar h3{margin:3px 0 0}
.creative-ready{display:inline-flex;align-items:center;gap:6px;background:#f2eaf6;color:#68287e;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}
.creative-ready svg{width:15px}
.diffusion-poster-preview{max-width:760px;margin:auto;background:#fff;border:1px solid #d9d1df;border-radius:18px;overflow:hidden;box-shadow:0 18px 45px #35154518}
.diffusion-poster-preview>header{height:82px;background:linear-gradient(135deg,#2d1454,#4d1f77);display:flex;align-items:center;justify-content:space-between;padding:0 25px;color:#fff;position:relative}
.diffusion-poster-preview>header:after{content:"";position:absolute;right:0;top:0;width:145px;height:12px;background:linear-gradient(90deg,#e51c3b 0 58%,#f6b61a 58% 78%,#8d409f 78%)}
.preview-brand{font-size:22px;line-height:.9;text-transform:lowercase}.preview-brand strong{display:block;font-size:25px}.preview-brand span{display:block;width:80px;height:5px;background:linear-gradient(90deg,#e51c3b 0 55%,#f6b61a 55% 72%,#8d409f 72%);margin-top:8px}
.preview-topic-icon{width:48px;height:48px;border-radius:50%;background:#ffffff18;border:1px solid #ffffff36;display:grid;place-items:center}.preview-topic-icon svg{width:25px}
.preview-title-zone{padding:25px 28px 18px}.preview-title-zone p{font-size:10px;font-weight:900;color:#d71971;letter-spacing:.08em;margin:0}.preview-title-zone h2{font-size:30px;line-height:1.05;color:#3e1a66;margin:6px 0 8px}.preview-title-zone h4{font-size:14px;color:#5e5862;margin:0;font-weight:600}
.preview-visual-zone{display:grid;grid-template-columns:230px 1fr;gap:18px;padding:0 28px 22px}
.preview-hero-illustration{min-height:315px;border-radius:18px;background:linear-gradient(145deg,#f6f1f8,#eee5f4);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;position:relative;overflow:hidden;text-align:center}
.preview-hero-illustration:before,.preview-hero-illustration:after{content:"";position:absolute;border-radius:50%;background:#7d31931a}.preview-hero-illustration:before{width:180px;height:180px;top:-55px;right:-60px}.preview-hero-illustration:after{width:115px;height:115px;bottom:-45px;left:-35px}
.hero-person{width:98px;height:98px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#69277f;box-shadow:0 12px 28px #4b1c6822;position:relative;z-index:1}.hero-person svg{width:48px;height:48px}
.hero-shield{position:absolute;right:36px;top:72px;width:42px;height:42px;border-radius:50%;background:#d71971;color:#fff;display:grid;place-items:center;z-index:2}.hero-shield svg{width:22px}
.preview-hero-illustration small{margin-top:20px;color:#503b59;font-weight:800;line-height:1.45;position:relative;z-index:1}
.preview-recommendation-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-tip{border:1px solid #e1d9e6;border-radius:13px;padding:12px;background:#fff;display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:start}.preview-tip b{width:28px;height:28px;border-radius:50%;background:#4a1e72;color:#fff;display:grid;place-items:center;font-size:12px}.preview-tip strong{display:block;font-size:11px;color:#432453;margin-bottom:3px}.preview-tip small{display:block;font-size:9px;color:#706777;line-height:1.4}
.preview-alert-band{margin:0 28px 20px;border:1px solid #ded4e4;border-radius:14px;padding:13px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-alert-band>div{display:flex;align-items:center;gap:10px}.preview-alert-band svg{width:27px;color:#d71971}.preview-alert-band span{display:grid}.preview-alert-band strong{font-size:11px;color:#432453}.preview-alert-band small{font-size:9px;color:#706777}
.diffusion-poster-preview>footer{background:#33145e;color:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:15px 24px}.diffusion-poster-preview>footer svg{width:26px}.diffusion-poster-preview>footer span{font-size:11px;font-weight:700}.diffusion-poster-preview>footer strong{font-size:15px}
@media(max-width:760px){
  .creative-preview-toolbar{align-items:flex-start;gap:10px}
  .diffusion-poster-preview{border-radius:14px}
  .preview-title-zone h2{font-size:23px}
  .preview-visual-zone{grid-template-columns:1fr;padding:0 16px 18px}
  .preview-title-zone{padding:20px 16px 15px}
  .preview-hero-illustration{min-height:210px}
  .preview-recommendation-cards{grid-template-columns:1fr}
  .preview-alert-band{grid-template-columns:1fr;margin:0 16px 16px}
  .diffusion-poster-preview>footer{grid-template-columns:auto 1fr}.diffusion-poster-preview>footer strong{display:none}
}

/* Enterprise 49.0 · Director Creativo IA */
.creative-direction-card{background:#fff;border:1px solid #dfd8e4;border-radius:17px;padding:18px;margin:17px 0}
.creative-direction-head{display:grid;grid-template-columns:1fr 260px;gap:16px;align-items:center;margin-bottom:14px}.creative-direction-head h3{margin:3px 0}.creative-direction-head p{margin:4px 0 0;color:#756c7b;font-size:11px}
.creative-ai-decision{background:linear-gradient(135deg,#34165f,#70298d);color:#fff;border-radius:13px;padding:13px}.creative-ai-decision small{display:block;font-size:8px;color:#e9ddeb;font-weight:900}.creative-ai-decision strong{display:block;font-size:14px;margin:4px 0}.creative-ai-decision span{font-size:10px;color:#e8dfea}
.creative-strategy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.creative-strategy{border:1px solid #e0d8e5;background:#fff;border-radius:12px;padding:11px;text-align:left;display:grid;grid-template-columns:25px 1fr;column-gap:7px;align-items:start}.creative-strategy svg{grid-row:1/3;width:19px;color:#762d90}.creative-strategy strong{font-size:10px;color:#50315e}.creative-strategy span{font-size:8px;color:#857b8b}.creative-strategy:hover,.creative-strategy.active{background:#f5eef8;border-color:#7b2d94;box-shadow:0 5px 15px #60267817}
.creative-channel-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.creative-channel-row label{display:grid;gap:5px;font-size:9px;font-weight:900;color:#716778;text-transform:uppercase}.creative-channel-row select{height:39px;border:1px solid #d9d2df;border-radius:10px;padding:0 9px;background:#fff;font-size:11px}
.preview-status-group{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.preview-comparison-zone{display:grid;grid-template-columns:1fr 1fr;gap:9px;grid-column:1/-1}.comparison-good,.comparison-bad{border-radius:13px;padding:12px}.comparison-good{background:#eff9f1;border:1px solid #bce0c4}.comparison-bad{background:#fff1f3;border:1px solid #efc3ca}.comparison-good>strong{color:#15843f}.comparison-bad>strong{color:#c62947}.comparison-good p,.comparison-bad p{font-size:9px;margin:7px 0;color:#514b55;line-height:1.35}
.preview-steps-zone{grid-column:1/-1;display:grid;gap:8px}.preview-step{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center;border:1px solid #ded7e3;border-radius:12px;padding:9px}.preview-step b{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#d71971;color:#fff}.preview-step span{font-size:10px;color:#4c3a55;font-weight:700}
.preview-lesson-zone{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preview-lesson-zone>div{border-radius:12px;padding:11px;background:#f5f0f7;border:1px solid #e1d8e7}.preview-lesson-zone small{font-size:8px;color:#d71971;font-weight:900}.preview-lesson-zone p{font-size:9px;color:#4f4754;line-height:1.4;margin:5px 0 0}
.diffusion-poster-preview.strategy-alert .preview-title-zone{background:#fff5f6;border-bottom:4px solid #e21d3d}.diffusion-poster-preview.strategy-alert .preview-title-zone h2{color:#c91637}
.diffusion-poster-preview.strategy-campaign .preview-title-zone{text-align:center}.diffusion-poster-preview.strategy-campaign .preview-title-zone h2{font-size:36px}
.diffusion-poster-preview.strategy-whatsapp{max-width:520px}.diffusion-poster-preview.strategy-whatsapp .preview-visual-zone{grid-template-columns:1fr}.diffusion-poster-preview.strategy-whatsapp .preview-hero-illustration{min-height:170px}.diffusion-poster-preview.strategy-whatsapp .preview-alert-band{display:none}
.diffusion-poster-preview.orientation-square{max-width:650px}.diffusion-poster-preview.orientation-landscape{max-width:900px}.diffusion-poster-preview.orientation-landscape .preview-visual-zone{grid-template-columns:280px 1fr}
@media(max-width:850px){.creative-direction-head{grid-template-columns:1fr}.creative-strategy-grid{grid-template-columns:repeat(2,1fr)}.creative-channel-row{grid-template-columns:1fr}.preview-lesson-zone{grid-template-columns:1fr}}


/* Enterprise 50.0 - integración sobre base 49.0: estándar visual y firma en terreno */
.premium-reference-card{margin:18px 0;display:grid;grid-template-columns:1fr 220px;gap:18px;align-items:center;padding:18px;border:1px solid #e3d9eb;border-radius:18px;background:linear-gradient(135deg,#fff,#faf6fd);box-shadow:0 14px 35px #34115c10}
.premium-reference-card h3{margin:4px 0 7px}.premium-reference-card p{margin:0;color:#655b6e;line-height:1.5}.premium-reference-card img{width:100%;max-height:250px;object-fit:contain;border-radius:12px;box-shadow:0 10px 25px #31105225;background:#fff}.premium-reference-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.premium-reference-tags span{font-size:11px;font-weight:800;color:#4b1d72;background:#f0e8f7;border-radius:999px;padding:6px 9px}
.diffusion-signature-module{margin:20px 0;padding:20px;border:1px solid #ded3e8;border-radius:20px;background:#fff;box-shadow:0 16px 38px #32105b10}.signature-module-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.signature-module-head h3{margin:4px 0}.signature-module-head p{margin:0;color:#6b6074}.signature-folio{font-size:12px;font-weight:800;color:#4b1d72;background:#f1e8f8;border:1px solid #dfd0ec;border-radius:999px;padding:8px 12px;white-space:nowrap}.signature-module-grid{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(460px,1.2fr);gap:18px}.signature-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.signature-fields-grid label{font-size:12px;font-weight:800;color:#4c4056}.signature-fields-grid input{width:100%;margin-top:6px;border:1px solid #ddd2e6;border-radius:11px;padding:10px 11px;background:#fff}.signature-confirm{display:flex!important;align-items:flex-start;gap:9px;margin:13px 0;font-size:12px!important;line-height:1.4}.signature-confirm input{width:auto;margin-top:3px}.signature-pad-box{border:1px dashed #bda8ce;border-radius:14px;background:#fcfafd;padding:10px}.signature-pad-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.signature-pad-label small{color:#7c7085}.signature-pad-box canvas{display:block;width:100%;height:150px;background:#fff;border:1px solid #eee7f2;border-radius:10px;touch-action:none;cursor:crosshair}.signature-form-actions,.signature-final-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:11px;flex-wrap:wrap}.signature-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.signature-list-head span{font-size:12px;color:#6c6176;background:#f5f0f8;border-radius:999px;padding:6px 9px}.signature-table-wrap{overflow:auto;border:1px solid #eee7f2;border-radius:13px;min-height:230px}.signature-table{width:100%;border-collapse:collapse;font-size:12px}.signature-table th,.signature-table td{padding:9px;border-bottom:1px solid #eee7f2;text-align:left;vertical-align:middle}.signature-table th{background:#faf7fc;color:#51465a;white-space:nowrap}.signature-table img{width:92px;height:38px;object-fit:contain;border:1px solid #e8dfed;border-radius:7px;background:#fff}.signature-remove{border:0;background:#f9edf0;color:#b91f42;border-radius:8px;padding:6px 8px}.signature-empty-row td{text-align:center!important;color:#817588;padding:34px!important}
@media(max-width:1050px){.signature-module-grid{grid-template-columns:1fr}.premium-reference-card{grid-template-columns:1fr 180px}}
@media(max-width:700px){.premium-reference-card{grid-template-columns:1fr}.premium-reference-card img{max-height:320px}.signature-module-head{flex-direction:column}.signature-fields-grid{grid-template-columns:1fr}.signature-table th:nth-child(3),.signature-table td:nth-child(3){display:none}}
@media print{.diffusion-signature-module{page-break-before:always;box-shadow:none}.signature-form-actions,.signature-final-actions,.signature-worker-form{display:none!important}.signature-module-grid{display:block}.signature-table-wrap{min-height:0}}


/* Enterprise 51.0 · selector Sobrio / Corporativo 3D / Lúdico 3D */
.visual-style-chooser{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.visual-style-card{border:1px solid #ddd3e5;background:#fff;border-radius:14px;padding:13px;text-align:left;display:grid;grid-template-columns:34px 1fr;gap:2px 9px;align-items:center;transition:.18s}
.visual-style-card:hover{transform:translateY(-1px);border-color:#8a4aa1}.visual-style-card.active{background:#f5eef9;border:2px solid #6e2888;box-shadow:0 8px 20px #4c1b6b18}
.visual-style-icon{grid-row:1/3;width:34px;height:34px;border-radius:10px;background:#eee5f5;display:grid;place-items:center;font-size:18px}.visual-style-card strong{font-size:11px;color:#482455}.visual-style-card small{font-size:9px;color:#796e80;line-height:1.35}
.diffusion-poster-preview.visual-sober{box-shadow:0 10px 26px #34154512}.diffusion-poster-preview.visual-sober>header{background:#321654;height:70px}.diffusion-poster-preview.visual-sober .preview-title-zone{padding-top:20px}.diffusion-poster-preview.visual-sober .preview-title-zone h2{font-size:27px}.diffusion-poster-preview.visual-sober .preview-hero-illustration{background:#f7f5f8}.diffusion-poster-preview.visual-sober .hero-person{box-shadow:none;border:1px solid #ddd5e1}.diffusion-poster-preview.visual-sober .hero-shield{display:none}.diffusion-poster-preview.visual-sober .preview-tip{box-shadow:none}.diffusion-poster-preview.visual-sober .preview-alert-band{background:#faf9fb}
.diffusion-poster-preview.visual-corporate-3d .preview-hero-illustration{background:radial-gradient(circle at 50% 30%,#fff 0,#f3eafa 55%,#eadcf3 100%)}.diffusion-poster-preview.visual-corporate-3d .hero-person{transform:scale(1.08);box-shadow:0 18px 35px #4b1c6830}.diffusion-poster-preview.visual-corporate-3d .preview-tip{box-shadow:0 6px 14px #3b155c0d}
.diffusion-poster-preview.visual-playful-3d{box-shadow:0 22px 50px #3515452c}.diffusion-poster-preview.visual-playful-3d>header{background:linear-gradient(135deg,#2b1055,#6d2491)}.diffusion-poster-preview.visual-playful-3d .preview-title-zone{background:linear-gradient(180deg,#fff,#fff8fc)}.diffusion-poster-preview.visual-playful-3d .preview-title-zone h2{font-size:33px}.diffusion-poster-preview.visual-playful-3d .preview-hero-illustration{background:radial-gradient(circle at 50% 30%,#fff 0,#f6e8ff 48%,#ead2f5 100%);min-height:335px}.diffusion-poster-preview.visual-playful-3d .hero-person{transform:scale(1.2);box-shadow:0 22px 42px #50187142}.diffusion-poster-preview.visual-playful-3d .hero-shield{transform:scale(1.12);box-shadow:0 8px 18px #d7197140}.diffusion-poster-preview.visual-playful-3d .preview-tip{border-color:#d7c5e3;box-shadow:0 8px 18px #4a176015}.diffusion-poster-preview.visual-playful-3d .preview-tip:nth-child(odd){background:#fff9fc}.diffusion-poster-preview.visual-playful-3d .preview-alert-band{background:linear-gradient(90deg,#fff3f5,#fff9e8)}
@media(max-width:760px){.visual-style-chooser{grid-template-columns:1fr}.visual-style-card{min-height:68px}}


/* Enterprise 52.0 — tres motores visuales realmente diferenciados */
.visual-style-card{position:relative;overflow:hidden;min-height:148px;padding-top:74px!important;transition:.2s ease}
.visual-style-card:hover{transform:translateY(-2px)}
.visual-style-thumb{position:absolute;left:10px;right:10px;top:10px;height:55px;border-radius:10px;border:1px solid #ded4e8;overflow:hidden;background:#fff}
.sober-thumb{display:grid;grid-template-columns:35% 1fr;gap:5px;padding:7px;background:#faf9fb}
.sober-thumb:before{content:"";background:#321654;border-radius:6px}
.sober-thumb span{height:7px;background:#ddd7e1;border-radius:4px;display:block;margin:2px 0}.sober-thumb span:nth-child(2){width:82%}.sober-thumb span:nth-child(3){width:62%}
.corporate-thumb{background:url('assets/estilo-corporativo-3d.png') center 22%/cover no-repeat}
.playful-thumb{background:url('assets/estilo-ludico-3d.png') center 24%/cover no-repeat}
.visual-style-card.active{box-shadow:0 0 0 3px #7d3ca822,0 12px 22px #34134f16}
.visual-preview-stage{position:relative}
.visual-reference-preview{max-width:760px;margin:auto;border:1px solid #d9d1df;border-radius:18px;background:#f7f3fa;padding:14px;box-shadow:0 20px 46px #32124e24}
.visual-reference-preview img{display:block;width:100%;max-height:840px;object-fit:contain;border-radius:12px;background:#fff}
.visual-reference-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 4px 0;color:#39224f}.visual-reference-caption span{font-size:12px;color:#756780}
.visual-reference-playful{background:linear-gradient(145deg,#f7edff,#fff7fb);box-shadow:0 24px 56px #6c1e8030}
.visual-reference-playful img{transform:scale(1.01)}
.visual-reference-corporate{background:#f5f0f9}
.diffusion-poster-preview.visual-sober{display:block}
.diffusion-poster-preview.visual-corporate-3d,.diffusion-poster-preview.visual-playful-3d{display:none}
@media(max-width:720px){.visual-style-card{min-height:136px}.visual-reference-caption{display:block}.visual-reference-caption span{display:block;margin-top:3px}}


/* Enterprise 53.0 · motor visual coherente por categoría de riesgo */
.risk-consistency-panel{margin-top:18px;padding:18px 20px;border:1px solid #d9cce9;border-radius:20px;background:linear-gradient(135deg,#fff,#faf7ff)}
.risk-consistency-panel h3{margin:3px 0 12px;color:#32106f}.risk-consistency-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.risk-consistency-grid span{padding:10px 12px;border-radius:12px;background:#eef9f2;color:#17643b;font-size:12px;font-weight:800}.risk-consistency-panel p{margin:10px 0 0;color:#655d70;font-size:13px}
.risk-visual-poster{width:min(610px,100%);margin:auto;background:#fff;border-radius:18px;overflow:hidden;border:1px solid #ddd1e9;box-shadow:0 18px 45px rgba(44,17,92,.14);color:#271743;text-align:left}
.risk-poster-head{background:linear-gradient(100deg,#2a0b61,#4e1a94);color:#fff;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;border-top:7px solid #ec1e4f}.risk-wordmark{font-size:22px;font-weight:500}.risk-wordmark strong{font-weight:900}.risk-wordmark span{display:block;width:82px;height:4px;background:linear-gradient(90deg,#ef244e 0 55%,#ffc126 55% 72%,#a246c5 72%);margin-top:5px}.risk-pr{width:42px;height:42px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;font-weight:900}
.risk-poster-body{padding:18px}.risk-title small{color:#8C4799;font-weight:900;letter-spacing:.08em}.risk-title h2{font-size:27px;line-height:1.03;margin:5px 0;color:#32106f}.risk-title p{margin:0;color:#6d617c;font-size:13px}.risk-poster-main{display:grid;grid-template-columns:.85fr 1.15fr;gap:15px;margin-top:14px}.risk-hero{border-radius:17px;background:#f2ebfb;padding:15px;text-align:center}.risk-orbit{min-height:190px;border-radius:50%;display:grid;place-items:center;position:relative;background:radial-gradient(circle,#fff 0 44%,#eadcf9 45% 62%,transparent 63%),conic-gradient(#5e22a8,#e91e63,#ffc328,#5e22a8)}.risk-character{font-size:76px;filter:drop-shadow(0 8px 7px #2f155033)}.risk-hero-icon{position:absolute;right:12px;top:10px;font-size:42px}.risk-hero p{font-size:12px;line-height:1.35;margin:10px 0 0}.risk-poster-main ol{list-style:none;margin:0;padding:0;display:grid;gap:7px}.risk-poster-main li{display:grid;grid-template-columns:30px 1fr 32px;gap:8px;align-items:center;border:1px solid #e3d8ef;border-radius:12px;padding:8px;background:#fff}.risk-poster-main li b{width:28px;height:28px;border-radius:50%;background:#4c168c;color:#fff;display:grid;place-items:center}.risk-poster-main li span{font-size:11px;line-height:1.2;font-weight:700}.risk-poster-main li i{font-style:normal;font-size:23px}.risk-alerts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.risk-alerts>span{background:#faf5ff;border-radius:12px;padding:10px;font-size:12px}.risk-alerts b,.risk-alerts small{display:block}.risk-alerts small{margin-top:3px;color:#6b6078;font-size:10px}.risk-poster-foot{background:#301064;color:#fff;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.risk-poster-foot strong{font-size:15px}
.playful-risk-poster .risk-poster-head{background:linear-gradient(100deg,#381070,#6d23ba)}.playful-risk-poster .risk-orbit{transform:none;background:radial-gradient(circle,#fff 0 38%,#f6e6ff 39% 55%,transparent 56%),conic-gradient(#ff2457,#ffca24,#7d2bc4,#ff2457)}.playful-risk-poster .risk-character{font-size:88px}.playful-risk-poster .risk-hero{background:linear-gradient(135deg,#f5e9ff,#fff3d7)}.playful-risk-poster .risk-poster-main li{box-shadow:0 5px 10px rgba(61,20,116,.08)}
.risk-visual-poster[data-risk="weather"] .risk-hero{background:#eaf5ff}.risk-visual-poster[data-risk="electrical"] .risk-hero{background:#fff5cc}.risk-visual-poster[data-risk="falls"] .risk-hero{background:#fff0e8}.risk-visual-poster[data-risk="ergonomics"] .risk-hero{background:#edf5ff}.risk-visual-poster[data-risk="loads"] .risk-hero{background:#f4ebff}.risk-visual-poster[data-risk="fire"] .risk-hero{background:#ffe8e4}.risk-visual-poster[data-risk="psychosocial"] .risk-hero{background:#f7ebff}
@media(max-width:780px){.risk-consistency-grid{grid-template-columns:1fr 1fr}.risk-poster-main{grid-template-columns:1fr}.risk-orbit{min-height:160px}.risk-title h2{font-size:22px}}

/* Enterprise 55.0: personajes corporativos vectoriales y escenas coherentes */
.corporate-character-scene{display:block;width:100%;height:auto;max-height:235px;overflow:visible}.scene-shadow{fill:#28105822}.scene-ring{fill:none;stroke:#6a26b3;stroke-width:12;stroke-dasharray:360 80}.is-playful .scene-ring{stroke:#ef2455;stroke-width:15;stroke-dasharray:155 25 80 18}.scene-head{filter:drop-shadow(0 5px 5px #32106f22)}.scene-hair{fill:#2e2038}.scene-body{stroke:#2c0f5c;stroke-width:3}.scene-arm,.scene-leg,.scene-shoe{fill:none;stroke:#2e2038;stroke-width:12;stroke-linecap:round}.scene-leg{stroke-width:15}.scene-shoe{stroke-width:10}.scene-eye{fill:#25152f}.scene-smile{fill:none;stroke:#7b3f35;stroke-width:3;stroke-linecap:round}.scene-badge{fill:#fff;stroke:#8C4799;stroke-width:2}.scene-badge-text{fill:#32106f;font-size:8px;font-weight:900}.scene-water{fill:#75cfff88}.scene-sign{fill:#ffc928;stroke:#ce8e00;stroke-width:3}.scene-mark{font-size:28px;font-weight:900;fill:#4b3210}.scene-prop,.scene-route,.scene-arrow,.scene-check{fill:none;stroke:#e21f54;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}.scene-board{fill:#ece7f4;stroke:#32106f;stroke-width:5}.scene-light{fill:#2dbd69}.scene-bolt{fill:#ffc928}.scene-cone{fill:#f27324;stroke:#fff;stroke-width:4}.scene-desk,.scene-monitor,.scene-chair{fill:#e8e1f2;stroke:#32106f;stroke-width:5}.scene-box{fill:#c98a4b;stroke:#7c4c20;stroke-width:4}.scene-box-line{fill:none;stroke:#7c4c20;stroke-width:3}.scene-cart{fill:none;stroke:#32106f;stroke-width:7}.scene-wheel{fill:#32106f}.scene-ext{fill:#ed234d;stroke:#9f1232;stroke-width:4}.scene-hose{fill:none;stroke:#242128;stroke-width:7}.scene-flame{fill:#ff7727;stroke:#db2c20;stroke-width:4}.scene-door{fill:#e8e1f2;stroke:#32106f;stroke-width:5}.scene-knob{fill:#8C4799}.scene-person2{fill:#e6ad82;stroke:#32106f;stroke-width:4}.scene-heart{fill:#ef2455}.scene-kit{fill:#fff;stroke:#8C4799;stroke-width:5}.scene-cross{fill:#8C4799}.scene-shield{fill:#e9e0f6;stroke:#32106f;stroke-width:6}.risk-role{display:inline-flex;margin-top:6px;padding:5px 10px;border-radius:999px;background:#32106f;color:#fff;font-size:10px;font-weight:850}.risk-poster-main li i{font-size:9px;line-height:1.1;font-weight:800;color:#5b237f;text-align:center;background:#f4ecfb;border-radius:8px;padding:5px 4px}.playful-risk-poster .corporate-character-scene{filter:drop-shadow(0 8px 10px #5d1b9b22)}.playful-risk-poster .risk-role{background:#e82058}.playful-risk-poster .scene-body{filter:brightness(1.08)}


/* Enterprise 55.0 — Banco Ripley Premium 3D */
.premium-scene{min-height:210px;filter:saturate(1.03)}
.risk-hero{background:linear-gradient(145deg,#ffffff 0%,#f7f2fc 58%,#ede4f7 100%);border:1px solid #e8dcf4;box-shadow:inset 0 1px 0 #fff,0 10px 24px rgba(48,16,100,.10)}
.playful-risk-poster .risk-hero{background:linear-gradient(145deg,#fffafd 0%,#f4edfb 52%,#eadff6 100%)}
.risk-poster-main li{grid-template-columns:32px 1fr 74px;padding:10px 9px}
.risk-poster-main li i{font-size:9px;background:linear-gradient(145deg,#f8f3fd,#eee2fa);border:1px solid #e1d0f0;box-shadow:0 4px 10px rgba(63,20,115,.08)}
.risk-role{box-shadow:0 6px 14px rgba(50,16,111,.2)}
.risk-poster-head{box-shadow:0 8px 18px rgba(44,12,94,.14)}
.playful-risk-poster .risk-poster-body{background:linear-gradient(180deg,#fff 0%,#fffafd 100%)}

/* Enterprise 58.0: escena premium con fondo blanco-lila */
.studio-scene{min-height:230px;filter:saturate(1.04) contrast(1.01)}
.risk-hero{overflow:hidden;padding:10px 10px 14px;background:radial-gradient(circle at 72% 18%,rgba(255,255,255,.96) 0 16%,transparent 42%),linear-gradient(145deg,#ffffff 0%,#f8f4fc 54%,#eee6f8 100%)}
.playful-risk-poster .risk-hero{background:radial-gradient(circle at 75% 16%,rgba(255,255,255,.98) 0 15%,transparent 40%),linear-gradient(145deg,#fffafd 0%,#f4edfb 52%,#e9def6 100%)}
.risk-role{margin-top:2px;font-size:10px;letter-spacing:.01em;box-shadow:0 5px 12px rgba(50,16,111,.16)}
.risk-hero>p{max-width:95%;margin:8px auto 0;color:#51455f;font-weight:650}
.playful-risk-poster .studio-scene{filter:saturate(1.12) contrast(1.02) drop-shadow(0 10px 16px rgba(66,18,120,.13))}


/* Enterprise 58.0 · limpieza visual del panel protagonista */
.risk-hero{border-color:#e4d9ef;box-shadow:inset 0 1px 0 #fff,0 12px 28px rgba(48,16,100,.09)}
.risk-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.72),transparent 38%);opacity:.75}
.risk-hero{position:relative}
.risk-hero>*{position:relative;z-index:1}
.playful-risk-poster .risk-hero{border-color:#dfd0ef}

/* Enterprise 58.0: escenas premium con imagen realista */
.premium-photo-scene{position:relative;margin:0;overflow:hidden;border-radius:18px;background:linear-gradient(145deg,#fff,#eee6f7);box-shadow:0 14px 30px rgba(49,16,111,.16);aspect-ratio:1.06/1}
.premium-photo-scene img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.premium-photo-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 62%,rgba(28,7,61,.22));pointer-events:none}
.premium-scene-badge{position:absolute;left:12px;bottom:11px;z-index:2;padding:6px 10px;border-radius:999px;background:rgba(49,16,111,.90);color:#fff;font-size:9px;font-weight:850;letter-spacing:.02em;backdrop-filter:blur(8px)}
.playful-risk-poster .premium-photo-scene{box-shadow:0 17px 34px rgba(62,16,122,.19)}
.risk-hero:has(.premium-photo-scene){padding:8px 8px 14px;background:linear-gradient(145deg,#fff,#f3edf9)}
.risk-hero:has(.premium-photo-scene):before{display:none}
@media(max-width:780px){.premium-photo-scene{aspect-ratio:4/3}}


/* Enterprise 59.0 · Motor de Escena IA contextual */
.context-scene-card{
  width:100%;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(145deg,#fbf9ff,#ece5f8);
  border:1px solid rgba(73,35,123,.15);
  box-shadow:0 18px 34px rgba(43,18,82,.14);
}
.context-scene-card svg{display:block;width:100%;height:auto}
.scene-context-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:8px 0 0;
}
.scene-context-strip span{
  display:block;
  padding:7px 8px;
  border-radius:10px;
  background:#f4eefb;
  color:#40216d;
  font-size:.68rem;
  font-weight:800;
  text-align:center;
}
.risk-consistency-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.risk-consistency-grid span{
  min-height:48px;
  display:flex;
  align-items:center;
}
.scene-specific-note{
  margin-top:8px;
  padding:9px 11px;
  border-radius:12px;
  background:#f7f3fb;
  color:#50445d;
  font-size:.77rem;
  line-height:1.35;
}
@media(max-width:780px){
  .scene-context-strip,.risk-consistency-grid{grid-template-columns:1fr}
}


/* Enterprise 60.0 · escena de tropiezo con cables */
.cable-trip-scene{overflow:hidden}
.cable-scene-header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:linear-gradient(90deg,#32106f,#5d229f);color:#fff;font-size:12px}
.cable-scene-chip{background:#ef1f56;padding:6px 10px;border-radius:999px;font-weight:800}
.cable-office{position:relative;min-height:310px;background:linear-gradient(180deg,#f4effa 0 43%,#ddd6e7 43% 100%);overflow:hidden}
.office-wall{position:absolute;inset:0 0 43% 0;background:linear-gradient(135deg,#f7f4fb,#e8dff3)}
.office-brand{position:absolute;left:24px;top:22px;background:#32106f;color:#fff;padding:13px 18px;border-radius:10px;font-size:20px;font-weight:800}
.office-brand span{display:block;width:76px;height:5px;margin-top:6px;background:linear-gradient(90deg,#ef1f56 0 55%,#ffca28 55% 72%,#a85bc8 72%)}
.office-desk{position:absolute;right:30px;bottom:18px;width:180px;height:56px;background:#fff;border-radius:10px;border:1px solid #d8cce7;box-shadow:0 10px 25px #2b14591f}
.monitor{position:absolute;left:60px;top:-55px;width:80px;height:52px;background:#251347;border:7px solid #fff;border-radius:8px}
.chair{position:absolute;right:12px;bottom:-52px;width:54px;height:80px;border-radius:22px 22px 10px 10px;background:#4a1b87}
.office-floor{position:absolute;left:0;right:0;bottom:0;height:58%;background:linear-gradient(155deg,#d8d1df,#bbb3c4)}
.office-floor:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 90px,#ffffff50 91px 93px),repeating-linear-gradient(0deg,transparent 0 62px,#ffffff45 63px 65px)}
.employee{position:absolute;left:90px;bottom:48px;width:120px;height:170px;transform:rotate(-8deg)}
.employee .head{position:absolute;left:42px;top:0;width:46px;height:50px;border-radius:50%;background:#c98761;box-shadow:inset 0 6px 0 #241b2d}
.employee .body{position:absolute;left:30px;top:46px;width:70px;height:84px;border-radius:24px 24px 14px 14px;background:linear-gradient(135deg,#32106f,#6b2bb4)}
.employee .arm,.employee .leg{position:absolute;background:#24232b;border-radius:999px;transform-origin:top center}
.employee .a1{left:26px;top:61px;width:16px;height:72px;transform:rotate(40deg)}
.employee .a2{left:91px;top:61px;width:16px;height:68px;transform:rotate(-58deg)}
.employee .l1{left:45px;top:123px;width:18px;height:69px;transform:rotate(26deg)}
.employee .l2{left:78px;top:123px;width:18px;height:70px;transform:rotate(-42deg)}
.employee .badge{position:absolute;left:72px;top:68px;background:#fff;color:#32106f;border:2px solid #ef1f56;border-radius:4px;padding:3px;font-size:8px;font-weight:900}
.trip-motion{position:absolute;left:40px;bottom:180px;display:grid;gap:7px}
.trip-motion i{width:34px;height:5px;border-radius:9px;background:#ef1f56;transform:rotate(-18deg)}
.loose-cable{position:absolute;left:150px;right:90px;bottom:72px;height:24px;border-bottom:8px solid #24212a;border-radius:50%;transform:rotate(2deg)}
.plug{position:absolute;right:74px;bottom:59px;width:32px;height:22px;border-radius:5px;background:#24212a}
.warning-tape{position:absolute;left:240px;bottom:120px;background:#ffca28;color:#32106f;border:3px solid #32106f;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:900;transform:rotate(-2deg)}
.cable-cover{position:absolute;left:245px;bottom:54px;width:180px;height:30px;border-radius:9px;background:linear-gradient(180deg,#55505e,#2e2a33);box-shadow:0 8px 15px #0003}
.cable-cover span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em}
.control-arrow{position:absolute;right:28px;bottom:105px;color:#15885f;font-weight:900;font-size:12px}
@media(max-width:700px){.cable-office{min-height:255px}.office-desk{transform:scale(.8);transform-origin:right bottom}.employee{left:45px;transform:scale(.85) rotate(-8deg);transform-origin:left bottom}.warning-tape{left:180px}.cable-cover{left:175px;width:140px}.control-arrow{display:none}}


/* Enterprise 61.0 · carrusel de fichas preventivas */
.multi-sheet-studio{
  margin-top:22px;
  border:1px solid #e4d9f1;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#faf7ff);
  padding:22px;
  box-shadow:0 14px 32px rgba(50,16,111,.08)
}
.multi-sheet-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.multi-sheet-head h3{margin:3px 0 6px;color:#32106f;font-size:22px}
.multi-sheet-head p{margin:0;max-width:760px;color:#6d6378}
.multi-sheet-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.multi-sheet-count{border-radius:999px;background:#f0e7fa;color:#5a228f;padding:9px 13px;font-weight:800;font-size:13px}
.multi-sheet-carousel{position:relative}
.multi-sheet-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.multi-sheet-card{
  position:relative;overflow:hidden;border:1px solid #dfd3ed;border-radius:18px;background:#fff;
  box-shadow:0 10px 24px rgba(44,17,81,.08);transition:.25s ease
}
.multi-sheet-card:hover,.multi-sheet-card.active{transform:translateY(-3px);border-color:#7b3fbd;box-shadow:0 16px 32px rgba(56,24,107,.15)}
.multi-sheet-card img{display:block;width:100%;aspect-ratio:1/.98;object-fit:cover;background:#eee8f6}
.sheet-number{position:absolute;z-index:2;top:12px;left:12px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#4d1c8e;color:#fff;font-size:18px;font-weight:900;box-shadow:0 8px 18px rgba(50,16,111,.25)}
.sheet-copy{padding:18px 16px 14px 62px;min-height:96px}
.sheet-copy small{color:#d81d55;font-weight:900;letter-spacing:.06em}
.sheet-copy h4{margin:6px 0 0;color:#2d174d;font-size:16px;line-height:1.25}
.sheet-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;border-top:1px solid #eee7f5;background:#faf8fd;font-size:12px}
.sheet-footer span{color:#7e7389}.sheet-footer strong{color:#32106f;text-align:right}
.carousel-arrow{display:none;position:absolute;z-index:5;top:48%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid #d8c9e8;background:#fff;color:#4b1789;box-shadow:0 8px 20px rgba(45,18,78,.14)}
.carousel-arrow.prev{left:-12px}.carousel-arrow.next{right:-12px}
.multi-sheet-dots{display:none;justify-content:center;gap:8px;margin-top:14px}
.multi-sheet-dots button{width:9px;height:9px;border-radius:50%;border:0;background:#d8cbe8;padding:0}
.multi-sheet-dots button.active{width:26px;border-radius:999px;background:#6127a5}
.multi-sheet-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
.multi-sheet-summary>div{display:flex;gap:10px;align-items:center;border:1px solid #eadff4;background:#fff;border-radius:14px;padding:12px}
.multi-sheet-summary svg{color:#692cad;width:22px}
.multi-sheet-summary span{display:grid;gap:2px}
.multi-sheet-summary small{color:#82788c}.multi-sheet-summary b{color:#342044;font-size:13px}

@media(max-width:1000px){
  .multi-sheet-summary{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .multi-sheet-head{flex-direction:column}
  .multi-sheet-track{display:flex;overflow:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory}
  .multi-sheet-card{min-width:100%;scroll-snap-align:start;transform:none!important}
  .carousel-arrow,.multi-sheet-dots{display:flex}
  .multi-sheet-summary{grid-template-columns:1fr}
}


/* Enterprise 62.0 · storyboard distinto por accidente */
.symbolic-scene{position:relative;aspect-ratio:1/.98;overflow:hidden;background:linear-gradient(145deg,#fbf9fe,#eee7f7);display:grid;place-items:center}
.symbolic-scene:before{content:"";position:absolute;width:220px;height:220px;border:30px solid #ffffffa8;border-radius:50%;right:-70px;top:-55px}
.symbolic-core{position:relative;width:210px;height:150px;border-radius:26px;background:#fff;border:1px solid #ded2ea;box-shadow:0 18px 36px rgba(48,18,91,.13)}
.symbolic-core span,.symbolic-core i,.symbolic-core b{position:absolute;display:block}
.symbolic-core span{left:28px;top:30px;width:62px;height:62px;border-radius:18px;background:#4d188f;box-shadow:0 10px 20px #32106f38}
.symbolic-core i{right:26px;top:34px;width:78px;height:18px;border-radius:10px;background:#ef2057;box-shadow:0 34px 0 #ffc928,0 68px 0 #6b2aad}
.symbolic-core b{left:42px;bottom:20px;width:126px;height:16px;border-radius:10px;background:#2e2638}
.symbolic-labels{position:absolute;left:20px;right:20px;bottom:18px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.symbolic-labels em{font-style:normal;font-size:10px;font-weight:900;color:#32106f;background:#fff;border:1px solid #ded0ed;border-radius:999px;padding:7px 9px;box-shadow:0 5px 12px #32106f12}
.cable-danger .symbolic-core:after,.cable-safe .symbolic-core:after{content:"";position:absolute;left:18px;right:18px;bottom:42px;height:16px;border-bottom:7px solid #2b2730;border-radius:50%;transform:rotate(-3deg)}
.cable-block .symbolic-core:after{content:"ACCESO RESTRINGIDO";position:absolute;left:18px;right:18px;bottom:38px;background:repeating-linear-gradient(135deg,#ef2057 0 15px,#fff 15px 28px);border:2px solid #ef2057;border-radius:7px;color:#32106f;text-align:center;padding:8px;font-size:9px;font-weight:900}
.cable-safe .symbolic-core b{background:linear-gradient(#5e5865,#29262e);height:26px}
.electric-danger .symbolic-core span:after{content:"⚡";position:absolute;inset:0;display:grid;place-items:center;font-size:34px;color:#ffc928}
.electric-block .symbolic-core span:after{content:"🔒";position:absolute;inset:0;display:grid;place-items:center;font-size:30px}
.electric-safe .symbolic-core span:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
.fire-danger .symbolic-core span:after{content:"!";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
.fire-evac .symbolic-core span:after{content:"→";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
.fire-safe .symbolic-core span:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
.ergo-danger .symbolic-core span:after{content:"↯";position:absolute;inset:0;display:grid;place-items:center;font-size:36px;color:#fff}
.ergo-adjust .symbolic-core span:after{content:"↕";position:absolute;inset:0;display:grid;place-items:center;font-size:38px;color:#fff}
.ergo-safe .symbolic-core span:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
.load-assist .symbolic-core span:after{content:"↗";position:absolute;inset:0;display:grid;place-items:center;font-size:38px;color:#fff}
.load-safe .symbolic-core span:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:40px;color:#fff}
@media(max-width:760px){.symbolic-core{width:190px;height:140px}.symbolic-labels{bottom:12px}}


/* Enterprise 63.0 · motor fotográfico premium */
.photo-engine-panel{
  margin:20px 0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:18px 20px;
  border:1px solid #ded3ec;
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#faf7ff 64%,#f1e8fb 100%);
  box-shadow:0 12px 28px rgba(50,16,111,.08)
}
.photo-engine-icon{
  width:52px;height:52px;border-radius:16px;
  display:grid;place-items:center;
  background:#32106f;color:#fff;font-size:25px;
  box-shadow:0 10px 22px rgba(50,16,111,.22)
}
.photo-engine-panel h3{margin:3px 0 5px;color:#32106f}
.photo-engine-panel p{margin:0;color:#6c6276;max-width:780px}
.photo-checks{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.photo-checks span{
  border:1px solid #d9cbea;background:#fff;color:#512084;
  padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800
}
@media(max-width:850px){
  .photo-engine-panel{grid-template-columns:auto 1fr}
  .photo-checks{grid-column:1/-1;justify-content:flex-start}
}


/* Enterprise 64.0 · simbología 3D premium */
.multi-sheet-studio,.multi-sheet-carousel,.multi-sheet-summary,.multi-sheet-dots{display:none!important}

.premium-symbol-preview{
  margin:22px 0;
  display:grid;
  grid-template-columns:minmax(300px,.85fr) minmax(420px,1.35fr);
  gap:18px;
  padding:20px;
  border:1px solid #e4d9f0;
  border-radius:24px;
  background:linear-gradient(145deg,#ffffff 0%,#faf7ff 65%,#f0e7fa 100%);
  box-shadow:0 18px 40px rgba(50,16,111,.1)
}
.premium-symbol-stage{
  position:relative;
  overflow:hidden;
  min-height:420px;
  border-radius:22px;
  padding:22px;
  background:
    radial-gradient(circle at 25% 20%,rgba(255,255,255,.95),rgba(255,255,255,.4) 28%,transparent 45%),
    linear-gradient(145deg,#ece4f8,#ffffff 52%,#e8dff5);
  border:1px solid #ded2ec;
}
.premium-symbol-stage:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.55) 47% 52%,transparent 53%),
    radial-gradient(circle at 75% 70%,rgba(95,36,158,.15),transparent 38%);
  pointer-events:none
}
.brand-relief{
  position:absolute;left:22px;top:22px;z-index:3;
  padding:13px 16px 12px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,#2a0a61,#4a188f);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 22px rgba(50,16,111,.28);
  transform:translateZ(0)
}
.brand-wordmark{font-weight:900;font-size:22px;letter-spacing:-.6px;text-shadow:0 2px 2px rgba(0,0,0,.22)}
.brand-bars{display:flex;width:95px;height:6px;margin-top:8px;border-radius:999px;overflow:hidden;box-shadow:0 2px 5px rgba(0,0,0,.22)}
.brand-bars i:nth-child(1){flex:5;background:#ef2057}.brand-bars i:nth-child(2){flex:2;background:#ffc928}.brand-bars i:nth-child(3){flex:3;background:#a85ac8}
.pr-glass-badge{
  position:absolute;right:22px;top:22px;z-index:3;
  width:66px;height:66px;border-radius:50%;
  display:grid;place-items:center;
  color:#fff;font-weight:900;font-size:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.35),rgba(70,24,136,.85));
  border:2px solid rgba(255,255,255,.8);
  box-shadow:inset 0 2px 8px rgba(255,255,255,.5),0 12px 26px rgba(50,16,111,.28);
  backdrop-filter:blur(8px)
}
.symbol-orbit{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:250px;height:250px}
.symbol-main{
  position:absolute;inset:42px;border-radius:34px;
  display:grid;place-items:center;
  font-size:88px;
  background:linear-gradient(145deg,#ffffff,#e6d9f4);
  border:1px solid #d6c5e7;
  box-shadow:
    inset 0 12px 28px rgba(255,255,255,.88),
    inset 0 -10px 24px rgba(70,24,136,.12),
    0 24px 55px rgba(50,16,111,.2);
  transform:rotate(-3deg);
  text-shadow:0 8px 16px rgba(50,16,111,.25)
}
.orbit{position:absolute;border-radius:50%;border:2px solid rgba(93,36,158,.18)}
.orbit.o1{inset:15px}.orbit.o2{inset:0;border-style:dashed;transform:rotate(18deg)}.orbit.o3{inset:-18px;border-color:rgba(239,32,87,.14)}
.symbol-caption{position:absolute;left:24px;right:24px;bottom:22px;z-index:2;display:grid;gap:4px;text-align:center}
.symbol-caption small{color:#d91d55;font-weight:900;letter-spacing:.08em}
.symbol-caption strong{font-size:22px;color:#32106f}
.symbol-caption span{color:#6c6277;font-size:13px}

.premium-recommendations{display:grid;gap:12px}
.premium-recommendations article{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;
  min-height:76px;padding:13px 15px;
  border:1px solid #e2d7ee;border-radius:18px;
  background:linear-gradient(145deg,#fff,#faf8fd);
  box-shadow:0 9px 20px rgba(50,16,111,.07)
}
.number-3d{
  width:52px;height:52px;border-radius:18px;
  display:grid;place-items:center;
  color:#fff;font-size:22px;font-weight:900;
  background:linear-gradient(145deg,#6e30b5,#32106f);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,.35),
    inset 0 -8px 15px rgba(30,4,72,.35),
    0 10px 20px rgba(50,16,111,.28);
  text-shadow:0 3px 4px rgba(0,0,0,.28)
}
.premium-recommendations b{display:block;color:#2e1b43;font-size:14px;line-height:1.25}
.premium-recommendations small{display:block;margin-top:4px;color:#786e82}
.mini-object{
  min-width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;font-size:26px;
  background:linear-gradient(145deg,#fff,#ebe2f6);
  border:1px solid #d9cce8;
  box-shadow:inset 0 2px 5px rgba(255,255,255,.8),0 7px 16px rgba(50,16,111,.12)
}
@media(max-width:900px){.premium-symbol-preview{grid-template-columns:1fr}.premium-symbol-stage{min-height:370px}}
@media(max-width:600px){.premium-symbol-preview{padding:12px}.premium-recommendations article{grid-template-columns:auto 1fr}.mini-object{display:none}.symbol-main{font-size:72px}}


/* ===================================================================
   ENTERPRISE 65.0 · FICHA CON SIMBOLOGÍA 3D PREMIUM
   =================================================================== */

.premium-symbol-preview,.premium-reference-card{display:none!important}

.visual-cube-icon,.visual-orbit-icon{
  width:26px;height:26px;display:inline-block;border-radius:8px;
  background:linear-gradient(145deg,#8b53d7,#3a0b75);
  box-shadow:inset 0 2px 4px #ffffff66,0 5px 10px #32106f35;
  position:relative
}
.visual-cube-icon:before{content:"";position:absolute;inset:6px;border:2px solid #fff;border-radius:4px;transform:rotate(30deg)}
.visual-orbit-icon:before{content:"";position:absolute;inset:4px;border:2px solid #fff;border-radius:50%}
.visual-orbit-icon:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#ffc928;right:0;top:2px;box-shadow:0 0 0 3px #fff}

.risk-visual-poster{
  border-radius:25px;
  box-shadow:0 22px 50px rgba(50,16,111,.18);
  overflow:hidden;
  background:#fff
}
.risk-poster-head{
  min-height:82px;
  padding:18px 24px;
  border-top:7px solid #ef2057;
  background:linear-gradient(110deg,#22084f,#4d168f 62%,#6d2bb7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 22px rgba(44,12,94,.18)
}
.risk-wordmark-3d{
  font-size:25px;
  text-shadow:0 3px 5px rgba(0,0,0,.3);
  filter:drop-shadow(0 4px 4px rgba(24,4,55,.35))
}
.risk-pr-3d{
  width:54px;height:54px;
  background:linear-gradient(145deg,rgba(255,255,255,.42),rgba(70,21,139,.72));
  border:2px solid rgba(255,255,255,.9);
  box-shadow:inset 0 2px 7px rgba(255,255,255,.55),0 10px 22px rgba(25,4,63,.35);
  backdrop-filter:blur(8px);
  text-shadow:0 3px 5px rgba(0,0,0,.28)
}
.risk-poster-body{padding:23px 25px 18px;background:linear-gradient(180deg,#fff,#fdfbff)}
.risk-title small{font-size:12px;color:#d7195b}
.risk-title h2{font-size:32px;letter-spacing:-.035em;max-width:760px}
.risk-title p{font-size:14px}
.risk-poster-main{
  grid-template-columns:minmax(310px,.92fr) minmax(390px,1.08fr);
  gap:20px;
  margin-top:18px
}
.risk-hero-symbols{
  padding:16px;
  background:linear-gradient(145deg,#fff,#f3edf9);
  border:1px solid #dfd2ed;
  box-shadow:inset 0 1px 0 #fff,0 12px 26px rgba(50,16,111,.08)
}
.premium-symbol-scene{display:block;width:100%;height:auto;max-height:350px;overflow:visible}
.premium-symbol-scene.is-impact{filter:saturate(1.05) contrast(1.02) drop-shadow(0 10px 14px rgba(50,16,111,.12))}
.risk-role{
  background:linear-gradient(145deg,#6f31b5,#32106f);
  box-shadow:inset 0 2px 4px #ffffff5c,0 8px 16px rgba(50,16,111,.25);
  padding:7px 13px;
  letter-spacing:.08em
}
.risk-hero p{font-size:12px;max-width:390px;margin:11px auto 0;color:#665a72}
.risk-poster-main ol{gap:10px}
.risk-poster-main li{
  min-height:71px;
  grid-template-columns:56px minmax(0,1fr) 105px;
  gap:13px;
  padding:10px 12px;
  border-radius:18px;
  border-color:#dfd3eb;
  background:linear-gradient(145deg,#fff,#fbf9fd);
  box-shadow:0 8px 18px rgba(50,16,111,.08)
}
.risk-number-3d{
  width:50px!important;height:50px!important;border-radius:16px!important;
  background:linear-gradient(145deg,#8d55dc,#5c20a2 50%,#2c075f)!important;
  border:1px solid rgba(255,255,255,.5);
  box-shadow:inset 0 3px 7px rgba(255,255,255,.35),inset 0 -8px 13px rgba(30,2,72,.32),0 9px 17px rgba(50,16,111,.3);
  text-shadow:0 3px 4px rgba(0,0,0,.3);
  font-size:20px
}
.risk-poster-main li>span{font-size:13px;line-height:1.25}
.risk-mini-object{
  display:grid!important;
  grid-template-columns:38px 1fr;
  align-items:center;
  gap:5px;
  min-height:48px;
  padding:5px 6px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#fff,#eee6f8)!important;
  border:1px solid #ddcfeb!important;
  box-shadow:inset 0 2px 5px #fff,0 6px 13px rgba(50,16,111,.1)!important;
  color:#4f1d82!important;
  font-style:normal!important
}
.risk-mini-object svg{width:36px;height:36px;filter:drop-shadow(0 4px 4px rgba(50,16,111,.18))}
.risk-mini-object em{font-style:normal;font-size:9px;line-height:1.05;font-weight:850;text-align:center}
.risk-alerts-premium{gap:12px}
.risk-alerts-premium>span{
  position:relative;
  display:grid;
  grid-template-columns:42px 1fr;
  align-items:center;
  column-gap:10px;
  background:linear-gradient(145deg,#fff,#f8f4fc);
  border:1px solid #e4d9ef;
  box-shadow:0 7px 16px rgba(50,16,111,.06)
}
.risk-alerts-premium b,.risk-alerts-premium small{grid-column:2}
.alert-glyph{
  grid-row:1/3;
  width:38px;height:38px;border-radius:13px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#ffc928,#d88d00);
  color:#351600;font-style:normal;font-weight:950;font-size:23px;
  box-shadow:inset 0 2px 4px #ffffff80,0 7px 14px #8d5f0030
}
.alert-glyph.check{background:linear-gradient(145deg,#78dfa1,#168f57);color:#fff}
.risk-poster-foot-premium{
  min-height:56px;
  background:linear-gradient(110deg,#250852,#4a1687);
  padding:13px 22px;
  box-shadow:inset 0 1px 0 #ffffff30
}
.risk-poster-foot-premium span{display:flex;align-items:center;gap:9px}
.risk-poster-foot-premium span i{
  width:29px;height:29px;border-radius:10px;display:grid;place-items:center;
  font-style:normal;font-weight:900;font-size:10px;
  background:linear-gradient(145deg,#8d55d6,#3a0c70);
  border:1px solid #ffffff77;
  box-shadow:inset 0 2px 5px #ffffff55,0 5px 11px #16032f50
}
.risk-poster-foot-premium strong{text-shadow:0 2px 4px rgba(0,0,0,.25)}

.risk-consistency-grid #riskCharacterCheck:before{content:""}
.risk-consistency-panel{margin-top:18px}

@media(max-width:850px){
  .risk-poster-main{grid-template-columns:1fr}
  .premium-symbol-scene{max-height:310px}
  .risk-poster-main li{grid-template-columns:50px minmax(0,1fr) 95px}
}
@media(max-width:560px){
  .risk-poster-body{padding:17px 14px}
  .risk-title h2{font-size:24px}
  .risk-poster-main li{grid-template-columns:46px 1fr}
  .risk-mini-object{grid-column:2;grid-template-columns:32px auto;justify-self:start;min-width:120px}
}


/* ===================================================================
   ENTERPRISE 66.0 · PLANTILLA UNIVERSAL 3D
   =================================================================== */

.visual-style-chooser{display:none!important}

.generation-mode-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:16px 0 18px
}
.generation-mode{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:82px;
  padding:14px 16px;
  border:1px solid #ded3e9;
  border-radius:17px;
  background:linear-gradient(145deg,#fff,#faf8fd);
  color:#332443;
  text-align:left;
  cursor:pointer;
  transition:.2s ease
}
.generation-mode:hover,.generation-mode.active{
  border-color:#6a2bac;
  box-shadow:0 10px 22px rgba(50,16,111,.11);
  transform:translateY(-1px)
}
.generation-mode.active{
  background:linear-gradient(145deg,#fff,#f2e9fb)
}
.generation-mode>svg{
  width:27px;height:27px;color:#6427a5;flex:0 0 auto
}
.generation-mode span{display:grid;gap:4px}
.generation-mode strong{font-size:14px;color:#32106f}
.generation-mode small{color:#73687e;line-height:1.25}

.fixed-template-summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #ded2eb;
  border-radius:17px;
  background:linear-gradient(135deg,#fff,#f5eefc)
}
.fixed-template-symbol{
  width:47px;height:47px;border-radius:15px;
  display:grid;place-items:center;
  color:#fff;
  background:linear-gradient(145deg,#8d55db,#36106c);
  box-shadow:inset 0 2px 5px #ffffff66,0 8px 16px #32106f35
}
.fixed-template-symbol svg{width:24px}
.fixed-template-summary div:nth-child(2){display:grid;gap:4px}
.fixed-template-summary strong{color:#32106f}
.fixed-template-summary span{color:#6f6579;font-size:12px;line-height:1.35}
.fixed-template-summary b{
  padding:7px 10px;border-radius:999px;
  color:#592193;background:#fff;border:1px solid #d9c9e9;
  font-size:10px;letter-spacing:.06em
}

.referential-visual-note{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:18px;
  padding:13px 15px;
  border:1px solid #dcd0e9;
  border-radius:15px;
  background:#faf7fd;
  color:#675c72;
  font-size:12px;
  line-height:1.4
}
.referential-visual-note svg{width:19px;color:#6427a5;flex:0 0 auto}
.referential-visual-note strong{color:#32106f}

.universal-risk-hero{
  background:linear-gradient(145deg,#fff,#f5effb)!important
}
.universal-symbol-scene{
  display:block;
  width:100%;
  height:auto;
  max-height:350px;
  overflow:visible
}
.universal-tip-icon{
  width:57px;height:49px;
  display:grid;place-items:center;
  border-radius:15px;
  background:linear-gradient(145deg,#fff,#eee7f7);
  border:1px solid #d8cae8;
  box-shadow:inset 0 2px 5px #fff,0 6px 13px rgba(50,16,111,.1)
}
.universal-tip-icon svg{
  width:39px;height:39px;
  filter:drop-shadow(0 3px 3px rgba(50,16,111,.13))
}
.risk-poster-main li{
  grid-template-columns:56px minmax(0,1fr) 61px!important
}
.risk-poster-main li>span{
  font-size:14px!important;
  line-height:1.28!important
}
.risk-role{
  background:linear-gradient(145deg,#6e30b4,#32106f)!important
}
.risk-alerts-premium>span{
  background:linear-gradient(145deg,#fff,#faf8fd)!important
}

/* La ficha aprobada se presenta como una sola plantilla. */
#visualReferenceCorporate{display:none!important}
#visualReferencePlayful{display:block!important}
#diffusionPosterPreview{display:none!important}

/* Quita cualquier fondo amarillo heredado del motor anterior. */
.risk-hero,.risk-hero-symbols,.risk-visual-poster [style*="yellow"]{
  background-color:transparent
}

@media(max-width:760px){
  .generation-mode-row{grid-template-columns:1fr}
  .fixed-template-summary{grid-template-columns:auto 1fr}
  .fixed-template-summary b{grid-column:1/-1;justify-self:start}
}
@media(max-width:560px){
  .risk-poster-main li{grid-template-columns:46px 1fr!important}
  .universal-tip-icon{grid-column:2;justify-self:start}
}


/* ===================================================================
   ENTERPRISE 67.0 · RECOMENDACIONES COMPLETAS, SIN CORTES
   =================================================================== */

.risk-visual-poster{
  width:min(100%,1120px)!important;
  max-width:1120px!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important
}
.risk-poster-body,.risk-poster-main,.risk-poster-main ol{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important
}
.risk-poster-main{
  grid-template-columns:minmax(280px,.82fr) minmax(500px,1.18fr)!important;
  align-items:stretch!important
}
.risk-poster-main ol{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important
}
.risk-poster-main li{
  height:auto!important;
  min-height:78px!important;
  max-height:none!important;
  overflow:visible!important;
  grid-template-columns:58px minmax(0,1fr) 61px!important;
  align-items:center!important;
  padding:12px 14px!important
}
.risk-poster-main li>span{
  display:block!important;
  min-width:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  font-size:14px!important;
  line-height:1.3!important
}
.risk-title h2{
  max-width:100%!important;
  overflow-wrap:anywhere!important
}
.risk-alerts-premium>span{
  min-height:86px!important;
  height:auto!important;
  overflow:visible!important
}
.risk-alerts-premium small{
  white-space:normal!important;
  overflow:visible!important;
  line-height:1.3!important
}
.visual-reference-card,.creative-preview-panel,.poster-canvas{
  overflow:visible!important;
  height:auto!important
}

@media(max-width:980px){
  .risk-poster-main{
    grid-template-columns:1fr!important
  }
  .risk-poster-main li{
    min-height:72px!important
  }
}
@media(max-width:600px){
  .risk-poster-main li{
    grid-template-columns:48px minmax(0,1fr)!important;
    padding:11px!important
  }
  .universal-tip-icon{
    grid-column:2!important
  }
}


/* ===================================================================
   ENTERPRISE 68.0 · CONTROLES FUNCIONALES Y COMPOSICIONES REALES
   =================================================================== */

.functional-content-card{overflow:visible}
.functional-strategy-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important
}
.functional-strategy-grid .creative-strategy{
  min-height:86px;
  border-radius:17px;
  padding:14px 15px;
  align-items:flex-start;
  text-align:left;
  cursor:pointer
}
.functional-strategy-grid .creative-strategy strong{font-size:14px}
.functional-strategy-grid .creative-strategy span{font-size:11px;line-height:1.25}
.functional-strategy-grid .creative-strategy.active{
  background:linear-gradient(145deg,#fff,#eee4fa);
  border-color:#6426a6;
  box-shadow:0 10px 24px rgba(50,16,111,.14)
}

.output-format-row{
  display:grid;
  grid-template-columns:minmax(240px,.55fr) minmax(360px,1.45fr);
  gap:14px;
  align-items:end;
  margin-top:15px
}
.output-format-row label{margin:0}
.fixed-visual-standard{
  min-height:62px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 14px;
  border:1px solid #ded3e9;
  border-radius:15px;
  background:#faf8fd
}
.fixed-visual-standard>svg{width:23px;color:#6426a6;flex:0 0 auto}
.fixed-visual-standard span{display:grid;gap:3px;font-size:12px;color:#74687f}
.fixed-visual-standard strong{font-size:13px;color:#32106f}

.clean-preview-toolbar{
  align-items:flex-end!important;
  gap:18px
}
.preview-standard-line{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px 16px;
  flex-wrap:wrap;
  color:#70647a;
  font-size:11px
}
.preview-standard-line span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap
}
.preview-standard-line svg{width:15px;color:#6426a6}
.preview-standard-line #previewStrategyBadge{color:#32106f;font-weight:850}

/* Formato real de salida */
.creative-preview-shell.output-square .risk-visual-poster{max-width:980px!important}
.creative-preview-shell.output-portrait .risk-visual-poster{max-width:760px!important}
.creative-preview-shell.output-portrait .risk-poster-main,
.creative-preview-shell.output-portrait .v68-wide-content,
.creative-preview-shell.output-portrait .v68-lesson-layout{
  grid-template-columns:1fr!important
}
.creative-preview-shell.output-landscape .risk-visual-poster,
.creative-preview-shell.output-presentation .risk-visual-poster{max-width:1180px!important}
.creative-preview-shell.output-presentation .risk-visual-poster{
  border-radius:18px!important
}

/* Listas base */
.v68-tip-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px
}
.v68-tip-list li{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 61px!important;
  align-items:center;
  gap:13px;
  min-height:78px!important;
  padding:12px 14px!important;
  border:1px solid #dfd3eb;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#fbf9fd);
  box-shadow:0 8px 18px rgba(50,16,111,.08)
}
.v68-tip-list li>span{
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  line-height:1.3!important;
  font-size:14px!important
}
.v68-check-box{
  width:39px;height:39px;
  border-radius:12px;
  border:3px solid #6e31b2;
  background:linear-gradient(145deg,#fff,#eee7f7);
  box-shadow:inset 0 2px 5px #fff,0 6px 13px rgba(50,16,111,.12)
}
.v68-checklist-panel{
  display:flex;
  flex-direction:column;
  gap:11px
}
.v68-panel-heading{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border-radius:15px;
  background:#f2eafb;
  color:#32106f
}
.v68-panel-heading>svg{width:23px}
.v68-panel-heading span{display:grid;gap:2px}
.v68-panel-heading small{color:#74687f}
.v68-checklist-result{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:11px 13px;border:1px solid #dfd3eb;border-radius:14px;background:#fff
}
.v68-checklist-result b{color:#32106f;margin-right:auto}
.v68-checklist-result span{font-size:12px;color:#675c72}

/* Paso a paso */
.v68-wide-content{
  display:grid;
  grid-template-columns:minmax(290px,.78fr) minmax(520px,1.22fr);
  gap:20px;
  margin-top:18px
}
.v68-steps-panel{display:flex;flex-direction:column;gap:7px}
.v68-step-card{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 28px;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:10px 14px;
  border:1px solid #ded2ea;
  border-radius:17px;
  background:linear-gradient(145deg,#fff,#f8f4fc)
}
.v68-step-card>b{
  width:47px;height:47px;border-radius:15px;
  display:grid;place-items:center;color:#fff;font-size:19px;
  background:linear-gradient(145deg,#8d55dc,#32106f);
  box-shadow:inset 0 3px 7px #ffffff4d,0 8px 16px #32106f40
}
.v68-step-card span{font-weight:750;line-height:1.28}
.v68-step-card>svg{width:20px;color:#6a2cac}

/* Así sí / Así no */
.v68-comparison-layout{
  display:grid;
  grid-template-columns:minmax(240px,.65fr) minmax(280px,1fr) minmax(280px,1fr);
  gap:14px;
  margin-top:18px
}
.v68-mini-hero{
  padding:12px;border:1px solid #ded3e9;border-radius:20px;
  background:linear-gradient(145deg,#fff,#f4edf9)
}
.v68-mini-hero svg{width:100%;height:auto}
.v68-comparison-column{
  padding:15px;border-radius:20px;border:1px solid #ded3e9;background:#fff
}
.v68-comparison-column h3{
  display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:17px
}
.v68-comparison-column h3 svg{width:22px}
.v68-comparison-column p{
  display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:flex-start;
  margin:8px 0;padding:9px 10px;border-radius:13px;line-height:1.28;font-size:12px
}
.v68-comparison-column p b{
  width:25px;height:25px;border-radius:8px;display:grid;place-items:center;color:#fff
}
.v68-comparison-column.is-good{background:linear-gradient(145deg,#fff,#eefaf3)}
.v68-comparison-column.is-good h3{color:#117548}
.v68-comparison-column.is-good p{background:#e8f7ee}
.v68-comparison-column.is-good p b{background:#168f58}
.v68-comparison-column.is-bad{background:linear-gradient(145deg,#fff,#fff0f3)}
.v68-comparison-column.is-bad h3{color:#b30d3d}
.v68-comparison-column.is-bad p{background:#fde7ed}
.v68-comparison-column.is-bad p b{background:#d91e54}

/* Lección aprendida */
.v68-lesson-layout{
  display:grid;
  grid-template-columns:minmax(260px,.7fr) minmax(520px,1.3fr);
  gap:18px;
  margin-top:18px
}
.v68-lesson-cards{display:grid;gap:10px}
.v68-lesson-cards article{
  display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:flex-start;
  padding:14px;border:1px solid #ded3e9;border-radius:18px;background:#fff
}
.v68-lesson-cards article>svg{
  width:44px;height:44px;padding:10px;border-radius:14px;
  color:#fff;background:linear-gradient(145deg,#8d55dc,#32106f)
}
.v68-lesson-cards small{font-weight:900;color:#d7195b;letter-spacing:.06em}
.v68-lesson-cards p{margin:5px 0 0;line-height:1.35;color:#4d4258;font-size:13px}

/* Alerta preventiva */
.v68-alert-banner{
  display:grid;grid-template-columns:88px 1fr;gap:16px;align-items:center;
  margin-top:18px;padding:18px 20px;border-radius:22px;
  background:linear-gradient(125deg,#2a075d,#6123a6);
  color:#fff;box-shadow:0 15px 32px #32106f35
}
.v68-alert-symbol{
  width:76px;height:76px;border-radius:22px;display:grid;place-items:center;
  background:linear-gradient(145deg,#ffe96b,#ffc928);
  color:#3a2300;box-shadow:inset 0 3px 7px #ffffff80,0 10px 20px #16032f55
}
.v68-alert-symbol svg{width:40px;height:40px}
.v68-alert-banner small{font-weight:900;color:#ffc928;letter-spacing:.08em}
.v68-alert-banner h3{margin:4px 0;font-size:24px}
.v68-alert-banner p{margin:0;color:#efe7fa;line-height:1.35}
.v68-alert-actions{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0
}
.v68-alert-actions article{
  display:grid;grid-template-columns:45px 1fr;gap:10px;align-items:center;
  min-height:92px;padding:13px;border:1px solid #ded3e9;border-radius:17px;background:#fff
}
.v68-alert-actions b{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  color:#fff;background:linear-gradient(145deg,#ef4772,#b50b39)
}
.v68-alert-actions span{font-size:12px;font-weight:750;line-height:1.3}
.v68-alert-report{
  display:grid;grid-template-columns:48px 1fr;gap:11px;align-items:center;
  padding:13px 15px;border-radius:17px;border:1px solid #d5c5e5;background:#f5eefb
}
.v68-alert-report>svg{width:34px;color:#6426a6}
.v68-alert-report strong{color:#32106f}
.v68-alert-report p{margin:3px 0 0;color:#675c72;line-height:1.3;font-size:12px}

@media(max-width:980px){
  .functional-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .output-format-row{grid-template-columns:1fr}
  .v68-wide-content,.v68-lesson-layout{grid-template-columns:1fr}
  .v68-comparison-layout{grid-template-columns:1fr 1fr}
  .v68-mini-hero{grid-column:1/-1;max-width:470px;justify-self:center}
}
@media(max-width:650px){
  .functional-strategy-grid{grid-template-columns:1fr!important}
  .preview-standard-line{justify-content:flex-start}
  .v68-comparison-layout,.v68-alert-actions{grid-template-columns:1fr}
  .v68-tip-list li{grid-template-columns:48px 1fr!important}
  .v68-tip-list .universal-tip-icon{grid-column:2}
}


/* ===================================================================
   ENTERPRISE 69.0 · BASE FIJA + UN SÍMBOLO PRINCIPAL VARIABLE
   =================================================================== */

.v69-stable-hero{
  background:linear-gradient(145deg,#fff,#f5effb)!important;
  border-color:#d9cae8!important
}
.v69-stable-hero .universal-symbol-scene{
  max-height:330px
}
.v69-stable-hero .risk-role{
  letter-spacing:.055em;
  background:linear-gradient(145deg,#7135b7,#32106f)!important
}
.v69-stable-hero>p{
  max-width:34ch;
  margin-inline:auto;
  color:#665a72
}
.fixed-visual-standard{
  border-color:#d4c2e5!important;
  background:linear-gradient(145deg,#fff,#f3ecfa)!important
}
.fixed-visual-standard strong{
  color:#32106f!important
}
.risk-visual-poster[data-risk="structural"] .risk-title small{
  color:#d7195b
}
.risk-visual-poster[data-risk="structural"] .universal-risk-hero{
  background:linear-gradient(145deg,#fff,#f3edf9)!important
}


/* ===================================================================
   ENTERPRISE 70.0 · EXPORTAR Y COMPARTIR CON CPHS
   =================================================================== */

.cphs-export-panel{
  position:relative;
  display:grid;
  grid-template-columns:minmax(230px,.75fr) minmax(560px,1.25fr);
  align-items:center;
  gap:18px;
  margin:16px 0 18px;
  padding:17px 18px;
  border:1px solid #d8c9e6;
  border-radius:20px;
  background:linear-gradient(145deg,#fff,#f5effb);
  box-shadow:0 12px 28px rgba(50,16,111,.09)
}
.cphs-export-copy{display:grid;gap:4px}
.cphs-export-copy strong{font-size:16px;color:#32106f}
.cphs-export-copy small{color:#70647a;line-height:1.35}
.cphs-export-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.cphs-export-button{
  min-height:68px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border:0;
  border-radius:16px;
  cursor:pointer;
  text-align:left;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease
}
.cphs-export-button:hover{transform:translateY(-2px)}
.cphs-export-button:disabled{opacity:.55;cursor:wait;transform:none}
.cphs-export-button>svg{width:25px;height:25px;flex:0 0 auto}
.cphs-export-button span{display:grid;gap:2px}
.cphs-export-button b{font-size:13px}
.cphs-export-button small{font-size:10px;opacity:.8}
.cphs-export-button.primary{
  color:#fff;
  background:linear-gradient(145deg,#7b3cc4,#37106e);
  box-shadow:0 9px 19px rgba(50,16,111,.25)
}
.cphs-export-button.secondary{
  color:#32106f;
  background:#fff;
  border:1px solid #d6c7e5;
  box-shadow:0 8px 17px rgba(50,16,111,.08)
}
.cphs-export-button.share{
  color:#fff;
  background:linear-gradient(145deg,#ef3d74,#bd0e43);
  box-shadow:0 9px 19px rgba(189,14,67,.22)
}
.cphs-export-progress{
  position:absolute;
  inset:auto 18px -14px auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  background:#32106f;
  box-shadow:0 8px 20px rgba(50,16,111,.25);
  font-size:11px;
  font-weight:800;
  z-index:4
}
.cphs-export-progress svg{width:16px;animation:cphsSpin 1s linear infinite}
@keyframes cphsSpin{to{transform:rotate(360deg)}}

.cphs-export-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:3000;
  max-width:min(92vw,520px);
  padding:13px 17px;
  border-radius:14px;
  color:#fff;
  background:#32106f;
  box-shadow:0 16px 42px #18042f55;
  font-weight:800;
  font-size:13px;
  opacity:0;
  transform:translate(-50%,18px);
  pointer-events:none;
  transition:.22s ease
}
.cphs-export-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.cphs-export-toast.error{background:#b70d3e}

.cphs-share-modal{
  position:fixed;
  inset:0;
  z-index:2800;
  display:grid;
  place-items:center;
  padding:22px
}
.cphs-share-modal.hidden{display:none!important}
.cphs-share-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:#17052fcc;
  backdrop-filter:blur(6px)
}
.cphs-share-dialog{
  position:relative;
  width:min(680px,100%);
  padding:23px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 28px 80px #0007
}
.cphs-share-dialog header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  margin-bottom:10px
}
.cphs-share-dialog header span{
  color:#d7195b;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em
}
.cphs-share-dialog h3{margin:4px 0 0;color:#32106f;font-size:22px}
.cphs-share-dialog header button{
  width:42px;height:42px;border:0;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;color:#32106f;background:#eee7f7
}
.cphs-share-dialog>p{color:#675c72;line-height:1.45}
.cphs-share-channels{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  margin:17px 0
}
.cphs-share-channels a,.cphs-share-channels button{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:13px;
  border-radius:15px;
  border:1px solid #d8cbe6;
  background:#faf8fd;
  color:#32106f;
  text-decoration:none;
  font-weight:900;
  cursor:pointer
}
.cphs-share-channels a:first-child{background:#168b52;color:#fff;border-color:#168b52}
.cphs-share-channels a:nth-child(3){background:#5b4bb7;color:#fff;border-color:#5b4bb7}
.cphs-share-channels svg{width:21px}
.cphs-share-dialog>small{display:block;color:#7c7087;overflow-wrap:anywhere}
body.modal-open{overflow:hidden}

@media(max-width:900px){
  .cphs-export-panel{grid-template-columns:1fr}
}
@media(max-width:680px){
  .cphs-export-actions{grid-template-columns:1fr}
  .cphs-export-button{min-height:62px}
  .cphs-share-modal{padding:0;place-items:end center}
  .cphs-share-dialog{
    width:100%;
    max-height:92vh;
    overflow:auto;
    border-radius:24px 24px 0 0
  }
  .cphs-share-channels{grid-template-columns:1fr}
}


/* ===================================================================
   ENTERPRISE 71.0 · FILAS 3D REALES EN PANTALLA Y DESCARGA
   =================================================================== */

.v71-depth-list{
  gap:15px!important;
  padding:0 12px 12px 0!important;
  overflow:visible!important
}
.v71-depth-card{
  position:relative!important;
  isolation:isolate;
  overflow:visible!important;
  z-index:1;
  background:linear-gradient(145deg,#fff 0%,#fdfbff 52%,#f3ebfb 100%)!important;
  border-color:#d7c5e8!important;
  box-shadow:
    0 12px 22px rgba(50,16,111,.14),
    inset 0 2px 3px rgba(255,255,255,.95)!important
}
.v71-depth-card>*:not(.v71-row-depth):not(.v71-row-highlight){
  position:relative;
  z-index:2
}
.v71-row-depth{
  position:absolute!important;
  inset:8px -9px -9px 9px;
  display:block;
  border-radius:18px;
  background:linear-gradient(145deg,#ded0ee 0%,#c4a9df 58%,#9b72c4 100%);
  border:1px solid rgba(92,32,162,.18);
  z-index:-1;
  pointer-events:none
}
.v71-row-highlight{
  position:absolute!important;
  left:17px;
  right:70px;
  top:7px;
  height:3px;
  display:block;
  border-radius:99px;
  background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,0));
  z-index:1;
  pointer-events:none
}
.v71-number-gloss{
  position:absolute!important;
  left:8px;
  right:8px;
  top:5px;
  height:8px;
  border-radius:99px;
  background:linear-gradient(90deg,rgba(255,255,255,.55),rgba(255,255,255,.04));
  pointer-events:none
}
.v71-depth-card .risk-number-3d{
  position:relative;
  overflow:visible;
  box-shadow:
    inset 0 4px 7px rgba(255,255,255,.42),
    inset 0 -8px 13px rgba(30,2,72,.35),
    0 7px 0 #32106f,
    0 12px 18px rgba(50,16,111,.28)!important
}
.v71-icon-depth{
  background:linear-gradient(145deg,#fff,#e9ddf5)!important;
  border:1px solid #d4c1e6!important;
  box-shadow:
    inset 0 3px 5px rgba(255,255,255,.95),
    0 6px 0 #c5addd,
    0 10px 14px rgba(50,16,111,.15)!important
}

/* La captura necesita espacio real para conservar la extrusión. */
.v71-export-render .v68-tip-list{
  padding-right:18px!important;
  padding-bottom:18px!important
}
.v71-export-render .v71-depth-card{
  margin-bottom:3px!important
}
.v71-export-render .risk-poster-main,
.v71-export-render .risk-poster-body{
  overflow:visible!important
}

@media(max-width:650px){
  .v71-depth-list{padding-right:8px!important}
  .v71-row-depth{inset:7px -6px -7px 7px}
}


/* ===================================================================
   ENTERPRISE 72.0 · 3D BLANCO + PROFUNDIDAD LILA SUAVE
   =================================================================== */

.v71-depth-card{
  background:linear-gradient(145deg,#fff 0%,#fff 62%,#faf7fd 100%)!important;
  border-color:#d9cce6!important;
  box-shadow:
    0 10px 18px rgba(50,16,111,.11),
    inset 0 2px 3px rgba(255,255,255,.98)!important
}
.v71-row-depth{
  background:linear-gradient(145deg,#eee6f6 0%,#dfd0ed 58%,#c9b2df 100%)!important;
  border-color:rgba(103,55,148,.15)!important;
  box-shadow:0 7px 13px rgba(50,16,111,.09)!important
}
.v71-icon-depth{
  background:linear-gradient(145deg,#fff,#f0e9f7)!important;
  border-color:#d6c6e4!important;
  box-shadow:
    inset 0 3px 5px rgba(255,255,255,.98),
    0 5px 0 #d6c4e5,
    0 9px 13px rgba(50,16,111,.12)!important
}
.v72-export-render .v71-depth-card{
  background:linear-gradient(145deg,#fff 0%,#fff 62%,#faf7fd 100%)!important
}
.v72-export-render .v71-row-depth{
  background:linear-gradient(145deg,#eee6f6 0%,#dfd0ed 58%,#c9b2df 100%)!important
}


/* Enterprise 73.0 · Motor Preventivo V3 */
.preventive-v3-card{margin:18px 0;padding:20px;border:1px solid rgba(87,42,145,.18);border-radius:22px;background:linear-gradient(145deg,#fff 0%,#faf7ff 62%,#f3edff 100%);box-shadow:0 14px 34px rgba(48,21,86,.08)}
.preventive-v3-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.preventive-v3-head h3{margin:3px 0 5px}.preventive-v3-head p{margin:0;color:#6e6877}.preventive-v3-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#eaf8ef;color:#16733a;font-weight:800;white-space:nowrap}.preventive-v3-status svg{width:18px}
.preventive-v3-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.preventive-v3-grid>div{min-height:76px;padding:13px;border-radius:15px;background:#fff;border:1px solid rgba(82,44,135,.13)}.preventive-v3-grid small{display:block;color:#8a8193;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}.preventive-v3-grid strong{display:block;color:#302342;font-size:.91rem;line-height:1.25}
.preventive-v3-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.preventive-v3-actions button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px;border:1px solid rgba(82,44,135,.16);border-radius:15px;background:#fff;color:#332644;cursor:pointer}.preventive-v3-actions button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(58,26,103,.1)}.preventive-v3-actions svg{width:21px;color:#6c35a5;flex:0 0 auto}.preventive-v3-actions b,.preventive-v3-actions small{display:block}.preventive-v3-actions small{margin-top:2px;color:#847b8e;font-size:.69rem}
.preventive-v3-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(82,44,135,.18)}.preventive-v3-insights>div{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:12px;background:rgba(105,55,166,.06)}.preventive-v3-insights span{color:#756d7d}.preventive-v3-insights strong{color:#4a2678;text-align:right}
@media(max-width:980px){.preventive-v3-grid,.preventive-v3-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.preventive-v3-head{flex-direction:column}.preventive-v3-grid,.preventive-v3-actions,.preventive-v3-insights{grid-template-columns:1fr}}


/* Enterprise 73.2 · trazabilidad visible en informes y fichas */
.risk-document-trace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:10px 18px 12px;padding:11px 13px;border:1px solid #d9cfee;border-radius:12px;background:linear-gradient(135deg,#faf8fd,#f3eef9);color:#2b174f}
.risk-document-trace>div{min-width:0}
.risk-document-trace small{display:block;font-size:7px;line-height:1.15;letter-spacing:.08em;color:#756887;font-weight:900}
.risk-document-trace strong{display:block;margin-top:3px;font-size:9px;line-height:1.2;overflow-wrap:anywhere}
.diffusion-context-row label:has(#diffusionResponsible),.diffusion-context-row label:has(#diffusionLegalEntity){border-top:2px solid #ebe3f6;padding-top:8px}
@media(max-width:760px){.risk-document-trace{grid-template-columns:1fr}.diffusion-context-row{grid-template-columns:1fr!important}}
@media print{.risk-document-trace{-webkit-print-color-adjust:exact;print-color-adjust:exact;break-inside:avoid}}

/* Enterprise 73.4: bloque inferior de trazabilidad con mayor separación visual. */
.risk-document-trace{margin:16px 18px 14px!important;padding:14px 15px 15px!important;border-radius:14px!important}
.risk-document-trace-title{margin-bottom:10px}
.risk-document-trace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.risk-document-trace-grid>div{min-width:0;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.78)}
@media(max-width:760px){.risk-document-trace-grid{grid-template-columns:1fr}}
@media print{.risk-document-trace{break-inside:avoid;margin-top:14px!important;margin-bottom:12px!important}}


/* Enterprise 73.4: mayor legibilidad y clasificación técnica */
.risk-document-trace{margin-top:18px!important}
.risk-document-trace-grid strong{font-weight:850!important}
.preventive-v3-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.preventive-v3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.preventive-v3-grid{grid-template-columns:1fr}}

/* Enterprise 74.1 · Gestión posterior separada del árbol causal */
.post-event-management{margin-top:16px;padding:14px;border:1px solid #a8d7c0;background:#f3fbf7;border-radius:14px}
.post-event-management h4{margin:0 0 10px;color:#176b4c;font-size:14px}
.post-event-management .result-item{margin:0;background:#fff;border-left:4px solid #20a568}

/* ===================================================================
   ENTERPRISE 75.0 · MOBILE FIRST + IPAD ADAPTIVE EXPERIENCE
   =================================================================== */
:root{--mobile-bottom-nav:76px}
.mobile-command-center{display:none}
.mobile-device-label{display:none}

@media (max-width: 1100px){
  html,body{max-width:100%;overflow-x:hidden}
  body{padding-bottom:calc(var(--mobile-bottom-nav) + env(safe-area-inset-bottom))}
  .content,.main,.view,.card,.panel{min-width:0;max-width:100%}
  .topbar{padding:12px 14px;gap:10px;position:sticky;top:0;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
  .topbar h1{font-size:clamp(1rem,3vw,1.35rem);line-height:1.1}
  .topbar p{font-size:.72rem}
  .enterprise-badge{font-size:.64rem!important}
  .view{padding:14px!important}
  .view>header,.module-head,.view-header{align-items:flex-start!important;gap:10px!important}
  .form-grid,.specialized-grid,.module-process,.dashboard-grid,.indicator-grid,.kpis,.actions{grid-template-columns:1fr 1fr!important}
  .actions button,.new-actions button{min-height:48px}
  .mobile-command-center{display:block;margin:0 0 16px;padding:16px;border-radius:22px;background:linear-gradient(145deg,#32145f,#612489);color:#fff;box-shadow:0 14px 34px rgba(50,20,95,.24)}
  .mobile-command-center header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
  .mobile-command-center small{display:block;opacity:.72;font-weight:800;letter-spacing:.08em}
  .mobile-command-center h2{font-size:1.25rem;margin:3px 0 0}
  .mobile-device-label{display:inline-flex;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.13);font-size:.68rem;font-weight:900}
  .mobile-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  .mobile-command-grid button{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.11);color:#fff;border-radius:16px;min-height:78px;padding:10px 6px;display:grid;place-items:center;gap:5px;text-align:center;font-weight:800}
  .mobile-command-grid button svg{width:23px;height:23px}
  .mobile-command-grid button span{font-size:.7rem;line-height:1.15}
  .mobile-nav{height:var(--mobile-bottom-nav);display:grid!important;grid-template-columns:1fr 1fr 72px 1fr 1fr!important;padding:5px 6px env(safe-area-inset-bottom);box-shadow:0 -10px 28px rgba(34,13,67,.12)}
  .mobile-nav-item{border-radius:14px!important}
  .mobile-nav-item span{font-size:.64rem!important;font-weight:800}
  .mobile-nav-mic{width:64px!important;height:64px!important;margin-top:-24px!important;border:5px solid white!important;box-shadow:0 10px 23px rgba(60,20,100,.3)!important}
  .mobile-more-panel{max-height:88vh;overflow:auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .mobile-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .mobile-more-grid button{min-height:92px!important;padding:12px 8px!important}
  .mobile-more-grid button span{font-size:.72rem;line-height:1.15}
  /* Material gráfico: mantener proporción real, nunca estirar */
  .creative-preview-shell,.diffusion-poster-preview,.risk-visual-poster{width:100%!important;max-width:760px!important;height:auto!important;transform:none!important;margin-inline:auto!important}
  .risk-visual-poster,.diffusion-poster-preview{aspect-ratio:auto!important}
  .creative-preview-shell img,.risk-visual-poster img,.diffusion-poster-preview img{max-width:100%!important;height:auto!important;object-fit:contain!important}
  .diffusion-preview-area,.creative-preview-shell{overflow:auto!important;-webkit-overflow-scrolling:touch}
  .orientation-landscape{max-width:100%!important}
  .orientation-landscape .preview-visual-zone{grid-template-columns:1fr!important}
  .preview-title-zone h2{font-size:clamp(1.35rem,5vw,2rem)!important;overflow-wrap:anywhere}
  .preview-tip,.v71-depth-card{min-width:0!important}
  /* Informes y documentos en pantalla móvil */
  .report-sheet,.document-preview,.investigation-document,.executive-report{width:100%!important;max-width:100%!important;min-width:0!important;overflow-wrap:anywhere}
  table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  canvas{max-width:100%!important;height:auto!important}
  .chart-wrap,.indicator-chart{min-height:260px!important;overflow:hidden}
}

@media (max-width: 680px){
  .view{padding:10px!important}
  .topbar{padding:10px 11px}
  .topbar .status,.topbar .user-meta{display:none!important}
  .form-grid,.specialized-grid,.module-process,.dashboard-grid,.indicator-grid,.kpis,.actions,.new-actions{grid-template-columns:1fr!important}
  .mobile-command-center{border-radius:18px;padding:14px}
  .mobile-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-command-grid button{min-height:72px}
  .mobile-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .card,.module-card,.specialized-card{border-radius:17px!important;padding:14px!important}
  .diffusion-poster-preview>header{height:auto!important;min-height:58px;padding:12px 14px!important}
  .diffusion-poster-preview>footer{padding:10px 12px!important}
  .preview-title-zone,.preview-visual-zone,.preview-tips-zone,.risk-poster-main,.risk-poster-body{padding-left:13px!important;padding-right:13px!important}
  .preview-visual-zone{grid-template-columns:1fr!important}
  .preview-tip{grid-template-columns:44px 1fr!important;padding:11px!important}
  .risk-visual-poster{border-radius:14px!important;box-shadow:0 12px 30px rgba(44,17,92,.13)!important}
  .v71-depth-list{padding-right:5px!important}
  /* Árbol en teléfono como secuencia vertical */
  .cause-tree,.tree-grid,.investigation-tree{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;overflow:visible!important}
  .cause-tree [class*="arrow"],.investigation-tree [class*="arrow"]{transform:rotate(90deg)}
  /* Ficha de personas compacta */
  .people-results,.people-grid{grid-template-columns:1fr!important}
  .people-card{padding:13px!important}
  .people-card .actions{display:flex!important;overflow-x:auto;gap:7px}
  .people-card .actions button{white-space:nowrap;min-width:max-content}
}

/* iPad vertical/horizontal: paneles amplios sin parecer teléfono agrandado */
@media (min-width: 681px) and (max-width: 1100px){
  .view{padding:20px!important}
  .mobile-command-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mobile-command-grid button{min-height:88px}
  #investigation .investigation-layout,#people .people-layout,#diffusion .diffusion-workspace{display:grid!important;grid-template-columns:minmax(280px,.82fr) minmax(0,1.45fr)!important;gap:16px!important;align-items:start}
  .sticky-panel{position:sticky;top:82px}
  .mobile-more-panel{max-width:720px;margin-inline:auto;border-radius:28px 28px 0 0}
}

@media print{
  .mobile-command-center{display:none!important}
  .risk-visual-poster,.diffusion-poster-preview{width:100%!important;max-width:none!important;height:auto!important;transform:none!important}
}

/* Enterprise 75.1 · navegación táctil móvil e iPad */
.mobile-command-grid button,.mobile-more-grid button,.mobile-nav-item{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
  position:relative;
  z-index:1;
}
.mobile-command-grid button:active,.mobile-command-grid button.is-pressed,
.mobile-more-grid button:active,.mobile-more-grid button.is-pressed,
.mobile-nav-item:active,.mobile-nav-item.is-pressed{
  transform:scale(.97);
  filter:brightness(1.08);
}
@media(max-width:1100px){
  .view:not(.active){display:none!important}
  #new>.mobile-command-center{display:block}
  .mobile-command-center{pointer-events:auto}
  .mobile-command-grid{pointer-events:auto}
  .mobile-command-grid button{pointer-events:auto}
}

/* ===================================================================
   ENTERPRISE 75.5 · DIFUSIÓN MULTIFORMATO MOBILE FIRST
   La vista móvil es una composición propia 4:5 / 9:16, no un A4 reducido.
   =================================================================== */
.v755-output-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:13px
}
.v755-output-card{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid #ded3e9;
  border-radius:16px;
  background:linear-gradient(145deg,#fff,#faf8fd);
  color:#35145f;
  text-align:left;
  cursor:pointer;
  touch-action:manipulation;
  transition:.18s ease
}
.v755-output-card:hover,.v755-output-card.active{
  border-color:#6d2bb2;
  background:linear-gradient(145deg,#fff,#eee5fa);
  box-shadow:0 10px 22px rgba(50,16,111,.12);
  transform:translateY(-1px)
}
.v755-output-card>svg{width:24px;height:24px;flex:0 0 auto;color:#6c2daf}
.v755-output-card span{display:grid;gap:3px;min-width:0}
.v755-output-card strong{font-size:12px;line-height:1.15}
.v755-output-card small{font-size:9px;line-height:1.2;color:#756a80}

.creative-preview-shell.output-story .risk-visual-poster{max-width:650px!important}
.creative-preview-shell.output-square .visual-reference-caption,
.creative-preview-shell.output-story .visual-reference-caption{display:none!important}

/* El contenedor externo conserva la proporción real de la pieza. */
.creative-preview-shell.output-square .risk-visual-poster{
  width:min(100%,720px)!important;
  max-width:720px!important;
  aspect-ratio:4/5!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  container-type:inline-size;
  background:#fff
}
.creative-preview-shell.output-story .risk-visual-poster{
  width:min(100%,720px)!important;
  max-width:720px!important;
  aspect-ratio:9/16!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  container-type:inline-size;
  background:#fff
}
.v755-mobile-poster{
  width:100%;height:100%;
  display:grid;
  grid-template-rows:8.5% 14% 47% 9% 12% 9.5%;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#faf7fd 100%);
  color:#271544;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.v755-mobile-head{
  position:relative;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.6cqw 3.3cqw;
  color:#fff;
  background:linear-gradient(110deg,#24084f,#4d168f 62%,#6d2bb7);
  border-top:.85cqw solid #ef2057;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)
}
.v755-mobile-head:after{
  content:"";position:absolute;right:0;bottom:0;width:31%;height:.62cqw;
  background:linear-gradient(90deg,#e82154 0 58%,#f5c126 58% 78%,#9d4db6 78%)
}
.v755-wordmark{font-size:clamp(15px,3cqw,28px);line-height:.9;text-shadow:0 2px 4px rgba(0,0,0,.28)}
.v755-wordmark strong{display:block;font-size:1.12em}
.v755-pr{
  width:6.7cqw;height:6.7cqw;min-width:34px;min-height:34px;
  border-radius:50%;display:grid;place-items:center;
  font-size:clamp(11px,2.15cqw,20px);font-weight:900;
  border:.25cqw solid rgba(255,255,255,.9);
  background:linear-gradient(145deg,rgba(255,255,255,.42),rgba(70,21,139,.72));
  box-shadow:inset 0 2px 6px rgba(255,255,255,.5),0 7px 16px rgba(25,4,63,.32)
}
.v755-mobile-title{padding:2.1cqw 3.3cqw 1.5cqw;overflow:hidden}
.v755-mobile-title small{display:block;color:#d71962;font-weight:950;letter-spacing:.1em;font-size:clamp(8px,1.35cqw,13px)}
.v755-mobile-title h2{
  margin:.65cqw 0 .55cqw;
  color:#3a126d;
  font-size:clamp(20px,4.45cqw,43px);
  line-height:1.02;letter-spacing:-.035em;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.v755-mobile-title p{
  margin:0;color:#665b72;font-weight:650;
  font-size:clamp(10px,1.75cqw,17px);line-height:1.25;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.v755-mobile-main{
  min-height:0;
  display:grid;grid-template-columns:39% 61%;gap:1.65cqw;
  padding:0 3.2cqw 1.4cqw
}
.v755-mobile-visual{
  min-width:0;min-height:0;overflow:hidden;
  display:grid;grid-template-rows:minmax(0,1fr) auto;
  align-items:center;
  padding:1.4cqw;
  border:1px solid #ded1eb;border-radius:2.5cqw;
  background:linear-gradient(145deg,#fff,#f0e8f8);
  box-shadow:inset 0 1px 0 #fff,0 8px 18px rgba(50,16,111,.08)
}
.v755-mobile-visual .universal-symbol-scene{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
.v755-risk-label{
  margin-top:.5cqw;padding:.85cqw 1.2cqw;border-radius:999px;
  background:linear-gradient(145deg,#6f31b5,#32106f);color:#fff;
  font-size:clamp(8px,1.2cqw,12px);font-weight:900;line-height:1.1;text-align:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.v755-mobile-keys{
  min-width:0;min-height:0;overflow:hidden;
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.75cqw
}
.v755-mobile-keys li{
  min-width:0;min-height:0;overflow:hidden;
  display:grid;grid-template-columns:5.4cqw minmax(0,1fr) 5cqw;align-items:center;gap:1cqw;
  padding:.8cqw 1.05cqw;
  border:1px solid #dfd3eb;border-radius:1.7cqw;
  background:linear-gradient(145deg,#fff,#fbf9fd);
  box-shadow:0 5px 11px rgba(50,16,111,.07)
}
.v755-mobile-keys li>b{
  width:4.8cqw;height:4.8cqw;min-width:25px;min-height:25px;
  display:grid;place-items:center;border-radius:1.45cqw;
  color:#fff;font-size:clamp(10px,1.8cqw,17px);font-weight:950;
  background:linear-gradient(145deg,#9a64e5,#5b1fa2 53%,#2d075f);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.35),0 4px 7px rgba(50,16,111,.24)
}
.v755-mobile-keys li>span{
  min-width:0;
  font-size:clamp(9.5px,1.48cqw,14px);line-height:1.18;font-weight:820;color:#2c1a49;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.v755-mobile-keys .universal-tip-icon{
  width:4.7cqw!important;height:4.7cqw!important;min-width:24px;min-height:24px;
  border-radius:1.3cqw!important;box-shadow:none!important
}
.v755-mobile-keys .universal-tip-icon svg{width:3.8cqw!important;height:3.8cqw!important;min-width:19px;min-height:19px}
.v755-mobile-alerts{
  display:grid;grid-template-columns:1fr 1fr;gap:1.5cqw;
  padding:.8cqw 3.2cqw 1.25cqw;min-height:0
}
.v755-mobile-alerts article{
  min-width:0;overflow:hidden;
  display:grid;grid-template-columns:4.8cqw minmax(0,1fr);align-items:center;gap:1cqw;
  padding:1cqw 1.2cqw;border:1px solid #e0d5e9;border-radius:1.8cqw;background:#fff
}
.v755-mobile-alerts i{
  width:4.4cqw;height:4.4cqw;min-width:23px;min-height:23px;border-radius:1.25cqw;
  display:grid;place-items:center;font-style:normal;font-weight:950;font-size:clamp(12px,2.25cqw,21px);
  background:linear-gradient(145deg,#ffd84c,#dc9400);color:#432a00
}
.v755-mobile-alerts article:last-child i{background:linear-gradient(145deg,#77dea1,#168f57);color:#fff}
.v755-mobile-alerts span{min-width:0;display:grid;gap:.2cqw}
.v755-mobile-alerts strong{font-size:clamp(8.5px,1.35cqw,13px);color:#3d1c68}
.v755-mobile-alerts small{
  font-size:clamp(7.8px,1.15cqw,11px);line-height:1.15;color:#6d6375;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden
}
.v755-mobile-trace{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1cqw;
  margin:0 3.2cqw 1.25cqw;padding:1.2cqw;
  border:1px solid #ddd3e8;border-radius:1.8cqw;background:linear-gradient(135deg,#faf8fd,#f2edf8);
  min-height:0;overflow:hidden
}
.v755-mobile-trace div{min-width:0;padding:.65cqw .8cqw;border-radius:1cqw;background:rgba(255,255,255,.82);overflow:hidden}
.v755-mobile-trace small{display:block;font-size:clamp(6.5px,.9cqw,9px);font-weight:950;letter-spacing:.05em;color:#796d87;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v755-mobile-trace strong{display:block;margin-top:.25cqw;font-size:clamp(7.8px,1.12cqw,11px);line-height:1.15;color:#2f1954;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v755-mobile-foot{
  display:flex;align-items:center;justify-content:space-between;gap:2cqw;
  padding:1.2cqw 3.2cqw;color:#fff;background:linear-gradient(110deg,#250852,#4a1687);
  font-size:clamp(9px,1.4cqw,14px);font-weight:850
}
.v755-mobile-foot span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v755-mobile-foot strong{font-size:1.1em;white-space:nowrap}

/* Historia 9:16: más aire y lectura vertical, sin convertirla en una hoja infinita. */
.output-story .v755-mobile-poster{grid-template-rows:7% 12% 57% 8% 10% 6%}
.output-story .v755-mobile-main{grid-template-columns:1fr;grid-template-rows:35% 65%;gap:1.6cqw;padding-inline:4cqw}
.output-story .v755-mobile-visual{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;padding:1.7cqw}
.output-story .v755-mobile-visual .universal-symbol-scene{max-width:72%;margin:auto}
.output-story .v755-mobile-keys{gap:1cqw}
.output-story .v755-mobile-keys li{grid-template-columns:6cqw minmax(0,1fr) 5.5cqw;padding:1.25cqw 1.4cqw}
.output-story .v755-mobile-keys li>span{font-size:clamp(10px,1.65cqw,15px);-webkit-line-clamp:3}
.output-story .v755-mobile-trace{grid-template-columns:1fr 1fr;margin-inline:4cqw}
.output-story .v755-mobile-alerts{padding-inline:4cqw}

@media(max-width:900px){
  .v755-output-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .output-format-row{grid-template-columns:1fr!important}
  .v755-output-cards{grid-template-columns:1fr 1fr;gap:8px}
  .v755-output-card{min-height:66px;padding:9px}
  .v755-output-card strong{font-size:11px}
  .v755-output-card small{font-size:8px}
  .creative-preview-shell.output-square .risk-visual-poster,
  .creative-preview-shell.output-story .risk-visual-poster{border-radius:17px!important;box-shadow:0 12px 28px rgba(44,17,92,.16)!important}
}

/* ===================================================================
   ENTERPRISE 75.6 · WHATSAPP FULL-BLEED + PROFUNDIDAD 3D RESTAURADA
   =================================================================== */
.creative-preview-shell.output-square .risk-visual-poster,
.creative-preview-shell.output-story .risk-visual-poster{
  position:relative!important;display:block!important;padding:0!important;
  overflow:hidden!important;background:#fff!important;isolation:isolate
}
.v756-mobile-poster{
  width:100%;height:100%;min-width:0;min-height:0;display:grid;
  grid-template-rows:7.5% 14% 50% 9% 11% 8.5%;overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fff 73%,#faf7fd 100%);
  color:#271544;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.v756-mobile-poster .v755-mobile-head{min-height:0;padding:1.25cqw 3.1cqw}
.v756-mobile-poster .v755-wordmark{font-size:clamp(14px,2.55cqw,27px)}
.v756-mobile-poster .v755-pr{width:6.1cqw;height:6.1cqw;min-width:32px;min-height:32px;font-size:clamp(10px,1.9cqw,19px)}
.v756-mobile-poster .v755-mobile-title{min-height:0;padding:1.45cqw 3.25cqw .9cqw;overflow:hidden}
.v756-mobile-poster .v755-mobile-title small{font-size:clamp(7.5px,1.14cqw,12px);line-height:1.05}
.v756-mobile-poster .v755-mobile-title h2{margin:.48cqw 0 .38cqw;font-size:clamp(18px,3.45cqw,37px);line-height:.98;letter-spacing:-.04em;-webkit-line-clamp:2}
.v756-mobile-poster .v755-mobile-title p{font-size:clamp(8.5px,1.38cqw,14px);line-height:1.14}
.v756-mobile-poster .v755-mobile-main{position:relative;min-height:0;display:grid;grid-template-columns:38% 62%;gap:1.45cqw;padding:0 3.05cqw 1.05cqw;overflow:hidden}
.v756-mobile-poster .v755-mobile-visual{min-height:0;padding:1.15cqw;border-radius:2.25cqw;border:1px solid #d9c9e8;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.98),rgba(255,255,255,.35) 34%,transparent 35%),linear-gradient(145deg,#fff,#eee4f8);box-shadow:inset 0 .35cqw .65cqw rgba(255,255,255,.95),inset 0 -.45cqw .8cqw rgba(80,26,139,.08),0 1.15cqw 2.35cqw rgba(50,16,111,.12)}
.v756-mobile-poster .v755-mobile-visual .universal-symbol-scene{width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;filter:drop-shadow(0 .75cqw .65cqw rgba(50,16,111,.16))}
.v756-mobile-poster .v755-risk-label{margin-top:.35cqw;padding:.7cqw 1cqw;font-size:clamp(7.5px,1.04cqw,11px);box-shadow:inset 0 .2cqw .35cqw rgba(255,255,255,.38),inset 0 -.35cqw .55cqw rgba(25,0,67,.25),0 .55cqw 1.05cqw rgba(50,16,111,.22)}
.v756-mobile-keys{position:relative;min-width:0;min-height:0;overflow:hidden;list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.7cqw}
.v756-mobile-keys::before{content:"";position:absolute;z-index:0;left:3.42cqw;top:7%;bottom:7%;width:1.12cqw;min-width:6px;border-radius:999px;background:linear-gradient(90deg,#250653 0%,#6d29b8 22%,#c7a5f3 48%,#6c28b4 72%,#260654 100%);box-shadow:inset .18cqw 0 .24cqw rgba(255,255,255,.72),inset -.22cqw 0 .28cqw rgba(27,0,67,.55),0 .45cqw .95cqw rgba(50,16,111,.28)}
.v756-mobile-keys li{position:relative;z-index:1;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-columns:5.25cqw minmax(0,1fr) 4.65cqw;align-items:center;gap:.85cqw;padding:.65cqw .85cqw;border:1px solid #d7c8e7;border-radius:1.55cqw;background:linear-gradient(155deg,#fff 0%,#fff 48%,#f0e6f8 100%);box-shadow:inset 0 .26cqw .38cqw rgba(255,255,255,.92),inset 0 -.38cqw .62cqw rgba(74,24,131,.08),0 .62cqw 1.15cqw rgba(50,16,111,.13)}
.v756-mobile-keys li::after{content:"";position:absolute;left:10%;right:5%;bottom:0;height:.3cqw;min-height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#8d52cf 34%,#d8c2f3 62%,transparent);opacity:.62}
.v756-mobile-keys li>b{position:relative;z-index:2;width:4.65cqw;height:4.65cqw;min-width:25px;min-height:25px;display:grid;place-items:center;border-radius:1.35cqw;color:#fff;font-size:clamp(9.5px,1.55cqw,16px);font-weight:950;background:linear-gradient(145deg,#b078ee 0%,#7b36c8 34%,#4d128f 67%,#250455 100%);border:.12cqw solid rgba(255,255,255,.52);box-shadow:inset 0 .32cqw .55cqw rgba(255,255,255,.44),inset 0 -.48cqw .72cqw rgba(25,0,67,.42),0 .48cqw .86cqw rgba(50,16,111,.34);text-shadow:0 .18cqw .28cqw rgba(0,0,0,.34)}
.v756-mobile-keys li>span{min-width:0;font-size:clamp(8.4px,1.18cqw,12.7px);line-height:1.12;font-weight:840;color:#2c1a49;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v756-mobile-keys .universal-tip-icon{width:4.35cqw!important;height:4.35cqw!important;min-width:23px;min-height:23px;border-radius:1.18cqw!important;background:linear-gradient(145deg,#fff,#e9def5)!important;border:1px solid #d4c4e5!important;box-shadow:inset 0 .2cqw .36cqw rgba(255,255,255,.94),inset 0 -.28cqw .42cqw rgba(73,22,127,.1),0 .36cqw .72cqw rgba(50,16,111,.14)!important}
.v756-mobile-keys .universal-tip-icon svg{width:3.35cqw!important;height:3.35cqw!important;min-width:18px;min-height:18px}
.v756-mobile-poster .v755-mobile-alerts{min-height:0;padding:.6cqw 3.05cqw .9cqw;gap:1.25cqw}
.v756-mobile-poster .v755-mobile-alerts article{min-height:0;padding:.75cqw .9cqw;grid-template-columns:4.2cqw minmax(0,1fr);gap:.75cqw;border-radius:1.45cqw;box-shadow:inset 0 .2cqw .35cqw #fff,0 .55cqw 1cqw rgba(50,16,111,.08)}
.v756-mobile-poster .v755-mobile-alerts i{width:3.85cqw;height:3.85cqw;min-width:21px;min-height:21px;border-radius:1.05cqw;font-size:clamp(10px,1.82cqw,18px);box-shadow:inset 0 .2cqw .35cqw rgba(255,255,255,.58),0 .42cqw .8cqw rgba(91,57,0,.18)}
.v756-mobile-poster .v755-mobile-alerts strong{font-size:clamp(7.5px,1.08cqw,11.5px)}
.v756-mobile-poster .v755-mobile-alerts small{font-size:clamp(6.9px,.92cqw,10px);line-height:1.1}
.v756-mobile-poster .v755-mobile-trace{min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.65cqw;margin:0 3.05cqw .85cqw;padding:.75cqw;border-radius:1.45cqw;overflow:hidden}
.v756-mobile-poster .v755-mobile-trace div{min-height:0;padding:.48cqw .7cqw;border-radius:.9cqw;display:flex;flex-direction:column;justify-content:center}
.v756-mobile-poster .v755-mobile-trace small{font-size:clamp(6.2px,.78cqw,8.3px);line-height:1}
.v756-mobile-poster .v755-mobile-trace strong{margin-top:.25cqw;font-size:clamp(7.5px,1cqw,10.6px);line-height:1.05}
.v756-mobile-poster .v755-mobile-foot{min-height:0;padding:1cqw 3.05cqw;font-size:clamp(8.5px,1.18cqw,12.8px);box-shadow:inset 0 .22cqw .38cqw rgba(255,255,255,.2)}
.output-story .v756-mobile-poster{grid-template-rows:6.5% 11.5% 59% 7.5% 9.5% 6%}
.output-story .v756-mobile-poster .v755-mobile-title h2{font-size:clamp(19px,3.75cqw,40px)}
.output-story .v756-mobile-poster .v755-mobile-main{grid-template-columns:1fr;grid-template-rows:34% 66%;gap:1.2cqw;padding-inline:4cqw}
.output-story .v756-mobile-poster .v755-mobile-visual{padding:1.25cqw}
.output-story .v756-mobile-poster .v755-mobile-visual .universal-symbol-scene{max-width:68%!important;margin:auto}
.output-story .v756-mobile-keys{gap:.8cqw}
.output-story .v756-mobile-keys::before{left:4.02cqw}
.output-story .v756-mobile-keys li{grid-template-columns:6.2cqw minmax(0,1fr) 5.2cqw;padding:.9cqw 1.15cqw}
.output-story .v756-mobile-keys li>b{width:5.2cqw;height:5.2cqw}
.output-story .v756-mobile-keys li>span{font-size:clamp(9px,1.35cqw,14px);-webkit-line-clamp:3}
.output-story .v756-mobile-poster .v755-mobile-alerts,.output-story .v756-mobile-poster .v755-mobile-trace{margin-inline:4cqw}
.output-story .v756-mobile-poster .v755-mobile-alerts{padding-inline:0}
.v756-export-stage{position:fixed!important;left:-20000px!important;top:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;pointer-events:none!important;z-index:-9999!important}
.v756-export-poster{display:block!important;max-width:none!important;min-width:0!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;background:#fff!important;container-type:inline-size!important}
.v756-export-poster .v756-mobile-poster{width:100%!important;height:100%!important}
@media(max-width:560px){.creative-preview-shell.output-square .risk-visual-poster,.creative-preview-shell.output-story .risk-visual-poster{border-radius:16px!important}.v756-mobile-poster .v755-mobile-title h2{font-size:clamp(17px,3.35cqw,34px)}}

/* ===================================================================
   ENTERPRISE 75.7 · COMPOSICIÓN MÓVIL LEGIBLE Y SIN SUPERPOSICIONES
   - WhatsApp 4:5 y Story 9:16 usan una columna real.
   - La ilustración queda horizontal y las cinco claves ocupan todo el ancho.
   - Alertas, trazabilidad y pie tienen filas reservadas; nada se monta encima.
   - Se mantienen conectores y números 3D.
   =================================================================== */
.v757-mobile-poster{
  width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;
  display:grid!important;
  grid-template-rows:7% 14% 55% 8% 10% 6%!important;
  background:linear-gradient(180deg,#fff 0%,#fff 73%,#faf7fd 100%);
  color:#271544;
}
.v757-mobile-poster>*{min-width:0;min-height:0;box-sizing:border-box}
.v757-mobile-poster .v755-mobile-title{
  padding:1.25cqw 3.25cqw .75cqw!important;
  overflow:hidden!important;
}
.v757-mobile-poster .v755-mobile-title h2{
  margin:.42cqw 0 .28cqw!important;
  font-size:clamp(18px,3.15cqw,34px)!important;
  line-height:1.01!important;
  letter-spacing:-.035em!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}
.v757-mobile-poster .v755-mobile-title p{
  font-size:clamp(8.5px,1.2cqw,13px)!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.v757-mobile-poster .v755-mobile-main{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:38% 62%!important;
  gap:1.05cqw!important;
  padding:0 3.05cqw .8cqw!important;
  overflow:hidden!important;
}
.v757-mobile-poster .v755-mobile-visual{
  width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;
  padding:.75cqw 1.1cqw!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-items:center!important;
  overflow:hidden!important;
  border-radius:2cqw!important;
}
.v757-mobile-poster .v755-mobile-visual .universal-symbol-scene{
  display:block!important;
  width:auto!important;height:100%!important;
  max-width:88%!important;max-height:100%!important;
  min-width:0!important;min-height:0!important;
  margin:auto!important;
  overflow:visible!important;
}
.v757-mobile-poster .v755-risk-label{
  width:min(72%,520px)!important;
  margin:.2cqw auto 0!important;
  padding:.5cqw 1cqw!important;
  font-size:clamp(7px,.98cqw,10.5px)!important;
}
.v757-mobile-keys{
  position:relative!important;
  min-width:0!important;min-height:0!important;
  width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;
  list-style:none!important;
  display:grid!important;
  grid-template-rows:repeat(5,minmax(0,1fr))!important;
  gap:.52cqw!important;
  overflow:hidden!important;
}
.v757-mobile-keys::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  left:2.42cqw!important;
  top:4%!important;bottom:4%!important;
  width:.82cqw!important;min-width:5px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#250653 0%,#7130bd 24%,#d6bcf5 49%,#6c28b4 74%,#260654 100%)!important;
  box-shadow:inset .16cqw 0 .22cqw rgba(255,255,255,.78),inset -.18cqw 0 .25cqw rgba(27,0,67,.58),0 .38cqw .78cqw rgba(50,16,111,.28)!important;
}
.v757-mobile-keys li{
  position:relative!important;z-index:1!important;
  min-width:0!important;min-height:0!important;
  display:grid!important;
  grid-template-columns:5.15cqw minmax(0,1fr) 4.6cqw!important;
  align-items:center!important;
  gap:.8cqw!important;
  padding:.55cqw .9cqw!important;
  overflow:hidden!important;
  border-radius:1.4cqw!important;
}
.v757-mobile-keys li>b{
  width:4.5cqw!important;height:4.5cqw!important;
  min-width:26px!important;min-height:26px!important;
  border-radius:1.2cqw!important;
  font-size:clamp(10px,1.42cqw,15px)!important;
}
.v757-mobile-keys li>span{
  min-width:0!important;
  font-size:clamp(9.5px,1.34cqw,14.5px)!important;
  line-height:1.1!important;
  font-weight:850!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
.v757-mobile-keys .universal-tip-icon{
  width:4.05cqw!important;height:4.05cqw!important;
  min-width:23px!important;min-height:23px!important;
}
.v757-mobile-keys .universal-tip-icon svg{
  width:3.15cqw!important;height:3.15cqw!important;
  min-width:18px!important;min-height:18px!important;
}
.v757-mobile-poster .v755-mobile-alerts{
  min-width:0!important;min-height:0!important;
  margin:0!important;
  padding:.45cqw 3.05cqw .6cqw!important;
  gap:1cqw!important;
  overflow:hidden!important;
}
.v757-mobile-poster .v755-mobile-alerts article{
  min-height:0!important;
  padding:.55cqw .75cqw!important;
  grid-template-columns:3.8cqw minmax(0,1fr)!important;
  gap:.65cqw!important;
  border-radius:1.25cqw!important;
}
.v757-mobile-poster .v755-mobile-alerts i{
  width:3.45cqw!important;height:3.45cqw!important;
  min-width:21px!important;min-height:21px!important;
}
.v757-mobile-poster .v755-mobile-alerts strong{font-size:clamp(7.5px,1cqw,11px)!important}
.v757-mobile-poster .v755-mobile-alerts small{
  font-size:clamp(6.8px,.86cqw,9.5px)!important;
  line-height:1.08!important;
  -webkit-line-clamp:2!important;
}
.v757-mobile-poster .v755-mobile-trace{
  min-width:0!important;min-height:0!important;
  margin:0 3.05cqw .55cqw!important;
  padding:.6cqw!important;
  gap:.48cqw!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:1fr 1fr!important;
  overflow:hidden!important;
}
.v757-mobile-poster .v755-mobile-trace div{min-height:0!important;padding:.4cqw .65cqw!important}
.v757-mobile-poster .v755-mobile-trace small{font-size:clamp(6px,.72cqw,8px)!important}
.v757-mobile-poster .v755-mobile-trace strong{font-size:clamp(7.2px,.92cqw,10px)!important;line-height:1.04!important}
.v757-mobile-poster .v755-mobile-foot{
  min-width:0!important;min-height:0!important;
  padding:.65cqw 3.05cqw!important;
  font-size:clamp(8.5px,1.05cqw,12px)!important;
  overflow:hidden!important;
}

/* Historia: misma jerarquía, con más espacio para ilustración y texto. */
.output-story .v757-mobile-poster{
  grid-template-rows:6% 12% 58% 8% 10% 6%!important;
}
.output-story .v757-mobile-poster .v755-mobile-main{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:37% 63%!important;
  gap:1.15cqw!important;
  padding-inline:4cqw!important;
}
.output-story .v757-mobile-poster .v755-mobile-title h2{
  font-size:clamp(19px,3.5cqw,38px)!important;
  -webkit-line-clamp:3!important;
}
.output-story .v757-mobile-poster .v755-mobile-visual .universal-symbol-scene{max-width:80%!important}
.output-story .v757-mobile-keys{gap:.62cqw!important}
.output-story .v757-mobile-keys li{
  grid-template-columns:5.8cqw minmax(0,1fr) 5cqw!important;
  padding:.72cqw 1.05cqw!important;
}
.output-story .v757-mobile-keys li>b{width:5cqw!important;height:5cqw!important}
.output-story .v757-mobile-keys li>span{
  font-size:clamp(10px,1.42cqw,15px)!important;
  -webkit-line-clamp:3!important;
}
.output-story .v757-mobile-keys::before{left:2.67cqw!important}
.output-story .v757-mobile-poster .v755-mobile-alerts,
.output-story .v757-mobile-poster .v755-mobile-trace{margin-inline:4cqw!important}
.output-story .v757-mobile-poster .v755-mobile-alerts{padding-inline:0!important}

/* La vista en teléfono respeta la proporción y no aplica alturas heredadas. */
@media(max-width:560px){
  .creative-preview-shell.output-square .risk-visual-poster{
    width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:4/5!important;
  }
  .creative-preview-shell.output-story .risk-visual-poster{
    width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:9/16!important;
  }
  .v757-mobile-poster .v755-mobile-title h2{font-size:clamp(16px,3.05cqw,32px)!important}
}

/* Exportación: ningún contenido puede crecer fuera del lienzo. */
.v756-export-poster .v757-mobile-poster,
.v757-export-poster .v757-mobile-poster{
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  overflow:hidden!important;
}

/* 75.7P · escala proporcional en la vista previa móvil.
   Se eliminan mínimos en píxeles heredados que obligaban a los bloques a
   crecer fuera de la tarjeta cuando se mostraba a 350–650 px de ancho. */
.v757-mobile-poster .v755-wordmark{font-size:2.55cqw!important}
.v757-mobile-poster .v755-pr{width:6.1cqw!important;height:6.1cqw!important;min-width:0!important;min-height:0!important;font-size:1.9cqw!important}
.v757-mobile-poster .v755-mobile-title small{font-size:1.14cqw!important}
.v757-mobile-poster .v755-mobile-title h2{font-size:3.15cqw!important}
.v757-mobile-poster .v755-mobile-title p{font-size:1.2cqw!important}
.v757-mobile-poster .v755-risk-label{font-size:1.04cqw!important}
.v757-mobile-keys li>b{width:4.5cqw!important;height:4.5cqw!important;min-width:0!important;min-height:0!important;font-size:1.42cqw!important}
.v757-mobile-keys li>span{font-size:1.34cqw!important}
.v757-mobile-keys .universal-tip-icon{width:4.05cqw!important;height:4.05cqw!important;min-width:0!important;min-height:0!important}
.v757-mobile-keys .universal-tip-icon svg{width:3.15cqw!important;height:3.15cqw!important;min-width:0!important;min-height:0!important}
.v757-mobile-poster .v755-mobile-alerts i{width:3.45cqw!important;height:3.45cqw!important;min-width:0!important;min-height:0!important;font-size:1.65cqw!important}
.v757-mobile-poster .v755-mobile-alerts strong{font-size:1cqw!important}
.v757-mobile-poster .v755-mobile-alerts small{font-size:.86cqw!important}
.v757-mobile-poster .v755-mobile-trace small{font-size:.72cqw!important}
.v757-mobile-poster .v755-mobile-trace strong{font-size:.92cqw!important}
.v757-mobile-poster .v755-mobile-foot{font-size:1.05cqw!important}
.output-story .v757-mobile-poster .v755-mobile-title h2{font-size:3.5cqw!important}
.output-story .v757-mobile-keys li>b{width:5cqw!important;height:5cqw!important;font-size:1.55cqw!important}
.output-story .v757-mobile-keys li>span{font-size:1.42cqw!important}
@media(max-width:560px){.v757-mobile-poster .v755-mobile-title h2{font-size:3.15cqw!important}}
/* Corrección de grid: los hijos ocupan su fila, no el 100% del bloque main. */
.v757-mobile-poster .v755-mobile-visual,
.v757-mobile-keys{
  height:auto!important;
  align-self:stretch!important;
}
/* Fija la altura del bloque central según la proporción real del lienzo.
   Evita que las filas porcentuales internas calculen una altura intrínseca mayor. */
.v757-mobile-poster .v755-mobile-main{
  height:68.75cqw!important;
  max-height:68.75cqw!important;
  align-self:start!important;
}
.output-story .v757-mobile-poster .v755-mobile-main{
  height:103.11cqw!important;
  max-height:103.11cqw!important;
}
/* Legibilidad mínima en iPhone sin volver a forzar la altura del bloque. */
.v757-mobile-poster .v755-wordmark{font-size:clamp(11px,2.55cqw,27px)!important}
.v757-mobile-poster .v755-pr{min-width:24px!important;min-height:24px!important;font-size:clamp(8px,1.9cqw,19px)!important}
.v757-mobile-poster .v755-mobile-title small{font-size:clamp(6.5px,1.14cqw,12px)!important}
.v757-mobile-poster .v755-mobile-title h2{font-size:clamp(15px,3.15cqw,34px)!important}
.v757-mobile-poster .v755-mobile-title p{font-size:clamp(7px,1.2cqw,13px)!important}
.v757-mobile-poster .v755-risk-label{font-size:clamp(6.5px,1.04cqw,10.5px)!important}
.v757-mobile-keys li>b{min-width:22px!important;min-height:22px!important;font-size:clamp(8.5px,1.42cqw,15px)!important}
.v757-mobile-keys li>span{font-size:clamp(8px,1.34cqw,14.5px)!important}
.v757-mobile-keys .universal-tip-icon{min-width:19px!important;min-height:19px!important}
.v757-mobile-keys .universal-tip-icon svg{min-width:15px!important;min-height:15px!important}
.v757-mobile-poster .v755-mobile-alerts i{min-width:18px!important;min-height:18px!important;font-size:clamp(9px,1.65cqw,18px)!important}
.v757-mobile-poster .v755-mobile-alerts strong{font-size:clamp(7px,1cqw,11px)!important}
.v757-mobile-poster .v755-mobile-alerts small{font-size:clamp(6px,.86cqw,9.5px)!important}
.v757-mobile-poster .v755-mobile-trace small{font-size:clamp(5px,.72cqw,8px)!important}
.v757-mobile-poster .v755-mobile-trace strong{font-size:clamp(6px,.92cqw,10px)!important}
.v757-mobile-poster .v755-mobile-foot{font-size:clamp(7px,1.05cqw,12px)!important}
.output-story .v757-mobile-poster .v755-mobile-title h2{font-size:clamp(17px,3.5cqw,38px)!important}
.output-story .v757-mobile-keys li>span{font-size:clamp(8.5px,1.42cqw,15px)!important}
@media(max-width:560px){.v757-mobile-poster .v755-mobile-title h2{font-size:clamp(15px,3.15cqw,34px)!important}}

/* ==================================================================
   ENTERPRISE 75.8 · TIPOS DE CONTENIDO DIFERENCIADOS EN MÓVIL
   ================================================================== */
.v758-mobile-poster{
  width:100%;height:100%;overflow:hidden;display:grid!important;
  grid-template-rows:6.5% 13% 54.5% 8% 12% 6%!important;
  background:linear-gradient(180deg,#fff 0%,#fff 76%,#f5eefb 100%);
  color:#26124f;container-type:inline-size;
}
.v758-mobile-poster.v758-strategy-alert{grid-template-rows:6.5% 13% 62.5% 12% 6%!important}
.v758-mobile-poster>*{min-width:0;min-height:0;box-sizing:border-box}
.v758-head{padding:1.2cqw 3.2cqw!important}
.v758-title{padding:1.15cqw 3.2cqw .75cqw;overflow:hidden;background:#fff}
.v758-title small{display:block;color:#d61a61;font-size:clamp(6.5px,1.1cqw,12px);line-height:1;font-weight:950;letter-spacing:.14em}
.v758-title h2{margin:.45cqw 0 .3cqw;color:#301069;font-size:clamp(15px,3.05cqw,34px);line-height:.98;letter-spacing:-.038em;font-weight:950;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v758-title p{margin:0;color:#64566f;font-size:clamp(7px,1.1cqw,12px);line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v758-content{min-height:0;padding:.6cqw 3.1cqw .7cqw;overflow:hidden;display:grid;gap:1cqw}
.v758-hero{min-width:0;min-height:0;position:relative;overflow:hidden;border:1px solid #d8c8e8;border-radius:1.7cqw;background:radial-gradient(circle at 28% 18%,#fff,rgba(255,255,255,.5) 35%,transparent 36%),linear-gradient(145deg,#fff,#eee4f8);box-shadow:inset 0 .28cqw .5cqw #fff,inset 0 -.4cqw .65cqw rgba(67,18,126,.09),0 .65cqw 1.2cqw rgba(48,12,105,.13)}
.v758-hero .universal-symbol-scene{width:100%!important;height:calc(100% - 2.4cqw)!important;max-height:none!important;min-height:0!important;filter:drop-shadow(0 .55cqw .55cqw rgba(45,13,97,.16))}
.v758-hero.is-mini .universal-symbol-scene{height:calc(100% - 2cqw)!important}
.v758-risk-label{position:absolute;left:8%;right:8%;bottom:.55cqw;min-height:1.8cqw;display:grid;place-items:center;padding:.35cqw 1cqw;border-radius:999px;background:linear-gradient(180deg,#8c42d2,#4a0f8e);color:#fff;font-size:clamp(6px,.92cqw,10px);line-height:1;font-weight:900;box-shadow:inset 0 .2cqw .32cqw rgba(255,255,255,.45),inset 0 -.28cqw .45cqw rgba(28,0,66,.42),0 .35cqw .75cqw rgba(48,12,105,.28)}
.v758-alerts{display:grid;grid-template-columns:1fr 1fr;gap:1cqw;padding:.35cqw 3.1cqw .7cqw;overflow:hidden}
.v758-alerts article{min-width:0;min-height:0;display:grid;grid-template-columns:3.8cqw minmax(0,1fr);align-items:center;gap:.7cqw;padding:.55cqw .75cqw;border:1px solid #ded1ea;border-radius:1.2cqw;background:#fff;box-shadow:inset 0 .2cqw .32cqw #fff,0 .4cqw .8cqw rgba(48,12,105,.08)}
.v758-alerts i{width:3.45cqw;height:3.45cqw;min-width:18px;min-height:18px;display:grid;place-items:center;border-radius:.9cqw;background:linear-gradient(145deg,#ffd34f,#e99700);color:#3d2a00;font-style:normal;font-weight:950;font-size:clamp(8px,1.55cqw,17px);box-shadow:inset 0 .2cqw .32cqw rgba(255,255,255,.6),0 .35cqw .7cqw rgba(80,52,0,.2)}
.v758-alerts i.ok{background:linear-gradient(145deg,#68dfab,#19a566);color:#fff}
.v758-alerts strong{display:block;color:#36205f;font-size:clamp(6.5px,.96cqw,10.5px);line-height:1}
.v758-alerts small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#6d6176;font-size:clamp(5.8px,.82cqw,9px);line-height:1.08}
.v758-trace{margin:0 3.1cqw .65cqw;padding:.55cqw;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.45cqw;border:1px solid #d9cbe7;border-radius:1.15cqw;background:rgba(248,244,252,.94);overflow:hidden}
.v758-trace div{min-height:0;padding:.35cqw .55cqw;border-radius:.7cqw;background:rgba(255,255,255,.78);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.v758-trace small{color:#75677c;font-size:clamp(4.8px,.66cqw,7.5px);line-height:1;font-weight:900;letter-spacing:.08em}
.v758-trace strong{margin-top:.2cqw;color:#32204e;font-size:clamp(5.8px,.86cqw,9.5px);line-height:1.02;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v758-foot{padding:.9cqw 3.1cqw!important;font-size:clamp(6.5px,1cqw,11.5px)!important}

/* 5 claves */
.v758-five-content{grid-template-columns:39% 61%}
.v758-key-list{min-width:0;min-height:0;list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.55cqw;position:relative;overflow:hidden}
.v758-key-list:before{content:"";position:absolute;z-index:0;left:2.4cqw;top:6%;bottom:6%;width:.75cqw;border-radius:999px;background:linear-gradient(90deg,#260654,#7a36c5,#d0b4ef,#6120a7,#260654);box-shadow:inset .12cqw 0 .2cqw rgba(255,255,255,.75),inset -.15cqw 0 .22cqw rgba(20,0,55,.6),0 .3cqw .65cqw rgba(48,12,105,.3)}
.v758-key-list li{position:relative;z-index:1;min-width:0;min-height:0;display:grid;grid-template-columns:4.6cqw minmax(0,1fr) 3.8cqw;align-items:center;gap:.65cqw;padding:.45cqw .65cqw;border:1px solid #d7c9e5;border-radius:1.15cqw;background:linear-gradient(155deg,#fff,#f4edf9);box-shadow:inset 0 .2cqw .35cqw #fff,0 .45cqw .8cqw rgba(48,12,105,.11);overflow:hidden}
.v758-key-list li>b,.v758-timeline article>b,.v758-immediate-actions article>b{width:4cqw;height:4cqw;min-width:22px;min-height:22px;display:grid;place-items:center;border-radius:1.05cqw;background:linear-gradient(145deg,#b27af0,#6f28b8 45%,#260455);border:.1cqw solid rgba(255,255,255,.58);color:#fff;font-size:clamp(8px,1.32cqw,14px);font-weight:950;box-shadow:inset 0 .28cqw .45cqw rgba(255,255,255,.46),inset 0 -.35cqw .55cqw rgba(20,0,55,.42),0 .4cqw .72cqw rgba(48,12,105,.34)}
.v758-key-list li>span{font-size:clamp(7.4px,1.14cqw,12.5px);line-height:1.08;font-weight:850;color:#291946;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v758-key-list li>i{width:3.5cqw;height:3.5cqw;display:grid;place-items:center;border-radius:.85cqw;background:linear-gradient(145deg,#fff,#e8dcf3);border:1px solid #d3c4e2;box-shadow:inset 0 .15cqw .28cqw #fff,0 .25cqw .55cqw rgba(48,12,105,.12)}
.v758-key-list li>i svg{width:2.7cqw!important;height:2.7cqw!important}

/* Checklist */
.v758-check-content{grid-template-columns:31% 69%}
.v758-check-panel{min-width:0;min-height:0;display:grid;grid-template-rows:15% 70% 15%;gap:.55cqw;padding:.7cqw;border:1px solid #d2c1e3;border-radius:1.4cqw;background:linear-gradient(160deg,#fff,#f2eaf8);box-shadow:inset 0 .25cqw .4cqw #fff,0 .55cqw 1cqw rgba(48,12,105,.12);overflow:hidden}
.v758-panel-caption{display:grid;grid-template-columns:4cqw minmax(0,1fr);align-items:center;gap:.65cqw;min-height:0}
.v758-panel-caption>svg{width:3.3cqw;height:3.3cqw;color:#702bb6}
.v758-panel-caption strong{display:block;font-size:clamp(7px,1.05cqw,11.5px);line-height:1}
.v758-panel-caption small{display:block;margin-top:.2cqw;color:#73667a;font-size:clamp(5.8px,.78cqw,8.5px);line-height:1}
.v758-check-panel ul{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.42cqw;overflow:hidden}
.v758-check-panel li{min-width:0;min-height:0;display:grid;grid-template-columns:3.2cqw minmax(0,1fr);align-items:center;gap:.6cqw;padding:.35cqw .55cqw;border-radius:.8cqw;background:rgba(255,255,255,.84);border:1px solid #ded2e9;overflow:hidden}
.v758-check-panel li>b{width:2.55cqw;height:2.55cqw;min-width:14px;min-height:14px;border:.22cqw solid #6b28ad;border-radius:.48cqw;background:linear-gradient(145deg,#fff,#eee3f7);box-shadow:inset 0 .15cqw .25cqw #fff,0 .25cqw .48cqw rgba(48,12,105,.15)}
.v758-check-panel li>span{font-size:clamp(6.8px,1.02cqw,11px);line-height:1.04;font-weight:780;color:#302047;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v758-check-result{display:grid;grid-template-columns:1fr 1fr;gap:.5cqw;align-items:center}
.v758-check-result span{padding:.45cqw;border-radius:.7cqw;text-align:center;background:#fff;border:1px solid #d8cae5;font-size:clamp(5.8px,.8cqw,9px);font-weight:850;color:#4b276f}

/* Lección aprendida */
.v758-lesson-content{grid-template-columns:31% 69%}
.v758-lesson-cards{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.65cqw;overflow:hidden}
.v758-lesson-cards article{min-width:0;min-height:0;display:grid;grid-template-columns:4.8cqw minmax(0,1fr);align-items:center;gap:.7cqw;padding:.65cqw .8cqw;border:1px solid #d8c9e5;border-radius:1.15cqw;background:linear-gradient(155deg,#fff,#f1e9f8);box-shadow:inset 0 .2cqw .35cqw #fff,0 .45cqw .85cqw rgba(48,12,105,.1);overflow:hidden}
.v758-lesson-cards article>svg{width:3.7cqw;height:3.7cqw;color:#7028b5;filter:drop-shadow(0 .25cqw .35cqw rgba(48,12,105,.18))}
.v758-lesson-cards small{color:#d01c61;font-size:clamp(5.8px,.82cqw,9px);font-weight:950;letter-spacing:.08em}
.v758-lesson-cards p{margin:.22cqw 0 0;color:#342149;font-size:clamp(6.8px,1.02cqw,11px);line-height:1.08;font-weight:740;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* Paso a paso */
.v758-steps-content{grid-template-columns:29% 71%}
.v758-timeline{position:relative;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.45cqw;overflow:hidden}
.v758-timeline:before{content:"";position:absolute;left:2.2cqw;top:5%;bottom:5%;width:.8cqw;border-radius:999px;background:linear-gradient(90deg,#260654,#7d37c7,#d1b7ef,#5c1ca2,#260654);box-shadow:inset .12cqw 0 .2cqw rgba(255,255,255,.75),0 .3cqw .7cqw rgba(48,12,105,.3)}
.v758-timeline article{position:relative;z-index:1;min-width:0;min-height:0;display:grid;grid-template-columns:4.5cqw minmax(0,1fr) 2.8cqw;align-items:center;gap:.65cqw;padding:.38cqw .55cqw;border:1px solid #d7c8e5;border-radius:1.05cqw;background:linear-gradient(155deg,#fff,#f2eaf8);overflow:hidden}
.v758-timeline article>span{font-size:clamp(6.9px,1.04cqw,11.5px);line-height:1.05;font-weight:820;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v758-timeline article>svg{width:2.3cqw;height:2.3cqw;color:#6f28b4}

/* Así sí / Así no */
.v758-compare-content{grid-template-columns:25% 75%}
.v758-compare{display:grid;grid-template-columns:1fr 1fr;gap:.65cqw;overflow:hidden}
.v758-compare>div{min-width:0;min-height:0;padding:.7cqw;display:grid;grid-template-rows:14% repeat(3,minmax(0,1fr));gap:.5cqw;border-radius:1.25cqw;border:1px solid #d8cbe4;background:#fff;overflow:hidden}
.v758-compare .is-good{background:linear-gradient(160deg,#f2fff8,#e4f8ee);border-color:#a8dfc1}
.v758-compare .is-bad{background:linear-gradient(160deg,#fff5f8,#fae6ec);border-color:#edb5c5}
.v758-compare h3{margin:0;display:flex;align-items:center;gap:.45cqw;font-size:clamp(7px,1.1cqw,12px);line-height:1;color:#33204b}
.v758-compare h3 svg{width:2.7cqw;height:2.7cqw}
.v758-compare .is-good h3 svg{color:#15945c}.v758-compare .is-bad h3 svg{color:#cf2853}
.v758-compare p{min-width:0;min-height:0;margin:0;padding:.45cqw;display:grid;grid-template-columns:2.5cqw minmax(0,1fr);align-items:center;gap:.35cqw;border-radius:.7cqw;background:rgba(255,255,255,.72);overflow:hidden}
.v758-compare p>b{width:2.25cqw;height:2.25cqw;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:clamp(6px,.85cqw,9px)}
.v758-compare .is-good p>b{background:#20a56b}.v758-compare .is-bad p>b{background:#d62b57}
.v758-compare p>span{font-size:clamp(6.1px,.9cqw,9.7px);line-height:1.05;font-weight:760;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* Alerta preventiva */
.v758-alert-content{grid-template-rows:42% 38% 20%;gap:.7cqw;padding-top:.5cqw}
.v758-alert-hero{min-width:0;min-height:0;display:grid;grid-template-columns:9cqw minmax(0,1fr) 32%;align-items:center;gap:1cqw;padding:1cqw 1.2cqw;border-radius:1.5cqw;background:linear-gradient(135deg,#4b126f,#26064f 64%,#731a88);color:#fff;box-shadow:inset 0 .3cqw .55cqw rgba(255,255,255,.2),inset 0 -.5cqw .8cqw rgba(15,0,40,.38),0 .65cqw 1.2cqw rgba(48,12,105,.25);overflow:hidden}
.v758-alert-icon{width:8cqw;height:8cqw;display:grid;place-items:center;border-radius:2cqw;background:linear-gradient(145deg,#ff5680,#d20f4c 62%,#95062f);box-shadow:inset 0 .45cqw .7cqw rgba(255,255,255,.38),inset 0 -.55cqw .8cqw rgba(80,0,25,.4),0 .55cqw 1cqw rgba(20,0,40,.35)}
.v758-alert-icon svg{width:4.8cqw;height:4.8cqw;color:#fff}
.v758-alert-hero small{font-size:clamp(5.8px,.85cqw,9px);font-weight:950;letter-spacing:.12em;color:#ffb8cc}
.v758-alert-hero h3{margin:.25cqw 0;font-size:clamp(10px,1.8cqw,20px);line-height:1;font-weight:950}
.v758-alert-hero p{margin:0;font-size:clamp(6.3px,.93cqw,10px);line-height:1.08;color:#f2e8f7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v758-alert-hero .v758-hero{height:100%;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1)}
.v758-immediate-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.65cqw;overflow:hidden}
.v758-immediate-actions article{min-width:0;min-height:0;padding:.65cqw;display:grid;grid-template-rows:4.5cqw minmax(0,1fr);gap:.45cqw;border-radius:1.1cqw;border:1px solid #e0c8d4;background:linear-gradient(155deg,#fff,#f7eaf0);box-shadow:inset 0 .2cqw .35cqw #fff,0 .4cqw .8cqw rgba(80,10,45,.1);overflow:hidden}
.v758-immediate-actions article>b{background:linear-gradient(145deg,#ff638a,#d51650 58%,#7d062c)}
.v758-immediate-actions article>span{font-size:clamp(6.3px,.94cqw,10px);line-height:1.06;font-weight:820;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.v758-report-now{min-width:0;min-height:0;display:grid;grid-template-columns:4.7cqw minmax(0,1fr);align-items:center;gap:.7cqw;padding:.55cqw .8cqw;border-radius:1cqw;background:linear-gradient(90deg,#f9dbe5,#fff);border:1px solid #ebb6c8;overflow:hidden}
.v758-report-now>svg{width:3.7cqw;height:3.7cqw;color:#d21753}
.v758-report-now strong{display:block;font-size:clamp(6.8px,1cqw,11px);line-height:1;color:#9c123c}
.v758-report-now small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:clamp(5.8px,.82cqw,9px);line-height:1.05;color:#624a55}

/* Historia: más espacio vertical para todas las variantes */
.output-story .v758-mobile-poster{grid-template-rows:6% 12% 58% 7.5% 10.5% 6%!important}
.output-story .v758-mobile-poster.v758-strategy-alert{grid-template-rows:6% 12% 66% 10% 6%!important}
.output-story .v758-title h2{font-size:clamp(17px,3.35cqw,38px)}
.output-story .v758-content{padding-inline:4cqw;gap:1.2cqw}
.output-story .v758-five-content{grid-template-columns:1fr;grid-template-rows:34% 66%}
.output-story .v758-check-content,.output-story .v758-lesson-content,.output-story .v758-steps-content,.output-story .v758-compare-content{grid-template-columns:1fr;grid-template-rows:27% 73%}
.output-story .v758-hero.is-mini .universal-symbol-scene{max-width:72%!important;margin:auto}
.output-story .v758-alerts,.output-story .v758-trace{margin-inline:4cqw}
.output-story .v758-alerts{padding-inline:0}
.output-story .v758-key-list li>span,.output-story .v758-timeline article>span{font-size:clamp(8px,1.25cqw,14px)}
.output-story .v758-lesson-cards p{font-size:clamp(7.4px,1.15cqw,12.5px)}

/* Exportación exacta */
.v756-export-poster .v758-mobile-poster,.v757-export-poster .v758-mobile-poster,.v758-export-poster .v758-mobile-poster{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important}
@media(max-width:560px){
  .v758-title h2{font-size:clamp(14px,3.05cqw,32px)}
  .v758-five-content{grid-template-columns:38% 62%}
}

/* ==================================================================
   ENTERPRISE 75.9 · PLANTILLAS MÓVILES AISLADAS, SIN HERENCIA A4
   ================================================================== */
.v759-poster,.v759-poster *{box-sizing:border-box}
.v759-poster{
  width:100%;height:100%;overflow:hidden;display:grid!important;
  grid-template-rows:6.4% 13.2% 55.4% 19.2% 5.8%;
  background:linear-gradient(180deg,#fff 0%,#fff 78%,#f7f1fc 100%);
  color:#281449;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  container-type:inline-size
}
.v759-poster.v759-alert{grid-template-rows:6.4% 13.2% 68.6% 6% 5.8%}
.v759-poster>*{min-width:0;min-height:0}
.v759-brand{position:relative;display:flex;align-items:center;justify-content:space-between;padding:1.05cqw 3cqw;color:#fff;background:linear-gradient(110deg,#22064d,#4e178e 62%,#6f2bb9);border-top:.68cqw solid #8C4799;overflow:hidden}
.v759-brand:after{content:"";position:absolute;right:9%;bottom:0;width:18%;height:.42cqw;background:linear-gradient(90deg,#8C4799 0 62%,#ffd33d 62% 80%,#a555ca 80%)}
.v759-wordmark{font-size:clamp(11px,2.3cqw,26px);line-height:.76;font-weight:500;letter-spacing:-.04em;display:flex;flex-direction:column;text-transform:lowercase}.v759-wordmark strong{font-weight:900}.v759-wordmark span{display:block;width:70%;height:.28cqw;margin-top:.55cqw;background:linear-gradient(90deg,#8C4799 0 65%,#ffd33d 65% 82%,#a555ca 82%)}
.v759-pr{width:5.6cqw;height:5.6cqw;min-width:28px;min-height:28px;display:grid;place-items:center;border-radius:50%;font-size:clamp(8px,1.55cqw,17px);font-weight:950;background:linear-gradient(145deg,#caa7ef,#6c2bb3 62%,#2d075c);border:.18cqw solid rgba(255,255,255,.68);box-shadow:inset 0 .34cqw .55cqw rgba(255,255,255,.45),inset 0 -.42cqw .65cqw rgba(20,0,55,.45),0 .35cqw .8cqw rgba(30,0,70,.35)}
.v759-heading{padding:1.05cqw 3cqw .65cqw;background:#fff;overflow:hidden}
.v759-heading small{display:block;color:#d71962;font-size:clamp(6.5px,1.02cqw,11px);line-height:1;font-weight:950;letter-spacing:.13em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v759-heading h2{margin:.42cqw 0 .28cqw;color:#301067;font-size:clamp(14px,2.55cqw,30px);line-height:.98;letter-spacing:-.038em;font-weight:950;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v759-heading p{margin:0;color:#6b5e73;font-size:clamp(6.8px,1.04cqw,11.5px);line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v759-main{min-width:0;min-height:0;padding:.6cqw 3cqw .65cqw;display:grid;gap:.85cqw;overflow:hidden}
.v759-hero{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #d6c6e6;border-radius:1.55cqw;background:radial-gradient(circle at 30% 18%,#fff,rgba(255,255,255,.38) 34%,transparent 35%),linear-gradient(145deg,#fff,#ede2f7);box-shadow:inset 0 .28cqw .48cqw #fff,inset 0 -.38cqw .62cqw rgba(67,18,126,.08),0 .55cqw 1.05cqw rgba(48,12,105,.13)}
.v759-hero .universal-symbol-scene{width:100%!important;height:calc(100% - 2.3cqw)!important;max-width:100%!important;max-height:none!important;min-height:0!important;filter:drop-shadow(0 .48cqw .52cqw rgba(45,13,97,.17))}
.v759-hero>strong{position:absolute;left:9%;right:9%;bottom:.48cqw;min-height:1.65cqw;display:grid;place-items:center;padding:.3cqw .8cqw;border-radius:999px;background:linear-gradient(180deg,#8840cf,#4b108e);color:#fff;font-size:clamp(5.7px,.82cqw,9px);line-height:1;font-weight:900;box-shadow:inset 0 .18cqw .3cqw rgba(255,255,255,.45),inset 0 -.26cqw .42cqw rgba(28,0,66,.42),0 .3cqw .65cqw rgba(48,12,105,.27)}
.v759-utility{min-width:0;min-height:0;display:grid;grid-template-rows:42% 58%;gap:.45cqw;overflow:hidden}
.v759-alert-row{display:grid;grid-template-columns:1fr 1fr;gap:.65cqw;padding:0 3cqw;overflow:hidden}
.v759-alert-row article{min-width:0;min-height:0;display:grid;grid-template-columns:3.35cqw minmax(0,1fr);align-items:center;gap:.55cqw;padding:.42cqw .62cqw;border:1px solid #ded2e9;border-radius:1cqw;background:#fff;overflow:hidden}
.v759-alert-row i{width:3cqw;height:3cqw;min-width:17px;min-height:17px;display:grid;place-items:center;border-radius:.72cqw;background:linear-gradient(145deg,#ffd85a,#e99600);color:#3b2900;font-style:normal;font-weight:950;font-size:clamp(7.5px,1.3cqw,14px);box-shadow:inset 0 .18cqw .3cqw rgba(255,255,255,.62),0 .28cqw .58cqw rgba(80,52,0,.18)}
.v759-alert-row i.ok{background:linear-gradient(145deg,#65dca8,#1aa466);color:#fff}
.v759-alert-row strong{display:block;color:#36205f;font-size:clamp(6.2px,.9cqw,10px);line-height:1}.v759-alert-row small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#6e6276;font-size:clamp(5.5px,.76cqw,8.5px);line-height:1.04}
.v759-trace{margin:0 3cqw .15cqw;padding:.42cqw;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.35cqw;border:1px solid #d9cbe7;border-radius:1cqw;background:rgba(248,244,252,.96);overflow:hidden}
.v759-trace div{min-height:0;padding:.25cqw .48cqw;border-radius:.58cqw;background:rgba(255,255,255,.86);display:flex;flex-direction:column;justify-content:center;overflow:hidden}.v759-trace small{color:#75677c;font-size:clamp(4.6px,.61cqw,7px);line-height:1;font-weight:900;letter-spacing:.08em}.v759-trace strong{margin-top:.16cqw;color:#32204e;font-size:clamp(5.6px,.8cqw,9px);line-height:1.02;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v759-footer{display:flex;align-items:center;justify-content:space-between;padding:.65cqw 3cqw;color:#fff;background:linear-gradient(100deg,#260653,#451080 60%,#5e1ca3);font-size:clamp(6.4px,.9cqw,10px);font-weight:800;overflow:hidden}.v759-footer strong{font-size:1.08em}

/* Cinco claves: imagen arriba y medidas abajo. */
.v759-five{grid-template-rows:35% 65%}
.v759-number-list{position:relative;min-width:0;min-height:0;list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.42cqw;overflow:hidden}
.v759-number-list:before,.v759-timeline:before{content:"";position:absolute;z-index:0;left:2.1cqw;top:5%;bottom:5%;width:.68cqw;border-radius:999px;background:linear-gradient(90deg,#270653,#7a36c6,#d1b8ef,#5d1da3,#260653);box-shadow:inset .1cqw 0 .18cqw rgba(255,255,255,.75),inset -.12cqw 0 .2cqw rgba(20,0,55,.55),0 .28cqw .58cqw rgba(48,12,105,.3)}
.v759-number-list li,.v759-timeline article{position:relative;z-index:1;min-width:0;min-height:0;display:grid;grid-template-columns:4.05cqw minmax(0,1fr) 3.1cqw;align-items:center;gap:.58cqw;padding:.32cqw .56cqw;border:1px solid #d7c9e5;border-radius:.92cqw;background:linear-gradient(155deg,#fff,#f4edf9);box-shadow:inset 0 .18cqw .3cqw #fff,0 .35cqw .68cqw rgba(48,12,105,.1);overflow:hidden}
.v759-number-list li>b,.v759-timeline article>b,.v759-actions article>b{width:3.55cqw;height:3.55cqw;min-width:20px;min-height:20px;display:grid;place-items:center;border-radius:.9cqw;background:linear-gradient(145deg,#b27af0,#6f28b8 45%,#260455);border:.1cqw solid rgba(255,255,255,.58);color:#fff;font-size:clamp(7.5px,1.12cqw,12.5px);font-weight:950;box-shadow:inset 0 .25cqw .4cqw rgba(255,255,255,.46),inset 0 -.3cqw .48cqw rgba(20,0,55,.42),0 .34cqw .62cqw rgba(48,12,105,.32)}
.v759-number-list li>span,.v759-timeline article>span{font-size:clamp(6.7px,.98cqw,10.8px);line-height:1.05;font-weight:820;color:#2c1a47;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.v759-number-list li>i{width:2.85cqw;height:2.85cqw;display:grid;place-items:center;border-radius:.68cqw;background:linear-gradient(145deg,#fff,#e8dcf3);border:1px solid #d3c4e2}.v759-number-list li>i svg{width:2.2cqw!important;height:2.2cqw!important}

/* Checklist */
.v759-checklist,.v759-lesson,.v759-steps,.v759-right-wrong{grid-template-rows:25% 75%}
.v759-check-card{min-height:0;display:grid;grid-template-rows:13% 73% 14%;gap:.4cqw;padding:.65cqw;border:1px solid #d2c1e3;border-radius:1.2cqw;background:linear-gradient(160deg,#fff,#f2eaf8);overflow:hidden}.v759-card-title{display:grid;grid-template-columns:3.5cqw minmax(0,1fr);align-items:center;gap:.55cqw}.v759-card-title>svg{width:2.9cqw;height:2.9cqw;color:#702bb6}.v759-card-title strong{display:block;font-size:clamp(6.5px,.95cqw,10.5px);line-height:1}.v759-card-title small{display:block;margin-top:.14cqw;color:#73667a;font-size:clamp(5.2px,.7cqw,8px);line-height:1}.v759-check-card ul{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.35cqw;overflow:hidden}.v759-check-card li{min-width:0;min-height:0;display:grid;grid-template-columns:2.7cqw minmax(0,1fr);align-items:center;gap:.48cqw;padding:.28cqw .5cqw;border-radius:.65cqw;background:rgba(255,255,255,.86);border:1px solid #ded2e9;overflow:hidden}.v759-check-card li>b{width:2.15cqw;height:2.15cqw;min-width:13px;min-height:13px;border:.2cqw solid #6b28ad;border-radius:.4cqw;background:linear-gradient(145deg,#fff,#eee3f7)}.v759-check-card li>span{font-size:clamp(6.2px,.9cqw,10px);line-height:1.03;font-weight:780;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.v759-result{display:grid;grid-template-columns:1fr 1fr;gap:.4cqw;align-items:center}.v759-result span{padding:.34cqw;border-radius:.6cqw;text-align:center;background:#fff;border:1px solid #d8cae5;font-size:clamp(5.3px,.72cqw,8px);font-weight:850;color:#4b276f}

/* Lección aprendida */
.v759-lesson-list{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.55cqw;overflow:hidden}.v759-lesson-list article{min-width:0;min-height:0;display:grid;grid-template-columns:4cqw minmax(0,1fr);align-items:center;gap:.6cqw;padding:.52cqw .7cqw;border:1px solid #d8c9e5;border-radius:.95cqw;background:linear-gradient(155deg,#fff,#f1e9f8);overflow:hidden}.v759-lesson-list article>svg{width:3.1cqw;height:3.1cqw;color:#7028b5}.v759-lesson-list small{color:#d01c61;font-size:clamp(5.3px,.73cqw,8.2px);font-weight:950;letter-spacing:.08em}.v759-lesson-list p{margin:.16cqw 0 0;color:#342149;font-size:clamp(6.1px,.88cqw,9.8px);line-height:1.05;font-weight:740;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* Paso a paso */
.v759-timeline{position:relative;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.38cqw;overflow:hidden}.v759-timeline article{grid-template-columns:4.05cqw minmax(0,1fr) 2.5cqw}.v759-timeline article>svg{width:2cqw;height:2cqw;color:#6f28b4}

/* Así sí / Así no */
.v759-comparison{display:grid;grid-template-columns:1fr 1fr;gap:.55cqw;overflow:hidden}.v759-comparison>div{min-width:0;min-height:0;padding:.58cqw;display:grid;grid-template-rows:13% repeat(3,minmax(0,1fr));gap:.38cqw;border-radius:1cqw;border:1px solid #d8cbe4;overflow:hidden}.v759-comparison .good{background:linear-gradient(160deg,#f2fff8,#e4f8ee);border-color:#a8dfc1}.v759-comparison .bad{background:linear-gradient(160deg,#fff5f8,#fae6ec);border-color:#edb5c5}.v759-comparison h3{margin:0;display:flex;align-items:center;gap:.35cqw;font-size:clamp(6.2px,.9cqw,10px);line-height:1}.v759-comparison h3 svg{width:2.25cqw;height:2.25cqw}.v759-comparison .good h3 svg{color:#15945c}.v759-comparison .bad h3 svg{color:#cf2853}.v759-comparison p{min-width:0;min-height:0;margin:0;padding:.35cqw;display:grid;grid-template-columns:2.15cqw minmax(0,1fr);align-items:center;gap:.3cqw;border-radius:.55cqw;background:rgba(255,255,255,.74);overflow:hidden}.v759-comparison p>b{width:1.9cqw;height:1.9cqw;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:clamp(5px,.7cqw,8px)}.v759-comparison .good p>b{background:#20a56b}.v759-comparison .bad p>b{background:#d62b57}.v759-comparison p>span{font-size:clamp(5.5px,.78cqw,8.7px);line-height:1.03;font-weight:760;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* Alerta */
.v759-alert{grid-template-rows:43% 34% 23%;gap:.55cqw}.v759-alert-hero{min-width:0;min-height:0;display:grid;grid-template-columns:7.5cqw minmax(0,1fr) 30%;align-items:center;gap:.8cqw;padding:.8cqw 1cqw;border-radius:1.25cqw;background:linear-gradient(135deg,#4b126f,#26064f 64%,#731a88);color:#fff;overflow:hidden}.v759-alert-icon{width:6.7cqw;height:6.7cqw;display:grid;place-items:center;border-radius:1.65cqw;background:linear-gradient(145deg,#ff5680,#d20f4c 62%,#95062f);box-shadow:inset 0 .35cqw .55cqw rgba(255,255,255,.38),inset 0 -.45cqw .65cqw rgba(80,0,25,.4),0 .45cqw .8cqw rgba(20,0,40,.35)}.v759-alert-icon svg{width:4cqw;height:4cqw}.v759-alert-hero small{font-size:clamp(5.2px,.74cqw,8px);font-weight:950;letter-spacing:.1em;color:#ffb8cc}.v759-alert-hero h3{margin:.18cqw 0;font-size:clamp(8.5px,1.45cqw,16px);line-height:1;font-weight:950}.v759-alert-hero p{margin:0;font-size:clamp(5.8px,.82cqw,9px);line-height:1.04;color:#f2e8f7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.v759-alert-hero .v759-hero{height:100%;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1)}.v759-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.55cqw;overflow:hidden}.v759-actions article{min-width:0;min-height:0;padding:.52cqw;display:grid;grid-template-rows:3.8cqw minmax(0,1fr);gap:.35cqw;border-radius:.9cqw;border:1px solid #e0c8d4;background:linear-gradient(155deg,#fff,#f7eaf0);overflow:hidden}.v759-actions article>b{background:linear-gradient(145deg,#ff638a,#d51650 58%,#7d062c)}.v759-actions article>span{font-size:clamp(5.7px,.82cqw,9px);line-height:1.04;font-weight:820;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.v759-report{display:grid;grid-template-columns:4cqw minmax(0,1fr);align-items:center;gap:.6cqw;padding:.45cqw .68cqw;border-radius:.85cqw;background:linear-gradient(90deg,#f9dbe5,#fff);border:1px solid #ebb6c8;overflow:hidden}.v759-report>svg{width:3.1cqw;height:3.1cqw;color:#d21753}.v759-report strong{display:block;font-size:clamp(6.1px,.88cqw,9.8px);line-height:1;color:#9c123c}.v759-report small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:clamp(5.2px,.72cqw,8px);line-height:1.03;color:#624a55}

/* Historia 9:16: más aire sin cambiar la lógica ni heredar la maqueta A4. */
.output-story .v759-poster{grid-template-rows:5.8% 11.2% 61% 16.5% 5.5%}
.output-story .v759-poster.v759-alert{grid-template-rows:5.8% 11.2% 72% 5.5% 5.5%}
.output-story .v759-heading{padding-inline:4cqw}.output-story .v759-heading h2{font-size:clamp(16px,2.9cqw,34px)}.output-story .v759-main{padding-inline:4cqw;gap:1cqw}.output-story .v759-five{grid-template-rows:31% 69%}.output-story .v759-checklist,.output-story .v759-lesson,.output-story .v759-steps,.output-story .v759-right-wrong{grid-template-rows:22% 78%}.output-story .v759-alert-row,.output-story .v759-trace{margin-inline:4cqw}.output-story .v759-alert-row{padding-inline:0}.output-story .v759-number-list{gap:.55cqw}.output-story .v759-number-list li>span,.output-story .v759-timeline article>span{font-size:clamp(7.2px,1.08cqw,12px)}.output-story .v759-lesson-list p{font-size:clamp(6.6px,.98cqw,10.8px)}

/* Exportación exacta: el contenido ocupa todo el lienzo. */
.v756-export-poster .v759-poster,.v757-export-poster .v759-poster,.v758-export-poster .v759-poster,.v759-export-poster .v759-poster{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important}

/* ==================================================================
   ENTERPRISE 76.1 · TIPOS DE CONTENIDO VISIBLES
   ================================================================== */
.v760-poster,.v760-poster *{box-sizing:border-box}
.v760-poster{
  width:100%;height:100%;display:grid!important;overflow:hidden;
  grid-template-rows:6.6% 12.4% 57.8% 17.4% 5.8%;
  background:linear-gradient(180deg,#fff 0%,#fff 80%,#f7f1fc 100%);
  color:#281449;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  container-type:inline-size;
}
.v760-poster.v760-strategy-alert{grid-template-rows:6.6% 12.4% 62.8% 12.4% 5.8%}
.v760-poster>*{min-width:0;min-height:0}
.v760-brand{position:relative;display:flex;align-items:center;justify-content:space-between;padding:1.05cqw 3cqw;color:#fff;background:linear-gradient(110deg,#22064d,#4e178e 62%,#6f2bb9);border-top:.65cqw solid #8C4799;overflow:hidden}
.v760-brand:after{content:"";position:absolute;right:9%;bottom:0;width:18%;height:.42cqw;background:linear-gradient(90deg,#8C4799 0 62%,#ffd33d 62% 80%,#a555ca 80%)}
.v760-wordmark{font-size:clamp(11px,2.3cqw,26px);line-height:.76;font-weight:500;letter-spacing:-.04em;display:flex;flex-direction:column;text-transform:lowercase}
.v760-wordmark strong{font-weight:900}
.v760-wordmark span{display:block;width:70%;height:.28cqw;margin-top:.55cqw;background:linear-gradient(90deg,#8C4799 0 65%,#ffd33d 65% 82%,#a555ca 82%)}
.v760-pr{width:5.4cqw;height:5.4cqw;min-width:28px;min-height:28px;display:grid;place-items:center;border-radius:50%;font-size:clamp(8px,1.48cqw,17px);font-weight:950;background:linear-gradient(145deg,#caa7ef,#6c2bb3 62%,#2d075c);border:.18cqw solid rgba(255,255,255,.68);box-shadow:inset 0 .34cqw .55cqw rgba(255,255,255,.45),inset 0 -.42cqw .65cqw rgba(20,0,55,.45),0 .35cqw .8cqw rgba(30,0,70,.35)}
.v760-heading{padding:1.05cqw 3cqw .65cqw;background:#fff;overflow:hidden}
.v760-heading small{display:block;color:#d71962;font-size:clamp(6.4px,1cqw,11px);line-height:1;font-weight:950;letter-spacing:.13em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v760-heading h2{margin:.42cqw 0 .28cqw;color:#301067;font-size:clamp(14px,2.42cqw,28px);line-height:.98;letter-spacing:-.038em;font-weight:950;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v760-heading p{margin:0;color:#6b5e73;font-size:clamp(6.5px,1cqw,11px);line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v760-main{min-width:0;min-height:0;padding:.6cqw 3cqw .55cqw;display:grid;gap:.75cqw;overflow:hidden}
.v760-five{grid-template-rows:34% 66%}
.v760-checklist,.v760-lesson,.v760-steps,.v760-compare{grid-template-rows:23% 77%}
.v760-alert{grid-template-rows:19% 26% 35% 20%;gap:.65cqw}
.v760-hero{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #d6c6e6;border-radius:1.55cqw;background:radial-gradient(circle at 30% 18%,#fff,rgba(255,255,255,.38) 34%,transparent 35%),linear-gradient(145deg,#fff,#ede2f7);box-shadow:inset 0 .28cqw .48cqw #fff,inset 0 -.38cqw .62cqw rgba(67,18,126,.08),0 .55cqw 1.05cqw rgba(48,12,105,.13)}
.v760-hero .universal-symbol-scene{width:100%!important;height:calc(100% - 2.25cqw)!important;max-width:100%!important;max-height:none!important;min-height:0!important;filter:drop-shadow(0 .48cqw .52cqw rgba(45,13,97,.17))}
.v760-hero>strong{position:absolute;left:9%;right:9%;bottom:.48cqw;min-height:1.62cqw;display:grid;place-items:center;padding:.28cqw .8cqw;border-radius:999px;background:linear-gradient(180deg,#8840cf,#4b108e);color:#fff;font-size:clamp(5.6px,.82cqw,9px);line-height:1;font-weight:900;box-shadow:inset 0 .18cqw .3cqw rgba(255,255,255,.45),inset 0 -.26cqw .42cqw rgba(28,0,66,.42),0 .3cqw .65cqw rgba(48,12,105,.27)}
.v760-hero.is-mini .universal-symbol-scene{height:calc(100% - 2cqw)!important}
.v760-number-list,.v760-timeline{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.4cqw;overflow:hidden}
.v760-number-list:before,.v760-timeline:before{content:"";position:absolute;z-index:0;left:2.05cqw;top:5%;bottom:5%;width:.62cqw;border-radius:999px;background:linear-gradient(90deg,#270653,#7a36c6,#d1b8ef,#5d1da3,#260653);box-shadow:inset .1cqw 0 .18cqw rgba(255,255,255,.75),inset -.12cqw 0 .2cqw rgba(20,0,55,.55),0 .28cqw .58cqw rgba(48,12,105,.3)}
.v760-number-list li,.v760-timeline article{position:relative;z-index:1;display:grid;grid-template-columns:3.95cqw minmax(0,1fr) 2.95cqw;align-items:center;gap:.52cqw;padding:.28cqw .55cqw;border:1px solid #d7c9e5;border-radius:.92cqw;background:linear-gradient(155deg,#fff,#f4edf9);box-shadow:inset 0 .18cqw .3cqw #fff,0 .35cqw .68cqw rgba(48,12,105,.1);overflow:hidden}
.v760-number-list li>b,.v760-timeline article>b,.v760-actions article>b{width:3.4cqw;height:3.4cqw;min-width:20px;min-height:20px;display:grid;place-items:center;border-radius:.9cqw;background:linear-gradient(145deg,#b27af0,#6f28b8 45%,#260455);border:.1cqw solid rgba(255,255,255,.58);color:#fff;font-size:clamp(7.3px,1.08cqw,12px);font-weight:950;box-shadow:inset 0 .25cqw .4cqw rgba(255,255,255,.46),inset 0 -.3cqw .48cqw rgba(20,0,55,.42),0 .34cqw .62cqw rgba(48,12,105,.32)}
.v760-number-list li>span,.v760-timeline article>span{font-size:clamp(6.5px,.94cqw,10px);line-height:1.04;font-weight:810;color:#2c1a47;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v760-number-list li>i{width:2.7cqw;height:2.7cqw;display:grid;place-items:center;border-radius:.65cqw;background:linear-gradient(145deg,#fff,#e8dcf3);border:1px solid #d3c4e2}
.v760-number-list li>i svg{width:2cqw!important;height:2cqw!important}
.v760-panel{min-height:0;display:grid;grid-template-rows:13% 72% 15%;gap:.38cqw;padding:.6cqw;border:1px solid #d2c1e3;border-radius:1.2cqw;background:linear-gradient(160deg,#fff,#f2eaf8);overflow:hidden}
.v760-card-title{display:grid;grid-template-columns:3.3cqw minmax(0,1fr);align-items:center;gap:.5cqw}.v760-card-title>svg{width:2.6cqw;height:2.6cqw;color:#702bb6}.v760-card-title strong{display:block;font-size:clamp(6.3px,.92cqw,10px);line-height:1}.v760-card-title small{display:block;margin-top:.14cqw;color:#73667a;font-size:clamp(5px,.68cqw,7.8px);line-height:1}
.v760-check-list{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.32cqw;overflow:hidden}
.v760-check-list li{display:grid;grid-template-columns:2.55cqw minmax(0,1fr);align-items:center;gap:.46cqw;padding:.26cqw .46cqw;border-radius:.62cqw;background:rgba(255,255,255,.86);border:1px solid #ded2e9;overflow:hidden}
.v760-check-list li>b{width:2.05cqw;height:2.05cqw;min-width:13px;min-height:13px;border:.18cqw solid #6b28ad;border-radius:.36cqw;background:linear-gradient(145deg,#fff,#eee3f7)}
.v760-check-list li>span{font-size:clamp(6px,.87cqw,9.6px);line-height:1.02;font-weight:780;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v760-result{display:grid;grid-template-columns:1fr 1fr;gap:.36cqw;align-items:center}.v760-result span{padding:.32cqw;border-radius:.55cqw;text-align:center;background:#fff;border:1px solid #d8cae5;font-size:clamp(5.1px,.7cqw,7.8px);font-weight:850;color:#4b276f}
.v760-stack{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.5cqw;overflow:hidden}
.v760-stack article{display:grid;grid-template-columns:3.7cqw minmax(0,1fr);align-items:center;gap:.55cqw;padding:.48cqw .66cqw;border:1px solid #d8c9e5;border-radius:.92cqw;background:linear-gradient(155deg,#fff,#f1e9f8);overflow:hidden}
.v760-stack article>svg{width:2.8cqw;height:2.8cqw;color:#7028b5}.v760-stack small{color:#d01c61;font-size:clamp(5.1px,.7cqw,8px);font-weight:950;letter-spacing:.08em}.v760-stack p{margin:.14cqw 0 0;color:#342149;font-size:clamp(5.8px,.84cqw,9.2px);line-height:1.04;font-weight:740;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v760-timeline article{grid-template-columns:3.95cqw minmax(0,1fr) 2.35cqw}.v760-timeline article>svg{width:1.9cqw;height:1.9cqw;color:#6f28b4}
.v760-comparison{display:grid;grid-template-columns:1fr 1fr;gap:.48cqw;overflow:hidden}.v760-comparison>div{padding:.52cqw;display:grid;grid-template-rows:13% repeat(3,minmax(0,1fr));gap:.34cqw;border-radius:.96cqw;border:1px solid #d8cbe4;overflow:hidden}.v760-comparison .good{background:linear-gradient(160deg,#f2fff8,#e4f8ee);border-color:#a8dfc1}.v760-comparison .bad{background:linear-gradient(160deg,#fff5f8,#fae6ec);border-color:#edb5c5}.v760-comparison h3{margin:0;display:flex;align-items:center;gap:.32cqw;font-size:clamp(6px,.87cqw,9.6px);line-height:1}.v760-comparison h3 svg{width:2.05cqw;height:2.05cqw}.v760-comparison .good h3 svg{color:#15945c}.v760-comparison .bad h3 svg{color:#cf2853}.v760-comparison p{margin:0;padding:.32cqw;display:grid;grid-template-columns:2cqw minmax(0,1fr);align-items:center;gap:.28cqw;border-radius:.52cqw;background:rgba(255,255,255,.74);overflow:hidden}.v760-comparison p>b{width:1.76cqw;height:1.76cqw;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:clamp(4.8px,.68cqw,7.6px)}.v760-comparison .good p>b{background:#20a56b}.v760-comparison .bad p>b{background:#d62b57}.v760-comparison p>span{font-size:clamp(5.3px,.75cqw,8.4px);line-height:1.03;font-weight:760;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v760-alert-hero{display:grid;grid-template-columns:6.8cqw minmax(0,1fr);align-items:center;gap:.75cqw;padding:.72cqw .9cqw;border-radius:1.15cqw;background:linear-gradient(135deg,#4b126f,#26064f 64%,#731a88);color:#fff;overflow:hidden}
.v760-alert-icon{width:6cqw;height:6cqw;display:grid;place-items:center;border-radius:1.45cqw;background:linear-gradient(145deg,#ff5680,#d20f4c 62%,#95062f);box-shadow:inset 0 .35cqw .55cqw rgba(255,255,255,.38),inset 0 -.45cqw .65cqw rgba(80,0,25,.4),0 .45cqw .8cqw rgba(20,0,40,.35)}
.v760-alert-icon svg{width:3.5cqw;height:3.5cqw}
.v760-alert-hero small{font-size:clamp(5px,.72cqw,7.8px);font-weight:950;letter-spacing:.1em;color:#ffb8cc}.v760-alert-hero h3{margin:.15cqw 0;font-size:clamp(8px,1.35cqw,15px);line-height:1;font-weight:950}.v760-alert-hero p{margin:0;font-size:clamp(5.5px,.78cqw,8.6px);line-height:1.03;color:#f2e8f7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v760-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.46cqw;overflow:hidden}.v760-actions article{padding:.44cqw;display:grid;grid-template-rows:3.35cqw minmax(0,1fr);gap:.3cqw;border-radius:.82cqw;border:1px solid #e0c8d4;background:linear-gradient(155deg,#fff,#f7eaf0);overflow:hidden}.v760-actions article>b{background:linear-gradient(145deg,#ff638a,#d51650 58%,#7d062c)}.v760-actions article>span{font-size:clamp(5.3px,.76cqw,8.6px);line-height:1.03;font-weight:820;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.v760-report{display:grid;grid-template-columns:3.6cqw minmax(0,1fr);align-items:center;gap:.52cqw;padding:.4cqw .62cqw;border-radius:.8cqw;background:linear-gradient(90deg,#f9dbe5,#fff);border:1px solid #ebb6c8;overflow:hidden}.v760-report>svg{width:2.7cqw;height:2.7cqw;color:#d21753}.v760-report strong{display:block;font-size:clamp(5.8px,.84cqw,9.2px);line-height:1;color:#9c123c}.v760-report small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:clamp(5px,.7cqw,7.8px);line-height:1.03;color:#624a55}
.v760-utility{display:grid;grid-template-rows:40% 60%;gap:.42cqw;overflow:hidden}
.v760-alert-row{display:grid;grid-template-columns:1fr 1fr;gap:.58cqw;padding:0 3cqw;overflow:hidden}
.v760-alert-row article{display:grid;grid-template-columns:3.2cqw minmax(0,1fr);align-items:center;gap:.5cqw;padding:.4cqw .58cqw;border:1px solid #ded2e9;border-radius:.95cqw;background:#fff;overflow:hidden}
.v760-alert-row i{width:2.85cqw;height:2.85cqw;min-width:17px;min-height:17px;display:grid;place-items:center;border-radius:.68cqw;background:linear-gradient(145deg,#ffd85a,#e99600);color:#3b2900;font-style:normal;font-weight:950;font-size:clamp(7.3px,1.2cqw,13px);box-shadow:inset 0 .18cqw .3cqw rgba(255,255,255,.62),0 .28cqw .58cqw rgba(80,52,0,.18)}
.v760-alert-row i.ok{background:linear-gradient(145deg,#65dca8,#1aa466);color:#fff}
.v760-alert-row strong{display:block;color:#36205f;font-size:clamp(6px,.87cqw,9.8px);line-height:1}.v760-alert-row small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#6e6276;font-size:clamp(5.3px,.74cqw,8.2px);line-height:1.04}
.v760-trace{margin:0 3cqw .1cqw;padding:.4cqw;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.32cqw;border:1px solid #d9cbe7;border-radius:.95cqw;background:rgba(248,244,252,.96);overflow:hidden}
.v760-trace div{padding:.24cqw .46cqw;border-radius:.54cqw;background:rgba(255,255,255,.86);display:flex;flex-direction:column;justify-content:center;overflow:hidden}.v760-trace small{color:#75677c;font-size:clamp(4.5px,.6cqw,6.8px);line-height:1;font-weight:900;letter-spacing:.08em}.v760-trace strong{margin-top:.15cqw;color:#32204e;font-size:clamp(5.4px,.78cqw,8.8px);line-height:1.02;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v760-footer{display:flex;align-items:center;justify-content:space-between;padding:.62cqw 3cqw;color:#fff;background:linear-gradient(100deg,#260653,#451080 60%,#5e1ca3);font-size:clamp(6.2px,.88cqw,9.8px);font-weight:800;overflow:hidden}.v760-footer strong{font-size:1.08em}
.output-story .v760-poster{grid-template-rows:5.8% 10.6% 63.2% 14.8% 5.6%}
.output-story .v760-poster.v760-strategy-alert{grid-template-rows:5.8% 10.6% 67.8% 10.2% 5.6%}
.output-story .v760-heading{padding-inline:4cqw}
.output-story .v760-heading h2{font-size:clamp(16px,2.75cqw,32px)}
.output-story .v760-heading p{font-size:clamp(7px,1.02cqw,12px)}
.output-story .v760-main{padding-inline:4cqw;gap:.95cqw}
.output-story .v760-five{grid-template-rows:30% 70%}
.output-story .v760-checklist,.output-story .v760-lesson,.output-story .v760-steps,.output-story .v760-compare{grid-template-rows:18% 82%}
.output-story .v760-alert-row,.output-story .v760-trace{margin-inline:4cqw}
.output-story .v760-alert-row{padding-inline:0}
.output-story .v760-number-list{gap:.48cqw}
.output-story .v760-number-list li,.output-story .v760-timeline article{grid-template-columns:4.8cqw minmax(0,1fr) 3.2cqw;padding:.38cqw .66cqw}
.output-story .v760-number-list:before,.output-story .v760-timeline:before{left:2.5cqw;width:.7cqw}
.output-story .v760-number-list li>b,.output-story .v760-timeline article>b{width:4.15cqw;height:4.15cqw;font-size:clamp(8.5px,1.2cqw,13px)}
.output-story .v760-number-list li>span,.output-story .v760-timeline article>span{font-size:clamp(7px,1.02cqw,11.8px);-webkit-line-clamp:2}
.output-story .v760-number-list li>i{width:3cqw;height:3cqw}
.output-story .v760-number-list li>i svg{width:2.2cqw!important;height:2.2cqw!important}
.output-story .v760-panel{grid-template-rows:11% 76% 13%}
.output-story .v760-card-title{grid-template-columns:4.1cqw minmax(0,1fr)}
.output-story .v760-card-title>svg{width:3.2cqw;height:3.2cqw}
.output-story .v760-check-list li{grid-template-columns:3.2cqw minmax(0,1fr);padding:.36cqw .56cqw}
.output-story .v760-check-list li>b{width:2.45cqw;height:2.45cqw}
.output-story .v760-check-list li>span{font-size:clamp(6.6px,.95cqw,10.8px)}
.output-story .v760-stack article{grid-template-columns:4.4cqw minmax(0,1fr);padding:.56cqw .74cqw}
.output-story .v760-stack article>svg{width:3.3cqw;height:3.3cqw}
.output-story .v760-stack p{font-size:clamp(6.4px,.92cqw,10.3px)}
.output-story .v760-comparison h3{font-size:clamp(6.4px,.9cqw,10.4px)}
.output-story .v760-comparison p>span{font-size:clamp(5.9px,.83cqw,9.2px)}
.output-story .v760-alert{grid-template-rows:17% 25% 39% 19%}
.output-story .v760-alert-hero{grid-template-columns:7.8cqw minmax(0,1fr)}
.output-story .v760-alert-icon{width:6.7cqw;height:6.7cqw}
.output-story .v760-alert-icon svg{width:4cqw;height:4cqw}
.output-story .v760-actions article{grid-template-rows:4.1cqw minmax(0,1fr)}
.output-story .v760-actions article>b{width:4cqw;height:4cqw}
.output-story .v760-actions article>span{font-size:clamp(5.8px,.82cqw,9px)}
.output-story .v760-report{grid-template-columns:4.1cqw minmax(0,1fr)}
.v756-export-poster .v760-poster,.v757-export-poster .v760-poster,.v758-export-poster .v760-poster,.v759-export-poster .v760-poster{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important}

/* ==================================================================
   ENTERPRISE 76.2 · NÚMEROS EN COLUMNA FIJA, SIN TAPAR EL TEXTO
   ================================================================== */
.v760-number-list li,
.v760-timeline article{
  grid-template-columns:5.5cqw minmax(0,1fr) 3.1cqw!important;
  column-gap:.9cqw!important;
  padding-left:.55cqw!important;
}
.v760-number-list li>b,
.v760-timeline article>b{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin:0!important;
  justify-self:center!important;
  align-self:center!important;
  z-index:2!important;
  flex:none!important;
}
.v760-number-list li>span,
.v760-timeline article>span{
  min-width:0!important;
  width:100%!important;
  padding-left:.22cqw!important;
  position:relative!important;
  z-index:1!important;
}
.v760-number-list:before,
.v760-timeline:before{
  left:2.72cqw!important;
}
.output-story .v760-number-list li,
.output-story .v760-timeline article{
  grid-template-columns:6.4cqw minmax(0,1fr) 3.5cqw!important;
  column-gap:1.05cqw!important;
  padding-left:.65cqw!important;
}
.output-story .v760-number-list:before,
.output-story .v760-timeline:before{
  left:3.18cqw!important;
}
/* La sombra 3D se conserva, pero no invade la columna de texto. */
.v760-number-list li>b,
.v760-timeline article>b{
  box-shadow:
    inset 0 .25cqw .4cqw rgba(255,255,255,.46),
    inset 0 -.3cqw .48cqw rgba(20,0,55,.42),
    0 .28cqw .5cqw rgba(48,12,105,.24)!important;
}

/* ==================================================================
   ENTERPRISE 76.3 · AJUSTE IDENTIDAD VISUAL OFICIAL BANCO RIPLEY
   Paleta oficial: #523178, #8C4799, #F9B52C, #2E1B43, #A2A2A2, #AD9DBF
   Tipografía oficial: Montserrat
   ================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
:root{
  --purple:#523178;
  --purple2:#2E1B43;
  --purple3:#8C4799;
  --pink:#8C4799;
  --red:#523178;
  --orange:#F9B52C;
  --yellow:#F9B52C;
  --green:#523178;
  --blue:#8C4799;
  --cyan:#AD9DBF;
  --ink:#2E1B43;
  --muted:#6f6879;
  --bg:#f7f4fa;
  --line:#e6dff0;
  --shadow:0 12px 28px rgba(46,27,67,.10)
}
html,body,button,input,select,textarea{font-family:'Montserrat',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
body{background:var(--bg);color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#2E1B43 0%,#523178 58%,#8C4799 100%)}
.topbar{background:linear-gradient(90deg,#2E1B43 0%,#523178 55%,#8C4799 100%)}
.nav-btn.active,.nav-btn:hover{background:linear-gradient(90deg,#F9B52C 0 4px,rgba(255,255,255,.14) 4px)}
.menu-btn,.notify,.ai-status,.generation,.profile{border-color:rgba(255,255,255,.18)}

.brand{background:#fff}
.brand.brand-art{padding:16px 18px!important;min-height:108px;display:grid;place-items:center;background:linear-gradient(180deg,#ffffff 0%,#faf6fe 100%)!important}
.brand-visual{position:relative;width:100%;max-width:220px;height:74px;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#4f2b73 0%,#63358f 56%,#8c4799 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 16px 28px rgba(46,27,67,.18)}
.brand-visual:before{content:"";position:absolute;inset:1px;border-radius:21px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0));pointer-events:none}
.brand-orb,.brand-wave,.brand-spark{position:absolute;display:block;pointer-events:none}
.brand-orb-a{width:86px;height:86px;right:-10px;top:-20px;border-radius:50%;background:radial-gradient(circle,rgba(249,181,44,.9) 0%,rgba(249,181,44,.36) 35%,rgba(249,181,44,0) 72%);filter:blur(1px);opacity:.95}
.brand-orb-b{width:98px;height:98px;left:-28px;bottom:-42px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.24) 0%,rgba(255,255,255,.12) 40%,rgba(255,255,255,0) 76%)}
.brand-wave-a{width:172px;height:172px;right:-28px;bottom:-118px;border-radius:50%;border:16px solid rgba(255,255,255,.2);border-left-color:transparent;border-bottom-color:transparent;transform:rotate(12deg)}
.brand-wave-b{width:150px;height:150px;left:-52px;top:-88px;border-radius:50%;border:14px solid rgba(255,255,255,.12);border-right-color:transparent;border-bottom-color:transparent;transform:rotate(-18deg)}
.brand-spark{width:96px;height:34px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.34);box-shadow:0 10px 22px rgba(31,10,52,.16),inset 0 1px 0 rgba(255,255,255,.35)}
.brand-spark:before,.brand-spark:after{content:"";position:absolute;top:50%;transform:translateY(-50%);border-radius:999px}
.brand-spark:before{left:18px;width:34px;height:8px;background:linear-gradient(90deg,#f04b6e 0%,#f9b52c 52%,#b271f0 100%);box-shadow:0 0 18px rgba(249,181,44,.34)}
.brand-spark:after{right:18px;width:8px;height:8px;background:#ffffff;box-shadow:0 0 0 5px rgba(255,255,255,.12),0 0 20px rgba(255,255,255,.24)}
@media (prefers-reduced-motion:no-preference){
  .brand-orb-a{animation:brandGlowFloat 7s ease-in-out infinite}
  .brand-wave-a{animation:brandWaveDrift 8.5s ease-in-out infinite}
  .brand-wave-b{animation:brandWaveDriftAlt 9.5s ease-in-out infinite}
  .brand-spark{animation:brandGlassBreath 5.5s ease-in-out infinite}
}
@keyframes brandGlowFloat{0%,100%{transform:translate3d(0,0,0);opacity:.88}50%{transform:translate3d(-6px,4px,0);opacity:1}}
@keyframes brandWaveDrift{0%,100%{transform:rotate(12deg) translate3d(0,0,0)}50%{transform:rotate(16deg) translate3d(-4px,-3px,0)}}
@keyframes brandWaveDriftAlt{0%,100%{transform:rotate(-18deg) translate3d(0,0,0)}50%{transform:rotate(-13deg) translate3d(5px,3px,0)}}
@keyframes brandGlassBreath{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.03)}}
@media(max-width:1200px){.brand.brand-art{padding:12px 8px!important}.brand-visual{height:66px;border-radius:18px}.brand-spark{width:78px;height:30px}.brand-spark:before{left:14px;width:28px;height:7px}.brand-spark:after{right:14px;width:7px;height:7px}}
@media(max-width:930px){.brand.brand-art{min-height:92px;padding:14px 16px!important}.brand-visual{max-width:210px;height:72px}}

.page-title p,.generation small,.profile small,.sidebar footer small{color:#e8deef}
.ai-status small,.ready{color:#F9E18A!important}
.avatar{color:#523178}
.card,.kpis article,.library-item,.mobile-crisis-grid article,.assistant-content,.sheet-content,.voice-side{border-color:var(--line)}
.knowledge-hero,.welcome-new,.incident-header,.crisis header{background:linear-gradient(115deg,#2E1B43,#523178 62%,#8C4799)}
.incident-copy>span,.knowledge-hero span,.knowledge-upload header span,.knowledge-search-card header span,.knowledge-library header span,.sheet-content header span,.assistant-content header span,.welcome-new span{color:#F9B52C}
.incident-icon,.voice-orb,.query-mic,.ai-assistant-fab{background:linear-gradient(135deg,#F9B52C,#8C4799 56%,#523178)}
.ai-assistant-fab{box-shadow:0 15px 30px rgba(82,49,120,.24)}
.analysis-list h3,.map-card h3,.data-card h3,.timeline-card h3,.crisis-body h3,.crisis-body h4,.knowledge-upload h3,.knowledge-search-card h3,.knowledge-library h3,.page-title h1,.hero h1,.section-title,.panel-title{color:#523178}
.analysis-progress i,.bar i,.bar.pink i,.bar.blue i,.bar.orange i,.bar.green i,.criticality i{background:linear-gradient(90deg,#523178,#8C4799,#F9B52C)}
.ico.purple{background:#efe8f7;color:#523178}
.ico.orange{background:#fff5dd;color:#8C4799}
.ico.green{background:#f1ebf8;color:#523178}
.ico.blue{background:#f2eef8;color:#8C4799}
.ico.pink{background:#f5edf8;color:#523178}
.dot.red,.dot.orange,.dot.blue,.dot.purple,.dot.cyan,.dot.green{background:#523178}
.meta em,.notify b{background:#F9B52C;color:#2E1B43;font-weight:800}
.ok{background:#efe8f7;color:#523178}.warn{background:#fff4d6;color:#7a5b0f}
.light-button,.download-btn,.investigation-link-btn,.cphs-export-button{background:#523178!important;color:#fff!important;border-color:#523178!important}
.light-button:hover,.download-btn:hover,.investigation-link-btn:hover,.cphs-export-button:hover{background:#8C4799!important;border-color:#8C4799!important}
button.primary,button[type="submit"],.btn-primary,.action-primary{background:#523178!important;color:#fff!important;border-color:#523178!important}
button.secondary,.btn-secondary,.action-secondary{background:#fff!important;color:#523178!important;border-color:#523178!important}
input:focus,select:focus,textarea:focus{outline:none;border-color:#8C4799!important;box-shadow:0 0 0 3px rgba(140,71,153,.16)!important}
/* Posters / fichas preventivas */
.v760-brand,.v760-footer{background:linear-gradient(100deg,#2E1B43,#523178 60%,#8C4799)!important}
.v760-brand:after,.v760-wordmark span{background:linear-gradient(90deg,#F9B52C 0 55%,#AD9DBF 55% 100%)!important}
.v760-pr,.v760-number-list li>b,.v760-timeline article>b,.v760-actions article>b{background:linear-gradient(145deg,#AD9DBF,#8C4799 52%,#523178)!important}
.v760-heading small,.v760-stack small{color:#8C4799!important}
.v760-heading h2,.v760-alert-row strong,.v760-trace strong,.v760-report strong,.v760-comparison h3,.v760-card-title strong,.v760-alert-hero h3{color:#523178!important}
.v760-hero>strong{background:linear-gradient(180deg,#8C4799,#523178)!important}
.v760-alert-hero{background:linear-gradient(135deg,#2E1B43,#523178 66%,#8C4799)!important}
.v760-alert-icon{background:linear-gradient(145deg,#F9B52C,#8C4799 58%,#523178)!important;color:#fff}
.v760-report,.v760-comparison .bad,.v760-actions article{border-color:#e3d7eb}
.v760-comparison .good{background:linear-gradient(160deg,#f4eff8,#ede4f4)!important;border-color:#d6c7e4!important}
.v760-comparison .bad{background:linear-gradient(160deg,#faf7fc,#f0e8f5)!important}
.v760-alert-row i{background:linear-gradient(145deg,#F9B52C,#d9a11e)!important;color:#2E1B43!important}
.v760-alert-row i.ok{background:linear-gradient(145deg,#AD9DBF,#8C4799)!important;color:#fff!important}
@media (max-width: 930px){
  .sidebar{background:linear-gradient(180deg,#2E1B43,#523178 60%,#8C4799)}
  .mobile-nav{background:#ffffff;border-top:1px solid var(--line)}
}

/* ==================================================================
   ENTERPRISE 76.4 · BOTONES FUNCIONALES Y PRIORIDAD DE INTERACCIÓN
   ================================================================== */
.preventive-v3-actions,
.creative-strategy-grid,
.v755-output-cards,
.creative-preview-toolbar{position:relative;z-index:5}
.preventive-v3-actions button,
.creative-strategy,
.v755-output-card,
#downloadPosterPng,
#downloadPosterPdf,
#sharePosterCphs{
  position:relative!important;
  z-index:6!important;
  pointer-events:auto!important;
  touch-action:manipulation;
  user-select:none;
  -webkit-tap-highlight-color:rgba(82,49,120,.14)
}
.preventive-v3-actions button:active,
.creative-strategy:active,
.v755-output-card:active{transform:translateY(1px) scale(.995)}
.preventive-v3-actions button.br-action-done{
  outline:3px solid rgba(249,181,44,.32);
  border-color:#F9B52C!important
}
.br764-toast{
  position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:9999;
  transform:translate(-50%,18px);opacity:0;pointer-events:none;
  min-width:min(420px,calc(100vw - 32px));max-width:620px;padding:13px 16px;
  border-radius:14px;background:#2E1B43;color:#fff;text-align:center;
  font:700 13px/1.3 'Montserrat',sans-serif;
  box-shadow:0 16px 36px rgba(46,27,67,.28);transition:.22s ease
}
.br764-toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:931px){.br764-toast{bottom:24px}}

/* ==================================================================
   ENTERPRISE 76.6 · CONSOLIDACIÓN FINAL PC / MÓVIL / IPAD
   ================================================================== */
:root{
  --br-purple-main:#523178;
  --br-purple-medium:#8C4799;
  --br-yellow:#F9B52C;
  --br-purple-dark:#2E1B43;
  --br-gray:#A2A2A2;
  --br-lilac:#AD9DBF;
}
.v760-poster{font-family:'Montserrat',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
/* WhatsApp 4:5: reserva espacio real para alertas, trazabilidad y pie. */
.output-square .v760-poster{
  grid-template-rows:6.6% 11.2% 54.6% 21.8% 5.8%!important;
}
.output-square .v760-poster.v760-strategy-alert{
  grid-template-rows:6.6% 11.2% 60.4% 16% 5.8%!important;
}
.output-square .v760-five{grid-template-rows:30% 70%!important}
.output-square .v760-checklist,
.output-square .v760-lesson,
.output-square .v760-steps,
.output-square .v760-compare{grid-template-rows:21% 79%!important}
.output-square .v760-utility{grid-template-rows:37% 63%!important;gap:.34cqw!important}
.output-square .v760-number-list{gap:.34cqw!important}
.output-square .v760-number-list li,
.output-square .v760-timeline article{padding-block:.2cqw!important}
.output-square .v760-number-list li>span,
.output-square .v760-timeline article>span{
  font-size:clamp(6px,.88cqw,9.5px)!important;
  line-height:1.02!important;
  -webkit-line-clamp:2!important;
}
.output-square .v760-alert-row article{padding-block:.28cqw!important}
.output-square .v760-trace{padding:.3cqw!important;gap:.25cqw!important}
.output-square .v760-trace div{padding:.18cqw .4cqw!important}
/* iPad: controles más amplios y vista previa centrada, sin adoptar el tamaño PC completo. */
@media (min-width: 768px) and (max-width: 1180px){
  .main{padding-inline:22px!important}
  .creative-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v755-output-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .preventive-v3-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .creative-preview-shell.output-square .risk-visual-poster{width:min(82vw,720px)!important}
  .creative-preview-shell.output-story .risk-visual-poster{width:min(70vw,650px)!important}
  button,.creative-strategy,.v755-output-card{min-height:52px}
}
/* Móvil: zonas táctiles cómodas y contenido sin desborde horizontal. */
@media (max-width: 767px){
  .creative-strategy-grid,.v755-output-cards,.preventive-v3-actions{grid-template-columns:1fr 1fr!important}
  .creative-strategy,.v755-output-card,.preventive-v3-actions button{min-height:64px!important}
  .creative-preview-shell{overflow-x:hidden!important}
  .creative-preview-shell.output-square .risk-visual-poster,
  .creative-preview-shell.output-story .risk-visual-poster{width:100%!important;max-width:100%!important}
}

/* ==================================================================
   ENTERPRISE 76.7 · VISTA PREVIA AMPLIADA EN PC
   Mantiene intactos los tamaños móvil e iPad y aprovecha el ancho real
   de pantallas de escritorio para facilitar revisión y lectura.
   ================================================================== */
@media (min-width:1181px){
  #diffusion .creative-preview-shell{
    width:100%!important;
    max-width:none!important;
    overflow:visible!important;
    padding-inline:clamp(10px,2vw,34px)!important;
  }
  #diffusion .creative-preview-shell .risk-visual-poster{
    margin-inline:auto!important;
    transform:none!important;
  }
  #diffusion .creative-preview-shell.output-story .risk-visual-poster{
    width:min(100%,880px)!important;
    max-width:880px!important;
  }
  #diffusion .creative-preview-shell.output-square .risk-visual-poster{
    width:min(100%,1040px)!important;
    max-width:1040px!important;
  }
  #diffusion .creative-preview-shell.output-portrait .risk-visual-poster{
    width:min(100%,900px)!important;
    max-width:900px!important;
  }
  #diffusion .creative-preview-shell.output-landscape .risk-visual-poster,
  #diffusion .creative-preview-shell.output-presentation .risk-visual-poster{
    width:min(100%,1280px)!important;
    max-width:1280px!important;
  }
  #diffusion .creative-preview-shell.output-story,
  #diffusion .creative-preview-shell.output-square,
  #diffusion .creative-preview-shell.output-portrait,
  #diffusion .creative-preview-shell.output-landscape,
  #diffusion .creative-preview-shell.output-presentation{
    display:block!important;
  }
}

/* ==================================================================
   ENTERPRISE 76.8 · LEGIBILIDAD MÓVIL ACUMULATIVA
   Incluye la vista PC ampliada de 76.7 y aumenta la tipografía interna
   de fichas WhatsApp / Historia sin alterar sus proporciones.
   ================================================================== */
/* Texto principal de recomendaciones y secuencias */
.v760-number-list li>span,
.v760-timeline article>span{
  font-size:clamp(9px,1.14cqw,13.2px)!important;
  line-height:1.12!important;
  font-weight:800!important;
  -webkit-line-clamp:3!important;
}
/* Checklist */
.v760-card-title strong{
  font-size:clamp(8.8px,1.08cqw,12.4px)!important;
  line-height:1.08!important;
}
.v760-card-title small{
  font-size:clamp(7.2px,.84cqw,9.8px)!important;
  line-height:1.08!important;
}
.v760-check-list li>span{
  font-size:clamp(8.8px,1.08cqw,12.4px)!important;
  line-height:1.12!important;
  font-weight:790!important;
  -webkit-line-clamp:3!important;
}
.v760-result span{
  font-size:clamp(7.2px,.84cqw,9.6px)!important;
  line-height:1.05!important;
}
/* Lección aprendida, comparación y alerta */
.v760-stack small{
  font-size:clamp(7.2px,.82cqw,9.5px)!important;
}
.v760-stack p{
  font-size:clamp(8.4px,1.02cqw,11.8px)!important;
  line-height:1.12!important;
}
.v760-comparison h3{
  font-size:clamp(8.2px,.98cqw,11.2px)!important;
}
.v760-comparison p>span{
  font-size:clamp(7.8px,.94cqw,10.8px)!important;
  line-height:1.1!important;
}
.v760-alert-hero small{
  font-size:clamp(7.2px,.82cqw,9.5px)!important;
}
.v760-alert-hero h3{
  font-size:clamp(11px,1.48cqw,17px)!important;
}
.v760-alert-hero p,
.v760-actions article>span{
  font-size:clamp(8px,.96cqw,11px)!important;
  line-height:1.1!important;
}
.v760-report strong{
  font-size:clamp(8.2px,.98cqw,11px)!important;
}
.v760-report small{
  font-size:clamp(7.2px,.84cqw,9.6px)!important;
  line-height:1.08!important;
}
/* Alertas, datos maestros y pie */
.v760-alert-row strong{
  font-size:clamp(8.6px,1.02cqw,11.8px)!important;
  line-height:1.05!important;
}
.v760-alert-row small{
  font-size:clamp(7.4px,.88cqw,10.2px)!important;
  line-height:1.1!important;
  -webkit-line-clamp:3!important;
}
.v760-trace small{
  font-size:clamp(6.6px,.72cqw,8.4px)!important;
  line-height:1.05!important;
}
.v760-trace strong{
  font-size:clamp(7.8px,.9cqw,10.4px)!important;
  line-height:1.08!important;
}
.v760-footer{
  font-size:clamp(8.2px,.96cqw,11px)!important;
}
/* Bajada y etiqueta del encabezado */
.v760-heading small{
  font-size:clamp(8px,1.06cqw,12px)!important;
}
.v760-heading p{
  font-size:clamp(8px,1.04cqw,11.8px)!important;
  line-height:1.1!important;
}
.v760-hero>strong{
  font-size:clamp(7.4px,.92cqw,10.4px)!important;
}
/* Ajuste fino exclusivo para teléfonos: más aire alrededor del texto. */
@media (max-width:767px){
  .v760-number-list li,
  .v760-timeline article{
    column-gap:1.05cqw!important;
    padding-block:.34cqw!important;
  }
  .output-story .v760-number-list li>span,
  .output-story .v760-timeline article>span,
  .output-story .v760-check-list li>span{
    font-size:clamp(9.5px,1.2cqw,13.5px)!important;
  }
  .output-square .v760-number-list li>span,
  .output-square .v760-timeline article>span,
  .output-square .v760-check-list li>span{
    font-size:clamp(9px,1.14cqw,13px)!important;
  }
  .v760-alert-row article{
    gap:.7cqw!important;
    padding-inline:.72cqw!important;
  }
  .v760-trace div{
    padding-inline:.58cqw!important;
  }
}

/* ==================================================================
   ENTERPRISE 76.9 · SELECTOR MANUAL AUTO / PC / MÓVIL
   La vista de la interfaz es independiente del formato de salida.
   ================================================================== */
.ui-view-switcher{display:flex;align-items:center;gap:4px;margin-left:auto;padding:4px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px)}
.ui-view-label{padding:0 5px;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#e8def1}
.ui-view-switcher button{height:32px;min-width:50px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#eee7f4;display:flex;align-items:center;justify-content:center;gap:5px;font:800 11px/1 Montserrat,Arial,sans-serif;cursor:pointer;transition:.18s ease}
.ui-view-switcher button svg{width:15px;height:15px}
.ui-view-switcher button:hover{background:rgba(255,255,255,.13)}
.ui-view-switcher button.active{background:#F9B52C;color:#2E1B43;box-shadow:0 4px 12px rgba(0,0,0,.18)}

/* PC manual: usa el ancho real aunque la ventana haya quedado angosta por zoom o detección. */
html[data-ui-view="desktop"] body{min-width:1181px}
html[data-ui-view="desktop"] .app{grid-template-columns:230px minmax(0,1fr)}
html[data-ui-view="desktop"] .sidebar{display:flex!important}
html[data-ui-view="desktop"] .main{width:100%;max-width:none!important}
html[data-ui-view="desktop"] main{width:100%;max-width:1900px;padding:18px clamp(18px,2.2vw,42px)}
html[data-ui-view="desktop"] .topbar{min-width:0;padding-inline:clamp(18px,2vw,34px)}
html[data-ui-view="desktop"] .mobile-nav,
html[data-ui-view="desktop"] .mobile-more-sheet{display:none!important}
html[data-ui-view="desktop"] #diffusion .creative-preview-shell{width:100%!important;max-width:none!important;overflow:visible!important;padding-inline:clamp(12px,2.5vw,46px)!important}
html[data-ui-view="desktop"] #diffusion .creative-preview-shell.output-story .risk-visual-poster{width:min(100%,980px)!important;max-width:980px!important}
html[data-ui-view="desktop"] #diffusion .creative-preview-shell.output-square .risk-visual-poster{width:min(100%,1120px)!important;max-width:1120px!important}
html[data-ui-view="desktop"] #diffusion .creative-preview-shell.output-portrait .risk-visual-poster{width:min(100%,980px)!important;max-width:980px!important}
html[data-ui-view="desktop"] #diffusion .creative-preview-shell.output-landscape .risk-visual-poster,
html[data-ui-view="desktop"] #diffusion .creative-preview-shell.output-presentation .risk-visual-poster{width:min(100%,1450px)!important;max-width:1450px!important}

/* Móvil manual: presenta la app dentro de un teléfono centrado en PC. */
html[data-ui-view="mobile"] body{background:#21142e;overflow-x:hidden}
html[data-ui-view="mobile"] .app{display:block;width:min(100%,430px);min-height:100vh;margin:0 auto;background:var(--bg);box-shadow:0 0 0 1px rgba(255,255,255,.1),0 24px 70px rgba(0,0,0,.38)}
html[data-ui-view="mobile"] .sidebar{display:none!important}
html[data-ui-view="mobile"] .main{width:100%;min-width:0;padding-bottom:82px}
html[data-ui-view="mobile"] .topbar{height:68px;padding:0 10px;gap:7px;position:sticky}
html[data-ui-view="mobile"] .menu-btn{display:flex!important}
html[data-ui-view="mobile"] .page-title h1{font-size:12px;white-space:nowrap}
html[data-ui-view="mobile"] .page-title p{display:none}
html[data-ui-view="mobile"] .ai-status,
html[data-ui-view="mobile"] .generation,
html[data-ui-view="mobile"] .browser-audio-badge,
html[data-ui-view="mobile"] .notify,
html[data-ui-view="mobile"] .profile{display:none!important}
html[data-ui-view="mobile"] .ui-view-switcher{margin-left:auto;padding:3px;gap:2px}
html[data-ui-view="mobile"] .ui-view-label,
html[data-ui-view="mobile"] .ui-view-switcher button span{display:none}
html[data-ui-view="mobile"] .ui-view-switcher button{min-width:31px;width:31px;height:31px;padding:0}
html[data-ui-view="mobile"] main{width:100%;max-width:none;padding:10px}
html[data-ui-view="mobile"] .mobile-nav{display:flex!important;position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);z-index:100}
html[data-ui-view="mobile"] .view{min-width:0}
html[data-ui-view="mobile"] #diffusion .creative-preview-shell{padding-inline:0!important;overflow:hidden!important}
html[data-ui-view="mobile"] #diffusion .creative-preview-shell .risk-visual-poster{width:100%!important;max-width:100%!important}

@media(max-width:900px){
  .ui-view-label{display:none}
  .ui-view-switcher button span{display:none}
  .ui-view-switcher button{min-width:32px;width:32px;padding:0}
}


/* ==================================================================
   ENTERPRISE 77.0 · AJUSTE FINO MÓVIL
   - Quita truncados agresivos en títulos y bajadas
   - Da más espacio real a listas y bloques inferiores
   - Mejora lectura en WhatsApp e Historia dentro del iPhone
   ================================================================== */
.v760-heading h2{
  -webkit-line-clamp:3!important;
  font-size:clamp(13.8px,2.35cqw,27px)!important;
}
.v760-heading p{
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.v760-main{gap:.68cqw!important}
.v760-five{grid-template-rows:30% 70%!important}
.v760-number-list{gap:.34cqw!important}
.v760-number-list li,.v760-timeline article{
  min-height:0!important;
  padding:.26cqw .52cqw!important;
  column-gap:.9cqw!important;
}
.v760-number-list li>span,.v760-timeline article>span{
  font-size:clamp(8.8px,1.08cqw,12.4px)!important;
  line-height:1.1!important;
  -webkit-line-clamp:3!important;
}
.v760-alert-row article{
  align-items:flex-start!important;
  padding:.42cqw .65cqw!important;
}
.v760-alert-row small{
  -webkit-line-clamp:3!important;
}
.v760-trace{padding:.34cqw!important;gap:.32cqw!important}
.v760-trace strong{
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
.output-square .v760-poster{
  grid-template-rows:6.2% 12.2% 59.2% 17% 5.4%!important;
}
.output-square .v760-heading h2{
  font-size:clamp(14.8px,2.5cqw,28px)!important;
  -webkit-line-clamp:3!important;
}
.output-square .v760-heading p{
  font-size:clamp(7.8px,1cqw,11.2px)!important;
}
.output-square .v760-five{grid-template-rows:28% 72%!important}
.output-square .v760-number-list li>span,
.output-square .v760-timeline article>span,
.output-square .v760-check-list li>span{
  font-size:clamp(8.9px,1.1cqw,12.8px)!important;
}
.output-square .v760-utility{grid-template-rows:39% 61%!important;gap:.38cqw!important}
.output-story .v760-poster{
  grid-template-rows:5.8% 11.8% 58.6% 18.3% 5.5%!important;
}
.output-story .v760-heading{padding-inline:4cqw!important}
.output-story .v760-heading h2{
  font-size:clamp(15px,2.75cqw,31px)!important;
  -webkit-line-clamp:3!important;
}
.output-story .v760-heading p{font-size:clamp(7.6px,.98cqw,10.8px)!important}
.output-story .v760-main{padding-inline:4cqw!important;gap:.9cqw!important}
.output-story .v760-five{grid-template-rows:27% 73%!important}
.output-story .v760-number-list{gap:.46cqw!important}
.output-story .v760-number-list li,
.output-story .v760-timeline article{padding:.3cqw .58cqw!important}
.output-story .v760-number-list li>span,
.output-story .v760-timeline article>span,
.output-story .v760-check-list li>span{
  font-size:clamp(8.8px,1.1cqw,12.6px)!important;
  line-height:1.12!important;
  -webkit-line-clamp:3!important;
}
.output-story .v760-alert-row,
.output-story .v760-trace{margin-inline:4cqw!important}
.output-story .v760-alert-row{padding-inline:0!important}
.output-story .v760-alert-row article{gap:.6cqw!important}
.output-story .v760-alert-row strong{font-size:clamp(7.8px,.92cqw,10.6px)!important}
.output-story .v760-alert-row small{font-size:clamp(6.7px,.82cqw,9.6px)!important}
.output-story .v760-trace small{font-size:clamp(6.1px,.68cqw,8px)!important}
.output-story .v760-trace strong{font-size:clamp(7px,.82cqw,9.6px)!important;line-height:1.08!important}
@media (max-width:767px){
  .v760-heading h2{font-size:clamp(14px,2.5cqw,27px)!important}
  .v760-heading p{font-size:clamp(7.6px,.98cqw,11px)!important}
  .v760-number-list li,.v760-timeline article{padding-block:.3cqw!important}
  .v760-alert-row article{padding-inline:.66cqw!important}
}


/* ==================================================================
   ENTERPRISE 77.1 · GUARDADO NATIVO IPHONE / IPAD
   ================================================================== */
body.ios-save-open{overflow:hidden!important}
.ios-file-save-sheet{position:fixed;inset:0;z-index:10000;display:grid;align-items:end;font-family:'Montserrat',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.ios-save-backdrop{position:absolute;inset:0;border:0;background:rgba(25,12,41,.64);backdrop-filter:blur(5px)}
.ios-save-dialog{position:relative;width:min(100%,560px);max-height:92dvh;margin:0 auto;padding:10px 18px calc(22px + env(safe-area-inset-bottom));overflow:auto;border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -24px 70px rgba(31,12,51,.32);color:#2E1B43}
.ios-save-handle{width:52px;height:5px;margin:2px auto 13px;border-radius:999px;background:#d8cfe0}
.ios-save-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.ios-save-dialog header small{display:block;color:#8C4799;font-size:.68rem;font-weight:900;letter-spacing:.12em}
.ios-save-dialog header h3{margin:4px 0 0;color:#523178;font-size:1.3rem;line-height:1.08}
.ios-save-close{width:42px;height:42px;flex:0 0 auto;border:0;border-radius:50%;background:#f2edf6;color:#523178;font-size:25px;line-height:1;cursor:pointer}
.ios-save-preview{display:grid;place-items:center;max-height:43dvh;padding:10px;border:1px solid #ded2e8;border-radius:18px;background:linear-gradient(145deg,#faf7fc,#eee5f4);overflow:hidden}
.ios-save-preview img{display:block;width:auto;max-width:100%;max-height:40dvh;object-fit:contain;border-radius:11px;background:#fff;box-shadow:0 10px 28px rgba(51,20,83,.18)}
.ios-save-pdf-card{min-height:150px;padding:20px;display:grid;align-content:center;gap:7px;border:1px solid #d7c8e4;border-radius:20px;background:linear-gradient(145deg,#f9f5fb,#ece2f3)}
.ios-save-pdf-card span{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#523178;color:#fff;font-weight:950;box-shadow:0 9px 20px rgba(82,49,120,.25)}
.ios-save-pdf-card strong{margin-top:4px;color:#523178;overflow-wrap:anywhere}
.ios-save-pdf-card small{color:#74677d}
.ios-save-help{margin:14px 2px;color:#65596e;font-size:.9rem;line-height:1.42}
.ios-save-actions{display:grid;grid-template-columns:1fr;gap:10px}
.ios-save-actions button{min-height:54px;border-radius:16px;font-family:inherit;font-size:1rem;font-weight:850;cursor:pointer}
.ios-save-primary{border:0;background:linear-gradient(135deg,#523178,#8C4799);color:#fff;box-shadow:0 10px 24px rgba(82,49,120,.24)}
.ios-save-primary:disabled{opacity:.65}
.ios-save-secondary{border:2px solid #523178;background:#fff;color:#523178}
.ios-save-filename{display:block;margin-top:11px;color:#8a7e91;font-size:.68rem;text-align:center;overflow-wrap:anywhere}
@media(min-width:700px){.ios-save-dialog{margin-bottom:18px;border-radius:28px}.ios-file-save-sheet{align-items:center}.ios-save-actions{grid-template-columns:1.25fr 1fr}}

/* ==================================================================
   ENTERPRISE 77.2 · CARGA MASIVA DE CARPETAS EN BIBLIOTECA
   ================================================================== */
.knowledge-actions-documents{display:grid!important;grid-template-columns:1fr 1fr!important}
.knowledge-actions-documents .gradient{grid-column:1/-1}
.folder-action{border-color:#AD9DBF!important;background:linear-gradient(145deg,#fff,#f3edf8)!important}
.knowledge-folder-drop{width:100%;margin-top:12px;padding:14px;border:1.5px dashed #AD9DBF;border-radius:14px;background:linear-gradient(145deg,#fff,#f7f2fa);display:flex;align-items:center;justify-content:center;gap:11px;color:#523178;text-align:left;cursor:pointer;transition:.2s}
.knowledge-folder-drop:hover,.knowledge-folder-drop.dragging{border-color:#8C4799;background:#f2e9f7;transform:translateY(-1px);box-shadow:0 10px 24px rgba(82,49,120,.12)}
.knowledge-folder-drop>svg{width:28px;height:28px;color:#8C4799}
.knowledge-folder-drop span{display:grid;gap:3px}.knowledge-folder-drop strong{font-size:.78rem}.knowledge-folder-drop small{color:#746a7c;font-size:.68rem;line-height:1.3}
.bulk-upload-panel{margin-top:14px;padding:14px;border:1px solid #d6c7e2;border-radius:17px;background:linear-gradient(155deg,#fff,#f7f2fa);box-shadow:0 14px 34px rgba(82,49,120,.12)}
.bulk-upload-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e1d6e9}
.bulk-upload-panel>header span{display:block;color:#8C4799;font-size:.64rem;font-weight:950;letter-spacing:.11em}.bulk-upload-panel>header h4{margin:4px 0 0;color:#523178;font-size:.96rem}
.bulk-upload-panel>header button{width:32px;height:32px;border:0;border-radius:50%;background:#eee5f4;color:#523178;display:grid;place-items:center}.bulk-upload-panel>header button svg{width:17px;height:17px}
.bulk-upload-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.bulk-upload-summary article{padding:10px;border:1px solid #e0d5e8;border-radius:11px;background:#fff}.bulk-upload-summary small{display:block;color:#74697d;font-size:.61rem;font-weight:800}.bulk-upload-summary strong{display:block;margin-top:4px;color:#523178;font-size:.94rem}
.bulk-upload-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bulk-upload-settings label{display:grid;gap:5px;color:#523178;font-size:.68rem;font-weight:850}.bulk-upload-settings input,.bulk-upload-settings select{margin:0!important;padding:9px!important;font-size:.72rem!important}
.bulk-path-option{display:flex!important;align-items:flex-start!important;gap:8px!important;margin:11px 0!important;padding:9px 10px;border-radius:10px;background:#fff;border:1px solid #e0d5e8;color:#594b64!important;font-size:.68rem!important;line-height:1.35}.bulk-path-option input{width:17px!important;height:17px!important;flex:0 0 auto;margin:0!important;accent-color:#523178}
.bulk-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 7px}.bulk-list-toolbar>span{color:#6e6377;font-size:.66rem}.bulk-list-toolbar div{display:flex;gap:5px}.bulk-list-toolbar button{border:1px solid #d7c9e3;border-radius:999px;background:#fff;color:#523178;padding:5px 8px;font-size:.61rem;font-weight:850}
.bulk-file-list{max-height:310px;overflow:auto;border:1px solid #ddd1e6;border-radius:12px;background:#fff}.bulk-file-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;border-bottom:1px solid #eee7f2}.bulk-file-row:last-child{border-bottom:0}.bulk-file-row input{width:16px!important;height:16px!important;margin:0!important;accent-color:#523178}.bulk-file-copy{min-width:0}.bulk-file-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#34204c;font-size:.72rem}.bulk-file-copy small{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#807587;font-size:.6rem}.bulk-file-meta{display:grid;justify-items:end;gap:3px}.bulk-file-meta small{color:#7d7184;font-size:.58rem}.bulk-file-badge{padding:3px 6px;border-radius:999px;background:#efe8f5;color:#523178;font-size:.55rem;font-weight:900}.bulk-file-badge.duplicate{background:#fff3d7;color:#785500}.bulk-file-more{padding:10px;text-align:center;color:#756a7c;font-size:.65rem;background:#faf8fc}
.bulk-progress{margin-top:10px}.bulk-progress>span{display:block;height:8px;border-radius:999px;background:#e8dfef;overflow:hidden}.bulk-progress>span i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#523178,#8C4799,#F9B52C);transition:width .18s}.bulk-progress small{display:block;margin-top:5px;color:#6e6377;font-size:.64rem}
.bulk-upload-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}.bulk-upload-actions button{min-height:39px;border-radius:10px;padding:9px 12px;font-size:.69rem;font-weight:900}.bulk-upload-actions .primary{border:0;background:#523178;color:#fff;display:flex;align-items:center;gap:7px}.bulk-upload-actions .primary svg{width:17px;height:17px}.bulk-upload-actions .secondary{border:1px solid #d1c2dc;background:#fff;color:#523178}
.library-item .library-path{display:block;margin-top:5px;color:#8C4799!important;font-size:.6rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.knowledge-actions-documents{grid-template-columns:1fr!important}.knowledge-actions-documents .gradient{grid-column:auto}.bulk-upload-settings{grid-template-columns:1fr}.bulk-upload-summary{grid-template-columns:1fr 1fr}.bulk-upload-summary article:last-child{grid-column:1/-1}.bulk-list-toolbar{align-items:flex-start;flex-direction:column}.bulk-upload-actions{display:grid;grid-template-columns:1fr}.bulk-file-row{grid-template-columns:22px minmax(0,1fr)}.bulk-file-meta{grid-column:2;justify-items:start;grid-auto-flow:column;justify-content:start}.knowledge-folder-drop{align-items:flex-start}}


/* ==================================================================
   ENTERPRISE 77.3 · CORRECCIÓN DE MATERIALES MÓVILES
   ================================================================== */
.v760-poster.v760-strategy-checklist,
.v760-poster.v760-strategy-right-wrong,
.v760-poster.v760-strategy-alert{
  grid-template-rows:6.4% 12.6% 64% 11.2% 5.8%!important;
}
.v760-strategy-checklist .v760-heading p,
.v760-strategy-right-wrong .v760-heading p,
.v760-strategy-alert .v760-heading p{display:none!important}
.v760-strategy-checklist .v760-heading h2,
.v760-strategy-right-wrong .v760-heading h2,
.v760-strategy-alert .v760-heading h2{
  -webkit-line-clamp:3!important;
  font-size:clamp(14px,2.45cqw,28px)!important;
  line-height:1!important;
}
.v760-strategy-checklist .v760-heading small,
.v760-strategy-right-wrong .v760-heading small,
.v760-strategy-alert .v760-heading small{
  font-size:clamp(7px,.95cqw,10.5px)!important;
  white-space:nowrap!important;
}

/* Checklist: cinco controles completos, sin que alertas externas tapen el panel. */
.v760-strategy-checklist .v760-checklist{
  grid-template-rows:24% 76%!important;
  gap:.62cqw!important;
}
.v760-strategy-checklist .v760-panel{
  grid-template-rows:12% 77% 11%!important;
  gap:.26cqw!important;
  padding:.5cqw!important;
}
.v760-strategy-checklist .v760-card-title{grid-template-columns:3.05cqw minmax(0,1fr)!important}
.v760-strategy-checklist .v760-card-title>svg{width:2.45cqw!important;height:2.45cqw!important}
.v760-strategy-checklist .v760-card-title strong{font-size:clamp(7.7px,.98cqw,11px)!important}
.v760-strategy-checklist .v760-card-title small{font-size:clamp(6.2px,.75cqw,8.6px)!important}
.v760-strategy-checklist .v760-check-list{gap:.25cqw!important}
.v760-strategy-checklist .v760-check-list li{
  grid-template-columns:2.35cqw minmax(0,1fr)!important;
  gap:.45cqw!important;
  padding:.22cqw .45cqw!important;
  min-height:0!important;
}
.v760-strategy-checklist .v760-check-list li>b{
  width:1.9cqw!important;height:1.9cqw!important;min-width:12px!important;min-height:12px!important;
}
.v760-strategy-checklist .v760-check-list li>span{
  font-size:clamp(7.4px,.94cqw,10.8px)!important;
  line-height:1.07!important;
  -webkit-line-clamp:3!important;
}
.v760-strategy-checklist .v760-result span{
  padding:.24cqw!important;
  font-size:clamp(6.2px,.72cqw,8.5px)!important;
}

/* Así sí / Así no: tarjetas compactas y trazabilidad separada. */
.v760-strategy-right-wrong .v760-compare{
  grid-template-rows:23% 77%!important;
  gap:.58cqw!important;
}
.v760-strategy-right-wrong .v760-comparison{
  min-height:0!important;
  gap:.48cqw!important;
}
.v760-strategy-right-wrong .v760-comparison>div{
  min-height:0!important;
  padding:.45cqw!important;
  grid-template-rows:11% repeat(3,minmax(0,1fr))!important;
  gap:.28cqw!important;
}
.v760-strategy-right-wrong .v760-comparison h3{
  font-size:clamp(7.2px,.86cqw,10px)!important;
  gap:.25cqw!important;
}
.v760-strategy-right-wrong .v760-comparison h3 svg{width:1.85cqw!important;height:1.85cqw!important}
.v760-strategy-right-wrong .v760-comparison p{
  min-height:0!important;
  grid-template-columns:1.75cqw minmax(0,1fr)!important;
  gap:.25cqw!important;
  padding:.25cqw .3cqw!important;
}
.v760-strategy-right-wrong .v760-comparison p>b{
  width:1.55cqw!important;height:1.55cqw!important;
  font-size:clamp(5px,.62cqw,7px)!important;
}
.v760-strategy-right-wrong .v760-comparison p>span{
  font-size:clamp(6.5px,.82cqw,9.5px)!important;
  line-height:1.06!important;
  -webkit-line-clamp:3!important;
}

/* Alerta: reemplaza tres columnas estrechas por tres acciones horizontales. */
.v760-strategy-alert .v760-alert{
  grid-template-rows:17% 27% 43% 13%!important;
  gap:.52cqw!important;
}
.v760-strategy-alert .v760-alert-hero{
  grid-template-columns:5.6cqw minmax(0,1fr)!important;
  gap:.65cqw!important;
  padding:.5cqw .75cqw!important;
}
.v760-strategy-alert .v760-alert-icon{
  width:4.9cqw!important;height:4.9cqw!important;border-radius:1.1cqw!important;
}
.v760-strategy-alert .v760-alert-icon svg{width:3.1cqw!important;height:3.1cqw!important}
.v760-strategy-alert .v760-alert-hero small{color:#F9B52C!important;font-size:clamp(6px,.72cqw,8.2px)!important}
.v760-strategy-alert .v760-alert-hero h3{
  color:#fff!important;
  margin:.12cqw 0!important;
  font-size:clamp(8.8px,1.18cqw,14px)!important;
  line-height:1!important;
}
.v760-strategy-alert .v760-alert-hero p{
  color:#f6f0fa!important;
  font-size:clamp(6.6px,.8cqw,9.2px)!important;
  line-height:1.05!important;
  -webkit-line-clamp:2!important;
}
.v760-strategy-alert .v760-actions{
  grid-template-columns:1fr!important;
  grid-template-rows:repeat(3,minmax(0,1fr))!important;
  gap:.34cqw!important;
}
.v760-strategy-alert .v760-actions article{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:3.7cqw minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  gap:.55cqw!important;
  padding:.28cqw .5cqw!important;
}
.v760-strategy-alert .v760-actions article>b{
  width:3.1cqw!important;height:3.1cqw!important;min-width:18px!important;min-height:18px!important;
}
.v760-strategy-alert .v760-actions article>span{
  font-size:clamp(7.5px,.95cqw,11px)!important;
  line-height:1.08!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}
.v760-strategy-alert .v760-report{
  grid-template-columns:3.4cqw minmax(0,1fr)!important;
  gap:.5cqw!important;
  padding:.32cqw .55cqw!important;
}
.v760-strategy-alert .v760-report>svg{width:2.65cqw!important;height:2.65cqw!important}
.v760-strategy-alert .v760-report strong{font-size:clamp(6.8px,.82cqw,9.5px)!important}
.v760-strategy-alert .v760-report small{
  font-size:clamp(6px,.72cqw,8.4px)!important;
  line-height:1.04!important;
  -webkit-line-clamp:2!important;
}

/* Trazabilidad común de estas variantes: no invade el contenido principal. */
.v760-strategy-checklist>.v760-trace,
.v760-strategy-right-wrong>.v760-trace,
.v760-strategy-alert>.v760-trace{
  margin:0 3cqw .35cqw!important;
  padding:.34cqw!important;
  gap:.28cqw!important;
  min-height:0!important;
}
.v760-strategy-checklist>.v760-trace div,
.v760-strategy-right-wrong>.v760-trace div,
.v760-strategy-alert>.v760-trace div{padding:.2cqw .42cqw!important}
.v760-strategy-checklist>.v760-trace small,
.v760-strategy-right-wrong>.v760-trace small,
.v760-strategy-alert>.v760-trace small{font-size:clamp(5.4px,.62cqw,7.2px)!important}
.v760-strategy-checklist>.v760-trace strong,
.v760-strategy-right-wrong>.v760-trace strong,
.v760-strategy-alert>.v760-trace strong{
  font-size:clamp(6.5px,.78cqw,9px)!important;
  line-height:1.04!important;
  -webkit-line-clamp:2!important;
}

/* En Historia hay más altura: aumenta aire sin cambiar la lógica. */
.output-story .v760-poster.v760-strategy-checklist,
.output-story .v760-poster.v760-strategy-right-wrong,
.output-story .v760-poster.v760-strategy-alert{
  grid-template-rows:5.8% 11.6% 66.5% 10.6% 5.5%!important;
}
.output-story .v760-strategy-checklist .v760-checklist{grid-template-rows:22% 78%!important}
.output-story .v760-strategy-right-wrong .v760-compare{grid-template-rows:21% 79%!important}
.output-story .v760-strategy-alert .v760-alert{grid-template-rows:15% 28% 45% 12%!important}

/* El panel deja explícito que siempre se exporta la variante visible. */
.cphs-export-panel[data-current-material] .cphs-export-copy small:after{
  content:" Se exportará exactamente el tipo de contenido visible.";
  color:#523178;
  font-weight:750;
}


/* ==================================================================
   ENTERPRISE 77.5 · ESTABILIDAD INTEGRAL
   Aísla el afiche visible dentro de un escenario exacto 1080×1350 / 1080×1920
   para evitar descargas miniatura con gran espacio en blanco en iPhone.
   ================================================================== */
.v774-export-stage{position:fixed!important;left:-20000px!important;top:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;pointer-events:none!important;z-index:-9999!important;display:block!important;box-sizing:border-box!important}
.v774-export-stage>*{box-sizing:border-box!important}
.v756-export-poster.v760-poster,.v756-export-poster.v759-poster,.v756-export-poster.v758-mobile-poster,.v756-export-poster.v757-mobile-poster,.v756-export-poster.v756-mobile-poster{width:100%!important;height:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
.v774-export-stage.output-square .v760-poster,.v774-export-stage.output-story .v760-poster{width:100%!important;height:100%!important;min-height:100%!important}
.v774-export-stage.output-square .risk-visual-poster,.v774-export-stage.output-story .risk-visual-poster{width:100%!important;height:100%!important;max-width:none!important;min-height:100%!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.v774-export-stage.output-square .v760-poster{grid-template-rows:6.2% 12.2% 59.2% 17% 5.4%!important}
.v774-export-stage.output-story .v760-poster{grid-template-rows:5.8% 11.6% 66.5% 10.6% 5.5%!important}

/* ==================================================================
   ENTERPRISE 77.6 · PLANTILLAS MÓVILES 1:1 Y COMPARTIR SIN POP-UPS
   ================================================================== */
.v776-poster,.v776-poster *{box-sizing:border-box}
.v776-poster{
  width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;
  display:grid!important;grid-template-rows:6.4% 12.8% 61% 14.2% 5.6%;
  background:linear-gradient(180deg,#fff 0%,#fff 82%,#f6f0fa 100%);
  color:#2E1B43;font-family:'Montserrat',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  container-type:inline-size
}
.v776-poster.v776-strategy-checklist,.v776-poster.v776-strategy-steps,.v776-poster.v776-strategy-right-wrong,.v776-poster.v776-strategy-alert{grid-template-rows:6.4% 12.8% 68.4% 6.8% 5.6%}
.v776-poster.v776-strategy-lesson{grid-template-rows:6.4% 12.8% 63.4% 11.8% 5.6%}
.v776-poster>*{min-width:0;min-height:0}
.v776-brand{position:relative;display:flex;align-items:center;justify-content:space-between;padding:.75cqw 3.1cqw;color:#fff;background:linear-gradient(100deg,#2E1B43,#523178 60%,#8C4799);overflow:hidden}
.v776-brand:after{content:"";position:absolute;right:8%;bottom:0;width:19%;height:.42cqw;background:linear-gradient(90deg,#F9B52C 0 55%,#AD9DBF 55% 100%)}
.v776-wordmark{display:flex;flex-direction:column;font-size:clamp(13px,2.25cqw,25px);line-height:.74;font-weight:520;letter-spacing:-.055em;text-transform:lowercase}.v776-wordmark strong{font-weight:950}.v776-wordmark span{width:70%;height:.27cqw;margin-top:.52cqw;background:linear-gradient(90deg,#F9B52C 0 56%,#AD9DBF 56%)}
.v776-pr{width:5.2cqw;height:5.2cqw;min-width:28px;min-height:28px;display:grid;place-items:center;border-radius:50%;border:.18cqw solid rgba(255,255,255,.72);background:linear-gradient(145deg,#AD9DBF,#8C4799 52%,#523178);font-size:clamp(8px,1.4cqw,15px);font-weight:950;box-shadow:inset 0 .3cqw .5cqw rgba(255,255,255,.42),inset 0 -.4cqw .58cqw rgba(46,27,67,.42),0 .35cqw .72cqw rgba(46,27,67,.28)}
.v776-heading{padding:.72cqw 3.15cqw .42cqw;background:#fff;overflow:hidden}.v776-heading small{display:block;color:#8C4799;font-size:clamp(7px,1.02cqw,11px);font-weight:950;line-height:1;letter-spacing:.13em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v776-heading h2{margin:.4cqw 0 .2cqw;color:#523178;font-size:clamp(17px,3.15cqw,34px);font-weight:950;line-height:.98;letter-spacing:-.042em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.v776-heading p{margin:0;color:#766a7e;font-size:clamp(7.8px,1.12cqw,12px);font-weight:550;line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v776-main{min-width:0;min-height:0;padding:.55cqw 3.05cqw .45cqw;display:grid;gap:.65cqw;overflow:hidden}.v776-five{grid-template-rows:31% 69%}.v776-checklist,.v776-lesson,.v776-steps,.v776-right-wrong{grid-template-rows:22% 78%}.v776-alert{grid-template-rows:30% 51% 19%;gap:.55cqw}
.v776-hero{position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #d6c8e2;border-radius:1.35cqw;background:radial-gradient(circle at 30% 15%,#fff 0 25%,transparent 26%),linear-gradient(145deg,#fff,#eee5f5);box-shadow:inset 0 .25cqw .45cqw #fff,inset 0 -.35cqw .55cqw rgba(82,49,120,.08),0 .45cqw .9cqw rgba(46,27,67,.12)}
.v776-hero svg,.v776-hero .universal-symbol-scene{display:block;width:100%!important;height:calc(100% - 2.1cqw)!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 .34cqw .38cqw rgba(46,27,67,.15))}.v776-hero>strong{position:absolute;left:10%;right:10%;bottom:.32cqw;min-height:1.7cqw;display:grid;place-items:center;border-radius:999px;background:linear-gradient(180deg,#8C4799,#523178);color:#fff;font-size:clamp(7px,.92cqw,10px);font-weight:900;line-height:1}.v776-hero.is-mini>strong{left:16%;right:16%}
.v776-number-list,.v776-timeline{position:relative;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.38cqw;margin:0;padding:0;list-style:none;overflow:hidden}.v776-number-list:before,.v776-timeline:before{content:"";position:absolute;left:2.95cqw;top:5%;bottom:5%;width:.3cqw;border-radius:999px;background:linear-gradient(#AD9DBF,#523178);opacity:.7}.v776-number-list li,.v776-timeline article{position:relative;min-width:0;min-height:0;display:grid;grid-template-columns:5.7cqw minmax(0,1fr) 3.4cqw;align-items:center;gap:.8cqw;padding:.28cqw .62cqw;border:1px solid #d9cee4;border-radius:.8cqw;background:linear-gradient(150deg,#fff,#f2ebf7);overflow:hidden}.v776-number-list li>b,.v776-timeline article>b{position:relative;z-index:2;width:4.5cqw;height:4.5cqw;min-width:24px;min-height:24px;display:grid;place-items:center;border-radius:1cqw;background:linear-gradient(145deg,#AD9DBF,#8C4799 52%,#523178);color:#fff;font-size:clamp(10px,1.55cqw,17px);font-weight:950;box-shadow:inset 0 .25cqw .4cqw rgba(255,255,255,.5),inset 0 -.32cqw .48cqw rgba(46,27,67,.42),0 .25cqw .5cqw rgba(46,27,67,.22)}.v776-number-list li>span,.v776-timeline article>span{min-width:0;color:#2E1B43;font-size:clamp(11px,1.45cqw,15.7px);font-weight:780;line-height:1.1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.v776-number-list li>i,.v776-timeline article>i{display:grid;place-items:center;color:#523178;font-style:normal;font-weight:950}.v776-number-list li>i svg{width:2.75cqw;height:2.75cqw;max-width:30px;max-height:30px}.v776-number-list li>i span{font-size:clamp(10px,1.5cqw,16px)}
.v776-bottom{min-width:0;min-height:0;margin:0 3.05cqw .25cqw;display:grid;grid-template-rows:42% 58%;gap:.36cqw;overflow:hidden}.v776-bottom.trace-only{grid-template-rows:1fr}.v776-alerts{min-width:0;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:.42cqw;overflow:hidden}.v776-alerts article{min-width:0;min-height:0;display:grid;grid-template-columns:3.2cqw minmax(0,1fr);align-items:center;gap:.48cqw;padding:.3cqw .52cqw;border:1px solid #ded3e7;border-radius:.72cqw;background:#fff;overflow:hidden}.v776-alerts article>i{width:2.55cqw;height:2.55cqw;min-width:16px;min-height:16px;display:grid;place-items:center;border-radius:.65cqw;background:#F9B52C;color:#2E1B43;font-style:normal;font-size:clamp(8px,1.1cqw,12px);font-weight:950}.v776-alerts article>i.ok{background:linear-gradient(145deg,#AD9DBF,#8C4799);color:#fff}.v776-alerts strong{display:block;color:#523178;font-size:clamp(7.2px,.92cqw,10px);line-height:1}.v776-alerts small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#655b6e;font-size:clamp(6.2px,.78cqw,8.5px);line-height:1.05}
.v776-trace{min-width:0;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.25cqw;padding:.3cqw;border:1px solid #ddd2e7;border-radius:.72cqw;background:rgba(255,255,255,.94);overflow:hidden}.v776-trace div{min-width:0;min-height:0;padding:.16cqw .42cqw;display:grid;align-content:center;border-right:1px solid #eee6f3;overflow:hidden}.v776-trace div:nth-child(2n){border-right:0}.v776-trace small{color:#8C4799;font-size:clamp(5.7px,.65cqw,7.2px);font-weight:900;line-height:1;letter-spacing:.08em}.v776-trace strong{margin-top:.1cqw;color:#523178;font-size:clamp(6.8px,.82cqw,9px);font-weight:850;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v776-footer{display:flex;align-items:center;justify-content:space-between;padding:0 3.05cqw;background:linear-gradient(100deg,#2E1B43,#523178 60%,#8C4799);color:#fff;font-size:clamp(7px,.92cqw,10px);font-weight:750}.v776-footer strong{font-size:clamp(7px,.92cqw,10px);text-transform:lowercase}
.v776-check-card{min-width:0;min-height:0;display:grid;grid-template-rows:12% 78% 10%;gap:.25cqw;padding:.48cqw;border:1px solid #d8cbe3;border-radius:1cqw;background:linear-gradient(150deg,#fff,#f3edf8);overflow:hidden}.v776-card-title{display:grid;grid-template-columns:3.4cqw minmax(0,1fr);align-items:center;gap:.55cqw;padding:0 .3cqw}.v776-card-title>span{width:2.8cqw;height:2.8cqw;display:grid;place-items:center;border-radius:.7cqw;background:#f2eaf7;color:#8C4799;font-size:clamp(10px,1.4cqw,15px);font-weight:950}.v776-card-title strong{display:block;color:#523178;font-size:clamp(8px,1.02cqw,11px);line-height:1}.v776-card-title small{display:block;margin-top:.1cqw;color:#786d80;font-size:clamp(6.5px,.78cqw,8.5px);line-height:1}.v776-check-card ul{min-width:0;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:.28cqw;margin:0;padding:0;list-style:none;overflow:hidden}.v776-check-card li{min-width:0;min-height:0;display:grid;grid-template-columns:2.7cqw minmax(0,1fr);align-items:center;gap:.45cqw;padding:.2cqw .48cqw;border:1px solid #ded3e7;border-radius:.55cqw;background:#fff;overflow:hidden}.v776-check-card li>b{width:2.05cqw;height:2.05cqw;min-width:13px;min-height:13px;border:.22cqw solid #8C4799;border-radius:.35cqw;background:#fff}.v776-check-card li>span{font-size:clamp(9.5px,1.22cqw,13.2px);font-weight:760;line-height:1.06;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.v776-result{display:grid;grid-template-columns:1fr 1fr;gap:.35cqw}.v776-result span{display:grid;place-items:center;border:1px solid #d9cde3;border-radius:.45cqw;background:#fff;color:#523178;font-size:clamp(6.8px,.82cqw,9px);font-weight:850}
.v776-lesson-cards{min-width:0;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.42cqw;overflow:hidden}.v776-lesson-cards article{min-width:0;min-height:0;display:grid;grid-template-columns:4.2cqw minmax(0,1fr);align-items:center;gap:.6cqw;padding:.42cqw .68cqw;border:1px solid #d9cee4;border-radius:.85cqw;background:linear-gradient(150deg,#fff,#f1eaf7);overflow:hidden}.v776-lesson-cards article>svg{width:3.1cqw;height:3.1cqw;color:#8C4799}.v776-lesson-cards small{color:#8C4799;font-size:clamp(6.6px,.78cqw,8.6px);font-weight:950;letter-spacing:.08em;line-height:1}.v776-lesson-cards p{margin:.15cqw 0 0;color:#2E1B43;font-size:clamp(9px,1.13cqw,12.4px);font-weight:730;line-height:1.08;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v776-compare{min-width:0;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:.5cqw;overflow:hidden}.v776-compare>div{min-width:0;min-height:0;display:grid;grid-template-rows:11% repeat(3,minmax(0,1fr));gap:.32cqw;padding:.45cqw;border:1px solid #d9cee4;border-radius:.9cqw;overflow:hidden}.v776-compare .good{background:linear-gradient(155deg,#f7f2fa,#ebe2f2)}.v776-compare .bad{background:linear-gradient(155deg,#fff,#f3edf7)}.v776-compare h3{margin:0;color:#523178;font-size:clamp(8px,1.02cqw,11px);font-weight:950;line-height:1}.v776-compare p{min-width:0;min-height:0;margin:0;display:grid;grid-template-columns:2.3cqw minmax(0,1fr);align-items:center;gap:.3cqw;padding:.25cqw .32cqw;border-radius:.48cqw;background:rgba(255,255,255,.88);overflow:hidden}.v776-compare p>b{width:1.8cqw;height:1.8cqw;display:grid;place-items:center;border-radius:50%;background:#8C4799;color:#fff;font-size:clamp(6px,.72cqw,8px)}.v776-compare .bad p>b{background:#523178}.v776-compare p>span{font-size:clamp(8px,.98cqw,10.7px);font-weight:740;line-height:1.05;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.v776-alert-hero{min-width:0;min-height:0;display:grid;grid-template-columns:5.6cqw minmax(0,1fr) 28%;align-items:center;gap:.7cqw;padding:.55cqw .75cqw;border-radius:1cqw;background:linear-gradient(135deg,#2E1B43,#523178 66%,#8C4799);color:#fff;overflow:hidden}.v776-alert-symbol{width:4.8cqw;height:4.8cqw;display:grid;place-items:center;border-radius:1.05cqw;background:linear-gradient(145deg,#F9B52C,#8C4799 58%,#523178);font-size:clamp(12px,2cqw,22px);font-weight:950}.v776-alert-hero small{color:#F9B52C;font-size:clamp(6.3px,.76cqw,8.3px);font-weight:950;letter-spacing:.08em}.v776-alert-hero h3{margin:.12cqw 0;color:#fff!important;font-size:clamp(10px,1.28cqw,14px);line-height:1;font-weight:950}.v776-alert-hero p{margin:0;color:#f7f2fa;font-size:clamp(7.8px,.94cqw,10.2px);font-weight:650;line-height:1.05;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.v776-alert-hero .v776-hero{height:100%;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.v776-alert-actions{min-width:0;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.34cqw;overflow:hidden}.v776-alert-actions article{min-width:0;min-height:0;display:grid;grid-template-columns:4.2cqw minmax(0,1fr);align-items:center;gap:.55cqw;padding:.28cqw .55cqw;border:1px solid #d9cee4;border-radius:.72cqw;background:linear-gradient(150deg,#fff,#f2ebf7);overflow:hidden}.v776-alert-actions article>b{width:3.35cqw;height:3.35cqw;display:grid;place-items:center;border-radius:.8cqw;background:linear-gradient(145deg,#AD9DBF,#8C4799 52%,#523178);color:#fff;font-size:clamp(9px,1.3cqw,14px);font-weight:950}.v776-alert-actions article>span{font-size:clamp(9.5px,1.2cqw,13px);font-weight:770;line-height:1.08;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.v776-report{min-width:0;min-height:0;display:grid;grid-template-columns:26% 74%;align-items:center;padding:.35cqw .7cqw;border:1px solid #d9cee4;border-radius:.7cqw;background:linear-gradient(90deg,#f2eaf7,#fff);overflow:hidden}.v776-report strong{color:#523178;font-size:clamp(7.8px,.94cqw,10.2px);line-height:1}.v776-report span{font-size:clamp(7.2px,.86cqw,9.4px);font-weight:680;line-height:1.05;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* Historia 9:16: usa la altura extra para aumentar lectura y aire. */
.v776-story{grid-template-rows:5.6% 11.2% 67.5% 10.2% 5.5%}.v776-story.v776-strategy-checklist,.v776-story.v776-strategy-steps,.v776-story.v776-strategy-right-wrong,.v776-story.v776-strategy-alert{grid-template-rows:5.6% 11.2% 72.2% 5.5% 5.5%}.v776-story.v776-strategy-lesson{grid-template-rows:5.6% 11.2% 69% 8.7% 5.5%}.v776-story .v776-heading{padding-inline:4cqw}.v776-story .v776-heading h2{font-size:clamp(19px,3.45cqw,38px)}.v776-story .v776-main{padding-inline:4cqw;gap:.8cqw}.v776-story .v776-five{grid-template-rows:32% 68%}.v776-story .v776-checklist,.v776-story .v776-lesson,.v776-story .v776-steps,.v776-story .v776-right-wrong{grid-template-rows:23% 77%}.v776-story .v776-number-list,.v776-story .v776-timeline{gap:.55cqw}.v776-story .v776-number-list li>span,.v776-story .v776-timeline article>span{font-size:clamp(12px,1.6cqw,17px)}.v776-story .v776-check-card li>span{font-size:clamp(10.5px,1.38cqw,14.5px)}.v776-story .v776-lesson-cards p{font-size:clamp(10px,1.3cqw,14px)}.v776-story .v776-bottom{margin-inline:4cqw}.v776-story .v776-trace strong{font-size:clamp(7.5px,.9cqw,9.8px)}
/* Exportador fuera de pantalla: el hijo ocupa exactamente todo el lienzo. */
.v776-export-stage{position:fixed!important;left:-20000px!important;top:0!important;z-index:-9999!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;pointer-events:none!important;box-sizing:border-box!important;container-type:inline-size!important}.v776-export-stage *{box-sizing:border-box!important}.v776-export-stage>.v776-poster{width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
/* Hoja de archivo iPhone/iPad sin window.open. */
body.v776-file-sheet-open{overflow:hidden!important}.v776-file-sheet{position:fixed;inset:0;z-index:10050;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top)}.v776-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(46,27,67,.66);backdrop-filter:blur(5px)}.v776-sheet-dialog{position:relative;width:min(100%,570px);max-height:94dvh;padding:10px 18px calc(20px + env(safe-area-inset-bottom));overflow:auto;border-radius:28px 28px 0 0;background:#fff;color:#2E1B43;box-shadow:0 -26px 76px rgba(46,27,67,.34)}.v776-sheet-handle{width:52px;height:5px;margin:2px auto 13px;border-radius:999px;background:#d9cfdf}.v776-sheet-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.v776-sheet-dialog header small{display:block;color:#8C4799;font-size:.66rem;font-weight:900;letter-spacing:.1em}.v776-sheet-dialog header h3{margin:4px 0 0;color:#523178;font-size:1.3rem;line-height:1.08}.v776-sheet-close{width:42px;height:42px;flex:0 0 auto;border:0;border-radius:50%;background:#f1ebf5;color:#523178;font-size:25px;cursor:pointer}.v776-sheet-preview{display:grid;place-items:center;max-height:47dvh;padding:10px;border:1px solid #ddd2e6;border-radius:18px;background:linear-gradient(145deg,#faf7fc,#eee6f3);overflow:hidden}.v776-sheet-preview img{display:block;width:auto;max-width:100%;max-height:44dvh;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(46,27,67,.18)}.v776-sheet-pdf{min-height:145px;display:grid;grid-template-columns:64px minmax(0,1fr);align-content:center;align-items:center;gap:6px 14px;padding:20px;border:1px solid #d8cbe3;border-radius:20px;background:linear-gradient(145deg,#faf7fc,#eee5f4)}.v776-sheet-pdf b{grid-row:1/3;width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#523178;color:#fff}.v776-sheet-pdf strong{color:#523178;overflow-wrap:anywhere}.v776-sheet-pdf span{color:#776b80;font-size:.82rem}.v776-sheet-dialog>p{margin:13px 2px;color:#675b70;font-size:.9rem;line-height:1.4}.v776-sheet-actions{display:grid;grid-template-columns:1fr;gap:10px}.v776-sheet-primary,.v776-sheet-secondary{min-height:54px;display:grid;place-items:center;border-radius:16px;font:850 1rem/1 'Montserrat',sans-serif;text-align:center;text-decoration:none;cursor:pointer}.v776-sheet-primary{border:0;background:linear-gradient(135deg,#523178,#8C4799);color:#fff;box-shadow:0 10px 24px rgba(82,49,120,.24)}.v776-sheet-primary:disabled{opacity:.64}.v776-sheet-secondary{border:2px solid #523178;background:#fff;color:#523178}.v776-sheet-name{display:block;margin-top:10px;color:#8b7f92;font-size:.68rem;text-align:center;overflow-wrap:anywhere}
@media(min-width:700px){.v776-file-sheet{align-items:center}.v776-sheet-dialog{margin-bottom:18px;border-radius:28px}.v776-sheet-actions{grid-template-columns:1.25fr 1fr}}
@media(max-width:560px){.v776-heading h2{font-size:clamp(16px,3.15cqw,31px)}.v776-number-list li>span,.v776-timeline article>span{font-size:clamp(10.5px,1.42cqw,15px)}.v776-check-card li>span{font-size:clamp(9px,1.18cqw,12.8px)}.v776-alert-actions article>span{font-size:clamp(9px,1.16cqw,12.5px)}}

/* ==================================================================
   ENTERPRISE 77.7 · EXPORTACIÓN MAESTRA 1:1
   La vista previa es la única fuente de verdad para PNG, compartir y PDF.
   ================================================================== */
.creative-preview-shell.v777-master-mobile .risk-visual-poster{
  background:#fff!important;
  contain:layout paint;
}

/* WhatsApp 4:5: composición compacta, legible y con pie protegido. */
.v776-poster.v776-square{
  grid-template-rows:6.2% 13.6% 58.8% 15.7% 5.7%!important;
}
.v776-poster.v776-square.v776-strategy-checklist,
.v776-poster.v776-square.v776-strategy-steps,
.v776-poster.v776-square.v776-strategy-right-wrong,
.v776-poster.v776-square.v776-strategy-alert{
  grid-template-rows:6.2% 13.6% 67.1% 7.4% 5.7%!important;
}
.v776-poster.v776-square.v776-strategy-lesson{
  grid-template-rows:6.2% 13.6% 62.2% 12.3% 5.7%!important;
}
.v776-square .v776-heading{
  padding:.7cqw 3.15cqw .35cqw!important;
}
.v776-square .v776-heading h2{
  margin:.34cqw 0 .16cqw!important;
  font-size:clamp(17px,3.12cqw,33px)!important;
  line-height:.97!important;
  -webkit-line-clamp:2!important;
}
.v776-square .v776-heading p{
  font-size:clamp(7.5px,1.06cqw,11.5px)!important;
}
.v776-square .v776-main{
  padding:.48cqw 3.05cqw .42cqw!important;
  gap:.55cqw!important;
}
.v776-square .v776-five{
  grid-template-rows:35% 65%!important;
}
.v776-square .v776-number-list,
.v776-square .v776-timeline{
  gap:.32cqw!important;
}
.v776-square .v776-number-list li,
.v776-square .v776-timeline article{
  padding:.22cqw .58cqw!important;
}
.v776-square .v776-number-list li>span,
.v776-square .v776-timeline article>span{
  font-size:clamp(10.2px,1.36cqw,14.8px)!important;
  line-height:1.06!important;
  -webkit-line-clamp:2!important;
}
.v776-square .v776-bottom{
  margin:0 3.05cqw .24cqw!important;
  grid-template-rows:39% 61%!important;
  gap:.3cqw!important;
}
.v776-square .v776-bottom.trace-only{grid-template-rows:1fr!important}
.v776-square .v776-alerts article{padding:.22cqw .48cqw!important}
.v776-square .v776-alerts small{-webkit-line-clamp:2!important}
.v776-square .v776-trace{
  padding:.28cqw!important;
  gap:.2cqw!important;
}
.v776-square .v776-trace div{padding:.12cqw .4cqw!important}
.v776-square .v776-footer{padding-inline:3.05cqw!important}

/* Densidad controlada: primero compacta espacios, nunca destruye la lectura. */
.v776-poster.v777-density-tight .v776-heading h2{font-size:clamp(16px,2.95cqw,31.5px)!important}
.v776-poster.v777-density-tight .v776-number-list li>span,
.v776-poster.v777-density-tight .v776-timeline article>span{font-size:clamp(9.8px,1.29cqw,14px)!important}
.v776-poster.v777-density-compact .v776-heading h2{font-size:clamp(15.5px,2.78cqw,30px)!important}
.v776-poster.v777-density-compact .v776-number-list,
.v776-poster.v777-density-compact .v776-timeline{gap:.24cqw!important}
.v776-poster.v777-density-compact .v776-number-list li>span,
.v776-poster.v777-density-compact .v776-timeline article>span{font-size:clamp(9.4px,1.23cqw,13.4px)!important}

/* Historia: usa la altura disponible de manera continua, sin bloques flotantes. */
.v776-poster.v776-story{
  grid-template-rows:5.6% 11.4% 67.8% 9.8% 5.4%!important;
}
.v776-story.v776-strategy-checklist,
.v776-story.v776-strategy-steps,
.v776-story.v776-strategy-right-wrong,
.v776-story.v776-strategy-alert{
  grid-template-rows:5.6% 11.4% 72.1% 5.5% 5.4%!important;
}
.v776-story.v776-strategy-lesson{
  grid-template-rows:5.6% 11.4% 68.8% 8.8% 5.4%!important;
}
.v776-story .v776-five{grid-template-rows:38% 62%!important}
.v776-story .v776-main{padding-top:.55cqw!important;padding-bottom:.55cqw!important}
.v776-story .v776-number-list li>span,
.v776-story .v776-timeline article>span{
  font-size:clamp(12px,1.62cqw,17.2px)!important;
  -webkit-line-clamp:3!important;
}

/* Zona de exportación con el mismo ancho/alto CSS que la vista previa. */
.v777-export-stage{
  position:fixed!important;
  left:-30000px!important;
  top:0!important;
  z-index:-9999!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  pointer-events:none!important;
  box-sizing:border-box!important;
}
.v777-export-stage,.v777-export-stage *{box-sizing:border-box!important}
.v777-export-stage>.v777-export-clone{
  display:grid!important;
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  max-height:none!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
  box-shadow:none!important;
}

@media(max-width:560px){
  .v776-square .v776-heading h2{font-size:clamp(16px,3.03cqw,31.5px)!important}
  .v776-square .v776-number-list li>span,
  .v776-square .v776-timeline article>span{font-size:clamp(10px,1.34cqw,14.4px)!important}
}

/* ==================================================================
   ENTERPRISE 78.2 · MOTOR MÓVIL VECTORIAL DEFINITIVO
   ================================================================== */
.v780-svg-poster{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:block!important;overflow:hidden!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.v780-svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;background:#fff!important}
.creative-preview-shell.output-square .v780-svg-poster{aspect-ratio:4/5!important}
.creative-preview-shell.output-story .v780-svg-poster{aspect-ratio:9/16!important}
body.v780-sheet-open{overflow:hidden!important}
.v780-file-sheet{position:fixed;inset:0;z-index:20050;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top)}
.v780-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(46,27,67,.7);backdrop-filter:blur(6px)}
.v780-sheet-dialog{position:relative;width:min(100%,580px);max-height:94dvh;padding:10px 18px calc(22px + env(safe-area-inset-bottom));overflow:auto;border-radius:28px 28px 0 0;background:#fff;color:#2E1B43;box-shadow:0 -28px 80px rgba(46,27,67,.38)}
.v780-sheet-handle{width:52px;height:5px;margin:2px auto 13px;border-radius:999px;background:#D8CFE0}
.v780-sheet-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.v780-sheet-dialog header small{display:block;color:#8C4799;font-size:.66rem;font-weight:900;letter-spacing:.12em}
.v780-sheet-dialog header h3{margin:4px 0 0;color:#523178;font-size:1.3rem;line-height:1.08}
.v780-sheet-close{width:42px;height:42px;flex:0 0 auto;border:0;border-radius:50%;background:#F2EDF6;color:#523178;font-size:25px;cursor:pointer}
.v780-sheet-preview{display:grid;place-items:center;max-height:48dvh;padding:10px;border:1px solid #DDD2E6;border-radius:18px;background:linear-gradient(145deg,#FAF7FC,#EEE6F3);overflow:hidden}
.v780-sheet-preview img{display:block;width:auto;max-width:100%;max-height:45dvh;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(46,27,67,.18)}
.v780-sheet-pdf{min-height:145px;display:grid;grid-template-columns:64px minmax(0,1fr);align-content:center;align-items:center;gap:6px 14px;padding:20px;border:1px solid #D8CBE3;border-radius:20px;background:linear-gradient(145deg,#FAF7FC,#EEE5F4)}
.v780-sheet-pdf b{grid-row:1/3;width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#523178;color:#fff}
.v780-sheet-pdf strong{color:#523178;overflow-wrap:anywhere}.v780-sheet-pdf span{color:#776B80;font-size:.82rem}
.v780-sheet-dialog>p{margin:13px 2px;color:#675B70;font-size:.9rem;line-height:1.42}
.v780-sheet-actions{display:grid;grid-template-columns:1fr;gap:10px}
.v780-sheet-primary,.v780-sheet-secondary{min-height:56px;display:grid;place-items:center;border-radius:16px;font:850 1rem/1 'Montserrat',sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.v780-sheet-primary{border:0;background:linear-gradient(135deg,#523178,#8C4799);color:#fff;box-shadow:0 10px 24px rgba(82,49,120,.24)}
.v780-sheet-primary:disabled{opacity:.64}.v780-sheet-secondary{border:2px solid #523178;background:#fff;color:#523178}
.v780-sheet-name{display:block;margin-top:10px;color:#8B7F92;font-size:.68rem;text-align:center;overflow-wrap:anywhere}
@media(min-width:700px){.v780-file-sheet{align-items:center}.v780-sheet-dialog{margin-bottom:18px;border-radius:28px}.v780-sheet-actions{grid-template-columns:1.25fr 1fr}}


/* ===================================================================
   ENTERPRISE 78.6 · MÓVIL 3D TIPOGRÁFICO SIN ILUSTRACIONES
   Paleta oficial: #523178 #8C4799 #F9B52C #2E1B43 #AD9DBF #A2A2A2
   =================================================================== */
.v786-mobile-poster{
  --br-purple:#523178;
  --br-mid:#8C4799;
  --br-yellow:#F9B52C;
  --br-deep:#2E1B43;
  --br-lilac:#AD9DBF;
  --br-gray:#A2A2A2;
  width:100%;height:100%;overflow:hidden;background:#fff;color:var(--br-deep);
  display:grid;grid-template-rows:7.5% 12.5% 1fr 9.5% 9% 5.5%;
  font-family:Montserrat,Arial,sans-serif;container-type:inline-size;
  border-radius:3.2cqw;box-shadow:0 2.2cqw 5cqw rgba(46,27,67,.18);
}
.v786-mobile-poster *{box-sizing:border-box;min-width:0;min-height:0}
.v786-brand{position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 5.2cqw;color:#fff;background:linear-gradient(105deg,var(--br-deep),var(--br-purple) 56%,var(--br-mid));overflow:hidden}
.v786-brand:after{content:"";position:absolute;right:13cqw;bottom:0;width:16cqw;height:.8cqw;background:linear-gradient(90deg,var(--br-yellow) 0 50%,var(--br-lilac) 50%)}
.v786-wordmark{font-size:2.45cqw;line-height:.92;font-weight:600;text-transform:lowercase;display:flex;flex-direction:column}
.v786-wordmark strong{font-size:1.16em}
.v786-wordmark span{display:block;width:7cqw;height:.45cqw;margin-top:.7cqw;background:linear-gradient(90deg,#E8274F 0 45%,var(--br-yellow) 45% 70%,var(--br-lilac) 70%)}
.v786-pr{width:5.4cqw;height:5.4cqw;border:1px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;font-size:1.55cqw;font-weight:800;background:rgba(255,255,255,.09)}
.v786-heading{padding:1.5cqw 5.2cqw .8cqw;display:flex;flex-direction:column;justify-content:center;background:#fff}
.v786-heading small{font-size:1.12cqw;letter-spacing:.18em;font-weight:900;color:var(--br-mid)}
.v786-heading h2{margin:.35cqw 0;font-size:3.3cqw;line-height:.97;letter-spacing:-.035em;color:var(--br-purple);font-weight:900;max-height:7.1cqw;overflow:hidden}
.v786-heading p{margin:0;font-size:1.18cqw;line-height:1.15;color:#67606d;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v786-main{padding:1.2cqw 5.2cqw;display:flex;flex-direction:column;gap:1cqw;overflow:hidden}
.v786-risk-ribbon{min-height:11.5cqw;padding:1.25cqw 2cqw 1.25cqw 1.2cqw;border-radius:2cqw;display:grid;grid-template-columns:9cqw 1fr 4.5cqw;align-items:center;gap:1.35cqw;color:#fff;background:linear-gradient(110deg,var(--br-deep),var(--br-purple) 58%,var(--br-mid));box-shadow:inset 0 .35cqw 0 rgba(255,255,255,.13),0 1.1cqw 2cqw rgba(82,49,120,.2)}
.v786-risk-ribbon>div:nth-child(2){overflow:hidden}
.v786-risk-ribbon small{display:block;font-size:.95cqw;letter-spacing:.12em;color:var(--br-yellow);font-weight:900}
.v786-risk-ribbon strong{display:block;margin:.28cqw 0;font-size:2cqw;line-height:1.03}
.v786-risk-ribbon p{margin:0;font-size:1cqw;line-height:1.12;color:#f5eff8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v786-risk-ribbon>i{width:4.2cqw;height:4.2cqw;border-radius:50%;display:grid;place-items:center;font-size:1.25cqw;font-style:normal;font-weight:900;border:1px solid rgba(255,255,255,.48);background:rgba(255,255,255,.1)}
.v786-orb{position:relative;width:8cqw;height:8cqw;border-radius:2cqw;display:grid;place-items:center;background:linear-gradient(145deg,#fff,var(--br-lilac));box-shadow:.7cqw .8cqw 0 var(--br-deep),inset .4cqw .4cqw .75cqw rgba(255,255,255,.75)}
.v786-orb span{font-size:3.5cqw;line-height:1;font-weight:1000;color:var(--br-purple);text-shadow:0 .2cqw 0 #fff}
.v786-number-list{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,1fr);gap:.72cqw;flex:1}
.v786-number-list li,.v786-steps article{display:grid;grid-template-columns:6.7cqw 1fr 3cqw;align-items:center;gap:1.3cqw;padding:.65cqw 1.2cqw;border:1px solid #d9cde5;border-radius:1.45cqw;background:linear-gradient(180deg,#fff,#f8f4fa);box-shadow:inset 0 .25cqw .5cqw rgba(255,255,255,.9),0 .45cqw .9cqw rgba(82,49,120,.08)}
.v786-number-list li>b,.v786-steps article>b{width:5.5cqw;height:5.5cqw;border-radius:1.25cqw;display:grid;place-items:center;background:linear-gradient(145deg,var(--br-mid),var(--br-purple));box-shadow:.42cqw .52cqw 0 var(--br-deep),inset .25cqw .25cqw .4cqw rgba(255,255,255,.25)}
.v786-number-list li>b span,.v786-steps article>b span{font-size:1.7cqw;color:#fff;font-weight:900}
.v786-number-list p,.v786-steps p{margin:0;font-size:1.44cqw;line-height:1.07;font-weight:750;color:var(--br-deep);overflow:hidden}
.v786-number-list li>i,.v786-steps article>i{font-style:normal;color:var(--br-mid);font-size:1.65cqw;font-weight:900;text-align:center}
.v786-alert-row{display:grid;grid-template-columns:1fr 1fr;gap:1cqw;padding:0 5.2cqw .8cqw}
.v786-alert-row article{display:grid;grid-template-columns:3.8cqw 1fr;gap:.85cqw;align-items:center;padding:.65cqw .9cqw;border:1px solid #d8cce4;border-radius:1.25cqw;background:#fff}
.v786-alert-row b,.v786-report>b{width:3.25cqw;height:3.25cqw;border-radius:.85cqw;display:grid;place-items:center;background:var(--br-yellow);color:var(--br-deep);font-size:1.45cqw;box-shadow:.28cqw .32cqw 0 #9f6d00}
.v786-alert-row article:nth-child(2) b{background:var(--br-mid);color:#fff;box-shadow:.28cqw .32cqw 0 var(--br-deep)}
.v786-alert-row strong,.v786-report strong{display:block;font-size:1.05cqw;color:var(--br-purple)}
.v786-alert-row small,.v786-report small{display:block;font-size:.8cqw;line-height:1.05;color:#6d6473;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v786-trace{margin:0 5.2cqw;display:grid;grid-template-columns:1fr 1fr;border:1px solid #d8cce4;border-radius:1.25cqw;overflow:hidden;background:#fff}
.v786-trace div{padding:.55cqw 1cqw;border-right:1px solid #e2d9e9;border-bottom:1px solid #e2d9e9}
.v786-trace div:nth-child(2n){border-right:0}.v786-trace div:nth-last-child(-n+2){border-bottom:0}
.v786-trace small{display:block;font-size:.72cqw;letter-spacing:.12em;color:var(--br-mid);font-weight:900}
.v786-trace strong{display:block;margin-top:.2cqw;font-size:.95cqw;line-height:1.02;color:var(--br-purple);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v786-footer{display:flex;align-items:center;justify-content:space-between;padding:0 5.2cqw;color:#fff;background:linear-gradient(100deg,var(--br-deep),var(--br-purple),var(--br-mid));font-size:1.02cqw;font-weight:700}
.v786-footer strong{text-transform:lowercase}
.v786-panel-title{display:grid;grid-template-columns:4cqw 1fr;gap:1cqw;align-items:center;padding:.7cqw 1cqw;border:1px solid #d8cce4;border-radius:1.2cqw;background:#f7f2fa}
.v786-panel-title>b{width:3.2cqw;height:3.2cqw;border-radius:.8cqw;display:grid;place-items:center;color:#fff;background:var(--br-purple);box-shadow:.3cqw .35cqw 0 var(--br-deep)}
.v786-panel-title strong{display:block;font-size:1.25cqw;color:var(--br-purple)}.v786-panel-title small{font-size:.85cqw;color:#776d7c}
.v786-check-list{list-style:none;margin:0;padding:0;display:grid;grid-template-rows:repeat(5,1fr);gap:.7cqw;flex:1}
.v786-check-list li{display:grid;grid-template-columns:3.8cqw 1fr 2.5cqw;align-items:center;gap:1cqw;padding:.75cqw 1.2cqw;border:1px solid #d8cce4;border-radius:1.25cqw;background:#fff}
.v786-check-list li>b{width:2.7cqw;height:2.7cqw;border:.35cqw solid var(--br-mid);border-radius:.55cqw;background:#fff;box-shadow:inset .25cqw .25cqw .4cqw rgba(82,49,120,.1)}
.v786-check-list li>span{font-size:1.42cqw;line-height:1.07;font-weight:750}.v786-check-list li>i{font-style:normal;color:var(--br-mid);font-weight:900}
.v786-result{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d8cce4;border-radius:1cqw;overflow:hidden}.v786-result span{padding:.55cqw;text-align:center;font-size:1cqw;font-weight:800;color:var(--br-purple)}.v786-result span+span{border-left:1px solid #d8cce4}
.v786-lesson{display:grid;grid-template-rows:repeat(3,1fr);gap:.8cqw;flex:1}.v786-lesson article{display:grid;grid-template-columns:5.2cqw 1fr;gap:1.2cqw;align-items:center;padding:1cqw 1.35cqw;border:1px solid #d8cce4;border-radius:1.4cqw;background:linear-gradient(180deg,#fff,#f8f4fa)}.v786-lesson article>b{width:4.4cqw;height:4.4cqw;border-radius:1.1cqw;display:grid;place-items:center;background:var(--br-purple);color:#fff;box-shadow:.35cqw .42cqw 0 var(--br-deep)}.v786-lesson small{font-size:.9cqw;letter-spacing:.12em;color:var(--br-mid);font-weight:900}.v786-lesson p{margin:.3cqw 0 0;font-size:1.3cqw;line-height:1.09;font-weight:700}
.v786-steps{display:grid;grid-template-rows:repeat(5,1fr);gap:.72cqw;flex:1}
.v786-compare{display:grid;grid-template-columns:1fr 1fr;gap:1cqw;flex:1}.v786-compare>div{display:grid;grid-template-rows:auto repeat(3,1fr);border:1px solid #d8cce4;border-radius:1.4cqw;overflow:hidden;background:#fff}.v786-compare h3{margin:0;padding:.85cqw 1cqw;font-size:1.25cqw;color:var(--br-purple);background:#efe7f5}.v786-compare h3 b{display:inline-grid;place-items:center;width:2.4cqw;height:2.4cqw;margin-right:.5cqw;border-radius:.65cqw;background:var(--br-purple);color:#fff}.v786-compare .bad h3 b{background:var(--br-deep)}.v786-compare p{margin:0;padding:1cqw;display:grid;grid-template-columns:2cqw 1fr;gap:.6cqw;align-items:center;border-top:1px solid #e2d9e9;font-size:1.2cqw;line-height:1.08;font-weight:700}.v786-compare p i{font-style:normal;color:var(--br-mid);font-weight:900}
.v786-alert-callout{padding:1.3cqw 1.6cqw;border-left:1cqw solid var(--br-yellow);border-radius:1.3cqw;background:linear-gradient(100deg,#fff8e4,#fff);box-shadow:0 .6cqw 1.2cqw rgba(249,181,44,.12)}.v786-alert-callout b{font-size:1.1cqw;letter-spacing:.12em;color:#8a5a00}.v786-alert-callout p{margin:.45cqw 0 0;font-size:1.35cqw;line-height:1.08;font-weight:750}
.v786-report{display:grid;grid-template-columns:4cqw 1fr;gap:1cqw;align-items:center;padding:.8cqw 1.1cqw;border:1px solid #d8cce4;border-radius:1.2cqw;background:#f7f2fa}
.v786-story{grid-template-rows:6.5% 10.5% 1fr 8% 8% 5%}.v786-story .v786-main{padding-top:1.6cqw;gap:1.35cqw}.v786-story .v786-risk-ribbon{min-height:14cqw}.v786-story .v786-orb{width:9.5cqw;height:9.5cqw}.v786-story .v786-number-list,.v786-story .v786-check-list,.v786-story .v786-steps{gap:1.1cqw}.v786-story .v786-number-list li,.v786-story .v786-check-list li,.v786-story .v786-steps article{padding-block:1.1cqw}.v786-story .v786-heading h2{font-size:3.55cqw}
.v786-strategy-checklist{grid-template-rows:7.5% 12.5% 1fr 9% 5.5%}.v786-strategy-checklist .v786-alert-row{display:none}
.v786-strategy-right-wrong{grid-template-rows:7.5% 12.5% 1fr 9% 5.5%}.v786-strategy-right-wrong .v786-alert-row{display:none}
.v786-strategy-alert{grid-template-rows:7.5% 12.5% 1fr 9% 5.5%}.v786-strategy-alert .v786-alert-row{display:none}
.v756-export-poster .v786-mobile-poster,.v757-export-poster .v786-mobile-poster,.v758-export-poster .v786-mobile-poster{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:560px){
  .v786-mobile-poster{border-radius:14px}
  .v786-heading h2{font-size:clamp(15px,3.3cqw,34px)}
  .v786-number-list p,.v786-check-list li>span,.v786-steps p{font-size:clamp(8.5px,1.44cqw,15px)}
}


/* ==============================================================
   Enterprise 78.8 · Lanzador integrado del diseñador móvil 4:5
   ============================================================== */
.br788-mobile-designer-launch{
  margin:18px 0;
  padding:20px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  border:1px solid rgba(82,49,120,.18);
  border-radius:22px;
  background:linear-gradient(135deg,#ffffff 0%,#f7f2fa 58%,#efe7f5 100%);
  box-shadow:0 14px 34px rgba(46,27,67,.09);
}
.br788-mobile-designer-launch span{
  display:block;
  margin-bottom:5px;
  color:#8C4799;
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
}
.br788-mobile-designer-launch h3{
  margin:0 0 7px;
  color:#523178;
  font-size:24px;
}
.br788-mobile-designer-launch p{
  margin:0;
  color:#61566f;
  line-height:1.45;
}
.br788-open-designer{
  min-width:260px;
  padding:16px 18px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,#2E1B43 0%,#523178 60%,#8C4799 100%);
  box-shadow:0 10px 24px rgba(82,49,120,.22);
}
.br788-open-designer strong,.br788-open-designer small{display:block}
.br788-open-designer strong{font-size:16px;margin-bottom:4px}
.br788-open-designer small{opacity:.83;font-size:12px}
@media(max-width:760px){
  .br788-mobile-designer-launch{grid-template-columns:1fr;padding:16px}
  .br788-open-designer{min-width:0;width:100%}
}

/* Enterprise 79.2 · Árbol causal V11 */
.linked-case-actions{display:flex;gap:8px;flex-wrap:wrap}.secondary-lock{border:1px solid #cfc2dc;background:#fff;color:#523178;border-radius:11px;padding:10px 12px;font-weight:850;display:inline-flex;gap:7px;align-items:center}.secondary-lock:disabled{opacity:.65}.investigation-addendum{margin-top:14px;padding:14px;background:#f8f5fb;border:1px solid #ded4e8;border-radius:13px}.investigation-addendum small{display:block;margin-top:6px;color:#6e6579}.inv-legend .informed{background:#8c4799}.inv-legend .corroborated{background:#4f79bd}.inv-result-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.inv-result-badges span{font-size:10px!important;color:#fff!important;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);padding:5px 8px;border-radius:999px}.full-span{grid-column:1/-1}.cause-tree-card header>div p{margin:4px 0 0;color:#6b6374;font-size:12px}.inv-mode-warning{background:#fff0f3;border:1px solid #e5a8b6;border-left:6px solid #bf2c4b;border-radius:12px;padding:12px 14px;margin:10px 0}.inv-mode-warning b{color:#8d1934}.inv-mode-warning p{margin:4px 0 0;font-size:12px}.cause-tree{display:block;padding:8px 0;overflow:auto}.causal-graph{position:relative;min-width:760px;padding:18px 12px 24px;background:#fbfafc;border:1px solid #e8e2ed;border-radius:16px}.causal-lines{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:visible}.causal-levels{position:relative;z-index:2;display:grid;gap:68px}.causal-level{display:grid;gap:11px}.causal-level-label{text-align:center;font-size:10px;font-weight:950;letter-spacing:.08em;color:#523178}.causal-level-nodes{display:flex;justify-content:center;align-items:stretch;gap:18px;flex-wrap:wrap}.causal-fact{width:min(300px,calc(33.33% - 18px));min-width:230px;background:#fff;border:2px solid #d8cde1;border-radius:14px;padding:12px;box-shadow:0 5px 13px rgba(53,32,74,.07)}.causal-fact.informed{border-color:#8c4799}.causal-fact.corroborated{border-color:#4f79bd}.causal-fact.confirmed{border-color:#1f9d62;background:#f5fcf8}.causal-fact.hypothesis{border-color:#e3a219;background:#fffaf0}.causal-fact.pending{border-color:#d12b55;background:#fff8fa}.causal-fact.discarded{border-color:#7c8798;background:#f3f5f7;opacity:.82}.causal-fact-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.causal-fact-head span{font-size:10px;font-weight:950;color:#523178}.causal-fact-head b{font-size:8px;background:#eee8f3;color:#523178;padding:4px 6px;border-radius:999px;text-align:right}.causal-fact p{font-size:13px;font-weight:800;line-height:1.42;margin:10px 0}.causal-fact dl{margin:0;display:grid;gap:7px}.causal-fact dl div{background:#f7f4f9;border-radius:8px;padding:7px}.causal-fact dt{font-size:8px;font-weight:950;color:#8c4799;text-transform:uppercase}.causal-fact dd{margin:2px 0 0;font-size:10px;color:#5e5765;line-height:1.35}.causal-fact>small{display:block;margin-top:7px;color:#347b57;font-size:9px}.causal-status-editor{display:grid;gap:4px;margin-top:9px;font-size:9px;font-weight:900;color:#5e5765}.causal-status-editor select,.causal-relation select{border:1px solid #d8cfdf;background:#fff;border-radius:8px;padding:7px;font-size:10px}.causal-line{stroke:#8f7c9e;stroke-width:2.2}.causal-line.hypothesis,.causal-line.pending,.causal-line.alternative{stroke-dasharray:7 5}.causal-line.confirmed{stroke:#1f9d62;stroke-width:3}.causal-line.corroborated{stroke:#4f79bd}.causal-line.discarded{stroke:#9da4af;stroke-dasharray:4 5}.causal-junction{fill:#fff;stroke:#523178;stroke-width:2}.causal-junction-label{font-size:10px;font-weight:900;fill:#523178}.causal-relations{margin-top:15px}.causal-relations h4{color:#523178;margin:0 0 9px}.relation-list{display:grid;gap:8px}.causal-relation{display:grid;grid-template-columns:1fr 180px;gap:12px;align-items:center;padding:11px;border-left:5px solid #8c4799;background:#f8f5fa;border-radius:10px}.causal-relation.confirmed{border-left-color:#1f9d62}.causal-relation.corroborated{border-left-color:#4f79bd}.causal-relation.hypothesis{border-left-color:#e3a219}.causal-relation.pending{border-left-color:#d12b55}.causal-relation.discarded{border-left-color:#7c8798}.causal-relation p{margin:4px 0;font-size:11px;color:#5f5865}.causal-relation small{display:block;color:#7a7280;font-size:9px}.causal-relation label{display:grid;gap:4px;font-size:9px;font-weight:900}.conclusion-status{display:flex;justify-content:space-between;gap:10px;align-items:center;border-radius:11px;padding:11px 13px;margin-bottom:12px;background:#fff4d6;border:1px solid #ebcb75}.conclusion-status.conclusive{background:#e4f5ec;border-color:#9bd4b7}.conclusion-status.inconclusive{background:#fde8ed;border-color:#e7a0b1}.conclusion-status span{font-weight:950;color:#523178}.conclusion-status b{font-size:10px}.conclusion-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.conclusion-grid>div{background:#f8f5fa;border-radius:11px;padding:12px}.conclusion-grid small{font-size:9px;font-weight:950;color:#8c4799}.conclusion-grid p{margin:6px 0 0;font-size:12px;line-height:1.5}.conclusion-blockers,.conclusion-limitations{margin-top:11px;padding:11px 13px;border-radius:10px;background:#fff2f5;border-left:5px solid #bf2c4b}.conclusion-limitations{background:#f6f2f8;border-left-color:#8c4799}.conclusion-blockers ul,.conclusion-limitations ul{margin:7px 0 0;padding-left:18px;font-size:11px}.approve-conclusion{margin-top:12px;border:0;border-radius:11px;padding:11px 14px;background:#523178;color:#fff;font-weight:900;display:inline-flex;gap:7px;align-items:center}.approve-conclusion:disabled{background:#b4abbc;cursor:not-allowed}.approval-help{display:block;margin-top:7px;color:#77707d}.approval-trace{font-size:11px;color:#347b57;font-weight:800}.validation-question-list{display:grid;gap:10px}.validation-question{border:1px solid #ded4e7;border-radius:12px;padding:12px}.validation-question.resolved{background:#f1faf5;border-color:#a7d7bc}.validation-question-title{display:flex;gap:10px;align-items:flex-start}.validation-question-title b{color:#523178}.validation-question-title p{margin:0;flex:1;font-size:12px}.validation-question-title span{font-size:9px;font-weight:950;color:#1f7f51}.validation-form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:8px;margin-top:10px}.validation-form textarea,.validation-form select{border:1px solid #d9d0df;border-radius:8px;padding:8px;font-size:10px}.validation-form button{border:0;border-radius:8px;background:#523178;color:#fff;font-weight:850;padding:8px}.validation-answer{margin-top:8px;background:#fff;border-radius:8px;padding:9px}.validation-answer small{color:#8c4799;font-weight:900}.validation-answer p{margin:4px 0 0;font-size:11px}.measure-links{margin-top:8px;padding:7px;border-radius:7px;background:#eee8f4;font-size:10px;color:#523178}.empty-causal-state{padding:14px;border:1px dashed #cfc3d8;border-radius:10px;color:#716978;font-size:12px;text-align:center}.result-item.informed{border-left-color:#8c4799}.result-item.corroborated{border-left-color:#4f79bd}.post-event-management{margin-top:12px;padding-top:12px;border-top:1px solid #ded7e3}.post-event-management h4{font-size:12px;color:#523178}
@media(max-width:1000px){.validation-form{grid-template-columns:1fr 1fr}.validation-form textarea,.validation-form button{grid-column:1/-1}.causal-relation{grid-template-columns:1fr}.conclusion-grid{grid-template-columns:1fr}}
@media(max-width:700px){.linked-case-actions{width:100%}.linked-case-actions button{flex:1}.causal-graph{min-width:0;padding:14px 8px}.causal-levels{gap:58px}.causal-level-nodes{flex-direction:column;align-items:stretch}.causal-fact{width:100%;min-width:0;max-width:none}.causal-relation{padding:10px}.validation-form{grid-template-columns:1fr}.validation-form>*{grid-column:1!important}.inv-result-badges{display:grid}.full-span{grid-column:auto}.cause-tree-card header{align-items:flex-start;gap:10px}.cause-tree-card header .small-action{font-size:10px;padding:8px}.conclusion-status{align-items:flex-start;flex-direction:column}}

/* Enterprise 79.3 · Árbol causal técnico con forma ramificada */
.cause-tree{display:block;padding:10px 0 2px;overflow:visible}
.causal-tree-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px;padding:11px 13px;border:1px solid #ded4e7;border-radius:13px;background:linear-gradient(135deg,#f7f3fa,#fff)}
.causal-tree-flow{display:grid;gap:2px}.causal-tree-flow b{font-size:11px;color:#523178}.causal-tree-flow span{font-size:10px;color:#6c6473;line-height:1.4}
.causal-tree-zoom{display:flex;align-items:center;gap:6px;flex:0 0 auto}.causal-tree-zoom button{border:1px solid #cfc2dc;background:#fff;color:#523178;border-radius:9px;min-width:34px;height:32px;padding:0 9px;font-weight:950;cursor:pointer}.causal-tree-zoom button:hover{background:#eee7f4}.causal-tree-zoom-value{min-width:46px;text-align:center;font-size:10px;font-weight:950;color:#523178}.causal-tree-zoom .tree-center-button{min-width:62px;font-size:9px}
.causal-tree-viewport{position:relative;overflow:auto;overscroll-behavior:contain;border:1px solid #e2dbe8;border-radius:17px;background:#fbfafc;box-shadow:inset 0 1px 0 #fff;scrollbar-color:#ad9dbf #f2eef5;scrollbar-width:thin}
.causal-tree-stage{position:relative;display:block;width:max-content;min-width:100%;transform-origin:top left}
.causal-graph{position:relative;min-width:820px;padding:0;background:radial-gradient(circle at 1px 1px,rgba(82,49,120,.07) 1px,transparent 1.2px);background-size:24px 24px;border:0;border-radius:0;box-shadow:none}
.causal-node-layer{position:absolute;inset:0;z-index:3;pointer-events:none}.causal-node-layer .causal-fact{pointer-events:auto}
.causal-depth-label{position:absolute;left:18px;z-index:4;padding:5px 9px;border-radius:999px;background:#ede6f2;color:#523178;font-size:9px;font-weight:950;letter-spacing:.065em;box-shadow:0 2px 6px rgba(46,27,67,.08)}
.causal-fact{position:absolute;width:268px;min-width:0;max-width:none;margin:0;background:#fff;border:2px solid #d8cde1;border-radius:15px;padding:12px;box-shadow:0 9px 24px rgba(53,32,74,.10);transition:box-shadow .18s ease,transform .18s ease}
.causal-fact:hover{box-shadow:0 13px 30px rgba(53,32,74,.16);transform:translateY(-1px)}
.causal-fact[data-layout-depth="0"]{border-width:3px;border-color:#523178;background:linear-gradient(180deg,#fff,#f7f2fa);box-shadow:0 12px 30px rgba(82,49,120,.17)}
.causal-fact[data-layout-depth="0"] .causal-fact-head span{font-size:11px}.causal-fact[data-layout-depth="0"]>p{font-size:14px}
.causal-lines{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:visible;filter:url(#causal-line-shadow)}
.causal-line{stroke:#7c678d;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:.96}
.causal-line.chain{stroke-width:2.7}.causal-line.conjunction{stroke-width:3}.causal-line.alternative{stroke-dasharray:8 6}.causal-line.independent{stroke-dasharray:3 5}
.causal-line.hypothesis,.causal-line.pending{stroke-dasharray:8 6}.causal-line.confirmed{stroke:#1f9d62;stroke-width:3.4}.causal-line.corroborated{stroke:#4f79bd}.causal-line.discarded{stroke:#9da4af;stroke-dasharray:4 6;opacity:.68}
.causal-junction{fill:#fff;stroke:#523178;stroke-width:2.5}.causal-junction.confirmed{stroke:#1f9d62}.causal-junction.corroborated{stroke:#4f79bd}.causal-junction.pending,.causal-junction.hypothesis{stroke:#d12b55}.causal-junction-label{font-size:9px;font-weight:950;fill:#523178;pointer-events:none}
.causal-tree-hint{margin-top:8px;padding:8px 11px;border-left:4px solid #f9b52c;background:#fff9e9;border-radius:8px;color:#6a6170;font-size:10px;line-height:1.45}

@media(max-width:700px){
  .causal-tree-toolbar{align-items:stretch;flex-direction:column}.causal-tree-zoom{justify-content:space-between}.causal-tree-zoom button{height:36px;flex:0 0 auto}.causal-tree-zoom .tree-center-button{margin-left:auto}
  .causal-tree-viewport{margin-inline:-3px;max-height:720px}.causal-graph{min-width:820px}.causal-depth-label{left:12px}.causal-tree-hint{font-size:9px}
  .causal-fact{width:268px}.causal-fact p{font-size:13px}.causal-fact dl div{padding:8px}.causal-status-editor select{font-size:11px;min-height:38px}
}

/* Enterprise 79.5 · Árbol causal móvil compacto, vertical y sin desbordes */
.mobile-causal-tree{display:none}
@media(max-width:700px){
  .cause-tree-card{overflow:visible}
  .cause-tree-card header{display:grid;grid-template-columns:1fr;gap:10px}
  .cause-tree-card header .small-action{width:100%;justify-content:center;min-height:42px}
  .cause-tree{padding-bottom:110px;overflow:visible;max-width:100%}
  .causal-tree-desktop{display:none!important}
  .causal-tree-toolbar.mobile-toolbar{display:block;margin:4px 0 10px;padding:12px 14px}
  .mobile-causal-tree{display:block;width:100%;max-width:100%;overflow:visible}
  .mobile-tree-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
  .mobile-tree-actions button{min-height:38px;border:1px solid #cfc2dc;background:#fff;color:#523178;border-radius:10px;font-size:11px;font-weight:900}
  .mobile-causal-roots,.mobile-causal-children{list-style:none;margin:0;padding:0}
  .mobile-causal-roots{display:grid;gap:18px}
  .mobile-causal-item{position:relative;min-width:0;max-width:100%}
  .mobile-causal-children{position:relative;display:grid;gap:12px;margin:10px 0 0 17px;padding-left:17px;border-left:2px solid #ad9dbf}
  .mobile-causal-children>.mobile-causal-item:before{content:"";position:absolute;left:-17px;top:26px;width:17px;border-top:2px solid #ad9dbf}
  .mobile-causal-children>.mobile-causal-item:last-child:after{content:"";position:absolute;left:-19px;top:28px;bottom:-14px;width:5px;background:#fbfafc}
  .mobile-causal-node{display:block;width:100%;max-width:100%;min-width:0;margin:0;background:#fff;border:2px solid #8c4799;border-radius:15px;box-shadow:0 7px 18px rgba(46,27,67,.09);overflow:hidden}
  .mobile-causal-node.root-node{border-width:3px;border-color:#523178;background:linear-gradient(180deg,#fff,#f7f2fa)}
  .mobile-causal-node.confirmed{border-color:#1f9d62}.mobile-causal-node.corroborated{border-color:#4f79bd}.mobile-causal-node.hypothesis{border-color:#e3a219}.mobile-causal-node.pending{border-color:#d12b55}.mobile-causal-node.discarded{border-color:#7c8798;background:#f4f5f7}
  .mobile-causal-node summary{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:12px 38px 12px 13px;cursor:pointer;list-style:none;min-width:0}
  .mobile-causal-node summary::-webkit-details-marker{display:none}
  .mobile-causal-node summary:focus-visible{outline:3px solid rgba(249,181,44,.55);outline-offset:-3px}
  .mobile-causal-code{min-width:0;font-size:10px;font-weight:950;letter-spacing:.035em;color:#523178;text-transform:uppercase}
  .mobile-causal-status{align-self:start;max-width:112px;padding:4px 7px;border-radius:999px;background:#eee8f3;color:#523178;font-size:8px;line-height:1.2;text-align:center;white-space:normal}
  .mobile-causal-node summary p{grid-column:1/-1;min-width:0;margin:3px 0 0;color:#2e1b43;font-size:14px;font-weight:850;line-height:1.36;overflow-wrap:anywhere}
  .mobile-causal-node summary i{position:absolute;right:13px;top:50%;width:9px;height:9px;border-right:2px solid #523178;border-bottom:2px solid #523178;transform:translateY(-65%) rotate(45deg);transition:transform .16s ease}
  .mobile-causal-node[open] summary i{transform:translateY(-25%) rotate(225deg)}
  .mobile-causal-detail{display:grid;gap:9px;padding:0 13px 13px;border-top:1px solid #e7e0ec}
  .mobile-causal-detail dl{display:grid;gap:8px;margin:11px 0 0}
  .mobile-causal-detail dl div{min-width:0;padding:9px 10px;background:#f7f4f9;border-radius:9px}
  .mobile-causal-detail dt{font-size:8px;font-weight:950;color:#8c4799;text-transform:uppercase}
  .mobile-causal-detail dd{margin:3px 0 0;color:#5e5765;font-size:11px;line-height:1.42;overflow-wrap:anywhere}
  .mobile-causal-detail>small{color:#347b57;font-size:9px;font-weight:750}
  .mobile-causal-detail .causal-status-editor{font-size:10px}
  .mobile-causal-detail .causal-status-editor select{width:100%;min-height:42px;font-size:12px}
  .mobile-causal-relation{position:relative;margin-top:10px;min-width:0}
  .mobile-relation-heading{display:flex;align-items:center;gap:7px;margin:0 0 8px 0;min-width:0}
  .mobile-relation-heading span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border:2px solid #523178;border-radius:50%;background:#fff;color:#523178;font-size:10px;font-weight:950;z-index:2}
  .mobile-relation-heading b{min-width:0;color:#6d6376;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
  .mobile-causal-relation.confirmed .mobile-relation-heading span{border-color:#1f9d62;color:#1f9d62}.mobile-causal-relation.corroborated .mobile-relation-heading span{border-color:#4f79bd;color:#4f79bd}.mobile-causal-relation.pending .mobile-relation-heading span,.mobile-causal-relation.hypothesis .mobile-relation-heading span{border-color:#d12b55;color:#d12b55}
  .mobile-causal-reference{width:100%;min-width:0;padding:10px 12px;border:1px dashed #8c4799;border-radius:11px;background:#faf8fc}
  .mobile-causal-reference span{font-size:10px;font-weight:950;color:#523178}.mobile-causal-reference p{margin:4px 0;font-size:12px;font-weight:800;color:#2e1b43;overflow-wrap:anywhere}.mobile-causal-reference small{font-size:8px;color:#6e6579}
  .mobile-causal-cycle{padding:10px;border:1px solid #d12b55;border-radius:10px;background:#fff2f5;color:#8d1934;font-size:10px;font-weight:800}
  .mobile-disconnected{margin-top:18px;padding-top:14px;border-top:1px dashed #cfc2dc}.mobile-disconnected>b{display:block;margin-bottom:10px;color:#523178;font-size:11px}
  .causal-tree-hint{margin-bottom:24px;font-size:10px}
  .investigation-results{padding-bottom:92px}
}

/* Enterprise 79.7 · Investigación V15 · revisión y confirmación del relato antes del análisis */
.confirm-narrative{
  border:1px solid #e1a30f;
  background:linear-gradient(135deg,#F9B52C 0%,#ffc928 100%);
  color:#2E1B43;
  border-radius:14px;
  padding:12px 16px;
  font-weight:950;
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 0 #d99a08,0 13px 22px rgba(249,181,44,.28);
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
.confirm-narrative svg{width:21px;height:21px;stroke-width:2.8}
.confirm-narrative:not(:disabled):hover{filter:brightness(1.025)}
.confirm-narrative:not(:disabled):active{transform:translateY(4px);box-shadow:0 4px 0 #d99a08,0 8px 14px rgba(249,181,44,.24)}
.confirm-narrative:focus-visible{outline:4px solid rgba(82,49,120,.24);outline-offset:3px}
.confirm-narrative:disabled{
  border-color:#d8d0df;
  background:#E6E0EC;
  color:#8E8A96;
  box-shadow:none;
  cursor:not-allowed;
  opacity:1;
}
.confirm-narrative.is-confirmed:disabled{
  border-color:#9dd4b8;
  background:#effaf4;
  color:#176b45;
  box-shadow:none;
}
.master-source-label.draft{color:#8b5f00;background:#fff8df;border:1px solid #ead392;border-radius:10px;padding:9px 11px;margin-bottom:10px}
.master-source-label.confirmed{color:#176b45;background:#effaf4;border:1px solid #9dd4b8;border-radius:10px;padding:9px 11px;margin-bottom:10px}
.narrative-review-notice{display:flex;align-items:flex-start;gap:10px;background:#fff9e9;border:1px solid #efd99c;border-left:5px solid #F9B52C;border-radius:12px;padding:11px 13px;margin:0 0 10px;color:#514a3f}
.narrative-review-notice svg{width:20px;height:20px;color:#a97500;flex:0 0 auto;margin-top:1px}
.narrative-review-notice b{display:block;color:#523178;margin-bottom:3px}
.narrative-review-notice p{margin:0;font-size:12px;line-height:1.45}
.narrative-review-notice.confirmed{background:#effaf4;border-color:#9dd4b8;border-left-color:#1f9d62}
.narrative-review-notice.confirmed svg{color:#1f9d62}
.investigation-card textarea.narrative-confirmed{background:#f7fbf9;border-color:#8dc7aa;color:#302a36}
.investigation-addendum.is-disabled{opacity:.7}
.investigation-addendum textarea:disabled{background:#f2eef5;color:#8a8290;cursor:not-allowed}
.investigation-addendum button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.linked-case-actions{display:grid;grid-template-columns:1fr}.linked-case-actions button{width:100%;justify-content:center}.narrative-review-notice{font-size:13px}}
.narrative-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 10px;font-size:10px;font-weight:900;color:#8b8291}
.narrative-flow span{padding:6px 8px;border-radius:999px;background:#f1edf4;border:1px solid #ded5e5}
.narrative-flow span.done{background:#eef8f3;border-color:#abd7bf;color:#1f7c51}
.narrative-flow span.active{background:#fff2d2;border-color:#e9cc73;color:#795500}
.narrative-flow i{font-style:normal;color:#a69cac}
@media(max-width:700px){.narrative-flow{display:grid;grid-template-columns:1fr 1fr;gap:7px}.narrative-flow i{display:none}.narrative-flow span{text-align:center}}
.investigation-mic:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.45)}

/* Enterprise 79.7 · Confirmación amarilla visible y operable en móvil */
.narrative-confirm-actions{display:flex;gap:10px;align-items:stretch;margin:10px 0 4px}
.narrative-confirm-actions .confirm-narrative{flex:1;justify-content:center;min-height:48px;font-size:14px}
.narrative-confirm-actions .secondary-lock{flex:1;justify-content:center;min-height:48px}
.narrative-confirm-help{margin:0 0 10px;color:#766d7d;font-size:11px;line-height:1.4}
.narrative-confirm-help.ready{color:#176b45;font-weight:800}
.narrative-confirm-help.confirmed{color:#176b45;font-weight:800}
.flow-stage-button{appearance:none;border:1px solid #ded5e5;background:#f1edf4;color:#8b8291;padding:6px 8px;border-radius:999px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.flow-stage-button.ready{background:#F9B52C;border-color:#e1a30f;color:#2E1B43;box-shadow:0 4px 10px rgba(249,181,44,.24)}
.flow-stage-button.done{background:#eef8f3;border-color:#abd7bf;color:#1f7c51}
.flow-stage-button.active{background:#fff2d2;border-color:#e9cc73;color:#795500}
.flow-stage-button:disabled{cursor:not-allowed;opacity:.72}
.narrative-review-notice.error{background:#fff2f5;border-color:#e8a9ba;border-left-color:#d12b55;color:#6e2438}
.narrative-review-notice.error svg{color:#d12b55}
@media(max-width:700px){
  .narrative-confirm-actions{display:grid;grid-template-columns:1fr;margin-top:12px}
  .narrative-confirm-actions .confirm-narrative,.narrative-confirm-actions .secondary-lock{width:100%;min-height:60px;font-size:17px}
  .narrative-flow .flow-stage-button{text-align:center;width:100%}
  .narrative-confirm-help{text-align:center;font-size:12px;padding:0 8px}
}

/* Enterprise 79.8 · Persistencia visible del relato del incidente */
.incident-draft-save-status{
  display:flex;align-items:center;gap:9px;margin:9px 3px 0;padding:9px 12px;border-radius:12px;
  color:#5f5669;background:#f7f4fa;border:1px solid #e2d9eb;font-size:.84rem;line-height:1.3;
}
.incident-draft-save-status span{width:10px;height:10px;border-radius:50%;background:#a2a2a2;flex:0 0 auto;box-shadow:0 0 0 4px rgba(162,162,162,.13)}
.incident-draft-save-status strong{font-weight:800}
.incident-draft-save-status[data-state="saving"]{color:#745500;background:#fff8df;border-color:#f2d47d}
.incident-draft-save-status[data-state="saving"] span{background:#f9b52c;box-shadow:0 0 0 4px rgba(249,181,44,.18)}
.incident-draft-save-status[data-state="saved"]{color:#16663f;background:#effaf5;border-color:#a9dfc5}
.incident-draft-save-status[data-state="saved"] span{background:#20a568;box-shadow:0 0 0 4px rgba(32,165,104,.16)}
.incident-draft-save-status[data-state="error"]{color:#8d1737;background:#fff1f4;border-color:#efafbf}
.incident-draft-save-status[data-state="error"] span{background:#d12b55;box-shadow:0 0 0 4px rgba(209,43,85,.14)}
@media(max-width:760px){.incident-draft-save-status{font-size:.78rem;margin-top:8px;padding:9px 11px}}


/* Enterprise 81.0 · Expediente digital integrado del caso */
.case-360-card{margin:18px 0 20px;padding:20px;border:1px solid #ded5e8;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f7f2fb 100%);box-shadow:0 10px 28px rgba(46,27,67,.08)}
.case-360-main{display:flex;align-items:center;gap:14px}.case-360-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#523178;color:#fff;box-shadow:0 8px 18px rgba(82,49,120,.24)}
.case-360-icon svg{width:26px;height:26px}.case-360-eyebrow{display:block;color:#8C4799;font-size:11px;font-weight:900;letter-spacing:.12em}.case-360-main h3{margin:3px 0 4px;color:#2E1B43;font-size:22px}.case-360-main p{margin:0;color:#685f70;font-size:13px}
.case-360-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 12px}.case-360-meta div{padding:11px 13px;border-radius:14px;background:#fff;border:1px solid #e7dfed}.case-360-meta small{display:block;color:#8b8291;font-size:10px;font-weight:900;letter-spacing:.08em}.case-360-meta strong{display:block;margin-top:4px;color:#34223f;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-360-progress{height:8px;border-radius:999px;background:#e8e0ed;overflow:hidden}.case-360-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#523178,#8C4799,#F9B52C);transition:width .35s ease}
.case-360-stages{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:12px 0}.case-360-stages span{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border-radius:12px;background:#f4f1f6;color:#817788;font-size:11px;font-weight:800;text-align:center}.case-360-stages span i{width:8px;height:8px;border-radius:50%;background:#b8afbD}.case-360-stages span.done{background:#eef8f3;color:#176b45}.case-360-stages span.done i{background:#20a568}.case-360-stages span.active{background:#fff4d8;color:#795500}.case-360-stages span.active i{background:#F9B52C}
.case-360-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.case-360-actions button{border:1px solid #d8cde1;background:#fff;color:#523178;border-radius:12px;padding:10px 13px;font:inherit;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.case-360-actions button:hover{background:#f4eef8}.case-360-actions button svg{width:16px;height:16px}
@media(max-width:760px){.case-360-card{margin:12px 0 16px;padding:15px;border-radius:18px}.case-360-main{align-items:flex-start}.case-360-icon{width:46px;height:46px;flex:0 0 auto}.case-360-main h3{font-size:18px}.case-360-meta{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.case-360-stages{grid-template-columns:repeat(3,1fr)}.case-360-actions{display:grid;grid-template-columns:1fr 1fr}.case-360-actions button{justify-content:center;min-height:44px;padding:9px 8px}.case-360-eyebrow{font-size:9px}}

/* PR Enterprise 1.0 RC2 · estado de base central */
.cloud-sync-status{position:fixed;right:14px;top:calc(env(safe-area-inset-top,0px) + 12px);z-index:9999;display:flex;align-items:center;gap:7px;max-width:min(78vw,300px);padding:8px 12px;border:1px solid #d8cde5;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(46,27,67,.12);font:700 12px/1.2 Montserrat,Arial,sans-serif;color:#523178;backdrop-filter:blur(10px)}
.cloud-sync-status svg{width:16px;height:16px}.cloud-sync-status[data-state="online"]{color:#16734a;border-color:#9bd9bd}.cloud-sync-status[data-state="syncing"]{color:#765300;border-color:#f2cf70}.cloud-sync-status[data-state="error"]{color:#a92343;border-color:#efadbd}.cloud-sync-status[data-state="local"]{color:#5f5868;background:rgba(255,255,255,.9)}
@media(max-width:700px){.cloud-sync-status{top:calc(env(safe-area-inset-top,0px) + 66px);right:10px;padding:7px 10px;font-size:10px;max-width:62vw}}

/* PR Enterprise 1.0 RC3 · estabilidad móvil, scroll y estado de sincronización */
html{min-height:100%;background:var(--bg);overscroll-behavior-y:none;scroll-behavior:auto}
body{min-height:100%;overscroll-behavior-y:none}
.app{min-height:100dvh}
.main{min-height:100dvh}
.view.active{min-height:0!important}
.cloud-sync-status{transition:opacity .2s ease,transform .2s ease,max-width .2s ease;cursor:pointer;user-select:none}
.cloud-sync-status button{border:0;background:transparent;color:inherit;font:900 16px/1 inherit;padding:0 0 0 2px;cursor:pointer}
.cloud-sync-status.is-collapsed{opacity:.72;transform:translateX(calc(100% - 42px));max-width:42px;overflow:hidden}
.cloud-sync-status.is-collapsed span,.cloud-sync-status.is-collapsed button{opacity:0;pointer-events:none}
.cloud-sync-status[data-state="local"]{color:#523178;border-color:#cdbde0;background:rgba(255,255,255,.96)}
@media(max-width:930px){
  html,body{width:100%;min-height:100dvh;overflow-x:hidden}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .app,.main{min-height:auto!important}
  main{min-height:0!important;padding-bottom:18px!important}
  .view,.view.active{min-height:0!important;height:auto!important}
  .mobile-nav{transform:translateZ(0)}
}
@media(max-width:700px){
  .cloud-sync-status{top:calc(env(safe-area-inset-top,0px) + 72px);right:8px;max-width:72vw;font-size:10px}
}

/* PR Enterprise 1.0 RC5 · estabilización conservadora móvil */
@media (max-width: 930px){
  html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important;}
  .app,.main,main{height:auto!important;min-height:0!important;}
  .view{height:auto!important;min-height:0!important;}
  .view.active{display:block!important;height:auto!important;min-height:0!important;}
  .mobile-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9000!important;}
  .cloud-sync-status{pointer-events:none!important;}
}
@media (max-width: 700px){
  .main,main{padding-bottom:12px!important;}
  .view.active > :last-child{margin-bottom:12px!important;}
  .people-hero,.people-card,.module-card{max-width:100%!important;}
}

/* RC Final 2 · etapas del expediente realmente interactivas */
.case-360-stages [data-stage]{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.case-360-stages [data-stage].stage-enabled{opacity:1;pointer-events:auto}
.case-360-stages [data-stage].stage-enabled:active{transform:scale(.97)}
.case-360-stages [data-stage].stage-enabled:focus-visible{outline:3px solid #F9B52C;outline-offset:3px}
.case-360-stages [data-stage].stage-locked{opacity:.46;cursor:not-allowed}
.case-360-stages [data-stage].done{border-color:#8C4799;background:#f5eef8;color:#523178}
.case-360-stages [data-stage].active{border-color:#F9B52C;background:#fff4d6;color:#6d4b00;box-shadow:0 0 0 2px rgba(249,181,44,.18)}
@media(max-width:760px){.case-360-stages [data-stage]{min-height:46px;padding:10px 14px;font-size:16px}}

/* Enterprise RC FINAL 3 — micrófono contextual destacado */
@media(max-width:930px){
  .mobile-nav-mic{
    width:74px!important;
    height:74px!important;
    margin-top:-30px!important;
    border:4px solid #fff!important;
    background:#F9B52C!important;
    color:#523178!important;
    box-shadow:0 12px 30px rgba(82,49,120,.30),0 4px 12px rgba(0,0,0,.16)!important;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease!important;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  .mobile-nav-mic:active{transform:scale(.94)}
  .mobile-nav-mic svg{width:31px;height:31px;stroke-width:2.6}
  .mobile-nav-mic.universal-recording{
    background:#c62846!important;
    color:#fff!important;
    animation:enterpriseMicPulse 1.15s ease-in-out infinite;
  }
  .mobile-nav-mic.audio-transcribing{
    background:#23845b!important;
    color:#fff!important;
    animation:enterpriseMicSpinGlow 1.2s linear infinite;
  }
}
@keyframes enterpriseMicPulse{
  0%,100%{box-shadow:0 12px 30px rgba(82,49,120,.30),0 0 0 0 rgba(198,40,70,.38)}
  50%{box-shadow:0 12px 30px rgba(82,49,120,.30),0 0 0 13px rgba(198,40,70,0)}
}
@keyframes enterpriseMicSpinGlow{
  0%,100%{box-shadow:0 12px 30px rgba(82,49,120,.30),0 0 0 4px rgba(35,132,91,.18)}
  50%{box-shadow:0 12px 30px rgba(82,49,120,.30),0 0 0 10px rgba(35,132,91,.04)}
}
