/* Frontend certificate verification card design */
.ebm-verify-page{max-width:860px;margin:24px 0 30px;font-family:inherit;color:#2d2d2d}.ebm-verify-title-wrap{margin:0 0 18px}.ebm-verify-title-wrap h2{margin:0;font-size:34px;line-height:1.2;font-weight:800;color:#2b2f33}.ebm-verify-title-line{display:block;width:52px;height:3px;background:#168a22;margin-top:14px;border-radius:4px}.ebm-verify-search-card,.ebm-verify-result-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;box-shadow:0 6px 18px rgba(28,60,90,.12);box-sizing:border-box}.ebm-verify-search-card{padding:24px 28px;margin:0 0 26px}.ebm-verify-form label{display:block;font-size:18px;font-weight:800;margin:0 0 12px;color:#222}.ebm-verify-input-row{display:flex;gap:18px;align-items:center}.ebm-verify-input-row input[type=text]{flex:1;min-width:0;width:100%;height:54px;border:1px solid #d5dadd;border-radius:7px;padding:0 16px;font-size:18px;background:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-sizing:border-box}.ebm-verify-input-row button{height:54px;min-width:170px;border:0;border-radius:7px;background:#128318;color:#fff;font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 3px 8px rgba(18,131,24,.22);transition:filter .15s ease,transform .15s ease}.ebm-verify-input-row button:hover{filter:brightness(.94);transform:translateY(-1px)}.ebm-verify-result-card{padding:26px 28px;margin-top:0}.ebm-verify-status-head{display:flex;gap:20px;align-items:center;margin-bottom:22px}.ebm-verify-status-head h3{margin:0 0 6px;font-size:26px;line-height:1.2;font-weight:800;color:#0c7715}.ebm-verify-status-head p{margin:0;color:#666;font-size:16px}.ebm-verify-status-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 62px;width:62px;height:62px;border-radius:50%;background:#0d8b18;color:#fff;font-size:38px;font-weight:800;line-height:1;box-shadow:0 4px 10px rgba(13,139,24,.22)}.ebm-verify-notfound .ebm-verify-status-icon,.ebm-verify-status-revoked .ebm-verify-status-icon,.ebm-verify-status-expired .ebm-verify-status-icon{background:#b32d2e}.ebm-verify-notfound .ebm-verify-status-head h3,.ebm-verify-status-revoked .ebm-verify-status-head h3,.ebm-verify-status-expired .ebm-verify-status-head h3{color:#b32d2e}.ebm-verify-info-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1e5e8;border-radius:12px;overflow:hidden;background:#fff}.ebm-verify-info-col{padding:12px 26px}.ebm-verify-info-col-right{border-left:1px dashed #d6dce0}.ebm-verify-info-item{display:grid;grid-template-columns:42px 1fr;gap:16px;align-items:center;padding:15px 0;border-bottom:1px solid #e7eaed}.ebm-verify-info-item:last-child{border-bottom:0}.ebm-verify-info-item strong{display:block;font-size:15px;line-height:1.3;color:#222;margin-bottom:4px;font-weight:800}.ebm-verify-info-item span:not(.ebm-verify-item-icon):not(.ebm-verify-status-pill){display:block;font-size:16px;line-height:1.35;color:#333}.ebm-verify-item-icon{width:30px;height:30px;border:2px solid #1c39d3;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;position:relative}.ebm-verify-item-icon:before{content:"";display:block;width:12px;height:12px;border:2px solid #1c39d3;border-radius:2px;box-sizing:border-box}.ebm-icon-user{border-radius:50%;border-width:0}.ebm-icon-user:before{width:13px;height:13px;border-radius:50%;position:absolute;top:3px}.ebm-icon-user:after{content:"";width:24px;height:12px;border:2px solid #1c39d3;border-radius:18px 18px 6px 6px;position:absolute;bottom:1px;box-sizing:border-box}.ebm-icon-building:before{width:18px;height:16px;border-radius:0}.ebm-icon-building:after{content:"";width:24px;height:4px;background:#1c39d3;position:absolute;bottom:2px}.ebm-icon-calendar:before{width:18px;height:18px;border-radius:2px}.ebm-icon-calendar:after{content:"";width:18px;height:3px;background:#1c39d3;position:absolute;top:8px}.ebm-icon-shield{border-radius:50%;border-width:0}.ebm-icon-shield:before{width:20px;height:24px;border-radius:7px 7px 10px 10px;transform:skewY(-7deg)}.ebm-icon-briefcase:before{width:18px;height:13px;border-radius:2px}.ebm-icon-briefcase:after{content:"";width:12px;height:5px;border:2px solid #1c39d3;border-bottom:0;position:absolute;top:2px;border-radius:4px 4px 0 0}.ebm-verify-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 13px;border-radius:999px;font-size:15px;font-weight:800}.ebm-pill-valid{background:#d9f7dc;color:#0d7717}.ebm-pill-revoked,.ebm-pill-expired{background:#fde3e3;color:#a22020}@media(max-width:900px){.ebm-verify-page{max-width:100%;margin-left:0;margin-right:0}.ebm-verify-input-row{flex-direction:column;align-items:stretch}.ebm-verify-input-row button{width:100%;min-width:0}.ebm-verify-info-grid{grid-template-columns:1fr}.ebm-verify-info-col-right{border-left:0;border-top:1px dashed #d6dce0}.ebm-verify-title-wrap h2{font-size:30px}}@media(max-width:520px){.ebm-verify-search-card,.ebm-verify-result-card{padding:20px 16px}.ebm-verify-status-head{align-items:flex-start}.ebm-verify-status-icon{width:50px;height:50px;flex-basis:50px;font-size:30px}.ebm-verify-info-col{padding:8px 16px}.ebm-verify-info-item{grid-template-columns:34px 1fr;gap:12px}.ebm-verify-item-icon{width:26px;height:26px}}

/* v1.0.12.28 - Verification icons: clean SVG line icons like preview design */
.ebm-verify-status-icon svg,
.ebm-verify-item-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ebm-verify-status-icon{color:#fff}
.ebm-verify-status-icon svg{width:38px;height:38px;stroke-width:2.6}
.ebm-verify-item-icon{border:0 !important;border-radius:0 !important;width:34px !important;height:34px !important;color:#1c39d3;background:transparent !important;box-shadow:none !important;display:inline-flex;align-items:center;justify-content:center;position:relative}
.ebm-verify-item-icon:before,
.ebm-verify-item-icon:after{content:none !important;display:none !important}
.ebm-verify-item-icon svg{width:32px;height:32px;stroke:#1c39d3;stroke-width:1.9}
.ebm-icon-user:before,.ebm-icon-user:after,
.ebm-icon-building:before,.ebm-icon-building:after,
.ebm-icon-calendar:before,.ebm-icon-calendar:after,
.ebm-icon-shield:before,.ebm-icon-shield:after,
.ebm-icon-briefcase:before,.ebm-icon-briefcase:after{content:none !important;display:none !important}
.ebm-verify-info-item{grid-template-columns:46px 1fr}
@media(max-width:520px){.ebm-verify-item-icon{width:30px !important;height:30px !important}.ebm-verify-item-icon svg{width:28px;height:28px}.ebm-verify-info-item{grid-template-columns:38px 1fr}.ebm-verify-status-icon svg{width:31px;height:31px}}

/* v1.0.12.29 - sharper professional verification icons */
.ebm-verify-item-icon{
    width:40px !important;
    height:40px !important;
    border-radius:12px !important;
    color:#173fd6 !important;
    background:linear-gradient(180deg,#f7faff 0%,#eef4ff 100%) !important;
    border:1px solid #dce6ff !important;
    box-shadow:0 3px 8px rgba(23,63,214,.08) !important;
}
.ebm-verify-item-icon svg{
    width:25px !important;
    height:25px !important;
    stroke:currentColor !important;
    stroke-width:2.35 !important;
    vector-effect:non-scaling-stroke;
    shape-rendering:geometricPrecision;
}
.ebm-verify-status-icon{
    background:linear-gradient(180deg,#13a424 0%,#087a14 100%) !important;
    box-shadow:0 6px 14px rgba(13,139,24,.28) !important;
}
.ebm-verify-status-icon svg{
    width:36px !important;
    height:36px !important;
    stroke-width:3 !important;
    vector-effect:non-scaling-stroke;
    shape-rendering:geometricPrecision;
}
.ebm-verify-notfound .ebm-verify-status-icon,
.ebm-verify-status-revoked .ebm-verify-status-icon,
.ebm-verify-status-expired .ebm-verify-status-icon{
    background:linear-gradient(180deg,#dc3a3a 0%,#aa2020 100%) !important;
}
@media(max-width:520px){
    .ebm-verify-item-icon{width:36px !important;height:36px !important;border-radius:10px !important}
    .ebm-verify-item-icon svg{width:23px !important;height:23px !important}
}

/* v1.0.12.31 - Frontend Editor/Reviewer application form */
.ebm-application-form-wrap{max-width:760px;margin:24px auto;background:#fff;border:1px solid #dde3ea;border-radius:14px;box-shadow:0 6px 18px rgba(28,60,90,.10);padding:22px;box-sizing:border-box}
.ebm-application-form h3{margin:0 0 18px;font-size:26px;line-height:1.25;font-weight:800;color:#1f2933}
.ebm-application-form p{margin:0 0 15px}.ebm-application-form label{display:block;font-weight:700;margin-bottom:6px;color:#222}.ebm-application-form label span{color:#b32d2e}
.ebm-application-form input[type=text],.ebm-application-form input[type=email],.ebm-application-form input[type=tel],.ebm-application-form input[type=url],.ebm-application-form input[type=number],.ebm-application-form input[type=file],.ebm-application-form select,.ebm-application-form textarea{width:100%;min-height:44px;border:1px solid #cfd7df;border-radius:8px;padding:9px 12px;box-sizing:border-box;background:#fff;font-size:15px}
.ebm-application-form textarea{min-height:110px}.ebm-application-form small{display:block;margin-top:5px;color:#667085;font-size:13px;line-height:1.45}.ebm-app-submit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:8px;background:#128318;color:#fff;font-weight:800;padding:0 20px;cursor:pointer}.ebm-app-submit:hover{filter:brightness(.94)}
.ebm-app-profile-links{margin:0 0 15px;border:1px solid #d8e0e8;border-radius:8px;background:#f8fafc;overflow:hidden}
.ebm-app-profile-links summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;font-weight:700;color:#194a7d}
.ebm-app-profile-links summary::-webkit-details-marker{display:none}
.ebm-app-profile-links summary span{color:#667085;font-size:13px;font-weight:600}
.ebm-app-profile-links summary:after{content:'+';font-size:20px;line-height:1;color:#194a7d}
.ebm-app-profile-links[open] summary{border-bottom:1px solid #d8e0e8}
.ebm-app-profile-links[open] summary:after{content:'−'}
.ebm-app-profile-links-body{padding:14px 14px 1px;background:#fff}
.ebm-application-form .ebm-captcha-answer{width:120px!important;max-width:120px;display:block}
@media(max-width:640px){.ebm-application-form .ebm-captcha-answer{width:110px!important;max-width:110px}}

.ebm-app-success,.ebm-app-error{padding:12px 14px;border-radius:8px;margin:0 0 18px;font-weight:600}.ebm-app-success{background:#e8f8ec;color:#0d7717;border:1px solid #bfe9c7}.ebm-app-error{background:#fff0f0;color:#a22020;border:1px solid #f1c1c1}
.ebm-applications-list td,.ebm-applications-list th{vertical-align:middle}.ebm-applications-list small{color:#666}
@media(max-width:640px){.ebm-application-form-wrap{margin:16px 0;padding:18px;border-radius:10px}.ebm-application-form h3{font-size:22px}}
.ebm-app-success-card{padding:22px 24px;text-align:left;font-weight:600;line-height:1.6}
.ebm-app-success-card h3{margin:0 0 10px;color:#0d7717;font-size:24px;line-height:1.25}
.ebm-app-success-card p{margin:0 0 12px}
.ebm-app-home-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:8px;background:#128318;color:#fff!important;text-decoration:none!important;font-weight:800;padding:0 16px;border:0}
.ebm-app-home-btn:hover{filter:brightness(.94)}
/* v7.6 - Public Editorial Board / Reviewer profile photo crop refined */
.ebm-public-board-wrap{
    width:100%;
    margin:24px auto;
}
.ebm-public-board-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(440px,1fr));
    gap:20px;
}
.ebm-public-member-card{
    background:#fff;
    border:1px solid #dfe6ee;
    border-radius:16px;
    box-shadow:0 8px 22px rgba(24,44,68,.08);
    padding:18px 22px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    gap:24px;
    min-height:210px;
}
.ebm-public-avatar{
    flex:0 0 160px;
    max-width:160px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ebm-public-avatar img,
.ebm-public-initial-avatar{
    width:140px;
    height:140px;
    border-radius:50%;
    border:4px solid #eef4fb;
    box-shadow:0 4px 12px rgba(20,48,78,.12);
    background:#eef4fb;
    display:block;
    box-sizing:border-box;
}
.ebm-public-avatar img{
    object-fit:cover;
    object-position:center top;
    image-rendering:auto;
}
.ebm-public-avatar img.ebm-public-default-avatar{
    object-fit:contain;
    object-position:center;
    padding:22px;
}
.ebm-public-initial-avatar{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#194a7d;
    font-size:42px;
    font-weight:800;
    letter-spacing:0;
    background:linear-gradient(135deg,#eef6ff,#f7fbff);
}
.ebm-public-info{
    flex:1 1 auto;
    max-width:calc(100% - 194px);
    min-width:0;
    text-align:left;
}
.ebm-public-info h3{
    margin:0 0 6px;
    font-size:21px;
    line-height:1.3;
    color:#17212b;
    font-weight:800;
}

.ebm-public-journal-role{
    display:block !important;
    width:max-content;
    clear:both;
    max-width:100%;
    font-weight:800;
    color:#7a2e00;
    background:#fff4e8;
    border:1px solid #ffd4a3;
    border-radius:999px;
    padding:4px 10px;
    margin:0 0 8px 0;
    float:none !important;
}

.ebm-public-role-break{display:block !important;clear:both;width:100%;height:0;line-height:0;font-size:0;}
.ebm-public-role{
    display:block !important;
    width:max-content;
    max-width:100%;
    clear:both;
    float:none !important;
    font-weight:700;
    color:#194a7d;
    background:#eef6ff;
    border:1px solid #dcecff;
    border-radius:999px;
    padding:4px 10px;
    margin:0 0 10px;
    font-size:13px;
}
.ebm-public-meta-list{
    margin:4px 0 10px;
    color:#4f5f70;
    font-size:14px;
    line-height:1.45;
}
.ebm-public-meta-item{
    margin:4px 0;
    display:flex;
    gap:6px;
    align-items:flex-start;
}
.ebm-meta-label{
    color:#1f2933;
    font-weight:700;
    flex:0 0 auto;
}
.ebm-public-contact-link{
    color:#194a7d;
    text-decoration:none;
    min-width:0;
    overflow-wrap:anywhere;
    word-break:break-word;
}
.ebm-public-contact-link:hover{text-decoration:underline}
.ebm-profile-icons{
    margin:12px 0 10px;
    display:flex;
    gap:8px;
    justify-content:flex-start;
    align-items:center;
    flex-wrap:wrap;
}
.ebm-profile-icon{
    width:36px;
    height:36px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none!important;
    border:1px solid #d6dde6;
    background:#fff;
    color:#1f2933!important;
    overflow:hidden;
    box-shadow:0 1px 4px rgba(15,23,42,.08);
}
.ebm-profile-icon img{
    width:24px;
    height:24px;
    display:block;
    object-fit:contain;
}
.ebm-profile-icon:hover{
    transform:translateY(-1px);
    box-shadow:0 3px 9px rgba(15,23,42,.14);
}
.ebm-public-profile-details{
    margin-top:8px;
    text-align:left;
    border-top:1px solid #edf1f5;
    padding-top:10px;
}
.ebm-public-profile-details summary{
    cursor:pointer;
    font-weight:800;
    color:#194a7d;
    list-style:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
}
.ebm-public-profile-details summary::-webkit-details-marker{display:none}
.ebm-public-profile-details summary:after{content:'+';display:inline-block;margin-left:4px}
.ebm-public-profile-details[open] summary:after{content:'–'}
.ebm-public-profile-body{
    margin-top:12px;
    color:#344054;
    font-size:14px;
    line-height:1.55;
}
.ebm-public-profile-body p{margin:0 0 10px}
.ebm-public-profile-body dl{margin:0;display:grid;grid-template-columns:95px 1fr;gap:6px 10px}
.ebm-public-profile-body dt{font-weight:800;color:#17212b}
.ebm-public-profile-body dd{margin:0;color:#56616d}
.ebm-public-empty{
    background:#fff;
    border:1px solid #dde3ea;
    border-radius:10px;
    padding:18px;
    color:#56616d;
}
.ebm-public-bio{
    margin:10px 0 12px;
    color:#4b5563;
    font-size:13px;
    line-height:1.55;
}

.ebm-public-profile-details[open] summary:after{content:'-'}

/* v7.7.33 - Keep public member cards inside narrow theme content columns. */
@media(max-width:640px){
    .ebm-public-board-wrap{max-width:100%;min-width:0;margin:18px 0}
    .ebm-public-board-grid{grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
    .ebm-public-member-card{width:100%;min-width:0;min-height:0;flex-direction:column;align-items:center;gap:14px;padding:18px 16px;border-radius:8px}
    .ebm-public-avatar{flex:0 0 auto;max-width:100%}
    .ebm-public-avatar img,.ebm-public-initial-avatar{width:126px;height:126px}
    .ebm-public-info{width:100%;max-width:100%;min-width:0;text-align:center}
    .ebm-public-info h3{overflow-wrap:anywhere;word-break:normal}
    .ebm-public-journal-role,.ebm-public-role{width:auto;max-width:100%;margin-left:auto;margin-right:auto;white-space:normal;overflow-wrap:anywhere}
    .ebm-public-meta-list{text-align:left}
    .ebm-public-meta-item{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px}
    .ebm-public-meta-item span:last-child{min-width:0;overflow-wrap:anywhere}
    .ebm-profile-icons{justify-content:center}
}

/* v1.0.12.62 - Reliable frontend file upload controls */
.ebm-file-upload-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%}
.ebm-application-form input[type=file].ebm-real-file{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ebm-file-trigger{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;border-radius:8px!important;background:#f3f6f9!important;border:1px solid #b8c4d0!important;color:#1f2933!important;font-weight:700!important;padding:0 14px!important;cursor:pointer!important;text-decoration:none!important;line-height:1!important}
.ebm-file-trigger:hover{background:#e9eef4!important}
.ebm-file-name{display:inline-block;max-width:100%;font-size:14px;color:#475467;word-break:break-word}

/* Keep dynamic email label text same color as other labels; only required star stays red. */
.ebm-application-form label .ebm-email-label-text{color:inherit !important}

/* v4.4 - Center certificate verification box only; do not alter theme sidebar/Call for Paper area */
body.ebm-certificate-verification-page .ebm-verify-page,
body.ebm-certificate-verification-page .ebm-verify-page-fullwidth{
    max-width:860px;
    margin:24px auto 30px !important;
    float:none !important;
    display:block;
}
body.ebm-certificate-verification-page .ebm-verify-title-wrap{
    text-align:left;
}
body.ebm-certificate-verification-page .ebm-verify-search-card{
    width:100%;
    max-width:760px;
    margin-left:auto !important;
    margin-right:auto !important;
}
body.ebm-certificate-verification-page .ebm-verify-result-card{
    width:100%;
    max-width:860px;
    margin-left:auto !important;
    margin-right:auto !important;
}
@media(max-width:900px){
    body.ebm-certificate-verification-page .ebm-verify-page,
    body.ebm-certificate-verification-page .ebm-verify-page-fullwidth{
        max-width:100%;
        margin-left:0 !important;
        margin-right:0 !important;
    }
    body.ebm-certificate-verification-page .ebm-verify-search-card,
    body.ebm-certificate-verification-page .ebm-verify-result-card{
        max-width:100%;
    }
}

.ebm-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ebm-public-pagination{margin:24px 0 0}.ebm-public-pagination .page-numbers{display:flex;gap:7px;list-style:none;margin:0;padding:0;justify-content:center;flex-wrap:wrap}.ebm-public-pagination a,.ebm-public-pagination span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #d3dce6;border-radius:8px;text-decoration:none;background:#fff;color:#194a7d;padding:0 9px;box-sizing:border-box}.ebm-public-pagination .current{background:#194a7d;color:#fff;border-color:#194a7d}

/* v7.7.52 - Compact all frontend application forms and narrow-screen layouts. */
.ebm-application-form-wrap,.ebm-verify-page,.ebm-public-board-wrap{box-sizing:border-box;min-width:0}
.ebm-application-form-wrap{margin-top:18px;margin-bottom:18px;padding:18px;border-radius:12px}
.ebm-application-form h3{margin-bottom:14px;font-size:24px}
.ebm-application-form p{margin-bottom:10px}
.ebm-application-form label{margin-bottom:4px;font-size:15px;line-height:1.35}
.ebm-application-form input[type=text],.ebm-application-form input[type=email],.ebm-application-form input[type=tel],.ebm-application-form input[type=url],.ebm-application-form input[type=number],.ebm-application-form select,.ebm-application-form textarea{min-height:40px;padding:7px 10px}
.ebm-application-form small{margin-top:3px;font-size:12.5px;line-height:1.35}
.ebm-application-form .ebm-file-upload-field{gap:8px}
.ebm-application-form .ebm-file-trigger{min-height:36px;padding:0 12px!important}
.ebm-application-form .ebm-file-name{font-size:13px}
.ebm-application-form .ebm-app-submit{min-height:40px;padding-left:18px;padding-right:18px}
.ebm-application-form .ebm-app-profile-links{margin-bottom:10px}
.ebm-application-form .ebm-app-profile-links summary{padding:9px 12px}
.ebm-application-form .ebm-app-profile-links-body{padding:10px 12px 1px}
.ebm-public-info h3,.ebm-public-meta-item span:last-child{overflow-wrap:anywhere}
@media(max-width:640px){
    .ebm-application-form-wrap{padding:14px;margin:12px 0}
    .ebm-application-form h3{margin-bottom:12px;font-size:21px}
    .ebm-application-form p{margin-bottom:10px}
    .ebm-application-form label{margin-bottom:4px}
    .ebm-application-form input[type=text],.ebm-application-form input[type=email],.ebm-application-form input[type=tel],.ebm-application-form input[type=url],.ebm-application-form input[type=number],.ebm-application-form select,.ebm-application-form textarea{font-size:16px}
    .ebm-public-member-card{padding:16px 14px;gap:12px}
    .ebm-public-avatar img,.ebm-public-initial-avatar{width:116px;height:116px}
    .ebm-public-info h3{font-size:19px}
}
@media(max-width:960px){
    html:has(.ebm-application-form-wrap),
    body:has(.ebm-application-form-wrap){max-width:100%;overflow-x:hidden;overflow-x:clip}
    body:has(.ebm-application-form-wrap) #page,
    body:has(.ebm-application-form-wrap) #wpadminbar{max-width:100%!important;overflow-x:hidden;overflow-x:clip}
}
@media(max-width:520px){
    .ebm-app-success-card{padding:16px 14px;line-height:1.45;font-weight:500}
    .ebm-app-success-card h3{font-size:21px;margin-bottom:8px}
    .ebm-app-success-card p{margin-bottom:10px}
    body.ebm-certificate-verification-page .entry-title,
    body.ebm-certificate-verification-page .page-title{
        max-width:100%;
        font-size:26px;
        line-height:1.2;
        white-space:normal;
        overflow-wrap:anywhere;
    }
    .ebm-verify-page{margin-top:14px;margin-bottom:20px}
    .ebm-verify-search-card,.ebm-verify-result-card{padding:16px 14px;margin-bottom:18px;border-radius:8px}
    .ebm-verify-form label{font-size:16px;margin-bottom:8px}
    .ebm-verify-input-row{gap:10px}
    .ebm-verify-input-row input[type=text],.ebm-verify-input-row button{height:46px;font-size:16px}
    .ebm-verify-status-head{gap:12px;margin-bottom:16px}
    .ebm-verify-status-head h3{font-size:22px}
    .ebm-verify-status-head p{font-size:15px}
    .ebm-verify-info-col{padding:6px 12px}
    .ebm-verify-info-item{padding:12px 0}
}

/* v7.8.0 - Lightweight custom reviewer account screens. */
.ebm-reviewer-auth-wrap{box-sizing:border-box;max-width:620px;margin:24px auto;padding:0 14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.5;color:#1f2933}
.ebm-reviewer-auth-card{box-sizing:border-box;background:#fff;border:1px solid #dfe5ec;border-radius:12px;padding:22px;box-shadow:0 6px 24px rgba(24,57,91,.06)}
.ebm-reviewer-auth-card h3{margin:0 0 16px;font-size:24px;line-height:1.25}
.ebm-reviewer-auth-card p{margin:0 0 14px}
.ebm-reviewer-auth-card label{display:block;margin-bottom:5px;font-weight:600}
.ebm-reviewer-auth-card label span{color:#b42318}
.ebm-reviewer-auth-card input[type=email],.ebm-reviewer-auth-card input[type=password]{box-sizing:border-box;width:100%;min-height:44px;padding:8px 11px;border:1px solid #c8d2dc;border-radius:7px;background:#fff;font-size:16px}
.ebm-reviewer-auth-card input:focus{outline:2px solid rgba(25,74,125,.2);border-color:#194a7d}
.ebm-reviewer-auth-card small{display:block;margin-top:4px;color:#667085;font-size:12.5px}
.ebm-reviewer-auth-card .ebm-app-submit{min-height:42px;padding:0 18px;border:0;border-radius:7px;background:#194a7d;color:#fff;font-weight:600;cursor:pointer}
.ebm-reviewer-auth-card .ebm-app-submit:hover{background:#123b65}
.ebm-reviewer-auth-card .ebm-reviewer-login-options label{display:inline-flex;align-items:center;gap:7px;font-weight:400}
.ebm-reviewer-auth-card .ebm-app-error,.ebm-reviewer-auth-card .ebm-app-success{margin-bottom:14px;padding:10px 12px;border-radius:7px}
.ebm-reviewer-auth-card .ebm-app-error{background:#fff1f0;border:1px solid #f1b7b2;color:#8a1c13}
.ebm-reviewer-auth-card .ebm-app-success{background:#edf8f1;border:1px solid #b7dfc3;color:#176b35}
@media(max-width:640px){.ebm-reviewer-auth-wrap{margin:16px auto;padding:0 10px}.ebm-reviewer-auth-card{padding:17px 14px}.ebm-reviewer-auth-card h3{font-size:21px}}


/* v7.8.1 - Lightweight custom reviewer dashboard/profile */
.ebm-reviewer-portal-wrap{box-sizing:border-box;width:100%;max-width:1100px;margin:24px auto;padding:0 14px;color:#1f2933;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.5}
.ebm-reviewer-portal-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin:0 0 18px;padding:20px 22px;background:#fff;border:1px solid #dfe5ec;border-radius:12px;box-shadow:0 6px 24px rgba(24,57,91,.05)}
.ebm-reviewer-portal-head h2{margin:3px 0 2px;font-size:26px;line-height:1.25;color:#17212b}
.ebm-reviewer-portal-head p{margin:0;color:#667085;font-size:14px}
.ebm-reviewer-eyebrow{display:block;color:#194a7d;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ebm-reviewer-logout-link,.ebm-reviewer-primary-link,.ebm-reviewer-secondary-link,.ebm-reviewer-action-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:7px;text-decoration:none!important;font-weight:700;box-sizing:border-box}
.ebm-reviewer-logout-link,.ebm-reviewer-secondary-link{border:1px solid #cfd8e2;background:#fff;color:#344054!important}
.ebm-reviewer-primary-link,.ebm-reviewer-action-link{border:1px solid #194a7d;background:#194a7d;color:#fff!important}
.ebm-reviewer-auth-actions{display:flex;gap:10px;flex-wrap:wrap}
.ebm-reviewer-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
.ebm-reviewer-summary-card{display:flex;flex-direction:column;gap:3px;padding:16px 18px;background:#fff;border:1px solid #dfe5ec;border-radius:10px;text-decoration:none!important;color:#1f2933!important;box-shadow:0 3px 12px rgba(24,57,91,.035)}
.ebm-reviewer-summary-card span{font-size:25px;line-height:1;font-weight:800;color:#194a7d}
.ebm-reviewer-summary-card strong{font-size:13px}
.ebm-reviewer-portal-card{box-sizing:border-box;margin:0 0 18px;padding:20px 22px;background:#fff;border:1px solid #dfe5ec;border-radius:12px;box-shadow:0 4px 18px rgba(24,57,91,.04);scroll-margin-top:20px}
.ebm-reviewer-portal-card h3{margin:0 0 14px;font-size:20px;line-height:1.3;color:#17212b}
.ebm-reviewer-section-head p{margin:-8px 0 16px;color:#667085;font-size:13px;line-height:1.5}
.ebm-reviewer-empty{padding:14px;border:1px dashed #cfd8e2;border-radius:8px;background:#f8fafc;color:#667085}
.ebm-reviewer-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ebm-reviewer-work-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:760px;margin:0}
.ebm-reviewer-work-table th,.ebm-reviewer-work-table td{padding:11px 10px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle;font-size:14px}
.ebm-reviewer-work-table th{background:#f8fafc;color:#475467;font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.ebm-reviewer-work-table tr:last-child td{border-bottom:0}
.ebm-reviewer-work-table th:nth-child(1){width:15%}
.ebm-reviewer-work-table th:nth-child(2){width:35%}
.ebm-reviewer-work-table th:nth-child(3){width:8%}
.ebm-reviewer-work-table th:nth-child(4){width:15%}
.ebm-reviewer-work-table th:nth-child(5){width:12%}
.ebm-reviewer-work-table th:nth-child(6){width:15%}
.ebm-reviewer-paper-id strong{overflow-wrap:anywhere}
.ebm-reviewer-paper-title{color:#475467;line-height:1.45;overflow-wrap:anywhere}
.ebm-reviewer-action-link{min-height:36px;padding:0 12px;font-size:13.5px}
.ebm-reviewer-profile-form p{margin:0}
.ebm-reviewer-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.ebm-reviewer-profile-form label{display:block;margin:0 0 5px;font-size:14px;font-weight:700;color:#344054}
.ebm-reviewer-profile-form label span{color:#b42318}
.ebm-reviewer-profile-form input[type=text],.ebm-reviewer-profile-form input[type=email],.ebm-reviewer-profile-form input[type=tel],.ebm-reviewer-profile-form input[type=url],.ebm-reviewer-profile-form select,.ebm-reviewer-profile-form textarea{box-sizing:border-box;width:100%;min-height:42px;padding:8px 10px;border:1px solid #cfd8e2;border-radius:7px;background:#fff;color:#1f2933;font-size:15px}
.ebm-reviewer-profile-form input[readonly]{background:#f6f8fa;color:#667085}
.ebm-reviewer-profile-form textarea{min-height:92px;resize:vertical}
.ebm-reviewer-profile-form small{display:block;margin-top:4px;color:#667085;font-size:12px}
.ebm-reviewer-profile-wide{grid-column:1/-1}
.ebm-reviewer-profile-submit{margin-top:16px!important}
.ebm-reviewer-login-needed{max-width:620px;margin:0 auto}
@media(max-width:760px){.ebm-reviewer-portal-wrap{margin:16px auto;padding:0 10px}.ebm-reviewer-portal-head{padding:16px;align-items:flex-start}.ebm-reviewer-portal-head h2{font-size:22px}.ebm-reviewer-summary-grid{grid-template-columns:1fr}.ebm-reviewer-summary-card{flex-direction:row;align-items:center;gap:10px}.ebm-reviewer-summary-card span{min-width:32px}.ebm-reviewer-portal-card{padding:16px 14px}.ebm-reviewer-profile-grid{grid-template-columns:1fr}.ebm-reviewer-profile-wide{grid-column:auto}}

@media(max-width:760px){.ebm-reviewer-profile-panel{padding:16px 14px 18px}}

/* v7.8.11 - Reviewer work tables remain readable without horizontal clipping. */
.ebm-reviewer-portal-wrap,.ebm-reviewer-portal-wrap *{box-sizing:border-box}
.ebm-reviewer-portal-head h2,.ebm-reviewer-portal-card,.ebm-reviewer-profile-form label{overflow-wrap:anywhere}
@media(max-width:760px){
    .ebm-reviewer-table-scroll{overflow:visible}
    .ebm-reviewer-work-table{display:block;min-width:0;table-layout:auto}
    .ebm-reviewer-work-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
    .ebm-reviewer-work-table tbody,.ebm-reviewer-work-table tr,.ebm-reviewer-work-table td{display:block;width:100%;box-sizing:border-box}
    .ebm-reviewer-work-table tr{margin:0 0 14px;padding:8px 12px;border:1px solid #dfe5ec;border-radius:9px;background:#fff}
    .ebm-reviewer-work-table tr:last-child{margin-bottom:0}
    .ebm-reviewer-work-table td{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #edf1f5;align-items:start}
    .ebm-reviewer-work-table td::before{content:attr(data-label);color:#667085;font-size:12.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
    .ebm-reviewer-work-table td:last-child{border-bottom:0;align-items:center}
    .ebm-reviewer-work-table .ebm-reviewer-action-link{justify-self:start}
}

/* v7.8.10 - Consistent focused-workflow alignment.
 * Small reviewer account actions use centred headings/actions while form labels
 * remain left aligned. Long application forms keep left-aligned fields and a
 * centred page title / submit action. Reviewer dashboard tables stay left aligned. */
body.ebm-reviewer-auth-page .ebm-reviewer-auth-card h3{
    text-align:center;
}
body.ebm-reviewer-auth-page .ebm-reviewer-auth-card > p:not(.ebm-reviewer-login-options),
body.ebm-reviewer-auth-page .ebm-reviewer-auth-card > .ebm-app-success,
body.ebm-reviewer-auth-page .ebm-reviewer-auth-card > .ebm-app-error{
    text-align:center;
}
body.ebm-reviewer-auth-page .ebm-reviewer-auth-submit,
body.ebm-reviewer-auth-page .ebm-reviewer-auth-link{
    text-align:center;
}
body.ebm-reviewer-auth-page .ebm-reviewer-auth-actions{
    justify-content:center;
}
body.ebm-application-workflow-page .entry-title,
body.ebm-application-workflow-page .page-title,
body.ebm-application-workflow-page .entry-header h1,
body.ebm-application-workflow-page .page-header h1,
body.ebm-application-workflow-page .ebm-application-form > h3{
    text-align:center;
}
body.ebm-application-workflow-page .ebm-application-submit-row{
    text-align:center;
    margin-top:18px;
}
body.ebm-reviewer-dashboard-page .ebm-reviewer-empty{
    text-align:center;
}
body.ebm-reviewer-dashboard-page .ebm-reviewer-profile-submit{
    text-align:center;
}
@media(max-width:640px){
    body.ebm-reviewer-auth-page .ebm-reviewer-auth-submit .ebm-app-submit,
    body.ebm-application-workflow-page .ebm-application-submit-row .ebm-app-submit,
    body.ebm-reviewer-dashboard-page .ebm-reviewer-profile-submit .ebm-app-submit{
        width:100%;
        max-width:320px;
    }
}


/* v7.8.14 - Reviewer portal header actions. */
.ebm-reviewer-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
@media(max-width:760px){
  .ebm-reviewer-portal-head{gap:14px}
  .ebm-reviewer-head-actions{width:100%;justify-content:flex-start}
  .ebm-reviewer-head-actions .ebm-reviewer-logout-link{min-height:38px}
}


/* v7.8.15 - Reviewer system final UI/UX consistency. */
.ebm-reviewer-auth-card label{font-size:14px;color:#344054}
.ebm-reviewer-auth-card .ebm-app-submit,.ebm-reviewer-primary-link,.ebm-reviewer-secondary-link,.ebm-reviewer-logout-link,.ebm-reviewer-action-link,.ebm-reviewer-profile-link{font-size:14px}
.ebm-reviewer-summary-card{transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
a.ebm-reviewer-summary-card:hover{border-color:#b7c6d6;box-shadow:0 6px 18px rgba(24,57,91,.08);transform:translateY(-1px)}
a.ebm-reviewer-summary-card:focus-visible,.ebm-reviewer-primary-link:focus-visible,.ebm-reviewer-secondary-link:focus-visible,.ebm-reviewer-logout-link:focus-visible,.ebm-reviewer-action-link:focus-visible,.ebm-reviewer-auth-card a:focus-visible{outline:2px solid #194a7d;outline-offset:2px}
.ebm-reviewer-summary-card.is-empty{background:#fafbfc;color:#667085!important;box-shadow:none;cursor:default}
.ebm-reviewer-summary-card.is-empty span{color:#98a2b3}
.ebm-reviewer-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 9px;border:1px solid transparent;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.2;white-space:nowrap}
.ebm-reviewer-status-pill.is-invited{color:#184f85;background:#eef5fc;border-color:#c9dff2}
.ebm-reviewer-status-pill.is-progress{color:#7a4b00;background:#fff8e6;border-color:#ecd9a7}
.ebm-reviewer-status-pill.is-overdue{color:#9f1f17;background:#fff1f0;border-color:#efb9b4}
.ebm-reviewer-status-pill.is-complete{color:#176b35;background:#edf8f1;border-color:#b7dfc3}
.ebm-reviewer-status-pill.is-muted{color:#59636e;background:#f2f4f5;border-color:#d8dde1}
.ebm-reviewer-empty-overview{margin:0 0 18px;text-align:center}
.ebm-reviewer-profile-form input:focus,.ebm-reviewer-profile-form select:focus,.ebm-reviewer-profile-form textarea:focus{outline:2px solid rgba(25,74,125,.18);outline-offset:1px;border-color:#194a7d}
.ebm-reviewer-head-actions .ebm-reviewer-profile-link,.ebm-reviewer-head-actions .ebm-reviewer-logout-link{min-height:40px}
@media(max-width:760px){
  .ebm-reviewer-work-table td::before{font-size:12.5px}
  .ebm-reviewer-work-table td{grid-template-columns:minmax(104px,36%) minmax(0,1fr)}
}
@media(max-width:430px){
  .ebm-reviewer-work-table td{grid-template-columns:1fr;gap:3px}
  .ebm-reviewer-work-table td::before{margin-bottom:1px}
  .ebm-reviewer-head-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ebm-reviewer-head-actions .ebm-reviewer-profile-link,.ebm-reviewer-head-actions .ebm-reviewer-logout-link{width:100%}
}


/* v7.8.19 - Keep dynamic subject/expertise label text consistent with all other form labels; only the required asterisk remains red. */
.ebm-application-form label .ebm-subject-label-text{color:inherit !important}


/* v7.8.20 - Separate reviewer dashboard/profile workflow and compact application success state. */
.ebm-app-success-card{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:18px 20px;
    border:1px solid #b7dfc3;
    border-radius:10px;
    background:#f5fbf7;
    color:#1f2933;
    box-shadow:none;
    font-weight:400;
    line-height:1.5;
}
.ebm-app-success-icon{
    display:inline-flex;
    flex:0 0 34px;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#e1f4e7;
    color:#176b35;
    font-size:19px;
    font-weight:800;
    line-height:1;
}
.ebm-app-success-copy{min-width:0;flex:1}
.ebm-app-success-card h3{margin:0 0 5px;color:#176b35;font-size:20px;line-height:1.3}
.ebm-app-success-card p{margin:0 0 5px;color:#475467;font-size:14.5px;font-weight:400}
.ebm-app-success-card .ebm-app-success-actions{margin-top:12px;margin-bottom:0}
.ebm-app-home-btn{min-height:38px;padding:0 15px;border-radius:7px;font-size:14px;font-weight:700}

.ebm-reviewer-profile-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 14px;
    border:1px solid #194a7d;
    border-radius:7px;
    background:#194a7d;
    color:#fff!important;
    text-decoration:none!important;
    font-size:14px;
    font-weight:700;
    line-height:1;
    box-sizing:border-box;
}
.ebm-reviewer-profile-link:hover,.ebm-reviewer-profile-link:focus-visible{background:#153f6a;border-color:#153f6a;color:#fff!important}
.ebm-reviewer-profile-link:focus-visible{outline:2px solid rgba(25,74,125,.22);outline-offset:2px}
.ebm-reviewer-profile-message{margin:0 0 18px;padding:12px 14px;border-radius:8px}
.ebm-reviewer-profile-card{margin-top:0}
.ebm-reviewer-profile-note{margin:0 0 18px;color:#667085;font-size:14px}
/* v7.8.32 - Reviewer profile sizing stays component-scoped; theme columns are owned by the Newsmatic shell rules below. */
body.ebm-reviewer-profile-page .ebm-reviewer-portal-wrap{max-width:940px}
body.ebm-reviewer-profile-page .ebm-reviewer-profile-submit{text-align:center}
@media(max-width:760px){
    .ebm-reviewer-head-actions{width:100%;justify-content:flex-start}
    .ebm-reviewer-head-actions .ebm-reviewer-profile-link,.ebm-reviewer-head-actions .ebm-reviewer-logout-link{min-height:40px}
    .ebm-app-success-card{padding:15px 14px;gap:11px}
    .ebm-app-success-card h3{font-size:18px}
}
@media(max-width:430px){
    .ebm-reviewer-head-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
    .ebm-reviewer-head-actions .ebm-reviewer-profile-link,.ebm-reviewer-head-actions .ebm-reviewer-logout-link{width:100%}
    .ebm-app-success-card{display:block}
    .ebm-app-success-icon{margin-bottom:10px}
}

.ebm-reviewer-profile-page-wrap .ebm-reviewer-profile-panel{padding:0}

/* v7.8.26 - Crisp, consistent frontend typography across EBM workflows.
 * Use the native system UI font stack so form controls and surrounding text
 * rasterise consistently on iOS/iPadOS, Windows and Android without external
 * font downloads or forced font smoothing. */
.ebm-application-form-wrap,
.ebm-application-form,
.ebm-reviewer-auth-wrap,
.ebm-reviewer-auth-card,
.ebm-reviewer-portal-wrap,
.ebm-reviewer-portal-card,
.ebm-reviewer-profile-form,
.ebm-public-board-wrap,
.ebm-public-member-card,
.ebm-public-profile-details,
.ebm-verify-page,
.ebm-app-success-card{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:#1f2937;
}

/* Keep native form controls on the same font metrics as their labels. */
.ebm-application-form input,
.ebm-application-form select,
.ebm-application-form textarea,
.ebm-application-form button,
.ebm-reviewer-auth-card input,
.ebm-reviewer-auth-card select,
.ebm-reviewer-auth-card textarea,
.ebm-reviewer-auth-card button,
.ebm-reviewer-profile-form input,
.ebm-reviewer-profile-form select,
.ebm-reviewer-profile-form textarea,
.ebm-reviewer-profile-form button,
.ebm-verify-page input,
.ebm-verify-page select,
.ebm-verify-page textarea,
.ebm-verify-page button{
    font-family:inherit;
}

/* Application forms: readable 16px controls and darker supporting copy. */
.ebm-application-form{font-size:16px;line-height:1.5}
.ebm-application-form label{font-size:16px;line-height:1.4;font-weight:700;color:#1f2937}
.ebm-application-form input[type=text],
.ebm-application-form input[type=email],
.ebm-application-form input[type=tel],
.ebm-application-form input[type=url],
.ebm-application-form input[type=number],
.ebm-application-form select,
.ebm-application-form textarea{
    font-size:16px;
    line-height:1.4;
    color:#1f2937;
}
.ebm-application-form input::placeholder,
.ebm-application-form textarea::placeholder{color:#98a2b3;opacity:1}
.ebm-application-form small{font-size:13.5px;line-height:1.45;color:#5f6c7b}
.ebm-application-form .ebm-file-name{font-size:14px;color:#475467}
.ebm-application-form .ebm-app-submit,
.ebm-app-home-btn{font-size:15px;line-height:1.2}

/* Reviewer account screens/dashboard/profile use the same visual density. */
.ebm-reviewer-auth-wrap,
.ebm-reviewer-portal-wrap{font-size:16px;line-height:1.5}
.ebm-reviewer-auth-card label,
.ebm-reviewer-profile-form label{font-size:15.5px;line-height:1.4;font-weight:700;color:#344054}
.ebm-reviewer-auth-card input[type=email],
.ebm-reviewer-auth-card input[type=password],
.ebm-reviewer-profile-form input[type=text],
.ebm-reviewer-profile-form input[type=email],
.ebm-reviewer-profile-form input[type=tel],
.ebm-reviewer-profile-form input[type=url],
.ebm-reviewer-profile-form select,
.ebm-reviewer-profile-form textarea{font-size:16px;line-height:1.4;color:#1f2937}
.ebm-reviewer-auth-card small,
.ebm-reviewer-profile-form small{font-size:13.5px;line-height:1.45;color:#5f6c7b}
.ebm-reviewer-portal-head p,
.ebm-reviewer-section-head p,
.ebm-reviewer-empty,
.ebm-reviewer-profile-note{font-size:14px;color:#5f6c7b}
.ebm-reviewer-summary-card strong{font-size:14px}
.ebm-reviewer-work-table th,.ebm-reviewer-work-table td{font-family:inherit}
.ebm-reviewer-work-table td{font-size:14.5px;color:#344054}
.ebm-reviewer-work-table th{font-size:12.5px;color:#475467}

/* Public board/profile typography should not fall back to the active theme. */
.ebm-public-board-wrap{font-size:16px;line-height:1.5}
.ebm-public-info h3{font-family:inherit;font-size:21px;color:#17212b}
.ebm-public-meta-list{font-size:14.5px;color:#475467}
.ebm-public-profile-body{font-size:14.5px;color:#344054}
.ebm-public-bio{font-size:14px;color:#475467}
.ebm-public-profile-details summary{font-family:inherit}

/* Verification screen follows the same native stack. */
.ebm-verify-page{font-size:16px;line-height:1.5}
.ebm-verify-page input,.ebm-verify-page button{font-family:inherit}

/* Theme-generated titles on EBM workflow pages should visually match the form. */
body.ebm-application-workflow-page .entry-title,
body.ebm-application-workflow-page .page-title,
body.ebm-application-workflow-page .entry-header h1,
body.ebm-application-workflow-page .page-header h1,
body.ebm-reviewer-auth-page .entry-title,
body.ebm-reviewer-auth-page .page-title,
body.ebm-reviewer-dashboard-page .entry-title,
body.ebm-reviewer-dashboard-page .page-title,
body.ebm-reviewer-profile-page .entry-title,
body.ebm-reviewer-profile-page .page-title{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

@media(max-width:640px){
    .ebm-application-form,
    .ebm-reviewer-auth-wrap,
    .ebm-reviewer-portal-wrap{font-size:16px}
    .ebm-application-form label,
    .ebm-reviewer-auth-card label,
    .ebm-reviewer-profile-form label{font-size:15.5px}
    .ebm-application-form small,
    .ebm-reviewer-auth-card small,
    .ebm-reviewer-profile-form small{font-size:13.5px}
}


/* v7.8.30 - Newsmatic reviewer shell, no layout mutation.
 * The three application pages intentionally keep Newsmatic's normal sidebar.
 * Reviewer login/account/dashboard/profile pages receive ebm-reviewer-shell-page
 * server-side, so Newsmatic's sidebar wrappers are hidden before first paint and
 * the existing primary content column spans the full row. */
body.ebm-reviewer-shell-page #theme-content .newsmatic-container > .row > .secondary-left-sidebar,
body.ebm-reviewer-shell-page #theme-content .newsmatic-container > .row > .secondary-sidebar{
    display:none!important;
}
body.ebm-reviewer-shell-page #theme-content .newsmatic-container > .row > .primary-content{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 100%!important;
    grid-column:1 / -1!important;
    float:none!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* v7.8.33 - Application form visual breathing room only.
 * Field order, visibility rules, sidebar behaviour and form workflow are unchanged. */
.ebm-application-form-wrap{
    padding:24px 22px 26px;
    border-color:#dfe5ec;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(28,60,90,.07);
}
.ebm-application-form p{margin-bottom:16px}
.ebm-application-form label{margin-bottom:6px;line-height:1.4}
.ebm-application-form input[type=text],
.ebm-application-form input[type=email],
.ebm-application-form input[type=tel],
.ebm-application-form input[type=url],
.ebm-application-form input[type=number],
.ebm-application-form select,
.ebm-application-form textarea{
    min-height:44px;
    padding:9px 12px;
    border-color:#d4dce5;
    border-radius:8px;
    box-shadow:inset 0 1px 2px rgba(16,24,40,.025);
    transition:border-color .15s ease,box-shadow .15s ease;
}
.ebm-application-form input[type=text]:focus,
.ebm-application-form input[type=email]:focus,
.ebm-application-form input[type=tel]:focus,
.ebm-application-form input[type=url]:focus,
.ebm-application-form input[type=number]:focus,
.ebm-application-form select:focus,
.ebm-application-form textarea:focus{
    border-color:#8aa7c3;
    box-shadow:0 0 0 3px rgba(25,74,125,.08);
    outline:0;
}
.ebm-application-form small{margin-top:5px;line-height:1.5}
.ebm-application-form .ebm-file-upload-field{gap:10px}
.ebm-application-form .ebm-file-trigger{min-height:40px;padding:0 14px!important}
.ebm-application-form .ebm-app-profile-links{margin-bottom:16px;border-color:#dce3ea;background:#fafbfd}
.ebm-application-form .ebm-app-profile-links summary{padding:11px 13px}
.ebm-application-form .ebm-app-profile-links-body{padding:14px 14px 1px}
body.ebm-application-workflow-page .ebm-application-submit-row{margin-top:22px}
@media(max-width:640px){
    .ebm-application-form-wrap{padding:18px 16px 20px;margin:14px 0}
    .ebm-application-form p{margin-bottom:14px}
    .ebm-application-form label{margin-bottom:5px}
    .ebm-application-form input[type=text],
    .ebm-application-form input[type=email],
    .ebm-application-form input[type=tel],
    .ebm-application-form input[type=url],
    .ebm-application-form input[type=number],
    .ebm-application-form select,
    .ebm-application-form textarea{min-height:44px;padding:9px 11px}
    .ebm-application-form .ebm-app-profile-links{margin-bottom:14px}
}

