/* «داستان» card (assets/story.js). Light + dark in one file so every surface that loads it (site, pro/panel frames) gets both. */
.res-story { background: var(--card, #fff); border: 1px solid rgba(23, 25, 28, .12); border-radius: 22px; padding: 18px clamp(14px, 2vw, 24px) 14px; margin: 0 0 22px; color: var(--ink); text-align: start; }
.res-story__title { font-family: var(--font-display, inherit); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.6; margin: 0 0 6px; color: var(--lt-163527, #163527); }
.res-story__intro { margin: 0 0 6px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.res-story__ch { padding-top: 10px; margin-top: 10px; border-top: 1px dashed rgba(23, 25, 28, .14); }
.res-story .res-story__h { font-size: 16.5px; line-height: 1.7; margin: 0 0 6px; color: var(--lc-4d7c62, #4d7c62); }
.res-story p { margin: 0 0 8px; font-size: 15.5px; line-height: 2.1; }
@media (min-width: 700px) { .res-story p { text-align: justify; } }
.res-story--withheld { border-style: dashed; }
.res-story--withheld .res-story__ch { border-top: 0; margin-top: 0; padding-top: 4px; }
html[data-theme="dark"] .res-story { border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .res-story__title { color: var(--lt-cfeedd, #cfeedd); }
html[data-theme="dark"] .res-story .res-story__h { color: var(--lt-9fe0bf, #9fe0bf); }
html[data-theme="dark"] .res-story__ch { border-top-color: rgba(255, 255, 255, .12); }
@media print { .res-story__ch { break-inside: avoid; } }
