/* Le Coudreo · optional appearance, not an artwork recolouring.
   Day is unchanged. Stronger contrast/forced colours take precedence.
   No filter, canvas repaint, PDF override, animation or external dependency. */
.world-appearance{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.world-appearance select{font:inherit;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #718374;border-radius:8px;background:#fffdf5;color:#173f34}.a11y-appearance [data-coudreo-theme-status]{min-height:2.5em}
@media screen{
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors),
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body{
  --night-bg:#10251f;--night-surface:#19372d;--night-raised:#24483b;--night-text:#f4f5e9;--night-muted:#c3d3c6;--night-link:#bce3ce;--night-line:#829d8c;--night-focus:#ffe3a0;--night-gold:#edcf8e;--night-error:#ffb9a8;--glass-ink:#f4f5e9;--glass-rgb:22,57,45;--glass-line:#a4bfad;--glass-focus:#ffe3a0;--glass-shadow:rgba(0,16,10,.3);
  --paper:var(--night-bg);--cream:var(--night-bg);--ink:var(--night-text);--muted:var(--night-muted);--line:var(--night-line);--tint:var(--night-surface);--pale:var(--night-surface);--accent:var(--night-link);--green:var(--night-link);--gold:var(--night-gold);--red:var(--night-error);--editorial-copper:var(--night-gold);--editorial-gold:var(--night-gold);--christmas-paper:var(--night-bg);--christmas-ink:var(--night-text);--tools-ink:var(--night-text);--tools-line:var(--night-line);--pc-ink:var(--night-text);--pc-paper:var(--night-surface);--pc-gold:var(--night-gold);
  background-color:var(--night-bg)!important;color:var(--night-text)!important;color-scheme:dark;
 }
 /* Inherited ink removes older pale/dark text overrides without changing images,
    SVG fills, pedagogical colour swatches or the document/canvas itself. */
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(main,section,article,aside,header,footer,nav,form,fieldset,dialog,div,details,h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,legend,figcaption,small,summary,span,strong,b,em,a){color:inherit!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(header,footer,.portal-header,.hub-header,.site-header,.portal-footer,.post-footer,.site-legal-footer,.private,.private-strip,.demo-banner,.comfort,.date-card,.map-toolbar){background-color:var(--night-bg)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.latest-issue,.discovery-card,.welcome-art,.event-door,.archive-entry,.journal-universe,.library-latest,.protected-archives,.archive-public-status,.season-lab,.season-options label,.portal,.practical,.media-feature,.santa-group,.spirit,.tree-section,.game-status,.recruit-address,.profession-list li,.hublo-code,.poster-viewport,.state,.return,.panel,.pill,.step-symbol,.install-help,.signup-facts span,.form-alert,.receipt,.admin-card,.admin-detail,.admin-state,.status-badge,.text-card,aside,.simple-options a,.theme-card,.player,.summary,.answer,.feedback,.resources,.kahoot-card,.family,.challenge-card,.game-root,.difficulty-picker,.makaton-catalogue-note,.makaton-notice,.makaton-collection-picker,.makaton-model,.makaton-count-target,.makaton-baskets button,.makaton-sort-examples>div,.makaton-loto-target,.makaton-pattern-model,.dedicated-makaton-family,.adventure-route,.chapter,.quest-symbol,.mode-card,.collection,.outfit,.ordered-list,.no-js,.storage-warning,.map-card,.map-placeholder,.scene,.studio-panel,.theme-option:has(input:checked),.world-top>span,.action-area p,.pc-dialog,.coudreo-a11y-panel,.a11y-status,.noscript-notice,.dialog-notice,.dialog-issue-placeholder,.archive-access-state,.active-archive-link){background:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(dialog,form,fieldset,#access-state,#admin-state,#auth-state,#availability,#result:not(:empty),#santa-status,#game-status,#celebrate,#canvas-fallback,#portal-dialog,#archive-access-dialog,#advent-dialog,#hublo-poster-dialog){background-color:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.archives-section,.library-number,.archive-number,.archive-lock,.dialog-notice,.route-top>span,.chapter-number,.route-progress,.session-progress span,.difficulty-picker,.family-picker,.dropzone,.notice,.status-badge){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .answer:has(input:checked),html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.answer.correct,.feedback.success,.chapter.selected,.outfit[aria-pressed=true],.answers button.correct,.answers button[aria-pressed=true],.match-columns button[aria-pressed=true]){background:var(--night-raised)!important;border-color:var(--night-link)!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body.application-page .hero{background:var(--night-surface)!important;color:var(--night-text)!important}
 /* Public exposant wizard: all real steps/states, not a mock form. */
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard{background:var(--night-bg)!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard :where(#wizard,#steps li,#availability,.dropzone,p.notice){background:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard :where(#application,[data-step],#confirmation){background:transparent!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard #steps li[aria-current]{background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-link)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:var(--night-bg)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;caret-color:var(--night-text);color-scheme:dark}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body input::file-selector-button{background:var(--night-raised)!important;color:var(--night-text)!important;border:1px solid var(--night-line)}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(input,textarea)::placeholder{color:var(--night-muted)!important;opacity:1}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(input[type=checkbox],input[type=radio],progress){accent-color:var(--night-link)}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(input,textarea):-webkit-autofill{-webkit-text-fill-color:var(--night-text)!important;box-shadow:0 0 0 1000px var(--night-bg) inset!important;caret-color:var(--night-text)}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(button:not(.memory-card):not(.tree-slot):not(.ornament-choice):not(.light-choice):not(.advent-door):not(.puzzle-tile):not(.puzzle-piece):not(.theme-swatch):not(.envelope-button):not(.wax-seal),.button,.primary,.install-route a,.envelope-button){background-color:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(a,button,input,select,textarea,summary,canvas,[tabindex]):not(:where(:is(h1,h2,h3,h4,h5,h6,[role="heading"])[tabindex="-1"]:not(a,button,input,select,textarea,summary,[contenteditable]):not([role]:not([role="heading"])))):focus-visible{outline:3px solid var(--night-focus)!important;outline-offset:4px!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(a:not(.coudreo-glass):not(.brand):not(.portal-brand):not(.reader-brand),.text-link){color:var(--night-link)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.eyebrow,.post-eyebrow,.event-kicker,h1 em,h2 em,.wizard-title em,.badge-art,.summary .badge){color:var(--night-gold)!important;-webkit-text-fill-color:currentColor!important;background-image:none!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.hint,.a11y-hint,.a11y-disclaimer,.pc-note,.pc-excerpt,.soft,.fine-print,.note,.micro,.small,.card-privacy,.field-optional,.form-data-note,.recruit-caption,.watch-action small){color:var(--night-muted)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(#errors,#file-errors,#archive-form-feedback,.archive-access-state[data-state=error],[role=alert],.form-alert){color:var(--night-error)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body [aria-invalid=true]{border-color:var(--night-error)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(button:disabled,input:disabled,select:disabled,textarea:disabled,.chapter:disabled){opacity:1!important;color:var(--night-muted)!important;background-color:var(--night-surface)!important;border-color:var(--night-line)!important;cursor:not-allowed}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.pc-dialog,.coudreo-a11y-panel,dialog)::backdrop{background:#00150fbb}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.skip,.skip-link):focus{background:var(--night-surface)!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(#experience-tools,#experience-audio,#experience-audio details[open],#experience-audio[data-notice=true]>.audio-status,#coudreo-wayfinding,#coudreo-bottom-nav,#portal-nav.open,header nav.open){--tools-ink:var(--night-text);background-color:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard #errors{background:var(--night-surface)!important;color:var(--night-error)!important;border-color:var(--night-error)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.answers button.correct,.answers button[aria-pressed=true],.match-columns button[aria-pressed=true]){background:var(--night-raised)!important;border-color:var(--night-link)!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .answers button.try-again{border-color:var(--night-error)!important}
 /* Shared Liquid Glass uses dark backing even before its contextual rescan. */
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.coudreo-glass,[data-glass-surface],a.button,.journal-button,.event-button,.nav-install,.glass-mascot){--glass-ink:#f4f5e9;--glass-rgb:22,57,45;--glass-line:#a4bfad;--glass-focus:#ffe3a0;--glass-shadow:rgba(0,16,10,.3);color:var(--glass-ink)!important;background:linear-gradient(155deg,rgba(255,255,255,.12),transparent 48%),rgba(var(--glass-rgb),.9)!important;border-color:var(--glass-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .coudreo-glass:disabled{color:var(--night-muted)!important;opacity:1!important;background:var(--night-surface)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .pc-launch::after{background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #inscription.exhibitor-wizard .check span{color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body.legal-page main>p:first-of-type{background:var(--night-surface)!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .session-progress span.complete{background:#87a975!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .session-progress span.current{background:#edcf8e!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .route-progress span{background:#bce3ce!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .hublo-poster button>span{background:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .journal-seal{background:#75402f!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .quest-card.done .quest-symbol{background:#315e46!important;color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body footer img[src$="alterite-logo.png"]{background-color:#fff!important;mix-blend-mode:normal}
 /* Intentional light/art islands: symbols and paper stay recognisable.
    Their labels retain dark ink. Never invert images or repaint the canvas/PDF. */
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.makaton-grid>button,.makaton-symbol,.makaton-count-card,.makaton-dedicated-card,.makaton-zoom-scroll,.piece-number,.light-choice,.ornament-choice,.tree-slot.filled,.memory-card.revealed,.memory-card.matched){background-color:#fffdf5!important;color:#163c32!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.makaton-caption,.makaton-back,.makaton-pattern-position,.makaton-count-marker){color:#163c32!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .makaton-count-marker{background:#e2ebdf!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .makaton-pattern-position{background:var(--night-surface)!important;color:var(--night-muted)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .memory-card:not(.revealed):not(.matched){background:#163c32!important;color:#edcf8e!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.pattern-symbol.checked,.advent-door:nth-child(3n):not(:nth-child(4n))){color:#163c32!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .advent-door:nth-child(3n):not(:nth-child(4n)){background:linear-gradient(145deg,#e3c481,#c7a15e)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .advent-door:not(:nth-child(3n)),html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .advent-door:nth-child(4n){color:#fff5db!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .theme-option .theme-name{color:var(--night-text)!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .theme-option .selected-check{color:#fff!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .theme-swatch{color:#e8c182!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .theme-paper{color:#8b5140!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .joystick{color:#284738!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .joystick i{color:#284738!important}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.hero img,.welcome-art img){mix-blend-mode:normal}
 html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body #coudreo-page-frame{background:var(--night-bg)!important}
 /* Honor the transparency and contrast preferences even after the night rules. */
 @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .coudreo-glass{background:#16392d!important}}
 @media(prefers-reduced-transparency:reduce){html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.coudreo-glass,#coudreo-wayfinding,#coudreo-bottom-nav,.pc-dialog){background:#19372d!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
 html[data-coudreo-theme="night"].coudreo-solid-glass:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body :where(.coudreo-glass,#coudreo-wayfinding,#coudreo-bottom-nav){background:#19372d!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 @media(prefers-contrast:more){html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .coudreo-glass{background:#fff!important;color:#111!important;border:2px solid #111!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-coudreo-theme="night"]:not(.coudreo-high-contrast):not(.coudreo-forced-colors) body .coudreo-glass:focus-visible{outline-color:#ffe3a0!important}}
}
@media print{html{color-scheme:light!important}}
