/* Preview-only entrance from UX/prototype/login.html. The public backdrop is
   anonymous source artwork; the real workspace is revealed only after auth. */
html.ysa-connected-preview body:has(> .ysa-auth[data-auth-screen]) { overflow:hidden; }
html.ysa-connected-preview .ysa-auth[data-auth-screen] {
  --ysa-auth-ease:cubic-bezier(.2,.8,.2,1); --ysa-auth-blur:22px; --ysa-auth-tint:.58;
  position:fixed; inset:0; z-index:1000; display:flex; flex-direction:column;
  align-items:center; width:auto; max-width:none; height:100dvh; min-height:0;
  margin:0; padding:24px; overflow:auto; border:0; border-radius:0;
  background:transparent; color:var(--ysa-text); font:400 15px/1.45 var(--ysa-font-sans);
  -webkit-font-smoothing:antialiased; isolation:isolate; animation:none; filter:none;
}
html.ysa-connected-preview .ysa-auth[data-auth-screen="twofa"] { --ysa-auth-blur:12px; --ysa-auth-tint:.40; }
html.ysa-connected-preview .ysa-auth[data-auth-screen="ready"] { --ysa-auth-blur:5px; --ysa-auth-tint:.24; }
html.ysa-connected-preview .ysa-auth-prototype-backdrop {
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:var(--ysa-canvas) url('/img/auth-workspace-backdrop.png') center top / cover no-repeat;
  transform:scale(1.04); transform-origin:50% 40%;
}
html.ysa-connected-preview .ysa-auth-prototype-frost {
  position:fixed; inset:-48px; z-index:1; pointer-events:none;
  background:rgba(244,244,241,var(--ysa-auth-tint));
  -webkit-backdrop-filter:blur(var(--ysa-auth-blur)) saturate(1.2);
  backdrop-filter:blur(var(--ysa-auth-blur)) saturate(1.2);
  transition:background 900ms var(--ysa-auth-ease),backdrop-filter 900ms var(--ysa-auth-ease);
}
html.ysa-connected-preview .ysa-auth .ysa-auth-main {
  position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;
  flex:none; gap:16px; width:440px; max-width:100%; min-height:0; margin:auto; padding:0;
  overflow:visible; background:none; animation:ysa-auth-prototype-enter 560ms var(--ysa-auth-ease) backwards;
}
html.ysa-connected-preview .ysa-auth .ysa-auth-card {
  position:relative; width:100%; max-width:none; min-width:0; margin:0; padding:30px 36px 26px;
  border:0; border-radius:28px; background:#fff;
  box-shadow:0 30px 80px rgba(14,37,35,.22),0 2px 6px rgba(14,37,35,.08);
}
html.ysa-connected-preview .ysa-auth-prototype-head {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  height:28px; margin:0 0 26px;
}
html.ysa-connected-preview .ysa-auth-prototype-logo { display:block; flex:none; width:auto; height:22px; max-width:calc(100% - 68px); object-fit:contain; }
html.ysa-connected-preview .ysa-auth-prototype-steps { display:flex; align-items:center; flex:none; gap:7px; height:22px; margin:0; padding:0 9px; list-style:none; background:var(--ysa-ink); border-radius:999px; }
html.ysa-connected-preview .ysa-auth-prototype-steps li { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.28); transition:background 240ms,transform 240ms var(--ysa-auth-ease); }
html.ysa-connected-preview .ysa-auth-prototype-steps li.is-done { background:rgba(255,255,255,.72); }
html.ysa-connected-preview .ysa-auth-prototype-steps li.is-current { background:var(--ysa-lime); transform:scale(1.3); }
html.ysa-connected-preview .ysa-auth .ysa-auth-heading { margin:0 0 18px; padding:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-heading h2,
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-heading h2 { margin:0; font:400 30px/1.15 var(--ysa-font-heading); letter-spacing:-.01em; text-wrap:pretty; overflow-wrap:anywhere; }
html.ysa-connected-preview .ysa-auth .ysa-auth-heading p,
html.ysa-connected-preview .ysa-auth .twofa_message,
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-heading p { margin:8px 0 0; color:var(--ysa-text-muted); font-size:14px; font-weight:400; line-height:1.5; text-wrap:pretty; overflow-wrap:anywhere; }
html.ysa-connected-preview .ysa-auth .twofa_message strong { color:var(--ysa-text); font-weight:600; }
html.ysa-connected-preview .ysa-auth .ysa-auth-form { display:flex; flex-direction:column; gap:18px; width:100%; margin:0; padding:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-field { display:flex; flex-direction:column; gap:6px; min-width:0; margin:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-label { color:var(--ysa-text); font-size:12.5px; font-weight:600; line-height:1.4; }
html.ysa-connected-preview .ysa-auth .wrap-input100 { position:relative; display:block; width:100%; margin:0; padding:0; border:0; border-radius:12px; background:none; }
html.ysa-connected-preview .ysa-auth .input100 { display:block; width:100%; height:46px; min-height:46px; padding:0 14px; border:1px solid var(--ysa-line-strong); border-radius:12px; outline:0; background:#fff; color:var(--ysa-text); font:400 15px/1.45 var(--ysa-font-sans); transition:border-color 120ms,box-shadow 120ms,background 120ms; }
html.ysa-connected-preview .ysa-auth .input100:hover { border-color:#B9BFBB; }
html.ysa-connected-preview .ysa-auth .input100:focus { border-color:var(--ysa-ink); outline:0; box-shadow:0 0 0 3px rgba(165,196,195,.45); }
html.ysa-connected-preview .ysa-auth .input100::placeholder { color:var(--ysa-text-faint); }
html.ysa-connected-preview .ysa-auth .ysa-auth-input-icon,
html.ysa-connected-preview .ysa-auth .focus-input100,
html.ysa-connected-preview .ysa-auth .login100-form-bgbtn { display:none; }
html.ysa-connected-preview .ysa-auth .wrap-input100:has(.btn-show-pass) .input100 { padding-right:48px; }
html.ysa-connected-preview .ysa-auth .btn-show-pass { position:absolute; z-index:1; right:5px; top:1px; display:grid; place-items:center; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:9px; background:transparent; color:var(--ysa-text-2); }
html.ysa-connected-preview .ysa-auth .btn-show-pass:hover { background:var(--ysa-canvas); color:var(--ysa-ink); }
html.ysa-connected-preview .ysa-auth .btn-show-pass i { display:block; width:17px; height:17px; font-size:17px; }
html.ysa-connected-preview .ysa-auth .alert-validate .input100,
html.ysa-connected-preview .ysa-auth .input100[aria-invalid="true"] { border-color:var(--ysa-danger-line); background:var(--ysa-danger-soft); }
html.ysa-connected-preview .ysa-auth .alert-validate::after { display:block; margin-top:6px; color:var(--ysa-danger-text); content:attr(data-validate); font-size:12.5px; line-height:1.4; }
html.ysa-connected-preview .ysa-auth :is(.container-login100-form-btn,.wrap-login100-form-btn) { display:block; width:100%; min-width:0; margin:0; padding:0; overflow:visible; border-radius:12px; }
html.ysa-connected-preview .ysa-auth .login100-form-btn,
html.ysa-connected-preview .ysa-auth .ysa-auth-recovery-primary { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:46px; min-height:46px; margin:0; padding:0 14px; border:1px solid var(--ysa-ink); border-radius:12px; background:var(--ysa-ink); color:#fff; font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; transition:background 120ms,transform 120ms var(--ysa-auth-ease); }
html.ysa-connected-preview .ysa-auth :is(.login100-form-btn,.ysa-auth-recovery-primary):hover { background:#1B3634; }
html.ysa-connected-preview .ysa-auth .login100-form-btn:active { transform:scale(.99); }
html.ysa-connected-preview .ysa-auth .login100-form-btn:disabled { cursor:wait; opacity:1; }
html.ysa-connected-preview .ysa-auth [aria-busy="true"] .login100-form-btn[data-auth-busy-label] .ysa-auth-submit-label { visibility:hidden; }
html.ysa-connected-preview .ysa-auth [aria-busy="true"] .login100-form-btn[data-auth-busy-label]::after { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding-left:22px; content:attr(data-auth-busy-label); }
html.ysa-connected-preview .ysa-auth [aria-busy="true"] .login100-form-btn[data-auth-busy-label]::before { position:absolute; left:calc(50% - 54px); width:16px; height:16px; border:2px solid rgba(255,255,255,.22); border-top-color:var(--ysa-lime); border-radius:50%; content:""; animation:ysa-auth-prototype-spin 800ms linear infinite; }
html.ysa-connected-preview .ysa-auth .ysa-auth-inline-link,
html.ysa-connected-preview .ysa-auth .ysa-auth-qr-disclosure summary { color:var(--ysa-text-muted); font-size:13px; font-weight:600; line-height:1.45; text-decoration:none; border-radius:6px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-inline-link:hover { color:var(--ysa-ink); text-decoration:underline; text-underline-offset:3px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-forgot { align-self:flex-end; display:inline-flex; align-items:center; min-height:28px; margin:-4px 0 -4px; }
html.ysa-connected-preview .ysa-auth-prototype-links { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 8px; margin:-6px 0 0; color:var(--ysa-text-faint); line-height:1.45; }
html.ysa-connected-preview .ysa-auth-prototype-links .ysa-auth-inline-link { font-size:12.5px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-form-message { display:block; margin:0; padding:10px 12px; border:1px solid var(--ysa-danger-line); border-radius:10px; background:var(--ysa-danger-soft); color:var(--ysa-danger-text); font-size:12.5px; line-height:1.45; overflow-wrap:anywhere; }
html.ysa-connected-preview .ysa-auth .ysa-auth-form-message:empty { display:none!important; }
html.ysa-connected-preview .ysa-auth .ysa-auth-form-message--success { border-color:var(--ysa-line); background:var(--ysa-sage-soft); color:var(--ysa-ink); }
html.ysa-connected-preview .ysa-auth .ysa-auth-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px 8px; margin:0; padding:7px 14px; border-radius:999px; background:rgba(255,255,255,.72); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:var(--ysa-text-3); font-size:12px; line-height:1.4; text-align:center; }
html.ysa-connected-preview .ysa-auth .ysa-auth-footer :is(a,button) { display:inline; width:auto; min-height:0; margin:0; padding:0; border:0; border-radius:4px; background:none; color:inherit; font:inherit; }
html.ysa-connected-preview .ysa-auth .ysa-auth-footer :is(a,button):hover { text-decoration:underline; }
html.ysa-connected-preview .ysa-auth .ysa-auth-language { position:fixed; z-index:4; top:22px; right:24px; margin:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-language label { position:relative; display:block; }
html.ysa-connected-preview .ysa-auth .ysa-auth-language select { width:auto; height:38px; min-height:38px; padding:0 30px 0 12px; border:1px solid rgba(255,255,255,.7); border-radius:999px; background:rgba(255,255,255,.78); color:var(--ysa-text-3); font-size:12px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-language i { display:none; }
/* The existing QR flow remains available, without dominating the password card. */
html.ysa-connected-preview .ysa-auth-qr-disclosure { margin-top:18px; padding-top:14px; border-top:1px solid var(--ysa-line-soft); }
html.ysa-connected-preview .ysa-auth-qr-disclosure summary { display:list-item; width:max-content; max-width:100%; margin:auto; padding:4px 0; cursor:pointer; text-align:center; }
html.ysa-connected-preview .ysa-auth .ysa-qr-login { margin:14px 0 0; padding:14px; border:1px solid var(--ysa-line); border-radius:12px; background:var(--ysa-canvas-tint); }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-copy h3 { margin:0; font:400 18px/1.3 var(--ysa-font-heading); }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-copy p,
html.ysa-connected-preview .ysa-auth .ysa-qr-login-details p { margin:5px 0 0; color:var(--ysa-text-muted); font-size:12px; line-height:1.45; }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-content { display:flex; align-items:center; gap:14px; margin-top:14px; }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-image { display:grid; place-items:center; flex:none; width:128px; height:128px; border-radius:10px; background:#fff; overflow:hidden; }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-image img { display:block; width:128px; height:128px; }
html.ysa-connected-preview .ysa-auth .ysa-qr-login-details { min-width:0; }
html.ysa-connected-preview .ysa-auth .ysa-qr-button { margin-top:10px; font-size:12px; }
/* Verification retains the server-selected methods and four/six-digit inputs. */
html.ysa-connected-preview .ysa-auth--twofa .ysa-auth-icon { display:none; }
html.ysa-connected-preview .ysa-auth-prototype-back { display:inline-flex; align-items:center; gap:6px; min-height:28px; margin:-6px 0 10px -7px; padding:0 8px 0 5px; border-radius:8px; color:var(--ysa-text-muted); font-size:13px; line-height:1.4; }
html.ysa-connected-preview .ysa-auth-prototype-back svg { width:13px; height:13px; }
html.ysa-connected-preview .ysa-auth-prototype-back:hover { background:var(--ysa-canvas); color:var(--ysa-ink); text-decoration:none; }
html.ysa-connected-preview .ysa-auth .twofa-method-switch { display:grid; grid-template-columns:1fr 1fr; gap:0; width:100%; min-height:44px; padding:3px; border:1px solid var(--ysa-line); border-radius:12px; background:#fff; }
html.ysa-connected-preview .ysa-auth .twofa_method_button { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:36px; padding:5px 6px; border:0; border-radius:9px; background:none; color:var(--ysa-text-3); font-size:13px; font-weight:500; line-height:1.35; }
html.ysa-connected-preview .ysa-auth .twofa_method_button.active { background:var(--ysa-canvas); color:var(--ysa-ink); font-weight:600; }
html.ysa-connected-preview .ysa-auth .twofa_method_button svg { flex:none; width:14px; height:14px; }
html.ysa-connected-preview .ysa-auth .code-input { display:flex; align-items:center; justify-content:flex-start; gap:10px; width:100%; min-width:0; margin:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-code-gap { flex:none; width:6px; height:2px; border-radius:1px; background:var(--ysa-line-strong); }
html.ysa-connected-preview .ysa-auth .code-input[data-code-length='4'] .ysa-auth-code-gap { display:none; }
/* Count input elements, not the presentation separator, in four-digit mode. */
html.ysa-connected-preview .ysa-auth .validate-2fa-form[data-code-length='4'] .code-input input.code:nth-of-type(-n+4) { display:block; }
html.ysa-connected-preview .ysa-auth .validate-2fa-form[data-code-length='4'] .code-input input.code:nth-of-type(n+5) { display:none; }
html.ysa-connected-preview .ysa-auth .code-input .code { flex:1 1 0; width:0; min-width:0; max-width:52px; height:60px; min-height:60px; margin:0; padding:0; border:1px solid var(--ysa-line-strong); border-radius:14px; background:#fff; color:var(--ysa-text); outline:0; font:600 26px/1 var(--ysa-font-sans); font-variant-numeric:tabular-nums; text-align:center; caret-color:var(--ysa-ink); transition:border-color 120ms,box-shadow 120ms,background 160ms; }
html.ysa-connected-preview .ysa-auth .code-input .code:focus { border-color:var(--ysa-ink); box-shadow:0 0 0 3px rgba(165,196,195,.45); }
html.ysa-connected-preview .ysa-auth .code-input .code:not(:placeholder-shown) { background:var(--ysa-canvas-tint); }
html.ysa-connected-preview .ysa-auth .code-input .code.error { border-color:var(--ysa-danger-line); background:var(--ysa-danger-soft); box-shadow:none; animation:ysa-auth-prototype-shake 460ms var(--ysa-auth-ease); }
html.ysa-connected-preview .ysa-auth .ysa-auth-switch-copy { margin:0; color:var(--ysa-text-muted); font-size:13px; text-align:center; }
/* Account creation uses the existing focus-managed panel and consent fields. */
html.ysa-connected-preview .ysa-auth .ysa-auth-scrim { position:fixed; inset:0; z-index:5; width:100%; height:100%; min-height:100%; margin:0; padding:0; border:0; border-radius:0; background:rgba(14,37,35,.32); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); opacity:0; pointer-events:none; transition:opacity 240ms var(--ysa-auth-ease); }
html.ysa-connected-preview .ysa-auth .ysa-auth-scrim--open { opacity:1; pointer-events:auto; }
html.ysa-connected-preview .ysa-auth .ysa-auth-signup-panel { position:fixed; z-index:6; top:0; right:0; bottom:0; display:flex; flex-direction:column; width:480px; max-width:100%; margin:0; padding:0; overflow:auto; border:0; border-radius:28px 0 0 28px; background:#fff; box-shadow:0 30px 80px rgba(14,37,35,.22); visibility:hidden; transform:translateX(102%); transition:transform 300ms var(--ysa-auth-ease),visibility 0s 300ms; }
html.ysa-connected-preview .ysa-auth .ysa-auth-signup-panel--open { visibility:visible; transform:none; transition:transform 300ms var(--ysa-auth-ease); }
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 28px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-logo { width:auto; height:22px; max-width:calc(100% - 60px); }
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-close { display:grid; place-items:center; flex:none; width:44px; height:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:12px; background:var(--ysa-canvas); }
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-content { padding:0 28px 28px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-panel-heading { margin-bottom:24px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-name-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; min-width:0; }
html.ysa-connected-preview .ysa-auth .ysa-auth-consent { display:flex; align-items:flex-start; gap:10px; color:var(--ysa-text-muted); font-size:12.5px; line-height:1.5; }
html.ysa-connected-preview .ysa-auth .ysa-auth-consent input { margin-top:2px; }
html.ysa-connected-preview .ysa-auth .ysa-auth-consent a { text-decoration:underline; }
html.ysa-connected-preview .ysa-auth .hp-field { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; opacity:0!important; }
@property --ysa-auth-reveal-radius { syntax:'<length>'; inherits:false; initial-value:-260px; }
/* Existing guarded handoff: real authorized content is behind this cover. */
html.ysa-connected-preview.ysa-auth-arriving:not(.ysa-auth-revealing) body { overflow:hidden!important; }
html.ysa-connected-preview.ysa-auth-arriving:not(.ysa-auth-mounted) body > :not([data-ysa-auth-cover]):not([data-ysa-auth-veil]):not([data-ysa-auth-status]) { visibility:hidden!important; }
html.ysa-connected-preview [data-ysa-auth-cover],
html.ysa-connected-preview [data-ysa-auth-veil] { position:fixed; inset:0; margin:0; }
html.ysa-connected-preview [data-ysa-auth-cover] { z-index:2147483601; background:transparent; opacity:1; transition:opacity 300ms cubic-bezier(.2,.8,.2,1); }
html.ysa-connected-preview [data-ysa-auth-cover] .ysa-auth { animation:none; }
html.ysa-connected-preview [data-ysa-auth-cover] .ysa-auth-main { animation:none; transition:opacity 300ms cubic-bezier(.2,.8,.2,1),transform 350ms cubic-bezier(.2,.8,.2,1); }
html.ysa-connected-preview [data-ysa-auth-veil] { z-index:2147483600; pointer-events:none; background:rgba(244,244,241,.24); -webkit-backdrop-filter:blur(5px) saturate(1.2); backdrop-filter:blur(5px) saturate(1.2); transition:background 450ms cubic-bezier(.2,.8,.2,1),backdrop-filter 450ms cubic-bezier(.2,.8,.2,1),-webkit-backdrop-filter 450ms cubic-bezier(.2,.8,.2,1); }
html.ysa-connected-preview.ysa-auth-revealing [data-ysa-auth-cover] { opacity:0; pointer-events:none; }
html.ysa-connected-preview.ysa-auth-revealing [data-ysa-auth-cover] .ysa-auth-main { opacity:0; transform:translateY(-16px) scale(.97); }
html.ysa-connected-preview.ysa-auth-revealing [data-ysa-auth-veil] { background:rgba(244,244,241,0); -webkit-backdrop-filter:blur(0); backdrop-filter:blur(0); }
html.ysa-connected-preview [data-ysa-auth-status] { position:fixed; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
html.ysa-connected-preview #framework_main[data-ysa-auth-entry-focus]:focus { outline:none; }
html.ysa-connected-preview .ysa-auth-prototype-ready { display:flex; flex-direction:column; gap:18px; padding:4px 0 8px; }
html.ysa-connected-preview .ysa-auth-prototype-check { display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:var(--ysa-ink); color:var(--ysa-lime); animation:ysa-auth-prototype-pop 420ms cubic-bezier(.2,.8,.2,1) both; }
html.ysa-connected-preview .ysa-auth-prototype-check svg { display:block; width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
html.ysa-connected-preview .ysa-auth-prototype-ready h2 { margin:0; font:400 30px/1.15 var(--ysa-font-heading); letter-spacing:-.01em; overflow-wrap:anywhere; }
html.ysa-connected-preview .ysa-auth-prototype-ready-description { margin:8px 0 0; color:var(--ysa-text-muted); font-size:14px; line-height:1.5; }
@keyframes ysa-auth-prototype-enter { from { opacity:0; transform:translateY(16px) scale(.98); } }
@keyframes ysa-auth-prototype-spin { to { transform:rotate(360deg); } }
@keyframes ysa-auth-prototype-pop { from { opacity:0; transform:scale(.6); } to { opacity:1; transform:none; } }
@keyframes ysa-auth-prototype-shake { 15% { transform:translateX(-6px); } 30% { transform:translateX(6px); } 45% { transform:translateX(-4px); } 60% { transform:translateX(4px); } 75% { transform:translateX(-2px); } }
@media (max-width:520px) {
  html.ysa-connected-preview .ysa-auth[data-auth-screen] { padding:16px; }
  html.ysa-connected-preview .ysa-auth-prototype-backdrop { background-image:url('/img/auth-workspace-mobile.png'); }
  html.ysa-connected-preview .ysa-auth .ysa-auth-card { padding:24px 22px 22px; border-radius:24px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-heading h2,
  html.ysa-connected-preview .ysa-auth .ysa-auth-panel-heading h2,
  html.ysa-connected-preview .ysa-auth-prototype-ready h2 { font-size:26px; }
  html.ysa-connected-preview .ysa-auth .code-input { gap:8px; }
  html.ysa-connected-preview .ysa-auth .code-input .code { height:54px; min-height:54px; border-radius:12px; font-size:22px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-language { top:14px; right:16px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-signup-panel { border-radius:24px 0 0 24px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-panel-topbar { padding:20px 22px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-panel-content { padding:0 22px 24px; }
}
@media (max-width:350px) {
  html.ysa-connected-preview .ysa-auth-prototype-head { gap:10px; }
  html.ysa-connected-preview .ysa-auth .ysa-auth-name-row { grid-template-columns:1fr; }
  html.ysa-connected-preview .ysa-auth .ysa-qr-login-content { align-items:flex-start; gap:10px; }
  html.ysa-connected-preview .ysa-auth .ysa-qr-login-image,
  html.ysa-connected-preview .ysa-auth .ysa-qr-login-image img { width:104px; height:104px; }
  html.ysa-connected-preview .ysa-auth .twofa_method_button { font-size:12px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ysa-connected-preview .ysa-auth *,html.ysa-connected-preview .ysa-auth *::before,html.ysa-connected-preview .ysa-auth *::after,
  html.ysa-connected-preview [data-ysa-auth-cover],html.ysa-connected-preview [data-ysa-auth-veil] { animation-duration:0s!important; transition-duration:0s!important; }
}

@media (max-width:520px) and (max-height:700px) {
  html.ysa-connected-preview .ysa-auth[data-auth-screen] { padding-top:72px; }
}
