/* NSASRC public site themes — applies only to homepage index, never to standalone subsystems. */
:root { --ns-surface:#050505; --ns-panel:#0f1318; --ns-text:#edf0f3; --ns-muted:#abb4be; --ns-line:rgba(255,255,255,.17); --ns-page-card:rgba(12,16,23,.85); --ns-input:#14191f; }
html[data-site-theme="light"]{ color-scheme:light; --ns-surface:#eef1f3; --ns-panel:#fff; --ns-text:#192531; --ns-muted:#516171; --ns-line:#d3dbe2; --ns-page-card:#fff; --ns-input:#f4f6f8; }
html[data-site-theme="dark"]{color-scheme:dark}
#site-theme-toggle{font:700 10px/1.3 'JetBrains Mono',monospace;letter-spacing:.08em;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,255,255,.27);padding:8px 12px;color:#e8eff7;min-height:32px;min-width:94px;transition:.2s;white-space:nowrap}
#site-theme-toggle:hover,#site-theme-toggle:focus-visible{border-color:currentColor;background:rgba(255,255,255,.13);outline-offset:3px}
#site-theme-toggle .site-theme-glyph{font-size:16px}
html[data-site-theme="light"] body{background:#eef1f3;color:#192531}
html[data-site-theme="light"] header{background:rgba(245,247,249,.97)!important;border-color:rgba(40,59,77,.16)!important}
html[data-site-theme="light"] #main-nav{color:#526171}
html[data-site-theme="light"] header #main-nav .nav-btn{color:#475665;border-color:#d4dce3}
html[data-site-theme="light"] header #main-nav .nav-btn:hover{color:#142638}
html[data-site-theme="light"] header #main-nav{border-color:#d6dce2}
html[data-site-theme="light"] header #main-nav > div{border-color:#d0d8e0}
html[data-site-theme="light"] #site-theme-toggle{color:#20394d;border-color:#b8c4ce;background:#fff}
html[data-site-theme="light"] #lang-toggle-btn{background:#fff;color:#273642;border-color:#b8c4ce}
html[data-site-theme="light"] #nav-login-btn{background:#172c40;color:white}
html[data-site-theme="light"] header img{filter:brightness(0)}
html[data-site-theme="light"] body>footer img[src$="northstar-logo.png"]{filter:grayscale(1) brightness(0);opacity:.7}
html[data-site-theme="light"] #mobile-menu-btn{color:#15283b;border-color:#bdc8d3}
html[data-site-theme="light"] #mobile-menu-btn svg{stroke:#142b40}
/* Hero images remain cinematic with light mode; readable cards and editorial content change. */
html[data-site-theme="light"] #hero-section{color:#fff}
html[data-site-theme="light"] #hero-section #slide-title{color:#fff}
html[data-site-theme="light"] #hero-section #slide-desc{color:#e7eef4}
html[data-site-theme="light"] #about-nsasrc{background:rgba(243,246,249,.96)!important;backdrop-filter:blur(20px);border-color:#d3dbe2}
html[data-site-theme="light"] #about-nsasrc :is(h1,h2,h3,h4,p,li){color:#253443}
html[data-site-theme="light"] #about-nsasrc .text-gray-400,html[data-site-theme="light"] #about-nsasrc .text-gray-500{color:#536272}
html[data-site-theme="light"] #about-nsasrc .bg-white\/5,html[data-site-theme="light"] #about-nsasrc .bg-\[\#050505\]{background:#fff!important}
html[data-site-theme="light"] #about-nsasrc [class*="border-white"]{border-color:#d0dae2}
html[data-site-theme="light"] #contact-view{background:#eef1f3;color:#203040}
html[data-site-theme="light"] #contact-view>div:first-child{background:#eef1f3!important}
html[data-site-theme="light"] #contact-view :is(h1,h2,h3,h4,p,label,a){color:#243442}
html[data-site-theme="light"] #contact-view .text-gray-400,html[data-site-theme="light"] #contact-view .text-gray-500{color:#536271}
html[data-site-theme="light"] #contact-view input,html[data-site-theme="light"] #contact-view textarea,html[data-site-theme="light"] #contact-view select{color:#192c3f;background:#fff!important;border-color:#c8d3dc}
html[data-site-theme="light"] #contact-view [class*="border-white"]{border-color:#cdd7e0}
html[data-site-theme="light"] body>footer{background:#e8edf1;border-color:#ccd5de}
html[data-site-theme="light"] body>footer :is(a,div){color:#536372}
/* The selected panels remain fully independent; they only share geometry and typography. */
.ns-public-terminal-modal>div:first-child{max-width:1152px!important}
.ns-terminal-grid{gap:18px!important}
.ns-terminal-card{min-height:274px!important;max-height:none;overflow:hidden;padding:24px!important}
.ns-terminal-title{display:block!important;height:auto!important;min-height:68px;line-height:1.12!important;letter-spacing:.025em!important;overflow-wrap:normal!important;word-break:normal!important;font-weight:700!important;font-size:clamp(20px,2vw,25px)!important}
.ns-terminal-title .ns-title-line{display:block;white-space:normal}
.ns-terminal-title .ns-title-line+.ns-title-line{margin-top:3px}
/* v4.1.4: Removed brittle nth-child(2): active cards have a decorative div before status. */
.ns-public-terminal-modal .ns-terminal-card p{overflow-wrap:anywhere}
@media(max-width:767px){.ns-public-terminal-modal>div:first-child{padding:22px!important;height:min(88dvh,820px)!important}.ns-terminal-card{min-height:235px!important}}
html[data-site-theme="light"] .ns-public-terminal-modal>div:first-child{background:rgba(247,249,251,.98)!important;border-color:#ccd6df}
html[data-site-theme="light"] .ns-public-terminal-modal>div:first-child>div:first-child{border-color:#d4dde5}
html[data-site-theme="light"] .ns-public-terminal-modal>div:first-child>div:first-child .text-white{color:#172737}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card{background:#fff!important;border-color:#c9d4df!important}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card h3{color:#1b2a39!important}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card p{color:#506274!important}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card [class*="border-white"]{border-color:#dbe2e8}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card.opacity-40{opacity:.63}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card .text-gray-500{color:#506171}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card:hover h3{color:#135766!important}
html[data-site-theme="light"] #workspace-overlay,html[data-site-theme="light"] #monitoring-overlay{background:rgba(222,230,237,.65)!important}
html[data-site-theme="light"] #workspace-overlay>div,html[data-site-theme="light"] #monitoring-overlay>div{background:#fff!important}
html[data-site-theme="light"] .ns-public-terminal-modal :is(#systems-close-btn,#monitoring-close-btn){color:#536274}
html[data-site-theme="light"] :is(#auth-modal,#profile-modal,#admin-modal)>div{background:#fff;color:#1e2c3a}
html[data-site-theme="light"] :is(#auth-modal,#profile-modal,#admin-modal) :is(input,textarea,select){color:#182b3d}
/* TECH outer stage remains photographic/wireframe driven; editorial lists and cards respond to theme. */
html[data-site-theme="light"] #tech-research-view{color:#25313d}
html[data-site-theme="light"] #tech-research-view .tech-gateway{background:rgba(247,249,250,.92)!important;border-color:rgba(47,70,88,.25)!important;color:#253444}
html[data-site-theme="light"] #tech-research-view .tech-gateway :is(h4,p,span){color:#28394b!important}
html[data-site-theme="light"] #tech-research-view .tech-gateway:is(:hover,:focus-visible) :is(h4,p,span){color:#fff!important}
html[data-site-theme="light"] #tech-research-view .tech-gateway:after{color:#344659}
html[data-site-theme="light"] #tech-research-view .tech-gateway:is(:hover,:focus-visible):after{color:#fff}
/* Keep dark photographic backgrounds behind technical heroes; enhance light-panel clarity below. */
html[data-site-theme="light"] #tech-research-view #tech-root-shell>div:first-child :is(h2,p){color:#fff}
html[data-site-theme="light"] #tech-research-view .tech-domain-hint{color:#eef2f5}
html[data-site-theme="light"] #tech-research-view :is(#tech-domain-shell .tech-secondary-hero,#tech-project-shell .tech-project-hero){color:#fff}
html[data-site-theme="light"] #tech-research-view :is(#tech-domain-title,#tech-domain-desc,#tech-project-title,#tech-project-subtitle){color:#fff}
html[data-site-theme="light"] #tech-research-view .tech-research-layout{background:rgba(244,247,250,.94);border:1px solid #d1dae2}
html[data-site-theme="light"] #tech-research-view .tech-index :is(button,small){color:#465769}
html[data-site-theme="light"] #tech-research-view .tech-index button{border-color:#d3dce4}
html[data-site-theme="light"] #tech-research-view .tech-index button:hover,html[data-site-theme="light"] #tech-research-view .tech-index button[aria-current="true"]{color:#182d40;background:#e3eaf0;border-color:#416784}
html[data-site-theme="light"] #tech-research-view .tech-index-caption{color:#53697e}
html[data-site-theme="light"] #tech-research-view .tech-featured h3{color:#263646}
html[data-site-theme="light"] #tech-research-view .tech-featured > p{color:#48586a}
html[data-site-theme="light"] #tech-research-view .tech-feature-view{color:#1d3f5a;border-color:#879caa}
html[data-site-theme="light"] #tech-research-view .tech-paper-row{border-color:#cdd7de}
html[data-site-theme="light"] #tech-research-view .tech-paper-info :is(h4,p){color:#213244}
html[data-site-theme="light"] #tech-research-view .tech-paper-read{color:#213e54;border-color:#9eafbf}
html[data-site-theme="light"] #tech-research-view .tech-published-cover .tech-cover-overlay :is(h3,p,span){color:#fff!important}
html[data-site-theme="light"] #tech-research-view .tech-empty-state{color:#475b6e;border-color:#bcc9d5}
html[data-site-theme="light"] #tech-research-view .tech-empty-state small{color:#526677}
/* Research article: quiet reading panel over existing engineering stage. */
#tech-research-view{--reader-background:#10151a;--reader-ink:#e2e8ee;--reader-muted:#a9b6c2;--reader-rule:#39434e;--reader-figure:#1a2027}
html[data-site-theme="light"] #tech-research-view{--reader-background:#fcfcfb;--reader-ink:#25313b;--reader-muted:#586878;--reader-rule:#d8dfe6;--reader-figure:#f4f6f7}
#tech-research-view #tech-project-shell .tech-project-hero[data-has-cover="true"]{min-height:116px!important;padding:24px 0 12px!important;border:0}
#tech-research-view #tech-project-shell .tech-project-hero[data-has-cover="true"] :is(#tech-project-title,#tech-project-subtitle){display:none}
#tech-research-view #tech-project-shell .tech-project-hero[data-has-cover="true"] .tech-back{margin-bottom:16px}
#tech-research-view #tech-project-shell .tech-dossier{max-width:1120px;background:var(--reader-background);color:var(--reader-ink);border:1px solid var(--reader-rule);padding:0 48px 72px;box-shadow:0 25px 85px rgba(0,0,0,.2);margin-top:26px}
#tech-research-view #tech-project-shell .tech-dossier-visual{border:0;background:transparent;min-height:0;overflow:visible}
#tech-research-view #tech-project-shell .tech-dossier-visual:before{display:none}
#tech-research-view #tech-project-shell .tech-public-hero-image{position:relative;aspect-ratio:2.1/1;min-height:290px!important;overflow:hidden;border:0;margin:0 -48px;isolation:isolate;background:#0d1218;display:flex;flex-direction:column;justify-content:flex-end}
#tech-research-view #tech-project-shell .tech-public-hero-image>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;cursor:zoom-in}
#tech-research-view #tech-project-shell .tech-public-hero-image .tech-cover-overlay{z-index:1;position:relative;padding:38px 48px 45px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.08) 10%,rgba(0,0,0,.65) 60%,rgba(0,0,0,.93));color:#fff;pointer-events:none}
#tech-research-view #tech-project-shell .tech-public-hero-image .tech-cover-name{font:300 clamp(42px,6.5vw,84px)/1.05 Inter,sans-serif;letter-spacing:-.045em;color:#fff;overflow-wrap:anywhere}
#tech-research-view #tech-project-shell .tech-public-hero-image .tech-cover-subtitle{font:400 15px/1.65 Inter,sans-serif;color:#e5edf6;max-width:760px;margin:12px 0 0}
#tech-research-view #tech-project-shell .tech-public-hero-image figcaption{position:absolute;z-index:2;right:14px;top:12px;background:rgba(0,0,0,.57);color:#e1e9f1;padding:4px 10px;font-size:9px;max-width:45%;text-align:right}
#tech-research-view #tech-project-shell .tech-dossier-meta{max-width:790px;margin:0 auto;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));border-color:var(--reader-rule);padding:27px 0 24px;gap:18px}
#tech-research-view #tech-project-shell .tech-dossier-meta :is(small,strong){color:var(--reader-muted)}
#tech-research-view #tech-project-shell .tech-dossier-meta strong{color:var(--reader-ink)}
#tech-research-view #tech-project-shell .tech-published-article{max-width:790px;margin:0 auto;padding:40px 0 68px;font:400 17px/1.85 Inter,sans-serif;color:var(--reader-ink);overflow-wrap:break-word}
#tech-research-view #tech-project-shell .tech-published-article :is(p,ul,ol,blockquote){max-width:100%;line-height:1.85;color:var(--reader-ink)}
#tech-research-view #tech-project-shell .tech-published-article :is(h1,h2,h3,h4,h5,h6){color:var(--reader-ink);font-weight:500;line-height:1.35;margin:2.25em 0 .75em;letter-spacing:-.027em}
#tech-research-view #tech-project-shell .tech-published-article h2{font-size:clamp(25px,2.5vw,32px)}
#tech-research-view #tech-project-shell .tech-published-article a{color:#5a9cdb}
html[data-site-theme="light"] #tech-research-view #tech-project-shell .tech-published-article a{color:#1c679c}
#tech-research-view #tech-project-shell .tech-published-article :is(img,figure){max-width:100%;height:auto;object-fit:contain}
#tech-research-view #tech-project-shell .tech-published-article figure{margin:40px auto 32px}
#tech-research-view #tech-project-shell .tech-published-article figure img{display:block;height:auto;max-width:100%;width:auto;margin:auto;cursor:zoom-in}
#tech-research-view #tech-project-shell .tech-published-article > img{display:block;margin:36px auto;cursor:zoom-in}
#tech-research-view #tech-project-shell .tech-published-article :is(figcaption,figure p){color:var(--reader-muted);font:400 11px/1.7 'JetBrains Mono',monospace;text-align:center;margin-top:12px}
#tech-research-view #tech-project-shell .tech-published-article :is(table,pre){max-width:100%;background:var(--reader-figure);border-color:var(--reader-rule)}
#tech-research-view #tech-project-shell .tech-published-article :is(th,td){color:var(--reader-ink);border-color:var(--reader-rule)}
#tech-research-view #tech-project-shell .tech-published-article blockquote{border-color:#7d9bb7;color:var(--reader-muted)}
#tech-research-view #tech-project-shell .tech-study-footer{border-color:var(--reader-rule)}
#tech-research-view #tech-project-shell .tech-study-footer :is(.tech-study-footer-kicker,.tech-study-related small){color:var(--reader-muted)}
#tech-research-view #tech-project-shell .tech-study-footer :is(.tech-study-related strong,.tech-study-footer-actions button){color:var(--reader-ink)}
#tech-research-view #tech-project-shell .tech-study-footer .tech-study-related button{border-color:var(--reader-rule)}
@media(max-width:767px){#tech-research-view #tech-project-shell .tech-dossier{padding:0 22px 40px}#tech-research-view #tech-project-shell .tech-public-hero-image{margin:0 -22px;aspect-ratio:1.22/1;min-height:310px!important}#tech-research-view #tech-project-shell .tech-public-hero-image .tech-cover-overlay{padding:22px 24px 30px}#tech-research-view #tech-project-shell .tech-public-hero-image .tech-cover-name{font-size:clamp(34px,9vw,55px)}#tech-research-view #tech-project-shell .tech-published-article{font-size:16px;padding:30px 0 45px}#tech-research-view #tech-project-shell .tech-dossier-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tech-image-lightbox{width:min(95vw,1550px);max-height:94dvh;overflow:auto;background:#101318;color:#e6eef5;border:1px solid #657381;padding:24px;box-shadow:0 20px 100px #000b}
.tech-image-lightbox::backdrop{background:rgba(0,0,0,.88)}
.tech-image-lightbox img{max-width:100%;max-height:80dvh;object-fit:contain;margin:0 auto}
.tech-image-lightbox button{position:sticky;top:0;left:100%;color:#fff;background:#1f2933;border:1px solid #768797;padding:6px 13px;z-index:5;cursor:pointer}
.tech-image-lightbox p{color:#bdc8d4;font:12px/1.65 'JetBrains Mono',monospace;margin-top:12px}

/* V4.1.3 — Public header controls: consistent height, click-open accessible appearance menu. */
#main-nav .ns-nav-utilities{position:relative;align-items:stretch}
#main-nav .ns-nav-utilities :is(#lang-toggle-btn,#site-theme-toggle,#nav-login-btn,#nav-admin-btn){
 box-sizing:border-box;height:40px;min-height:40px;max-height:40px;padding:0 13px;
 line-height:1;white-space:nowrap;align-items:center;justify-content:center;text-align:center;
 border-radius:0;font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;letter-spacing:.06em;
}
#main-nav .ns-nav-utilities :is(#lang-toggle-btn,#site-theme-toggle,#nav-login-btn){display:inline-flex}
#main-nav .ns-nav-utilities #nav-admin-btn:not(.hidden){display:inline-flex}
#main-nav #lang-toggle-btn{min-width:44px}
#main-nav #nav-login-btn{max-width:220px;overflow:hidden;text-overflow:ellipsis}
#main-nav .ns-theme-picker{position:relative;display:flex;align-items:stretch;flex-shrink:0}
#main-nav #site-theme-toggle{min-width:118px;gap:8px}
#main-nav .site-theme-chevron{font-size:11px;opacity:.7;transition:transform .15s ease}
#main-nav #site-theme-toggle[aria-expanded="true"] .site-theme-chevron{transform:rotate(180deg)}
#main-nav .ns-theme-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:178px;padding:5px;
 background:#0b1117;border:1px solid #48525d;box-shadow:0 14px 36px rgba(0,0,0,.45);
 z-index:70;overflow:visible}
#main-nav .ns-theme-menu[hidden]{display:none!important}
#main-nav .ns-theme-option{box-sizing:border-box;display:flex;width:100%;height:39px;align-items:center;gap:11px;
 padding:0 10px;color:#cbd5df;text-align:left;font:700 11px/1 'JetBrains Mono',monospace;
 letter-spacing:.07em;cursor:pointer;border:1px solid transparent;white-space:nowrap}
#main-nav .ns-theme-option:is(:hover,:focus-visible){outline:0;color:#fff;background:#1c2a37;border-color:#45586b}
#main-nav .ns-theme-option[aria-checked="true"]{color:#fff;background:#1b2834}
#main-nav .ns-theme-option-icon{width:17px;text-align:center;font-size:17px;line-height:1}
#main-nav .ns-theme-option-label{flex:1}
#main-nav .ns-theme-choice-check{visibility:hidden;color:#8ab7d9;font-size:13px}
#main-nav .ns-theme-option[aria-checked="true"] .ns-theme-choice-check{visibility:visible}
html[data-site-theme="light"] #main-nav .ns-theme-menu{background:#fff;border-color:#b8c6d1;box-shadow:0 12px 34px rgba(40,55,70,.18)}
html[data-site-theme="light"] #main-nav .ns-theme-option{color:#34495c}
html[data-site-theme="light"] #main-nav .ns-theme-option:is(:hover,:focus-visible){background:#e9eff4;color:#172e42;border-color:#c2cfd9}
html[data-site-theme="light"] #main-nav .ns-theme-option[aria-checked="true"]{color:#1b3c58;background:#e6eef4}
html[data-site-theme="light"] #main-nav .ns-theme-choice-check{color:#2f688e}
@media(max-width:1023px){
 #main-nav .ns-nav-utilities{align-items:stretch}
 #main-nav .ns-nav-utilities :is(#lang-toggle-btn,#site-theme-toggle,#nav-login-btn,#nav-admin-btn){height:44px;min-height:44px;max-height:44px;width:100%;max-width:none}
 #main-nav .ns-theme-picker{width:100%}
 #main-nav .ns-theme-menu{left:0;right:0;min-width:0;width:100%;top:calc(100% + 4px)}
}

/* V4.1.4 — Consistent online/offline terminal card geometry, independently in each modal.
   Avoid nth-child: ONLINE cards have an absolute gradient before the status row. */
.ns-public-terminal-modal .ns-terminal-grid{align-content:start!important;align-items:stretch!important}
.ns-public-terminal-modal .ns-terminal-card{
 box-sizing:border-box; height:322px!important;min-height:322px!important;max-height:322px!important;
 display:flex!important;flex-direction:column!important;justify-content:initial!important;
 padding:24px!important;gap:0!important;
}
.ns-public-terminal-modal .ns-terminal-card > .space-y-3{
 margin:20px 0 12px!important;min-height:0!important; flex:1 1 auto!important;
 display:flex;flex-direction:column;gap:10px;
}
.ns-public-terminal-modal .ns-terminal-card .ns-terminal-title{
 display:block!important;flex:0 0 auto;height:57px!important;min-height:57px!important;
 margin:0!important;line-height:1.14!important;
 font-size:clamp(20px,2vw,25px)!important;
}
.ns-public-terminal-modal .ns-terminal-card .ns-terminal-title+.ns-terminal-title{margin-top:0}
.ns-public-terminal-modal .ns-terminal-card .space-y-3>p{margin:0!important;font-size:11px;line-height:1.65!important;}
.ns-public-terminal-modal .ns-terminal-card > .mt-auto{
 margin-top:auto!important; flex:0 0 auto;min-height:36px;
 padding-top:13px!important;line-height:1.5!important;
}
@media(max-width:767px){
 .ns-public-terminal-modal .ns-terminal-card{height:300px!important;min-height:300px!important;max-height:300px!important}
 .ns-public-terminal-modal .ns-terminal-card > .space-y-3{margin:17px 0 10px!important}
}
/* V4.1.4 — HOME light-theme legibility: avoid dark text on old dark-only cards. */
html[data-site-theme="light"] #about-nsasrc .ns-about-focus-card{
 background:#fff!important;border:1px solid #cbd5df!important;box-shadow:0 12px 28px rgba(28,48,68,.055);
}
html[data-site-theme="light"] #about-nsasrc .ns-about-focus-card:is(:hover,:focus-within){border-color:#a54b56!important;box-shadow:0 12px 30px rgba(28,48,68,.12)}
html[data-site-theme="light"] #about-nsasrc .ns-about-focus-card h4{color:#1c3041!important}
html[data-site-theme="light"] #about-nsasrc .ns-about-focus-card p{color:#46596b!important}
html[data-site-theme="light"] #about-nsasrc .ns-about-focus-card .text-red-500{color:#b62d3b!important;opacity:1!important}
html[data-site-theme="light"] #about-nsasrc h5{color:#233648!important}
html[data-site-theme="light"] #about-nsasrc .ns-about-partnership-label{
 color:#20384c!important;background:#fff!important;border-color:#c9d5df!important;
}
html[data-site-theme="light"] #about-nsasrc .ns-about-partnership-panel{
 background:#fff!important;border-color:#cbd7e1!important;box-shadow:0 12px 28px rgba(28,48,68,.045);
}
html[data-site-theme="light"] #about-nsasrc .ns-about-partnership-panel p{color:#344a5c!important}
html[data-site-theme="light"] #about-nsasrc .ns-about-partnership-panel svg{color:#5b7386!important}
/* V4.1.4 — Contact dark-on-light composition (including hero span and form surface). */
html[data-site-theme="light"] #contact-view h2>span.text-white{color:#182c3e!important}
html[data-site-theme="light"] #contact-view .ns-contact-panel{
 background:#fff!important;border-color:#cad5df!important;box-shadow:0 18px 55px rgba(31,49,67,.095)!important;
}
html[data-site-theme="light"] #contact-view .ns-contact-panel label{color:#3d5265!important}
html[data-site-theme="light"] #contact-view .ns-contact-panel :is(input:not([type="hidden"]),select,textarea){
 color:#1c3143!important;background:#f8fafb!important;border:1px solid #bfcbd6!important;
}
html[data-site-theme="light"] #contact-view .ns-contact-panel :is(input,select,textarea):focus-visible{
 outline:2px solid #ab3d4c!important;outline-offset:1px;border-color:#a83c4d!important;
}
html[data-site-theme="light"] #contact-view #btn-send-message{
 background:#1a3146!important;color:#fff!important;
}
html[data-site-theme="light"] #contact-view #btn-send-message:is(:hover,:focus-visible){background:#2a4b66!important}

/* Offline remains clearly disabled without becoming illegible. */
.ns-public-terminal-modal .ns-terminal-card.opacity-40{opacity:.62!important}
html[data-site-theme="light"] .ns-public-terminal-modal .ns-terminal-card.opacity-40{opacity:.76!important}
