/* Task-specific hierarchy: compact mobile access, clear tools, editorial readings. */
.astro-portal-page .astro-portal-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.astro-nav-v220{max-width:1120px;margin:0 auto 12px;box-sizing:border-box}
.astro-nav-v220>summary{display:none}
.astro-portal-page .astro-nav-v220>.astro-portal-nav{width:100%;max-width:none;margin:0;}
.me-astro .astro-nav-v220{width:min(1120px,calc(100% - 48px))}
.astro-nav-v220>summary:focus-visible{outline:2px solid #e8cb8c;outline-offset:-4px}
@media(max-width:800px){
 .astro-nav-v220{background:#102838;color:#f4e7ce;border:1px solid #46616a;border-radius:8px;overflow:hidden;margin:8px auto 10px}
 .me-astro .astro-nav-v220{width:calc(100% - 24px)}
 .astro-nav-v220>summary{min-height:44px;display:flex;justify-content:space-between;align-items:center;padding:4px 12px;gap:10px;cursor:pointer;font:650 .88rem/1.3 system-ui,sans-serif;list-style:none;box-sizing:border-box}
 .astro-nav-v220>summary::-webkit-details-marker{display:none}
 .astro-nav-v220>summary:after{content:'+';font-size:20px}.astro-nav-v220[open]>summary:after{content:'−'}
 .astro-portal-page .astro-nav-v220>.astro-portal-nav{grid-template-columns:repeat(2,minmax(0,1fr));border:0;border-top:1px solid #46616a;border-radius:0}
 .astro-portal-page .astro-nav-v220>.astro-portal-nav>a{font-size:.86rem!important;overflow-wrap:normal;white-space:normal}
}
@media(max-width:420px){
 .astro-portal-page .astro-portal-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .astro-portal-page .astro-portal-nav>a:nth-child(n){
  font-size:.85rem;
  padding-inline:4px;
  overflow-wrap:anywhere;
 }
}
.astro-profile-v220,.astro-timeline-v220{background:#fffdf8;border:1px solid #cfc2a9;border-radius:12px;padding:clamp(12px,2vw,20px);margin:12px 0;color:#173442;min-width:0;overflow-wrap:anywhere}
.astro-profile-v220[hidden],.astro-timeline-v220 [hidden]{display:none!important}
.astro-profile-v220 h3,.astro-timeline-v220 h3{margin:0 0 8px;color:#173442;font:500 1.25rem/1.3 Georgia,serif}
.astro-profile-v220 p,.astro-timeline-v220 p{margin:6px 0 10px;font-size:.9rem;line-height:1.5}
.astro-profile-v220 button,.astro-timeline-v220 button{min-height:44px;margin:4px 6px 4px 0;white-space:normal;max-width:100%}
.astro-profile-confirm{border-top:1px solid #cfc2a9;margin-top:10px;padding-top:10px}
.astro-profile-status:empty{display:none}
.astro-cockpit .birth-reading{background:#fffdf6;color:#173442;border-color:#d7c5a1}
.astro-cockpit .birth-reading :is(h3,h4,h5,.birth-reading-sign){color:#173442}
.astro-cockpit .birth-reading :is(.birth-kicker,.birth-small){color:#5c635f}
.astro-cockpit .birth-reading .birth-question{background:#f0e7d3;color:#173442;border-color:#bda473}
.astro-cockpit .birth-reading .meaning-detail{background:#f9f3e5;color:#173442;border-color:#c7b68e}
.astro-cockpit .birth-reading .meaning-detail summary{color:#173442}
.birth-aspect-line.aspect-muted{opacity:.13}.birth-aspect-line.aspect-emphasis{opacity:1;stroke-width:2.3}
.birth-aspect-toggle{display:flex;align-items:center;gap:8px;min-height:44px;color:#f3e4c6;font-size:.85rem;cursor:pointer}
.birth-aspect-toggle input{width:20px;height:20px;accent-color:#d9bf86}
.astro-theme-v220{background:#fffdf8;color:#173442;border:1px solid #d4c6ab;border-radius:12px;padding:clamp(12px,2vw,22px);margin:12px 0}
.astro-theme-v220 h3,.astro-theme-v220 h4,.astro-theme-v220 h5{color:#173442;margin:8px 0}
.astro-theme-v220 select,.astro-timeline-v220 select{width:100%;min-height:44px;box-sizing:border-box;background:#fffdf8;color:#173442;border:1px solid #81918a;border-radius:7px;padding:6px}
.astro-theme-v220 .birth-question{background:#f1e8d4;color:#173442;border-left-color:#bda473}
.astro-theme-v220 a{color:#21525d;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.astro-timeline-v220 .timeline-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px}
.astro-timeline-v220 .timeline-options label{font-size:.85rem;font-weight:600}
.astro-timeline-v220 .timeline-row{display:grid;gap:4px;margin:12px 0;border-bottom:1px solid #ded5c3;padding-bottom:8px}
.astro-timeline-v220 .timeline-row button{text-align:left;width:100%;margin:0}
.astro-timeline-v220 .timeline-track{width:100%;height:18px;display:block;background:#e7e1d5;border-radius:5px}
.astro-timeline-v220 .timeline-dates{font-size:.78rem;color:#43574f}
.astro-timeline-v220 .timeline-scale{display:flex;justify-content:space-between;gap:8px;font-size:.8rem}
.sky-quick-v220{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.sky-quick-v220 button,.sky-quick-v220 summary{min-height:44px;box-sizing:border-box;padding:8px 12px;border:1px solid #a88d60;border-radius:7px;background:#fffdf8;color:#173442;font:600 .85rem/1.25 system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center}
.sky-quick-v220 details{flex:1 1 100%}.sky-quick-v220 details[open]{padding-bottom:6px}.sky-quick-v220 .sky-controls{margin:8px 0 0}
@media print{.astro-nav-v220,.astro-profile-v220,.astro-timeline-v220,.birth-aspect-toggle,.sky-quick-v220{display:none!important}}
@media(min-width:1200px){.astro-portal-page .astro-nav-v220>.astro-portal-nav{grid-template-columns:repeat(10,minmax(max-content,1fr))}.astro-portal-page .astro-nav-v220>.astro-portal-nav>a{font-size:.8rem;white-space:nowrap;overflow-wrap:normal;hyphens:none}}
.astro-cockpit .birth-reading{padding:clamp(12px,2vw,18px);border:1px solid #d7c5a1;border-radius:10px;box-sizing:border-box}
.astro-cockpit .birth-reading :is(p,h4,h5,strong){color:inherit}
.sky-quick-v220 button:disabled{opacity:.55;cursor:not-allowed}
.sky-quick-v220 .sky-controls label{flex:1 1 180px;min-width:0}
.sky-quick-v220 .sky-controls input{box-sizing:border-box;max-width:100%}
/* Light editorial surfaces override the legacy dark-reading typography explicitly. */
.astro-cockpit .birth-stage :is(.birth-reading,.astro-theme-v220) .birth-kicker,.transit-stage .astro-timeline-v220 .birth-kicker{color:#795b26!important}
.astro-cockpit .birth-stage :is(.birth-reading,.astro-theme-v220) .birth-small{color:#43574f!important}
.astro-cockpit .birth-stage .birth-reading .birth-reading-sign{color:#775920!important}
.astro-cockpit .birth-stage :is(.birth-reading,.astro-theme-v220) .birth-question{color:#173442!important;background:#f0e7d3;border-left-color:#a68b50}
.astro-cockpit .birth-stage .astro-theme-v220 a{color:#21525d!important}
.transit-stage .astro-timeline-v220 p{color:#173442}
.transit-stage .astro-timeline-v220 :is(.transit-method,.timeline-dates){color:#43574f!important}
.transit-stage .astro-timeline-v220 .timeline-message{color:#173442}
.astro-profile-v220 .astro-profile-result-status{color:#21525d;font-weight:600}
.astro-profile-link-v220{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;color:#21525d;text-decoration:underline;text-underline-offset:3px;margin:4px 0}
.astro-profile-link-v220[hidden],.astro-timeline-v220 [hidden]{display:none!important}
