.sr-mode-toggle {
 border: 1px solid var(--sr-line);
 border-radius: 8px;
 margin: 8px;
 padding: 8px 12px;
 background: var(--sr-surface);
 color: var(--sr-ink);
 font: inherit;
 font-size: 13px;
 cursor: pointer;
}
.sr-mode-toggle:focus-visible { outline: 2px solid var(--sr-accent); outline-offset: 3px; }
.sr-reading-progress {
 position: fixed;
 inset: 0 0 auto;
 width: 100%;
 max-width: none;
 height: 4px;
 display: block;
 margin: 0;
 padding: 0;
 direction: ltr;
 transform: none;
 z-index: 99999;
 border: 0;
 background: transparent;
}
.admin-bar .sr-reading-progress { top: 32px; }
.sr-reading-progress-fill {
 display: block;
 width: 100%;
 height: 100%;
 margin: 0;
 background: var(--sr-accent);
 transform: scaleX(0);
 transform-origin: left center;
}
.sr-recipe-toc, .sr-read-next {
 margin: 0 0 28px;
 padding: 20px;
 border: 1px solid var(--sr-line);
 border-radius: 12px;
 background: var(--sr-soft);
}
.sr-recipe-toc summary { cursor: pointer; font-weight: 600; color: var(--sr-ink); }
.sr-recipe-toc ul { margin: 16px 0 0 20px; }
.sr-recipe-toc li { margin-bottom: 8px; }
.sr-recipe-toc a, .sr-read-next a { color: var(--sr-accent); }
.sr-read-next { margin-top: 32px; }
.sr-read-next .sr-read-next-card { display: flex; align-items: center; gap: 20px; text-decoration: none; text-align: start; }
.sr-read-next .sr-read-next-image { width: 120px; height: 100px; flex-shrink: 0; object-fit: cover; border-radius: 10px; }
.sr-read-next-copy { display: block; min-width: 0; }
.sr-read-next-label { display: block; font-size: 13px; color: var(--sr-muted); margin-bottom: 8px; }
.sr-read-next strong { font-weight: 600; overflow-wrap: anywhere; }
.sr-read-next-card:hover strong { text-decoration: underline; }
.sr-read-next-card:focus-visible { outline: 2px solid var(--sr-accent); outline-offset: 6px; }
@media (max-width: 600px) {
 .sr-read-next .sr-read-next-card { gap: 12px; }
 .sr-read-next .sr-read-next-image { width: 80px; height: 80px; }
}
.entry-content h2[id], .entry-content h3[id] { scroll-margin-top: 100px; }
html[data-sr-mode="dark"] {
 color-scheme: dark;
 --sr-bg: #191715;
 --sr-surface: #24211e;
 --sr-ink: #f5ede4;
 --sr-body: #ede2d6;
 --sr-muted: #c1afa0;
 --sr-line: #51463c;
 --sr-soft: #302a25;
 --sr-accent: #e4a17f;
 --sr-accent-dark: #f0b898;
 --sr-button-text: #241b16;
 --sr-secondary: #d4a574;
 --sr-footer: #13110f;
 --sr-footer-text: #f5ede4;
}
html[data-sr-mode="dark"] body,
html[data-sr-mode="dark"] .site-content,
html[data-sr-mode="dark"] .inside-article,
html[data-sr-mode="dark"] .sr-home,
html[data-sr-mode="dark"] .sr-post-main,
html[data-sr-mode="dark"] .site-header,
html[data-sr-mode="dark"] .main-navigation,
html[data-sr-mode="dark"] .main-navigation ul ul,
html[data-sr-mode="dark"] .sr-search-dialog,
html[data-sr-mode="dark"] .sr-contact-cards article,
html[data-sr-mode="dark"] .sr-about-team-card,
html[data-sr-mode="dark"] .sr-sidebar-author,
html[data-sr-mode="dark"] .sr-sidebar-recipes {
 background: var(--sr-surface);
 color: var(--sr-body);
}
html[data-sr-mode="dark"] .sr-hero,
html[data-sr-mode="dark"] .sr-home-author,
html[data-sr-mode="dark"] .sr-search-section,
html[data-sr-mode="dark"] .sr-category-section,
html[data-sr-mode="dark"] .sr-about-hero,
html[data-sr-mode="dark"] .sr-contact-hero { background: var(--sr-soft); }
html[data-sr-mode="dark"] .sr-category-tile,
html[data-sr-mode="dark"] input,
html[data-sr-mode="dark"] textarea,
html[data-sr-mode="dark"] select { background: var(--sr-surface); color: var(--sr-ink); border-color: var(--sr-line); }
html[data-sr-mode="dark"] .main-navigation .main-nav ul li a,
html[data-sr-mode="dark"] .menu-toggle,
html[data-sr-mode="dark"] .sr-nav-search { color: var(--sr-ink); }
html[data-sr-mode="dark"] .sr-post-body .entry-content :is(.pp-box, .pp-recipe, .pp-recipe-card, .pp-author-box) {
 background: var(--sr-soft) !important;
 color: var(--sr-body) !important;
}
@media(max-width:782px) { .admin-bar .sr-reading-progress { top: 46px; } }
@media print {
 .sr-reading-progress, .sr-mode-toggle, .sr-read-next, .sr-recipe-toc { display: none; }
}
