.ega-auth-modal{width:min(500px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d5dce5;border-radius:8px;box-shadow:0 16px 70px #001b3640;color:#003366;background:#fff;overflow:auto;box-sizing:border-box}.ega-auth-modal::backdrop{background:#001a36a6}.ega-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #dfe5ec}.ega-modal-header h2{font-size:20px;line-height:1.3;margin:0;color:#003366}.ega-modal-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;padding:0;border:0;border-radius:4px;background:#f1f4f8;color:#003366;font-size:26px;line-height:1;cursor:pointer}.ega-auth-modal .ega-login{margin:0;padding:8px 6px 12px;border:0;background:#fff;text-align:left}.ega-auth-modal .ega-auth-disclosure>summary{display:none}.ega-auth-modal .ega-auth-panel{border:0}.ega-auth-modal .ega-login label{max-width:none}.ega-auth-modal .ega-login form{flex-wrap:wrap}.ega-auth-modal .ega-member-row{gap:14px}.ega-auth-trigger{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#003366;color:#fff;vertical-align:middle;cursor:pointer}.ega-auth-trigger:hover{background:#003366;color:#fff;opacity:.85}.ega-auth-trigger .ega-auth-icon{width:19px;height:19px}.post-meta-info .ega-auth-trigger-item{vertical-align:middle}.ega-auth-modal :focus-visible,.ega-auth-trigger:focus-visible{outline:3px solid #347bb4;outline-offset:3px}.ega-modal-open{overflow:hidden}.ega-category-auth-fallback{max-width:500px;margin:24px auto;padding:0 16px}a.ega-members-only{cursor:pointer;text-decoration:none}a.ega-members-only:hover{text-decoration:underline;color:#003366}@media(max-width:480px){.ega-modal-header{padding:14px 16px}.ega-modal-header h2{font-size:18px}.ega-auth-modal .ega-login button{max-width:100%}.ega-auth-modal .ega-member-row>span{flex-basis:100%}}
/* Align the protected article's controls by their centre, not text baseline. */
.post-meta-info.ega-auth-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.post-meta-info.ega-auth-meta>li{display:inline-flex;align-items:center;margin:0;line-height:normal}.ega-auth-trigger{width:auto;height:40px;min-height:40px;padding:0 14px;gap:7px;border-radius:20px;font-family:inherit;font-size:14px;font-weight:600;line-height:1;box-sizing:border-box;transition:box-shadow .15s,opacity .15s}.ega-auth-trigger:hover{box-shadow:0 2px 8px #00336630}.ega-auth-trigger span{line-height:1}

.ega-article-members-only{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid #ccd6e0;border-radius:3px;background:#f1f4f8;color:#003366;font:600 12px/1.4 sans-serif;white-space:nowrap}.ega-article-members-only .ega-auth-icon{width:14px;height:14px}
