/* EMDATE V19.3 — Public site theme aligned with admin panel visual language */
:root{
  --pub-navy:#07101F;
  --pub-navy-l:#0C172A;
  --pub-navy-m:#12223D;
  --pub-accent:#14B8E8;
  --pub-accent-2:#0B78FF;
  --pub-gold:#F4B64A;
  --pub-success:#2ECC71;
  --pub-white:#EDF6FF;
  --pub-muted:#8EA0B8;
  --pub-border:rgba(255,255,255,.10);
  --pub-glass:rgba(255,255,255,.055);
  --pub-glass-2:rgba(255,255,255,.028);
  --pub-glow:rgba(20,184,232,.18);
  --pub-shadow:0 18px 46px rgba(0,0,0,.18);
  --pub-shadow-lg:0 28px 70px rgba(0,0,0,.22);
  --pub-grid:rgba(255,255,255,.040);
}
html[data-theme="light"]{
  --pub-navy:#F4F8FC;
  --pub-navy-l:#FFFFFF;
  --pub-navy-m:#EAF3FB;
  --pub-accent:#0B8FD3;
  --pub-accent-2:#0B78FF;
  --pub-gold:#B97807;
  --pub-success:#198754;
  --pub-white:#101A2E;
  --pub-muted:#61728A;
  --pub-border:rgba(16,26,46,.12);
  --pub-glass:rgba(255,255,255,.82);
  --pub-glass-2:rgba(255,255,255,.62);
  --pub-glow:rgba(11,143,211,.16);
  --pub-shadow:0 18px 44px rgba(16,26,46,.08);
  --pub-shadow-lg:0 30px 80px rgba(16,26,46,.12);
  --pub-grid:rgba(16,26,46,.055);
}
html[data-theme="clinical"]{
  --pub-navy:#EAFBF8;
  --pub-navy-l:#FFFFFF;
  --pub-navy-m:#DDF7F2;
  --pub-accent:#047C89;
  --pub-accent-2:#06A5B4;
  --pub-gold:#9A6508;
  --pub-success:#087E5E;
  --pub-white:#062F3C;
  --pub-muted:#315E67;
  --pub-border:rgba(0,107,118,.20);
  --pub-glass:rgba(229,255,251,.82);
  --pub-glass-2:rgba(198,242,236,.66);
  --pub-glow:rgba(4,124,137,.16);
  --pub-shadow:0 18px 42px rgba(0,107,118,.08);
  --pub-shadow-lg:0 30px 76px rgba(0,107,118,.14);
  --pub-grid:rgba(4,124,137,.06);
}

html,body{scrollbar-color:var(--pub-accent) transparent}
body.platform-body,
body.em-shell-page{
  background:
    radial-gradient(circle at 14% 16%, rgba(20,184,232,.16), transparent 27%),
    radial-gradient(circle at 84% 10%, rgba(11,120,255,.13), transparent 24%),
    radial-gradient(circle at 52% 105%, rgba(244,182,74,.10), transparent 24%),
    linear-gradient(180deg,var(--pub-navy) 0%,var(--pub-navy-l) 58%,var(--pub-navy) 100%) !important;
  color:var(--pub-white)!important;
}
body.platform-body::before,
body.em-shell-page::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(var(--pub-grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--pub-grid) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:radial-gradient(ellipse at center, black 18%, rgba(0,0,0,.84) 62%, transparent 88%);
  z-index:0;
}
body.platform-body > *, body.em-shell-page > *{position:relative;z-index:1}

.site-header{
  background:linear-gradient(180deg,rgba(7,16,31,.92),rgba(12,23,42,.86))!important;
  border-bottom:1px solid var(--pub-border)!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 44px rgba(0,0,0,.12);
}
html[data-theme="light"] .site-header,
html[data-theme="clinical"] .site-header{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.86))!important;
}
.v16-utility-bar{
  background:linear-gradient(90deg,rgba(20,184,232,.10),rgba(255,255,255,.02),rgba(11,120,255,.08))!important;
  border-bottom:1px solid var(--pub-border)!important;
}
.brand-word,.brand-mark,.desktop-nav a.active,.desktop-nav a:hover,.header-login.active{color:var(--pub-white)!important}
.brand-sub,.desktop-nav a,.header-login,.v16-utility-links a,.v16-utility-brand span,.footer-bottom,.footer-brand-block p small,.footer-links a{color:var(--pub-muted)!important}
.desktop-nav a:after{background:linear-gradient(90deg,var(--pub-accent-2),var(--pub-accent))!important;height:2px!important}
.platform-theme-switch,.mobile-menu,
.page-hero-badge,.future-card,.ops-board,
.platform-module,.history-card,.content-card,
.current-copy,.closing-side,.closing-main,
.site-footer .footer-inner,.v16-footer-feature-inner,
body.em-shell-page .hero,body.em-shell-page .sch-hero,body.em-shell-page .kr-hero,body.em-shell-page .abs-hero,body.em-shell-page .ft-hero,
body.em-shell-page .card,body.em-shell-page .sch-card,body.em-shell-page .kr-card,body.em-shell-page .ft-card,body.em-shell-page .login-box,
body.em-shell-page .status-card,body.em-shell-page .lookup,body.em-shell-page .notice,body.em-shell-page .error{
  background:linear-gradient(180deg,var(--pub-glass),var(--pub-glass-2)) !important;
  border:1px solid var(--pub-border)!important;
  box-shadow:var(--pub-shadow)!important;
  backdrop-filter:blur(16px)!important;
}
html[data-theme="light"] .platform-theme-switch,
html[data-theme="light"] .mobile-menu,
html[data-theme="clinical"] .platform-theme-switch,
html[data-theme="clinical"] .mobile-menu{
  background:linear-gradient(180deg,var(--pub-glass),var(--pub-glass-2))!important;
}
.platform-theme-btn.active,.theme-btn.active,
.btn-primary,.btn-red,.nav-cta,
.event-button,.header-login:hover,
body.em-shell-page .lookup button,
body.em-shell-page .btn,
body.em-shell-page .sch-btn,
body.em-shell-page .kr-btn,
body.em-shell-page .ft-actions a,
body.em-shell-page .ft-actions button,
.v16-footer-feature a{
  background:linear-gradient(135deg,var(--pub-accent-2),var(--pub-accent))!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 12px 28px var(--pub-glow)!important;
}
.btn-ghost-light,.btn-dark,.text-link,
body.em-shell-page .quick a,
body.em-shell-page a[href*='uye'],
body.em-shell-page a[href*='kongre']{
  border-color:var(--pub-border)!important;
}
.btn-ghost-light:hover,.btn-dark:hover,.v16-footer-feature a:hover,.btn-primary:hover{filter:brightness(1.06)}
.live-dot,.poster-topline .pulse,.hero-kicker i,.hero-marquee i{background:var(--pub-accent)!important;box-shadow:0 0 0 5px var(--pub-glow)!important}
.hero-kicker,.hero-marquee span,.v16-footer-kicker,.eyebrow,.module-kicker,.future-kicker{color:var(--pub-accent)!important}
.home-hero,.page-hero,
body.em-shell-page .hero,body.em-shell-page .sch-hero,body.em-shell-page .kr-hero,body.em-shell-page .abs-hero,body.em-shell-page .ft-hero{
  position:relative;
  overflow:hidden;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 18% 20%, rgba(20,184,232,.14), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(11,120,255,.12), transparent 26%),
    linear-gradient(145deg,rgba(12,23,42,.94),rgba(18,34,61,.94))!important;
  border:1px solid var(--pub-border)!important;
  box-shadow:var(--pub-shadow-lg)!important;
}
.home-hero::after,.page-hero::after,
body.em-shell-page .hero::after,body.em-shell-page .sch-hero::after,body.em-shell-page .kr-hero::after,body.em-shell-page .abs-hero::after,body.em-shell-page .ft-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 92%);
}
.hero-noise{opacity:.20!important;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px)!important;background-size:42px 42px!important}
.future-card,.ops-board,.platform-module,.history-card,.content-card,.current-copy,.closing-main,.closing-side{
  border-radius:22px!important;
}
.platform-module:hover,.history-card:hover,.content-card:hover,.future-card:hover,.ops-board:hover,.status-card:hover,
body.em-shell-page .card:hover,body.em-shell-page .sch-card:hover,body.em-shell-page .kr-card:hover,body.em-shell-page .ft-card:hover,body.em-shell-page .login-box:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 56px var(--pub-glow)!important;
}
.section-head h2,.current-copy h2,.closing-main h2,.page-hero h1,.home-hero h1,.future-card strong,.content-card h2,.content-card h3,.platform-module h3,.history-card h3{color:var(--pub-white)!important}
.section-head p,.home-hero-copy>p,.current-copy p,.closing-main p,.closing-side p,.content-card p,.platform-module p,.history-card p,.hero-proof span,.ops-list a span,.footer-brand-block p,.page-hero p{color:var(--pub-muted)!important}
.module-index,.year,.page-badge-kicker,.v16-signal,.module-arrow{color:var(--pub-accent)!important}
.v16-signal{background:var(--pub-accent)!important;box-shadow:0 0 0 8px rgba(20,184,232,.10)!important;border-radius:999px}
.v16-side-caption,.poster-topline,.media-status-card,.hero-proof>div,.ops-board-head,.ops-list a,.page-hero-badge,.event-button{
  border:1px solid var(--pub-border)!important;
  background:rgba(255,255,255,.04)!important;
  backdrop-filter:blur(14px)!important;
}
.ops-board-head span,.mini-chip,.status-dot,.hero-proof strong+span{color:var(--pub-muted)!important}
.site-footer{background:linear-gradient(180deg,rgba(7,16,31,.30),rgba(7,16,31,.58))!important;border-top:1px solid var(--pub-border)!important}
.v16-footer-feature{background:linear-gradient(90deg,rgba(20,184,232,.06),transparent 40%,rgba(11,120,255,.08))!important;border-bottom:1px solid var(--pub-border)!important}
.footer-links h4{color:var(--pub-accent)!important}

html[data-theme="light"] .home-hero,
html[data-theme="light"] .page-hero,
html[data-theme="clinical"] .home-hero,
html[data-theme="clinical"] .page-hero,
html[data-theme="light"] body.em-shell-page .hero,
html[data-theme="light"] body.em-shell-page .sch-hero,
html[data-theme="light"] body.em-shell-page .kr-hero,
html[data-theme="light"] body.em-shell-page .abs-hero,
html[data-theme="light"] body.em-shell-page .ft-hero,
html[data-theme="clinical"] body.em-shell-page .hero,
html[data-theme="clinical"] body.em-shell-page .sch-hero,
html[data-theme="clinical"] body.em-shell-page .kr-hero,
html[data-theme="clinical"] body.em-shell-page .abs-hero,
html[data-theme="clinical"] body.em-shell-page .ft-hero{
  background:
    radial-gradient(circle at 18% 20%, rgba(20,184,232,.10), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(11,120,255,.08), transparent 26%),
    linear-gradient(145deg,var(--pub-navy-l),var(--pub-navy-m))!important;
}
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .current-copy h2,
html[data-theme="light"] .closing-main h2,
html[data-theme="light"] .closing-side h3,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .home-hero h1,
html[data-theme="light"] .content-card h2,
html[data-theme="light"] .content-card h3,
html[data-theme="light"] .platform-module h3,
html[data-theme="light"] .history-card h3,
html[data-theme="clinical"] .section-head h2,
html[data-theme="clinical"] .current-copy h2,
html[data-theme="clinical"] .closing-main h2,
html[data-theme="clinical"] .closing-side h3,
html[data-theme="clinical"] .page-hero h1,
html[data-theme="clinical"] .home-hero h1,
html[data-theme="clinical"] .content-card h2,
html[data-theme="clinical"] .content-card h3,
html[data-theme="clinical"] .platform-module h3,
html[data-theme="clinical"] .history-card h3{color:var(--pub-white)!important}
html[data-theme="light"] .brand-word,html[data-theme="light"] .brand-mark,
html[data-theme="clinical"] .brand-word,html[data-theme="clinical"] .brand-mark{color:var(--pub-white)!important}
html[data-theme="light"] .desktop-nav a,html[data-theme="clinical"] .desktop-nav a{color:var(--pub-muted)!important}
html[data-theme="light"] .desktop-nav a.active,html[data-theme="light"] .desktop-nav a:hover,
html[data-theme="clinical"] .desktop-nav a.active,html[data-theme="clinical"] .desktop-nav a:hover{color:var(--pub-white)!important}

@media(max-width:980px){
  .home-hero,.page-hero,body.em-shell-page .hero,body.em-shell-page .sch-hero,body.em-shell-page .kr-hero,body.em-shell-page .abs-hero,body.em-shell-page .ft-hero{border-radius:24px!important}
}
@media(max-width:720px){
  body.platform-body::before,body.em-shell-page::before{background-size:34px 34px}
  .future-card,.ops-board,.platform-module,.history-card,.content-card,.current-copy,.closing-main,.closing-side{border-radius:18px!important}
}
