/* Calendario Astral · composición editorial mensual */
.astral-calendar-home{--astral-green:#477456;--astral-red:#a2473f;display:grid;grid-template-columns:minmax(8rem,15vw) minmax(0,1fr);max-width:var(--container);margin-inline:auto;background:var(--cream);border-top:1px solid var(--border)}
.astral-calendar-home-main{min-width:0;padding:clamp(3.5rem,6vw,6.5rem) clamp(2rem,5vw,6rem)}
.astral-calendar-overview{--astral-green:#477456;--astral-red:#a2473f;min-width:0}
.astral-calendar-overview-header{max-width:57rem;margin:0 auto clamp(2rem,4vw,3.5rem);text-align:center}
.astral-calendar-overview-header .eyebrow{margin-bottom:.7rem}
.astral-calendar-overview-header h1,.astral-calendar-overview-header h2,.astral-calendar-empty h1{margin:0;font-family:var(--font-display);font-size:clamp(2.5rem,4.2vw,4.6rem);font-weight:550;line-height:1.02;letter-spacing:-.035em}
.astral-calendar-overview-header h1 span,.astral-calendar-overview-header h2 span{white-space:nowrap}
.astral-calendar-subtitle{margin:1rem 0 0;color:var(--gold-dark);font-size:clamp(.8rem,1.2vw,.95rem);font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.astral-calendar-intro{max-width:48rem;margin:1.25rem auto 0;color:var(--muted);font-size:1.02rem;line-height:1.65}
.astral-calendar-composition{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(15rem,.72fr);gap:clamp(1rem,2.5vw,2.25rem);align-items:stretch}
.astral-calendar-board{min-width:0;padding:clamp(.7rem,1.4vw,1.25rem);background:rgba(255,255,255,.38);border:1px solid var(--border)}
.astral-calendar-grid{min-width:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-left:1px solid var(--border);font-variant-numeric:tabular-nums}
.astral-calendar-weekday{min-width:0;padding:.48rem .2rem;border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--gold-dark);font-size:.62rem;font-weight:800;letter-spacing:.09em;text-align:center;text-transform:uppercase}
.astral-calendar-day{position:relative;box-sizing:border-box;min-width:0;min-height:4.5rem;padding:.45rem;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:rgba(242,238,230,.38)}
.astral-calendar-day.is-empty{background:rgba(215,207,191,.18)}
.astral-calendar-day.has-events{background:rgba(255,255,255,.55)}
.astral-calendar-day-number{width:1.72rem;height:1.72rem;display:grid;place-items:center;color:var(--text-dark);font-family:var(--font-display);font-size:.92rem;font-weight:750;line-height:1;border:1px solid transparent;border-radius:50%}
.astral-calendar-day.favorable .astral-calendar-day-number{background:var(--astral-green);color:var(--white);border-color:var(--astral-green)}
.astral-calendar-day.tension .astral-calendar-day-number{background:var(--astral-red);color:var(--white);border-color:var(--astral-red)}
.astral-calendar-moon{position:relative;width:1rem;height:1rem;display:inline-block;flex:0 0 auto;border:1px solid var(--gold-dark);border-radius:50%;background:var(--cream);overflow:hidden}
.astral-calendar-moon::after{position:absolute;inset:-1px;display:block;border-radius:50%;background:var(--gold);content:""}
.astral-calendar-moon[data-phase="new"]::after{background:var(--black-soft)}
.astral-calendar-moon[data-phase="waxing"]::after{left:50%;background:var(--gold)}
.astral-calendar-moon[data-phase="full"]::after{background:var(--gold-light)}
.astral-calendar-moon[data-phase="waning"]::after{right:50%;background:var(--gold)}
.astral-calendar-day>.astral-calendar-moon{position:absolute;left:.48rem;bottom:.45rem;width:.78rem;height:.78rem}
.astral-calendar-featured-mark{position:absolute;right:.48rem;bottom:.32rem;color:var(--gold-dark);font-size:1rem;line-height:1}
.astral-calendar-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.8rem;color:var(--muted);font-size:.7rem}
.astral-calendar-legend span{display:inline-flex;align-items:center;gap:.38rem}
.astral-calendar-legend span::before{box-sizing:border-box;width:.65rem;height:.65rem;display:inline-block;flex:0 0 auto;border:1px solid var(--gold-dark);content:""}
.astral-calendar-legend span[data-event-type="favorable"]::before{border-radius:50%;background:var(--astral-green);border-color:var(--astral-green)}
.astral-calendar-legend span[data-event-type="tension"]::before{border-radius:50%;background:var(--astral-red);border-color:var(--astral-red)}
.astral-calendar-legend span[data-event-type="featured"]::before{background:var(--gold-dark);transform:rotate(45deg)}
.astral-calendar-legend span[data-event-type="lunar_phase"]::before{border-radius:50%;background:var(--gold-light);box-shadow:inset .22rem 0 0 var(--cream)}
.astral-calendar-insights{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:.75rem;min-width:0}
.astral-calendar-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(1rem,2vw,1.45rem);background:rgba(255,255,255,.45);border:1px solid var(--border)}
.astral-calendar-panel.is-featured{background:var(--black-soft);color:var(--cream);border-color:var(--black-soft)}
.astral-calendar-panel-label{margin:0 0 .45rem;color:var(--gold-dark);font-size:.65rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.astral-calendar-panel.is-featured .astral-calendar-panel-label{color:var(--gold-light)}
.astral-calendar-panel h3{max-width:18ch;margin:0;font-family:var(--font-display);font-size:clamp(1.25rem,2vw,1.8rem);font-weight:600;line-height:1.08}
.astral-calendar-panel-days{margin:0;color:var(--text-dark);font-family:var(--font-display);font-size:clamp(1.5rem,2.4vw,2.2rem);font-weight:700;letter-spacing:.04em}
.astral-calendar-panel.is-favorable .astral-calendar-panel-days{color:var(--astral-green)}
.astral-calendar-panel.is-tension .astral-calendar-panel-days{color:var(--astral-red)}
.astral-calendar-panel>p:last-child{margin:.3rem 0 0;color:var(--muted);font-size:.78rem;line-height:1.45}
.astral-calendar-phases{margin-top:1.25rem;padding:1.1rem 1.25rem 1.25rem;background:rgba(255,255,255,.32);border:1px solid var(--border)}
.astral-calendar-phases>h3{margin:0 0 .9rem;color:var(--gold-dark);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-align:center;text-transform:uppercase}
.astral-calendar-phase-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.astral-calendar-phase{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.65rem;padding:.35rem .8rem;border-right:1px solid var(--border)}
.astral-calendar-phase:last-child{border-right:0}
.astral-calendar-phase .astral-calendar-moon{width:1.45rem;height:1.45rem}
.astral-calendar-phase time{display:block;color:var(--gold-dark);font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.astral-calendar-phase p{margin:.15rem 0 0;color:var(--text-dark);font-size:.75rem;line-height:1.25}
.astral-calendar-cta{width:min(100%,25rem);min-height:50px;display:flex;align-items:center;justify-content:space-between;margin:1.5rem auto 0;padding:.8rem 1.25rem;background:var(--gold);color:var(--black-soft);font-size:.72rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.astral-calendar-cta:hover{background:var(--gold-light)}
.astral-calendar-disclaimer{max-width:60rem;margin:1rem auto 0;color:var(--muted);font-size:.72rem;line-height:1.55;text-align:center}

.astral-calendar-public{padding-top:var(--header-h);background:var(--cream)}
.astral-calendar-page,.astral-calendar-history,.astral-calendar-empty{width:min(calc(100% - 2rem),var(--container));margin-inline:auto}
.astral-calendar-page{padding:clamp(3rem,6vw,6rem) clamp(1rem,4vw,5rem)}
.astral-calendar-article{max-width:70rem;margin:clamp(3rem,7vw,6rem) auto 0;padding-top:2rem;border-top:3px solid var(--gold)}
.astral-calendar-article h2,.astral-calendar-history h2{font-family:var(--font-display);font-size:clamp(2rem,4vw,3.25rem);font-weight:550;line-height:1.05}
.astral-calendar-article h3{margin:2.25rem 0 .75rem;color:var(--gold-dark);font-family:var(--font-display);font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.15}
.astral-calendar-article p{font-size:1.08rem;line-height:1.75;text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:6 3 3;overflow-wrap:break-word}
.astral-calendar-history{padding:0 clamp(1rem,5vw,6rem) clamp(4rem,8vw,7rem)}
.astral-calendar-history-links{display:flex;justify-content:space-between;gap:1rem;border-block:1px solid var(--border)}
.astral-calendar-history-links a{min-height:48px;display:flex;align-items:center;color:var(--gold-dark);font-size:.8rem;font-weight:750;text-transform:uppercase}
.astral-calendar-history ul{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:1.5rem 0 0;list-style:none}
.astral-calendar-history a[aria-current="page"]{font-weight:800;text-decoration:underline;text-underline-offset:.25rem}
.astral-calendar-empty{min-height:55vh;padding:clamp(5rem,10vw,9rem) clamp(1rem,5vw,6rem)}
.astral-calendar-preview{width:100%;padding:1rem 0 3rem}
.astral-event-row{margin-bottom:1rem}

@media(max-width:1024px){
  .astral-calendar-home{grid-template-columns:1fr}.astral-calendar-home>.section-index{display:none}.astral-calendar-home-main{padding:3.5rem 2rem}
  .astral-calendar-composition{grid-template-columns:minmax(0,1.25fr) minmax(13rem,.75fr)}
  .astral-calendar-day{min-height:4.1rem}.astral-calendar-phase-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.astral-calendar-phase{border:0;padding:.35rem}
}
@media(max-width:768px){
  .astral-calendar-home-main,.astral-calendar-page{padding-inline:1rem}
  .astral-calendar-article{width:calc(100% + 2rem);max-width:none;margin-inline:-1rem}
  .astral-calendar-overview-header h1 span,.astral-calendar-overview-header h2 span{white-space:normal}
  .astral-calendar-composition{grid-template-columns:1fr}.astral-calendar-insights{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none}
  .astral-calendar-panel{justify-content:flex-start}.astral-calendar-panel h3{font-size:1.2rem}.astral-calendar-panel-days{font-size:1.5rem}
  .astral-calendar-day{min-height:3.9rem;padding:.32rem}.astral-calendar-day-number{width:1.45rem;height:1.45rem;font-size:.78rem}.astral-calendar-day>.astral-calendar-moon{left:.3rem;bottom:.3rem;width:.65rem;height:.65rem}.astral-calendar-featured-mark{right:.3rem;bottom:.18rem;font-size:.85rem}
}
@media(max-width:560px){
  .astral-calendar-home-main{padding:2.75rem .75rem}.astral-calendar-overview-header h1,.astral-calendar-overview-header h2,.astral-calendar-empty h1{font-size:clamp(2.1rem,10.5vw,3rem)}
  .astral-calendar-intro{font-size:.96rem}.astral-calendar-board{padding:.45rem}.astral-calendar-weekday{padding:.4rem .05rem;font-size:.52rem;letter-spacing:.02em}
  .astral-calendar-day{min-height:3.35rem;padding:.2rem}.astral-calendar-day-number{width:1.22rem;height:1.22rem;font-size:.7rem}.astral-calendar-day>.astral-calendar-moon{left:.2rem;bottom:.2rem;width:.54rem;height:.54rem}.astral-calendar-featured-mark{right:.18rem;bottom:.08rem;font-size:.72rem}
  .astral-calendar-legend{font-size:.64rem}.astral-calendar-insights{grid-template-columns:1fr}.astral-calendar-panel{min-height:0;padding:1rem}.astral-calendar-panel h3{max-width:none}
  .astral-calendar-phase-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.astral-calendar-phase{padding:.4rem .2rem}.astral-calendar-phase .astral-calendar-moon{width:1.2rem;height:1.2rem}.astral-calendar-phase p{font-size:.69rem}
  .astral-calendar-cta{width:100%}.astral-calendar-history-links{display:grid}.astral-calendar-history-links a{justify-content:flex-start}
}
@media(max-width:340px){.astral-calendar-home-main,.astral-calendar-page{padding-inline:.5rem}.astral-calendar-article{width:calc(100% + 1rem);margin-inline:-.5rem}.astral-calendar-board{padding:.3rem}.astral-calendar-day{min-height:3.05rem}.astral-calendar-legend{gap:.4rem .65rem}.astral-calendar-phases{padding:.9rem .65rem}.astral-calendar-phase-list{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.astral-calendar-page *,.astral-calendar-home *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Composición aprobada · diciembre 2026
   Capa visual compartida por el resumen del HOME y la página mensual. */
.astral-calendar-overview{
  --astral-ink:#321033;
  --astral-violet:#4b204d;
  --astral-violet-deep:#32112f;
  --astral-gold:#bd8731;
  --astral-line:rgba(117,75,80,.3);
  --astral-paper:#fbf4ee;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(1.35rem,3vw,2.75rem) clamp(.8rem,2.7vw,2.5rem) clamp(1.6rem,3vw,2.8rem);
  border:1px solid rgba(190,145,81,.48);
  border-radius:clamp(.9rem,1.8vw,1.5rem);
  background:
    radial-gradient(circle at 87% 4%,rgba(151,126,185,.22),transparent 24%),
    radial-gradient(circle at 7% 92%,rgba(210,181,211,.28),transparent 27%),
    linear-gradient(135deg,#fff9f4 0%,#f8eeea 52%,#f0e7f2 100%);
  box-shadow:0 1.5rem 4rem rgba(70,35,62,.09);
}
.astral-calendar-overview::before{
  position:absolute;
  z-index:-1;
  top:-9rem;
  left:-9rem;
  width:20rem;
  aspect-ratio:1;
  border:1px solid rgba(183,130,43,.27);
  border-radius:50%;
  background:
    repeating-conic-gradient(from 5deg,rgba(183,130,43,.34) 0 1deg,transparent 1deg 30deg),
    radial-gradient(circle,transparent 0 43%,rgba(183,130,43,.2) 43.5% 44%,transparent 44.5% 62%,rgba(183,130,43,.23) 62.5% 63%,transparent 63.5%);
  content:"";
  opacity:.72;
}
.astral-calendar-overview::after{
  position:absolute;
  z-index:-1;
  top:-4.2rem;
  right:-2.2rem;
  width:clamp(8.5rem,15vw,13rem);
  aspect-ratio:1;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 28%,rgba(255,255,255,.8) 0 3%,transparent 4%),
    radial-gradient(circle at 66% 37%,rgba(91,70,116,.15) 0 7%,transparent 8%),
    radial-gradient(circle at 42% 67%,rgba(91,70,116,.12) 0 10%,transparent 11%),
    radial-gradient(circle at 38% 35%,#fffdf9 0 3%,#ddd2e3 40%,#a998bd 72%,#776a92 100%);
  box-shadow:0 0 3rem rgba(119,98,152,.28),inset -.8rem -1rem 1.8rem rgba(61,38,80,.2);
  content:"";
  opacity:.74;
}
.astral-calendar-overview-header{position:relative;z-index:1;max-width:58rem;margin:0 auto clamp(1.4rem,2.4vw,2rem);text-align:center}
.astral-calendar-brand{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin:0 0 .45rem;color:var(--astral-ink);font-size:clamp(.66rem,.9vw,.82rem);font-weight:700;letter-spacing:.48em;text-transform:uppercase}
.astral-calendar-brand::before,.astral-calendar-brand::after{width:clamp(2rem,5vw,4.8rem);height:1px;background:var(--astral-gold);content:""}
.astral-calendar-overview-header h1,.astral-calendar-overview-header h2{margin:0;color:var(--astral-ink);font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.045em;line-height:.9}
.astral-calendar-heading-kind{display:flex;align-items:center;justify-content:center;gap:.7rem;margin-bottom:.2rem;font-size:clamp(1.05rem,2.1vw,1.85rem);font-style:italic;letter-spacing:0;line-height:1.15}
.astral-calendar-heading-kind span{color:#d3a342;font-size:.82em;font-style:normal}
.astral-calendar-overview-header h1 strong,.astral-calendar-overview-header h2 strong{display:block;font-size:clamp(3rem,7vw,6rem);font-weight:400}
.astral-calendar-subtitle{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin:.65rem 0 0;color:var(--astral-ink);font-family:Georgia,"Times New Roman",serif;font-size:clamp(.95rem,1.7vw,1.35rem);font-style:italic;font-weight:400;letter-spacing:0;text-transform:none}
.astral-calendar-subtitle::before,.astral-calendar-subtitle::after{width:clamp(2rem,6vw,5rem);height:1px;background:var(--astral-gold);content:""}
.astral-calendar-overview.is-home .astral-calendar-intro{display:none}
.astral-calendar-intro{max-width:50rem;margin:1rem auto 0;color:#665461}
.astral-calendar-composition{position:relative;z-index:1;grid-template-columns:minmax(0,1.12fr) minmax(18rem,.88fr);gap:clamp(1rem,2vw,1.6rem);align-items:stretch}
.astral-calendar-board{padding:.2rem .7rem .7rem;border:1px solid rgba(163,111,52,.7);border-radius:1.15rem;background:rgba(255,252,248,.68);box-shadow:inset 0 0 1.8rem rgba(113,77,105,.035)}
.astral-calendar-grid{border:0}
.astral-calendar-weekday{padding:.58rem .15rem;border:0;border-bottom:1px solid var(--astral-line);color:var(--astral-ink);font-family:Georgia,"Times New Roman",serif;font-size:clamp(.7rem,1.1vw,1rem);font-weight:600;letter-spacing:0;text-transform:none}
.astral-calendar-day{min-height:clamp(3.55rem,5vw,4.8rem);padding:.32rem .42rem;border-color:var(--astral-line);background:rgba(255,255,255,.12)}
.astral-calendar-day.is-empty{background:rgba(224,209,220,.14)}
.astral-calendar-day.has-events{background:rgba(255,255,255,.2)}
.astral-calendar-day-number{width:2rem;height:2rem;color:#21171f;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1rem,1.5vw,1.25rem);font-weight:600}
.astral-calendar-day.favorable .astral-calendar-day-number{background:transparent;color:#173d20;border:2px solid #18812c;box-shadow:0 0 .35rem rgba(24,129,44,.14)}
.astral-calendar-day.tension .astral-calendar-day-number{background:transparent;color:#5e1417;border:2px solid #d0222a;box-shadow:0 0 .35rem rgba(208,34,42,.14)}
.astral-calendar-moon{border-color:rgba(79,44,87,.45);background:#d9cae1;box-shadow:inset -.12rem -.12rem .25rem rgba(47,26,62,.2),0 .12rem .3rem rgba(50,20,51,.14)}
.astral-calendar-moon::after{background:radial-gradient(circle at 35% 32%,#fbf6fb 0 8%,#cdb8d7 38%,#74527d 100%)}
.astral-calendar-moon[data-phase="new"]::after{background:radial-gradient(circle at 35% 30%,#796381,#321f3e 68%,#170e1f)}
.astral-calendar-moon[data-phase="waxing"]::after{left:48%;background:radial-gradient(circle at 20% 35%,#fffdfb,#d8c9e0 65%,#856b92)}
.astral-calendar-moon[data-phase="full"]::after{background:radial-gradient(circle at 35% 30%,#fffdfb 0 7%,#eadff0 28%,#baa3cb 70%,#8c739c)}
.astral-calendar-moon[data-phase="waning"]::after{right:48%;background:radial-gradient(circle at 75% 35%,#fffdfb,#d8c9e0 65%,#856b92)}
.astral-calendar-day>.astral-calendar-moon{left:50%;bottom:.2rem;width:1.35rem;height:1.35rem;transform:translateX(-50%)}
.astral-calendar-featured-mark{right:.35rem;bottom:.25rem;color:#b3791e;font-size:1.2rem}
.astral-calendar-legend{display:none}
.astral-calendar-insights{grid-template-rows:1.05fr 1fr 1fr;gap:.7rem}
.astral-calendar-panel{display:grid;grid-template-columns:clamp(3.5rem,6vw,5.5rem) minmax(0,1fr);align-items:center;gap:clamp(.75rem,1.4vw,1.15rem);padding:clamp(.75rem,1.2vw,1.1rem);border-radius:.9rem;background:rgba(255,252,248,.64);border:1px solid rgba(83,113,74,.65)}
.astral-calendar-panel-icon{display:grid;place-items:center;width:100%;aspect-ratio:1;border-right:1px solid currentColor;color:#1d6a29;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3.5vw,3.2rem);line-height:1;opacity:.85}
.astral-calendar-panel.is-featured{background:linear-gradient(120deg,#4b204d,#2f1738 66%,#5e3b70);border-color:#c59a48;color:#fff7e7}
.astral-calendar-panel.is-featured .astral-calendar-panel-icon{color:#e4b654;text-shadow:0 0 1rem rgba(228,182,84,.5)}
.astral-calendar-panel.is-featured .astral-calendar-panel-label{color:#f1c96e}
.astral-calendar-panel.is-tension{border-color:rgba(164,56,56,.72)}
.astral-calendar-panel.is-tension .astral-calendar-panel-icon{color:#aa1f25}
.astral-calendar-panel-label{margin:0;color:inherit;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.95rem,1.5vw,1.25rem);font-weight:700;letter-spacing:0;text-transform:none}
.astral-calendar-panel h3{max-width:none;color:#fff5d8;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.1rem,1.8vw,1.55rem);font-style:italic;font-weight:400}
.astral-calendar-panel-days{margin:.05rem 0;color:#1c5c27;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.15rem,1.8vw,1.5rem);font-weight:700;letter-spacing:0}
.astral-calendar-panel.is-tension .astral-calendar-panel-days{color:#8d1c21}
.astral-calendar-panel>div>p:last-child{margin:.2rem 0 0;color:#392d34;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.72rem,.95vw,.88rem);line-height:1.25}
.astral-calendar-panel.is-featured>div>p:last-child{color:#fff1d9}
.astral-calendar-phases{position:relative;z-index:1;margin-top:1rem;padding:1rem 0 0;border:0;border-top:1px solid rgba(175,124,45,.58);background:transparent}
.astral-calendar-phases>h3{display:flex;align-items:center;justify-content:center;gap:1rem;margin:-.25rem 0 .8rem;color:var(--astral-ink);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.15rem,2.2vw,1.75rem);font-style:italic;font-weight:600;letter-spacing:0;text-transform:none}
.astral-calendar-phases>h3::before,.astral-calendar-phases>h3::after{color:#bd8731;content:"✦";font-style:normal;font-weight:400}
.astral-calendar-phase{grid-template-columns:auto minmax(0,1fr);gap:.65rem;padding:.25rem clamp(.5rem,1.2vw,1rem);border-color:rgba(117,75,80,.28)}
.astral-calendar-phase .astral-calendar-moon{width:clamp(2.25rem,4vw,3.5rem);height:clamp(2.25rem,4vw,3.5rem)}
.astral-calendar-phase time{color:#2f1930;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.75rem,1vw,.9rem);font-weight:700;letter-spacing:0;text-transform:none}
.astral-calendar-phase p{color:#3f2940;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.72rem,1vw,.9rem);font-style:italic;line-height:1.16}
.astral-calendar-cta{position:relative;z-index:1;width:min(100%,32rem);min-height:3.25rem;margin:1.2rem auto 0;padding:.8rem 1.5rem;border:2px solid #d5a73c;border-radius:999px;background:var(--astral-violet-deep);color:#fff8e8;font-family:Georgia,"Times New Roman",serif;font-size:clamp(.9rem,1.4vw,1.15rem);font-weight:600;letter-spacing:0;text-transform:none;box-shadow:0 .45rem 1.2rem rgba(74,31,72,.22)}
.astral-calendar-cta:hover{background:#552354;color:#fff}
.astral-calendar-disclaimer{position:relative;z-index:1;color:#6e5968;font-size:.65rem}

@media(max-width:1024px){
  .astral-calendar-overview{padding-inline:1.15rem}.astral-calendar-composition{grid-template-columns:minmax(0,1.1fr) minmax(15rem,.9fr)}
  .astral-calendar-panel{grid-template-columns:3.5rem minmax(0,1fr)}.astral-calendar-day{min-height:3.8rem}
  .astral-calendar-phase-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.astral-calendar-phase{grid-template-columns:1fr;justify-items:center;text-align:center;border-right:1px solid rgba(117,75,80,.28)}
}
@media(max-width:768px){
  .astral-calendar-overview{border-radius:.8rem}.astral-calendar-overview::before{width:14rem;top:-7rem;left:-8rem}.astral-calendar-overview::after{width:8rem;top:-2.5rem}
  .astral-calendar-composition{grid-template-columns:1fr}.astral-calendar-insights{grid-template-columns:1fr;grid-template-rows:none}.astral-calendar-panel{grid-template-columns:4.25rem minmax(0,1fr)}
  .astral-calendar-phase-list{grid-template-columns:repeat(5,minmax(0,1fr))}.astral-calendar-phase{padding:.25rem .3rem}.astral-calendar-phase .astral-calendar-moon{width:2.25rem;height:2.25rem}.astral-calendar-phase p{font-size:.66rem}
}
@media(max-width:560px){
  .astral-calendar-overview{padding:1rem .45rem 1.25rem}.astral-calendar-brand{letter-spacing:.28em}.astral-calendar-overview-header h1 strong,.astral-calendar-overview-header h2 strong{font-size:clamp(2.35rem,13vw,3.2rem)}
  .astral-calendar-heading-kind{font-size:1.05rem}.astral-calendar-subtitle{font-size:.83rem;line-height:1.25}.astral-calendar-subtitle::before,.astral-calendar-subtitle::after{width:1.2rem}
  .astral-calendar-board{padding:.15rem .25rem .4rem;border-radius:.7rem}.astral-calendar-weekday{font-size:.62rem}.astral-calendar-day{min-height:3.25rem;padding:.15rem}.astral-calendar-day-number{width:1.5rem;height:1.5rem;font-size:.85rem}.astral-calendar-day>.astral-calendar-moon{width:1rem;height:1rem}.astral-calendar-featured-mark{font-size:.8rem}
  .astral-calendar-panel{grid-template-columns:3.5rem minmax(0,1fr);padding:.7rem}.astral-calendar-panel-icon{font-size:2rem}.astral-calendar-panel>div>p:last-child{font-size:.75rem}
  .astral-calendar-phases{padding-top:.8rem}.astral-calendar-phases>h3{font-size:1.1rem}.astral-calendar-phase-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.astral-calendar-phase{display:flex;flex-direction:column;gap:.25rem;padding:.2rem .1rem;border-right:1px solid rgba(117,75,80,.22)}.astral-calendar-phase .astral-calendar-moon{width:1.8rem;height:1.8rem}.astral-calendar-phase time{font-size:.58rem;line-height:1.1}.astral-calendar-phase p{font-size:.55rem;line-height:1.08}
  .astral-calendar-cta{min-height:3rem;padding:.7rem 1rem;font-size:.88rem}.astral-calendar-disclaimer{padding-inline:.5rem}
}
@media(max-width:340px){
  .astral-calendar-overview{padding-inline:.32rem}.astral-calendar-board{padding-inline:.12rem}.astral-calendar-day{min-height:3rem}.astral-calendar-weekday{font-size:.56rem}.astral-calendar-phase .astral-calendar-moon{width:1.55rem;height:1.55rem}.astral-calendar-phase p{font-size:.5rem}
}

/* Ajuste final de escala y aprovechamiento del contenedor. */
@media(min-width:1025px){
  .astral-calendar-home-main{padding:clamp(2.6rem,4vw,4.5rem) clamp(1rem,2.2vw,2.4rem)}
  .astral-calendar-overview{padding-inline:clamp(1.25rem,2.1vw,2rem)}
  .astral-calendar-composition{grid-template-columns:minmax(0,1.08fr) minmax(19rem,.92fr)}
  .astral-calendar-day{min-height:clamp(3.8rem,4.6vw,4.55rem)}
  .astral-calendar-day-number{width:2.12rem;height:2.12rem;font-size:clamp(1.05rem,1.42vw,1.28rem)}
  .astral-calendar-day>.astral-calendar-moon{width:1.48rem;height:1.48rem}
  .astral-calendar-phase .astral-calendar-moon{width:clamp(2.65rem,3.8vw,3.65rem);height:clamp(2.65rem,3.8vw,3.65rem)}
  .astral-calendar-phase time{font-size:clamp(.78rem,.9vw,.92rem)}
  .astral-calendar-phase p{font-size:clamp(.76rem,.9vw,.9rem)}
}

/* Signos discretos integrados a la rueda ornamental, sin imágenes externas. */
.astral-calendar-overview::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23ad792b' fill-opacity='.7' font-size='13' font-family='serif' text-anchor='middle'%3E%3Ctext x='100' y='24'%3E%E2%99%88%EF%B8%8E%3C/text%3E%3Ctext x='153' y='44'%3E%E2%99%89%EF%B8%8E%3C/text%3E%3Ctext x='181' y='94'%3E%E2%99%8A%EF%B8%8E%3C/text%3E%3Ctext x='162' y='150'%3E%E2%99%8B%EF%B8%8E%3C/text%3E%3Ctext x='108' y='181'%3E%E2%99%8C%EF%B8%8E%3C/text%3E%3Ctext x='49' y='157'%3E%E2%99%8D%EF%B8%8E%3C/text%3E%3Ctext x='20' y='106'%3E%E2%99%8E%EF%B8%8E%3C/text%3E%3Ctext x='41' y='51'%3E%E2%99%8F%EF%B8%8E%3C/text%3E%3C/g%3E%3C/svg%3E") center/86% 86% no-repeat,
    repeating-conic-gradient(from 5deg,rgba(183,130,43,.34) 0 1deg,transparent 1deg 30deg),
    radial-gradient(circle,transparent 0 43%,rgba(183,130,43,.2) 43.5% 44%,transparent 44.5% 62%,rgba(183,130,43,.23) 62.5% 63%,transparent 63.5%);
}

/* La hoja se dibuja con CSS; el glifo original queda fuera del flujo visual. */
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon{position:relative;font-size:0}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::before,
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::after{position:absolute;width:1.25rem;height:2.15rem;border:2px solid currentColor;border-radius:100% 0 100% 0;content:""}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::before{transform:translate(-.35rem,-.2rem) rotate(-34deg)}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::after{transform:translate(.35rem,-.2rem) rotate(56deg)}

.whatsapp-float.is-astral-obscured{pointer-events:none;opacity:0;transform:translateX(calc(100% + 2rem))}

@media(max-width:768px){
  .astral-calendar-home-main{padding:2.25rem clamp(.35rem,1.8vw,.8rem)}
  .astral-calendar-overview{width:100%;padding-inline:clamp(.35rem,1.8vw,.7rem)}
  .astral-calendar-day-number{width:1.72rem;height:1.72rem;font-size:.95rem}
  .astral-calendar-day>.astral-calendar-moon{width:1.12rem;height:1.12rem}
  .astral-calendar-featured-mark{font-size:1rem}
  .astral-calendar-insights{grid-template-columns:1fr}
  .astral-calendar-panel{grid-template-columns:4rem minmax(0,1fr);min-height:7.25rem}
  .astral-calendar-phase-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  .astral-calendar-phase{min-height:5.2rem;display:grid;grid-template-columns:auto minmax(0,1fr);justify-items:start;align-items:center;gap:.55rem;padding:.55rem;border:1px solid rgba(117,75,80,.25);border-radius:.65rem;text-align:left;background:rgba(255,255,255,.28)}
  .astral-calendar-phase:last-child{grid-column:1/-1;width:calc(50% - .275rem);justify-self:center;border:1px solid rgba(117,75,80,.25)}
  .astral-calendar-phase .astral-calendar-moon{width:2.65rem;height:2.65rem}
  .astral-calendar-phase time{font-size:.72rem;line-height:1.15}
  .astral-calendar-phase p{font-size:.7rem;line-height:1.2}
  .astral-calendar-cta{min-height:3.25rem;font-size:.94rem}
}
@media(max-width:560px){
  .astral-calendar-home-main{padding-inline:.2rem}
  .astral-calendar-overview{padding-inline:.28rem}
  .astral-calendar-day{min-height:3.35rem}
  .astral-calendar-day-number{width:1.55rem;height:1.55rem;font-size:.88rem}
  .astral-calendar-day>.astral-calendar-moon{width:1.05rem;height:1.05rem}
  .astral-calendar-panel{grid-template-columns:3.6rem minmax(0,1fr)}
  .astral-calendar-phase{min-height:5.5rem;padding:.45rem .35rem;gap:.35rem}
  .astral-calendar-phase:last-child{width:calc(50% - .275rem)}
  .astral-calendar-phase .astral-calendar-moon{width:2.2rem;height:2.2rem}
  .astral-calendar-phase time{font-size:.66rem}
  .astral-calendar-phase p{font-size:.64rem}
}
@media(max-width:340px){
  .astral-calendar-day-number{width:1.42rem;height:1.42rem;font-size:.82rem}
  .astral-calendar-phase{grid-template-columns:1fr;justify-items:center;text-align:center;min-height:6.4rem}
  .astral-calendar-phase .astral-calendar-moon{width:2rem;height:2rem}
}

/* Paleta institucional del HOME: la composición permanece sin cambios. */
.astral-calendar-overview{
  --astral-ink:var(--black-soft);
  --astral-violet:var(--black-soft);
  --astral-violet-deep:var(--black-soft);
  --astral-gold:var(--gold);
  --astral-line:rgba(141,93,32,.25);
  --astral-paper:var(--cream);
  background:
    radial-gradient(circle at 88% 4%,rgba(214,168,74,.12),transparent 24%),
    radial-gradient(circle at 7% 92%,rgba(241,208,131,.14),transparent 27%),
    linear-gradient(135deg,#faf7f0 0%,var(--cream) 54%,var(--section-light) 100%);
  border-color:rgba(141,93,32,.38);
  box-shadow:var(--shadow);
}
.astral-calendar-overview::after{
  background:
    radial-gradient(circle at 35% 28%,rgba(255,255,255,.76) 0 3%,transparent 4%),
    radial-gradient(circle at 66% 37%,rgba(141,93,32,.1) 0 7%,transparent 8%),
    radial-gradient(circle at 42% 67%,rgba(141,93,32,.09) 0 10%,transparent 11%),
    radial-gradient(circle at 38% 35%,#fffdf8 0 3%,var(--gold-light) 40%,var(--gold) 72%,var(--gold-dark) 100%);
  box-shadow:0 0 3rem rgba(214,168,74,.17),inset -.8rem -1rem 1.8rem rgba(141,93,32,.16);
  opacity:.48;
}
.astral-calendar-overview-header h1,.astral-calendar-overview-header h2,
.astral-calendar-heading-kind,.astral-calendar-subtitle{color:var(--black-soft)}
.astral-calendar-heading-kind span{color:var(--gold)}
.astral-calendar-intro{color:var(--muted)}
.astral-calendar-board{background:rgba(255,255,255,.3);border-color:rgba(141,93,32,.5);box-shadow:inset 0 0 1.8rem rgba(141,93,32,.025)}
.astral-calendar-weekday{color:var(--black-soft)}
.astral-calendar-day{background:rgba(242,238,230,.28)}
.astral-calendar-day.is-empty{background:rgba(215,207,191,.2)}
.astral-calendar-day.has-events{background:rgba(255,255,255,.36)}
.astral-calendar-day-number{color:var(--black-soft)}
.astral-calendar-day.favorable .astral-calendar-day-number{color:#31553b;border-color:var(--astral-green);box-shadow:0 0 .35rem rgba(71,116,86,.12)}
.astral-calendar-day.tension .astral-calendar-day-number{color:#71362f;border-color:var(--astral-red);box-shadow:0 0 .35rem rgba(162,71,63,.12)}
.astral-calendar-moon{isolation:isolate;box-sizing:border-box;border-color:var(--gold-dark);background:#211c17;box-shadow:inset 0 0 .22rem rgba(8,8,8,.58),0 .12rem .38rem rgba(20,17,13,.24)}
.astral-calendar-moon::after{inset:0;border-radius:50%;background:radial-gradient(circle at 35% 32%,#fffdf8 0 8%,var(--gold-light) 42%,var(--gold-dark) 100%)}
.astral-calendar-moon[data-phase="new"]::after{inset:0;background:radial-gradient(circle at 35% 30%,#4d4337,#211c17 68%,#080808)}
.astral-calendar-moon[data-phase="waxing"]::after{inset:0 50% 0 0;border-radius:999px 0 0 999px;background:radial-gradient(circle at 35% 35%,#fffdf8,var(--gold-light) 65%,var(--gold-dark))}
.astral-calendar-moon[data-phase="full"]::after{inset:0;background:radial-gradient(circle at 35% 30%,#fffdf8 0 7%,#f7e8bf 32%,var(--gold-light) 72%,var(--gold))}
.astral-calendar-moon[data-phase="waning"]::after{inset:0 0 0 50%;border-radius:0 999px 999px 0;background:radial-gradient(circle at 65% 35%,#fffdf8,var(--gold-light) 65%,var(--gold-dark))}
.astral-calendar-featured-mark{color:var(--gold-dark)}
.astral-calendar-panel{background:rgba(255,255,255,.31);border-color:var(--border)}
.astral-calendar-panel.is-featured{background:#14110d;border-color:var(--gold-dark);color:#f2eee6;opacity:1}
.astral-calendar-panel.is-featured .astral-calendar-panel-icon{color:var(--gold);text-shadow:0 0 1rem rgba(214,168,74,.28)}
.astral-calendar-panel.is-featured .astral-calendar-panel-label{color:#f1d083;opacity:1}
.astral-calendar-panel.is-featured h3{color:#f1d083;opacity:1}
.astral-calendar-panel.is-featured>div>p:last-child{color:#f2eee6;opacity:1}
.astral-calendar-panel.is-favorable{border-color:rgba(71,116,86,.58)}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon,
.astral-calendar-panel.is-favorable .astral-calendar-panel-days{color:var(--astral-green)}
.astral-calendar-panel.is-tension{border-color:rgba(162,71,63,.58)}
.astral-calendar-panel.is-tension .astral-calendar-panel-icon,
.astral-calendar-panel.is-tension .astral-calendar-panel-days{color:var(--astral-red)}
.astral-calendar-panel>div>p:last-child{color:var(--text-dark)}
.astral-calendar-phases{border-top-color:rgba(141,93,32,.48)}
.astral-calendar-phases>h3{color:var(--black-soft)}
.astral-calendar-phases>h3::before,.astral-calendar-phases>h3::after{color:var(--gold-dark)}
.astral-calendar-phase{border-color:var(--border)}
.astral-calendar-phase time{color:var(--gold-dark)}
.astral-calendar-phase p{color:var(--text-dark)}
.astral-calendar-cta{background:var(--black-soft);border-color:var(--gold);color:var(--cream);box-shadow:0 .45rem 1.2rem rgba(20,17,13,.16)}
.astral-calendar-cta:hover{background:var(--black);color:var(--gold-light)}
.astral-calendar-disclaimer{color:var(--muted)}
@media(max-width:768px){
  .astral-calendar-phase{border-color:var(--border);background:rgba(255,255,255,.26)}
  .astral-calendar-phase:last-child{border-color:var(--border)}
}

.astral-calendar-phases-subtitle{max-width:42rem;margin:-.7rem auto 1rem;color:var(--muted);font-size:.94rem;line-height:1.45;text-align:center}
.astral-calendar-phase-title{font-weight:650}
.astral-calendar-phase-interpretation{margin-top:.28rem;color:var(--muted)!important;font-size:.76rem!important;line-height:1.35!important;overflow-wrap:anywhere}
@media(max-width:768px){
  .astral-calendar-phases-subtitle{margin:-.45rem auto .8rem;padding-inline:.35rem;font-size:.86rem}
  .astral-calendar-phase-interpretation{font-size:.7rem!important;line-height:1.32!important}
}
@media(max-width:340px){
  .astral-calendar-phase-interpretation{font-size:.66rem!important}
}

/* Asistente editorial: reutiliza el componente público sin alterar su composición. */
.astral-import-source{display:grid;gap:1.25rem}
.astral-import-period{margin:0;padding:1rem 1.1rem;border:1px solid var(--line);background:var(--paper)}
.astral-import-period legend{padding:0 .4rem;color:var(--gold);font-size:.7rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.astral-import-period .form-grid{grid-template-columns:minmax(12rem,1fr) minmax(9rem,.55fr);max-width:35rem}
.astral-import-period select,.astral-import-editor select{width:100%;min-height:44px;padding:.7rem;border:1px solid var(--line);border-radius:0;background:var(--paper);color:var(--ink);font:inherit}
.astral-import-period>small{display:block;margin-top:.7rem;color:var(--muted);line-height:1.5}
.field-optional{display:inline-block;margin-left:.35rem;color:var(--muted);font-size:.68rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.astral-import-excluded details{margin-top:.8rem;padding-top:.7rem;border-top:1px solid currentColor}
.astral-import-excluded summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.astral-import-excluded pre{max-height:18rem;margin:.7rem 0 0;padding:.8rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:400 .78rem/1.55 var(--body)}
.astral-import-checklist{display:grid;grid-template-columns:minmax(14rem,.65fr) minmax(0,1.35fr);gap:1.5rem;margin:2rem 0;padding:1.25rem;border:1px solid var(--line);background:var(--paper)}
.astral-import-checklist header h2{margin:.2rem 0;font-size:clamp(1.8rem,4vw,3rem)}
.astral-import-checklist header p:last-child{color:var(--muted)}
.astral-import-checklist dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid var(--line)}
.astral-import-checklist dl div{min-width:0;padding:.8rem;border-bottom:1px solid var(--line)}
.astral-import-checklist dt{color:var(--muted);font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.astral-import-checklist dd{margin:.3rem 0 0;color:var(--ink);font-weight:650;overflow-wrap:anywhere}
.astral-import-checklist dd span{display:block;margin-top:.2rem;color:var(--muted);font-size:.68rem;font-weight:400}
.astral-import-visual-preview{margin:2rem 0;padding:1.25rem;border:1px solid var(--line);background:rgba(251,248,242,.72)}
.astral-import-visual-preview>header{max-width:46rem;margin-bottom:1rem}
.astral-import-visual-preview>header h2{margin:.2rem 0;font-size:clamp(1.8rem,4vw,3rem)}
.astral-import-visual-preview>header p:last-child{color:var(--muted);line-height:1.55}
.astral-import-visual-canvas{--black:#080808;--black-soft:#14110d;--cream:#f2eee6;--section-light:#eef1ef;--text-dark:#27231f;--muted:#746b60;--border:#d7cfbf;--gold:#d6a84a;--gold-light:#f1d083;--gold-dark:#8d5d20;--white:#fff;--font-display:var(--display);--font-body:var(--body);--shadow:0 1.5rem 4rem rgba(20,17,13,.08);min-width:0}
.astral-import-visual-canvas .astral-calendar-cta{pointer-events:none}
.astral-import-destination-preview,.astral-import-editor{margin:1rem 0;border:1px solid var(--line);background:rgba(251,248,242,.72)}
.astral-import-destination-preview>summary,.astral-import-editor>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;color:var(--ink);font-size:.72rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.astral-import-destination-preview>summary::marker,.astral-import-editor>summary::marker{color:var(--gold)}
.astral-import-destination-preview>.form-grid,.astral-import-editor-body{padding:1rem;border-top:1px solid var(--line)}
.astral-import-destination-preview>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.astral-import-editor-body{display:grid;gap:1rem}
.astral-import-editor-body fieldset{min-width:0;margin:0;padding:0;border:0}
.astral-import-editor-body fieldset>legend{margin-bottom:.5rem;font-family:var(--display);font-size:1.5rem}
.astral-import-period-lock{margin:1rem 0;padding:.8rem 1rem;border-block:1px solid var(--line);color:var(--muted)}
.astral-import-period-lock strong{color:var(--ink)}
.astral-import-lunar-editor{margin:1rem 0;padding:clamp(1rem,2vw,1.4rem);border:1px solid var(--line);background:var(--paper)}
.astral-import-lunar-editor>header{max-width:48rem;margin-bottom:1rem}
.astral-import-lunar-editor>header h2{margin:.2rem 0;font-family:var(--display);font-size:clamp(1.55rem,3vw,2.25rem);font-weight:500;line-height:1.1}
.astral-import-lunar-editor>header p:last-child{margin:.5rem 0 0;color:var(--muted);line-height:1.55}
.astral-import-lunar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem;margin-top:1rem}
.astral-import-lunar-field{min-width:0;padding:.85rem;border:1px solid var(--line);background:rgba(255,255,255,.28)}
.astral-import-lunar-field>p{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.15rem .65rem;margin:0 0 .75rem;line-height:1.35}
.astral-import-lunar-field time{grid-row:1/span 2;color:var(--gold-dark);font-size:.72rem;font-weight:750}
.astral-import-lunar-field strong{min-width:0;color:var(--ink);overflow-wrap:anywhere}
.astral-import-lunar-field span{color:var(--muted);font-size:.72rem}
.astral-import-lunar-field textarea{min-height:6rem;resize:vertical}
.astral-import-lunar-note{margin:1rem 0 0;padding-top:.75rem;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}
.astral-event-row .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){
  .astral-import-checklist{grid-template-columns:1fr}.astral-import-destination-preview>.form-grid{grid-template-columns:1fr}.astral-event-row .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .astral-import-period .form-grid,.astral-import-checklist dl,.astral-event-row .form-grid{grid-template-columns:1fr}.astral-import-visual-preview{margin-inline:-.25rem;padding:.55rem}.astral-import-visual-preview>header{padding:.45rem}.astral-import-visual-canvas .astral-calendar-overview{border-radius:.55rem}
}
@media(max-width:340px){
  .admin-menu-toggle{transform:translateX(-1px)}.admin-nav-backdrop{right:1px}
}

/* Fidelidad final al flyer aprobado: medallones, cabecera y luz astral. */
.astral-calendar-weekday{
  background:linear-gradient(180deg,rgba(215,207,191,.74),rgba(242,238,230,.5));
  border-block:1px solid rgba(141,93,32,.22);
  box-shadow:inset 0 1px rgba(255,255,255,.72),inset 0 -1px rgba(141,93,32,.08);
}
.astral-calendar-weekday:first-child{border-start-start-radius:.62rem}
.astral-calendar-weekday:nth-child(7){border-start-end-radius:.62rem}

.astral-calendar-panel{position:relative;isolation:isolate;overflow:hidden}
.astral-calendar-panel>div{position:relative;z-index:2;min-width:0}
.astral-calendar-panel-icon{
  position:relative;
  z-index:2;
  justify-self:center;
  width:clamp(3.35rem,5.2vw,4.7rem);
  border-right:0;
  border-radius:50%;
}
.astral-calendar-panel-icon+div{
  padding-inline-start:clamp(.8rem,1.35vw,1.15rem);
  border-inline-start:1px solid currentColor;
}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon{
  background:
    radial-gradient(circle at 35% 28%,rgba(255,255,255,.9) 0 7%,transparent 8%),
    radial-gradient(circle,#f8fbf2 0 38%,#dcebd0 67%,#aacb93 100%);
  color:#2f6d32;
  box-shadow:0 .35rem .8rem rgba(71,116,86,.18),inset -.25rem -.3rem .55rem rgba(71,116,86,.14);
}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::before,
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::after{
  width:1rem;
  height:1.72rem;
  border-width:1.8px;
}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::before{transform:translate(-.3rem,-.1rem) rotate(-34deg)}
.astral-calendar-panel.is-favorable .astral-calendar-panel-icon::after{transform:translate(.3rem,-.1rem) rotate(56deg)}
.astral-calendar-panel.is-tension .astral-calendar-panel-icon{
  background:
    radial-gradient(circle at 35% 28%,rgba(255,255,255,.9) 0 7%,transparent 8%),
    radial-gradient(circle,#fff8f5 0 38%,#f7d8d2 68%,#e8a79e 100%);
  color:#a91f26;
  text-shadow:0 .12rem .2rem rgba(112,18,25,.18);
  box-shadow:0 .35rem .8rem rgba(162,71,63,.18),inset -.25rem -.3rem .55rem rgba(162,71,63,.14);
}

.astral-calendar-panel.is-featured{
  background:
    radial-gradient(circle at 94% 42%,rgba(241,208,131,.52) 0 2%,rgba(214,168,74,.28) 3% 8%,rgba(141,93,32,.16) 9% 15%,transparent 16%),
    radial-gradient(circle at 84% 22%,rgba(241,208,131,.38) 0 1px,transparent 1.6px),
    radial-gradient(circle at 72% 74%,rgba(241,208,131,.28) 0 1px,transparent 1.5px),
    linear-gradient(112deg,#14110d 0%,#20170f 66%,#342313 100%);
  background-color:#14110d;
  background-size:auto,3.1rem 3.1rem,2.6rem 2.6rem,auto;
  border-color:#d6a84a;
  box-shadow:inset 0 0 1.5rem rgba(214,168,74,.1),0 .35rem 1rem rgba(20,17,13,.13);
}
.astral-calendar-panel.is-featured::after{
  position:absolute;
  z-index:0;
  top:50%;
  right:clamp(-2.2rem,-1.5vw,-.8rem);
  width:clamp(5.8rem,10vw,8.2rem);
  aspect-ratio:1;
  border:1px solid rgba(241,208,131,.32);
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 27%,rgba(255,253,248,.34) 0 3%,transparent 4%),
    repeating-linear-gradient(172deg,transparent 0 9%,rgba(241,208,131,.12) 10% 12%,transparent 13% 19%),
    radial-gradient(circle at 38% 35%,#8d5d20,#3e2a16 58%,#14110d 100%);
  box-shadow:-.5rem 0 1.2rem rgba(214,168,74,.18),inset -.75rem -.35rem 1rem rgba(8,8,8,.58);
  content:"";
  opacity:.48;
  transform:translateY(-50%);
}
.astral-calendar-panel.is-featured .astral-calendar-panel-icon{
  background:
    radial-gradient(circle,transparent 0 28%,rgba(241,208,131,.23) 29% 33%,transparent 34%),
    repeating-conic-gradient(from 0deg,rgba(241,208,131,.8) 0 1deg,transparent 1deg 12deg);
  color:#f1d083;
  text-shadow:0 0 .45rem rgba(241,208,131,.8);
  box-shadow:0 0 1.2rem rgba(214,168,74,.22);
}

.astral-calendar-moon{
  border-color:#8d5d20;
  background:radial-gradient(circle at 38% 32%,#514332,#211c17 68%,#080808);
  box-shadow:inset -.16rem -.18rem .32rem rgba(8,8,8,.62),0 .12rem .4rem rgba(20,17,13,.3);
}
.astral-calendar-moon::after{box-shadow:inset -.16rem -.12rem .28rem rgba(141,93,32,.2)}
.astral-calendar-moon[data-phase="new"]::after{
  inset:0;
  border:1px solid rgba(241,208,131,.12);
  background:radial-gradient(circle at 36% 30%,#51493f 0 3%,#211c17 46%,#080808 100%);
  box-shadow:inset -.2rem -.2rem .32rem rgba(0,0,0,.72);
}
.astral-calendar-moon[data-phase="waxing"]::after{
  inset:0 38% 0 0;
  border-radius:100% 42% 42% 100%;
  background:radial-gradient(circle at 30% 30%,#fffdf8 0 8%,#f1d083 58%,#8d5d20 100%);
}
.astral-calendar-moon[data-phase="full"]::after{
  inset:0;
  background:
    radial-gradient(circle at 68% 62%,rgba(141,93,32,.18) 0 8%,transparent 9%),
    radial-gradient(circle at 31% 35%,rgba(141,93,32,.13) 0 6%,transparent 7%),
    radial-gradient(circle at 35% 30%,#fffdf8 0 7%,#f7e8bf 34%,#f1d083 74%,#d6a84a 100%);
  box-shadow:0 0 .65rem rgba(241,208,131,.48),inset -.16rem -.12rem .24rem rgba(141,93,32,.18);
}
.astral-calendar-moon[data-phase="waning"]::after{
  inset:0 0 0 38%;
  border-radius:42% 100% 100% 42%;
  background:radial-gradient(circle at 70% 30%,#fffdf8 0 8%,#f1d083 58%,#8d5d20 100%);
}

.astral-calendar-cta,
.astral-calendar-cta:visited{
  background:#14110d;
  color:#f2eee6;
  border:2px solid #d6a84a;
}
.astral-calendar-cta:hover,
.astral-calendar-cta:focus-visible{
  background:#080808;
  color:#f2eee6;
  border-color:#f1d083;
}
.astral-calendar-cta:focus-visible{outline:3px solid #f1d083;outline-offset:3px}

@media(max-width:560px){
  .astral-calendar-panel-icon{width:3.15rem}
  .astral-calendar-panel-icon+div{padding-inline-start:.72rem}
  .astral-calendar-panel.is-featured::after{right:-2.7rem;width:6.4rem;opacity:.32}
}
