.sm-toc,.sm-chapter-nav{margin:2rem 0;padding:1.25rem;border:1px solid #e8e2d7;border-radius:14px;background:#f7f5ef;color:#14243a}
.sm-toc h2{margin-top:0;color:#14243a}
.sm-toc ol{padding-left:1.4rem}
.sm-toc li{margin:.65rem 0}
.sm-toc a{color:#14243a;text-decoration:none}
.sm-toc a:hover{color:#9b7a43;text-decoration:underline}
.sm-chapter-nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#14243a;color:#fff}
.sm-chapter-nav a{display:inline-block;color:#fff;text-decoration:none;font-weight:600}
.sm-chapter-nav .sm-nav-list{color:#e1c58f}
.sm-chapter-nav a:hover{ text-decoration:underline }
@media(max-width:600px){.sm-chapter-nav{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:.9rem}.sm-chapter-nav .sm-nav-list{grid-column:1/-1;grid-row:1}.sm-chapter-nav .sm-nav-prev{text-align:left}.sm-chapter-nav .sm-nav-next{text-align:right}.sm-toc{padding:1rem}}

.sm-chapter-image{margin:1.5rem auto 2rem;max-width:900px;text-align:center}
.sm-chapter-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover;border-radius:14px}

/* Admin Chapter list: make the Parent Story column easy to scan. */
.post-type-sm_chapter .wp-list-table .column-sm_parent_story{width:24%;}
.post-type-sm_chapter .tablenav .actions select[name=sm_filter_story]{max-width:320px;}
