/* One visual language for all seven public astrology experiences.
   Scope to the portal: no changes to global site, print or calculation logic. */
@media screen {
.astro-portal-page {--portal-night:#0d2737;--portal-mid:#1b4250;--portal-gold:#e0c48b;--portal-paper:#fffaf0;--portal-ink:#173442;--portal-muted:#4b6267;--portal-line:#c7d0c8;--portal-serif:Georgia,"Times New Roman",serif;}
.astro-portal-page .astro-portal-nav{box-sizing:border-box;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;width:100%;max-width:1120px;margin:0 auto 12px;padding:4px;border:1px solid #3d5d64;border-radius:10px;background:var(--portal-night);}
.me-astro .astro-portal-nav{width:min(1120px,calc(100% - 48px))}
.astro-portal-page .astro-portal-nav>a,.astro-portal-page .wv-shell .astro-portal-nav>a{display:flex;box-sizing:border-box;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:5px 4px;border:0;border-radius:6px;color:#f4efdf;background:transparent;font:600 clamp(.76rem,1.2vw,.92rem)/1.2 system-ui,sans-serif;text-align:center;text-decoration:none;overflow-wrap:normal;}
.astro-portal-page .astro-portal-nav>a:hover{background:#294958;color:white;}
.astro-portal-page .astro-portal-nav>a[aria-current],.astro-portal-page .wv-shell .astro-portal-nav>a[aria-current]{background:var(--portal-gold);color:#172e3a;text-decoration:none;}
.astro-portal-page .astro-portal-nav>a:focus-visible{outline:2px solid #e7c66c!important;outline-offset:1px!important;}
.astro-portal-page .astro-portal-kicker{font:700 .71rem/1.4 system-ui,sans-serif;letter-spacing:.115em;text-transform:uppercase;color:#755320;margin:0 0 8px;}
.astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro){box-sizing:border-box;position:relative;isolation:isolate;background:radial-gradient(ellipse at 85% 10%,#315562,transparent 65%),linear-gradient(130deg,#0d2737,#142f3a);color:#fff8e9;border:0;border-radius:12px;padding:clamp(16px,3vw,32px);margin-bottom:14px;}
.astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro)::after{content:"";position:absolute;right:12px;top:8px;width:min(24%,170px);aspect-ratio:1;z-index:-1;pointer-events:none;background:url('/assets/astrologie/portal-orbit.svg') center/contain no-repeat;opacity:.29;}
.astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro) :is(h1,h2,.wv-week-lead){color:#fff8e9;}
.astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro) :is(p,.wk-lead,.wv-byline){color:#e3ebeb;}
.astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro) :is(a,.wk-eyebrow,.astro-portal-kicker){color:var(--portal-gold);}
.astro-portal-page .wk-hero .wk-shell{width:100%;padding:0;max-width:none;}
.astro-portal-page .wk-start-layout .wk-hero .wk-hero-grid{padding:0;gap:0;}
.astro-portal-page .wk-start-layout .wk-hero h1,.astro-portal-page .pair-wrap .pair-hero-compact h1{font-family:var(--portal-serif);font-size:clamp(1.85rem,4vw,3.1rem);line-height:1.1;max-width:24ch;margin:0 0 8px;}
.astro-portal-page .wk-start-layout .wk-hero .wk-lead,.astro-portal-page .pair-wrap .pair-hero-compact>p:last-child{color:#e3ebeb;line-height:1.5;font-size:clamp(.95rem,1.4vw,1.08rem);}
.astro-portal-page .wv-page .wv-shell .wv-issue-hero,.astro-portal-page .wk-page .wk-results .wk-letter .wk-letter-head,.astro-portal-page .pair-wrap .pair-letter .pair-letter-head{background:radial-gradient(ellipse at 90% 0%,#315562,transparent 65%),#0d2737;}
.astro-portal-page .wv-page .wv-shell .wv-week-preview .wv-issue-hero{background:#edf3eb;}
.astro-portal-page .astro-portal-next{box-sizing:border-box;width:min(100%,1120px);margin:28px auto;padding:clamp(20px,4vw,36px);border:1px solid var(--portal-line);border-top:3px solid #a88c54;border-radius:10px;background:#f6f1e6;color:var(--portal-ink);}
.me-astro .astro-portal-next{width:min(1120px,calc(100% - 48px))}
.astro-portal-next h2{font:400 clamp(1.5rem,3vw,2.1rem)/1.16 var(--portal-serif);color:var(--portal-ink);margin:0 0 10px;}
.astro-portal-next>p{max-width:68ch;margin:0 0 12px;line-height:1.6;}
.astro-portal-nextlinks{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;}
.astro-portal-page .astro-portal-nextlinks>a{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-weight:650;text-decoration:underline;text-underline-offset:4px;color:#205763;}
.astro-portal-page .astro-portal-nextlinks>a:first-child{padding:8px 14px;background:var(--portal-night);color:#fff8e9;border-radius:6px;text-decoration:none;}
.astro-portal-next .astro-portal-deepen{font-size:.9rem;border-top:1px solid #d3cbb9;padding-top:14px;margin-top:12px;}
.astro-portal-next .wk-region-choice{margin:4px 0 0;padding:0;width:auto;}
.astro-portal-page .astro-transfer{grid-column:1/-1;padding:12px;margin:12px 0;border-left:3px solid #a88c54;background:#f1ecdf;color:var(--portal-ink);font-size:.93rem;}
.astro-portal-page .astro-transfer[hidden]{display:none!important;}
.astro-portal-page .astro-transfer button{min-height:44px;border:1px solid #59777b;border-radius:6px;padding:7px 12px;background:#fffdf8;color:#173442;font:600 .9rem/1.3 system-ui,sans-serif;cursor:pointer;}
.astro-portal-page .astro-transfer p{margin:6px 0;}
.astro-portal-page .astro-portal-live{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;margin-top:clamp(20px,4vw,42px);border:1px solid #d5cabb;border-radius:14px;background:#fffdf8;overflow:hidden;}
.astro-live-sky,.astro-live-week{padding:clamp(18px,3.5vw,34px);min-width:0;}
.astro-live-week{border-left:1px solid #d5cabb;background:#f0eadc;}
.astro-portal-live h2{font:400 clamp(1.45rem,3vw,2.15rem)/1.15 var(--portal-serif);margin:4px 0 10px;color:var(--portal-ink);}
.astro-live-time,.astro-live-note{font-size:.8rem;color:var(--portal-muted);margin:8px 0;}
.astro-live-positions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;}
.astro-live-positions>div{display:flex;align-items:center;gap:8px;min-width:0;}
.astro-live-positions>div>span{font:2rem/1.1 Georgia,serif;color:#8c692d;}
.astro-live-positions small,.astro-live-positions strong{display:block;}
.astro-live-positions small{color:var(--portal-muted);font-size:.76rem;}
.astro-live-positions strong{font:400 clamp(1rem,2vw,1.3rem)/1.25 var(--portal-serif);color:var(--portal-ink);}
.astro-live-week a,.astro-path-links a{display:inline-flex;min-height:44px;align-items:center;gap:8px;font-weight:650;}
.astro-journey-intro{margin-bottom:28px;scroll-margin-top:100px;}
.astro-journey-intro h2{font-size:clamp(2rem,4vw,3rem);}
.astro-portal-journey .astro-shell:not(.astro-journey-intro)>h2{font-size:clamp(1.5rem,3vw,2.15rem);}
.astro-portal-page .astro-portal-paths{padding-top:8px;}
.astro-path{display:grid;grid-template-columns:90px minmax(0,1fr);gap:clamp(15px,4vw,42px);align-items:start;border-bottom:1px solid #d5cabb;padding:clamp(20px,4vw,42px) 0;}
.astro-path:last-child{border-bottom:0;}
.astro-path-icon{display:grid;place-items:center;width:90px;height:90px;color:var(--portal-gold);background:radial-gradient(circle,#315562,#0d2737);border-radius:50%;border:1px solid #a88c54;font:3rem/1 var(--portal-serif);}
.astro-path h2{margin:0 0 8px;}.astro-path p{max-width:65ch;}
.astro-path-links{display:flex;flex-wrap:wrap;gap:0 22px;}
@media(max-width:800px){
 .astro-portal-page .astro-portal-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-bottom:9px;}
 .me-astro .astro-portal-nav,.me-astro .astro-portal-next{width:calc(100% - 32px)}
 .astro-portal-page .astro-portal-nav>a{font-size:.76rem;min-height:44px;padding:5px 2px;hyphens:auto;}
 .astro-portal-page .astro-portal-nav>a:nth-child(4),.astro-portal-page .astro-portal-nav>a:nth-child(6){font-size:.69rem;}
 .astro-portal-page :is(.wk-hero,.pair-hero-compact,.wv-intro,.wv-year-intro){padding:15px;margin-bottom:9px;}
 .astro-portal-page .wk-start-layout .wk-hero h1,.astro-portal-page .pair-wrap .pair-hero-compact h1{font-size:clamp(1.75rem,6vw,2.6rem);}
 .astro-portal-page .astro-portal-live{grid-template-columns:1fr;}
 .astro-live-week{border-left:0;border-top:1px solid #d5cabb;}
 .astro-path{grid-template-columns:56px minmax(0,1fr);gap:14px;}.astro-path-icon{width:56px;height:56px;font-size:2rem;}
 /* Compact calculator: navigation uses two rows, so recover vertical space. */
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-crumb{padding:4px 0;font-size:.72rem;}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-calculator-hero{padding:14px 0 20px;}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-calculator-hero .astro-hero-grid{gap:11px;}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-title-row h1{font-size:clamp(1.7rem,6vw,2.6rem);}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-form{padding:12px 15px;}
}
@media(max-width:400px){.me-astro .astro-portal-nav,.me-astro .astro-portal-next{width:calc(100% - 24px)}.astro-portal-page .astro-portal-nav>a{font-size:.71rem;}.astro-portal-page .astro-portal-nav>a:nth-child(4),.astro-portal-page .astro-portal-nav>a:nth-child(6){font-size:.64rem;}.astro-portal-home .astro-hub-hero h1{font-size:clamp(1.9rem,7.3vw,2.7rem);max-width:12ch;}.astro-portal-home .astro-hub-hero .astro-wheel-wrap{width:88px;}}
}
@media print{.astro-portal-nav,.astro-portal-next,.astro-transfer{display:none!important;}}
/* Variant comparison: a two-row 3+4 navigation, instead of clipped labels or
   an offscreen scrolling strip. Full labels stay accessible and in HTML. */
.astro-portal-nav .astro-nav-compact{display:none;}
@media screen {
.astro-portal-home .astro-hub-hero{padding:clamp(22px,3.2vw,44px) 0;}
.astro-portal-home .astro-hub-hero h1{font-size:clamp(2.6rem,4.9vw,4.3rem);max-width:15ch;}
.astro-hub-celestial{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px, .52fr);align-items:center;gap:12px;min-width:0;}
.astro-hub-celestial .astro-wheel-wrap{position:static;width:100%;opacity:1;}
.astro-hub-celestial .astro-wheel{width:100%;}
.astro-hub-celestial .astro-wheel-caption{font-size:.55rem;letter-spacing:.08em;}
.astro-hub-celestial .astro-live-sky{border:1px solid #58737b;border-radius:12px;background:#173847;padding:clamp(14px,2.2vw,26px);color:#fff8e9;}
.astro-hub-celestial .astro-live-sky h2{font:400 clamp(1.4rem,2.4vw,2rem)/1.15 var(--portal-serif);color:#fff8e9;margin:4px 0 8px;}
.astro-hub-celestial .astro-live-sky :is(.astro-portal-kicker,.astro-live-positions>div>span){color:var(--portal-gold);}
.astro-hub-celestial .astro-live-sky :is(.astro-live-note,.astro-live-time,.astro-live-positions small){color:#d9e4e6;}
.astro-hub-celestial .astro-live-sky .astro-live-positions strong{color:#fff8e9;}
.astro-hub-celestial .astro-live-positions{grid-template-columns:1fr;gap:8px;margin:10px 0;}
.astro-hub-celestial .astro-live-positions>div{border-top:1px solid #527078;padding-top:8px;}
.astro-portal-page .astro-portal-week-feature{display:block;margin-top:clamp(14px,3vw,30px);}
.astro-portal-week-feature .astro-live-week{border:0;background:#f0eadc;}
.astro-portal-week-feature .astro-live-week p:not(.astro-portal-kicker){max-width:78ch;}
.astro-portal-page .astro-year-opening{margin:0 0 1.4rem;color:var(--portal-ink);}
.astro-portal-page .astro-year-opening h2{font:400 clamp(1.45rem,3vw,2rem)/1.2 var(--portal-serif);margin:1rem 0 .55rem;color:var(--portal-ink);}
.astro-portal-page .wv-page .wv-shell .wv-week-primary .wv-issue-hero{background:#f3eee1;border:1px solid #d5cabb;border-left:3px solid #a88c54;}
.astro-portal-page .wv-page .wv-shell .wv-week-primary .wv-issue-hero::after{display:none;}
.astro-portal-page .wv-page .wv-shell .wv-week-primary .wv-issue-hero h2{color:#173442;}
.astro-portal-page .wv-page .wv-shell .wv-week-primary .wv-issue-hero .wv-issue-kicker{color:#755320;}
@media(max-width:800px){
 .astro-portal-page .astro-portal-nav{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;}
 .astro-portal-page .astro-portal-nav>a{grid-column:span 3;font-size:.82rem;overflow-wrap:anywhere;}
 .astro-portal-page .astro-portal-nav>a:nth-child(-n+3){grid-column:span 4;}
 .astro-portal-page .astro-portal-nav>a:nth-child(4),.astro-portal-page .astro-portal-nav>a:nth-child(6){font-size:.8rem;}
 .astro-portal-page .astro-portal-nav .astro-nav-full{display:none;}
 .astro-portal-page .astro-portal-nav .astro-nav-compact{display:inline;}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-crumb{display:none;}
 .astro-portal-page:is(.astro-portal-asc,.astro-portal-moon) .astro-portal-nav{margin-top:8px;}
 .astro-portal-home .astro-hub-hero .astro-hero-grid{grid-template-columns:1fr;gap:14px;position:relative;}
 .astro-portal-home .astro-hub-hero .astro-hero-copy{padding:0;}
 .astro-portal-home .astro-hub-hero h1{font-size:clamp(2rem,7.8vw,3.1rem);max-width:15ch;}
 .astro-hub-celestial{grid-template-columns:1fr;}
 .astro-portal-home .astro-hub-celestial .astro-wheel-wrap{position:absolute;top:17px;right:2px;width:clamp(76px,24vw,130px);opacity:.9;pointer-events:none;}
 .astro-portal-home .astro-hub-celestial .astro-wheel-caption{display:none;}
 .astro-portal-home .astro-hub-celestial .astro-live-positions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .astro-portal-home .astro-hub-hero .astro-hero-copy h1{max-width:calc(100% - clamp(80px,25vw,134px));}
 .astro-portal-home .astro-hero-actions{margin-top:10px;gap:8px;}
 .astro-portal-home .astro-hero-actions .astro-button{width:auto;}
 .astro-portal-home .astro-hero-actions .astro-hero-link{min-height:44px;}
 .astro-portal-home .astro-hero-meta{margin-top:5px;}
}
@media(max-width:350px){.astro-portal-page .astro-portal-nav>a{font-size:.77rem;}.astro-portal-page .astro-portal-nav>a:nth-child(4),.astro-portal-page .astro-portal-nav>a:nth-child(6){font-size:.77rem;}}
}
@media screen{
.astro-portal-page .astro-portal-next .wk-region-choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font:500 .86rem/1.4 system-ui,sans-serif;color:var(--portal-muted);}
.astro-portal-page .astro-portal-next .wk-region-choice select{max-width:100%;min-height:44px;padding:6px 10px;border:1px solid #78918b;border-radius:6px;color:var(--portal-ink);background:#fffdf8;font:inherit;}
}
@media screen and (max-width:800px){
 .astro-portal-page :is(.astro-crumb,.wk-breadcrumbs,.wv-breadcrumbs){display:none;}
 .astro-portal-page .astro-portal-nav{margin-top:8px;}
}

/* V215: eight entries, two balanced rows on narrow screens. */
@media screen{.astro-portal-page .astro-portal-nav{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media screen and (max-width:800px){.astro-portal-page .astro-portal-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.astro-portal-page .astro-portal-nav>a,.astro-portal-page .astro-portal-nav>a:nth-child(-n+3){grid-column:auto;font-size:.76rem;overflow-wrap:normal}.astro-portal-page .astro-portal-nav>a:nth-child(4){font-size:.71rem}}
@media screen and (max-width:350px){.astro-portal-page .astro-portal-nav>a{font-size:.69rem}.astro-portal-page .astro-portal-nav>a:nth-child(4){font-size:.65rem}}
