/* Astrolinia Engine — "Więcej analiz" right-hand flyout.
   Native <details> controls visibility, even when JavaScript is disabled.
   Position:fixed escapes the scrolling sidebar and viewport shell without
   creating a document scrollbar. */
.ae-sidebar__more{margin:15px 2px 4px;padding:11px 0 0;border-top:1px solid #80516b}
.ae-sidebar__more>summary{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  list-style:none;cursor:pointer;
  font:normal 14px/1.2 Georgia,"Times New Roman",serif;
  background:#4b2546;border:1px solid #92637f;
  border-radius:11px;color:#f8e8f0;padding:12px 11px;
  box-shadow:inset 0 1px 0 #ad769951;
}
.ae-sidebar__more>summary::-webkit-details-marker{display:none}
.ae-sidebar__more>summary span{float:none}
.ae-sidebar__more>summary:hover,
.ae-sidebar__more[open]>summary{background:linear-gradient(110deg,#87406f,#5a294e);color:#fff;border-color:#c38eae}
.ae-sidebar__more-label{min-width:0;white-space:nowrap}
.ae-sidebar__more-arrow{font:21px/1 Georgia,serif;color:#e6b984;transition:transform .18s ease}
.ae-sidebar__more[open] .ae-sidebar__more-arrow{transform:rotate(180deg)}
.ae-sidebar__more>.ae-more-flyout{
  position:fixed;z-index:1600;
  top:clamp(84px,11dvh,122px);
  left:calc(var(--ae-side-column,218px) + 2px);
  width:min(975px,calc(100vw - var(--ae-side-column,218px) - 18px));
  max-height:calc(100dvh - clamp(84px,11dvh,122px) - 18px);
  min-height:0;overflow-y:auto;overscroll-behavior:contain;
  margin:0;padding:19px 20px 16px;
  border:1px solid #dcb4c7;border-radius:0 17px 17px 0;
  background:linear-gradient(135deg,#fffdfa 0%,#fff7f9 57%,#faeaf0 100%);
  color:#5c2b4d;
  box-shadow:12px 15px 45px #270d2a65,0 0 0 1px #fff6f8 inset;
  scrollbar-width:thin;scrollbar-color:#b586a6 #faedf2;
}
.ae-more-flyout__header{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:0 3px 12px;margin-bottom:13px;border-bottom:1px solid #e6c8d6;
}
.ae-more-flyout__eyebrow{
  font:700 9px "Segoe UI",sans-serif;letter-spacing:.17em;color:#b17b60;
}
.ae-more-flyout__header h2{font:normal 25px Georgia,serif;margin:4px 0;color:#612346}
.ae-more-flyout__header p{font:12px/1.35 Georgia,serif;color:#92677c;margin:0}
.ae-more-flyout__ornament{font:49px Georgia,serif;color:#dcb48b;text-shadow:0 0 20px #c98e8d70}
.ae-sidebar .ae-more-flyout__grid,
.ae-more-flyout__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
.ae-mega-group{
  min-width:0;padding:13px 14px 12px;
  border:1px solid #e8cdd9;border-radius:12px;
  background:#fffdfbe9;box-shadow:0 4px 14px #70405b0c;
}
.ae-mega-group.is-selected{border-color:#b87699;background:#fff6f9}
.ae-mega-group h3{
  display:flex;align-items:center;gap:8px;margin:0 0 8px;
  padding-bottom:10px;border-bottom:1px solid #efdbe4;
  font:normal 18px/1.15 Georgia,serif;color:#5d2249;
}
.ae-mega-group h3 span{font:24px/1 Georgia,serif;color:#c28d67}
.ae-mega-group__links{display:grid;gap:2px}
.ae-mega-link{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  min-width:0;padding:8px 8px;border-radius:8px;
  color:#70415e;text-decoration:none;
  font:12px/1.3 Georgia,serif;
}
.ae-mega-link:hover,.ae-mega-link:focus-visible{background:#f6e5ee;color:#531a41}
.ae-mega-link.is-active{background:#efe0e8;box-shadow:inset 3px 0 #a85c84;color:#4f183c;font-weight:bold}
.ae-mega-link span{min-width:0;overflow-wrap:anywhere}
.ae-mega-link small{font:13px Georgia,serif;flex:0 0 auto;color:#b17b94}
.ae-mega-subgroup{margin:5px 0 7px;padding:6px 0 4px;border-top:1px dashed #ebd1dc}
.ae-mega-subgroup h4{
  margin:2px 8px 4px;
  font:600 10px/1.3 "Segoe UI",sans-serif;color:#a56d8d;
  letter-spacing:.07em;text-transform:uppercase;
}
.ae-more-flyout__footer{
  border-top:1px solid #ead0db;margin-top:14px;padding:11px 5px 0;
  font:11px Georgia,serif;color:#957587;
}
@media (min-width:701px) and (max-width:1280px){
  .ae-more-flyout__grid,.ae-sidebar .ae-more-flyout__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ae-sidebar__more>.ae-more-flyout{width:min(710px,calc(100vw - var(--ae-side-column,218px) - 16px))}
}
@media (max-width:700px){
  .ae-sidebar__more{display:block;margin:8px 0 0;padding-top:6px}
  .ae-sidebar__more>summary{padding:9px 11px;font-size:13px}
  .ae-sidebar__more>.ae-more-flyout{
    top:clamp(75px,12dvh,114px);left:12px;right:12px;width:calc(100vw - 24px);
    max-height:calc(100dvh - clamp(75px,12dvh,114px) - 13px);
    padding:13px;border-radius:14px;
  }
  .ae-sidebar .ae-more-flyout__grid,.ae-more-flyout__grid{display:grid;grid-template-columns:1fr;gap:8px}
  .ae-mega-group{padding:9px 11px}
  .ae-mega-group h3{font-size:17px}
  .ae-mega-link{padding:8px 10px;font-size:13px}
  .ae-more-flyout__header h2{font-size:22px}
}
@media (prefers-reduced-motion:reduce){.ae-sidebar__more-arrow{transition:none}}

/* Access presentation v1. Use the exact crown glyph from the Pro toggle.
   Menu only: no access restrictions are activated at this stage. */
.ae-sidebar__more-label{display:inline-flex;align-items:center;gap:7px}
.ae-sidebar__more-label .ae-sidebar__pro-crown{
  float:none;display:inline-block;flex:0 0 auto;
  font:20px/1 Georgia,"Times New Roman",serif;
  color:#f6c98c;text-shadow:0 1px 8px rgba(224,163,110,.35);
}
.ae-sidebar__more[open] .ae-sidebar__pro-crown{color:#ffde9d}
