:root{--ya-ocean:#16324F;--ya-blue:#4E6E8E;--ya-lav:#8C8FBD;--ya-pale:#C9D2DD;--ya-off:#F7F7F5;--ya-slate:#2C3440;--ya-white:#fff}
.ydos-auth-shell{position:relative;overflow:hidden;isolation:isolate;margin:0;min-height:calc(100vh - 120px);padding:48px 20px;background:linear-gradient(145deg,#F9FAFB 0%,#F4F6F8 54%,#F3F1F8 100%);font-family:"Inter",Arial,sans-serif;color:var(--ya-slate)}
.ydos-auth-shell *{box-sizing:border-box}.ydos-auth-orb{position:absolute;border-radius:50%;filter:blur(2px);z-index:-1;opacity:.48;pointer-events:none}.ydos-auth-orb--one{width:360px;height:360px;right:-120px;top:-150px;background:radial-gradient(circle,rgba(140,143,189,.3),rgba(140,143,189,0) 68%)}.ydos-auth-orb--two{width:420px;height:420px;left:-190px;bottom:-240px;background:radial-gradient(circle,rgba(78,110,142,.18),rgba(78,110,142,0) 68%)}
.ydos-auth-wrap{width:min(1080px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);background:var(--ya-white);border:1px solid #DCE3EA;border-radius:30px;overflow:hidden;box-shadow:0 28px 80px rgba(22,50,79,.13)}
.ydos-auth-brand-panel{position:relative;display:flex;flex-direction:column;min-height:680px;padding:34px 42px;background:linear-gradient(160deg,#16324F 0%,#1B3B59 55%,#203D59 100%);color:#fff;overflow:hidden}.ydos-auth-brand-panel::after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;right:-150px;bottom:-160px;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.018)}
.ydos-auth-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;width:max-content}.ydos-auth-brandmark{width:48px;height:48px;display:grid;place-items:center}.ydos-auth-brandmark img{width:48px;height:48px;object-fit:contain;display:block}.ydos-auth-brand>span:last-child{display:grid;gap:1px}.ydos-auth-brand b{font-family:"Poppins",sans-serif;font-size:18px;line-height:1.15}.ydos-auth-brand small{font-size:9px;letter-spacing:.12em;color:#C9D7E4;font-weight:700}
.ydos-auth-brand-copy{margin-top:66px;max-width:440px}.ydos-auth-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--ya-lav)}.ydos-auth-brand-copy .ydos-auth-kicker{color:#C1C4EA}.ydos-auth-brand-copy h1{margin:11px 0 14px;font-family:"Poppins",sans-serif;font-size:43px;line-height:1.06;letter-spacing:-.04em;color:#fff}.ydos-auth-brand-copy p{margin:0;color:#D5E0EA;font-size:15px;line-height:1.75;max-width:420px}
.ydos-auth-preview{margin-top:34px;width:min(430px,100%);border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.075);border-radius:18px;overflow:hidden;box-shadow:0 18px 40px rgba(5,18,30,.15)}.ydos-auth-preview-top{height:38px;display:flex;align-items:center;gap:6px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.1);font-size:10px;font-weight:700;color:#D6E1EB}.ydos-auth-preview-top i{width:6px;height:6px;border-radius:50%;background:#8FA6BB}.ydos-auth-preview-top span{margin-left:7px}.ydos-auth-preview-body{display:grid;grid-template-columns:58px 1fr;min-height:172px}.ydos-auth-preview-rail{padding:13px 9px;background:rgba(7,25,42,.28);display:grid;align-content:start;gap:12px}.ydos-auth-preview-rail b{width:27px;height:27px;border-radius:50%;background:#fff;margin:0 auto 4px}.ydos-auth-preview-rail i{height:9px;border-radius:999px;background:rgba(255,255,255,.22)}.ydos-auth-preview-main{padding:21px 20px}.ydos-auth-preview-label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#AFC0CF;font-weight:800}.ydos-auth-preview-main strong{display:block;font-family:"Poppins",sans-serif;font-size:22px;margin:3px 0 13px}.ydos-auth-preview-task{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.09);font-size:10px;color:#E7EEF4}.ydos-auth-preview-task i{width:11px;height:11px;border:1px solid #9BB0C2;border-radius:4px}.ydos-auth-preview-progress{height:7px;margin-top:17px;background:rgba(255,255,255,.1);border-radius:99px;overflow:hidden}.ydos-auth-preview-progress span{display:block;width:68%;height:100%;background:linear-gradient(90deg,#6E8EAA,#9A9DCE)}
.ydos-auth-points{position:relative;z-index:1;margin-top:auto;padding-top:32px;display:flex;flex-wrap:wrap;gap:10px 16px;color:#CAD7E1;font-size:10px}.ydos-auth-points span::before{content:"✓";margin-right:6px;color:#C9CBEA;font-weight:800}
.ydos-auth-card{padding:48px 46px 40px;align-self:center}.ydos-auth-card-head{display:flex;align-items:flex-start;gap:12px}.ydos-auth-mobile-mark{display:none}.ydos-auth-card-head h2{margin:6px 0 6px;font-family:"Poppins",sans-serif;font-size:28px;line-height:1.18;letter-spacing:-.035em;color:var(--ya-slate)}.ydos-auth-card-head p{margin:0;color:#67798C;font-size:13px}.ydos-auth-tabs{margin-top:26px;padding:4px;display:grid;grid-template-columns:1fr 1fr;background:#EEF2F6;border-radius:12px}.ydos-auth-tabs button{appearance:none;border:0;background:transparent;border-radius:9px;padding:10px 12px;font-weight:700;font-size:12px;color:#68798A;cursor:pointer}.ydos-auth-tabs button.is-active{background:#fff;color:var(--ya-ocean);box-shadow:0 2px 8px rgba(22,50,79,.09)}
.ydos-auth-alert{display:grid;grid-template-columns:24px 1fr;gap:9px;align-items:center;margin-top:16px;padding:10px 12px;border:1px solid #E6C7CD;background:#FFF7F8;border-radius:11px;color:#8A3E4B}.ydos-auth-alert span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#F1DDE1;font-weight:800;font-size:11px}.ydos-auth-alert p{margin:0;font-size:11px;line-height:1.4}
.ydos-auth-panel{display:none;margin-top:18px}.ydos-auth-panel.is-active{display:block}.ydos-google-auth-btn{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #CDD7E1;background:#fff;border-radius:12px;color:var(--ya-slate);font-weight:700;font-size:12px;text-decoration:none;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.ydos-google-auth-btn:hover{border-color:#AEBCC9;box-shadow:0 5px 14px rgba(22,50,79,.08);transform:translateY(-1px)}.ydos-google-auth-btn:disabled{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none}.ydos-google-g{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1px solid #D8E0E8;font-family:Arial,sans-serif;font-weight:800;color:#4285F4;background:#fff}.ydos-auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#8795A4;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.ydos-auth-divider::before,.ydos-auth-divider::after{content:"";height:1px;flex:1;background:#E2E7EC}
.ydos-auth-form{display:grid;gap:13px}.ydos-auth-field{display:grid;gap:6px;color:#405064;font-weight:700;font-size:11px}.ydos-auth-field>input,.ydos-auth-password{width:100%;height:46px;border:1px solid #CBD5DF;background:#fff;border-radius:11px}.ydos-auth-field>input{padding:0 13px;color:var(--ya-slate);font-size:13px;outline:none}.ydos-auth-field>input:focus,.ydos-auth-password:focus-within{border-color:#8C8FBD;box-shadow:0 0 0 3px rgba(140,143,189,.13)}.ydos-auth-password{display:flex;align-items:center;overflow:hidden}.ydos-auth-password input{flex:1;min-width:0;height:100%;border:0;outline:0;padding:0 10px 0 13px;color:var(--ya-slate);font-size:13px;background:transparent}.ydos-auth-password button{border:0;background:transparent;color:#61778B;font-size:10px;font-weight:800;padding:0 12px;cursor:pointer}.ydos-auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px}.ydos-auth-form-row a{color:var(--ya-blue);font-weight:700;text-decoration:none}.ydos-auth-check{display:flex;align-items:center;gap:7px;color:#647587}.ydos-auth-check input{accent-color:var(--ya-ocean)}.ydos-auth-submit{height:48px;border:0;border-radius:12px;background:var(--ya-ocean);color:#fff;font-weight:800;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 8px 18px rgba(22,50,79,.14);transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.ydos-auth-submit:hover{background:#1E4265;transform:translateY(-1px);box-shadow:0 10px 22px rgba(22,50,79,.18)}.ydos-auth-submit:disabled{opacity:.65;cursor:wait;transform:none}.ydos-auth-terms{margin:-2px 0 0;color:#82909F;font-size:9px;line-height:1.55}.ydos-auth-switch-copy{text-align:center;margin:17px 0 0;color:#748394;font-size:10px}.ydos-auth-switch-copy button{appearance:none;border:0;background:transparent;padding:0;color:var(--ya-blue);font-weight:800;cursor:pointer}.ydos-auth-tabs button:focus-visible,.ydos-google-auth-btn:focus-visible,.ydos-auth-submit:focus-visible,.ydos-auth-password button:focus-visible,.ydos-auth-switch-copy button:focus-visible{outline:2px solid var(--ya-lav);outline-offset:2px}
@media(max-width:860px){.ydos-auth-shell{padding:28px 18px;min-height:calc(100vh - 90px)}.ydos-auth-wrap{grid-template-columns:1fr;width:min(560px,100%)}.ydos-auth-brand-panel{display:none}.ydos-auth-card{padding:38px 34px}.ydos-auth-mobile-mark{display:grid;place-items:center;width:50px;height:50px;flex:0 0 50px}.ydos-auth-mobile-mark img{width:48px;height:48px;object-fit:contain}.ydos-auth-card-head{align-items:center}.ydos-auth-card-head h2{font-size:25px}}
@media(max-width:520px){.ydos-auth-shell{padding:14px 10px;background:#F5F7F9}.ydos-auth-wrap{border-radius:20px;box-shadow:0 12px 35px rgba(22,50,79,.1)}.ydos-auth-card{padding:28px 20px 24px}.ydos-auth-card-head{align-items:flex-start}.ydos-auth-mobile-mark{width:42px;height:42px;flex-basis:42px}.ydos-auth-mobile-mark img{width:40px;height:40px}.ydos-auth-card-head h2{font-size:21px;margin-top:4px}.ydos-auth-card-head p{font-size:11px}.ydos-auth-kicker{font-size:9px}.ydos-auth-tabs{margin-top:22px}.ydos-auth-tabs button{padding:10px 7px;font-size:11px}.ydos-auth-form-row{align-items:flex-start}.ydos-auth-field>input,.ydos-auth-password{height:48px;font-size:16px}.ydos-auth-password input{font-size:16px}.ydos-google-auth-btn,.ydos-auth-submit{min-height:48px}.ydos-auth-divider{margin:16px 0}.ydos-auth-orb{display:none}}
@media(prefers-reduced-motion:reduce){.ydos-google-auth-btn,.ydos-auth-submit{transition:none}}


/* === v1.44.0 — Google Identity Services sign-in === */
.ydos-google-auth-wrap{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:8px}
.ydos-google-auth-wrap>div[role="button"],.ydos-google-auth-wrap iframe{max-width:100%!important}
.ydos-google-auth-wrap.is-busy{opacity:.62;pointer-events:none}
.ydos-google-auth-loading,.ydos-google-auth-fallback{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #DADCE0;background:#fff;border-radius:4px;color:#3C4043;font-family:Roboto,"Inter",Arial,sans-serif;font-size:14px;font-weight:500}
.ydos-google-auth-fallback{cursor:not-allowed;opacity:.7}
.ydos-google-fallback-g{width:18px;height:18px;display:grid;place-items:center;font-family:Arial,sans-serif;font-size:16px;font-weight:800;color:#4285F4}
.ydos-google-auth-error{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #E0B9C1;background:#FFF8F9;border-radius:8px;color:#8A3E4B;font-size:11px;text-align:center}
.ydos-google-auth-status{margin-top:14px;padding:9px 11px;border-radius:9px;background:#EFF4F8;color:#405B73;font-size:10px;line-height:1.45;text-align:center}
.ydos-google-auth-status.is-error{background:#FFF7F8;color:#8A3E4B;border:1px solid #E6C7CD}
.ydos-google-auth-status[hidden]{display:none!important}
@media(max-width:520px){.ydos-google-auth-wrap{min-height:48px}.ydos-google-auth-loading,.ydos-google-auth-fallback{min-height:46px;font-size:13px}}


/* === v1.46.0 — Google button mobile fit + English locale polish === */
.ydos-google-auth-wrap{
  width:100%!important;
  max-width:400px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
  border-radius:8px!important;
  min-width:0!important;
}
.ydos-google-auth-wrap>div[role="button"],
.ydos-google-auth-wrap>div:not(.ydos-google-auth-loading):not(.ydos-google-auth-error),
.ydos-google-auth-wrap iframe{
  width:min(100%,var(--ydos-google-width,400px))!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.ydos-google-auth-wrap iframe{
  display:block!important;
}
.ydos-auth-card,
.ydos-auth-panel,
.ydos-google-auth-wrap{
  min-width:0!important;
}
@media(max-width:520px){
  .ydos-auth-card{padding-left:16px!important;padding-right:16px!important}
  .ydos-google-auth-wrap{max-width:100%!important}
  .ydos-google-auth-wrap>div[role="button"],
  .ydos-google-auth-wrap iframe{max-width:100%!important}
}
/* === v1.46.0 — Google button safe gutters / no edge clipping === */
.ydos-google-auth-wrap{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:48px!important;
  margin:0 auto!important;
  padding:2px 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:8px!important;
}
.ydos-google-auth-wrap>div[role="button"],
.ydos-google-auth-wrap>div:not(.ydos-google-auth-loading):not(.ydos-google-auth-error),
.ydos-google-auth-wrap iframe{
  display:block!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 auto!important;
}
.ydos-google-auth-wrap iframe{
  border:0!important;
}
.ydos-auth-card,
.ydos-auth-panel,
.ydos-google-auth-wrap{
  min-width:0!important;
}
@media(max-width:520px){
  .ydos-auth-card{padding-left:16px!important;padding-right:16px!important}
  .ydos-google-auth-wrap{padding-left:4px!important;padding-right:4px!important}
}
