/* Loaded only for screens whose system preference is dark. The light palette stays intact. */
:root{
 color-scheme:dark;
 --cream:#181c19;--rose:#3b2a32;--olive:#c1cfb0;--olive-light:#29342a;
 --orange:#efac89;--ink:#edece4;--muted:#bac1b7;--line:rgba(194,207,176,.25);
 --dark-page:#111612;--dark-surface:#222a23;--dark-raised:#2d382d;
 --dark-warm:#33282a;--dark-rose-ink:#efbccf;--dark-on-accent:#172015;
}
html[data-reading-comfort]{--ink:#f5f3eb;--muted:#d0d8cc}
html,body{background:var(--cream);color:var(--ink)}
body:has(#main){background:var(--dark-page)}
::selection{background:#695261;color:#fff5f7}
:focus-visible{outline-color:var(--orange)}
.topline{background:#253126;color:#e4eadf}
.header,.header nav,#main,body>footer{background:var(--cream)}
.hero,.detail-hero,.journal-hero,.closing,.newsletter-dialog,.detail-next{background:var(--rose)}
.hero-note{color:var(--muted)}
.approach,.detail-work,.journal-empty,.newsletter-section,.pro-offer-organisations,.pro-process,.pro-international{background:var(--olive-light)}
.professionals,.home-journal,.detail-limits,.b2b-hero,.journal-promise,.gift-section,.pro-offer,.pro-podcast,.pro-ethics,.pro-brief{background:var(--dark-warm)}
.pro-topics,.pro-offer-health,.contact-choices article,.legal-notice{background:var(--dark-surface)}
.contact-choices article:nth-child(2){background:var(--dark-warm)}
.orientation-option:hover,.orientation-option[aria-pressed=true]{background:var(--dark-raised)}
.orientation-result,.discovery,.message-preview,.article-care,.offer-journal{background:var(--olive-light)}
.button,.consult-grid #pack-premium>.button{background:var(--olive);border-color:var(--olive);color:var(--dark-on-accent)}
.button:hover,.consult-grid #pack-premium>.button:hover{background:#d0ddbf;color:var(--dark-on-accent)}
.button.secondary{background:transparent;color:var(--olive)}
.button.secondary:hover{background:var(--dark-raised);color:var(--olive)}
.language-switch button[aria-pressed=true],.pro-language a[aria-current]{background:var(--olive);color:var(--dark-on-accent)}
.newsletter-trigger{background:#34432f;color:#f1f3e9;border-color:#6e805f;box-shadow:0 5px 22px #0004}
.newsletter-trigger:hover{background:#43563b}
.offer-tabs button{--tab-ink:var(--dark-rose-ink);background:#30252c;color:var(--tab-ink)}
.offer-tabs button[data-offer=balance]{--tab-ink:var(--olive);background:#232e24}
.offer-tabs button[aria-selected=true],.offer-tabs button[aria-selected=false]:hover{background:var(--tab-tint)}
.offer-panel{background:var(--rose)}
.offer-panel.balance,.detail-hero.women-balance,.detail-hero.pack-premium{background:var(--olive-light)}
.check-list li,.offer-panel.balance .offer-medical{border-color:var(--line)}
.consult-grid article{background:var(--dark-surface)}
.consult-grid article#pack-premium{background:#29372a;border-color:#7b8e6a;box-shadow:0 12px 32px #0002}
.consult-grid .pack-recommendation,.pack-recommendation{background:#354430;color:#d6e5c5;border-color:#687b58}
.method,.journey,.detail-benefits,.pro-method{background:#253126;color:var(--ink)}
.method em,.journey em,.detail-benefits em,.pro-method em,.method-letter,.method-panel .eyebrow,.journey-steps span,.benefit-lines span,.pro-method li>span{color:var(--dark-rose-ink)}
.method-tabs button{color:var(--ink)}
.method-tabs,.method-tabs button+button,.method-note,.pro-method li,.benefit-lines p{border-color:#65765c}
.method-tabs button[aria-selected=true]{background:#efbccf13;border-bottom-color:var(--dark-rose-ink)}
.method-tabs button:focus-visible,.method-panel:focus-visible{outline-color:var(--dark-rose-ink)}
.pro-method .text-link{color:var(--ink)}
.comparison-table col.comparison-premium,.comparison-table thead .comparison-premium{background:#30412e}
.comparison-table thead{background:var(--dark-surface)}
.comparison-table thead .comparison-baby{background:var(--rose)}
.comparison-table thead .comparison-balance{background:var(--olive-light)}
.comparison-table tbody th,.comparison-table thead th:first-child{background:var(--cream)}
dialog{background:var(--dark-surface);color:var(--ink);border-color:var(--line);box-shadow:0 25px 100px #0008}
dialog::backdrop,.gift-dialog::backdrop{background:#080d0bbd}
dialog .dialog-close:hover{background:var(--rose)}
select,input,textarea,.collab-box input,.collab-box select,.collab-box textarea,.atelier-editor input,.atelier-editor textarea,.atelier-editor select,.slug-input,.newsletter-form input[type=email],.newsletter-form input[type=text],.newsletter-dialog .newsletter-form input[type=email]{background:#1a221c;color:var(--ink);border-color:#6c7e65}
input::placeholder,textarea::placeholder{color:#a9b6a5;opacity:1}
option,optgroup{background:#1a221c;color:var(--ink)}
input[type=checkbox],input[type=radio]{accent-color:#bfd0ac}
input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 1000px #1a221c inset}
.calendar-host,.calendar-host iframe{background:var(--cream);color-scheme:dark}
.article-toc,.article-illustration,.fertility-dimensions,.gut-illustration,.insulin-illustration,.corps-illustration{background:var(--olive-light)}
.scope-illustration,.smop-illustration,.outcomes-illustration,.podcast-illustration,.probiotic-illustration,.diabetes-illustration{background:var(--dark-warm)}
.scope-grid>div,.scope-grid>div:last-child,.topic-diagram>div,.practical-grid>div,.outcomes-grid>div,.fertility-grid>div,.smop-dimensions>div,.corps-sequence li{background:var(--dark-surface);border-color:var(--line)}
.topic-diagram>div:nth-child(2),.fertility-grid>div:nth-child(2),.fertility-grid>div:nth-child(3),.smop-dimensions>div:nth-child(2){background:var(--rose)}
.smop-dimensions>div:nth-child(3){background:#393326}
.outcome-disc{background:#3f5139;border-color:#849b73;color:#edf0e3}
.outcomes-grid>div:nth-child(2) .outcome-disc{background:#63414e;border-color:#b48296}
.outcomes-grid>div:nth-child(3) .outcome-disc{background:#614532;border-color:#be956d}
.article-cover>img,.pro-hero figure>img,.journal-hero img{border-color:var(--dark-surface);box-shadow:0 10px 35px #0003}
.pro-language nav,.collab-box{background:var(--dark-surface)}
.atelier-sidebar,.format-toolbar,.cover-drop,.preview-notice{background:var(--olive-light)}
.editor-article-item:hover,.editor-article-item.active{background:var(--dark-raised)}
.dropzone{background:#29342a99}
.original-document{background:var(--dark-warm)}
.editor-save-status.error{color:#ffb5aa}
.gift-banner{background:#4c1e21;color:#f4e7df;border-color:#ca9b9440}
.gift-ticker-group i{color:#efbccf}
.gift-banner :focus-visible{outline-color:#f5ddd5}
.gift-pause{font-family:Arial,sans-serif}
.gift-dialog{background:var(--dark-surface);border-color:#b7858855}
.gift-dialog .dialog-close,.gift-popup-copy .eyebrow,.gift-dialog h2 em,.gift-popup-copy .gift-popup-price{color:#efb8bf}
.gift-popup-copy .button{background:#703139;border-color:#bf868e;color:#f9eeea}
.gift-popup-copy .button:hover{background:#87414a;color:#f9eeea}
img{filter:brightness(.86)}
.gift-artwork img,.gift-popup-image{filter:brightness(.72);box-shadow:0 12px 30px #0003}
@media(forced-colors:active){img{filter:none}}
