/* CEAS — Sovereign design system. Brand presentation, not an application release banner. */
:root {
  --ceas-bg:#0a0a0a;--ceas-bg2:#101010;--ceas-panel:#131313;--ceas-panel2:#181818;
  --ceas-white:#f1f1f1;--ceas-soft:#c4c4c4;--ceas-muted:#999999;
  --ceas-line:rgba(237,237,237,.12);--ceas-line-strong:rgba(241,241,241,.23);
  --ceas-red:#c80000;--ceas-red-hot:#e00000;--ceas-red-soft:rgba(224,0,0,.12);
  --ceas-shadow:0 20px 56px rgba(0,0,0,.20);--ceas-max:1520px;
  --ceas-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sovereign-red:#e00000;--sovereign-bone:#efefef;--sovereign-muted:#b5b5b5;
  --sovereign-panel:#131313;--sovereign-border:rgba(232,232,232,.13);
}
html{scroll-padding-top:90px;background:#0a0a0a!important}
body{background:#0a0a0a!important;color:var(--ceas-white,#f0f0f0);-webkit-font-smoothing:antialiased}
body::before{content:'';pointer-events:none;position:fixed;inset:0;z-index:0;background:radial-gradient(ellipse at 92% -24%,rgba(200,0,0,.07),transparent 43%),url('/assets/identity/ceas-signal-grid.svg') right -300px top -180px / min(74vw,1000px) auto no-repeat;opacity:.65}
body>header,body>main,body>footer,body>.app,body>.shell,body>.site-wrap{position:relative}
::selection{background:#c80000;color:#ffffff}
:focus-visible{outline:2px solid #e00000!important;outline-offset:4px!important}
a,button,[role="button"]{-webkit-tap-highlight-color:transparent}
a{transition:color .19s ease,border-color .19s ease,background-color .19s ease}
button,input,select,textarea{min-width:0}
button:disabled,[aria-disabled="true"]{cursor:not-allowed;opacity:.56}
input:not([type=checkbox]):not([type=radio]),select,textarea{accent-color:#e00000}
input::placeholder,textarea::placeholder{color:#939393}
/* Consistent institutional navigation; genuine navigation links remain accessible on narrow screens. */
.masthead{background:rgba(9,9,9,.96)!important;border-bottom:1px solid rgba(230,230,230,.15)!important;backdrop-filter:blur(24px) saturate(115%)}
.utility{min-height:27px;color:#b5b5b5!important;letter-spacing:.1em!important;border-bottom:1px solid rgba(232,232,232,.075)!important}
.mast-main{min-height:79px;gap:24px!important}
.brand,.top-brand,.library-brand,.article-brand{position:relative;text-decoration:none}
.brand-ceas{letter-spacing:.18em!important;font-weight:760!important;color:#f5f5f5!important}
.brand-target{filter:drop-shadow(0 0 14px rgba(224,0,0,.16))}
.primary-nav{gap:clamp(6px,1.35vw,20px)!important}
.primary-nav a{display:inline-flex;align-items:center;min-height:43px;padding:6px 4px!important;white-space:nowrap;letter-spacing:.05em;color:#c6c6c6!important}
.primary-nav a:hover,.primary-nav a.active{color:#ffffff!important}
.primary-nav a.active::after,.primary-nav a:hover::after{background:#e00000!important}
.secure-link{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 17px!important;border:1px solid rgba(224,0,0,.52)!important;background:rgba(200,0,0,.12)!important;color:#e00000!important;font-weight:700!important;text-decoration:none}
.secure-link:hover{background:rgba(224,0,0,.22)!important;border-color:#e00000!important}
/* Editorial titles: more readable than the prior ultra-light typography. */
.inst-hero h1,.stream-hero h1,.radar-hero h1,.maps-hero h1,.library-hero h1{font-weight:480!important;letter-spacing:-.052em!important;color:#f5f5f5!important;text-wrap:balance;line-height:1.035!important}
.inst-hero h1 em,.stream-hero h1 em,.hero h1 em,.hero-copy h1 em{font-style:normal;color:#e00000}
.inst-hero,.stream-hero{background:linear-gradient(118deg,rgba(15,15,15,.98),rgba(15,15,15,.78) 70%,rgba(17,17,17,.74))!important}
.inst-hero:before,.stream-hero:before{opacity:.18!important}
.inst-hero:after,.stream-hero:after{opacity:.5}
.inst-hero p,.stream-hero p,.inst-section p,.inst-card p,.stream-shell p,.mission-section p{color:#b9b9b9!important;line-height:1.78!important}
.inst-hero small,.stream-hero small,.inst-kicker,.inst-head small,.stream-hero small{color:#e00000!important;font-size:10px!important;letter-spacing:.17em!important}
.inst-hero-aside{background:rgba(21,21,21,.48)!important}
.inst-hero-aside span{color:#ababab!important;font-size:10px!important}
.inst-section{border-color:rgba(224,224,224,.09)!important}
.inst-head h2,.section-heading h2,.section-title h2,.operations-head h2{font-weight:490!important;letter-spacing:-.04em!important;color:#f2f2f2!important}
.inst-head p{color:#bcbcbc!important}
/* Distinctive sovereign cards and editorial grids: crisp flat layers, no AI-generated gradients or cheap heavy shadows. */
.inst-card,.command-panel,.radar-panel,.stream-card,.library-card,.quick-card,.alert-form-card,.registry-panel,.press-panel,.panel{
  border-color:var(--sovereign-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.inst-card,.command-panel,.quick-card,.alert-form-card{background:#151515!important}
.inst-card{position:relative;overflow:hidden;transition:border-color .2s ease,background-color .2s ease,transform .3s ease}
.inst-card::before{content:'';position:absolute;top:0;left:0;width:44px;height:2px;background:rgba(224,0,0,.7);pointer-events:none}
.inst-card:hover{border-color:rgba(224,0,0,.36)!important;background:#191919!important;transform:translateY(-2px)}
.inst-card h3,.panel h2,.panel h3{color:#f1f1f1!important;letter-spacing:-.025em}
.inst-card a,.inst-nav a,.footer-links a,.panel a{transition:color .2s,border-color .2s}
.inst-nav a{display:inline-flex;min-height:38px;align-items:center;border-color:rgba(242,242,242,.17)!important}
.inst-nav a:hover{border-color:rgba(224,0,0,.5)!important;color:#ffffff!important}
.site-footer{background:#0a0a0a!important;border-top:1px solid rgba(229,229,229,.14)!important}
.site-footer small,.footer-links a{color:#b1b1b1!important}
.site-footer .footer-brand p{color:#bbbbbb!important}
/* Home: stronger editorial hierarchy / deliberate intervals. */
.hero,.flagship-hero,.hero-v45{isolation:isolate}
.hero .hero-copy h1,.flagship-hero h1{font-weight:480!important;letter-spacing:-.056em!important;line-height:1.015!important;text-wrap:balance}
.hero .hero-copy p,.flagship-hero p{color:#c4c4c4!important}
.ceas-fast-channels{border-color:rgba(237,237,237,.13)!important}
.fast-channel{background:#131313!important;border-color:rgba(232,232,232,.1)!important}
.fast-channel:hover{background:#1a1a1a!important}
.fast-channel p{color:#c2c2c2!important}
.v46-observatory{border-color:rgba(235,235,235,.23)!important;background:#131313!important;box-shadow:0 35px 90px rgba(0,0,0,.26)!important}
.v46-observatory__content{background:linear-gradient(140deg,rgba(48,0,0,.38),transparent 64%)!important}
.v46-label,.v46-eyebrow{color:#e00000!important}
.v46-observatory h2{font-weight:510!important;letter-spacing:-.047em!important}
.v46-observatory__content p{color:#cfcfcf!important}
.v46-action-main{background:#e00000!important;color:white!important}
.v46-action-main:hover{background:#e00000!important}
.v46-action-outline{background:#1e1e1e!important;border:1px solid rgba(224,0,0,.33)!important;color:#ededed!important}
.v46-disclosure{color:#b3b3b3!important}
/* Data consoles: high information density with legible typography and clear action boundaries. */
.library-shell,.maps-shell,.radar-shell,.stream-shell,.inst-shell{color:#f1f1f1}
.library-topbar,.radar-topbar,.audio-topbar,.flash-topbar,.alert-top,.registry-top,.topbar,.quick-top{background:#101010!important;border-color:rgba(230,230,230,.14)!important}
.library-topbar a,.radar-topbar a,.audio-topbar a,.flash-topbar a,.alert-top a,.registry-top a,.topbar a,.quick-top a{color:#dadada}
.article-card,.article-header,.article-evidence-chain{border-color:rgba(234,234,234,.14)!important}
.article-card p,.article-dek,.article-body p{color:#c8c8c8!important;line-height:1.82!important}
.article-card h1{font-weight:520;letter-spacing:-.047em;line-height:1.07;color:#f4f4f4}
/* Protected editorial console: preserve ALL existing login and publish behavior. */
.login-gate,.alert-login,.incident-login{background:#0b0b0b!important}
.login-brand h1{font-weight:500!important;line-height:1.05!important;letter-spacing:-.053em!important}
.login-brand p,.alert-login-copy p{color:#bcbcbc!important;line-height:1.75!important}
.login-box{background:#181818!important;border:1px solid rgba(241,241,241,.19)!important;box-shadow:0 24px 80px rgba(0,0,0,.38)}
.login-box label,.login-box p,.login-box em{color:#c0c0c0!important}
.login-box input,.alert-login input,.incident-login input{background:#111111!important;border:1px solid rgba(240,240,240,.25)!important;color:#f4f4f4!important;min-height:45px}
.login-box button[type=submit],.alert-login button[type=submit]{background:#c80000!important;color:#ffffff!important;font-weight:720!important;min-height:45px}
.login-box button[type=submit]:hover,.alert-login button[type=submit]:hover{background:#e00000!important}
.topbar,.alert-top,.quick-top{box-shadow:0 4px 30px rgba(0,0,0,.18)}
/* Live OSINT and press workspace: visually related but retain its independent layout. */
body:has(.shell .rail){background:#101010!important}
body:has(.shell .rail) .rail{background:#0e0e0e!important;border-color:rgba(227,227,227,.14)!important}
body:has(.shell .rail) .nav a{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
body:has(.shell .rail) .nav a.active{background:rgba(200,0,0,.15)!important;border-color:rgba(224,0,0,.3)!important;color:#f4f4f4!important}
body:has(.shell .rail) .nav a:hover{background:rgba(224,0,0,.10)!important}
body:has(.shell .rail) .workspace{background:#101010!important}
body:has(.shell .rail) .panel{background:#191919!important;color:#f2f2f2!important}
body:has(.shell .rail) .metric{background:#171717!important}
body:has(.shell .rail) input,body:has(.shell .rail) select,body:has(.shell .rail) textarea{color:#f3f3f3!important;background:#101010!important;border-color:rgba(231,231,231,.24)!important}
body:has(.shell .rail) input:focus,body:has(.shell .rail) textarea:focus{border-color:#e00000!important}
body:has(.shell .rail) .hero-copy p,body:has(.shell .rail) .section-heading p{color:#c3c3c3!important}
/* Editorial signature / responsive footer. */
.sovereign-signature{display:flex;align-items:center;gap:10px;max-width:var(--ceas-max);padding:20px 22px;margin:auto;border-top:1px solid rgba(238,238,238,.085);color:#a7a7a7;font:650 10px/1.5 var(--ceas-mono);letter-spacing:.065em;text-transform:uppercase}
.sovereign-signature .signal{width:7px;height:7px;border-radius:50%;background:#e00000;box-shadow:0 0 0 4px rgba(224,0,0,.09)}
.sovereign-signature a{margin-left:auto;color:#dfdfdf;text-decoration:none}
.sovereign-signature a:hover{color:#e00000}
@media(min-width:820px){.inst-hero,.stream-hero{min-height:435px}}
@media(max-width:1100px){.mast-main{gap:12px!important}.primary-nav{gap:8px!important}.primary-nav a{font-size:11px!important}}
@media(max-width:800px){
  html{scroll-padding-top:72px}
  .utility{display:none!important}
  .masthead{position:relative!important;top:auto!important}
  .mast-main{display:flex!important;flex-wrap:wrap!important;min-height:64px!important;padding:12px 18px!important;align-items:center!important;gap:8px 16px!important}
  .brand{flex:1 1 auto}
  .primary-nav{display:flex!important;order:3!important;flex:0 0 calc(100% + 36px)!important;width:calc(100% + 36px)!important;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;scroll-snap-type:x proximity;padding:0 18px 7px;margin:0 -18px -12px!important;border-top:1px solid rgba(241,241,241,.08)}
  .primary-nav a{flex:0 0 auto;padding:14px 7px!important;min-height:49px!important;scroll-snap-align:start;font-size:11px!important}
  .mast-actions{margin-left:auto}
  .secure-link{padding:10px 13px!important;min-height:42px}
  .inst-hero,.stream-hero{padding:58px 18px!important;min-height:0!important}
  .inst-hero h1,.stream-hero h1{font-size:clamp(40px,8vw,72px)!important}
  .inst-hero p,.stream-hero p{font-size:13px!important;line-height:1.7!important}
  .inst-section{padding-top:44px!important;padding-bottom:52px!important}
  .v46-observatory{width:calc(100% - 24px)!important}
  .sovereign-signature{flex-wrap:wrap;padding:18px;font-size:9px}
}
@media(max-width:480px){
  .inst-hero h1,.stream-hero h1{font-size:clamp(37px,11vw,52px)!important}
  .inst-hero-aside{display:none!important}
  .v46-observatory h2{font-size:clamp(32px,10vw,45px)!important}
  .v46-observatory__content{padding:30px 19px!important}
  .v46-action-row a{min-height:47px}
  .sovereign-signature a{margin-left:0}
}
/* Motion is informative, never a barrier. */
@media(prefers-reduced-motion:no-preference){
  .sovereign-motion .sovereign-reveal{opacity:0;transform:translateY(15px);transition:opacity .67s ease,transform .67s cubic-bezier(.2,.65,.1,1)}
  .sovereign-motion .sovereign-reveal.sovereign-visible{opacity:1;transform:none}
  .v46-visual-rings b{animation-duration:16s!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{body{background:white!important;color:#141414!important}body::before,.masthead,.sovereign-signature{display:none!important}a{color:#151515!important}.inst-card,.article-card{break-inside:avoid;box-shadow:none!important}}
