/* GENERATED by tools/gen-dark-css.py from public.css, the public templates' <style> blocks and
   dark-overrides.css: do not edit by hand. */
@media print{*,:after,:before{color:#e4e6eb !important}
.table td,.table th{background-color:#242526 !important}
.table-bordered td,.table-bordered th{border-color:#313131 !important}}
body{color:#e4e6eb;background-color:#242526}
.img-thumbnail{background-color:#242526;border-color:#313131}
hr{border-top-color:#313131}
.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{color:#c4c7cc}
.text-muted{color:#c4c7cc}
blockquote{border-left-color:#313131}
blockquote .small,blockquote footer,blockquote small{color:#c4c7cc}
.blockquote-reverse,blockquote.pull-right{border-right-color:#313131}
code{background-color:#2d2e30}
pre{color:#e4e6eb;background-color:#2d2e30;border-color:#313131}
caption{color:#c4c7cc}
.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{border-top-color:#313131}
.table>thead>tr>th{border-bottom-color:#313131}
.table>tbody+tbody{border-top-color:#313131}
.table .table{background-color:#242526}
.table-bordered{border-color:#313131}
.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-color:#313131}
.table-striped>tbody>tr:nth-of-type(odd){background-color:#242526}
.table-hover>tbody>tr:hover{background-color:#2d2e30}
.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#2d2e30}
.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#2d2e30}
.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#3a3b3c}
@media screen and (max-width:767px){.table-responsive{border-color:#313131}}
legend{color:#e4e6eb;border-bottom-color:#313131}
output{color:#e4e6eb}
.form-control{color:#e4e6eb;background-color:#242526;border-color:#313131}
.form-control::-moz-placeholder{color:#a0a4aa}
.form-control:-ms-input-placeholder{color:#a0a4aa}
.form-control::-webkit-input-placeholder{color:#a0a4aa}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#2d2e30}
.help-block{color:#c4c7cc}
.btn.focus,.btn:focus,.btn:hover{color:#e4e6eb}
.btn-default{color:#e4e6eb;background-color:#242526;border-color:#313131}
.btn-default.focus,.btn-default:focus{color:#e4e6eb;background-color:#2d2e30}
.btn-default:hover{color:#e4e6eb;background-color:#2d2e30}
.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#e4e6eb;background-color:#2d2e30}
.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#e4e6eb;background-color:#3a3b3c}
.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#242526;border-color:#313131}
.dropdown-menu{background-color:#242526;border-color:#313131}
.dropdown-menu .divider{background-color:#3a3b3c}
.dropdown-menu>li>a{color:#e4e6eb}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#e4e6eb;background-color:#2d2e30}
.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#c4c7cc}
.input-group-addon{color:#e4e6eb;background-color:#2d2e30;border-color:#313131}
.nav>li>a:focus,.nav>li>a:hover{background-color:#2d2e30}
.nav>li.disabled>a{color:#c4c7cc}
.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#c4c7cc}
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#2d2e30}
.navbar-default{background-color:#242526;border-color:#313131}
.navbar-default .navbar-text{color:#c4c7cc}
.navbar-default .navbar-nav>li>a{color:#c4c7cc}
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#e4e6eb}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#e4e6eb;background-color:#2d2e30}
.navbar-default .navbar-toggle{border-color:#313131}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#3a3b3c}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#e4e6eb;background-color:#2d2e30}
@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#c4c7cc}
.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#e4e6eb}
.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#e4e6eb;background-color:#2d2e30}}
.breadcrumb{background-color:#2d2e30}
.breadcrumb>.active{color:#c4c7cc}
.thumbnail{background-color:#242526;border-color:#313131}
.thumbnail .caption{color:#e4e6eb}
.alert-success{background-color:#3a3b3c}
.alert-danger{background-color:#3a3b3c}
.panel{background-color:#242526}
.well{background-color:#2d2e30;border-color:#313131}
.well blockquote{border-color:#313131}
.close{color:#e4e6eb}
.close:focus,.close:hover{color:#e4e6eb}
.modal-content{background-color:#242526}
.modal-footer{border-top-color:#313131}
.popover{background-color:#242526;border-color:#313131}
.mm-menu{background-color:#2d2e30}
.mail-logo{border-color:#313131}
blockquote{color:#c4c7cc}
.btn-file input[type=file]{background-color:#242526}
#wrap{background-color:#2d2e30}
#footer{background-color:#2d2e30}
#footer a{color:#c4c7cc}
hr{border-color:#313131}
h2{color:#e4e6eb}
h3{color:#e4e6eb}
.references h3{border-bottom-color:#313131}
.blog-post p.date{color:#a0a4aa}
.blog-post h1 a{color:#e4e6eb}
.n-body .facebook-like-us{background-color:#242526;border-color:#313131}
.n-body .facebook-like-us-box{background-color:#242526;border-color:#313131}
.n-body .facebook-like-us-box p{color:#a0a4aa}
.n-body .facebook-like-us-box p a{color:#a0a4aa}
.comment{border-bottom-color:#313131}
.comment-image{background-color:#2d2e30;border-color:#313131}
.comment-date{color:#a0a4aa}
.comment-body{color:#c4c7cc}
.fr-view blockquote{color:#c4c7cc}
.reply{background-color:#2d2e30}
.reply-box{background-color:#2d2e30;border-left-color:#313131}
td.reply-td-img{border-left-color:#313131}
#comment-post{background-color:#2d2e30;border-color:#313131}
#comment-post textarea{background-color:#242526}
#comment-post-bottom{background-color:#2d2e30;border-top-color:#313131}
#comment-post button{border-color:#313131}
.post-reply-btn{border-color:#313131}
.btn-default.post-reply-btn:link{border-color:#313131}
.instagram-button{background-color:#2d2e30;color:#e4e6eb}
.twitter-button{background-color:#2d2e30;color:#e4e6eb}
#emailbox{border-color:#313131;background-color:#242526}
.email-privacy{color:#a0a4aa}
.pagebox{background-color:#242526;border-color:#313131}
.instagram-button:link{color:#e4e6eb}
.instagram-button:visited{background-color:#3a3b3c;color:#e4e6eb}
.instagram-button:hover{background-color:#3a3b3c;color:#e4e6eb}
.instagram-button:active{background-color:#3a3b3c;color:#e4e6eb}
.email-login{background-color:#2d2e30;color:#e4e6eb}
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#c4c7cc;background-color:#2d2e30}
.blog-body table{border-color:#313131}
.blog-body table thead{background-color:#3a3b3c}
.blog-body table td{border-color:#313131}
div.navbar{background-color:#242526;border-bottom-color:#313131}
.comment-bubble.comment-bubble-theirs .comment-body p{background-color:#3a3b3c;color:#e4e6eb}
ul#mobile-inbox{background-color:#242526}
ul#mobile-inbox a li{border-bottom-color:#313131}
ul#mobile-inbox a li p{color:#c4c7cc}
ul#mobile-inbox a li img{border-color:#313131}
.instagram-icon{border-color:#313131}
.story{background-color:#242526;border-color:#313131}
.story h1{color:#e4e6eb}
.story h1 a{color:#e4e6eb}
.story-image{background-color:#2d2e30;border-color:#313131}
.story-detail p.date{color:#a0a4aa}
h2.n-style{color:#e4e6eb}
#page{background-color:#2d2e30}
.n-blog-post-container{background-color:#242526}
.n-blog-date{color:#a0a4aa}
.n-intro-subtitle{color:#e4e6eb}
.author-box{border-color:#313131;background-color:#2d2e30}
.author-box img{border-color:#313131}
.n-intro-author{color:#a0a4aa}
.n-intro-author-bio{color:#a0a4aa}
.n-body{background-color:#242526;color:#e4e6eb}
.n-subscribe-mobile{background-color:#2d2e30;border-color:#313131}
p.n-subscribe-message{color:#e4e6eb}
.n-subscribe-email-privacy{color:#a0a4aa}
.n-related-story{background-color:#2d2e30;border-color:#313131}
.n-related-story .story-detail h2{color:#e4e6eb}
.n-related-story .story-detail h2 a{color:#e4e6eb}
.n-related-story img{background-color:#2d2e30}
.mm-navbar-top-1 a:hover{border-color:#313131}
.mm-listview>li>a:hover{color:#e4e6eb}

/* _fb-page.twig */
:root .fb-card{border-color:#313131;background-color:#242526}
:root .fb-card-avatar img{border-color:#313131}
:root .fb-card-name{color:#e4e6eb}
:root .fb-card-sub{color:#c4c7cc}
/* about-team.twig */
:root .profile-photo{border-color:#313131}
/* blog-index-from-api.twig */
:root .story h2.story-title{color:#e4e6eb}
:root .story h2.story-title a{color:#e4e6eb}
:root .hero-story .hero-image{background-color:#2d2e30}
:root .hero-story h2.hero-title{color:#e4e6eb}
:root .hero-story h2.hero-title a{color:#e4e6eb}
:root .hero-story .hero-subtitle{color:#c4c7cc}
@media (max-width:599px){:root .hero-story .hero-image{border-color:#313131}}
:root .category-head h1{color:#e4e6eb}
:root .category-head p{color:#c4c7cc}
/* blog-post-from-api.twig */
:root .hero-credit{background-color:#242526;color:#c4c7cc}
/* privacy.twig */
:root .row h2{color:#e4e6eb}

/* ---- dark-overrides.css ---- */
/* Hand-written dark-mode overrides, appended to the generated rules by tools/gen-dark-css.py during npm run build
   (edit this file, then build). Palette: page #18191a, surface #242526, surface-2 #2d2e30, surface-3 #3a3b3c, border #313131,
   text #e4e6eb / #c4c7cc / muted #a0a4aa, link green #4cc764. */

:root { color-scheme: dark; }
html, body, #page, #wrap, .mm-page { background-color: #18191a !important; color: #e4e6eb; }

/* links: the bundle's #089e00 green is too dark on the dark surfaces */
a, .n-body a, .story a { color: #4cc764; }
a:hover, a:focus, .n-body a:hover { color: #6fd885; }
/* category labels keep one colour: no hover/active change (owner request 2026-11-20) */
a.story-cat, a.story-cat:hover, a.story-cat:focus, a.story-cat:active { color: #4cc764; }
/* story titles and nav keep their own (light) text colour rather than turning green */
.story h2 a, .story h3 a, .story-title a, .navbar-default .navbar-nav > li > a { color: inherit; }

/* inline style="background:#fff / #f4f4f4 / #f7f7f7 ..." boxes in the templates */
[style*="background:#fff" i], [style*="background: #fff" i], [style*="background-color:#fff" i], [style*="background-color: #fff" i],
[style*="background:white" i], [style*="background-color:white" i] { background-color: #242526 !important; }
[style*="background:#f4f4f4" i], [style*="background: #f4f4f4" i], [style*="background-color:#f4f4f4" i],
[style*="background:#f7f7f7" i], [style*="background: rgb(241, 241, 241)" i], [style*="background:#ddd" i] { background-color: #2d2e30 !important; }
[style*="border:1px solid #e5e5e5" i], [style*="border: 1px solid #e5e5e5" i], [style*="border:1px solid #ddd" i], [style*="border: 1px solid rgb(221, 221, 221)" i],
[style*="border:2px solid #ddd" i], [style*="border:1px solid #ccc" i], [style*="border:1px solid #bbb" i], [style*="border:1px solid #b1b0b0" i] { border-color: #313131 !important; }
[style*="border-top:1px solid #eee" i], [style*="border-top: 1px solid #eee" i], [style*="border-top:1px solid #ddd" i], [style*="border-top: 1px solid #ddd" i] { border-top-color: #313131 !important; }
[style*="border-bottom:1px solid #eee" i], [style*="border-bottom: 1px solid #eee" i], [style*="border-bottom:1px solid #ddd" i], [style*="border-bottom: 2px solid #f7f7f7" i] { border-bottom-color: #313131 !important; }
[style*="color:#333" i] { color: #e4e6eb !important; }
[style*="color:#6c6c6c" i], [style*="color:#999" i], [style*="color:#8a8a8a" i], [style*="color:#aaa" i] { color: #a0a4aa !important; }

/* surfaces the generated rules miss (set via shorthand, inherited or browser default) */
#top-navbar, .navbar-default, .story.featured, .n-blog-post-container, .n-body, .hero-credit, .pagebox { background-color: #242526; }
.n-related-story, #footer, #comment-post { background-color: #2d2e30; }
.story-image, img.lzimg { background-color: #3a3b3c; }
.form-control, input, textarea, select { background-color: #18191a; color: #e4e6eb; border-color: #313131; }
.form-control::placeholder, input::placeholder, textarea::placeholder { color: #80858b; }
hr { border-top-color: #313131; }
blockquote { color: #b9bdc2; }

/* images inside post text: transparent PNGs (charts, logos with dark ink) need a light backing */
.n-body img { background-color: #fff; }

/* phone date/share row (always shown since 2026-12-03; only its Share button is .native-share-row): by class, so
   the colours hold whatever the inline style's spelling */
.visible-xs-block > .post-date-row { background-color: #2d2e30 !important; border-color: #313131 !important; }

/* phone slide-out menu (mmenu): links are rgba(0,0,0,.75), which the generator skips (not opaque); the logo is an
   <img> inserted by visitor.js, swapped here for the light-text version */
.mm-menu, .mm-panels, .mm-panel, .mm-navbar { background-color: #242526; border-color: #313131; }
.mm-menu .mm-listview > li > a, .mm-menu .mm-navbar a, .mm-menu .mm-navbar .mm-title { color: #e4e6eb; }
.mm-menu .mm-listview > li:not(.mm-divider):after, .mm-menu .mm-listview { border-color: #313131; }
.mm-navbar img[src$="/img/riseofthevegan.png"] { content: url(/img/riseofthevegan-dark.png); }

/* comment box buttons */
#comment-post .btn, #comment-post .btn img { border-color: #313131; }

/* hero image photo credit, date rows */
.hero-credit, .n-blog-date { color: #a0a4aa; }

/* dark/light switch (base.twig, base-with-menu.twig): show the sun / "Light mode" while dark */
.theme-toggle .when-dark { display: inline; }
.theme-toggle .when-light { display: none; }

/* home page article overlay (public/js/post-overlay.js injects its light styles; html raises specificity over them) */
html .post-overlay { background-color: #18191a; }

/* admins only: tags and internal notes under the article */
html .rotv-admin-notes { background-color: #2a2022; border-color: #8e3b3b; }
html .rotv-admin-notes .ran-head { color: #e4e6eb; }
html .rotv-admin-notes .ran-only, html .rotv-admin-notes .ran-empty { color: #a0a4aa; }
html .rotv-admin-notes .ran-tag { background-color: #4a2427; border-color: #8e3b3b; color: #ff9a9a; }

/* Facebook page card (templates/_fb-page.twig) */
html .fb-card { background-color: #242526; border-color: #3a3b3c; }
html .fb-card-name { color: #e4e6eb; }
html .fb-card-sub { color: #a0a4aa; }
html .fb-card-avatar img { border-color: #3a3b3c; }
html .fb-card-follow, html .fb-card-follow:hover, html .fb-card-follow:focus { color: #fff; }

/* post page sidebar boxes: the home page's surface colour, not the lighter surface-2 */
html .sidebar .sub-email-box, html .sidebar .n-related-story { background-color: #242526; }

/* quotes in posts: the panel and marks in dark (templates/blog-post-from-api.twig) */
html .n-body blockquote:not(.instagram-media):not(.twitter-tweet) { background-color: #1d2a20; color: #dfe3e8; }
html .n-body blockquote:not(.instagram-media):not(.twitter-tweet)::before,
html .n-body blockquote:not(.instagram-media):not(.twitter-tweet)::after { color: #4cc764; }

/* stat callouts (2026-12-03, discovery.md §5 #58): the dark quote panel's colours, green rule and highlight */
html .n-body .rotv-stat-box { background-color: #1d2a20; border-left-color: #4cc764; }
html .n-body .rotv-stat-text { color: #dfe3e8; }
html .n-body .rotv-stat-label { color: #a0a4aa; }
html .n-body .rotv-stat-box::after { background-color: rgba(76, 199, 100, .3); }
html .n-body .rotv-stat-btn.x { box-shadow: inset 0 0 0 1px #9aa0a6; }
/* quote share buttons (2026-12-03, #59): the highlight layer */
html .n-body blockquote > .rotv-quote-flash { background-color: rgba(76, 199, 100, .3); }
/* callout/quote share menu (2026-12-03, #60) */
html .rotv-share-menu { background-color: #242526; color: #e4e6eb; box-shadow: 0 8px 28px rgba(0, 0, 0, .6); }
html .rotv-share-menu .rsm-item { color: #e4e6eb; }
html .rotv-share-menu .rsm-item:hover, html .rotv-share-menu .rsm-item:focus { background-color: #1d2a20; color: #e4e6eb; }
html .rotv-share-menu .rsm-head { color: #a0a4aa; }
html .rotv-share-menu .rsm-close { color: #c4c7cc; }
html .rotv-share-menu .rsm-x .rsm-icon, html .rotv-share-menu .rsm-threads .rsm-icon { box-shadow: inset 0 0 0 1px #9aa0a6; }

/* form validation messages and the newsletter status line (2026-12-04): visitor.js gives them an inline red,
   rgb(211,40,40), which is 3:1 on the dark card; this one is 5.5:1 */
label.error, p.subscribe-status { color: #ff6b6b !important; }
