html.account-item-open,html.account-item-open body{overflow:hidden}
body.site-ui .gear-reference-popup{box-sizing:border-box;padding:0;border:1px solid #537887;border-top:2px solid #82cdbb;border-radius:12px;background:#102431;color:#edf4f8;width:min(1040px,calc(100vw - 32px));max-width:none;height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 16px 60px #0008}
.gear-reference-popup[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.gear-reference-popup::backdrop{background:#05111dd9;backdrop-filter:blur(3px)}
.gear-reference-popup .account-item-popup-head{display:flex;align-items:center;gap:8px;padding:8px 12px;background:linear-gradient(110deg,#23414f,#142b39);border-bottom:1px solid #45606f}
.gear-reference-popup .account-item-popup-head h2{flex:1;min-width:0;margin:0;font-size:15px;color:#edf4f8}
.gear-reference-popup .account-item-popup-head :is(button,a){min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:8px 12px;border-radius:7px;font-size:13px;line-height:1.3}
.gear-reference-popup .account-item-popup-head button{border:1px solid #6a8998;background:#203d49;color:#edf4f8}
.gear-reference-popup .account-item-popup-head a{color:#c4e4dc}
.gear-reference-popup .account-item-popup-frame{display:block;width:100%;height:100%;border:0;min-height:0;background:#102431}
.gear-reference-popup .account-item-popup-status{align-self:start;padding:32px 20px;text-align:center}
.gear-reference-popup [hidden]{display:none!important}
@media(max-width:600px){body.site-ui .gear-reference-popup{width:calc(100vw - 12px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.gear-reference-popup .account-item-popup-head{gap:6px;padding:6px 9px}.gear-reference-popup .account-item-popup-head :is(button,a){font-size:12px;padding:7px 9px}.gear-reference-popup .account-item-popup-head a{max-width:110px;text-align:center}}
