@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');:root{--ink:#354253;--muted:#75808b;--purple:#796b92;--cream:#faf6f0;--border:#e8e1dc}*{box-sizing:border-box}body{margin:0;background:#eeeaf1;color:var(--ink);font-family:'DM Sans',sans-serif}.app{max-width:550px;margin:auto;min-height:100vh;background:var(--cream);padding-bottom:94px}header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--border)}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;font-family:'Playfair Display',serif;font-size:22px;gap:10px;line-height:1}.brand small{display:block;text-align:right;font:11px 'DM Sans',sans-serif;color:var(--purple);letter-spacing:1.5px;margin-top:5px}.brand-icon{font-size:32px;color:#b79e66}.draft{font-size:10px;color:#9a829e;border:1px solid #e2d5e4;border-radius:20px;padding:6px 8px}main{padding:24px 22px}.hero{background:radial-gradient(circle at 80% 10%,#d7d2e8,transparent 48%),linear-gradient(145deg,#f5eceb,#eaeaf4 85%);border-radius:25px;padding:33px 25px 27px;min-height:300px;position:relative;overflow:hidden}.orb{font-size:69px;text-align:center;margin:4px 0 12px;color:#b99e61;text-shadow:0 0 24px #fff}.eyebrow{color:#8f7d92;font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:700}.hero h1,h1,h2{font-family:'Playfair Display',serif;font-weight:500}h1{font-size:34px;line-height:1.22;margin:12px 0}h2{font-size:25px;margin:18px 0 10px}.hero p,p{line-height:1.65;color:#657182;font-size:14px}.btn{display:block;border:0;border-radius:15px;background:#706486;color:white;padding:15px 20px;font:600 14px 'DM Sans';width:100%;cursor:pointer;text-align:center;margin-top:18px}.btn.secondary{background:#ece7ef;color:#625877}.card{background:white;border:1px solid var(--border);padding:19px;margin:13px 0;border-radius:19px}.card h3{margin:3px 0 6px;font-family:'Playfair Display',serif;font-size:20px;font-weight:500}.card p{margin:0}.icon{font-size:28px;margin-bottom:7px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.grid .card{margin:0}.grid h3{font-size:18px}.notice{font-size:12px;background:#f1eaf0;color:#705d77;padding:15px;border-radius:13px;line-height:1.5;margin:15px 0}.steps{display:flex;gap:8px}.step{flex:1;border:1px solid #e0d8e5;border-radius:12px;padding:12px 5px;text-align:center;background:#fff;font-size:12px;cursor:pointer;color:#6c6283}.step.active{background:#776c90;color:white}.field{margin:15px 0}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field input,.field select{display:block;width:100%;border:1px solid #ddd6dc;border-radius:12px;padding:13px 12px;background:white;font:15px 'DM Sans';color:var(--ink)}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:550px;display:flex;justify-content:space-around;background:#fff;box-shadow:0 -3px 17px #403b5110;padding:12px 0 max(12px,env(safe-area-inset-bottom))}.bottom button{border:0;background:none;color:#7f748d;font-size:21px;cursor:pointer}.bottom small{display:block;font-size:10px;padding-top:4px}.pill{display:inline-block;background:#eae0eb;color:#785e85;border-radius:40px;font-size:10px;padding:7px 10px;letter-spacing:.5px}.soft{background:#f2edf3;border:0}.muted{font-size:12px;color:#91929c}.subhead{font-weight:700;font-size:13px;margin-top:17px}.sparkles{letter-spacing:18px;text-align:center;color:#d3b477;font-size:24px}
/* Astropeques — lavanda editorial contemporánea, v2 */
:root{--ink:#282638;--muted:#716d80;--purple:#63547f;--cream:#fcfbfd;--border:#eae5f0}
body{background:#e9e4ee;color:var(--ink)}
.app{background:linear-gradient(180deg,#fdfcff 0%,#faf9fc 60%,#fff 100%)}
header{padding:23px 24px;background:rgba(255,255,255,.86);border-color:#ede8f0}
.brand{font-size:24px;letter-spacing:-.7px}
.brand small{letter-spacing:2px;font-size:10px;margin-top:8px;color:#8a7c9e}
.brand-icon{color:#8d79ad;font-size:30px}
.draft{background:#f7f4fa;color:#7b6c91;border-color:#e9e2f0}
main{padding:27px 22px 38px}
.hero{background:radial-gradient(circle at 78% 17%,rgba(255,255,255,.9),transparent 27%),radial-gradient(circle at 88% 82%,#ede5f5,transparent 36%),linear-gradient(145deg,#eae2f4,#dcd3e9 70%,#e8e5f3);border:1px solid #e6dfee;border-radius:28px;padding:38px 29px 32px;min-height:360px;box-shadow:0 18px 34px -28px #49385860}
.orb{font-size:74px;color:#826da1;text-shadow:0 8px 24px #fff9;margin:10px 0 17px}
.eyebrow{font-size:10px;letter-spacing:2.2px;color:#817393}
h1{font-size:37px;letter-spacing:-.8px;line-height:1.18}
.hero h1{font-size:38px}
h2{font-size:27px;letter-spacing:-.35px}
.hero p,p{color:#696679;line-height:1.72}
.btn{background:#514564;border-radius:13px;padding:17px 19px;font-weight:600;box-shadow:0 6px 14px #5145641b;transition:transform .15s,background .15s}
.btn:active{transform:scale(.99)}
.btn.secondary{background:#eee9f4;color:#54456d;box-shadow:none}
.card{border-radius:20px;border-color:#eae6ee;box-shadow:0 8px 22px -20px #3b315b66;padding:22px}
.card h3{font-size:21px}
.grid{gap:12px}
.grid .card{min-height:176px}
.notice{background:#f1edf7;color:#66587c;border:1px solid #eae3f2;border-radius:14px}
.step{border-color:#e9e3ef;color:#665978;border-radius:13px;padding:15px 5px}
.step.active{background:#655478;color:white;border-color:#655478}
.field input,.field select{border-color:#e7e1eb;border-radius:13px;padding:15px 13px}
.field input:focus{outline:2px solid #c5b4da;outline-offset:1px}
.bottom{border-top:1px solid #eee8f2;box-shadow:0 -9px 24px #403b5112;padding-top:15px}
.bottom button{color:#736583}
.pill{background:#efeaf6;color:#735d91;font-weight:700}
.soft{background:#f4f0f8}
.sparkles{color:#ad91c1;letter-spacing:14px;margin:12px 0}
@media(min-width:650px){.app{box-shadow:0 5px 60px #51456520}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
.mercury-illustration{display:block;max-width:100%;width:auto;height:100%;margin:auto;object-fit:contain;filter:drop-shadow(0 10px 18px #67517c20)}
.hero-art{overflow:visible;isolation:isolate}
@media(max-width:559px){.hero-art{height:235px;margin-top:8px}.mercury-illustration{height:100%}}
/* v3: equilibrio entre calidez infantil y diseño editorial adulto */
.hero{display:flex;flex-direction:column;gap:12px;background:linear-gradient(135deg,#f9f6fd,#ece5f7 65%,#e2d7ee);padding:31px 25px 22px;min-height:unset}
.hero-copy{position:relative;z-index:2}
.hero h1{font-size:35px;line-height:1.16;max-width:380px;letter-spacing:-1.2px;margin:18px 0}
.hero h1 em{font-style:italic;color:#796590;font-weight:500}
.hero p{color:#5e5870;font-size:14px;max-width:360px;line-height:1.7}
.hero .btn{text-align:left;padding:14px 18px;max-width:235px;border-radius:13px;display:flex;justify-content:space-between;align-items:center}
.hero-link{border:0;background:transparent;color:#695879;font-family:'DM Sans',sans-serif;font-size:12px;margin-top:14px;padding:7px 0;cursor:pointer}
.hero-art{height:180px;margin-top:-7px;position:relative;overflow:hidden}
.hero-halo{position:absolute;width:174px;height:174px;left:calc(50% - 87px);top:4px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#faf9ff,#d3c3e7 74%,#b8a6d1);box-shadow:0 0 0 20px #fff4,0 16px 36px #806a9830}
.mercury-mark{position:absolute;top:39px;left:50%;transform:translateX(-50%);height:110px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 8px 12px #71558b33)}
.mercury-orb{border-radius:50%;width:90px;height:90px;display:grid;place-items:center;font-size:40px;color:#f9efdb;background:linear-gradient(145deg,#8e7bb0,#5c4a76);box-shadow:inset 0 1px 9px #f8f2ff99}
.wing-left,.wing-right{font-size:49px;color:#c2a375;line-height:1;font-family:Georgia,serif}
.hero-moon{position:absolute;top:5px;right:26px;font-size:29px;color:#ad9161}
.hero-star{position:absolute;top:49px;left:23px;font-size:26px;color:#ab8cbd}
.hero-orbit{position:absolute;width:235px;height:85px;border:1px solid #c7aa7c;border-radius:50%;left:50%;top:48px;transform:translateX(-50%) rotate(-23deg)}
@media(min-width:560px){.hero{flex-direction:row;align-items:center;padding:37px 30px}.hero-copy{flex:1}.hero-art{flex:0 0 190px;height:260px;margin:0}.hero-halo{top:43px}.mercury-mark{top:79px}.hero-moon{top:33px}.hero-orbit{top:87px}.hero h1{font-size:35px}}
.reading-block{padding:16px 0;border-bottom:1px solid #ede7f1;break-inside:avoid}.reading-block:last-of-type{border-bottom:0}.reading-block h3{font-size:19px;margin:8px 0;color:#655176}.reading-block p{margin:4px 0 8px}.report-page .reading-block{padding:11px 0}.report-page .reading-block h3{font-size:17px;margin:5px 0}.report-page .reading-block p{font-size:12px;line-height:1.55}@media print{.report-page .reading-block{break-inside:avoid}}
.creator-section{margin:44px 0 16px;padding:28px;background:#f7f1f8;border:1px solid #eadfea;border-radius:22px}.creator-content{display:grid;grid-template-columns:160px 1fr;gap:26px;align-items:center}.creator-portrait{min-height:195px;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;border-radius:95px 95px 14px 14px;background:#e8dbe8;color:#b89a63;font-size:42px}.creator-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.creator-subtitle{color:#76647a;font-size:.91em}.creator-link{display:inline-block;margin-top:12px;color:#715b79;font-weight:600;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.creator-section{padding:22px}.creator-content{grid-template-columns:1fr}.creator-portrait{width:135px;min-height:165px}}
/* Informe imprimible Astropeques */
.report-actions{padding:4px 0 18px}.report-actions .btn{margin:9px 0}.natal-report{background:#fff;border:1px solid #e9dff1;border-radius:18px;overflow:hidden}.report-cover{min-height:780px;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:space-between;padding:45px 28px 25px;background:radial-gradient(circle at 85% 15%,#dcd0ed 0,transparent 35%),linear-gradient(165deg,#fbf9ff,#f0ebf7 64%,#fffaf1);color:#423453}.report-mark{letter-spacing:3px;font-size:16px;font-weight:700;color:#776088}.report-mark small,.report-section-header small{letter-spacing:1px;font-size:9px;font-weight:400}.report-cover-text{position:relative;z-index:2}.report-cover h1{font-size:55px;line-height:1.12;color:#413450;margin:18px 0}.report-cover h1 em{color:#87709b;font-weight:400}.report-child{font:500 27px 'Playfair Display',serif;color:#5e4b74;margin-top:20px}.report-line{display:block;color:#c2a46b;letter-spacing:6px;margin:22px 0}.report-mascot{max-width:220px;max-height:255px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 8px 18px #68587c25)}.report-cover-footer{color:#746781;font-size:12px;letter-spacing:.4px}.report-page{min-height:800px;padding:34px 38px;background:#fff;break-before:page;page-break-before:always}.report-section-header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #d8c5df;padding-bottom:15px;color:#79678b;font-size:10px;letter-spacing:1px}.report-page h2{font-size:29px;color:#5b4671;margin:29px 0 12px}.report-page h3{color:#655476;font-family:'Playfair Display',serif;font-size:19px;font-weight:500;margin:24px 0 12px}.report-highlight{background:#f5f0fa;padding:14px 20px;border-radius:12px;margin:22px 0;break-inside:avoid}.report-highlight h3{margin:4px 0 8px}.report-signoff{font-family:'Playfair Display',serif;font-size:19px!important;color:#7d698b!important;margin-top:42px}.report-footnote{color:#8b8096;font-size:10px;line-height:1.6;border-top:1px solid #e7ddee;padding-top:10px;margin-top:28px}
@media(max-width:480px){.report-cover{min-height:660px;padding:33px 17px}.report-cover h1{font-size:45px}.report-mascot{max-height:230px}.report-page{padding:28px 21px;min-height:730px}}
@media print{
 @page{size:A4;margin:0}
 html,body,.app,main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#fff!important;box-shadow:none!important}
 header,.bottom,.report-actions{display:none!important}
 .natal-report{border:0!important;border-radius:0!important;overflow:visible!important}
 .report-cover,.report-page{width:210mm!important;min-height:297mm!important;height:auto!important;box-sizing:border-box!important;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .report-cover{padding:21mm 18mm 14mm!important}.report-page{padding:18mm 20mm!important}
 .report-page:last-child{break-after:auto;page-break-after:auto}
 .planet-row,.report-highlight{break-inside:avoid}
}
.planet-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #ece7f2;font-size:13px;align-items:center}.planet-row:last-child{border-bottom:0}.planet-row span{text-align:right;color:#67577d}.field-note{display:block;margin-top:8px;color:#6b6275;line-height:1.5;font-size:12px}.link-button{border:0;background:transparent;padding:12px 0 0;color:#64517b;font-weight:700;font-size:12px;cursor:pointer;text-align:left}
.ideas{color:#645e71;font-size:14px;line-height:1.7;padding-left:21px}
.ideas li{margin:10px 0}
.field select{display:block;width:100%;border:1px solid #e7e1eb;border-radius:13px;padding:15px 13px;background:#fff;font:15px 'DM Sans',sans-serif;color:#282638}
#guide-content h3{margin-top:22px}
@media print{body,.app{background:#fff!important}.app{max-width:none;padding:0}header,.bottom,.btn,.hero-link,.field,.eyebrow,.notice{display:none!important}main{padding:0}#guide-content{box-shadow:none;border:0}.card{break-inside:avoid}}
.astro-details{margin:14px 0;padding:12px 15px;border:1px solid #e4dce9;border-radius:13px;background:#fbf9fd}.astro-details summary{cursor:pointer;color:#756182;font-weight:600}.astro-details[open] summary{margin-bottom:10px}.astro-details p{font-size:.92em}.reading-block h3{line-height:1.35}
@media print{.astro-details{display:none!important}}
.pdf-export,.pdf-export .report-cover,.pdf-export .report-page{width:700px!important;max-width:700px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
.pdf-export .report-cover{min-height:1050px!important;padding:45px!important}
.pdf-export .report-page{min-height:0!important;padding:44px!important;break-before:auto!important;page-break-before:auto!important}.pdf-export .reading-block{break-inside:avoid!important;page-break-inside:avoid!important}.pdf-export .report-page h3{break-after:avoid!important}
.pdf-export .planet-row span{max-width:65%!important;overflow-wrap:anywhere!important}
/* Informe A4: permitir flujo natural sin superposiciones */
@media print{
 .natal-report{display:block!important}
 .report-cover,.report-page{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 .report-cover{min-height:297mm!important}
 .report-page{break-before:page;page-break-before:always;break-after:auto!important;page-break-after:auto!important}
 .reading-block{break-inside:avoid-page;page-break-inside:avoid}
 .report-section-header{break-after:avoid-page}
 .report-page h2,.report-page h3{break-after:avoid-page}
 .report-page p{orphans:3;widows:3}
}
/* PDF: evitar secciones huérfanas y cortes entre título y contenido */
.report-stage,.report-final-note{break-inside:avoid;page-break-inside:avoid;margin-top:25px;padding:16px 18px;background:#faf7fc;border-radius:12px}
.report-stage h3,.report-final-note h3{margin:0 0 9px!important}
.report-stage p,.report-final-note p{margin:0;line-height:1.65}
.pdf-export .report-stage,.pdf-export .report-final-note{break-inside:avoid!important;page-break-inside:avoid!important}
.pdf-export .report-page{overflow:visible!important;break-before:auto!important;page-break-before:auto!important}
.pdf-export .report-page .reading-block{break-inside:auto!important;page-break-inside:auto!important}
.pdf-export .report-page .reading-block h3{break-after:avoid!important;page-break-after:avoid!important}
.pdf-export .report-page .reading-block p{orphans:3;widows:3}
/* Mantener cada interpretación completa dentro de una misma hoja A4. */
.pdf-export .reading-block{break-inside:avoid!important;page-break-inside:avoid!important;display:flow-root!important}
.pdf-export .reading-block h3{break-after:avoid!important;page-break-after:avoid!important}
.pdf-export .report-stage,.pdf-export .report-final-note{break-inside:avoid!important;page-break-inside:avoid!important}
/* Continuar los aspectos tras el resumen natal, sin reservar una hoja vacía. */
.pdf-export .report-aspects{break-before:auto!important;page-break-before:auto!important;padding-top:16px!important}
.pdf-export .report-footnote{break-inside:auto!important;page-break-inside:auto!important;font-size:13px!important;line-height:1.5!important;margin-top:15px!important}
.pdf-export .report-stage{margin-top:14px!important;padding:12px 16px!important}
/* PDF: no forzar escalado de textos residuales al final del documento */
.pdf-export .report-page{height:auto!important;max-height:none!important;transform:none!important}
.pdf-export .report-stage{break-inside:avoid!important;page-break-inside:avoid!important}
.pdf-export .report-footnote{display:none!important}
/* Paginación previa: hojas con una escala estable, sin reescalar la última. */
.pdf-export .pdf-fixed-page{width:700px!important;max-width:700px!important;box-sizing:border-box!important;min-height:0!important;height:auto!important;padding:34px 40px!important;break-before:page!important;page-break-before:always!important;overflow:visible!important}
.pdf-export .report-cover{box-sizing:border-box!important;min-height:990px!important;height:990px!important}
.pdf-export .pdf-fixed-page .reading-block{break-inside:avoid!important;page-break-inside:avoid!important}
/* v44: una sola autoridad para los saltos: html2pdf; sin saltos CSS duplicados. */
.pdf-export .pdf-fixed-page{break-before:auto!important;page-break-before:auto!important;break-after:auto!important;page-break-after:auto!important;margin:0!important;min-height:0!important;height:auto!important;max-height:none!important;transform:none!important}
.pdf-export .pdf-fixed-page .reading-block{break-inside:auto!important;page-break-inside:auto!important}
.pdf-export .pdf-fixed-page .reading-block h3{break-after:avoid!important;page-break-after:avoid!important}
/* Invitación discreta a las consultas personales en el perfil de la creadora. */
.creator-personal{margin-top:20px;padding-top:15px;border-top:1px solid rgba(160,139,172,.24)}
.creator-personal p{font-size:.95rem;line-height:1.65;margin:0 0 9px}
.creator-personal .creator-link{font-size:.92rem}
/* Retrato circular, pequeño y bien proporcionado; correo visible y discreto. */
.creator-section .creator-portrait{width:112px!important;height:112px!important;min-width:112px!important;min-height:112px!important;max-width:112px!important;max-height:112px!important;border-radius:50%!important;overflow:hidden!important;flex:none!important;margin:0 0 12px!important;box-shadow:0 3px 14px rgba(80,50,100,.1)!important}
.creator-section .creator-portrait img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 32%!important;border-radius:50%!important;transform:none!important}
.creator-email{font-size:.9rem!important;margin:10px 0 0!important;overflow-wrap:anywhere}
.creator-email a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* Ajuste de posición de retrato y enlace a la otra aplicación. */
.creator-section .creator-portrait{margin-top:18px!important}
.creator-other-app{margin-top:18px;padding:14px 16px;border:1px solid rgba(150,120,165,.22);border-radius:14px;background:rgba(255,255,255,.45)}
.creator-other-label{font-weight:700;color:#705b79;font-size:.96rem}
.creator-other-app p{font-size:.93rem;line-height:1.55;margin:7px 0 3px}
.creator-other-app .creator-link{margin-top:5px;font-size:.92rem}
/* v50: evitar que el retrato quede flotando sobre un hueco en móvil. */
@media(max-width:600px){.creator-section .creator-content{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important}.creator-section .creator-portrait{margin:4px 0 0!important;width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;max-width:104px!important;max-height:104px!important}.creator-section .creator-content>div:last-child{width:100%!important}.creator-section .creator-content h2{margin-top:0!important}}
/* Prueba gratuita destacada con discreción en inicio */
.trial-notice{margin:14px 0 26px;padding:19px 22px;border:1px solid #e7d8e9;border-radius:19px;background:#faf5fb;color:#67516f}
.trial-notice strong{display:block;font-size:1.08rem}
.trial-notice p{line-height:1.55;margin:8px 0 12px}
.trial-notice .btn{margin:0}