/* Shared navigation and responsive portal layout. */
.hero-compact,.mobile-copy,.mobilebar{display:none}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-actions .secondary{margin-left:0}
.split>*{min-width:0}
.nav-scrim{display:none}
.nav-scrim[hidden]{display:none!important}
.skiplink{position:fixed;top:-100px;left:16px;z-index:100;background:#fff;color:#55336f;border:2px solid #76528f;border-radius:8px;padding:12px 18px}
.skiplink:focus{top:12px}
.navtoggle{align-items:center;justify-content:center;gap:8px}
.nav a[aria-current],.nav a.active{color:#65427e}
.location-fields{margin-top:20px}
.location-fields input[type=search]{margin-bottom:8px}
.pagination{display:flex;gap:12px;margin:24px 0}
.archivelink h3{font-family:Manrope,sans-serif;font-size:1.08rem;line-height:1.45;letter-spacing:-.025em;margin:12px 0 8px}
.archivelink .hint{margin:0}
.daysection{padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid var(--line)}

@media(max-width:900px){
 .header{position:sticky;top:0;z-index:60;min-height:76px;flex-wrap:nowrap;gap:20px;padding-top:12px;padding-bottom:12px;background:#fff;border-bottom:1px solid #ebe6f0;box-shadow:0 3px 12px #251a3605}
 .header .brand{font-size:1.2rem;gap:9px;flex-shrink:0}
 .header .brand small{font-size:.69rem;letter-spacing:.29em}
 .header .brandmark{font-size:2.25rem}
 .navtoggle{display:inline-flex;min-width:86px;min-height:46px;border:1px solid #e4dce9;background:#faf8fc;border-radius:10px;padding:10px 12px;font-size:.875rem;font-weight:600;color:#493957;cursor:pointer}
 .navtoggle svg{width:20px;height:20px;flex-shrink:0}
 .navtoggle[aria-expanded=true]{background:#eee6f5;border-color:#cdb9df;color:#64427e}
 .header .nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;padding:12px 18px 18px;gap:0;max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-top:1px solid #eee8f3;border-bottom:1px solid #ded1e9;border-radius:0 0 18px 18px;box-shadow:0 18px 25px #24152e12}
 .header .nav.open{display:flex;flex-direction:column;align-items:stretch}
 .header .nav>a{display:flex;align-items:center;width:100%;min-height:49px;padding:12px 14px;border-radius:8px;font-size:1rem;font-weight:500}
 .header .nav>a.active{background:#f5f0fa;font-weight:700}
 .header .nav>.pill{justify-content:center;margin-top:8px;background:#70508b;color:#fff;min-height:50px}
 .nav-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:50;border:0;background:#20152e66;cursor:default}
 .split{grid-template-columns:minmax(0,1fr);gap:28px}
 .skycard{height:auto}
 .hero{padding:32px}
 .hero .wheel{width:300px;height:auto}
 .hero h1{font-size:2.4rem}
 .toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .archivegrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
 body:not(.adminbody){padding-bottom:calc(76px + env(safe-area-inset-bottom));background:#fff;-webkit-text-size-adjust:100%}
 .topline{display:none}
 .shell{padding-left:18px;padding-right:18px}
 .header{min-height:72px;padding-top:10px;padding-bottom:10px}
 .datebar .shell{min-height:40px;align-items:center;padding-top:8px;padding-bottom:8px;font-size:.875rem}
 .datebar .shell>span:last-child{display:none}
 .hero{margin-top:18px;min-height:0;padding:26px 22px 24px;border-radius:16px;display:block;isolation:isolate}
 .hero:before{opacity:.18}
 .hero-wide,.desktop-copy{display:none}
 .mobile-copy{display:inline}
 .hero-compact{display:inline}
 .hero .eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.12em;margin-bottom:13px;color:#d7bf9a}
 .hero h1{font-size:clamp(1.75rem,7.7vw,2.25rem);line-height:1.19;letter-spacing:-.045em;margin:0 0 13px;font-weight:700}
 .hero h1 em{color:#d2b5ef}
 .hero p{font-size:1rem;line-height:1.6;max-width:30ch;color:#d4c9df;margin:0 0 22px}
 .hero .wheel{position:absolute;z-index:-1;right:-108px;bottom:-60px;width:270px;height:auto;max-width:none;opacity:.22;pointer-events:none;margin:0}
 .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .hero .btn,.hero .secondary{width:100%;min-height:48px;margin:0;border-radius:9px;font-size:.9375rem;padding:12px 16px}
 .hero .secondary{border-color:#89709e;background:#ffffff07;color:#f1e8fa}
 .sectionhead{gap:12px;align-items:flex-start;margin:30px 0 16px}
 .sectionhead>div{min-width:0;flex:1}
 .sectionhead h2{font-size:1.35rem;line-height:1.35;letter-spacing:-.035em}
 .sectionhead p{font-size:.9375rem;line-height:1.6;margin-top:7px}
 .sectionhead>a{font-size:.875rem;font-weight:600;white-space:nowrap;padding:7px 0;min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}
 .tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border:1px solid #e9e2f0;background:#f7f4fa;padding:4px;border-radius:11px;margin-bottom:16px;overflow:visible}
 .tabs a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 3px;font-size:.875rem;border:0;border-radius:7px;color:#74647f}
 .tabs a.selected{background:#fff;border:0;box-shadow:0 2px 7px #3523430e;color:#684386}
 .zodiacgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .zcard{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 6px;min-height:118px;border-color:#e8e1ee;border-radius:12px;background:#fff;box-shadow:0 2px 5px #31184403}
 .zcard .glyph{font-size:2rem;line-height:1.25;margin-bottom:7px;color:#825b9d}
 .zcard strong{font-size:1rem;line-height:1.4;font-weight:700}
 .zcard small{font-size:.875rem;line-height:1.4;margin-top:4px;color:#82718c}
 .element-suffix{display:none}
 .split{gap:26px}
 .toolcard{border-radius:12px;gap:13px;padding:18px 16px;align-items:center;min-height:100px}
 .toolcard .icon{height:46px;min-width:46px;font-size:1.6rem;border-radius:11px;flex-shrink:0}
 .toolcard h3{font-size:1rem;line-height:1.4;margin-bottom:5px;letter-spacing:-.015em}
 .toolcard p{font-size:.875rem;line-height:1.55}
 .skycard{padding:22px;border-radius:14px;border-color:#e9e0f0;height:auto}
 .skycard h3{font-size:1.15rem;line-height:1.4}
 .skycard p{font-size:.9375rem;line-height:1.65}
 .skyrow{font-size:.9375rem;padding:12px 0;gap:14px;align-items:center}
 .skyrow>span,.skyrow>strong{min-width:0}
 .moon{font-size:3.8rem}
 .banner{padding:24px 20px;margin:28px 0;border-radius:14px}
 .banner .eyebrow{font-size:.75rem;letter-spacing:.1em;line-height:1.6;margin-bottom:10px}
 .banner h2{font-size:1.5rem;line-height:1.3}
 .banner p{font-size:.9375rem;line-height:1.65}
 .banner .btn{margin-top:20px;width:100%}
 .btn{min-height:48px;border-radius:9px;font-size:.9375rem;padding:12px 18px}
 .btn:disabled{opacity:.65;cursor:wait}
 .breadcrumb{margin:20px 0 18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;font-size:.875rem;line-height:1.5}
 .pageintro{margin:18px 0 24px}
 .pageintro .eyebrow{font-size:.75rem;letter-spacing:.14em;margin-bottom:10px;color:#8a639f}
 .pageintro h1{font-size:clamp(1.65rem,6.7vw,2rem);line-height:1.25;letter-spacing:-.04em;margin-bottom:13px;overflow-wrap:anywhere}
 .pageintro p{font-size:1rem;line-height:1.65;margin:0}
 .panel{padding:18px;border-radius:14px}
 #calc{border-color:#e5ddec;box-shadow:0 4px 18px #35244304}
 #calc>.tag{font-size:.75rem;letter-spacing:.045em}
 #calc>.hint{margin:12px 0 20px}
 #calc>.btn[type=submit]{width:100%;min-height:52px;font-size:1rem;margin-top:4px}
 .formgrid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px 12px}
 .formgrid>*{min-width:0}
 label{font-size:.9375rem;line-height:1.5;font-weight:600;color:#3c3148}
 input,select,textarea{font-size:16px!important;line-height:1.5;min-height:50px;min-width:0;max-width:100%;padding:12px 11px;border-radius:9px;border-color:#dcd2e4;color:#332a3c;margin-top:7px;box-shadow:0 1px 2px #2b193504}
 input[type=hidden]{min-height:0;padding:0;margin:0}
 input[type=date],input[type=time]{width:100%;max-width:100%;min-width:0;min-inline-size:0;display:block;-webkit-appearance:none;appearance:none;padding-left:10px;padding-right:7px}
 input::-webkit-date-and-time-value{text-align:left}
 input::-webkit-datetime-edit{padding:0;min-width:0}
 select{padding-right:32px;background-position:right 10px center}
 input:focus,select:focus,textarea:focus{border-color:#9570b3}
 fieldset{min-inline-size:0;margin:22px 0;padding:18px 12px 16px;border-radius:11px;border-color:#e5dcec;background:#fcfafd}
 legend{font-size:.9375rem;padding:0 8px;color:#74518e}
 .location-fields{margin-top:18px}
 .location-fields .formgrid{grid-template-columns:minmax(0,1fr);gap:16px}
 .location-fields input[type=search]{margin-bottom:8px;background:#faf8fc;font-weight:400}
 .location-summary{margin:11px 0 0;font-size:.875rem;line-height:1.55;color:#7d668b}
 .hint{font-size:.875rem;line-height:1.65}
 .tag{font-size:.875rem;line-height:1.5;padding:5px 10px;border-radius:6px}
 .result{margin-top:24px;max-width:100%;min-width:0}
 .result:empty{margin:0}
 .result h2{font-size:1.3rem;line-height:1.35;margin:24px 0 12px}
 .resultsummary{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:20px}
 .resultsummary div{min-width:0;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:9px;font-size:.875rem}
 .resultsummary strong{font-size:1.05rem;line-height:1.4;text-align:right}
 .overflow{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-radius:9px}
 .overflow table{min-width:355px}
 table{font-size:.875rem}
 td,th{padding:12px 10px;vertical-align:top}
 .chartwheel{height:auto;max-width:100%;margin:20px auto}
 .article,.reading{max-width:100%;min-width:0;font-size:1rem}
 .article p,.reading p{font-size:1rem;line-height:1.85;margin:0 0 20px;overflow-wrap:break-word}
 .article h2,.reading h2{font-size:1.35rem;line-height:1.4;letter-spacing:-.025em;margin:30px 0 14px}
 .article h3,.reading h3{font-size:1.08rem;line-height:1.45;margin:23px 0 10px}
 .article li,.reading li{margin:9px 0;line-height:1.75}
 .article a:not(.btn),.reading a:not(.btn){color:#704491;text-decoration:underline;text-underline-offset:3px}
 .article .hint{font-size:.875rem;line-height:1.7;color:#7f7189}
 .note{font-size:.9375rem;line-height:1.75;padding:16px;border-radius:0 9px 9px 0;margin:20px 0}
 .daysection{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid #eee7f3}
 .article details{padding:16px;border-radius:11px}
 .article summary{font-size:1rem;line-height:1.6;min-height:44px}
 .archivegrid{grid-template-columns:minmax(0,1fr);gap:13px}
 .archivelink{display:block;border-radius:12px;padding:20px;border-color:#e5ddec}
 .archivelink h3{font-size:1.1rem;line-height:1.45;margin:12px 0 9px}
 .archivelink .hint{font-size:.9375rem;line-height:1.65;margin:0}
 .archivefilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;align-items:end;margin:22px 0;padding:18px;background:#faf8fc;border:1px solid #ece5f2;border-radius:12px}
 .archivefilters label{min-width:0;width:100%}
 .archivefilters label:first-of-type,.archivefilters label:last-of-type,.archivefilters>.btn{grid-column:1/-1}
 .archivefilters input,.archivefilters select{max-width:100%}
 .archivefilters input[type=hidden]{display:none}
 .archivefilters>.btn{width:100%;margin-top:3px}
 .pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .pagination .btn{min-height:48px}
 .footer{margin-top:38px;padding-top:28px;padding-bottom:20px;background:#faf9fc}
 .footergrid{gap:24px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .footergrid>div:first-child{grid-column:1/-1}
 .footer p{font-size:.9375rem;line-height:1.75}
 .footer strong{font-size:1rem}
 .footer a:not(.brand){font-size:.875rem;min-height:40px;display:flex;align-items:center;margin:0;padding:7px 0}
 .footer .brand{min-height:40px;font-size:1.15rem}
 .fine{font-size:.875rem;line-height:1.7;margin-top:22px;padding-top:18px;display:flex;flex-direction:column;gap:8px}
 .fine>span:last-child{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
 .fine a{min-height:0!important;padding:0!important}
 .mobilebar{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:40;grid-template-columns:repeat(4,minmax(0,1fr));min-height:70px;padding:7px max(10px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#fffffff7;border-top:1px solid #e8e0ee;box-shadow:0 -4px 18px #241a3107;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 .mobilebar>a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:54px;min-width:0;border-radius:10px;font-size:.875rem;line-height:1.3;font-weight:500;color:#86768e;white-space:nowrap}
 .mobilebar svg{width:22px;height:22px}
 .mobilebar>a.active{color:#70478c;background:#f6f0fa;font-weight:700}
 .is-editing .mobilebar,.nav-is-open .mobilebar{visibility:hidden;pointer-events:none}
}
@media(max-width:600px){.toolgrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:359px){
 .shell{padding-left:14px;padding-right:14px}
 .hero{padding:24px 18px}
 .hero h1{font-size:1.75rem}
 .hero .eyebrow{font-size:.7rem;letter-spacing:.1em}
 .sectionhead{flex-wrap:wrap;gap:4px}
 .sectionhead>div{flex-basis:100%}
 .sectionhead>a{min-height:36px;padding-top:0;padding-bottom:0}
 .panel{padding:16px}
 #calc>.formgrid,fieldset>.formgrid{grid-template-columns:minmax(0,1fr)}
 .resultsummary div{align-items:flex-start;flex-direction:column;gap:5px}
 .resultsummary strong{text-align:left}
}
@media(prefers-reduced-motion:reduce){.zcard{transition:none}}
