/* Retrogradacje planet — Astrolinia Engine, measured sky positions */
.ae-app--stations .ae-main{height:calc(100dvh - var(--ae-topbar-height,70px));overflow-y:auto!important;overflow-x:hidden!important;padding:11px!important;min-height:0}
.ae-app--stations .ae-heading,.ae-app--stations .ae-breadcrumb{display:none}
.ae-retro{min-width:0;color:#5e2a4b;font-family:"Segoe UI",Arial,sans-serif;display:grid;gap:12px}
.ae-retro__hero{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(245px,.75fr);min-height:210px;border:1px solid #d8b7cf;border-radius:12px;background:linear-gradient(100deg,#fff9fcf5 0%,#f8ebf8e8 38%,#bf9ec673 100%),url("../img/engine-user-pastel-clouds.e6136c5ff9b5.webp") center/cover}
.ae-retro__hero-text{position:relative;z-index:1;padding:clamp(17px,2vw,31px);display:flex;flex-direction:column;align-items:flex-start}
.ae-retro__eyebrow{font:700 10px/1.3 "Segoe UI",sans-serif;letter-spacing:.14em;color:#a46e91;margin:0 0 8px}
.ae-retro__hero h1{font:normal clamp(28px,3vw,43px)/1.08 Georgia,serif;margin:0 0 10px;color:#5e294c}
.ae-retro__lead{font:13px/1.55 "Segoe UI",sans-serif;max-width:610px;margin:0 0 15px;color:#714565}
.ae-retro__legend{display:flex;flex-wrap:wrap;gap:8px 17px;font:11px/1.3 "Segoe UI",sans-serif}
.ae-retro__legend>span{display:flex;align-items:center;gap:6px}
.ae-retro__dot{display:inline-block;flex:0 0 8px;height:8px;border-radius:50%;background:#d2acb9}
.ae-retro__dot--retro{background:#9c4c91}.ae-retro__dot--direct{background:#3c9c84}.ae-retro__dot--stationary{background:#ce9a42}
.ae-retro__observed{margin:auto 0 0;padding-top:12px;font:11px/1.35 "Segoe UI",sans-serif;color:#7d5772}
.ae-retro__orbital{position:relative;display:grid;place-items:center;min-width:0;overflow:hidden;contain:paint;background:radial-gradient(circle,#e2c4e899 3%,transparent 63%)}
.ae-retro__orbit{position:absolute;border:1px solid #9c71aa99;border-radius:50%;width:280px;height:150px;transform:rotate(-27deg);box-shadow:0 0 0 18px #e2c6eb19,0 0 0 40px #f8e2f438}
.ae-retro__orbit--two{transform:rotate(35deg);width:260px;height:100px;border-color:#b88ca68c}
.ae-retro__planet-glow{height:130px;width:130px;display:grid;place-items:center;border-radius:50%;font:normal 80px/1 Georgia,serif;color:#fff4fb;text-shadow:0 3px 17px #471c4c;background:radial-gradient(circle at 30% 25%,#d9bbdf,#87518a 60%,#532b68);box-shadow:0 0 33px #9b68a96b,inset -12px -13px 25px #3e1d5a75}
.ae-retro__orbit-caption{position:absolute;bottom:14px;color:#76395f;font:700 10px Arial,sans-serif;letter-spacing:.14em}
.ae-retro__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.ae-retro__stat,.ae-retro__planet,.ae-retro__panel,.ae-retro__knowledge,.ae-retro__empty{min-width:0;background:#fffafded;border:1px solid #e9d1e0;border-radius:10px;box-shadow:0 3px 16px #6a2f5410}
.ae-retro__stat{padding:11px 15px;display:grid;gap:3px;border-left:3px solid #a97eaa}
.ae-retro__stat>span{font:11px "Segoe UI",sans-serif;color:#895775}
.ae-retro__stat strong{font:normal 30px/1.05 Georgia,serif}
.ae-retro__stat small{font:10px/1.35 "Segoe UI",sans-serif;color:#9a7790}
.ae-retro__stat--method{border-left-color:#d4a96d}
.ae-retro__section-head{display:flex;justify-content:space-between;align-items:end;gap:12px}
.ae-retro__section-head h2,.ae-retro__panel h2,.ae-retro__knowledge h2{font:normal 23px/1.15 Georgia,serif;margin:0}
.ae-retro__section-head .ae-retro__eyebrow{margin-bottom:4px}
.ae-retro__section-hint{font:11px "Segoe UI",sans-serif;color:#9d7894}
.ae-retro__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ae-retro__planet{padding:12px;display:flex;flex-direction:column;gap:8px;transition:border-color .15s}
.ae-retro__planet--retrograde{border-top:3px solid #a45899}.ae-retro__planet--direct{border-top:3px solid #63b6a2}.ae-retro__planet--stationary{border-top:3px solid #d7ad66}
.ae-retro__planet-head{display:flex;align-items:center;gap:9px}
.ae-retro__glyph{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;background:#f4e5f0;color:#825180;font:normal 26px Georgia,serif}
.ae-retro__planet-head h3{font:normal 19px Georgia,serif;margin:0}
.ae-retro__sign{display:block;font-size:11px;color:#946d88;margin-top:3px}
.ae-retro__planet-arrow{margin-left:auto;font:normal 25px Georgia,serif;color:#8b4b81}
.ae-retro__planet--direct .ae-retro__planet-arrow{color:#4b997f}.ae-retro__planet--stationary .ae-retro__planet-arrow{color:#c29c59}
.ae-retro__status{align-self:flex-start;font:700 10px/1.4 "Segoe UI",sans-serif;padding:4px 9px;border-radius:30px;color:#823975;background:#f3e3f1}
.ae-retro__planet--direct .ae-retro__status{background:#e8f5ee;color:#347d69}.ae-retro__planet--stationary .ae-retro__status{background:#fbf1df;color:#996d2f}
.ae-retro__rate{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px;font:10px "Segoe UI",sans-serif;color:#8b6982}
.ae-retro__rate strong{font-size:12px;color:#673557;font-variant-numeric:tabular-nums}
.ae-retro__meter{width:100%;height:7px;background:#f1e4ed;overflow:hidden;border-radius:10px}
.ae-retro__meter i{display:block;height:100%;min-width:1px;border-radius:10px;background:linear-gradient(90deg,#8e5a95,#d7a2c8)}
.ae-retro__planet--direct .ae-retro__meter i{background:linear-gradient(90deg,#68b4a2,#aedace)}
.ae-retro__planet-note{font:11px/1.45 "Segoe UI",sans-serif;color:#89687e;min-height:30px;margin:0}
.ae-retro__planet details{border-top:1px solid #eedce7;padding-top:6px;font:11px/1.4 "Segoe UI",sans-serif;color:#815d75}
.ae-retro__planet summary{cursor:pointer;color:#7e3b68;list-style:none;display:flex;justify-content:space-between}
.ae-retro__planet summary::-webkit-details-marker{display:none}
.ae-retro__planet details p{margin:9px 0 0}
.ae-retro__lower{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(245px,.85fr);gap:10px}
.ae-retro__panel{padding:16px}
.ae-retro__panel-heading{display:flex;justify-content:space-between;align-items:end;gap:9px;margin-bottom:12px}
.ae-retro__panel-heading>span{font:10px "Segoe UI",sans-serif;color:#9c7491;text-align:right}
.ae-retro__table-wrap{overflow-x:auto;max-width:100%}
.ae-retro table{width:100%;border-collapse:collapse;font:11px/1.4 "Segoe UI",sans-serif;text-align:left;white-space:nowrap}
.ae-retro th{background:#f9edf5;color:#8c5e7d;font-size:10px;padding:10px 9px}
.ae-retro td{border-bottom:1px solid #f0dfeb;padding:9px}
.ae-retro__value{font-variant-numeric:tabular-nums;font-weight:700}
.ae-retro__table-status{display:inline-block;padding:3px 7px;border-radius:12px;background:#eaf5f1;color:#427d71}
.ae-retro__table-status--retrograde{background:#f2e4f2;color:#88447e}
.ae-retro__table-status--stationary{background:#fbf0de;color:#9f743e}
.ae-retro__footnote{font:10px/1.45 "Segoe UI",sans-serif;color:#926e87}
.ae-retro__panel--learn{background:linear-gradient(145deg,#fff9fc,#f3e7f3)}
.ae-retro__panel--learn>p:not(.ae-retro__eyebrow){font:12px/1.55 "Segoe UI",sans-serif;color:#805a75}
.ae-retro__steps{display:grid;gap:10px;margin-top:15px}
.ae-retro__steps>div{display:grid;grid-template-columns:34px 1fr;column-gap:9px}
.ae-retro__steps span{grid-row:span 2;display:grid;place-items:center;align-self:start;width:31px;height:31px;border-radius:50%;background:#e5d2e5;color:#783b69;font:normal 13px Georgia,serif}
.ae-retro__steps b{font:600 12px "Segoe UI",sans-serif}
.ae-retro__steps small{font:11px/1.4 "Segoe UI",sans-serif;color:#98738d}
.ae-retro__knowledge{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;padding:15px 20px;background:linear-gradient(115deg,#f9eafb,#fffafc)}
.ae-retro__knowledge>div:first-child{display:flex;gap:13px;align-items:start}
.ae-retro__knowledge-icon{font:30px Georgia,serif;color:#a16a9e}
.ae-retro__knowledge p,.ae-retro__knowledge-side p{font:12px/1.55 "Segoe UI",sans-serif;color:#815973;margin:5px 0 0}
.ae-retro__knowledge-side strong{font:normal 16px Georgia,serif}
.ae-retro__empty{padding:30px;line-height:1.5}
@media(max-width:1150px){.ae-retro__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-retro__lower{grid-template-columns:1fr}}
@media(max-width:700px){.ae-app--stations .ae-main{height:auto!important;min-height:0!important;overflow:visible!important}.ae-retro__hero{grid-template-columns:1fr}.ae-retro__orbital{min-height:175px}.ae-retro__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-retro__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-retro__knowledge{grid-template-columns:1fr}.ae-retro__section-hint{display:none}}
@media(max-width:460px){.ae-retro__cards{grid-template-columns:1fr}.ae-retro__planet-note{min-height:0}.ae-retro__hero-text{padding:17px}.ae-retro__panel{padding:11px}.ae-retro__panel-heading{align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.ae-retro__planet{transition:none}}
