html[data-lc-theme="dark"]{color-scheme:dark;--lc-bg:#07111f;--lc-panel:#101c2d;--lc-panel2:#16263c;--lc-text:#f6f8fc;--lc-muted:#a9b7ca;--lc-link:#31d7ff;--lc-border:#40516a;--lc-accent:#b7ee96;--lc-accent-text:#152414}
html[data-lc-theme="light"]{color-scheme:light;--lc-bg:#f4f7fb;--lc-panel:#fff;--lc-panel2:#eaf0f8;--lc-text:#17263b;--lc-muted:#4b5e74;--lc-link:#006480;--lc-border:#c5d0de;--lc-accent:#236b35;--lc-accent-text:#fff;--lgd-bg:#f4f7fb;--lgd-panel:#fff;--lgd-panel2:#eaf0f8;--lgd-text:#17263b;--lgd-muted:#4b5e74;--lgd-cyan:#006480;--lgd-purple:#6c3bad;--lgd-green:#17683e;--lgd-border:#c5d0de}
html[data-lc-theme] body{background:var(--lc-bg)!important;color:var(--lc-text)!important}
html[data-lc-theme] :is(.lcj,.lcs){background:var(--lc-panel);color:var(--lc-text);border:1px solid var(--lc-border)}
html[data-lc-theme] :is(.lcj,.lcs) :is(p,label,summary small,.lcj-muted){color:var(--lc-muted)}
html[data-lc-theme] :is(.lcj,.lcs) a:not(.lcj-button):not(.lcs-button){color:var(--lc-link)}
html[data-lc-theme] :is(.lcj,.lcs) :is(input,select,textarea){background:var(--lc-bg);color:var(--lc-text);border-color:var(--lc-border)}
html[data-lc-theme] :is(.lcj,.lcs) :is(button,.lcj-button,.lcs-button){background:var(--lc-accent);color:var(--lc-accent-text)!important}
html[data-lc-theme] :is(.lcj,.lcs) :is(button,.lcj-button,.lcs-button):hover{filter:brightness(1.12)}
html[data-lc-theme] :is(.lcj,.lcs) :is(details,.lcj-rule,.lcs-app,.lcs-activation){border-color:var(--lc-border)}
html[data-lc-theme] .lcj-head small,html[data-lc-theme] .lcj summary:before{color:var(--lc-link)}
html[data-lc-theme] .lcj-notice{border-color:var(--lc-link)}
html[data-lc-theme] :is(.lcj,.lcs) :focus-visible{outline-color:var(--lc-link)}
.lc-theme-picker[hidden]{display:none!important}
html body .lc-theme-picker{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));display:flex;gap:4px;padding:5px;border:1px solid var(--lc-border);border-radius:999px;background:var(--lc-panel);box-shadow:0 4px 20px #07111f26;z-index:9990;font:600 14px/1.2 system-ui,sans-serif}
html body .lc-theme-picker button{display:flex;gap:6px;align-items:center;justify-content:center;min-width:78px;min-height:40px;padding:8px 12px;border:0;border-radius:999px!important;background:transparent;color:var(--lc-muted);font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none}
html body .lc-theme-picker button[aria-pressed="true"]{background:var(--lc-text);color:var(--lc-panel)}
html body .lc-theme-picker button:hover{outline:1px solid var(--lc-border)}
html body .lc-theme-picker button:focus-visible{outline:3px solid var(--lc-link);outline-offset:3px}
html[data-lc-theme] .site-footer{padding-bottom:80px}
@media(max-width:600px){html body .lc-theme-picker{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}html body .lc-theme-picker button{min-width:72px;min-height:44px}}
@media print{.lc-theme-picker{display:none!important}}

/* Project readability and persistent site navigation, 2026-11-02. */
html[data-lc-theme] .lcj-hub{--lcj-bg:var(--lc-bg);--lcj-surface:var(--lc-panel);--lcj-line:var(--lc-border);--lcj-text:var(--lc-text);--lcj-muted:var(--lc-muted);--lcj-accent:var(--lc-link);background:var(--lcj-bg);color:var(--lcj-text)}
html[data-lc-theme] :is(.lcj-hub,.lcj-live-catalog,.lcj) :is(h1,h2,h3,h4,summary,li,dt,dd,strong){color:var(--lc-text)!important}
html[data-lc-theme] :is(.lcj-hub,.lcj) :is(p,label,figcaption,.lcj-muted,summary small){color:var(--lc-muted)!important}
html[data-lc-theme] .lcj-hub :is(.compact-project-card,.lcj-panel,.lcj-job-card,.lcj-gallery figure,.lcj-storyboard figure),html[data-lc-theme] .lcj-live-catalog>summary{background:var(--lc-panel);border-color:var(--lc-border);color:var(--lc-text)}
html[data-lc-theme] .lcj-hub :is(.compact-stage,.compact-station,.compact-resources blockquote,.lcj-vision-grid article,.lcj-stages>li,.compact-image-needed){background:var(--lc-bg);color:var(--lc-text);border-color:var(--lc-border)}
html[data-lc-theme] .lcj-hub :is(.compact-sections>details,.compact-resources,.compact-project-card[open]>summary),html[data-lc-theme] .lcj-live-catalog{border-color:var(--lc-border)}
html[data-lc-theme] .lcj-hub :is(a:not(.lcj-primary),.lcj-eyebrow,.compact-view,.compact-close,.compact-step),html[data-lc-theme] .lcj :is(a:not(.lcj-button),.lcj-head small){color:var(--lc-link)!important}
html[data-lc-theme] .lcj-hub :is(.compact-sections>details>summary>span,.compact-resources>summary>span,.compact-ai-assist>summary>span){color:var(--lc-muted)!important}
html[data-lc-theme] .lcj-hub :is(.lcj-primary,a.lcj-primary:visited){background:var(--lc-link);color:var(--lc-bg)!important}
html[data-lc-theme] .lcj :is(input,select,textarea){background:var(--lc-bg)!important;color:var(--lc-text)!important;border-color:var(--lc-border)!important}
html[data-lc-theme] .lcj :is(input,textarea)::placeholder{color:var(--lc-muted);opacity:1}
/* Keep the existing desktop navigation and mobile menu within reach on every page. */
html body #masthead.site-header{position:sticky!important;top:0;z-index:9991;background:var(--lc-bg,#07111f)!important;color:var(--lc-text,#f6f8fc);overflow:visible;box-shadow:0 2px 12px #0003}
html body.admin-bar #masthead.site-header{top:32px}
html[data-lc-theme] #masthead :is(.site-title a,#primary-menu a){color:var(--lc-text)!important}
html[data-lc-theme] #masthead #primary-menu :is(a:hover,a:focus-visible){color:var(--lc-link)!important;background:var(--lc-panel2)!important}
html[data-lc-theme] #masthead #primary-menu .sub-menu{background:var(--lc-panel)!important;border-color:var(--lc-border)}
html[data-lc-theme] #masthead :is(.open-menu,.close-menu){background:var(--lc-link)!important;color:var(--lc-bg)!important}
html{scroll-padding-top:120px}
@media(max-width:782px){html body.admin-bar #masthead.site-header{top:46px}}
@media(max-width:600px){html body.admin-bar #masthead.site-header{top:0}}
@media print{html body #masthead.site-header{position:static!important}}

/* Let sticky navigation track the document scroll. */
html,html body{overflow-x:clip!important;overflow-y:visible!important}

/* Mobile drawer and account action use the selected theme. */
@media(max-width:991px){html[data-lc-theme] #masthead #site-navigation{background:var(--lc-panel)!important;max-height:calc(100dvh - 90px);overflow-y:auto}}
html[data-lc-theme] #masthead #primary-menu a.lcc-btn-nav{background:var(--lc-link)!important;color:var(--lc-bg)!important}
