/* 2.6: a single palette for all editorial pages. Ads retain their creative colors. */
html[data-color-scheme=light]{color-scheme:light;--color-page:#fff;--color-page-alt:#f4f3f0;--color-content:#191919;--color-content-alt:#262626;--color-content-muted:#555;--color-stroke:#ddd;--ve-background:#fff;--ve-surface:#f4f3f0;--ve-text:#191919;--ve-muted:#555;--ve-border:#ddd;--dv-link:#a7192c}
html[data-color-scheme=dark]{color-scheme:dark;--color-page:#161719;--color-page-alt:#242629;--color-content:#f0f0ef;--color-content-alt:#f5f5f4;--color-content-muted:#b8b9bd;--color-stroke:#45474a;--ve-background:#161719;--ve-surface:#242629;--ve-text:#f0f0ef;--ve-muted:#b8b9bd;--ve-border:#45474a;--dv-link:#ff9aa7}
html[data-color-scheme] body,html[data-color-scheme] .site-content,html[data-color-scheme] #site-main{background:var(--color-page)!important;color:var(--color-content)!important}
html[data-color-scheme] #site-main :is(h1,h2,h3,h4,h5,h6):not(.vm-ad *):not(.vm-app-promo *):not(.ve-vip-offer *):not(.gh-post-upgrade-cta *){color:var(--color-content)!important}
html[data-color-scheme] .post-body.prose{--tw-prose-body:var(--color-content);--tw-prose-headings:var(--color-content);--tw-prose-bold:var(--color-content);--tw-prose-links:var(--dv-link);--tw-prose-quotes:var(--color-content);--tw-prose-captions:var(--color-content-muted);--tw-prose-counters:var(--color-content);--tw-prose-bullets:var(--color-content-muted);color:var(--color-content)!important;font-size:clamp(17px,1.6vw,19px);line-height:1.72;overflow-wrap:anywhere}
html[data-color-scheme] .post-body.prose :is(p,li,blockquote,td,th,dt,dd,strong,em):not(.vm-ad *):not(.kg-button-card *):not(.kg-callout-card *):not(.gh-post-upgrade-cta *){color:var(--color-content)!important}
html[data-color-scheme] .post-body.prose :is(figcaption,caption){color:var(--color-content-muted)!important}
html[data-color-scheme] .post-body.prose a:not(.vm-ad *):not(.kg-btn):not(.gh-post-upgrade-cta *){color:var(--dv-link)!important;text-decoration:underline;text-underline-offset:3px}
html[data-color-scheme] .post-card,html[data-color-scheme] .vm-card,html[data-color-scheme] .vm-rail-story{background:var(--color-page)!important;color:var(--color-content)!important;border-color:var(--color-stroke)!important}
html[data-color-scheme] :is(.post-card-title,.post-card-excerpt,.post-card-author,.vm-card a,.vm-rail-story a,.ve-archive-description){color:var(--color-content)!important}
html[data-color-scheme] :is(.vm-deck,.vm-byline,.vm-rail-story p,.vm-rail-story time,.post-card-meta,.text-muted){color:var(--color-content-muted)!important}
html[data-color-scheme] :is(.vm-kicker,.vm-heading a,.vm-heading span){color:var(--dv-link)!important}
html[data-color-scheme] :is(.ve-header,.ve-masthead,.ve-utility-bar,.ve-primary-navigation,.ve-secondary-navigation,.ve-mobile-menu){background:var(--color-page)!important;color:var(--color-content)!important}
html[data-color-scheme] .ve-masthead-description{color:var(--color-content-muted)!important}
html[data-color-scheme] .vm-footer{background:var(--color-page-alt)!important;color:var(--color-content)!important}
html[data-color-scheme] .vm-footer :is(a,h3,p){color:var(--color-content)!important}
html[data-color-scheme=dark] .vm-brand img{background:#fff!important;padding:5px;border-radius:3px}
html[data-color-scheme] .vm-card h3,html[data-color-scheme] .vm-card a{opacity:1!important;visibility:visible!important}
html[data-color-scheme] .vm-card a:hover h3{color:var(--dv-link)!important}
.dv-mode-toggle{display:inline-flex;align-items:center;gap:5px;font:600 12px Arial;border:1px solid var(--color-stroke);border-radius:5px;padding:6px 9px;white-space:nowrap;color:var(--color-content);background:var(--color-page-alt);cursor:pointer}
.dv-mode-toggle:focus-visible{outline:2px solid var(--dv-link);outline-offset:2px}
.vm-home-v26 .vm-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
.vm-home-v26 .vm-focus-stories:has(> .vm-card:only-child){grid-template-columns:1fr}
.vm-home-v26 .vm-rail-slot:empty{display:none}
.vm-home-v26 .vm-continuous-rail{align-self:start;min-width:0}
.vm-app-v26{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;align-items:center;background:#efe5d4!important;padding:22px!important}
.vm-phone-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;min-width:0}
.vm-phone-pair .vm-phone{width:100%;min-width:0;max-width:185px;transform:none;margin:auto}
.vm-phone-pair .vm-phone:nth-child(2){border-radius:19px;transform:translateY(10px)}
.vm-phone-pair .vm-phone:nth-child(2) .vm-phone-camera{width:8px;height:8px;border-radius:50%}
.vm-app-v26 .vm-app-copy h2,.vm-app-v26 .vm-app-copy p{color:#191919!important}
.vm-app-v26 .vm-phone-screen strong{color:#191919!important}
.vm-app-v26 .vm-phone-screen{min-height:0}
.vm-book-sale .vm-book-sale-copy strong{font-weight:800;line-height:1.12}
.vm-book-sale .vm-book-sale-link>img{filter:drop-shadow(3px 5px 5px #0004)}
.vm-ad .vm-book-sale-link{min-width:0}
.vm-book-sale .vm-book-preview{display:flex;flex-direction:column;align-items:center;background:#e7dfd0;color:#191919;padding:12px}
.vm-book-preview img{max-height:340px;max-width:100%;object-fit:contain}
@media(max-width:760px){.vm-app-v26{grid-template-columns:1fr;gap:24px}.vm-phone-pair{max-width:360px;margin:auto}.dv-mode-toggle span{display:none}.vm-home-v26 .vm-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vm-home-v26 .vm-grid:has(>.vm-card:only-child){grid-template-columns:1fr!important}}
@media(max-width:360px){.vm-home-v26 .vm-grid{grid-template-columns:1fr!important}}
/* 2.6.2: reading recommendations and explicit card contrast */
html[data-color-scheme] .post-body.prose :is(.kg-callout-card,.kg-toggle-card,.kg-bookmark-card,.kg-product-card){background:var(--color-page-alt)!important;color:var(--color-content)!important;border:1px solid var(--color-stroke)!important;border-radius:5px;overflow-wrap:anywhere;max-width:100%}
html[data-color-scheme] .post-body.prose :is(.kg-callout-card,.kg-toggle-card,.kg-bookmark-card,.kg-product-card) :is(p,li,h2,h3,h4,strong,em,span,div){color:var(--color-content)!important}
html[data-color-scheme] .post-body.prose :is(.kg-callout-card,.kg-toggle-card,.kg-bookmark-card) a,html[data-color-scheme] .post-body.prose :is(.kg-callout-card,.kg-toggle-card,.kg-bookmark-card) a strong{color:var(--dv-link)!important;opacity:1!important;text-decoration:underline}
html[data-color-scheme] .post-body.prose :is(.kg-callout-text,.kg-bookmark-title,.kg-bookmark-description){min-width:0;white-space:normal;overflow:visible;display:block;-webkit-line-clamp:unset;max-height:none}
html[data-color-scheme] .post-body.prose .kg-callout-card{padding:18px!important}
.dv-discussion{padding:18px;background:var(--color-page-alt);color:var(--color-content);border:1px solid var(--color-stroke);border-radius:5px}.dv-discussion h3{font-size:22px;margin:0 0 8px}.dv-discussion p{margin:0 0 14px}.dv-discussion-cta{display:inline-block;background:#a51d2d;color:#fff!important;padding:10px 16px;border-radius:4px;font-weight:bold;margin-right:12px}.dv-vip-new .dv-vip-link{display:flex!important;flex-direction:column;width:100%;aspect-ratio:auto!important;background:#f7f3eb!important;color:#171717!important;text-decoration:none!important;overflow:hidden;border:1px solid #e2d9c8}.dv-vip-cover{position:relative;display:flex;min-height:90px;width:100%;background:#e2e7eb;overflow:hidden}.dv-vip-cover>img:not(.dv-vip-logo){width:50%;height:112px;object-fit:cover;flex:1;min-width:0}.dv-vip-cover .dv-vip-logo{position:absolute;top:6px;left:8px;width:120px!important;height:auto!important;padding:4px;background:#fff;object-fit:contain!important}.dv-vip-message{padding:12px;width:100%;display:grid;gap:7px;color:#171717;font:14px/1.2 Arial,sans-serif}.dv-vip-message strong{font-size:21px;color:#171717!important}.dv-vip-message b{font-size:36px;color:#a51d2d;letter-spacing:-2px}.dv-vip-button{background:#a51d2d;color:white!important;padding:9px;text-align:center;font-weight:bold}.dv-vip-message small{font-size:11px;color:#444!important}
