/* V3-B6 skin-11-v3-auth — Stream B zone V3-B6-AUTH, 16.11.2026 (design handoff 20261116: login / register / forgot / expired link / session).
   Private preview only: every rule starts with html.msv2 (cookie msv2=on|dev). Look only — forms, field names/ids, actions,
   reCAPTCHA, CSRF/guard fields and native handlers are untouched. Inline message notes come from cookie-gated PHP (marker V3-B6)
   in Main.php / MainPasswordReset.php (class .v3b6-note).
   Why @layer ms-typography: skin-10/98/99 use layered !important, which beats plain !important; important rules in this
   (earlier-declared) layer also win over ms-controls. Neutral colours only (white / grey / navy), no pink tints. */
@layer ms-typography {
/* ---------- page ---------- */
html.msv2 body.authorize{background:#f4f7fa!important;color:#173b5b!important}
html.msv2 body.authorize .form-authorize{background:transparent!important;align-items:flex-start!important;min-height:calc(100vh - 77px)!important;padding:40px 16px 56px!important}

/* ---------- header (one row: logo · language · menu · action) ---------- */
html.msv2 body.authorize .menu-wrapper{min-height:72px!important;padding-top:12px!important;padding-bottom:12px!important;align-items:center!important}
html.msv2 body.authorize:has(form.login-card) .menu-wrapper #login{display:none!important}
html.msv2 body.authorize .menu-wrapper #login,
html.msv2 body.authorize .menu-wrapper .header-btn-contact{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;height:44px!important;padding:0 14px!important;border-radius:10px!important;background:#fff!important;background-image:none!important;color:#123a5c!important;border:1px solid #dce5ed!important;box-shadow:none!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important;transform:none!important;white-space:nowrap!important;text-decoration:none!important}
html.msv2 body.authorize .menu-wrapper .header-btn-contact img{filter:brightness(0)!important;opacity:.72!important;width:18px!important;height:18px!important}
html.msv2 body.authorize .menu-wrapper :is(#login,.header-btn-contact):hover{background:#edf3f8!important}
@media (max-width:1100px){html.msv2 body.authorize .menu-wrapper .menu__toggle-btn{display:flex!important}}
html.msv2 body.authorize .menu-wrapper .menu__toggle-btn{flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:1px solid #dce5ed!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
html.msv2 body.authorize .menu-wrapper .menu__toggle-btn span{display:block!important;flex:0 0 2px!important;width:20px!important;height:2px!important;min-height:2px!important;margin:0!important;border-radius:2px!important;background:#123a5c!important}

/* ---------- card: login + forgot ---------- */
html.msv2 body.authorize .form-authorize form.panel.login{max-width:460px!important;width:100%!important;margin:0 auto!important;padding:32px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:12px!important;box-shadow:none!important;text-align:left!important;animation:none!important}
html.msv2 body.authorize .form-authorize form.panel.login h1{font-size:20px!important;font-weight:500!important;line-height:1.3!important;letter-spacing:0!important;text-transform:none!important;text-align:left!important;color:#173b5b!important;margin:0 0 6px!important}
html.msv2 body.authorize .form-authorize form.panel.login :is(.login-subtitle,.reset-subtitle){font-size:14px!important;line-height:1.5!important;color:#63788e!important;text-align:left!important;margin:0 0 20px!important}

/* Google */
html.msv2 body.authorize .form-authorize .google-login{margin:0 0 16px!important;text-align:left!important}
html.msv2 body.authorize .form-authorize .google-login .btn{display:flex!important;width:100%!important;height:44px!important;min-height:44px!important;border-radius:10px!important;border:1px solid #dce5ed!important;background:#fff!important;color:#173b5b!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important}
html.msv2 body.authorize .form-authorize .google-login .btn:hover{background:#edf3f8!important}
html.msv2 body.authorize .form-authorize .google-login p{margin:14px 0 0!important;font-size:13px!important;line-height:1.45!important;color:#63788e!important;text-align:center!important}

/* fields: one border, 44px, radius 10 */
html.msv2 body.authorize .form-authorize .form-group{margin:0 0 12px!important}
html.msv2 body.authorize .form-authorize .form-group input.form-control{height:44px!important;min-height:44px!important;padding:0 12px 0 40px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:10px!important;box-shadow:none!important;color:#173b5b!important;font-size:15px!important;outline:0}
html.msv2 body.authorize .form-authorize .form-group input.form-control:focus{border-color:#123a5c!important;box-shadow:0 0 0 3px rgba(18,58,92,.14)!important}
html.msv2 body.authorize .form-authorize .form-group .input-icon{left:14px!important;color:#63788e!important;font-size:14px!important}

/* remember me */
html.msv2 body.authorize .form-authorize .login-actions{margin:0 0 12px!important}
html.msv2 body.authorize .form-authorize .remember-option{min-height:44px!important;font-size:14px!important;color:#173b5b!important;gap:10px!important}
html.msv2 body.authorize .form-authorize .check-box{width:18px!important;height:18px!important;border:1px solid #9fb2c4!important;border-radius:5px!important;background:#fff!important}
html.msv2 body.authorize .form-authorize .check-box.checked{background:#123a5c!important;background-image:none!important;border-color:#123a5c!important}

/* one button system: 44px, radius 10, no capitals */
html.msv2 body.authorize .form-authorize :is(.btn-enter,.btn-reset,.btn-cancel,.btn-forgot){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 16px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;transform:none!important;cursor:pointer}
html.msv2 body.authorize .form-authorize :is(.btn-enter,.btn-reset){background:#123a5c!important;background-image:none!important;border:1px solid #123a5c!important;color:#fff!important}
html.msv2 body.authorize .form-authorize :is(.btn-enter,.btn-reset):hover{background:#0f2447!important;border-color:#0f2447!important}
html.msv2 body.authorize .form-authorize :is(.btn-cancel,.btn-forgot){background:#fff!important;background-image:none!important;border:1px solid #dce5ed!important;color:#173b5b!important}
html.msv2 body.authorize .form-authorize :is(.btn-cancel,.btn-forgot):hover{background:#edf3f8!important}
html.msv2 body.authorize .form-authorize .btn-reset{margin-top:16px!important}
html.msv2 body.authorize .form-authorize .btn-cancel{margin-top:10px!important}
html.msv2 body.authorize .form-authorize .btn-forgot .fa{margin:0!important;color:#63788e!important}
html.msv2 body.authorize .form-authorize .login-noacc{margin:14px 0 0!important;font-size:14px!important;color:#63788e!important;text-align:center!important}
html.msv2 body.authorize .form-authorize .login-noacc a{color:#123a5c!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:2px}
html.msv2 body.authorize .form-authorize .divider{margin:18px 0!important;font-size:12px!important;color:#63788e!important}
html.msv2 body.authorize .form-authorize .divider::before,
html.msv2 body.authorize .form-authorize .divider::after{background:#dce5ed!important}
html.msv2 body.authorize .form-authorize .security-badges{margin-top:20px!important;padding-top:16px!important;border-top:1px solid #edf1f5!important;gap:16px!important}
html.msv2 body.authorize .form-authorize .security-badges span{font-size:12px!important;font-weight:500!important;color:#63788e!important;text-transform:none!important;letter-spacing:0!important}

/* forgot: native "before you reset" help, compact and neutral */
html.msv2 body.authorize .form-authorize .reset-note{margin:0 0 16px!important;padding:12px 14px!important;background:#f4f7fa!important;border:1px solid #dce5ed!important;border-radius:10px!important;color:#173b5b!important;font-size:13px!important;line-height:1.5!important;text-align:left!important}
html.msv2 body.authorize .form-authorize .reset-note-head{font-size:14px!important;font-weight:600!important;margin:0 0 6px!important;color:#173b5b!important}
html.msv2 body.authorize .form-authorize .reset-note ul{margin:0!important;padding:0 0 0 18px!important}
html.msv2 body.authorize .form-authorize .reset-note li{margin:3px 0!important;color:#173b5b!important;font-size:13px!important}
html.msv2 body.authorize .form-authorize .g-recaptcha{display:flex!important;justify-content:center!important;margin:4px 0 0!important;min-height:78px}

/* ---------- inline messages (cookie-gated PHP V3-B6, replaces the native popup in the preview) ---------- */
html.msv2 body.authorize .v3b6-note{display:flex!important;flex-direction:column!important;gap:10px!important;margin:0 0 16px!important;padding:12px 14px!important;background:#fff!important;border:1px solid #dce5ed!important;border-left:4px solid #63788e!important;border-radius:10px!important;color:#173b5b!important;font-size:14px!important;line-height:1.5!important;text-align:left!important;overflow-wrap:anywhere}
html.msv2 body.authorize .v3b6-note--bad{border-left-color:#b13d35!important}
html.msv2 body.authorize .v3b6-note--bad .v3b6-note__text{color:#8f2f29!important}
html.msv2 body.authorize .v3b6-note--warn{border-left-color:#b7791f!important}
html.msv2 body.authorize .v3b6-note--ok{border-left-color:#18764f!important}
html.msv2 body.authorize .v3b6-note__text b,
html.msv2 body.authorize .v3b6-note__text strong{font-weight:600}
html.msv2 body.authorize .v3b6-note__actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html.msv2 body.authorize .v3b6-note__actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 14px!important;border:1px solid #dce5ed!important;border-radius:10px!important;background:#fff!important;color:#123a5c!important;font-size:14px!important;font-weight:500!important;text-decoration:none!important}
html.msv2 body.authorize .v3b6-note__actions a:hover{background:#edf3f8!important}

/* ---------- register (MainRegister.php / MainRegister2.php) ---------- */
html.msv2 body.authorize :is(.register-panel,.register-intro){min-width:0!important;max-width:100%!important}
html.msv2 body.authorize .register-panel .checkout-in{padding:28px 32px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:12px!important;box-shadow:none!important}
html.msv2 body.authorize .register-panel .card-head{border-bottom:0!important;padding-bottom:0!important;margin-bottom:16px!important;text-align:left!important}
html.msv2 body.authorize .register-panel .card-head :is(h1,.reg-compact-title){font-size:20px!important;font-weight:500!important;line-height:1.3!important;text-align:left!important;color:#173b5b!important;margin:0 0 6px!important;letter-spacing:0!important;text-transform:none!important}
html.msv2 body.authorize .register-panel .card-head :is(p,.reg-compact-intro){font-size:14px!important;line-height:1.5!important;color:#63788e!important;text-align:left!important;margin:0!important}
html.msv2 body.authorize .register-panel :is(.register-back,a.register-back){min-height:44px!important;font-size:14px!important;font-weight:500!important;color:#123a5c!important}
html.msv2 body.authorize .register-panel .google-login .btn{height:44px!important;min-height:44px!important;border-radius:10px!important;border:1px solid #dce5ed!important;background:#fff!important;color:#173b5b!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important}
html.msv2 body.authorize .register-panel .or-divider{font-size:12px!important;font-weight:500!important;color:#63788e!important;text-transform:none!important;letter-spacing:0!important;margin:16px 0!important}
html.msv2 body.authorize .register-panel .checkout-form-input-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 12px!important;padding:0!important}
html.msv2 body.authorize .register-panel .checkout-form-input-row:has(> .checkout-form-input-block:only-child){grid-template-columns:minmax(0,1fr)!important}
html.msv2 body.authorize .register-panel .checkout-form-input-block{margin:0!important;padding:0!important;min-width:0!important;width:auto!important;max-width:none!important}
html.msv2 body.authorize .register-panel .checkout-form-input-block :is(input.form-control,input[type=text],input[type=email],input[type=tel],input[type=password]){display:block!important;width:100%!important;margin:0!important;height:44px!important;min-height:44px!important;padding-top:0!important;padding-bottom:0!important;padding-right:12px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:10px!important;box-shadow:none!important;color:#173b5b!important;font-size:15px!important}
html.msv2 body.authorize .register-panel .checkout-form-input-block input.form-control:not(.item-phone):not(#tel):not(#biz-phone){padding-left:12px!important}
html.msv2 body.authorize .register-panel .checkout-form-input-block .input-group{margin-top:0!important;margin-bottom:0!important;width:100%!important}
html.msv2 body.authorize .register-panel .checkout-form-input-block input:focus{border-color:#123a5c!important;box-shadow:0 0 0 3px rgba(18,58,92,.14)!important;outline:0!important}
html.msv2 body.authorize .register-panel details.reg-company{margin:0 0 12px!important}
html.msv2 body.authorize .register-panel details.reg-company > summary{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:0 14px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:10px!important;color:#123a5c!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important;cursor:pointer}
html.msv2 body.authorize .register-panel details.reg-company > summary:hover{background:#edf3f8!important}
html.msv2 body.authorize .register-panel details.reg-company[open] > summary{margin-bottom:12px!important}
html.msv2 body.authorize .register-panel .sc-captcha-wrap{display:flex!important;justify-content:center!important;width:100%!important;max-width:100%!important;margin:4px 0 12px!important;padding:0!important}
html.msv2 body.authorize .register-panel .sc-captcha-wrap .g-recaptcha{margin:0!important}
html.msv2 body.authorize .register-panel .checkout-form-btn-checkout{display:flex!important;width:100%!important;margin-left:0!important;margin-right:0!important;height:44px!important;min-height:44px!important;border-radius:10px!important;background:#123a5c!important;background-image:none!important;border:1px solid #123a5c!important;color:#fff!important;font-size:14px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important}
html.msv2 body.authorize .register-panel .checkout-form-btn-checkout:hover{background:#0f2447!important}
html.msv2 body.authorize .register-panel .have-account{font-size:14px!important;color:#63788e!important;margin-top:16px!important}
html.msv2 body.authorize .register-panel .next-steps{background:#f4f7fa!important;border:1px solid #dce5ed!important;border-radius:10px!important;box-shadow:none!important}

/* register validation / "already registered" dialog: X, one button shape */
html.msv2 body.authorize .sc-modal{border-radius:12px!important}
html.msv2 body.authorize .sc-modal__footer .sc-btn{min-height:44px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important;text-transform:none!important}
html.msv2 body.authorize .message .controls .btn,
html.msv2 body.authorize .password-reset-button{min-height:44px!important;border-radius:10px!important;font-size:14px!important;font-weight:500!important;text-transform:none!important}

/* ---------- phones ---------- */
@media (max-width:700px){
  html.msv2 body.authorize .form-authorize{padding:20px 12px 40px!important;min-height:0!important}
  html.msv2 body.authorize .form-authorize form.panel.login{padding:24px 20px!important}
  html.msv2 body.authorize .form-authorize form.panel.login h1,
  html.msv2 body.authorize .register-panel .card-head :is(h1,.reg-compact-title){font-size:18px!important}
  html.msv2 body.authorize :is(.form-authorize,.register-panel) input:not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px!important}
  html.msv2 body.authorize .register-panel .checkout-in{padding:20px 16px!important}
  html.msv2 body.authorize .register-panel .checkout-form-input-row{grid-template-columns:minmax(0,1fr)!important}
  html.msv2 body.authorize .register-section{grid-template-columns:minmax(0,1fr)!important}
  html.msv2 body.authorize .menu-wrapper{min-height:64px!important;padding:10px 12px!important;gap:8px!important;flex-wrap:nowrap!important}
}
@media (max-width:360px){
  html.msv2 body.authorize .form-authorize form.panel.login{padding:20px 14px!important}
  html.msv2 body.authorize :is(.form-authorize,.register-panel) .g-recaptcha{transform:scale(.88);transform-origin:center top}
}
}

/* Owner: give sign-in and registration a distinct card and clearer controls. */
@layer ms-typography {
html.msv2 body.authorize .form-authorize form.panel.login.login-card,
html.msv2 body.authorize .register-panel .checkout-in{
 border-color:#bdcddd!important;
 border-top:3px solid #f56608!important;
 background:#fff!important;
 box-shadow:0 16px 40px rgba(15,36,71,.17),0 4px 10px rgba(15,36,71,.09)!important;
}
html.msv2 body.authorize .form-authorize :is(.login-card,.reset-card) .form-group input.form-control,
html.msv2 body.authorize .register-panel .checkout-form-input-block :is(input.form-control,input[type=text],input[type=email],input[type=tel],input[type=password]){
 border-color:#9fb3c8!important;
 box-shadow:0 2px 5px rgba(15,36,71,.1)!important;
 background:#fff!important;
}
html.msv2 body.authorize .form-authorize :is(.login-card,.reset-card) .form-group input.form-control:focus,
html.msv2 body.authorize .register-panel .checkout-form-input-block input:focus{
 border-color:#123a5c!important;
 box-shadow:0 0 0 3px rgba(18,58,92,.18),0 2px 5px rgba(15,36,71,.1)!important;
}
html.msv2 body.authorize .form-authorize .login-card .google-login .btn{
 border-color:#b3c5d6!important;
 box-shadow:0 3px 7px rgba(15,36,71,.1)!important;
}
html.msv2 body.authorize .form-authorize .login-card .btn-enter,
html.msv2 body.authorize .form-authorize .reset-card .btn-reset,
html.msv2 body.authorize .register-panel .checkout-form-btn-checkout{
 box-shadow:0 5px 12px rgba(18,58,92,.25)!important;
}
}

@layer ms-typography {
html.msv2 body.authorize .form-authorize .reset-card .reset-note{padding:10px 12px!important;font-size:12px!important;line-height:1.45!important}
html.msv2 body.authorize .form-authorize .reset-card .reset-note-head{font-size:12.5px!important;line-height:1.4!important;margin-bottom:5px!important}
html.msv2 body.authorize .form-authorize .reset-card .reset-note li{font-size:12px!important;line-height:1.45!important;margin:3px 0!important}
html.msv2 body.authorize .form-authorize .reset-card .reset-note :is(b,strong){font-size:inherit!important;font-weight:600!important;color:inherit!important}
}

/* Owner: centered brand and headings inside every authentication card. */
@layer ms-typography {
html.msv2 body.authorize .form-authorize form.panel.login.reset-card{
 border-color:#bdcddd!important;border-top:3px solid #f56608!important;
 box-shadow:0 16px 40px rgba(15,36,71,.17),0 4px 10px rgba(15,36,71,.09)!important;
}
html.msv2 body.authorize .form-authorize form.panel.login:is(.login-card,.reset-card),
html.msv2 body.authorize .register-panel .checkout-in{ text-align:center!important }
html.msv2 body.authorize .form-authorize form.panel.login:is(.login-card,.reset-card) h1,
html.msv2 body.authorize .form-authorize form.panel.login:is(.login-card,.reset-card) :is(.login-subtitle,.reset-subtitle),
html.msv2 body.authorize .register-panel .checkout-in .card-head,
html.msv2 body.authorize .register-panel .checkout-in .card-head :is(h1,h2,.reg-compact-title,p){text-align:center!important}
html.msv2 body.authorize .form-authorize form.panel.login img.logo,
html.msv2 body.authorize .form-authorize form.panel.login img.auth-card-logo,
html.msv2 body.authorize .register-panel .checkout-in .card-head img.reg-compact-logo{
 display:block!important;width:140px!important;max-width:70%!important;height:auto!important;max-height:52px!important;
 object-fit:contain!important;margin:0 auto 16px!important;
}
html.msv2 body.authorize .register-panel .checkout-in details.reg-company{text-align:center!important}
html.msv2 body.authorize .register-panel .checkout-in details.reg-company>summary{justify-content:center!important;margin-left:auto!important;margin-right:auto!important}
html.msv2 body.authorize .register-panel .checkout-in .register-back{margin-left:auto!important;margin-right:auto!important}
html.msv2 body.authorize .form-authorize :is(.have-account,.security-badges),
html.msv2 body.authorize .register-panel .checkout-in :is(.have-account,.security-badges){text-align:center!important;justify-content:center!important}
}

@layer ms-typography {
@media(max-width:360px){html.msv2 body.authorize .menu-wrapper .header-btn-contact{font-size:12px!important;padding:0 10px!important;gap:6px!important;white-space:normal!important}}
}

/* Compact password help: optional details stay closed until requested. */
@layer ms-typography {
html.msv2 body.authorize .form-authorize .reset-card details.reset-note {text-align:left!important;margin-bottom:16px!important}
html.msv2 body.authorize .form-authorize .reset-card details.reset-note>summary.reset-note-head {display:list-item!important;cursor:pointer!important;margin:0!important;font-weight:500!important;color:#64788f!important}
html.msv2 body.authorize .form-authorize .reset-card details.reset-note[open]>summary.reset-note-head {margin-bottom:8px!important}
html.msv2 body.authorize .form-authorize .reset-card details.reset-note>summary:focus-visible {outline:2px solid #123a5c;outline-offset:4px;border-radius:3px}
}

/* Keep the remember-me checkbox and label centered as one control. */
@layer ms-typography {
html.msv2 body.authorize .form-authorize form.panel.login .login-actions{justify-content:center!important}
html.msv2 body.authorize .form-authorize form.panel.login .remember-option{display:inline-flex!important;justify-content:center!important;margin-inline:auto!important}
}
