/* Roadmap stations: progress ring and lesson list for multi-lesson درس‌نامه series. */
.station-ring{position:absolute;inset:-8px;width:calc(100% + 16px);height:calc(100% + 16px);transform:rotate(-90deg);pointer-events:none}
.station-ring circle{fill:none;stroke-width:4}
.station-ring-track{stroke:#e1e8df}.dark .station-ring-track{stroke:#354239}
.station-ring-value{stroke:#4b8c67;stroke-linecap:round;transition:stroke-dashoffset .4s ease}.dark .station-ring-value{stroke:#7cbe98}

.station-lessons{font-size:12px;text-align:right}
.station-lessons summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;font-weight:700;color:#3d7155;padding:4px 10px;border-radius:100px;border:1px solid #d3e3d6;background:#f0f6ef}
.dark .station-lessons summary{color:#9ed3b3;border-color:#354239;background:#21382b}
.station-lessons summary::-webkit-details-marker{display:none}
.station-lessons summary::after{content:"▾";font-size:10px;transition:transform .2s}
.station-lessons[open] summary::after{transform:rotate(180deg)}
.station-lessons ol{margin:8px 0 0;padding:6px;list-style:none;border:1px solid #e1e8df;border-radius:14px;background:#fff;counter-reset:station}
.dark .station-lessons ol{border-color:#354239;background:#201f1d}
.station-lessons li{counter-increment:station}
.station-lessons li a{display:flex;gap:8px;align-items:baseline;padding:7px 9px;border-radius:9px;line-height:1.7;color:#23352a}
.dark .station-lessons li a{color:#eef5ed}
.station-lessons li a::before{content:counter(station, persian) ".";flex:none;color:#6b756d;font-weight:700}
.station-lessons li a:hover{background:#f0f6ef}.dark .station-lessons li a:hover{background:#21382b}
.station-lessons li.is-done a::before{content:"✓";color:#4b8c67}

/* Desktop map: the list floats over the road instead of pushing the layout, so the
   path roadmap-stepper.js drew from the stations' positions stays aligned. */
.station-lessons--popover{position:relative;z-index:20}
.station-lessons--popover ol{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:18rem;max-height:20rem;overflow-y:auto;box-shadow:0 18px 40px #263d2a26}

/* Mobile timeline: indent the list under its card (past the station circle). */
.station-lessons--inline{margin-top:8px;margin-inline-start:3.5rem}
