/* Shared state/control; companion palettes are only loaded with the original asset. */
.lani-display-mode{visibility:hidden;position:relative;flex:0 0 auto;color:#214663;font-size:13px;line-height:1.5;z-index:1001}
html[data-lani-theme-ready] .lani-display-mode{visibility:visible}
.lani-display-mode summary{display:flex;align-items:center;justify-content:center;gap:5px;min-width:62px;min-height:44px;padding:6px 9px;border:1px solid #bad6e7;border-radius:10px;background:#f3f9fc;cursor:pointer;list-style:none;font-weight:700;box-sizing:border-box}
.lani-display-mode summary::-webkit-details-marker{display:none}
.lani-display-mode fieldset{position:absolute;z-index:50;right:0;top:calc(100% + 10px);width:228px;max-width:calc(100vw - 24px);margin:0;padding:14px;border:1px solid #bad6e7;border-radius:16px;background:#fff;color:#214663;box-shadow:0 12px 36px #15263b26;box-sizing:border-box}
.lani-display-mode legend{float:left;width:100%;padding:0 0 8px;font-weight:700}
.lani-display-mode label{display:flex;align-items:center;gap:10px;clear:both;min-height:44px;padding:4px 8px;border-radius:8px;cursor:pointer}
.lani-display-mode label:has(input:checked){background:#edf2fb}
.lani-display-mode input{accent-color:#426ba1;width:17px;height:17px;margin:0;flex:0 0 auto}
.lani-display-mode p{margin:10px 5px 0;font-size:11px;color:#596b80}
.lani-display-mode :is(summary,input):focus-visible{outline:3px solid #658eca;outline-offset:3px}
.lh-header-row .lani-display-mode{margin-left:12px}
@media(max-width:900px){
 html[data-lani-theme] .lani-section-header__inner{gap:6px}
 html[data-lani-theme] .lani-section-brand{min-width:0;gap:6px}
 html[data-lani-theme] .lani-section-brand__label{max-width:72px;white-space:normal;font-size:10px;letter-spacing:0}
 html[data-lani-theme] .lani-section-header__inner>.lani-section-menu{margin-left:auto}
 .lani-display-mode summary{min-width:46px;width:46px;flex-direction:column;gap:0;padding:4px;font-size:9px}
 .lh-home .lh-header-row{display:flex;flex-wrap:wrap;gap:8px}
 .lh-home .lh-header-row .lh-nav{order:3;width:100%;flex:1 0 100%;margin-top:0}
 .lh-home .lh-header-row .lh-logo{flex:1;min-width:0;gap:8px}
 .lh-home .lh-header-row .lh-logo>span{max-width:clamp(64px,22vw,110px);font-size:9px;letter-spacing:0;padding-left:8px}
 .lh-home .lh-header-row .lani-display-mode{margin-left:auto}
}
@media screen{
 html[data-lani-theme="dark"] body:is(.lani-section-document,.lh-home){background:#141b29;color:#e1e7ee;--lani-section-ink:#e1e7ee;--lani-section-muted:#afbdd0;--lani-section-soft:#1d293a;--lani-section-line:#3b4b62;--lani-heading-ink:#ecedf9;--lani-heading-rule:#465577;--lani-link-color:#9dceff}
 html[data-lani-theme="dark"] :is(.lani-section-header,.lani-section-breadcrumb,.lani-section-footer,.lh-header,.lh-footer){background:#182334!important;color:#e1e7ee;border-color:#3b4b62}
 html[data-lani-theme="dark"] .lani-display-mode{color:#e1e7ee}
 html[data-lani-theme="dark"] .lani-display-mode :is(summary,fieldset){background:#1d293a;border-color:#647894;color:#e1e7ee}
 html[data-lani-theme="dark"] .lani-display-mode label:has(input:checked){background:#343e58}
 html[data-lani-theme="dark"] .lani-display-mode input{accent-color:#b5b3f0}
 html[data-lani-theme="dark"] .lani-display-mode p{color:#afbdd0}
 /* Art direction is preserved as a light island; never invert photos, logos or ads. */
 html[data-lani-theme="dark"] :is(.co-hero,.ce-hero,.tr-celestial,.tr-orbit-return,.cr-ticket,.bd-hero,.bd-hero-scene,.lani-birthday-return,.lani-preferred-source){color-scheme:light;--lani-section-ink:#16364d;--lani-section-muted:#526978;--lani-section-soft:#f0fafe;--lani-section-line:#cae5f3;--lani-heading-ink:#16364d;--lani-link-color:#0066cc}
 html[data-lani-theme="dark"] .lani-preferred-source{background:#1d293a;color:#e1e7ee;border-color:#3b4b62}
 html[data-lani-theme="dark"] .lani-preferred-source__title{color:#e1e7ee}
 html[data-lani-theme="dark"] .lani-preferred-source__description{color:#afbdd0}
 html[data-lani-theme="dark"] .bd-hero{background:#f3f8fc;color:#123554;--bd-ink:#123554;--bd-pale:#edf6fc;--bd-line:#d4e3ef}
 html[data-lani-theme="dark"] .bd-hero .bd-intro{--bd-ink:#e1e7ee;color:#e1e7ee}
 html[data-lani-theme="dark"] .lani-birthday-guide :is(.bd-headline,.bd-lead){text-shadow:none;color:#e1e7ee}
 html[data-lani-theme="dark"] .lani-manual-article-ad__label{color:#afbdd0}
 /* The orbital artwork keeps its original light search chips. */
 html[data-lani-theme="dark"] .co-hero :is(.sg-search,.sg-search-line,.sg-search p button){background:#fff!important;color:#214663!important;border-color:#bad6e7!important}
 html[data-lani-theme="dark"] .co-hero .sg-search :is(label,input,p){color:#214663!important}
 html[data-lani-theme="dark"] .lani-section-twinray .tg-search label{color:#e1e7ee!important}
 html[data-lani-theme="dark"] .lani-section-pagination .page-numbers.current{color:#fff!important}
 html[data-lani-theme="dark"] :is(.lani--btn--blue,.lani-article-btn,.c-button__cv__gradation__text--emphasis){color:#fff!important}
}
@media print{.lani-display-mode{display:none!important}}
