/* EMDATE V9 — public UI normalization layer. En son yüklenir. */
:root{--em-font-body:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--em-font-head:'Manrope',system-ui,sans-serif;--em-radius:18px;--em-radius-sm:12px;--em-motion:cubic-bezier(.2,.7,.2,1)}
html{scroll-behavior:smooth}body{font-family:var(--em-font-body)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body:not(.platform-body){background:var(--navy,#07101F)}
body,button,input,select,textarea{font-family:var(--em-font-body)!important}.brand,.brand-word,.footer-brand,h1,h2,h3,h4,.page-title{font-family:var(--em-font-head)!important}
.site-header{font-family:var(--em-font-body)!important}.site-header .brand{font-family:var(--em-font-head)!important}.site-header .header-inner{max-width:1240px}.site-header .header-login.active{background:rgba(255,255,255,.08);color:#fff}.site-header .desktop-nav a,.site-header .header-login,.site-header .event-button,.site-header button{letter-spacing:0!important}
.emdate-global-header{z-index:2000}.emdate-global-footer{position:relative;z-index:2}
/* Eski public shell sınıfları yeni tasarım sistemine nötrlenir. */
.em-shell-nav{display:none!important}.em-shell-footer{display:none!important}
body.em-shell-page{font-family:var(--em-font-body)!important;background:radial-gradient(ellipse 65% 42% at 86% 0%,rgba(26,107,255,.09),transparent 55%),radial-gradient(ellipse 60% 48% at 8% 96%,rgba(200,25,46,.09),transparent 58%),linear-gradient(180deg,var(--navy,#07101F),var(--navy-l,#0D1A30))!important}
html[data-theme="light"] body.em-shell-page{background:linear-gradient(180deg,#f7f9fc,#eef3f8)!important}html[data-theme="clinical"] body.em-shell-page{background:linear-gradient(180deg,#e8fbf8,#dff5f3)!important}
/* Ortak kart, form ve buton dili */
body.em-shell-page .card,body.em-shell-page .status-card,body.em-shell-page .side-card,body.em-shell-page .login-box{border-radius:var(--em-radius)!important}
body.em-shell-page .btn,body.em-shell-page button.open-btn,body.em-shell-page .open-btn{border-radius:12px!important;text-transform:none!important;letter-spacing:0!important;font-weight:800!important;transition:transform .18s var(--em-motion),box-shadow .18s var(--em-motion),background .18s var(--em-motion)}
body.em-shell-page .btn:hover,body.em-shell-page button.open-btn:hover,body.em-shell-page .open-btn:hover{transform:translateY(-1px)}
body.em-shell-page input,body.em-shell-page select,body.em-shell-page textarea{border-radius:12px!important;font-size:.94rem!important}
body.em-shell-page label{letter-spacing:.02em!important}
/* Platform ile aynı içerik ritmi */
main{min-width:0}.section-inner,.page-hero-inner,.home-hero-inner,.footer-inner,.footer-bottom{max-width:1240px}
/* Mobil: menü ve işlem alanları taşmasın */
@media(max-width:980px){.site-header .header-inner{gap:14px}.site-header .brand-sub{max-width:220px}.site-header .header-actions{margin-left:auto}}
@media(max-width:720px){.site-header .brand-word{font-size:1.12rem}.site-header .brand-mark{font-size:1.15rem}.site-header .header-inner{width:calc(100% - 20px)}body.em-shell-page .wrap,body.em-shell-page .abs-wrap,body.em-shell-page .status-page{width:calc(100% - 20px)!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* V9.1 — Platform ve operasyon sayfalarında aynı zemin / tipografi / yüzey dili. */
html[data-theme="light"] body.em-shell-page{--navy:#f4f7fb;--navy-l:#ffffff;--navy-m:#f8fafc;--white:#111827;--muted:#64748b;--border:#dbe3ec;--glass-2:#ffffff;--gold:#b4770c;--shadow-md:0 12px 30px rgba(15,23,42,.08);--shadow-xl:0 24px 70px rgba(15,23,42,.12);color:#111827!important}
html[data-theme="dark"] body.em-shell-page{--navy:#07101f;--navy-l:#101c31;--navy-m:#0d182b;--white:#eff4fb;--muted:#94a3b8;--border:#23324a;--glass-2:#101c31;--gold:#e5b653;--shadow-md:0 12px 30px rgba(0,0,0,.22);--shadow-xl:0 24px 70px rgba(0,0,0,.28);color:#eff4fb!important}
html[data-theme="clinical"] body.em-shell-page{--navy:#e7f7f5;--navy-l:#f7fffe;--navy-m:#eefbf9;--white:#06333d;--muted:#486c72;--border:#b9dcd8;--glass-2:#f7fffe;--gold:#947013;--shadow-md:0 12px 30px rgba(3,84,92,.08);--shadow-xl:0 24px 70px rgba(3,84,92,.12);color:#06333d!important}
body.em-shell-page .card,body.em-shell-page .side-card,body.em-shell-page .login-box,body.em-shell-page .status-card{background:var(--navy-l)!important;border-color:var(--border)!important;color:var(--white)!important}
body.em-shell-page input,body.em-shell-page select,body.em-shell-page textarea{background:var(--navy-m)!important;border-color:var(--border)!important;color:var(--white)!important}
body.em-shell-page .btn.secondary{background:var(--navy-m)!important;color:var(--white)!important;border-color:var(--border)!important}
body.em-shell-page a{transition:color .18s var(--em-motion),background .18s var(--em-motion),border-color .18s var(--em-motion),transform .18s var(--em-motion)}
.site-header,.site-footer{font-family:var(--em-font-body)!important}.site-header .brand,.site-footer .footer-brand{font-family:var(--em-font-head)!important}
@media(max-width:520px){.site-header .header-actions{gap:6px}.site-header .menu-button{min-width:58px;justify-content:center}.site-header .header-inner{gap:8px}}
