.dg-auth-wrap{--dg-auth-bg:#f5f7fb;--dg-auth-accent:#533AE8;--dg-auth-promo:#533AE8;--dg-auth-card:#fff;--dg-auth-text:#202438;--dg-auth-radius:18px;--dg-auth-width:1260px;background:var(--dg-auth-bg);color:var(--dg-auth-text);font-family:inherit;min-height:calc(100dvh - 60px);padding:24px;box-sizing:border-box}.dg-auth-wrap *{box-sizing:border-box}.dg-auth-shell{max-width:var(--dg-auth-width);margin:auto;display:flex;min-height:min(760px,calc(100dvh - 48px));border-radius:var(--dg-auth-radius);overflow:hidden;gap:0}.dg-auth-reversed .dg-auth-shell{flex-direction:row-reverse}.dg-auth-promo{flex:1.3;background-color:var(--dg-auth-promo);background-position:center;background-size:cover;color:#fff;display:flex;align-items:center;justify-content:center;padding:40px;text-align:center;border-radius:var(--dg-auth-radius)}.dg-auth-promo-content{max-width:460px}.dg-auth-promo h2{font-size:clamp(24px,3vw,38px);font-weight:800;color:#fff;line-height:1.7}.dg-auth-promo p{font-size:17px;color:#fff;line-height:2}.dg-auth-promo a{display:inline-block;background:#fff;color:var(--dg-auth-promo);padding:12px 26px;border-radius:12px;text-decoration:none;margin-top:18px;font-weight:700}.dg-auth-side{flex:1;display:flex;align-items:center;justify-content:center;padding:35px 24px}.dg-auth-card{width:100%;max-width:390px;background:var(--dg-auth-card);border-radius:var(--dg-auth-radius);padding:26px;box-shadow:0 10px 55px #151c3410}.dg-auth-logo{max-width:155px;max-height:72px;object-fit:contain;display:block;margin:0 auto 18px}.dg-auth-card h1{text-align:center;font-size:22px;font-weight:800;color:var(--dg-auth-text);margin:0}.dg-auth-subtitle{text-align:center;color:#667085;font-size:13px;margin:12px 0 20px}.dg-auth-tabs{display:flex;background:#f3f4f8;padding:4px;border-radius:10px;margin:15px 0 20px}.dg-auth-tabs button{flex:1;border:0;border-radius:8px;background:transparent;color:#667085;font:inherit;padding:10px;cursor:pointer}.dg-auth-tabs button.active{background:#fff;color:var(--dg-auth-accent);box-shadow:0 2px 8px #00000012}.dg-auth-form:not([hidden]){display:flex;flex-direction:column;gap:13px}.dg-auth-form[hidden],.dg-auth-form [hidden]{display:none!important}.dg-auth-form label{font-size:13px;display:flex;flex-direction:column;gap:7px;color:var(--dg-auth-text)}.dg-auth-form input:not([type=checkbox]):not([type=radio]){font:inherit;width:100%;border:1px solid #d6d8de;background:#fff;color:#202438;border-radius:9px;padding:12px 13px;outline:none;min-height:44px;direction:rtl}.dg-auth-form input:focus{border-color:var(--dg-auth-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--dg-auth-accent) 12%,transparent)}.dg-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dg-auth-method{display:flex;gap:20px}.dg-auth-method label,.dg-auth-form .dg-auth-remember{flex-direction:row;align-items:center;font-size:12px}.dg-auth-submit{background:var(--dg-auth-accent);color:white;padding:13px;border:0;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.dg-auth-send{background:transparent;color:var(--dg-auth-accent);border:1px solid var(--dg-auth-accent);padding:10px;border-radius:9px;cursor:pointer;font:inherit}.dg-auth-link{border:0;background:transparent;color:var(--dg-auth-accent);cursor:pointer;font:inherit;font-size:12px}.dg-auth-form button:disabled{opacity:.5;cursor:wait}.dg-auth-message{font-size:12px;padding-top:12px;color:#15774b;min-height:16px}.dg-auth-message.error{color:#bd1d3d}.dg-auth-hidden{display:none!important}@media(max-width:820px){.dg-auth-wrap{padding:14px;min-height:100dvh}.dg-auth-shell{min-height:calc(100dvh - 28px)}.dg-auth-promo.dg-auth-hide-mobile{display:none}.dg-auth-side{padding:15px;flex:1}.dg-auth-card{box-shadow:none;padding:24px 18px}.dg-auth-shell:has(.dg-auth-promo:not(.dg-auth-hide-mobile)){flex-direction:column}.dg-auth-promo:not(.dg-auth-hide-mobile){min-height:200px;flex:initial}}@media(max-width:420px){.dg-auth-grid{grid-template-columns:1fr}}
/* v1.37.0 customization controls */
.dg-auth-wrap{width:100%;max-width:none!important;margin:0!important;--dg-auth-field-height:46px;--dg-auth-promo-width:54%;--dg-auth-form-width:420px;--dg-auth-field-radius:9px;--dg-auth-button-radius:10px;--dg-auth-heading-size:22px;--dg-auth-field-border:#d6d8de;--dg-auth-button-text:#fff}.dg-auth-shell{width:100%}.dg-auth-promo{flex:0 0 var(--dg-auth-promo-width);min-width:0}.dg-auth-side{flex:1;min-width:0}.dg-auth-card{max-width:var(--dg-auth-form-width)}.dg-auth-card h1{font-size:var(--dg-auth-heading-size)}.dg-auth-form input:not([type=checkbox]):not([type=radio]){min-height:var(--dg-auth-field-height);border-color:var(--dg-auth-field-border);border-radius:var(--dg-auth-field-radius)}.dg-auth-submit,.dg-auth-send{border-radius:var(--dg-auth-button-radius)}.dg-auth-submit{color:var(--dg-auth-button-text)}.dg-auth-wrap .dg-auth-form button{font-family:inherit}.dg-auth-wrap .dg-auth-form button:not([hidden]){line-height:1.8}.dg-auth-promo.dg-auth-hidden+.dg-auth-side{max-width:720px;margin:auto}.dg-auth-wrap .dg-auth-form label{font-weight:500}.dg-auth-wrap .dg-auth-form .dg-auth-method label{flex-direction:row}.dg-auth-wrap .dg-auth-form[hidden]{display:none!important}@media(max-width:820px){.dg-auth-promo{flex:initial;width:100%}.dg-auth-wrap .dg-auth-shell{flex-direction:column!important}.dg-auth-side{width:100%}}

/* DrGraphic v1.38: reference-inspired fullscreen authentication layout. */
.dg-auth-wrap .dg-auth-form[data-visible="0"],.dg-auth-wrap .dg-auth-form[hidden],.dg-auth-wrap .dg-auth-form[aria-hidden="true"]{display:none!important;visibility:hidden!important}
.dg-auth-wrap .dg-auth-form[data-visible="1"]{display:flex!important;visibility:visible!important}
.dg-auth-wrap .dg-auth-form [hidden],.dg-auth-wrap .dg-auth-method[hidden]{display:none!important}
.dg-auth-wrap.dg-auth-fullscreen{padding:0!important;min-height:100dvh!important;background:var(--dg-auth-bg);overflow:hidden;width:100%!important;}
.dg-auth-fullscreen .dg-auth-shell{direction:ltr;position:relative;width:100%;max-width:none!important;height:auto;min-height:100dvh!important;border-radius:0!important;display:flex!important;align-items:stretch;overflow:visible!important}
.dg-auth-fullscreen .dg-auth-promo{width:80%;flex:0 0 80%;height:auto;min-height:100dvh;display:flex;align-items:center;justify-content:center;border-radius:0 var(--dg-auth-radius) var(--dg-auth-radius) 0!important;text-align:center;padding:60px 90px 60px 24px;position:relative;}
.dg-auth-fullscreen .dg-auth-promo-content{max-width:550px;width:100%;transform:translateX(-7%);}
.dg-auth-fullscreen .dg-auth-promo h2{font-size:clamp(25px,2.25vw,39px);line-height:1.55;font-weight:800;margin:0 auto 13px;max-width:540px}
.dg-auth-fullscreen .dg-auth-promo p{font-size:clamp(14px,1vw,18px);line-height:1.9;margin:0 auto 15px}
.dg-auth-fullscreen .dg-auth-promo a{background:#fff;color:var(--dg-auth-promo);font-size:13px;padding:10px 26px;border-radius:11px;margin-top:12px;box-shadow:0 6px 15px #00000010}
.dg-auth-fullscreen .dg-auth-side{position:static;min-width:0;flex:1;padding:0;display:block}
.dg-auth-fullscreen .dg-auth-card{position:absolute;right:clamp(24px,10.8vw,190px);top:50%;transform:translateY(-50%);width:clamp(280px,21vw,var(--dg-auth-form-width));max-width:var(--dg-auth-form-width);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;direction:rtl;background:var(--dg-auth-card);border-radius:9px;padding:20px 19px;box-shadow:0 11px 32px #23304c12;z-index:2}
.dg-auth-fullscreen .dg-auth-card h1{font-size:clamp(15px,1.15vw,19px)!important;font-weight:700;line-height:1.65;margin-bottom:6px}
.dg-auth-fullscreen .dg-auth-subtitle{font-size:12px;margin:0 0 12px;line-height:1.8}
.dg-auth-fullscreen .dg-auth-tabs{margin:11px 0 14px;background:#f3f5f8;border:0;padding:3px;border-radius:8px}
.dg-auth-fullscreen .dg-auth-tabs button{font-size:12px;padding:7px 9px;min-height:34px;border:0!important;box-shadow:none!important;border-radius:6px;color:#5e687e;background:transparent}
.dg-auth-fullscreen .dg-auth-tabs button.active{background:var(--dg-auth-accent)!important;color:#fff!important;border:0!important;box-shadow:none!important}
.dg-auth-fullscreen .dg-auth-form:not([hidden]){gap:10px}
.dg-auth-fullscreen .dg-auth-form label{font-size:11px;font-weight:500;gap:4px;line-height:1.6}
.dg-auth-fullscreen .dg-auth-form input:not([type=radio]):not([type=checkbox]){height:var(--dg-auth-field-height);min-height:38px;padding:8px 11px;font-size:12px;border:1px solid var(--dg-auth-field-border);border-radius:var(--dg-auth-field-radius);box-shadow:none;background:#fff}
.dg-auth-fullscreen .dg-auth-form input::placeholder{color:#afb8c5;opacity:1}
.dg-auth-fullscreen .dg-auth-submit{width:100%;min-height:39px;background:var(--dg-auth-accent);border-radius:var(--dg-auth-button-radius);font-size:12px;padding:9px 14px;color:var(--dg-auth-button-text);font-weight:700}
.dg-auth-fullscreen .dg-auth-send{font-size:12px;padding:8px 12px;min-height:38px}
.dg-auth-fullscreen .dg-auth-link{font-size:11px;text-align:center;padding:7px 0}
.dg-auth-fullscreen .dg-auth-logo{max-height:45px;margin:0 auto 10px}
.dg-auth-illustration{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:480px;height:205px;margin:0 auto 15px;direction:ltr}
.dg-auth-illustration-tile{display:flex;align-items:center;justify-content:center;background:#e4fafa;border-radius:18px;width:110px;height:120px;padding:13px;flex:none}
.dg-auth-illustration-tile--main{width:190px;height:205px;border-radius:20px;padding:20px}
.dg-auth-illustration-tile svg{display:block;width:100%;height:100%}
.dg-auth-wrap .dg-auth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.dg-auth-wrap.dg-auth-reversed.dg-auth-fullscreen .dg-auth-shell{flex-direction:row-reverse!important}
.dg-auth-wrap.dg-auth-reversed.dg-auth-fullscreen .dg-auth-promo{border-radius:var(--dg-auth-radius) 0 0 var(--dg-auth-radius)!important;padding:60px 24px 60px 90px}
.dg-auth-wrap.dg-auth-reversed.dg-auth-fullscreen .dg-auth-card{right:auto;left:clamp(24px,10.8vw,190px)}
.dg-auth-fullscreen .dg-auth-promo.dg-auth-hidden{display:none!important}
.dg-auth-fullscreen .dg-auth-promo.dg-auth-hidden~.dg-auth-side .dg-auth-card{left:50%;right:auto;transform:translate(-50%,-50%)}
@media(max-width:1000px){.dg-auth-fullscreen .dg-auth-promo{width:70%;flex-basis:70%;padding:45px 55px 45px 20px}.dg-auth-fullscreen .dg-auth-card{right:clamp(18px,4vw,50px);width:min(330px,45vw)}.dg-auth-wrap.dg-auth-reversed.dg-auth-fullscreen .dg-auth-card{left:clamp(18px,4vw,50px)}.dg-auth-illustration{transform:scale(.8);margin-bottom:0}}
@media(max-width:700px){.dg-auth-wrap.dg-auth-fullscreen{min-height:100dvh!important;overflow:visible}.dg-auth-wrap.dg-auth-fullscreen .dg-auth-shell{display:flex!important;flex-direction:column!important;min-height:100dvh!important;height:auto}.dg-auth-fullscreen .dg-auth-promo.dg-auth-hide-mobile{display:none!important}.dg-auth-fullscreen .dg-auth-side{width:100%;flex:1;display:flex;align-items:center;justify-content:center;padding:28px 16px}.dg-auth-fullscreen .dg-auth-card{position:static;transform:none!important;max-height:none;overflow:visible;width:min(100%,430px);max-width:430px;padding:24px 20px;box-shadow:0 8px 28px #22304a10}.dg-auth-wrap.dg-auth-reversed.dg-auth-fullscreen .dg-auth-shell{flex-direction:column!important}.dg-auth-fullscreen .dg-auth-promo:not(.dg-auth-hide-mobile){width:100%;min-height:205px;height:auto;flex:none;padding:25px 20px;border-radius:0 0 var(--dg-auth-radius) var(--dg-auth-radius)!important}.dg-auth-fullscreen .dg-auth-promo-content{transform:none}.dg-auth-fullscreen .dg-auth-promo h2{font-size:19px}.dg-auth-fullscreen .dg-auth-promo p{font-size:12px}.dg-auth-fullscreen .dg-auth-illustration{height:115px;transform:scale(.58);margin:-15px auto}.dg-auth-fullscreen .dg-auth-promo.dg-auth-hidden~.dg-auth-side .dg-auth-card{position:static;transform:none}}
@media(max-width:370px){.dg-auth-wrap .dg-auth-grid{grid-template-columns:1fr}}

/* User-configurable fullscreen panel properties */
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo{width:var(--dg-auth-fullscreen-promo-width,80%);flex-basis:var(--dg-auth-fullscreen-promo-width,80%);background-color:var(--dg-auth-fullscreen-promo,#0bbdb9)}
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo a{color:var(--dg-auth-fullscreen-promo,#0bbdb9)}
@media(max-width:1000px) and (min-width:701px){.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo{width:min(70%,var(--dg-auth-fullscreen-promo-width,80%));flex-basis:min(70%,var(--dg-auth-fullscreen-promo-width,80%))}}
@media(max-width:700px){.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo:not(.dg-auth-hide-mobile){width:100%;flex-basis:auto}}

/* DrGraphic 1.39: consistent button states, legible spacing, mobile navigation */
.dg-auth-wrap{font-synthesis:none;-webkit-font-smoothing:antialiased}
.dg-auth-wrap .dg-auth-home{position:absolute;z-index:8;top:22px;left:26px;display:inline-flex;align-items:center;gap:9px;padding:9px 14px;background:rgba(255,255,255,.95);border:1px solid rgba(0,0,0,.05);border-radius:999px;color:#23404c!important;text-decoration:none!important;font:inherit;font-size:13px;font-weight:600;line-height:1.6;box-shadow:0 3px 15px rgba(15,23,42,.06);transition:background .2s,transform .2s,box-shadow .2s}
.dg-auth-wrap .dg-auth-home:hover,.dg-auth-wrap .dg-auth-home:focus-visible{background:#fff!important;color:#172e38!important;transform:translateY(-1px);box-shadow:0 5px 20px rgba(15,23,42,.13);outline:2px solid var(--dg-auth-accent);outline-offset:2px}
.dg-auth-wrap .dg-auth-home span{font-size:18px;line-height:1}
.dg-auth-wrap .dg-auth-card{border:1px solid rgba(36,45,68,.045);border-radius:clamp(12px,var(--dg-auth-radius),24px);box-shadow:0 14px 35px rgba(31,41,55,.09);padding:clamp(23px,2vw,32px)}
.dg-auth-wrap .dg-auth-form{gap:14px}
.dg-auth-wrap .dg-auth-form label{gap:7px;font-size:12px;font-weight:600}
.dg-auth-wrap .dg-auth-form input:not([type=radio]):not([type=checkbox]){min-height:var(--dg-auth-field-height);padding:11px 13px;font-size:13px;line-height:1.5}
.dg-auth-wrap .dg-auth-tabs{margin:17px 0 18px;padding:5px;gap:4px;border-radius:12px}
.dg-auth-wrap .dg-auth-tabs button{min-height:37px;border:1px solid transparent!important;border-radius:9px!important;cursor:pointer;transition:background-color .18s ease, color .18s ease,box-shadow .18s ease;outline:0!important}
.dg-auth-wrap .dg-auth-tabs button.active,.dg-auth-wrap .dg-auth-tabs button.active:hover,.dg-auth-wrap .dg-auth-tabs button.active:focus,.dg-auth-wrap .dg-auth-tabs button.active:active{background:var(--dg-auth-accent)!important;color:var(--dg-auth-button-text)!important;border-color:transparent!important;box-shadow:none!important}
.dg-auth-wrap .dg-auth-tabs button:not(.active),.dg-auth-wrap .dg-auth-tabs button:not(.active):hover,.dg-auth-wrap .dg-auth-tabs button:not(.active):focus,.dg-auth-wrap .dg-auth-tabs button:not(.active):active{background:transparent!important;color:#56627a!important;border-color:transparent!important;box-shadow:none!important}
.dg-auth-wrap .dg-auth-tabs button:focus-visible{outline:2px solid var(--dg-auth-accent)!important;outline-offset:2px!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-submit,.dg-auth-wrap .dg-auth-form button.dg-auth-submit:hover,.dg-auth-wrap .dg-auth-form button.dg-auth-submit:focus,.dg-auth-wrap .dg-auth-form button.dg-auth-submit:active{background:var(--dg-auth-accent)!important;color:var(--dg-auth-button-text)!important;border:1px solid transparent!important;box-shadow:none!important;outline:0!important;transform:none;opacity:1}
.dg-auth-wrap .dg-auth-form button.dg-auth-submit:hover{filter:brightness(.94)}
.dg-auth-wrap .dg-auth-form button.dg-auth-submit:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--dg-auth-accent) 23%,transparent)!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-send,.dg-auth-wrap .dg-auth-form button.dg-auth-send:hover,.dg-auth-wrap .dg-auth-form button.dg-auth-send:focus,.dg-auth-wrap .dg-auth-form button.dg-auth-send:active{background:transparent!important;color:var(--dg-auth-accent)!important;border:1px solid var(--dg-auth-accent)!important;box-shadow:none!important;outline:0!important;transform:none}
.dg-auth-wrap .dg-auth-form button.dg-auth-send:hover{background:color-mix(in srgb,var(--dg-auth-accent) 7%,white)!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-link,.dg-auth-wrap .dg-auth-form button.dg-auth-link:hover,.dg-auth-wrap .dg-auth-form button.dg-auth-link:focus,.dg-auth-wrap .dg-auth-form button.dg-auth-link:active{background:transparent!important;color:var(--dg-auth-accent)!important;border:0!important;box-shadow:none!important;outline:0!important;transform:none;text-decoration:none!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-link:hover{text-decoration:underline!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-link:focus-visible,.dg-auth-wrap .dg-auth-form button.dg-auth-send:focus-visible{outline:2px solid var(--dg-auth-accent)!important;outline-offset:2px!important}
.dg-auth-wrap .dg-auth-form button:disabled{opacity:.55!important;cursor:wait!important}
.dg-auth-wrap .dg-auth-promo a,.dg-auth-wrap .dg-auth-promo a:hover,.dg-auth-wrap .dg-auth-promo a:focus,.dg-auth-wrap .dg-auth-promo a:active{background:#fff!important;color:var(--dg-auth-fullscreen-promo,var(--dg-auth-promo))!important;border:0!important;box-shadow:0 5px 18px #00000015!important;text-decoration:none!important;transform:none}
.dg-auth-wrap .dg-auth-promo a:hover{filter:brightness(.97)}
.dg-auth-wrap .dg-auth-promo a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.dg-auth-wrap .dg-auth-form input:focus{outline:0!important;border-color:var(--dg-auth-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--dg-auth-accent) 12%,transparent)!important}
.dg-auth-wrap .dg-auth-custom-art{display:block;width:min(100%,385px);height:auto;max-height:240px;object-fit:contain;margin:0 auto 25px;filter:none}
.dg-auth-wrap .dg-auth-method{gap:14px;flex-wrap:wrap}
.dg-auth-wrap .dg-auth-method label,.dg-auth-wrap .dg-auth-remember{cursor:pointer;line-height:1.7}
.dg-auth-wrap .dg-auth-message:empty{display:none}
.dg-auth-wrap .dg-auth-form .dg-auth-link{padding:10px 4px;min-height:34px}
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{width:min(calc(100vw - 50px),var(--dg-auth-form-width));padding:24px 23px;max-width:var(--dg-auth-form-width);max-height:calc(100dvh - 36px)}
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-card h1{font-size:var(--dg-auth-heading-size)!important;line-height:1.5}
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo{padding-top:74px;padding-bottom:65px}
@media(max-width:700px){
 .dg-auth-wrap.dg-auth-fullscreen{min-height:100dvh;overflow:visible!important}
 .dg-auth-wrap.dg-auth-fullscreen .dg-auth-shell{min-height:100dvh}
 .dg-auth-wrap .dg-auth-home{position:fixed;top:max(12px,env(safe-area-inset-top));left:14px;z-index:90;padding:8px 13px;font-size:12px}
 .dg-auth-wrap.dg-auth-fullscreen .dg-auth-side{padding:76px 18px 28px;min-height:100dvh;display:flex;align-items:center}
 .dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{padding:25px 22px;width:min(100%,460px);max-width:460px;max-height:none;overflow:visible;box-shadow:0 10px 35px rgba(20,27,48,.07);border-radius:18px}
 .dg-auth-wrap .dg-auth-grid{gap:10px}
 .dg-auth-wrap .dg-auth-tabs button{min-height:42px;font-size:13px}
 .dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]){font-size:16px;min-height:48px}
 .dg-auth-wrap .dg-auth-form label{font-size:13px}
 .dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo:not(.dg-auth-hide-mobile){min-height:220px}
 .dg-auth-wrap .dg-auth-custom-art{max-height:145px;margin-bottom:12px}
}
@media(max-width:370px){.dg-auth-wrap .dg-auth-grid{grid-template-columns:1fr}}

/* Keep long registration panels operable on short viewports. */
@media (min-width:701px) and (max-height:660px){.dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{max-height:calc(100dvh - 24px);overflow:auto;top:50%}.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo{min-height:100dvh}}
@media (max-width:700px){.dg-auth-wrap.dg-auth-fullscreen .dg-auth-side{min-height:100dvh;height:auto}.dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{position:relative;top:auto;left:auto;right:auto;max-height:none;transform:none!important}}

/* v1.40 — accessible pill-style selector for SMS-enabled sign-in. */
.dg-auth-wrap .dg-auth-form .dg-auth-method:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:5px;margin:2px 0 4px;background:#f3f4f8;border:1px solid #edf0f6;border-radius:12px;direction:rtl}
.dg-auth-wrap .dg-auth-form .dg-auth-method label{position:relative;display:flex;align-items:center;justify-content:center;min-height:39px;padding:9px 7px;margin:0!important;cursor:pointer;border:1px solid transparent;border-radius:9px;color:#65718a;background:transparent;font-size:12px;line-height:1.5;font-weight:600;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.dg-auth-wrap .dg-auth-form .dg-auth-method label:has(input:checked){background:var(--dg-auth-accent)!important;color:var(--dg-auth-button-text)!important;box-shadow:0 2px 7px rgba(35,26,87,.12)}
.dg-auth-wrap .dg-auth-form .dg-auth-method label:hover:not(:has(input:checked)){background:#e8eaf2!important;color:#37425a!important}
.dg-auth-wrap .dg-auth-form .dg-auth-method input[type=radio]{position:absolute!important;inset:0!important;appearance:none!important;-webkit-appearance:none!important;width:100%!important;height:100%!important;margin:0!important;opacity:0!important;cursor:pointer!important}
.dg-auth-wrap .dg-auth-form .dg-auth-method label:has(input:focus-visible){outline:2px solid var(--dg-auth-accent)!important;outline-offset:2px!important}
.dg-auth-wrap .dg-auth-form .dg-auth-method label:has(input:checked):hover{filter:brightness(.96)}
.dg-auth-wrap .dg-auth-form button.dg-auth-send{min-height:43px;font-weight:600}
.dg-auth-wrap .dg-auth-form .dg-auth-remember input[type=checkbox]{accent-color:var(--dg-auth-accent)}

/* v1.41 — readable translucent customer inputs, scoped to auth form only. */
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]){
 background:rgba(238,243,252,.56)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
 color:var(--dg-auth-text,#202438)!important;border:1px solid color-mix(in srgb,var(--dg-auth-field-border,#d6d8de) 82%,transparent)!important;
}
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):focus{background:rgba(255,255,255,.92)!important}
.dg-auth-wrap .dg-auth-captcha{display:flex;flex-direction:column;gap:8px;margin:4px 0 2px;padding:11px 12px;background:rgba(246,247,252,.70);border:1px solid #e5e7ef;border-radius:12px}
.dg-auth-wrap .dg-auth-captcha-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:var(--dg-auth-text)}
.dg-auth-wrap .dg-auth-captcha-question{font-variant-numeric:tabular-nums;direction:ltr;font-weight:700;font-size:14px;unicode-bidi:isolate}
.dg-auth-wrap .dg-auth-captcha-input-row{display:flex;gap:8px;align-items:center}
.dg-auth-wrap .dg-auth-captcha-input-row input{flex:1;min-width:0;text-align:center;direction:ltr;max-height:45px}
.dg-auth-wrap .dg-auth-captcha-refresh{flex:0 0 43px;width:43px;min-height:43px!important;border-radius:9px!important;border:1px solid #dfe0e9!important;color:var(--dg-auth-accent)!important;background:#fff!important;font-size:23px!important;line-height:1!important;cursor:pointer}
.dg-auth-wrap .dg-auth-captcha-refresh:hover{background:#f2efff!important;color:var(--dg-auth-accent)!important;border-color:#b5aaf6!important}
.dg-auth-wrap .dg-auth-captcha-refresh:active{background:#e8e2ff!important;color:var(--dg-auth-accent)!important}
.dg-auth-wrap .dg-auth-captcha-refresh:focus-visible{outline:2px solid var(--dg-auth-accent);outline-offset:2px}
@media(max-width:700px){.dg-auth-wrap .dg-auth-captcha{padding:10px}.dg-auth-wrap .dg-auth-captcha-top{font-size:12px}}

/* v1.42 — compact aligned glass UI, improved captcha, neutral terms, Google entry. */
.dg-auth-wrap{
 --dg-auth-glass-bg:rgba(244,247,253,.62);
 --dg-auth-glass-strong:rgba(250,252,255,.74);
 --dg-auth-glass-border:rgba(205,212,225,.88);
}
.dg-auth-wrap .dg-auth-card{padding:20px 18px;border-radius:18px;box-shadow:0 18px 48px rgba(24,33,64,.08)}
.dg-auth-wrap .dg-auth-card h1{margin-bottom:2px}
.dg-auth-wrap .dg-auth-subtitle{margin:8px 0 14px;font-size:12px;line-height:1.8}
.dg-auth-wrap .dg-auth-tabs{margin:12px 0 12px;padding:4px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:var(--dg-auth-glass-bg)!important;border:1px solid rgba(227,232,242,.9)}
.dg-auth-wrap .dg-auth-tabs button{min-height:34px;padding:7px 8px;font-size:12px}
.dg-auth-wrap .dg-auth-form:not([hidden]){gap:9px}
.dg-auth-wrap .dg-auth-form label{gap:5px;font-size:11px;line-height:1.65}
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.dg-auth-wrap .dg-auth-form select,
.dg-auth-wrap .dg-auth-form textarea{
 width:100%;min-height:42px;height:42px;padding:8px 12px;border-radius:11px;
 background:var(--dg-auth-glass-bg)!important;border:1px solid var(--dg-auth-glass-border)!important;
 backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);font-size:12px;line-height:1.5;
}
.dg-auth-wrap .dg-auth-grid{gap:8px;align-items:start}
.dg-auth-wrap .dg-auth-grid > label{min-width:0}
.dg-auth-wrap .dg-auth-method:not([hidden]){gap:4px;padding:4px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:var(--dg-auth-glass-bg)!important;border:1px solid rgba(227,232,242,.9);border-radius:12px}
.dg-auth-wrap .dg-auth-form .dg-auth-method label{min-height:38px;padding:8px 7px;font-size:11px}
.dg-auth-wrap .dg-auth-send{min-height:42px;padding:8px 12px;font-size:12px;border-radius:12px;background:rgba(255,255,255,.35)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.dg-auth-wrap .dg-auth-submit{min-height:44px;padding:10px 14px;font-size:13px;border-radius:13px}
.dg-auth-wrap .dg-auth-link{font-size:11px;padding:5px 0;min-height:auto}
.dg-auth-wrap .dg-auth-remember,
.dg-auth-wrap .dg-auth-remember a{color:#5c647a!important;font-size:11px;text-decoration:none!important}
.dg-auth-wrap .dg-auth-remember a:hover{color:var(--dg-auth-accent)!important}
.dg-auth-wrap .dg-auth-form .dg-auth-remember{gap:8px}
.dg-auth-wrap .dg-auth-form .dg-auth-remember input[type=checkbox]{flex:0 0 16px;width:16px;height:16px}
.dg-auth-wrap .dg-auth-captcha{
 margin:2px 0 0;padding:10px 11px;border-radius:14px;background:var(--dg-auth-glass-strong)!important;
 border:1px solid rgba(224,228,239,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 gap:7px;direction:rtl;text-align:right;
}
.dg-auth-wrap .dg-auth-captcha-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.dg-auth-wrap .dg-auth-captcha-title{font-size:11px;font-weight:700;color:var(--dg-auth-text)}
.dg-auth-wrap .dg-auth-captcha-note{font-size:10px;color:#7b8498}
.dg-auth-wrap .dg-auth-captcha-row{display:grid;grid-template-columns:minmax(86px,112px) 1fr 40px;gap:8px;align-items:center;direction:rtl}
.dg-auth-wrap .dg-auth-captcha-expression{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 8px;background:rgba(255,255,255,.42);border:1px solid rgba(214,218,229,.95);border-radius:11px}
.dg-auth-wrap .dg-auth-captcha-question{font-size:15px;font-weight:800;line-height:1;direction:ltr;unicode-bidi:isolate;color:var(--dg-auth-text)}
.dg-auth-wrap .dg-auth-captcha-row input{margin:0;text-align:right;direction:rtl}
.dg-auth-wrap .dg-auth-captcha-refresh{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;min-height:40px!important;height:40px;padding:0!important;border-radius:11px!important;border:1px solid rgba(214,218,229,.95)!important;background:rgba(255,255,255,.72)!important;font-size:20px!important;line-height:1!important}
.dg-auth-wrap .dg-auth-captcha-refresh span{display:block;line-height:1;transform:translateY(-1px)}
.dg-auth-wrap .dg-auth-google{display:flex;flex-direction:column;gap:8px;margin:4px 0 10px}
.dg-auth-wrap .dg-auth-google-divider{display:flex;align-items:center;gap:9px;color:#8a91a6;font-size:11px}
.dg-auth-wrap .dg-auth-google-divider::before,.dg-auth-wrap .dg-auth-google-divider::after{content:"";flex:1;height:1px;background:rgba(219,224,236,.95)}
.dg-auth-wrap .dg-auth-google-button{display:flex;justify-content:center;padding:8px 10px;border-radius:13px;background:var(--dg-auth-glass-strong);border:1px solid rgba(227,232,242,.95);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)}
.dg-auth-wrap .dg-auth-google-note{margin:0;text-align:center;font-size:10px;line-height:1.7;color:#7b8498}
.dg-auth-wrap .dg-auth-message{font-size:11px;padding-top:8px;line-height:1.8}
@media(max-width:700px){
 .dg-auth-wrap .dg-auth-card{padding:18px 16px;border-radius:16px}
 .dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
 .dg-auth-wrap .dg-auth-form select,
 .dg-auth-wrap .dg-auth-form textarea{font-size:14px;min-height:44px;height:44px}
 .dg-auth-wrap .dg-auth-captcha-row{grid-template-columns:88px 1fr 40px}
}
@media(max-width:420px){
 .dg-auth-wrap .dg-auth-captcha-row{grid-template-columns:1fr 40px;grid-template-areas:'q q' 'i r'}
 .dg-auth-wrap .dg-auth-captcha-expression{grid-area:q}
 .dg-auth-wrap .dg-auth-captcha-row input{grid-area:i}
 .dg-auth-wrap .dg-auth-captcha-refresh{grid-area:r}
}

/* v1.43: translucent form surfaces with adequate contrast on both light backgrounds. */
.dg-auth-wrap .dg-auth-card{
 background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(249,251,255,.82))!important;
 -webkit-backdrop-filter:blur(22px) saturate(130%);backdrop-filter:blur(22px) saturate(130%);
 border:1px solid rgba(255,255,255,.68)!important;
 box-shadow:0 18px 48px rgba(19,40,70,.11), inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.dg-auth-wrap .dg-auth-form textarea,.dg-auth-wrap .dg-auth-form select{
 background:linear-gradient(140deg,rgba(255,255,255,.78),rgba(225,236,253,.46))!important;
 border:1px solid rgba(173,192,219,.64)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 2px 7px rgba(30,63,104,.035)!important;
 -webkit-backdrop-filter:blur(15px) saturate(145%)!important;backdrop-filter:blur(15px) saturate(145%)!important;
 color:#202438!important;
}
.dg-auth-wrap .dg-auth-form input::placeholder{color:#8794ac!important;opacity:1!important}
.dg-auth-wrap .dg-auth-tabs,.dg-auth-wrap .dg-auth-method:not([hidden]),.dg-auth-wrap .dg-auth-captcha{
 background:linear-gradient(140deg,rgba(255,255,255,.68),rgba(221,233,251,.4))!important;
 -webkit-backdrop-filter:blur(16px) saturate(135%)!important;backdrop-filter:blur(16px) saturate(135%)!important;
 border:1px solid rgba(189,202,228,.52)!important;
}
.dg-auth-wrap .dg-auth-captcha-expression,.dg-auth-wrap .dg-auth-captcha-refresh{
 background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(224,234,251,.45))!important;
}
.dg-auth-wrap .dg-auth-form .dg-auth-grid>label{width:100%;min-width:0}
.dg-auth-wrap .dg-auth-form .dg-auth-grid>label>input{width:100%!important;min-width:0;box-sizing:border-box!important}
/* Glass requires both layers translucent; do not flatten fields against an opaque card. */
.dg-auth-wrap .dg-auth-card{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(246,250,255,.72))!important;backdrop-filter:blur(24px) saturate(145%)!important;-webkit-backdrop-filter:blur(24px) saturate(145%)!important}
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]){background:linear-gradient(130deg,rgba(255,255,255,.56),rgba(219,232,249,.39))!important}

/* v1.44 — slightly softer corners; respects configured radius variables. */
.dg-auth-wrap .dg-auth-card{border-radius:calc(var(--dg-auth-radius,18px) + 4px)!important}
.dg-auth-wrap .dg-auth-tabs{border-radius:16px!important}
.dg-auth-wrap .dg-auth-tabs button{border-radius:12px!important}
.dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.dg-auth-wrap .dg-auth-form textarea,.dg-auth-wrap .dg-auth-form select{border-radius:calc(var(--dg-auth-field-radius,9px) + 4px)!important}
.dg-auth-wrap .dg-auth-form button.dg-auth-submit,.dg-auth-wrap .dg-auth-form button.dg-auth-send{border-radius:calc(var(--dg-auth-button-radius,10px) + 4px)!important}
.dg-auth-wrap .dg-auth-captcha,.dg-auth-wrap .dg-auth-google-button{border-radius:17px!important}
.dg-auth-wrap .dg-auth-captcha-expression,.dg-auth-wrap .dg-auth-captcha-refresh{border-radius:14px!important}
.dg-auth-wrap .dg-auth-method:not([hidden]){border-radius:15px!important}
.dg-auth-wrap .dg-auth-method label{border-radius:12px!important}

/* 1.44.1: independent, responsive classic two-column authentication layout.
   Intentionally isolated from the floating/fullscreen mode. */
@media (min-width:821px){
 .dg-auth-wrap.dg-auth-classic{
   padding:clamp(28px,5vw,68px) clamp(22px,4vw,64px)!important;
   min-height:100dvh!important;
   display:flex;
   align-items:center;
   justify-content:center;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-shell{
   box-sizing:border-box;
   width:min(100%,var(--dg-auth-width,1260px));
   max-width:1260px!important;
   min-height:min(690px,calc(100dvh - 112px));
   height:auto;
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr);
   direction:ltr;
   align-items:stretch;
   gap:clamp(14px,2vw,26px);
   overflow:visible!important;
   margin:0 auto;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-promo{
   box-sizing:border-box;
   width:100%!important;
   height:auto;
   min-height:540px;
   flex:none!important;
   grid-column:1;
   grid-row:1;
   padding:clamp(26px,4vw,55px)!important;
   border-radius:clamp(18px,var(--dg-auth-radius),34px)!important;
   overflow:hidden;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-promo-content{
   width:100%;max-width:500px;transform:none!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-side{
   box-sizing:border-box;
   grid-column:2;
   grid-row:1;
   width:100%;min-width:0;
   display:flex!important;
   align-items:center;
   justify-content:center;
   padding:clamp(10px,1.7vw,24px)!important;
   flex:none!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-card{
   position:relative!important;
   left:auto!important;right:auto!important;top:auto!important;
   transform:none!important;
   width:100%!important;
   max-width:min(100%,var(--dg-auth-form-width,420px))!important;
   max-height:none!important;
   overflow:visible;
   margin:0 auto;
   padding:clamp(22px,2.4vw,32px)!important;
   direction:rtl;
 }
 .dg-auth-wrap.dg-auth-classic.dg-auth-reversed .dg-auth-promo{grid-column:2}
 .dg-auth-wrap.dg-auth-classic.dg-auth-reversed .dg-auth-side{grid-column:1}
 .dg-auth-wrap.dg-auth-classic .dg-auth-promo.dg-auth-hidden{display:none!important}
 .dg-auth-wrap.dg-auth-classic .dg-auth-shell:has(.dg-auth-promo.dg-auth-hidden){
   grid-template-columns:minmax(0,1fr);
   max-width:620px!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-shell:has(.dg-auth-promo.dg-auth-hidden) .dg-auth-side{
   grid-column:1;grid-row:1;
 }
}
@media (max-width:820px){
 .dg-auth-wrap.dg-auth-classic{
   min-height:100dvh!important;
   padding:64px 14px 24px!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-shell{
   display:flex!important;
   flex-direction:column!important;
   width:100%;max-width:560px!important;
   min-height:0!important;
   gap:18px;margin:0 auto;
   overflow:visible!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-promo{
   flex:none!important;width:100%!important;
   min-height:210px;height:auto;
   border-radius:22px!important;
   padding:26px 20px!important;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-promo.dg-auth-hide-mobile{display:none!important}
 .dg-auth-wrap.dg-auth-classic .dg-auth-side{
   width:100%!important;flex:none!important;
   min-width:0;padding:0!important;
   display:flex!important;justify-content:center;
 }
 .dg-auth-wrap.dg-auth-classic .dg-auth-card{
   width:100%!important;max-width:490px!important;
   position:static!important;transform:none!important;
   padding:22px 20px!important;
 }
}

/* v1.45.1: classic promo dimensions must not depend on the visible form's height. */
@media (min-width:821px){
  .dg-auth-wrap.dg-auth-classic .dg-auth-shell{
    align-items:center!important;
    grid-template-rows:auto;
  }
  .dg-auth-wrap.dg-auth-classic .dg-auth-promo:not(.dg-auth-hidden){
    height:clamp(620px,74dvh,760px)!important;
    min-height:0!important;
    max-height:none!important;
    align-self:center!important;
  }
  .dg-auth-wrap.dg-auth-classic .dg-auth-side{
    align-self:center!important;
    min-height:0!important;
  }
}
/* Respect transparent background options in both visual modes. */
.dg-auth-wrap.dg-auth-classic,
.dg-auth-wrap.dg-auth-fullscreen{background:var(--dg-auth-bg)!important;}
.dg-auth-wrap.dg-auth-classic .dg-auth-promo{background-color:var(--dg-auth-promo)!important;}
.dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo{background-color:var(--dg-auth-fullscreen-promo,var(--dg-auth-promo))!important;}

/* v1.76.18 — viewport-safe login and registration layout.
   Keep all fields reachable in both modes; do not rely on viewport clipping. */
.dg-auth-wrap .dg-auth-card{min-width:0;box-sizing:border-box}
.dg-auth-wrap .dg-auth-form:not([hidden]){gap:7px}
.dg-auth-wrap .dg-auth-card .dg-auth-logo{max-height:54px;width:auto;max-width:min(66%,190px);object-fit:contain;margin:0 auto 8px}
.dg-auth-wrap .dg-auth-card h1{line-height:1.4;margin:0 0 3px}
.dg-auth-wrap .dg-auth-card .dg-auth-subtitle{margin:2px 0 9px;line-height:1.55}
.dg-auth-wrap .dg-auth-card .dg-auth-tabs{margin:7px 0 10px}
.dg-auth-wrap .dg-auth-form label{gap:4px}
.dg-auth-wrap .dg-auth-captcha{padding:8px 10px;gap:6px;margin:0}
.dg-auth-wrap .dg-auth-captcha-expression{min-height:38px}
.dg-auth-wrap .dg-auth-form .dg-auth-submit{min-height:42px}
@media(min-width:821px){
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{
    max-height:calc(100dvh - 32px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
    padding:18px 19px!important;
  }
  .dg-auth-wrap.dg-auth-classic .dg-auth-card{
    max-height:calc(100dvh - 40px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;scrollbar-width:thin;
  }
}
@media(max-width:820px){
  .dg-auth-wrap.dg-auth-fullscreen,
  .dg-auth-wrap.dg-auth-classic{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-shell,
  .dg-auth-wrap.dg-auth-classic .dg-auth-shell{height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-side,
  .dg-auth-wrap.dg-auth-classic .dg-auth-side{height:auto!important;min-height:0!important;overflow:visible!important;align-items:flex-start!important}
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-card,
  .dg-auth-wrap.dg-auth-classic .dg-auth-card{
    position:relative!important;top:auto!important;right:auto!important;left:auto!important;
    transform:none!important;height:auto!important;max-height:none!important;overflow:visible!important;
    width:100%!important;padding:16px 14px!important;margin:0 auto;
  }
  .dg-auth-wrap .dg-auth-card .dg-auth-logo{max-height:46px;margin-bottom:6px}
  .dg-auth-wrap .dg-auth-card .dg-auth-tabs button{min-height:36px;padding:6px 8px}
  .dg-auth-wrap .dg-auth-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
  .dg-auth-wrap .dg-auth-form select{height:42px;min-height:42px;padding:8px 11px}
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-row{grid-template-columns:minmax(78px,100px) minmax(0,1fr) 38px;grid-template-areas:none;gap:6px}
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-expression{grid-area:auto}
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-row input{grid-area:auto}
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-refresh{grid-area:auto;min-width:38px;width:38px;height:38px;min-height:38px!important}
}
@media(max-width:380px){
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-row{grid-template-columns:minmax(70px,90px) minmax(0,1fr) 36px;gap:5px}
  .dg-auth-wrap .dg-auth-form .dg-auth-captcha-refresh{min-width:36px;width:36px;height:36px;min-height:36px!important}
  .dg-auth-wrap .dg-auth-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
}


/* v1.76.19 — vertically center authentication cards when viewport space permits.
   Allow natural document scrolling when the registration form is taller than the screen. */
@media (max-width:820px){
  .dg-auth-wrap.dg-auth-fullscreen,
  .dg-auth-wrap.dg-auth-classic{
    min-height:100dvh!important;
    height:auto!important;
    overflow:visible!important;
  }
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-shell,
  .dg-auth-wrap.dg-auth-classic .dg-auth-shell{
    min-height:100dvh!important;
    height:auto!important;
    overflow:visible!important;
  }
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-side,
  .dg-auth-wrap.dg-auth-classic .dg-auth-side{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    flex-grow:1!important;
    flex-shrink:0!important;
    min-height:100dvh!important;
    height:auto!important;
    padding:72px 14px!important;
    overflow:visible!important;
  }
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-card,
  .dg-auth-wrap.dg-auth-classic .dg-auth-card{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    margin:auto!important;
    flex:0 0 auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}
@media (min-width:821px){
  .dg-auth-wrap.dg-auth-classic .dg-auth-side{
    align-items:center!important;
    justify-content:center!important;
  }
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-card{
    top:50%;
    transform:translateY(-50%);
  }
  .dg-auth-wrap.dg-auth-fullscreen .dg-auth-promo.dg-auth-hidden~.dg-auth-side .dg-auth-card{
    transform:translate(-50%,-50%);
  }
}

/* Legacy accounts: explicit first-use verification, isolated to OTP login. */
.dg-auth-wrap .dg-auth-legacy-help[hidden]{display:none!important}
.dg-auth-wrap .dg-auth-legacy-help{border:1px solid #dcd7f6;border-radius:12px;padding:10px 12px;background:#f9f8ff;font-size:12px;color:#40385f}
.dg-auth-wrap .dg-auth-legacy-help summary{cursor:pointer;font-weight:700;color:var(--dg-auth-accent);list-style:none}
.dg-auth-wrap .dg-auth-legacy-help summary::-webkit-details-marker{display:none}
.dg-auth-wrap .dg-auth-legacy-help p{font-size:12px;line-height:1.9;margin:8px 0;color:#625b76}
.dg-auth-wrap .dg-auth-legacy-help label{margin-top:8px}

/* OTP phone fields: always display ASCII digits left-to-right. */
.dg-auth-wrap .dg-auth-form input[name="phone"],
.dg-auth-wrap[data-sms="1"] .dg-auth-form input[name="identifier"],
.dg-auth-wrap .dg-auth-form input[name="code"],
.dg-auth-wrap .dg-auth-form input[name="captcha_answer"]{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext;font-variant-numeric:lining-nums tabular-nums}
.dg-auth-wrap .dg-auth-legacy-help:not([hidden]){display:block!important}

.dg-auth-wrap .dg-auth-message.dg-auth-message-box{display:block;background:#fff1f3;border:1px solid #f4b8c2;color:#b42318;padding:14px 16px;border-radius:12px;font-size:15px;font-weight:700;line-height:2;min-height:auto;margin-top:10px;text-align:center}.dg-auth-wrap .dg-auth-message.dg-auth-message-box.error{color:#b42318}.dg-auth-wrap .dg-auth-message:not(.dg-auth-message-box).error{color:#bd1d3d}.dg-auth-wrap .dg-auth-message.dg-auth-message-box:empty{display:none}

/* Version 1.83.71: legacy OTP help removed from the authentication UI. */
