/* EMDATE V22.2 — Calm editorial layout. Public UI only, never admin. */
:root{--em22-space:clamp(18px,2.2vw,30px);--em22-line:rgba(158,184,207,.16);--em22-red:#f32c47}
html[data-theme="light"]{--em22-line:rgba(22,44,66,.13);--em22-red:#c61930}
html[data-theme="clinical"]{--em22-line:rgba(5,96,105,.16);--em22-red:#087f91}
/* Navigation — a single clean line, dropdown is keyboard / touch accessible. */
.site-header .desktop-nav{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:7px!important;isolation:auto!important}
.site-header .desktop-nav::before,.site-header .desktop-nav::after{display:none!important}
.site-header .desktop-nav>a,.site-header .desktop-nav>.em-nav-more>summary{color:#aab8c8!important;display:flex!important;align-items:center!important;min-height:42px!important;padding:10px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;text-transform:uppercase;font-size:.71rem;font-weight:800;letter-spacing:.035em;white-space:nowrap;text-decoration:none;border-radius:8px!important;cursor:pointer;list-style:none;line-height:1.2;position:relative}
.site-header .desktop-nav>.em-nav-more>summary::-webkit-details-marker,.mobile-menu .em-nav-more>summary::-webkit-details-marker{display:none}
.site-header .desktop-nav>a:hover,.site-header .desktop-nav>a.active,.site-header .desktop-nav>.em-nav-more>summary:hover,.site-header .desktop-nav>.em-nav-more>summary.active,.site-header .desktop-nav>.em-nav-more[open]>summary{color:#fff!important;transform:none!important;text-shadow:none!important}
.site-header .desktop-nav>.em-nav-more>summary:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;background:var(--em22-red);transform:scaleX(0);transition:transform .16s ease}
.site-header .desktop-nav>.em-nav-more>summary:hover:after,.site-header .desktop-nav>.em-nav-more>summary.active:after,.site-header .desktop-nav>.em-nav-more[open]>summary:after{transform:scaleX(1)}
.em-nav-more{position:relative;min-width:0}
.em-nav-caret{display:inline-block;font-size:1.15em;margin-left:6px;transition:transform .16s ease}
.em-nav-more[open]>.em-nav-caret,.em-nav-more[open]>summary .em-nav-caret{transform:rotate(180deg)}
.site-header .desktop-nav .em-nav-more-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:1800;display:grid;gap:2px;min-width:212px;padding:7px!important;background:#111e2b;border:1px solid var(--em22-line);box-shadow:0 18px 36px rgba(0,0,0,.24);border-radius:12px}
.site-header .desktop-nav .em-nav-more-panel>a{display:flex!important;justify-content:flex-start!important;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;transform:none!important;color:#d9e3ed!important;padding:12px 13px!important;min-height:42px!important;font-size:.84rem!important;border-radius:7px!important;line-height:1.3}
.site-header .desktop-nav .em-nav-more-panel>a:before,.site-header .desktop-nav .em-nav-more-panel>a:after{display:none!important}
.site-header .desktop-nav .em-nav-more-panel>a:hover,.site-header .desktop-nav .em-nav-more-panel>a.active{background:rgba(243,44,71,.09)!important;color:#fff!important}
html[data-theme="light"] .site-header .desktop-nav>.em-nav-more>summary,html[data-theme="clinical"] .site-header .desktop-nav>.em-nav-more>summary{color:#4c6073!important}
html[data-theme="light"] .site-header .desktop-nav>.em-nav-more>summary:is(:hover,.active),html[data-theme="clinical"] .site-header .desktop-nav>.em-nav-more>summary:is(:hover,.active){color:#13283a!important}
html[data-theme="light"] .site-header .desktop-nav .em-nav-more-panel{background:#fff}
html[data-theme="clinical"] .site-header .desktop-nav .em-nav-more-panel{background:#f1fffd}
html[data-theme="light"] .site-header .desktop-nav .em-nav-more-panel>a,html[data-theme="clinical"] .site-header .desktop-nav .em-nav-more-panel>a{color:#203246!important}
html[data-theme="light"] .site-header .desktop-nav .em-nav-more-panel>a:is(:hover,.active),html[data-theme="clinical"] .site-header .desktop-nav .em-nav-more-panel>a:is(:hover,.active){color:#102032!important;background:rgba(200,25,46,.06)!important}
.mobile-menu .em-nav-more-mobile{width:100%}
.mobile-menu .em-nav-more-mobile>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;padding:13px 15px;color:inherit;cursor:pointer;font-weight:800;border-top:1px solid var(--em22-line)}
.mobile-menu .em-nav-more-mobile .em-nav-more-panel{display:grid;gap:3px;margin:0 7px 7px 14px;padding-left:12px;border-left:2px solid var(--em22-red)}
.mobile-menu .em-nav-more-mobile .em-nav-more-panel>a{display:block;min-height:40px;padding:10px 12px;text-decoration:none;border-radius:7px}
.mobile-menu .em-nav-more-mobile .em-nav-more-panel>a.active{color:var(--em22-red)!important}
/* Rhythm: fewer redundant containers, consistent spacing, preserve branding and bold hero. */
body.platform-body .section.v110-indexed-section{padding:clamp(56px,6.2vw,82px) 0!important}
body.platform-body .section:not(.v110-indexed-section){padding-block:clamp(40px,5vw,66px)!important}
body.platform-body :is(.section-inner,.page-hero-inner){max-width:1300px!important}
body.platform-body .section-head{gap:clamp(18px,3vw,36px)!important;margin-bottom:clamp(20px,3vw,30px)!important}
body.platform-body .section-head>p{line-height:1.58!important}
body.platform-body .section-head h2{font-size:clamp(2.6rem,4.25vw,4.8rem)!important;line-height:.97!important}
body.platform-body .page-hero-inner{min-height:0!important;padding:clamp(42px,5.4vw,66px) 0!important;gap:clamp(18px,3vw,36px)!important;grid-template-columns:minmax(0,1fr) minmax(210px,280px)!important}
body.platform-body .page-hero:after{opacity:.24!important}
body.platform-body .page-hero h1{margin:10px 0 14px!important}
body.platform-body .page-hero-badge{width:auto!important;max-width:280px!important;border:0!important;border-left:2px solid var(--em22-red)!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:12px 0 12px 20px!important}
body.platform-body :is(.content-grid,.v110-module-grid,.v110-history){gap:clamp(10px,1.3vw,17px)!important}
body.platform-body :is(.content-card,.platform-module,.history-card,.gallery-item,.archive-card,.gallery-auth,.program-card,.info-card,.action-card,.feature-card,.home-card,.event-card,.scholar-card){box-shadow:none!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.048)!important}
body.platform-body :is(.content-card,.platform-module,.history-card,.archive-card,.gallery-item):hover{box-shadow:none!important;transform:translateY(-2px)!important;background:rgba(255,255,255,.077)!important}
body.platform-body .content-card{min-height:194px!important;padding:clamp(18px,2.1vw,26px)!important}
body.platform-body .platform-module{min-height:260px!important;padding:clamp(20px,2vw,26px)!important}
body.platform-body .history-card{min-height:180px!important;padding:20px!important}
body.platform-body .content-card p{line-height:1.55!important;margin-top:7px!important}
body.platform-body .event-launch-grid{gap:clamp(22px,4vw,52px)!important}
body.platform-body .event-launch-main>p{max-width:710px;line-height:1.62}
body.platform-body .legacy-box{margin-top:24px!important;padding:18px 0!important;border:0!important;border-top:1px solid var(--em22-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.platform-body .legacy-box p{margin:0!important}
body.platform-body .date-monolith{box-shadow:none!important;border-radius:12px!important}
body.platform-body .ops-board{box-shadow:none!important;border-radius:12px!important}
body.platform-body .event-state{padding-block:11px!important}
body.platform-body .v110-event-card{box-shadow:0 26px 62px rgba(0,0,0,.22)!important}
body.platform-body .v110-stage-rail a{box-shadow:none!important}
body.platform-body .site-footer{margin-top:0!important}
/* Existing registration and member screens: reduce nested frame depth, not form affordances. */
body.em-shell-page :is(.kr-hero,.kr-card,.ue-card){box-shadow:none!important;border:0!important;background:transparent!important;border-radius:0!important}
body.em-shell-page .kr-wrap{width:min(1180px,calc(100% - 40px))!important;margin:26px auto 55px!important}
body.em-shell-page .kr-hero{padding:clamp(18px,3vw,34px) 0 clamp(20px,3vw,32px)!important;gap:clamp(15px,3vw,34px)!important;align-items:center!important;border-bottom:1px solid var(--em22-line)!important}
body.em-shell-page .kr-hero h1{margin:10px 0 12px!important;font-size:clamp(2.5rem,5.4vw,4.8rem)!important}
body.em-shell-page .kr-meta{border:0!important;border-left:2px solid var(--em22-red)!important;border-radius:0!important;background:transparent!important;padding:10px 0 10px 22px!important}
body.em-shell-page .kr-layout{grid-template-columns:minmax(0,1fr) 255px!important;gap:clamp(20px,3vw,34px)!important;margin-top:30px!important}
body.em-shell-page .kr-head{padding:0 0 15px!important;border-bottom:1px solid var(--em22-line)!important}
body.em-shell-page .kr-body{padding:22px 0 0!important}
body.em-shell-page .kr-side{gap:0!important;position:static!important}
body.em-shell-page .kr-package{background:transparent!important;border:0!important;border-bottom:1px solid var(--em22-line)!important;border-radius:0!important;padding:16px 2px!important}
body.em-shell-page .kr-package:first-child{padding-top:0!important}
body.em-shell-page .kr-package:last-child{border-bottom:0!important}
body.em-shell-page .kr-package b{margin-bottom:7px}
body.em-shell-page .kr-legacy-price{display:block;margin:7px 0 4px;font-size:1.18rem;color:var(--white)}
body.em-shell-page .kr-state{border-radius:10px!important;padding:15px!important}
body.em-shell-page .kr-member{border:0!important;border-left:3px solid #20a874!important;border-radius:0!important;padding:12px 16px!important;margin-bottom:18px!important}
body.em-shell-page .ue-wrap{margin:36px auto 58px!important}
body.em-shell-page .ue-card{padding:clamp(16px,3vw,30px) 0!important}
body.em-shell-page .ue-step{border:0!important;border-left:2px solid var(--em22-line)!important;border-radius:0!important;background:transparent!important;padding:9px 14px!important}
/* Public EMDATE7 fees: ONE table, two visible date columns, gross total only. */
.em7-pricing{margin:clamp(24px,3vw,36px) 0 20px;padding:0!important;color:var(--v110-white,#f6f8fb)}
.em7-pricing-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.em7-pricing-eyebrow{display:block;font-size:.65rem;color:var(--em22-red);font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px}
.em7-pricing-intro h2{font-family:'Manrope','DM Sans',sans-serif;font-size:clamp(1.6rem,2.8vw,2.45rem);letter-spacing:-.055em;font-weight:900;line-height:1.06;margin:0}
.em7-pricing-intro p{color:#92a5b7;font-size:.85rem;margin:0;line-height:1.45}
.em7-pricing-table{border-top:1px solid var(--em22-line);border-bottom:1px solid var(--em22-line);width:100%}
.em7-price-row{display:grid;grid-template-columns:minmax(175px,1.1fr) minmax(180px,1fr) minmax(180px,1fr);align-items:center;gap:12px;padding:17px 8px;border-bottom:1px solid var(--em22-line)}
.em7-price-row:last-child{border-bottom:0}
.em7-price-row:not(.em7-price-header) strong{font-size:1.02rem;font-weight:800;letter-spacing:-.02em}
.em7-price-header{padding-top:11px;padding-bottom:11px;color:#9caec0;font-size:.77rem;font-weight:800;letter-spacing:.015em}
.em7-price-header>span.is-current{color:var(--em22-red)}
.em7-price-header small{margin-left:8px;font-size:.62rem;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
.em7-price-value{display:flex;align-items:center;gap:6px}
.em7-price-value b{font-family:'Manrope','DM Sans',sans-serif;font-size:clamp(1.15rem,1.9vw,1.52rem);font-weight:900;letter-spacing:-.045em;white-space:nowrap}
.em7-price-value.is-current b{color:var(--em22-red)}
.em7-price-value>small{display:none}
body.platform-body .em7-pricing{margin:26px 0 36px}
/* Light and clinical theme readability: no dark-on-dark pricing or dimmed headings. */
html[data-theme="light"] .em7-pricing,html[data-theme="clinical"] .em7-pricing{color:#142435}
html[data-theme="light"] .em7-pricing-intro p,html[data-theme="clinical"] .em7-pricing-intro p{color:#4e6578}
html[data-theme="light"] .em7-price-header,html[data-theme="clinical"] .em7-price-header{color:#4b6074}
html[data-theme="light"] body.platform-body :is(.content-card,.platform-module,.history-card,.gallery-item,.archive-card,.gallery-auth,.program-card,.info-card),html[data-theme="clinical"] body.platform-body :is(.content-card,.platform-module,.history-card,.gallery-item,.archive-card,.gallery-auth,.program-card,.info-card){background:rgba(38,67,89,.055)!important;color:#1c2e42!important}
html[data-theme="light"] body.em-shell-page .kr-legacy-price,html[data-theme="clinical"] body.em-shell-page .kr-legacy-price{color:#183247}
/* Balance mobile layouts without horizontal scroll. */
@media(max-width:1180px){body.em-shell-page .kr-layout{grid-template-columns:minmax(0,1fr) 235px!important}}
@media(max-width:900px){body.platform-body .page-hero-inner{grid-template-columns:1fr!important;padding:48px 0!important}body.platform-body .page-hero-badge{justify-self:start!important}body.platform-body .section-head{gap:15px!important}body.em-shell-page .kr-layout{grid-template-columns:1fr!important}body.em-shell-page .kr-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px!important}body.em-shell-page .kr-hero{grid-template-columns:1fr!important}body.em-shell-page .kr-meta{padding-left:16px!important}}
@media(max-width:650px){
  body.platform-body .section.v110-indexed-section{padding:55px 0!important}
  body.platform-body .section:not(.v110-indexed-section){padding:38px 0!important}
  body.platform-body .section-head h2{font-size:clamp(2.3rem,9.5vw,3.5rem)!important}
  body.platform-body .content-card{min-height:0!important;padding:19px!important}
  body.platform-body .platform-module{min-height:230px!important}
  body.platform-body .history-card{min-height:170px!important}
  body.em-shell-page .kr-wrap{width:calc(100% - 28px)!important;margin-top:16px!important}
  body.em-shell-page .kr-side{grid-template-columns:1fr!important}
  .em7-pricing-intro{display:block;margin-bottom:12px}
  .em7-pricing-intro p{margin-top:8px}
  .em7-price-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 15px;padding:15px 0}
  .em7-price-header{display:none}
  .em7-price-row:not(.em7-price-header)>strong{grid-column:1/-1;margin:0 0 2px;font-size:1.05rem}
  .em7-price-value{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
  .em7-price-value>small{display:block;color:#92a5b7;font-size:.67rem;font-weight:700;line-height:1.3}
  .em7-price-value b{font-size:clamp(1.06rem,4.5vw,1.38rem)}
  .em7-pricing{margin:22px 0}
}
@media(prefers-reduced-motion:reduce){.em-nav-caret{transition:none!important}}
