*{box-sizing:border-box}body{margin:0;font-family:Inter,Poppins,system-ui,-apple-system,sans-serif;background:#f7f9fc;color:#0d1426}.grad{background:linear-gradient(90deg,#2563eb,#7c3aed,#00c2a8);-webkit-background-clip:text;color:transparent}.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:750;cursor:pointer}.primary{color:white;background:linear-gradient(90deg,#2563eb,#7c3aed,#00c2a8)}.ghost{background:white;border:1px solid #dbe2ef;color:#0d1426}.top{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,5vw);background:white;border-bottom:1px solid #e6eaf0;position:sticky;top:0;z-index:4}.brand{font-size:22px;font-weight:900}.topnav{display:flex;gap:20px;align-items:center}.hero{padding:86px 6vw 72px;text-align:center;background:radial-gradient(circle at 50% 10%,#ebe7ff,transparent 42%)}.hero h1{font-size:clamp(38px,6vw,72px);line-height:1.02;max-width:950px;margin:14px auto}.hero p{font-size:19px;color:#566176;max-width:760px;margin:18px auto 28px}.pill{display:inline-block;padding:7px 12px;border-radius:99px;background:#e9fdf8;color:#087a69;font-weight:800;font-size:13px}.section{padding:64px 6vw;max-width:1240px;margin:auto}.section h2{font-size:34px;margin:0 0 12px}.muted{color:#667085}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid #e5eaf2;border-radius:18px;padding:22px;box-shadow:0 8px 28px #13213b0b}.card h3{margin:6px 0}.example{background:#0d1426;color:white;text-align:left;max-width:760px;margin:34px auto 0;padding:26px;border-radius:20px}.example small{color:#9fb0ca}.footer{background:#0d1426;color:white;padding:45px 6vw}.footer p{color:#aab5c8}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.side{background:#0d1426;color:white;padding:22px 14px;position:sticky;top:0;height:100vh}.side .brand{padding:8px 12px 24px}.navbtn{display:block;width:100%;text-align:left;border:0;background:transparent;color:#c9d2e2;padding:12px;border-radius:10px;margin:3px 0;cursor:pointer;font-weight:650}.navbtn.active,.navbtn:hover{background:linear-gradient(90deg,#2563eb66,#7c3aed66);color:white}.main{padding:28px;max-width:1200px;width:100%}.dashhead{display:flex;justify-content:space-between;align-items:center;gap:12px}.agent{display:flex;align-items:center;gap:10px}.agentIcon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed,#00c2a8);display:grid;place-items:center;color:white;font-size:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.stat b{font-size:28px;display:block}.prompt{padding:26px;background:white;border:1px solid #e5eaf2;border-radius:20px}.prompt textarea{width:100%;min-height:100px;border:1px solid #dce3ee;border-radius:14px;padding:14px;font:inherit;resize:vertical;margin:12px 0}.ideas{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.idea{cursor:pointer}.idea:hover{border-color:#7c3aed}.row{display:flex;justify-content:space-between;gap:15px;align-items:center}.badge{font-size:12px;font-weight:800;padding:6px 9px;border-radius:99px;background:#eafaf6;color:#087a69}.warn{background:#fff4e5;color:#a15c00}.list{display:grid;gap:12px;margin-top:18px}.mail{border-left:4px solid #7c3aed}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.modal{position:fixed;inset:0;background:#0d1426aa;display:grid;place-items:center;z-index:20;padding:20px}.modalbox{background:white;border-radius:22px;padding:28px;max-width:470px;width:100%}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#e8e5ff,#f7f9fc 50%)}.loginbox{background:white;padding:34px;border-radius:22px;border:1px solid #e5eaf2;width:min(430px,92vw);text-align:center}.loginbox input{width:100%;padding:13px;border:1px solid #dce3ee;border-radius:11px;margin:7px 0}.hidden{display:none!important}@media(max-width:850px){.grid,.stats{grid-template-columns:1fr 1fr}.shell{grid-template-columns:1fr}.side{height:auto;position:relative}.side nav{display:flex;overflow:auto}.navbtn{min-width:max-content}.main{padding:18px}.ideas{grid-template-columns:1fr}.topnav a{display:none}}@media(max-width:560px){.grid,.stats{grid-template-columns:1fr}.hero{padding-top:58px}.dashhead{align-items:flex-start;flex-direction:column}}
html{scroll-behavior:smooth}.topnav a{color:#344054;text-decoration:none;font-weight:650}.topnav a:hover{color:#7c3aed}.heroActions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.linkbtn{text-decoration:none;display:inline-flex;align-items:center}.sectionIntro{max-width:720px;margin-bottom:28px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;color:#6d4aff}.eyebrow.light{color:#a9f4e7}.feature{min-height:210px}.featureIcon{font-size:24px}.softSection{max-width:none;padding-left:max(6vw,calc((100vw - 1240px)/2));padding-right:max(6vw,calc((100vw - 1240px)/2));background:linear-gradient(180deg,#f7f9fc,#f0f4fb)}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stepNum{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:white;font-weight:900;background:linear-gradient(135deg,#2563eb,#7c3aed,#00c2a8)}.agentPublic{display:flex;align-items:center;justify-content:space-between;gap:30px;background:white;border:1px solid #e5eaf2;border-radius:24px;margin-top:30px;margin-bottom:30px}.agentPublic>div:first-child{max-width:700px}.agentVisual{display:flex;align-items:center;gap:14px;min-width:220px;padding:20px;border-radius:18px;background:#f7f9fc}.agentVisual small{display:block;color:#667085;margin-top:3px}.agentIcon.big{width:54px;height:54px;border-radius:16px}.planCard{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px;border-radius:24px;color:white;background:#0d1426}.planCard h2{margin:12px 0 8px}.planCard p{color:#c5cfde;max-width:720px}.contactBand{background:linear-gradient(120deg,#111a31,#18254a);color:white;padding:64px 6vw}.contactInner{max-width:1240px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:60px}.contactBand h2{font-size:36px;margin:8px 0}.contactBand p{color:#c2ccdc}.contactLink{color:white;font-weight:800;text-decoration:none}.newsletter{padding:26px;border:1px solid #ffffff20;border-radius:20px;background:#ffffff0a}.newsletter h3{font-size:24px;margin:8px 0}.newsletterForm{display:flex;gap:9px;margin:16px 0 8px}.newsletterForm input{flex:1;min-width:0;padding:12px 14px;border:1px solid #ffffff2c;background:white;border-radius:12px;font:inherit}.newsletter small{color:#9eabc0}.footer{padding:52px 6vw 22px}.footerGrid{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px}.footer h4{margin:3px 0 14px}.footer a{display:block;color:#c3ccdb;text-decoration:none;margin:9px 0}.footer a:hover{color:white}.footerBottom{max-width:1240px;margin:38px auto 0;padding-top:20px;border-top:1px solid #ffffff1c;display:flex;justify-content:space-between;gap:15px;color:#8f9cb1;font-size:13px}@media(max-width:900px){.steps{grid-template-columns:1fr 1fr}.footerGrid{grid-template-columns:1fr 1fr}.contactInner{grid-template-columns:1fr}.agentPublic,.planCard{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.steps,.footerGrid{grid-template-columns:1fr}.newsletterForm{flex-direction:column}.footerBottom{flex-direction:column}.contactBand{padding:48px 6vw}}
.publicPrompt{max-width:820px;margin:30px auto 0;padding:24px;background:#fff;border:1px solid #e1e7f0;border-radius:22px;box-shadow:0 16px 50px #1c2b4d12;text-align:left}.publicPrompt label{display:block;font-size:20px;font-weight:900;margin-bottom:10px}.publicPrompt textarea{width:100%;min-height:112px;padding:15px;border:1px solid #d9e1ee;border-radius:14px;font:inherit;resize:vertical;color:#0d1426;background:#fbfcfe}.publicPrompt .heroActions{justify-content:flex-start;margin-top:12px}.starterWrap{max-width:960px;margin:28px auto 0;text-align:left}.starterWrap>small{display:block;text-align:center;color:#667085;font-weight:900;letter-spacing:.1em;margin-bottom:12px}.starterGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.starterCard{appearance:none;text-align:left;border:1px solid #e1e7f0;background:white;border-radius:16px;padding:16px;cursor:pointer;color:#0d1426;transition:.15s ease}.starterCard:hover{transform:translateY(-2px);border-color:#7c3aed;box-shadow:0 10px 24px #452c8f12}.starterCard span{display:block;color:#6d4aff;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:7px}.starterCard b{display:block;line-height:1.25}.starterCard small{display:block;color:#087a69;font-weight:800;margin-top:12px}.flowConfirm{max-width:620px}.flowPreview{background:#f7f9fc;border:1px solid #e4e9f2;border-radius:16px;padding:18px;margin:18px 0}.flowPreview p{margin:7px 0 16px}.flowLine{padding:13px;border-radius:12px;background:white;color:#344054;font-weight:750;line-height:1.8}.flowLine span{color:#7c3aed;padding:0 5px}@media(max-width:850px){.starterGrid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.starterGrid{grid-template-columns:1fr}.publicPrompt{padding:18px}.publicPrompt .heroActions{flex-direction:column}.publicPrompt .btn{width:100%;justify-content:center}}

.danger{background:#fff1f1;color:#a61b1b;border:1px solid #ffd4d4}.mini{padding:7px 10px;font-size:12px}.modalText{width:100%;min-height:150px;border:1px solid #dce3ee;border-radius:12px;padding:12px;font:inherit}.modalbox input,.prompt input{width:100%;padding:13px;border:1px solid #dce3ee;border-radius:11px;margin:7px 0}.pricing{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.price{display:flex;flex-direction:column;align-items:flex-start}.priceValue{font-size:34px;font-weight:900;margin:12px 0}.priceValue small{font-size:13px;color:#667085}.price .btn{margin-top:auto}.plansHead{text-align:center;max-width:760px;margin:0 auto}.annual{text-align:center;color:#667085}.standalone{min-height:100vh;padding:32px 6vw;background:#f7f9fc}.center{text-align:center;margin:28px}.smallPrice{font-size:26px}.accountGrid{grid-template-columns:repeat(3,1fr)}@media(max-width:1000px){.pricing{grid-template-columns:1fr 1fr}}@media(max-width:600px){.pricing,.accountGrid{grid-template-columns:1fr}}
/* MVP V2 · reusable automations */
.typePick{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.typePick label,.sourceBox{display:flex;gap:8px;align-items:flex-start;border:1px solid #dce3ee;border-radius:12px;padding:12px;background:#fff}.typePick label{flex-direction:column}.typePick input,.sourceBox input{width:auto}.wide{max-width:820px}.v2grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.v2grid label{display:block;margin:10px 0}.v2grid input,.v2grid select,.modalbox select{width:100%;box-sizing:border-box;padding:11px;border:1px solid #dce3ee;border-radius:10px;background:#fff}.v2grid .sourceBox{display:flex}.v2grid .sourceBox input{width:auto}@media(max-width:760px){.typePick,.v2grid{grid-template-columns:1fr}}
.editableRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:8px 0}.varEdit{grid-template-columns:minmax(0,1.5fr) minmax(110px,.7fr) auto}.editableRow input,.editableRow select{margin:0!important}.iconBtn{width:34px;height:34px;border-radius:9px;border:1px solid #dce3ee;background:#fff;cursor:pointer;font-size:20px;line-height:1}.iconBtn:hover{background:#fff1f1;color:#a61b1b}.sourceEdit select{width:100%}@media(max-width:620px){.varEdit{grid-template-columns:1fr}.varEdit .iconBtn{justify-self:end}}
.resultHero{margin-bottom:18px}.resultHero h2{margin:12px 0 6px}.resultCard{max-width:900px}.resultText{font-size:15px;line-height:1.7;white-space:normal}.resultCard+.card{margin-top:14px}
.resultHero{margin-bottom:18px}.resultHero h2{margin:12px 0 6px}.resultCard{max-width:900px}.resultText{font-size:15px;line-height:1.7}.resultCard+.card{margin-top:14px}

/* Feature icons visual refresh 06 */
.feature{min-height:230px;position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.feature:hover{transform:translateY(-3px);box-shadow:0 14px 34px #13213b14;border-color:#d5dded}.featureIcon{width:68px;height:68px;display:grid;place-items:center;margin:0 0 14px;border-radius:18px;background:linear-gradient(145deg,#f8fbff,#eef3ff);box-shadow:0 8px 20px #29487812}.featureIcon svg{width:58px;height:58px;display:block}.feature:nth-child(2n) .featureIcon{background:linear-gradient(145deg,#fbf8ff,#f2edff)}.feature:nth-child(3n) .featureIcon{background:linear-gradient(145deg,#f5fffc,#e7fbf5)}@media(max-width:560px){.featureIcon{width:62px;height:62px}.featureIcon svg{width:52px;height:52px}}

/* FIX 08 · tarjetas operativas */
.homePlanRow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.statLink{appearance:none;width:100%;font:inherit;text-align:left;cursor:pointer;border:1px solid #e6eaf0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.statLink:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(13,20,38,.08);border-color:#cbd5e1}.statLink:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px}.statAction{display:block;margin-top:10px;font-size:12px;font-weight:700;color:#2563eb}.statAttention{box-shadow:inset 0 0 0 1px rgba(124,58,237,.16)}

/* Planner 11 */
.plannerPlan{display:grid;gap:10px;margin:18px 0}.plannerStep{padding:14px;border:1px solid #e6eaf0;border-radius:14px;background:#fbfcff}.plannerStep small{display:block;font-weight:800;color:#64748b;margin-bottom:6px}.plannerStep ol{margin:8px 0 0 20px}.plannerSource{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 0}.plannerSource small{flex:1;min-width:180px;margin:0}.plannerMissing{background:#fffaf0}.sourceNeed{margin-bottom:8px}.sourceNeed p{margin:5px 0}
/* Resolver + Conexiones V12 */
.connectorGrid{margin-top:18px}.connectorCard{min-height:230px}.connectorCard h3{margin:10px 0 4px}.smallBtn{padding:7px 10px;font-size:12px;margin-left:8px}.badge.ok{background:#e8fbf6;color:#087f6b}.sourceNeed .btn{margin-top:8px}.plannerSource small{display:block;margin:4px 0 8px}
/* V14 UX: planner visible, acciones fijas y dictado */
.modal{align-items:center;overflow:hidden}
.modalbox{max-height:calc(100vh - 40px);overflow:auto;box-sizing:border-box;overscroll-behavior:contain}
.modalbox.wide{width:min(900px,96vw);max-width:900px;padding:22px}
.modalbox.flowConfirm>.actions{position:sticky;bottom:-1px;z-index:4;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 24%);padding:14px 0 2px;margin-top:16px;border-top:1px solid #e8edf4}
.modalbox.flowConfirm h2{font-size:24px;line-height:1.15;margin:10px 0 8px}
.modalbox.flowConfirm>p.muted{margin:6px 0 14px}
.v2grid{gap:14px}.sourceNeed{padding:14px;margin-bottom:9px}.sourceNeed p{margin:5px 0 9px}.plannerPlan{display:grid;gap:8px}.plannerStep{padding:11px 13px}.plannerStep ol{margin:7px 0 0;padding-left:20px}
.inlineNotice{position:sticky;top:-1px;z-index:7;background:#f1f5ff;border:1px solid #cddcff;border-radius:14px;padding:14px 42px 14px 14px;margin-bottom:14px;box-shadow:0 8px 24px #0d142612}.inlineNotice p{margin:6px 0 10px;line-height:1.4}.inlineClose{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:24px;cursor:pointer;color:#536079}
.dictationWrap{position:relative}.dictationWrap textarea{padding-right:112px!important}.dictateBtn{position:absolute;right:10px;bottom:10px;border:1px solid #d8e1ef;background:#fff;border-radius:999px;padding:8px 11px;display:flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:800;color:#344054;cursor:pointer;box-shadow:0 3px 12px #0d142610}.dictateBtn:hover{border-color:#7c3aed}.dictateBtn.listening{background:#f3edff;border-color:#7c3aed;color:#5a32bd}.dictateBtn.listening:before{content:'';width:7px;height:7px;border-radius:50%;background:#e53935;display:inline-block;animation:curoPulse 1s infinite}@keyframes curoPulse{50%{opacity:.35}}
@media(max-height:760px){.modal{padding:10px}.modalbox{max-height:calc(100vh - 20px)}.modalbox.wide{padding:18px}.modalbox.flowConfirm h2{font-size:21px}.v2grid h3{margin:10px 0 7px}.card.sourceNeed{padding:11px}}
@media(max-width:760px){.modal{padding:8px;align-items:stretch}.modalbox,.modalbox.wide{max-height:calc(100vh - 16px);margin:auto}.dictationWrap textarea{padding-right:94px!important}.dictateBtn{font-size:12px}}

/* ===== V2 conectada (2026-10) ===== */
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:60;background:#0d1426;color:#fff;padding:12px 18px;border-radius:12px;font-weight:650;box-shadow:0 10px 30px rgba(13,20,38,.25);max-width:min(560px,92vw)}
.toast.warn{background:#9a3412}
.spin{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation-duration:2.4s}}
.field{display:block;text-align:left;font-weight:700;font-size:14px;margin:12px 0 0;color:#0d1426}
.field input,.field textarea,.plannerStep input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid #dbe2ef;border-radius:10px;font:inherit;font-weight:500;background:#fff;color:#0d1426}
.field textarea{resize:vertical;line-height:1.5}
.field input:focus,.field textarea:focus,.plannerStep input:focus,textarea:focus{outline:2px solid #7c3aed33;border-color:#7c3aed}
.wideBtn{width:100%;margin-top:12px}
.formError{color:#b42318;font-size:14px;min-height:18px;margin:10px 0 0}
.switchAuth{margin-top:14px}
.btn:focus-visible,.navbtn:focus-visible,.exampleChip:focus-visible{outline:3px solid #7c3aed66;outline-offset:2px}
.btn:disabled{opacity:.7;cursor:progress}
.btn.danger{color:#b42318;border-color:#f3c7c2}
.dangerBtn{background:#b42318}
.smallBtn{padding:7px 11px;font-size:13px}
.iconBtn{border:0;background:#f1f4f9;border-radius:10px;width:34px;height:34px;font-size:20px;cursor:pointer;line-height:1;color:#0d1426}
.modalbox.wide{max-width:760px}
.modalbox h2{font-size:22px}
.modalText{margin-top:12px}
.notice{background:#f4f0ff;border:1px solid #e3d9ff;border-radius:12px;padding:12px 14px;margin:12px 0;color:#2b2350;line-height:1.5}
.notice.warn{background:#fff7ed;border-color:#fed7aa;color:#7c2d12}
.notice.danger{background:#fef3f2;border-color:#fecdca;color:#912018}
.notice ul{margin:6px 0 0;padding-left:20px}
.notice .btn{margin-left:8px}
.badge.warn{background:#fff4e5;color:#9a3412}
.badge.danger{background:#fef3f2;color:#b42318}
.badge.ok{background:#eafaf6;color:#087a69}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.chip{font-size:12px;font-weight:700;padding:5px 9px;border-radius:99px;background:#f1f4f9;color:#334155}
.planSummary{font-size:16px;color:#334155;margin:0 0 6px}
.plannerPlan{display:grid;gap:10px;margin-top:10px}
.plannerStep{background:#f8fafc;border:1px solid #e8edf4;border-radius:12px;padding:12px 14px}
.plannerStep small{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#64748b;margin-bottom:6px}
.plannerStep ol{margin:0;padding-left:20px;line-height:1.6}
.mono{display:block;font-family:ui-monospace,Menlo,monospace;font-size:12px;margin-top:4px}
.toggle{display:flex;gap:8px;align-items:center;font-weight:650;cursor:pointer}
.toggle input{width:18px;height:18px;accent-color:#7c3aed}
.examples{margin-top:18px;display:grid;gap:8px}
.examples small{font-weight:800;letter-spacing:.08em;font-size:11px}
.exampleChip{text-align:left;border:1px solid #e5eaf2;background:#fafbfe;border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;color:#334155;cursor:pointer}
.exampleChip:hover{border-color:#c4b5fd;background:#f7f4ff}
.statText{font-size:22px!important}
.navCount{display:inline-block;min-width:20px;padding:1px 6px;border-radius:99px;background:#f97316;color:#fff;font-size:12px;text-align:center;margin-left:6px}
.sideFoot{margin-top:24px;border-top:1px solid #1f2a44;padding-top:14px;color:#94a3b8;word-break:break-all}
.autoCard h3,.apCard h3{margin:4px 0}
.meta{font-size:13px;color:#64748b;margin:6px 0 0}
.empty{text-align:center;padding:34px}
.resultText{white-space:pre-wrap;background:#f8fafc;border:1px solid #e8edf4;border-radius:12px;padding:14px;margin-top:12px;line-height:1.6;max-height:50vh;overflow:auto}
.stepsLog{margin-top:12px}
.stepsLog summary{cursor:pointer;font-weight:700;color:#4c1d95}
.stepsLog ol{line-height:1.7;padding-left:20px}
blockquote{margin:6px 0 12px;padding:10px 14px;border-left:3px solid #7c3aed;background:#f7f4ff;border-radius:0 10px 10px 0}
.tableWrap{overflow-x:auto;margin-top:14px;background:#fff;border:1px solid #e5eaf2;border-radius:16px}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#64748b;padding:12px;border-bottom:1px solid #e5eaf2}
.table td{padding:12px;border-bottom:1px solid #eef2f7;vertical-align:top}
.clickRow{cursor:pointer}
.clickRow:hover{background:#f8fafc}
.connGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:16px}
.conn.soon{opacity:.7}
.preLine{white-space:pre-wrap}
button.starterCard{font:inherit;text-align:left;cursor:pointer;border:1px solid #e5eaf2;background:#fff}
button.starterCard:hover{border-color:#c4b5fd}
@media (max-width:760px){.notice .btn{margin:8px 0 0}.modalbox.wide{max-width:100%}}
.shell>*{min-width:0}
@media (max-width:850px){.sideFoot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px}.sideFoot .navbtn{width:auto;margin:0}}
.helpLine{font-size:13px;margin-top:12px}
.helpLine a,.contactBig a{color:#4c1d95;font-weight:700}
.contactBig{font-size:20px;margin:6px 0 14px}
.helpFab{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:15;width:48px;height:48px;border-radius:50%;border:0;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font:800 20px/1 Inter,system-ui,sans-serif;box-shadow:0 10px 24px rgba(37,99,235,.35);cursor:pointer}
.helpFab:focus-visible{outline:3px solid #7c3aed66;outline-offset:3px}
a.btn{display:inline-flex;align-items:center;text-decoration:none}

/* 11-oct-2026 · Volver a CURO Group siempre visible (también en móvil) */
a.brandLink{text-decoration:none;color:inherit}.topnav a.backCuro{display:inline-flex!important;align-items:center;font-weight:750;color:#2563eb;white-space:nowrap}a.backCuroSide{display:block;text-decoration:none}
@media(max-width:420px){.topnav{gap:10px}.topnav a.backCuro{font-size:13px}}

.previewExample{background:#f6f8fc;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;margin:6px 0;line-height:1.55;font-size:14px;white-space:normal;max-height:280px;overflow:auto}

.modesGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:18px}
.modeCard{display:flex;flex-direction:column;gap:10px;min-width:0}
.modeCard h3{margin:0}
.modeCard ul{margin:0;padding-left:18px;display:grid;gap:4px;font-size:15px}
.modeCard .btn{margin-top:auto;align-self:flex-start}
.modeTag{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:99px;background:#e9ecff;color:#3b4ff0}
.modeCard.auto .modeTag{background:#e3f5ef;color:#14866d}
.modeCard.auto{border:2px solid #3b4ff0}
.modePrice{font-weight:700;margin:0}
.modal .field select,.modal .field textarea{width:100%;font:inherit;padding:10px 12px;border:1px solid #d9deea;border-radius:10px;background:#fff}
.small{font-size:13px}

/* Mi agente: agente IA personal */
.modeCard.agente .modeTag{background:#fff1e0;color:#b45309}
.agentSetup{display:grid;gap:14px}.agentSetup h2{margin:0}
.profileGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.profileCard{display:flex;flex-direction:column;gap:4px;text-align:left;padding:12px;border:1.5px solid #e1e6f0;border-radius:14px;background:#fff;cursor:pointer;font:inherit;color:inherit;min-width:0}
.profileCard small{color:#667085;font-size:12px;line-height:1.35}
.profileCard:hover{border-color:#9aa6f7}.profileCard.sel{border-color:#3b4ff0;background:#f2f4ff;box-shadow:0 0 0 2px #3b4ff0 inset}
.profileIcon{font-size:24px;line-height:1}
.agentSetup textarea,.agentSetup input[type=time],.agAdd input{font:inherit;padding:10px 12px;border:1px solid #d9deea;border-radius:10px;background:#fff;width:100%;box-sizing:border-box}
.inlineField{display:flex;align-items:center;gap:10px;margin-top:8px}.inlineField input{width:auto!important}
.agHead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:12px 20px;overflow:visible}
.agWho{display:flex;align-items:center;gap:16px}.agWho small{display:block}
.agGrid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:start}
@media(max-width:900px){.agGrid{grid-template-columns:1fr}}
.agChat{display:flex;flex-direction:column;gap:10px;min-height:420px}
.agMsgs{flex:1;max-height:55vh;min-height:280px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:4px}
.agMsg{max-width:85%;padding:10px 13px;border-radius:14px;line-height:1.5;font-size:15px;overflow-wrap:anywhere}
.agMsg.bot{background:#f3f5fa;align-self:flex-start;border-bottom-left-radius:4px}
.agMsg.me{background:#3b4ff0;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.agForm{display:flex;gap:8px;align-items:flex-end}.agForm .dictationWrap{flex:1}
.agForm textarea{width:100%;box-sizing:border-box;font:inherit;padding:10px 12px;border:1px solid #d9deea;border-radius:12px;resize:vertical}
.agTabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.agTab{border:1px solid #e1e6f0;background:#fff;border-radius:99px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer;color:inherit}
.agTab.active{background:#0d1426;color:#fff;border-color:#0d1426}
.agCount{margin-left:6px;font-weight:700;font-size:12px;opacity:.8}.agCount:empty{display:none}
.agList{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.agItem{display:flex;align-items:flex-start;gap:10px;padding:9px 10px;border:1px solid #edf0f6;border-radius:12px}
.agItem>div{flex:1;min-width:0}.agItem b{display:block;font-weight:600;overflow-wrap:anywhere}.agItem small{display:block;color:#667085;font-size:13px}
.agItem.done b{text-decoration:line-through;color:#98a2b3}
.agItem .iconBtn{width:28px;height:28px;font-size:17px;flex:none}
.agCheck{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid #9aa6f7;background:#fff;cursor:pointer;color:#14866d;font-weight:800;line-height:1;padding:0;margin-top:1px}
.agItem.done .agCheck{border-color:#14866d;background:#e3f5ef}
.agEmpty{padding:10px 2px}
.agDone{margin-top:10px}.agDone summary{cursor:pointer;color:#667085;font-size:14px;margin-bottom:6px}
.agAdd{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}.agAdd input{flex:1;min-width:140px}
@media(max-width:850px){.shell{grid-template-columns:minmax(0,1fr)}.side{min-width:0}.sideFoot{flex-wrap:wrap;justify-content:flex-start;word-break:normal}.sideFoot small{flex-basis:100%;overflow-wrap:anywhere}.agForm{flex-direction:column;align-items:stretch}}

/* Presentación de los 8 agentes AIA */
.agLanding{background:#fbf7f1}
.agHero{text-align:center;padding:64px 6vw 48px;background:radial-gradient(circle at 50% 0,#fde9cf,transparent 60%)}
.agHero h1{font-size:clamp(32px,5vw,58px);line-height:1.05;max-width:900px;margin:14px auto}
.agHero p{font-size:18px;color:#566176;max-width:720px;margin:0 auto 26px}
.agHeroRow{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 auto 28px;max-width:900px}
.agHeroRow img{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 18px #1f2a4414}
.agHero .btn{display:inline-flex;text-decoration:none}
.agCards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.agCard{background:#fff;border:1px solid #efe6d8;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px #1f2a440a;transition:transform .15s,box-shadow .15s}
.agCard:hover{transform:translateY(-3px);box-shadow:0 14px 30px #1f2a4416}
.agCardPic{background:#f9e6c8;display:flex;justify-content:center}
.agCardPic img{width:100%;max-width:240px;aspect-ratio:1;object-fit:cover;display:block}
.agCardBody{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.agCardBody h3{margin:0;font-size:22px}.agCardBody h3 small{display:block;font-size:13px;font-weight:600;color:#667085;margin-top:2px}
.agCardBody p{margin:0;color:#475467;font-size:15px;line-height:1.45}
.agCardBody ul{margin:0;padding-left:18px;font-size:14px;color:#344054;display:grid;gap:3px}
.agCardBody .btn{margin-top:auto;align-self:stretch}
.agCardFor{align-self:flex-start;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#0f766e;background:#e3f5ef;padding:4px 10px;border-radius:99px}
.agKeeps{grid-template-columns:repeat(4,1fr)}
.agPrivacy{margin-top:16px}
.agLanding+.footer .footerBottom{margin-top:0;border-top:0;padding-top:0}
.agLanding+.footer .footerBottom a{color:#c3ccdb}
@media(max-width:900px){.agKeeps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.agKeeps{grid-template-columns:1fr}.agHeroRow img{width:64px;height:64px}.agHero{padding-top:42px}}
.profilePic{width:100%;max-width:120px;aspect-ratio:1;object-fit:cover;border-radius:14px;align-self:center;margin-bottom:4px}
.profileCard{align-items:stretch}.profileCard b{font-size:17px;text-align:center}
.profileFor{text-align:center;font-weight:700;color:#0f766e!important}
.agAvatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:none;border:2px solid #fff;box-shadow:0 2px 8px #1f2a4414}
.agAvatar.big{width:150px;height:150px;margin:-26px 0}
.agBotRow{display:flex;gap:8px;align-items:flex-end;align-self:flex-start;max-width:92%}.agBotRow .agMsg{max-width:100%}
@media(max-width:560px){.agCards{grid-template-columns:1fr 1fr;gap:10px}.agCardBody{padding:10px 10px 12px;gap:6px}.agCardBody h3{font-size:18px}.agCardBody p{font-size:13px}.agCardBody ul{display:none}.agCardFor{font-size:10px;padding:3px 7px}.agCardBody .btn{padding:10px 8px;font-size:13px}}
/* 8 agentes siempre en filas completas: 4 por fila en pantalla grande, 2 en tablet y móvil */
.agCards{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.agCards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 9 agentes: 3 filas de 3 en pantalla grande; en tablet y móvil de a 2, con el último centrado */
.agCards{grid-template-columns:repeat(3,minmax(0,1fr))}.agCardPic img{max-width:280px}
@media(max-width:1000px){.agCards{grid-template-columns:repeat(2,minmax(0,1fr))}.agCards .agCard:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 9px)}}
@media(max-width:560px){.agCards .agCard:last-child:nth-child(odd){width:calc(50% - 5px)}}
.agHeroRow{max-width:980px}
.agHeroPick{border:0;background:none;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;font:inherit;color:#344054;font-size:13px;font-weight:700}
.agHeroPick img{transition:transform .15s}
.agHeroPick:hover img,.agHeroPick:focus-visible img{transform:translateY(-4px) scale(1.05)}
.agCard{scroll-margin-top:90px}
.agCard.flash{box-shadow:0 0 0 4px #7c3aed,0 14px 30px #7c3aed33;transform:translateY(-3px)}
/* Bienvenida del agente, aviso al elegir e ideas para empezar */
.agWelcome{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.agWelcomePic{width:150px;height:150px;border-radius:24px;object-fit:cover;flex:none;background:#f9e6c8}
.agBubble{position:relative;flex:1;min-width:220px;background:#f2f4ff;border-radius:18px;padding:14px 16px}
.agBubble b{display:block;font-size:19px;margin-bottom:4px}.agBubble p{margin:0;color:#344054;line-height:1.5}
.agWelcome .agBubble::before{content:"";position:absolute;left:-8px;top:28px;border:8px solid transparent;border-right-color:#f2f4ff;border-left:0}
.agQ{font-weight:800;color:#0d1426}
.agOther summary{cursor:pointer;color:#3b4ff0;font-weight:700;margin-bottom:10px}
.agPickModal{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.agPickModal img{width:120px;height:120px;border-radius:20px;object-fit:cover;background:#f9e6c8}
.agStarters{display:flex;flex-direction:column;gap:6px;margin-top:6px;align-self:stretch}
.agStarters .exampleChip{text-align:left}
@media(max-width:560px){.agWelcomePic{width:110px;height:110px}.agWelcome .agBubble::before{display:none}}
/* Bienvenida del agente en el centro */
.wCard{min-height:520px;display:flex;flex-direction:column;justify-content:center}
.wCenter{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;max-width:760px;margin:0 auto;width:100%}
.wCenter h2{margin:0}
.wBig{width:min(260px,60vw);aspect-ratio:1;object-fit:cover;border-radius:32px;background:#f9e6c8;animation:wIn .6s ease-out both}
.wBubble{max-width:520px;text-align:left;animation:wIn .6s .15s ease-out both}
.wGo{font-size:17px;padding:14px 28px;animation:wIn .6s .3s ease-out both}
.wJump{animation:wJump .7s ease-out both}
@keyframes wIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes wJump{0%{opacity:0;transform:scale(.85)}60%{opacity:1;transform:translateY(-12px) scale(1.03)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.wBig,.wBubble,.wGo,.wJump{animation:none}}
.wChat{display:flex;flex-direction:column;gap:14px;max-width:620px;margin:0 auto;width:100%}
.wChat textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px 14px;border:1px solid #d9deea;border-radius:14px;resize:vertical}
.wChat .agMsg{font-size:17px}
.wChoices{display:flex;flex-direction:column;gap:8px}
.wDots{display:flex;gap:6px;justify-content:center}.wDots span{width:36px;height:6px;border-radius:3px;background:#e5e7eb}.wDots span.on{background:#3b4ff0}.wDots span.done{background:#9aa6f7}
.wPriv{text-align:center;margin-top:18px}
.wCenter .profileGrid{width:100%}
/* Voz del agente */
.agSay{flex:none;align-self:center;border:1px solid #e1e6f0;background:#fff;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:14px;line-height:1;padding:0;opacity:.75}
.agSay:hover,.agSay:focus-visible,.agSay.speaking{opacity:1;border-color:#7c3aed}
.agSay.speaking{background:#f3edff}
.wListen{margin-top:8px;padding:6px 0;font-weight:700;color:#3b4ff0}
.agVoiceBtn{white-space:nowrap}
/* El agente "habla": se mueve con cada palabra y muestra ondas de sonido */
.agAvatar.talking,.wBig.talking{position:relative;box-shadow:0 0 0 3px #a78bfa,0 0 0 8px #a78bfa33;animation:talkBob 1.1s ease-in-out infinite}
.agAvatar.pop,.wBig.pop{animation:talkPop .22s ease-out}
@keyframes talkBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes talkPop{0%{transform:scale(1)}45%{transform:scale(1.06) translateY(-2px)}100%{transform:scale(1)}}
.agHead .agWho{position:relative}
.agHead .agAvatar.talking+div b::after,.agBotRow .agAvatar.talking~.agMsg::before{content:"";display:inline-block;width:18px;height:12px;margin-left:8px;vertical-align:middle;background:linear-gradient(#7c3aed,#7c3aed) 0 50%/3px 40% no-repeat,linear-gradient(#7c3aed,#7c3aed) 5px 50%/3px 90% no-repeat,linear-gradient(#7c3aed,#7c3aed) 10px 50%/3px 60% no-repeat,linear-gradient(#7c3aed,#7c3aed) 15px 50%/3px 30% no-repeat;animation:talkWave .5s steps(2) infinite}
.agBotRow .agAvatar.talking~.agMsg::before{float:right;margin:4px 0 0 8px}
@keyframes talkWave{50%{background-size:3px 80%,3px 40%,3px 90%,3px 60%}}
@media (prefers-reduced-motion:reduce){.agAvatar.talking,.wBig.talking,.agAvatar.pop,.wBig.pop{animation:none}}
/* Agentes sin fondo: la figura queda suelta sobre la página (lista para animarla después) */
.agCardPic{background:linear-gradient(180deg,#fbf3e6,#fff)}
.agCardPic img{object-fit:contain;padding:10px 0 0}
.agHeroRow img{border-radius:0;border:0;box-shadow:none;object-fit:contain;background:none;filter:drop-shadow(0 6px 8px #1f2a4422)}
.profilePic,.agWelcomePic,.agPickModal img,.wBig{background:none!important;border-radius:0!important;object-fit:contain}
.wBig{filter:drop-shadow(0 12px 16px #1f2a4422)}
.agAvatar{border-radius:0;border:0;box-shadow:none;object-fit:contain;background:none}
.agAvatar.talking,.wBig.talking{box-shadow:none;filter:drop-shadow(0 0 6px #a78bfa)}
/* Barra de la conversación del agente (borrar) */
.agChatBar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;min-height:32px}
/* Preferencia de tono del agente (bienvenida y ajustes): opciones para tocar, sin escribir */
.toneGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:10px 0}
.toneCard{display:flex;flex-direction:column;gap:4px;text-align:left;padding:14px;border:1.5px solid #e1e6f0;border-radius:14px;background:#fff;cursor:pointer;font:inherit;color:inherit}
.toneCard:hover{border-color:#9aa6f7}.toneCard.sel{border-color:#3b4ff0;background:#f2f4ff;box-shadow:0 0 0 2px #3b4ff0 inset}
.toneCard small{color:#667085}
/* Borrar un mensaje propio del chat (x junto a la burbuja) */
.agMsgRow.me{display:flex;align-items:center;gap:6px;align-self:flex-end;max-width:85%}
.agMsgRow.me .agMsg.me{max-width:100%;align-self:auto}
.agMsgDel{flex:none;width:22px;height:22px;border-radius:50%;border:1px solid #dbe2ef;background:#fff;color:#8a93a6;cursor:pointer;font-size:14px;line-height:1;padding:0;opacity:0;transition:opacity .15s}
.agMsgRow.me:hover .agMsgDel,.agMsgDel:focus-visible{opacity:1}
.agMsgDel:hover{border-color:#e35151;color:#e35151}
@media(hover:none){.agMsgDel{opacity:1}}
/* Agentes con movimiento: el fondo blanco del vídeo se funde con el fondo de la tarjeta */
video.agVid{mix-blend-mode:multiply;object-fit:cover;display:block;background:transparent}
/* Un solo perrito a la vez: lo que está oculto no se muestra nunca */
[hidden]{display:none!important}
@media(max-width:560px){.agHead{padding:12px 14px}.agWho{flex-direction:column;align-items:center;text-align:center;gap:8px;width:100%}.agWho>div{min-width:0}.agAvatar.big{width:130px;height:130px;margin:0}.agHead .actions{width:100%;justify-content:center}.main{padding-bottom:84px}}
.agCardPic video.agVid{width:100%;max-width:240px;aspect-ratio:1}
.agPickModal video.agVid{width:120px;height:120px;border-radius:20px}
video.agWelcomePic{width:150px;height:150px;border-radius:24px;flex:none}
.agHeroWrap{display:inline-flex;flex:none}
@media(max-width:560px){video.agWelcomePic{width:110px;height:110px}}
/* Vídeos en lugar de dibujos fijos */
.agHeroRow video.agVid{width:96px;height:96px;object-fit:contain}
@media(max-width:560px){.agHeroRow video.agVid{width:64px;height:64px}}
video.profilePic{width:100%;max-width:120px;height:auto}
video.wBig{height:auto}
.agBotRow video.agAvatar{width:48px;height:48px;flex:none}
/* Apariencia del agente: persona (retrato IA) o sencillo (logo AIA) */
.agFace{position:relative;display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;flex:none;transition:filter .4s}
.agFace img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.agFace.simple{background:linear-gradient(135deg,#1e2a5a,#2563eb 55%,#00c2a8)}
.aiaLogo{color:#fff;font-weight:900;font-size:14px;letter-spacing:.04em}
.agFace.big{width:130px;height:130px;margin:6px}
.agFace.big .aiaLogo{font-size:38px}
.aiaTag{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);background:#0d1426;color:#fff;font-size:12px;font-weight:800;padding:3px 10px;border-radius:99px;letter-spacing:.1em;box-shadow:0 2px 6px #0d142633}
.agFace::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:3px solid transparent;pointer-events:none}
.agFace[data-pose="ups"]::after{border-color:#a78bfa}
.agFace.big[data-pose="ups"]::after{animation:faceThink 1.6s ease-in-out infinite}
.agFace.big[data-pose="saluda"]{animation:faceHi 1.4s ease-in-out 2}
.agFace.big[data-pose="saluda"]::after{border-color:#2563eb}
.agFace.big[data-pose="celebra"]::after{border-color:#00c2a8;box-shadow:0 0 22px #00c2a8aa;animation:faceWin .7s ease-out 3}
.agFace.big[data-pose="duerme"]{filter:grayscale(.7) brightness(.85)}
.agFace.big[data-pose="duerme"]::before{content:"z z";position:absolute;top:-14px;right:-6px;font-weight:800;color:#667085;font-size:16px;animation:faceZz 2s ease-in-out infinite}
@keyframes faceThink{0%,100%{opacity:.25;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}
@keyframes faceHi{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}
@keyframes faceWin{0%{transform:scale(.9);opacity:.3}60%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:.8}}
@keyframes faceZz{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.agFace,.agFace::after,.agFace::before{animation:none!important}}
.lookGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:8px}
.lookCard{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:2px solid #e1e7f0;border-radius:16px;background:#fff;cursor:pointer;font:inherit;text-align:center}
.lookCard.sel{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed22}
.lookCard.soon{opacity:.55;cursor:default}
.lookCard small{color:#667085;font-size:12px}
.lookPic{display:grid;place-items:center;width:72px;height:72px}
.lookPic img,.lookPic video{width:72px;height:72px;object-fit:contain}
.lookPic .lookFaceImg{object-fit:cover;border-radius:50%}
.lookPic .agFace{width:64px;height:64px}
.lookPic .aiaLogo{font-size:20px}
.agFace.simple .aiaTag{display:none}
/* Mis cursos: visor visual (texto, video, PDF/flyers, audio, enlaces) */
.courseLayout{display:grid;grid-template-columns:260px 1fr;gap:18px;margin-top:16px}
.courseSide{background:white;border:1px solid #e5eaf2;border-radius:16px;padding:10px;align-self:start;position:sticky;top:90px}
.courseModGroup{margin-bottom:10px}
.courseModTitle{font-weight:800;padding:8px 10px 4px;color:#0d1426;font-size:13px;text-transform:uppercase;letter-spacing:.02em}
.courseLessonBtn{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px 10px;border-radius:10px;cursor:pointer;font:inherit;font-size:14px;color:#2b3550}
.courseLessonBtn:hover{background:#f2f4f9}
.courseLessonBtn.active{background:linear-gradient(90deg,#2563eb1a,#7c3aed1a);font-weight:700}
.courseContent{min-height:320px}
.lessonMedia{margin:14px 0;border-radius:14px;overflow:hidden;background:#0d1426}
.lessonMedia iframe,.lessonMedia video{width:100%;aspect-ratio:16/9;border:0;display:block}
.lessonImg{max-width:100%;border-radius:14px;margin:14px 0;display:block}
.lessonBody{white-space:normal;line-height:1.6;color:#334059;margin:10px 0}
@media(max-width:850px){.courseLayout{grid-template-columns:1fr}.courseSide{position:static}}
/* 25-oct-2026 · Agentes animados con fondo transparente (WebP): sin recuadro blanco, se ven bien sobre cualquier fondo */
img.agVid{object-fit:contain;display:block;background:transparent;mix-blend-mode:normal}
.agCardPic img.agVid{width:100%;max-width:240px;aspect-ratio:1}
.agPickModal img.agVid{width:120px;height:120px}
img.agWelcomePic{width:150px;height:150px;flex:none;object-fit:contain}
@media(max-width:560px){img.agWelcomePic{width:110px;height:110px}}
.agHeroRow img.agVid{width:96px;height:96px}
@media(max-width:560px){.agHeroRow img.agVid{width:64px;height:64px}}
img.agVid.profilePic{width:100%;max-width:120px;height:auto}
.agBotRow img.agAvatar.agVid{width:48px;height:48px;flex:none}
/* 25-oct-2026 · Proyectos desde Mi Biblioteca: texto breve y recursos en una lista corta que no se sale de la tarjeta */
.agItem small,.agItem .agDet{overflow-wrap:anywhere;word-break:break-word}
.agItem .agDet{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.agRes{margin-top:6px;font-size:13px}
.agRes summary{cursor:pointer;color:#5b46d6;font-weight:600}
.agRes ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}
.agRes li{overflow-wrap:anywhere;line-height:1.35}
.agRes a{color:#1f2a44;text-decoration:none;font-weight:600}.agRes a:hover{text-decoration:underline}
.agRes li span{color:#98a2b3;font-size:12px;margin-left:4px}
.agItem .agWork{margin-top:8px;border:0;border-radius:10px;padding:7px 12px;font:600 13px inherit;color:#fff;background:linear-gradient(90deg,#16c6c8,#4f46e5);cursor:pointer}
.agItem .agWork:hover{filter:brightness(1.05)}

/* Agentes versión persona (retratos realistas) */
.agLookSwitch{display:inline-flex;gap:4px;background:#fff;border:1px solid #efe6d8;border-radius:99px;padding:4px;margin:0 auto 18px;box-shadow:0 4px 14px #1f2a440d}
.agLookSwitch button{border:0;background:none;font:inherit;font-weight:700;font-size:14px;color:#475467;padding:8px 16px;border-radius:99px;cursor:pointer}
.agLookSwitch button.sel{background:#1e2a5a;color:#fff}
.agPicPersona{display:none}
.agLanding.verPersonas .agPicAnimal:has(+ .agPicPersona){display:none}
.agLanding.verPersonas .agPicPersona{display:block}
.agLanding.verPersonas .agHeroPick .agPicPersona{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:3px solid #fff;box-shadow:0 6px 18px #1f2a4422}
.agLanding.verPersonas .agCardPic{background:#eef2f7}
.agLanding.verPersonas .agCardPic .agPicPersona{width:100%;aspect-ratio:4/5;max-height:300px;object-fit:cover;object-position:50% 25%}
.agPicAnimal{display:contents}
.agFace.persona img{object-position:50% 22%}
.lookPic .lookFaceImg{object-position:50% 22%}
.agLanding.verPersonas .agCardPic .agPicPersona{max-width:none;padding:0;filter:none;border-radius:0}
.agLanding.verPersonas .agHeroRow .agPicPersona{filter:none;background:#eef2f7}
@media(max-width:560px){.agLanding.verPersonas .agHeroPick .agPicPersona{width:64px;height:64px}}
.agFace.persona{border-radius:50%}
.agFace.persona > img{width:100%!important;height:100%!important;max-width:none!important;border-radius:50%!important;object-fit:cover!important;object-position:50% 22%;filter:none!important}
.agFace.persona > img{position:absolute;inset:0}
/* Persona con vídeo: movimiento real, sin efectos de dibujo (ni saltitos, ni gris, ni «z z») */
.agFace.persona > video{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 22%}
.agFace.persona.hasVid,.agFace.persona.hasVid[data-pose]{animation:none!important;filter:none!important}
.agFace.persona::before{content:none!important}
.agFace.persona.big[data-pose="duerme"]{filter:none}
.agLanding.verPersonas .agHeroPick .agPicPersona{object-fit:cover}
/* Mientras el agente piensa la respuesta se le ve en el chat, un poco más grande */
.agBotRow.agThinking .agFace,.agBotRow.agThinking .agAvatar,.agBotRow.agThinking img.agAvatar.agVid{width:72px;height:72px}
