
.ea-global-banner{position:fixed;left:0;right:0;top:0;z-index:99990;background:#991b1b;color:#fff;border-bottom:4px solid #5b1010;box-shadow:0 3px 12px rgba(0,0,0,.28)}
.ea-global-banner.training{background:#b45309;border-bottom-color:#78350f}.ea-global-banner.hidden,.ea-modal.hidden{display:none!important}
.ea-banner-inner{max-width:1400px;margin:auto;padding:10px 18px}#ea-banner-title{font-size:18px}#ea-banner-body{font-size:13px;margin-top:3px}
.ea-modal{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.62);display:flex;align-items:center;justify-content:center;padding:24px}
.ea-modal-box{width:min(720px,94vw);background:#fff;border:6px solid #991b1b;border-radius:12px;padding:24px;box-shadow:0 15px 60px rgba(0,0,0,.45)}
.ea-training-label{font-size:26px;font-weight:900;color:#b45309;letter-spacing:.15em}.ea-modal-type{font-weight:800;margin-top:10px;color:#991b1b}.ea-modal-box h2{font-size:30px;margin:8px 0}.ea-modal-body{white-space:pre-wrap;font-size:17px;line-height:1.7}.ea-modal-actions{text-align:right;margin-top:20px}
.ea-crisis-top{background:#fff0f0;border:3px solid #b91c1c;border-radius:10px;padding:14px 16px;margin:0 0 14px}.ea-crisis-top.training{background:#fff7ed;border-color:#d97706}.ea-crisis-kicker{font-weight:900;color:#b91c1c}.ea-crisis-title{font-size:21px;font-weight:900;margin-top:3px}.ea-crisis-meta{font-size:13px;margin-top:4px}.ea-crisis-body{margin-top:8px;white-space:pre-wrap}
.ea-panel{border:1px solid #d8dde3;border-radius:9px;background:#fff;padding:16px;margin-top:14px}.ea-panel textarea{min-height:100px;width:100%}.ea-active-status{padding:12px;background:#fff7ed;border:2px solid #d97706;border-radius:8px}
.ea-toggle-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 6px;border-bottom:1px solid #e5e7eb}.ea-toggle-row input{width:auto}
.ea-region-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #e5e7eb}
.ea-sound-row{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(220px,1.5fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #e5e7eb}.ea-actions{display:flex;gap:6px}.ea-sound-row input[type=file]{width:100%}
@media(max-width:800px){.ea-sound-row{grid-template-columns:1fr}.ea-actions{flex-wrap:wrap}.ea-toggle-row{align-items:flex-start;flex-direction:column}}

.ea-child-tabs{margin-top:14px;margin-bottom:6px}
.ea-child-pane.hidden{display:none!important}
.ea-child-pane .ea-panel{margin-top:10px}
.ea-panel select{min-width:220px}
#eaMunicipality:disabled{opacity:.65}

/* v12: persistent compact alert below main navigation */
.ea-alert-summary{
 display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;
 border:0;border-bottom:2px solid #b91c1c;background:#fff1f2;color:#7f1d1d;
 padding:9px 16px;text-align:left;cursor:pointer;font:inherit;
}
.ea-alert-summary:hover{background:#ffe4e6}
.ea-alert-summary.training{background:#fff7ed;color:#9a3412;border-bottom-color:#d97706}
.ea-alert-summary.hidden{display:none!important}
.ea-alert-summary-badge{font-weight:900;border:1px solid currentColor;border-radius:4px;padding:2px 6px;white-space:nowrap}
.ea-alert-summary-type{font-weight:900;white-space:nowrap}
.ea-alert-summary-headline{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ea-alert-summary-area{font-size:12px;white-space:nowrap}
.ea-alert-summary-arrow{margin-left:auto;font-size:12px;white-space:nowrap;font-weight:700}

.ea-alert-crisis-detail{
 margin:14px 0;padding:16px;border:3px solid #b91c1c;border-radius:10px;
 background:#fff7f7;color:#3f0d0d;
}
.ea-alert-crisis-detail.training{border-color:#d97706;background:#fffaf0;color:#7c2d12}
.ea-alert-detail-kicker{font-size:13px;font-weight:900;letter-spacing:.06em}
.ea-alert-crisis-detail h3{margin:4px 0 8px;font-size:24px}
.ea-alert-detail-headline{font-size:18px;font-weight:800;margin-bottom:12px}
.ea-alert-crisis-detail dl{margin:0 0 12px}
.ea-alert-crisis-detail dl>div{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:5px 0;border-bottom:1px solid rgba(0,0,0,.08)}
.ea-alert-crisis-detail dt{font-weight:800}.ea-alert-crisis-detail dd{margin:0}
.ea-alert-detail-body{padding:12px;background:#fff;border-radius:7px;line-height:1.7}
.ea-alert-detail-note{font-size:12px;margin-top:10px;opacity:.8}

@media(max-width:800px){
 .ea-alert-summary{flex-wrap:wrap;gap:6px 8px}
 .ea-alert-summary-headline{width:100%;order:3}
 .ea-alert-summary-area{order:4}
 .ea-alert-summary-arrow{order:5;margin-left:0;width:100%}
 .ea-alert-crisis-detail dl>div{grid-template-columns:1fr}
}

/* v13: duplicate page heading suppression handled by JS */

/* v14: management lock button aligned to the right of the account-management tab row */
.ea-admin-tabs-row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 width:100%;
}
.ea-admin-tabs-row > .tabs{
 flex:1 1 auto;
 margin:0;
}
.ea-admin-lock-button{
 flex:0 0 auto;
 margin-left:auto;
 white-space:nowrap;
}
@media(max-width:800px){
 .ea-admin-tabs-row{
  flex-wrap:wrap;
 }
 .ea-admin-tabs-row > .tabs{
  flex:1 1 100%;
 }
 .ea-admin-lock-button{
  margin-left:auto;
 }
}

/* v15 legacy SiteLock header styles disabled in v16 */
.ea-header-right{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:14px;
 margin-left:auto;
}
.ea-header-right #userbox{
 margin:0;
}
.ea-sitelock-badge{
 display:flex;
 align-items:center;
 justify-content:center;
 flex:0 0 auto;
 line-height:0;
 text-decoration:none;
}
.ea-sitelock-badge img{
 display:block;
 max-height:44px;
 width:auto;
 max-width:150px;
 object-fit:contain;
}
@media(max-width:900px){
 .ea-header-right{gap:8px}
 .ea-sitelock-badge img{max-height:34px;max-width:120px}
}
@media(max-width:640px){
 .ea-header-right{flex-wrap:wrap;justify-content:flex-end}
 .ea-sitelock-badge img{max-height:30px;max-width:105px}
}

/* v16: SiteLock badges in footer, right-aligned, one horizontal row */
.ea-sitelock-footer{
 margin-left:auto;
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:10px;
 flex:0 0 auto;
 white-space:nowrap;
}
.ea-sitelock-footer-badge{
 display:flex;
 align-items:center;
 justify-content:center;
 line-height:0;
 text-decoration:none;
 flex:0 0 auto;
}
.ea-sitelock-footer-badge img{
 display:block;
 max-height:42px;
 width:auto;
 max-width:145px;
 object-fit:contain;
}
#systemFooter .system-footer-inner{
 display:flex;
 align-items:center;
 width:100%;
}
@media(max-width:900px){
 .ea-sitelock-footer{gap:6px}
 .ea-sitelock-footer-badge img{max-height:34px;max-width:120px}
}
@media(max-width:640px){
 #systemFooter .system-footer-inner{flex-wrap:wrap}
 .ea-sitelock-footer{
  width:100%;
  margin-top:8px;
  justify-content:flex-end;
  flex-wrap:nowrap;
 }
 .ea-sitelock-footer-badge img{max-height:30px;max-width:105px}
}
