/* Astro Expert Atelier 2.4 — visual layer only. No changes to engine/API/auth. */
:root{color-scheme:light!important;--ae-ivory:#fbf5e7;--ae-paper:#fffaf0;--ae-cream:#f2e5cd;--ae-wine:#860b29;--ae-wine-dark:#64051e;--ae-ink:#382e2c;--ae-muted:#80716a;--ae-hair:#dccbb5;--ae-soft:#f5ead8;--ae-serif:Georgia,'Times New Roman',serif;--ae-sans:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--bg:var(--ae-ivory)!important;--panel:var(--ae-paper)!important;--panel2:var(--ae-soft)!important;--line:var(--ae-hair)!important;--text:var(--ae-ink)!important;--muted:var(--ae-muted)!important;--gold:var(--ae-wine)!important;--gold2:var(--ae-wine)!important}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body,body.ae-dashboard{background:radial-gradient(circle at 93% 5%,#f3dec4 0,transparent 31%),var(--ae-ivory)!important;color:var(--ae-ink)!important;font-family:var(--ae-sans)!important;line-height:1.55!important}h1,h2,h3,.brand,.ae-logo,.ae-feature h2,.ae-greeting h1{font-family:var(--ae-serif)!important;color:var(--ae-wine)!important;font-weight:400!important;letter-spacing:-.035em}h1{font-size:clamp(2.1rem,4.1vw,4.15rem)!important;line-height:1.12!important}h2{font-size:clamp(1.45rem,2.4vw,2.25rem)!important;line-height:1.2!important}h3{font-size:1.35rem!important}p,.muted,.ae-feature p,.ae-greeting p{color:var(--ae-muted)!important}a{color:var(--ae-wine)}a:hover{color:var(--ae-wine-dark)}:focus-visible{outline:2px solid var(--ae-wine)!important;outline-offset:3px}button,input,select,textarea{font:inherit!important}input,select,textarea{background:var(--ae-paper)!important;color:var(--ae-ink)!important;border:1px solid var(--ae-hair)!important;border-radius:8px!important;min-height:42px;padding:10px 13px!important}input::placeholder,textarea::placeholder{color:#9e9084!important}button,.btn,.ae-feature-cta,.primary{background:var(--ae-wine)!important;color:#fff8ef!important;border:1px solid var(--ae-wine)!important;border-radius:9px!important;padding:11px 19px!important;font-weight:500!important;box-shadow:none!important;cursor:pointer}button:hover,.btn:hover,.ae-feature-cta:hover,.primary:hover{background:var(--ae-wine-dark)!important;color:#fff!important}button.secondary,.secondary,.ae-signout{background:transparent!important;color:var(--ae-wine)!important;border:1px solid var(--ae-wine)!important}button.secondary:hover,.secondary:hover,.ae-signout:hover{background:#f6e7de!important}.eyebrow,.ae-overline,.ae-feature-kicker,.ae-menu-label{color:var(--ae-wine)!important;letter-spacing:.16em!important;font-size:.72rem!important;font-weight:600!important}.panel,.card,.notice,.ae-collections,.ae-feature,.ae-card-grid>*,.ae-section-heading{box-shadow:none!important}.panel,.card,.notice{background:rgba(255,251,242,.95)!important;color:var(--ae-ink)!important;border:1px solid var(--ae-hair)!important;border-radius:12px!important}.top,.header,.ae-topbar{border-bottom:1px solid var(--ae-hair)!important}.pill,.ae-state{background:var(--ae-soft)!important;color:var(--ae-wine)!important;border:1px solid var(--ae-hair)!important;border-radius:30px!important}.ae-layout{background:transparent!important;min-height:100vh!important;gap:0!important}.ae-sidebar{background:#fcf3e3!important;border-right:1px solid var(--ae-hair)!important;box-shadow:none!important;color:var(--ae-ink)!important}.ae-logo{color:var(--ae-wine)!important;font-size:1.53rem!important}.ae-logo i{color:var(--ae-wine)!important}.ae-logo small{font-family:var(--ae-sans)!important;color:var(--ae-muted)!important;letter-spacing:.025em!important;font-size:.64rem!important}.ae-logo-icon{color:var(--ae-wine)!important}.ae-menu a{color:#735f59!important;border:1px solid transparent!important;border-radius:8px!important;font-weight:500!important}.ae-menu a span{color:var(--ae-wine)!important}.ae-menu a.active,.ae-menu a:hover{background:#f3dfd5!important;color:var(--ae-wine)!important;border:1px solid #e9c5bb!important}.ae-privacy{color:var(--ae-wine)!important}.ae-sidebar-bottom{border-top:1px solid var(--ae-hair)!important}.ae-main{background:transparent!important}.ae-topbar{color:var(--ae-muted)!important;background:transparent!important}.ae-topbar a{color:var(--ae-wine)!important}.ae-topdot,.ae-star{color:var(--ae-wine)!important}.ae-greeting{padding-top:24px!important}.ae-greeting h1{font-style:italic!important;font-weight:400!important}.ae-greeting em{color:var(--ae-wine)!important}.ae-feature{background:linear-gradient(112deg,#fff8e9 0%,#f2e1cc 100%)!important;border:1px solid var(--ae-hair)!important;border-radius:13px!important;overflow:hidden!important}.ae-feature h2{font-style:italic!important}.ae-feature-kicker{color:var(--ae-wine)!important}.ae-feature-orbit{opacity:.55!important}.ae-orbit{border-color:#b75f6c!important}.ae-section-heading{border-bottom:1px solid var(--ae-hair)!important}.ae-section-heading h2{color:var(--ae-wine)!important}.ae-card-grid>*{border:1px solid var(--ae-hair)!important;border-radius:11px!important;background:var(--ae-paper)!important}.ae-card-grid>*:hover{border-color:#bd7b86!important}.ae-footer{border-top:1px solid var(--ae-hair)!important;color:var(--ae-muted)!important}.ae-card-grid a{color:var(--ae-wine)!important}
/* Original calculator, wheel and generated report: frame only; SVG wheel geometry untouched. */
.shell{max-width:1220px!important}.top .brand{font-family:var(--ae-serif)!important;font-size:1.6rem!important;color:var(--ae-wine)!important}.hero{background:linear-gradient(112deg,#fff9ed,#f3e5d3)!important;border:1px solid var(--ae-hair)!important;border-radius:12px!important;box-shadow:none!important}.card{box-shadow:none!important}.results,.report-reading,.report-chart-panel,.wheelbox{background:var(--ae-paper)!important;border-color:var(--ae-hair)!important}.report-layout{gap:22px!important}.suggestions,.suggestions-list{background:var(--ae-paper)!important;color:var(--ae-ink)!important;border-color:var(--ae-hair)!important}.suggestions button,.suggestions-list button{background:transparent!important;color:var(--ae-ink)!important;border:0!important;border-bottom:1px solid var(--ae-hair)!important;border-radius:0!important}.suggestions button:hover,.suggestions-list button:hover{background:var(--ae-soft)!important}.generation-status{border:1px solid var(--ae-hair)!important;background:var(--ae-soft)!important}.generation-status:before{border-color:#ead6c4!important;border-top-color:var(--ae-wine)!important}
/* Admin panel, including override of existing inline sheet */
body.ae-admin24{min-height:100vh;padding:0 22px 42px!important}.ae-admin24 .panel{background:rgba(255,250,240,.96)!important;max-width:1230px!important;margin:18px auto!important;padding:24px 30px!important;border:1px solid var(--ae-hair)!important;border-radius:13px!important;box-shadow:none!important}.ae-admin24 .panel:first-of-type,.ae-admin24 main.panel{margin-top:25px!important;background:linear-gradient(110deg,#fff9eb,#f0e1cd)!important;padding:37px 37px!important}.ae-admin24 h1{font-size:clamp(2rem,4.2vw,3.5rem)!important;font-style:italic}.ae-admin24 h2{font-size:clamp(1.35rem,2.2vw,1.9rem)!important;margin-bottom:17px}.ae-admin24 label{color:var(--ae-ink)!important}.ae-admin24 button{background:var(--ae-wine)!important;color:#fff!important;border:1px solid var(--ae-wine)!important;border-radius:8px!important}.ae-admin24 table{border-collapse:collapse!important;width:100%!important;font-size:.86rem!important}.ae-admin24 th{background:#f5e8d5!important;color:var(--ae-wine)!important;font-size:.7rem!important;letter-spacing:.06em!important;text-transform:uppercase!important}.ae-admin24 th,.ae-admin24 td{padding:12px 13px!important;border-bottom:1px solid var(--ae-hair)!important}.ae-admin24 tr:hover td{background:#fffaee!important}.ae-admin24 .muted{color:var(--ae-muted)!important}.ae-admin24 .two{max-width:1230px;margin:auto;gap:18px!important}.ae-admin24 .two .panel{margin:0!important;min-width:0}.ae-admin24 .scroll{scrollbar-color:#c3a69a #f8efe2}.ae-admin24 #state{color:var(--ae-wine)!important}.ae-admin24 #newLink{overflow-wrap:anywhere}.ae-admin24 #invite{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.ae-admin24 #invite>input{flex:1 1 210px}.ae-admin24 #invite>label{display:flex;gap:8px;align-items:center}.ae-admin24 header.atelier-header{max-width:1230px;margin:0 auto;padding:24px 0 12px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ae-hair);gap:16px}.ae-admin24 .atelier-header>a:first-child{font:normal 28px var(--ae-serif);color:var(--ae-wine)!important;text-decoration:none}.ae-admin24 .atelier-header nav{display:flex;gap:20px;flex-wrap:wrap}.ae-admin24 .atelier-header nav a{font-size:.82rem;text-decoration:none;color:var(--ae-wine)!important}.ae-admin24 .atelier-header nav a:hover{text-decoration:underline}.ae-admin24 .atelier-kicker{font-size:.71rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ae-wine);margin:0 0 12px}.ae-admin24 .atelier-intro{max-width:700px}
/* Login + feedback + mobile */
.auth .panel{background:var(--ae-paper)!important;border:1px solid var(--ae-hair)!important;border-radius:14px!important}.auth h1{font-family:var(--ae-serif)!important;color:var(--ae-wine)!important}.auth .star{color:var(--ae-wine)!important}.auth .eyebrow{color:var(--ae-wine)!important}.auth .hint{color:var(--ae-muted)!important}main.panel{box-shadow:none!important}
@media(max-width:900px){.ae-sidebar{border-right:0!important;border-bottom:1px solid var(--ae-hair)!important}.ae-topbar{gap:10px}.ae-admin24 .two{grid-template-columns:1fr!important}.ae-admin24 .panel{padding:19px!important}.ae-admin24 .atelier-header{align-items:flex-start;flex-direction:column}.ae-admin24 .atelier-header nav{gap:10px 16px}}@media(max-width:600px){body.ae-admin24{padding:0 10px 30px!important}.ae-admin24 .panel{margin:12px auto!important;padding:15px!important}.ae-admin24 .panel:first-of-type,.ae-admin24 main.panel{padding:20px!important}.ae-admin24 #invite{display:grid!important;grid-template-columns:1fr 1fr}.ae-admin24 #invite>input{grid-column:1/-1;min-width:0}.ae-admin24 #invite>button{grid-column:1/-1}.ae-admin24 table{min-width:620px}.ae-main{padding-bottom:20px!important}.ae-greeting h1{font-size:2.3rem!important}.ae-feature{padding:20px!important}.ae-feature-orbit{display:none!important}.ae-card-grid{grid-template-columns:1fr!important}.report-layout{display:block!important}.report-chart-panel{margin-bottom:18px!important}.shell{width:calc(100% - 20px)!important}h1{font-size:2.2rem!important}h2{font-size:1.65rem!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}


/* Atelier 2.5: readable UI and editorial natal wheel. Display-only. */
:root{--ae-ink:#29201e;--ae-muted:#64524e;--ae-hair:#cdb7a6;--ae-wine:#83001f}
body,body.ae-dashboard,body.ae-admin24{color:var(--ae-ink)!important;font-size:16px!important}
body p,body .muted,body .hint,body .small,body label,body .field small,body .ae-greeting p,body .ae-feature p,body .ae-sidebar-bottom p,body .ae-privacy,body .ae-state,body .ae-mode,body .ae-topbar{color:var(--ae-ink)!important;opacity:1!important}
body .muted,body .hint,body .small,body .field small,body .ae-mode{color:var(--ae-muted)!important}
body .panel,body .card,body .tile,body .notice,body .report article,body .section,body .report-reading,body .report-chart-panel,body .wheelbox{color:var(--ae-ink)!important;background-color:#fffaf0!important}
body .ae-feature,body .ae-feature h2,body .ae-feature p,body .ae-feature .ae-feature-kicker{color:var(--ae-wine)!important}
body .ae-feature p{color:#453631!important}
body .ae-sidebar,body .ae-sidebar a,body .ae-sidebar .ae-menu a{color:#49312e!important}
body .ae-sidebar-bottom p{color:#564441!important}
body .ae-dashboard .tile h3,body .ae-dashboard .tile p,body .ae-dashboard .tile .muted{color:var(--ae-ink)!important}
body .ae-dashboard .tile .muted{color:var(--ae-muted)!important}
body .ae-dashboard .tile .button,body .ae-dashboard .tile a.button{color:var(--ae-wine)!important;background:transparent!important;border:1px solid var(--ae-wine)!important;padding:10px 14px!important;min-height:42px!important;justify-content:center!important}
body a.button:not(.secondary),body .btn:not(.secondary),body button.primary,body .ae-feature-cta{background:var(--ae-wine)!important;color:#fffaf0!important}
body button.secondary,body .btn.secondary,body a.button.secondary{background:#fffaf0!important;color:var(--ae-wine)!important}
body input,body textarea,body select{color:#29201e!important;background:#fffdf7!important;border-color:#bca492!important}
body input::placeholder,body textarea::placeholder{color:#77645c!important;opacity:1!important}
body .notice{color:#453530!important;border-color:var(--ae-hair)!important}
body .pill.good{color:#155d37!important;background:#e8f4eb!important;border-color:#8db9a0!important}
body .pill.bad,body .notice.error{color:#8b1d2d!important;background:#fff0ee!important}
body .report article,body .report-reading{font-size:17px!important;line-height:1.85!important}
body .report article p,body #summary,body #sections,body #sections p{color:#332724!important;opacity:1!important}
body .ae-admin24 th{color:#6c0827!important}body .ae-admin24 td{color:#352925!important}body .ae-admin24 a{color:#770019!important}
/* The original astrology data and SVG structure are retained. Only visual CSS of wheel changes. */
.natal-wheel-svg{display:block;max-width:100%;height:auto;margin:auto;filter:none!important}
.natal-wheel-svg>circle:first-child{stroke:#97394e!important;stroke-width:1.3!important;fill:#fff9ef!important}
.natal-wheel-svg>path{fill:#f4e4d7!important;stroke:#c38c94!important;stroke-width:.85!important;fill-opacity:1!important}
.natal-wheel-svg>path:nth-of-type(even){fill:#fff9ed!important}
.natal-wheel-svg>text[font-size="25"]{fill:#870d2d!important;stroke:none!important;font-weight:500!important;font-size:24px!important}
.natal-wheel-svg>text[font-size="11.5"],.natal-wheel-svg>text[font-size="13"]{fill:#6e263a!important}
.natal-wheel-svg>circle[fill="#fffdf9"],.natal-wheel-svg>circle[fill="#fffdfa"]{fill:#fffaf1!important}
.natal-wheel-svg>circle[stroke="#7f7066"]{stroke:#96546a!important}
.natal-wheel-svg>line[stroke="#6b625c"]{stroke:#9f6a74!important}
.natal-wheel-svg>line[stroke="#b9aca2"],.natal-wheel-svg>line[stroke="#a4978c"]{stroke:#c5a2a4!important}
.wheel-stage,.report-wheel,.wheel-card,.pro-wheel{background:#fffaf0!important;color:var(--ae-ink)!important}
.wheel-toolbar-title,.position-title,.wheel-toolbar-hint,.wheel-legend{color:var(--ae-ink)!important}
.position-scroll table{background:#fffaf0!important;color:var(--ae-ink)!important}
@media(max-width:600px){body{font-size:16px!important}body .ae-greeting p,body .ae-feature p{font-size:15px!important}body .ae-dashboard .tile{min-height:unset!important}body .ae-feature{min-height:0!important}body .report article{padding:18px!important;font-size:16px!important}body .natal-wheel-svg{width:100%!important}}

/* Astro Expert Atelier 2.6 — WCAG-oriented readability and responsive layout QA.
   This is an additive visual-only stylesheet. No logic / wheel coordinate changes. */
:root{--ae-text-readable:#302521;--ae-copy-muted:#594a43;--ae-link:#76001f}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0;overflow-x:clip}
body :where(.shell,.card,.panel,.ae-main,.ae-feature,.ae-greeting,.ae-section-heading,.ae-card-grid,.results,.report-layout,.report-reading,.report-chart-panel,.wheelbox,.section,.two,.field,.grid2,.grid3){min-width:0;max-width:100%}
body :where(h1,h2,h3,h4,p,small,span,label,li,td,th,blockquote){overflow-wrap:break-word}
body :where(h1,h2,h3,h4){hyphens:auto;text-wrap:balance;max-width:100%}
body :where(p,li,.section,.ae-feature p){line-height:1.65}
/* Explicit fix for old ui22.css's .hero p { color:#d4deec!important } on cream background. */
body .shell section.card.hero,body .shell .card.hero{background:linear-gradient(110deg,#fff9eb,#f1e1ce)!important;color:var(--ae-text-readable)!important}
body .shell section.card.hero p,body .shell .card.hero p{color:#40332f!important;opacity:1!important;font-size:clamp(1rem,1.15vw,1.125rem)!important;line-height:1.75!important;font-weight:400!important;max-width:70ch}
body .shell section.card.hero .eyebrow{color:#76001f!important}
body .shell section.card.hero h1{color:#76001f!important;font-size:clamp(2rem,4vw,3.7rem)!important;line-height:1.13!important}
body .shell section.card.hero :is(a,small,strong){color:#543d38!important}
/* Reading contrast across all pages, without altering content. */
body .shell .small.muted,body .shell .muted,body.ae-dashboard .muted,body.ae-admin24 .muted{color:var(--ae-copy-muted)!important;opacity:1!important}
body :where(.ae-greeting,.ae-feature,.panel,.card,.results,.report-reading,.report-chart-panel) p{color:var(--ae-text-readable)!important;opacity:1!important}
body :where(.ae-greeting,.ae-feature,.panel,.card,.results,.report-reading,.report-chart-panel) p.muted{color:var(--ae-copy-muted)!important}
body :where(input,textarea,select){max-width:100%;min-width:0;min-height:44px;font-size:16px!important;line-height:1.35!important}
body :where(.field,.field input,.field textarea,.field select){min-width:0;max-width:100%}
body :where(button,.btn,a.button,.ae-feature-cta,.ae-signout){max-width:100%;min-height:44px;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center;display:inline-flex;justify-content:center;align-items:center;gap:.4em;vertical-align:middle;font-size:clamp(.875rem,.95vw,1rem)!important}
body :where(button,.btn,a.button,.ae-feature-cta,.ae-signout):disabled{opacity:.6!important;cursor:not-allowed}
body :where(button,.btn,a.button,.ae-feature-cta,.ae-signout):focus-visible{outline:3px solid #9b4761!important;outline-offset:3px!important}
body .ae-feature-cta,body .ae-signout,body .ae-menu a{min-width:0}
body .ae-menu a{overflow-wrap:anywhere}
body :where(.grid2,.grid3,.ae-card-grid,.report-layout,.ae-admin24 .two)>*{min-width:0}
body :where(.scroll,.position-scroll){overflow-x:auto;max-width:100%}
body .ae-admin24 table{width:100%;border-collapse:collapse}
body .ae-admin24 td,body .ae-admin24 th{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
body .ae-admin24 .scroll table{min-width:640px}
body :where(.report-wheel,.wheel-stage,.wheelbox,#wheel,#reportWheel){max-width:100%;min-width:0}
body .natal-wheel-svg{max-width:100%;height:auto;display:block}
body .report-reading{overflow-wrap:break-word}
body :where(#summary,#sections,.report-reading p){font-size:clamp(1rem,1.05vw,1.125rem)!important;line-height:1.8!important;color:#302521!important}
body :where(.message,.notice,.generation-status){overflow-wrap:anywhere;max-width:100%}
@media(max-width:900px){body .report-layout{grid-template-columns:minmax(0,1fr)!important}body .ae-main,body .ae-dashboard main{min-width:0}}
@media(max-width:600px){body .shell .grid2,body .shell .grid3{grid-template-columns:minmax(0,1fr)!important}body .shell .card.hero{padding:22px 19px!important}body .shell .card.hero h1{font-size:clamp(1.85rem,7vw,2.35rem)!important}body .shell .card.hero p{font-size:1rem!important}body .ae-admin24 table{min-width:0!important}body .ae-admin24 .scroll table{min-width:640px!important}body .top{gap:10px;flex-wrap:wrap}body .ae-topbar{flex-wrap:wrap}body .ae-feature h2,body .ae-greeting h1{font-size:clamp(1.8rem,8vw,2.6rem)!important}body .ae-admin24 .panel{padding:16px!important}body .report-layout{display:block!important}body .report-reading{margin-top:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
