/* =========================================================================
   Skin A — الخزنة / The Vault
   Dark, cinematic, glass-and-glow. You are not filling in a form, you are
   opening the archive.

   Every selector in this file is scoped under body.auth-skin-vault (plus the
   one html:has(> body.auth-skin-vault) rule that paints the canvas behind an
   over-scroll). Nothing here can reach another skin.

   The skin is INHERENTLY DARK: it never reads a semantic colour token for its
   own surfaces, so it renders identically under data-theme="light" and
   data-theme="dark". It does REDEFINE those tokens on the body, because the
   four non-login auth views (reset-password, 2FA challenge, 2FA setup,
   recovery codes) carry inline style="...var(--fg-2)..." that this skin has no
   right to edit — redefining the token in scope is how their chrome lands on
   a dark ground instead of being unreadable.

   Direction: logical properties throughout. The card sits at the inline-start
   edge and the dial at inline-end, so the whole composition mirrors between
   ar (RTL) and en (LTR). The only decoration on a physical axis is horizontal:
   the two specular sweeps and the strata drift, which read the same either way.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Scope tokens
   ------------------------------------------------------------------------- */
html:has(> body.auth-skin-vault) { background: #0D0507; color-scheme: dark; }

body.auth-skin-vault {
  /* skin-private palette — lifted from the approved artboard, unrounded */
  --v-linen:        #FFF1E8;
  --v-ink:          #0D0507;
  --v-rose:         #CD2F5C;
  --v-rose-lift:    #E24571;
  --v-rose-deep:    #B42750;
  --v-amber:        #D97929;
  --v-glass-line:   rgba(255, 241, 232, .15);
  --v-field-bg:     rgba(6, 2, 3, .52);
  --v-field-line:   rgba(255, 241, 232, .13);
  --v-carve:        inset 0 2px 7px rgba(0, 0, 0, .6), inset 0 -1px 0 rgba(255, 241, 232, .06);
  --v-hot:          rgba(205, 47, 92, .72);
  --v-hot-ring:     0 0 0 3px rgba(205, 47, 92, .24);
  /* where the rose / amber hot-spots sit — mirrored for RTL below */
  --v-glow-x:       78%;
  --v-glow2-x:      96%;

  /* semantic tokens the SHARED auth views reach for through inline styles */
  --ink:            #FFF1E8;
  --fg-1:           #FFF1E8;
  --fg-2:           rgba(255, 241, 232, .74);
  --fg-3:           rgba(255, 241, 232, .56);
  --muted:          rgba(255, 241, 232, .74);
  --muted-soft:     rgba(255, 241, 232, .56);
  --fg-heritage:    #FFF1E8;
  --bg-page:        #0D0507;
  --bg-surface:     rgba(6, 2, 3, .52);
  --bg-subtle:      rgba(255, 241, 232, .07);
  --line:           rgba(255, 241, 232, .13);
  --line-strong:    rgba(255, 241, 232, .2);
  --hoverwash:      rgba(255, 241, 232, .09);
  /* At .5 this ring composites to ~1.6:1 against the near-black ground — well
     under the 3:1 non-text floor, i.e. a focus indicator you cannot see. .9
     reads at ~3.2:1 and keeps the rose focus language. */
  --focus-ring:     0 0 0 3px rgba(205, 47, 92, .9);
  --t-green-bg:     rgba(46, 139, 87, .2);    --t-green-fg:  #7CC79E;
  --t-amber-bg:     rgba(217, 121, 41, .18);  --t-amber-fg:  #F0A868;
  --t-danger-bg:    rgba(176, 65, 62, .2);    --t-danger-fg: #EE9C93;
  --t-rose-bg:      rgba(205, 47, 92, .18);   --t-rose-fg:   #F595B4;
  --t-oxb-bg:       rgba(255, 233, 220, .08); --t-oxb-fg:    #E8C9B8;

  background: #0D0507;
  color: #FFF1E8;
  color-scheme: dark;
}

html[dir="rtl"] body.auth-skin-vault { --v-glow-x: 22%; --v-glow2-x: 4%; }

/* -------------------------------------------------------------------------
   2. Shell + atmosphere
   ------------------------------------------------------------------------- */
body.auth-skin-vault .v-shell { position: relative; isolation: isolate; }

body.auth-skin-vault .v-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(105% 88% at var(--v-glow-x) 4%, rgba(205, 47, 92, .34), transparent 58%),
    radial-gradient(78% 74% at var(--v-glow2-x) 104%, rgba(217, 121, 41, .2), transparent 60%),
    linear-gradient(168deg, #1C0A0D 0%, #0D0507 52%, #150809 100%);
}

/* Archive strata — two planes of vertical hairlines (document spines) sliding
   past each other. The mask fades them out top and bottom; the shift rides a
   transform (composited) rather than background-position (full repaint), and
   the sheet is oversized by 520px each side so no edge ever swims into view. */
body.auth-skin-vault .v-strata { position: absolute; inset: 0; pointer-events: none; }
body.auth-skin-vault .v-strata::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -520px; right: -520px;
  will-change: transform;
}
body.auth-skin-vault .v-strata-a {
  opacity: .3;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 66%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 66%, transparent 100%);
}
body.auth-skin-vault .v-strata-a::before {
  filter: blur(1.1px);
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 241, 232, .1) 0 3px, transparent 3px 13px,
    rgba(255, 241, 232, .05) 13px 17px, transparent 17px 30px,
    rgba(255, 241, 232, .13) 30px 33px, transparent 33px 48px);
  animation: v-drift-a 58s linear infinite;
}
body.auth-skin-vault .v-strata-b {
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent 96%);
          mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 60%, transparent 96%);
}
body.auth-skin-vault .v-strata-b::before {
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 241, 232, .13) 0 2px, transparent 2px 9px,
    rgba(255, 241, 232, .06) 9px 11px, transparent 11px 20px,
    rgba(255, 241, 232, .09) 20px 22px, transparent 22px 34px);
  animation: v-drift-b 34s linear infinite;
}

/* Film grain: feTurbulence as a data-URI, overlay-blended over the atmosphere
   and under the content column. */
body.auth-skin-vault .v-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .34; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* -------------------------------------------------------------------------
   3. Layout — card at inline-start, dial at inline-end
   ------------------------------------------------------------------------- */
body.auth-skin-vault .v-stage {
  position: relative; z-index: 2;
  /* The DS has no global border-box reset (controls.css sets it per component),
     so without this the padding-block below is ADDED to 100dvh and every auth
     screen carries a permanent scrollbar with the composition pushed off centre. */
  box-sizing: border-box;
  min-height: 100vh; min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 56px);
  padding-block: clamp(28px, 6vh, 64px);
  padding-inline: clamp(18px, 3.6vw, 76px) 0;
}
body.auth-skin-vault .v-col {
  width: min(470px, 100%); justify-self: start;
  display: flex; flex-direction: column; gap: 16px;
}

/* -------------------------------------------------------------------------
   4. The vault dial
   ------------------------------------------------------------------------- */
body.auth-skin-vault .v-art {
  position: relative; justify-self: center; align-self: center;
  inline-size: min(660px, 100%, 86vh); aspect-ratio: 1 / 1;
  pointer-events: none;
}
body.auth-skin-vault .v-dial { position: absolute; inset: 0; }
body.auth-skin-vault .v-ring { position: absolute; border-radius: 50%; pointer-events: none; }

body.auth-skin-vault .v-r1 {
  inset: 0;
  background: conic-gradient(from 0deg,
    rgba(205, 47, 92, 0) 0deg, rgba(205, 47, 92, .95) 62deg,
    rgba(217, 121, 41, .62) 104deg, rgba(205, 47, 92, 0) 190deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 69.2%, #000 69.8% 70.6%, transparent 71.2%);
          mask: radial-gradient(closest-side, transparent 0 69.2%, #000 69.8% 70.6%, transparent 71.2%);
  animation: v-spin 28s linear infinite;
}
body.auth-skin-vault .v-r2 {
  inset: 0; background: rgba(255, 241, 232, .1);
  -webkit-mask: radial-gradient(closest-side, transparent 0 69.4%, #000 70% 70.4%, transparent 71%);
          mask: radial-gradient(closest-side, transparent 0 69.4%, #000 70% 70.4%, transparent 71%);
}
body.auth-skin-vault .v-r3 {
  inset: 8.8%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 241, 232, .34) 0deg .3deg, transparent .3deg 5deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 91%, #000 92% 100%);
          mask: radial-gradient(closest-side, transparent 0 91%, #000 92% 100%);
  animation: v-spin-r 120s linear infinite;
}
body.auth-skin-vault .v-r4 {
  inset: 14.55%;
  background: conic-gradient(from 200deg,
    rgba(217, 121, 41, 0) 0deg, rgba(217, 121, 41, .78) 46deg, rgba(217, 121, 41, 0) 116deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 68%, #000 68.8% 69.9%, transparent 70.6%);
          mask: radial-gradient(closest-side, transparent 0 68%, #000 68.8% 69.9%, transparent 70.6%);
  animation: v-spin-r 19s linear infinite;
}
body.auth-skin-vault .v-r5 {
  inset: 26.05%; border: 1px dashed rgba(255, 241, 232, .16);
  animation: v-spin 90s linear infinite;
}
body.auth-skin-vault .v-halo {
  position: absolute; inset-block-start: 50%; inset-inline: 0; margin-inline: auto;
  width: 50%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 47, 92, .55), rgba(205, 47, 92, .16) 58%, transparent 72%);
  filter: blur(26px);
  transform: translateY(-50%);
  animation: v-halo 6.5s ease-in-out infinite;
}
body.auth-skin-vault .v-mark {
  position: absolute; inset-block-start: 50%; inset-inline: 0; margin-inline: auto;
  display: block; width: min(214px, 33%); height: auto; max-width: none;
  filter: drop-shadow(0 34px 54px rgba(65, 15, 18, .75)) drop-shadow(0 0 46px rgba(217, 121, 41, .34));
  transform: translateY(-50%);
  animation: v-float 9s ease-in-out infinite;
}

/* -------------------------------------------------------------------------
   5. Eyebrow
   ------------------------------------------------------------------------- */
body.auth-skin-vault .v-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0; padding-inline: 4px;
}
body.auth-skin-vault .v-eyebrow-rule {
  display: block; flex: none; width: 26px; height: 1px; background: rgba(255, 241, 232, .4);
}
body.auth-skin-vault .v-eyebrow-txt {
  font-size: 10px; font-weight: 700; line-height: 1.6;
  letter-spacing: .22em; color: rgba(255, 241, 232, .58);
}

/* -------------------------------------------------------------------------
   6. The glass card
   ------------------------------------------------------------------------- */
body.auth-skin-vault .v-card {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(158deg,
    rgba(255, 241, 232, .11) 0%, rgba(255, 241, 232, .045) 46%, rgba(255, 241, 232, .075) 100%);
  border: 1px solid rgba(255, 241, 232, .15);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
          backdrop-filter: blur(24px) saturate(1.35);
  box-shadow:
    0 44px 96px rgba(0, 0, 0, .62),
    0 2px 0 rgba(65, 15, 18, .4),
    inset 0 1px 0 rgba(255, 241, 232, .32),
    inset 0 -2px 4px rgba(65, 15, 18, .3);
}
/* skewed specular band sweeping the glass */
body.auth-skin-vault .v-card::before {
  content: ""; position: absolute; top: -40%; left: -20%; width: 18%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 232, .17), transparent);
  mix-blend-mode: overlay; pointer-events: none;
  animation: v-beam 11s ease-in-out infinite;
}
body.auth-skin-vault .v-card-in { position: relative; padding: 34px 34px 30px; }

/* -------------------------------------------------------------------------
   7. Yielded content — type
   ------------------------------------------------------------------------- */
body.auth-skin-vault h1,
body.auth-skin-vault h2,
body.auth-skin-vault h3,
body.auth-skin-vault .h1,
body.auth-skin-vault .h2,
body.auth-skin-vault .h3 { color: #FFF1E8; }
body.auth-skin-vault .h3 { font-size: 23px; font-weight: 800; line-height: 1.28; }
body.auth-skin-vault .a-title {
  font-size: clamp(25px, 2.6vw, 34px); font-weight: 900; line-height: 1.22; letter-spacing: 0;
}
body.auth-skin-vault .a-sub,
body.auth-skin-vault .body-sm {
  color: rgba(255, 241, 232, .62); font-size: 12.5px; font-weight: 600; line-height: 1.6;
}
body.auth-skin-vault .caption { color: rgba(255, 241, 232, .56); }
body.auth-skin-vault a { color: #F595B4; text-decoration: none; }
body.auth-skin-vault a:hover { color: #FFF1E8; text-decoration: underline; }
body.auth-skin-vault code,
body.auth-skin-vault .tid {
  color: #FFF1E8; background: rgba(255, 241, 232, .07);
  border: 1px solid rgba(255, 241, 232, .14);
}
/* .38 over the carved field computes to ~3.3:1. The recovery-code field on the
   2FA challenge has no label — its placeholder IS the format hint — so this has
   to clear 4.5:1. .5 lands at ~5.1:1. */
body.auth-skin-vault ::placeholder { color: rgba(255, 241, 232, .5); }

/* -------------------------------------------------------------------------
   8. Alerts
   ------------------------------------------------------------------------- */
body.auth-skin-vault .err-note {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; border-radius: 11px; margin-bottom: 14px;
  background: rgba(176, 65, 62, .2); border: 1px solid rgba(238, 156, 147, .3);
  color: #EE9C93; font-size: 12px; font-weight: 700; line-height: 1.55;
}
body.auth-skin-vault .a-alert-ok {
  background: rgba(46, 139, 87, .2); border-color: rgba(124, 199, 158, .3); color: #7CC79E;
}
body.auth-skin-vault .slahint {
  background: rgba(217, 121, 41, .18); color: #F0A868;
  border: 1px solid rgba(255, 241, 232, .14); border-radius: 11px;
  padding: 8px 12px; font-size: 11.5px; line-height: 1.55;
}

/* -------------------------------------------------------------------------
   9. SSO + divider
   ------------------------------------------------------------------------- */
/* .tbtn-lg.btn-block below is (0,3,1); this compound has to out-rank it or the
   SSO button inherits the primary button's size instead of the glass one. */
body.auth-skin-vault a.a-sso.tbtn-lg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 8px 16px; border-radius: 13px;
  background: rgba(255, 241, 232, .075);
  border: 1px solid rgba(255, 241, 232, .18);
  color: #FFF1E8; font-size: 12.5px; font-weight: 700; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 241, 232, .16);
  transition: background .18s var(--ease), border-color .18s var(--ease);
  /* .tbtn ships white-space:nowrap; the Entra label is ~46 characters and would
     run straight out of the card (and be clipped by .v-card's overflow:hidden)
     on any column under ~330px. It wraps instead — min-height, not height. */
  white-space: normal; text-align: center; line-height: 1.45;
}
body.auth-skin-vault a.a-sso.tbtn-lg:hover {
  background: rgba(255, 241, 232, .13); border-color: rgba(255, 241, 232, .3);
  color: #FFF1E8; text-decoration: none;
}
body.auth-skin-vault a.a-sso svg { width: 16px; height: 16px; }
/* Outlined SSO button: Microsoft own four colours. The monochrome square
   reads as a generic grid icon, which defeats the point of a provider button. */
body.auth-skin-vault .a-ms-mono { display: none; }
body.auth-skin-vault .a-ms-color { display: block; }

body.auth-skin-vault .divider { color: rgba(255, 241, 232, .58); font-size: 10.5px; margin: 16px 0; }
body.auth-skin-vault .divider::before,
body.auth-skin-vault .divider::after { background: rgba(255, 241, 232, .14); }

/* -------------------------------------------------------------------------
   10. Fields carved into the glass
   ------------------------------------------------------------------------- */
body.auth-skin-vault .a-fld--email { margin-bottom: 14px; }
body.auth-skin-vault .a-fld--password { margin-bottom: 8px; }

body.auth-skin-vault .a-fld-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 7px;
}
body.auth-skin-vault .fld label,
body.auth-skin-vault .a-lab {
  display: block; margin: 0 0 7px;
  font-size: 11px; font-weight: 800; color: rgba(255, 241, 232, .78); letter-spacing: 0;
}
body.auth-skin-vault .a-fld-head .a-lab { margin-bottom: 0; }
body.auth-skin-vault .a-hint {
  display: inline; text-align: end;
  font-size: 10.5px; font-weight: 600; color: rgba(255, 241, 232, .6);
}

/* the raw .fin — reset-password, 2FA setup, and the recovery-code form */
body.auth-skin-vault .fin {
  min-height: 48px; padding: 6.5px 14px; border-radius: 12px;
  background: rgba(6, 2, 3, .52); border: 1px solid rgba(255, 241, 232, .13);
  color: #FFF1E8; font-size: 13px; font-weight: 600;
  box-shadow: var(--v-carve);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
body.auth-skin-vault .fin:focus {
  border-color: rgba(205, 47, 92, .72);
  box-shadow: 0 0 0 3px rgba(205, 47, 92, .24), inset 0 2px 7px rgba(0, 0, 0, .6);
}
body.auth-skin-vault .fin.err {
  border-color: rgba(238, 156, 147, .55);
  box-shadow: 0 0 0 3px rgba(176, 65, 62, .22), inset 0 2px 7px rgba(0, 0, 0, .6);
}

/* the login field: the WRAPPER is the carved slot, the input inside is bare */
body.auth-skin-vault .a-in-wrap {
  display: flex; align-items: stretch; gap: 10px;
  min-height: 48px; padding-inline: 14px 6px; border-radius: 12px;
  background: rgba(6, 2, 3, .52); border: 1px solid rgba(255, 241, 232, .13);
  box-shadow: var(--v-carve);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
body.auth-skin-vault .a-fld--email .a-in-wrap { padding-inline: 14px; }
body.auth-skin-vault .a-in-wrap:focus-within {
  border-color: rgba(205, 47, 92, .72);
  box-shadow: 0 0 0 3px rgba(205, 47, 92, .24), inset 0 2px 7px rgba(0, 0, 0, .6);
}
body.auth-skin-vault .a-in-wrap:has(.err) {
  border-color: rgba(238, 156, 147, .55);
  box-shadow: 0 0 0 3px rgba(176, 65, 62, .22), inset 0 2px 7px rgba(0, 0, 0, .6);
}
body.auth-skin-vault .a-in-wrap .a-in {
  flex: 1 1 auto; min-width: 0; min-height: 0; height: auto;
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: #FFF1E8; font-family: inherit; font-size: 13px; font-weight: 600;
  outline: none; text-align: start;
}
/* the visible focus indicator moves to the wrapper ring above — a replacement
   for the default ring, not a removal */
body.auth-skin-vault .a-in-wrap .a-in:focus,
body.auth-skin-vault .a-in-wrap .a-in:focus-visible { box-shadow: none; border: 0; }
body.auth-skin-vault .a-in-wrap .a-in:-webkit-autofill {
  -webkit-text-fill-color: #FFF1E8;
  -webkit-box-shadow: inset 0 0 0 100px rgba(6, 2, 3, .92);
  caret-color: #FFF1E8;
}

/* leading field icon */
body.auth-skin-vault .a-ic {
  display: block; align-self: center; flex: none; width: 16px; height: 16px;
  color: rgba(255, 241, 232, .5); transition: color .18s var(--ease);
}
body.auth-skin-vault .a-in-wrap:focus-within .a-ic { color: rgba(245, 149, 180, .9); }

/* password reveal */
body.auth-skin-vault .a-act {
  display: flex; align-self: center; width: 44px; height: 44px; border-radius: 10px;
  color: rgba(255, 241, 232, .68); opacity: .85;
}
body.auth-skin-vault .a-act:hover,
body.auth-skin-vault .a-act.is-on { opacity: 1; color: #FFF1E8; }
body.auth-skin-vault .a-act svg { width: 16px; height: 16px; }

/* remember-this-device */
body.auth-skin-vault .a-remember {
  display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 14px;
  font-size: 11.5px; font-weight: 600; color: rgba(255, 241, 232, .78); cursor: pointer;
}
body.auth-skin-vault input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; accent-color: #CD2F5C; cursor: pointer;
}

/* -------------------------------------------------------------------------
   11. Buttons
   ------------------------------------------------------------------------- */
/* .btn-block is width:100% + 16px inline padding + a 1px border. <button> is
   border-box in every UA stylesheet, but <a> is not, and the DS has no global
   reset — so the two anchor-buttons on these screens (the SSO link and the
   "Continue" link on the recovery-codes screen) come out 34px wider than their
   column and get clipped by .v-card's overflow:hidden. */
body.auth-skin-vault a.tbtn.btn-block { box-sizing: border-box; }

body.auth-skin-vault .tbtn-prm {
  border: 1px solid #B42750; border-radius: 14px; color: #fff;
  background: linear-gradient(180deg, #E24571 0%, #CD2F5C 52%, #B42750 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .34),
    inset 0 -3px 5px rgba(65, 15, 18, .38),
    0 14px 32px rgba(205, 47, 92, .42);
  transition: filter .18s var(--ease), box-shadow .18s var(--ease);
}
body.auth-skin-vault .tbtn-prm:hover {
  background: linear-gradient(180deg, #E24571 0%, #CD2F5C 52%, #B42750 100%);
  color: #fff; filter: brightness(1.07); text-decoration: none;
}
/* base.css paints focus with `*:focus-visible { outline:none; box-shadow:var(--focus-ring) }`
   — (0,1,0). Both rules above set box-shadow at (0,2,1)/(0,3,2) and win, so the
   ring is suppressed and the outline is already gone: the Sign in / Verify /
   Set a new password / Continue buttons and the SSO link had NO keyboard focus
   indicator at all. An outline sidesteps the box-shadow contest entirely, and
   linen is legible on both the rose fill and the glass. */
body.auth-skin-vault .tbtn-prm:focus-visible,
body.auth-skin-vault a.a-sso.tbtn-lg:focus-visible {
  outline: 2px solid #FFF1E8;
  outline-offset: 3px;
}
body.auth-skin-vault .tbtn-lg.btn-block { min-height: 50px; font-size: 13.5px; font-weight: 800; }

/* the sheen below needs a positioned, clipping parent whether or not the CTA
   still carries .btn-block */
body.auth-skin-vault .a-cta { position: relative; overflow: hidden; }
/* same story as .a-sso: .a-cta alone is (0,2,1) and would lose its height to
   .tbtn-lg.btn-block above, so the sizing is matched as a compound */
body.auth-skin-vault .a-cta.btn-block {
  min-height: 54px; font-size: 14px; font-weight: 800;
}
/* moving sheen across the primary button */
body.auth-skin-vault .a-cta::after {
  content: ""; position: absolute; top: -40%; left: 0; width: 26%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  pointer-events: none;
  animation: v-sweep 4.6s ease-in-out infinite;
}

body.auth-skin-vault .tbtn-gh {
  border: 1px solid rgba(255, 241, 232, .16); border-radius: 11px;
  background: rgba(255, 241, 232, .06); color: rgba(255, 241, 232, .84);
}
body.auth-skin-vault .tbtn-gh:hover {
  background: rgba(255, 241, 232, .12); color: #FFF1E8; text-decoration: none;
}
body.auth-skin-vault .tbtn-gh.btn-block { min-height: 44px; }

/* -------------------------------------------------------------------------
   12. Mandatory-2FA note + foot
   ------------------------------------------------------------------------- */
body.auth-skin-vault .a-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255, 241, 232, .08);
  font-size: 12px; font-weight: 600; color: rgba(255, 241, 232, .64); line-height: 1.6;
}
body.auth-skin-vault .a-note svg {
  width: 14px; height: 14px; flex: none; margin-top: 3px; color: rgba(124, 199, 158, .9);
}

body.auth-skin-vault .a-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-top: 0; padding-inline: 4px;
}
body.auth-skin-vault .a-lang {
  /* button-styled control, not inline text — WCAG 2.5.8's inline exception does
     not cover it, so it gets the full 44px target like every other control here */
  min-height: 44px; padding: 0 14px; border-radius: 10px;
  border: 1px solid rgba(255, 241, 232, .14); background: rgba(255, 241, 232, .05);
  color: rgba(255, 241, 232, .84); font-size: 11.5px; font-weight: 700; text-decoration: none;
}
body.auth-skin-vault .a-lang:hover {
  background: rgba(255, 241, 232, .12); color: #FFF1E8; text-decoration: none;
}
body.auth-skin-vault .a-lang svg { width: 13px; height: 13px; }
body.auth-skin-vault .a-support { font-size: 12px; font-weight: 600; color: rgba(255, 241, 232, .68); }

/* -------------------------------------------------------------------------
   13. The other four auth screens
   ------------------------------------------------------------------------- */
body.auth-skin-vault .otp-boxes input {
  width: 46px; height: 54px; border-radius: 12px;
  background: rgba(6, 2, 3, .52); border: 1px solid rgba(255, 241, 232, .15);
  color: #FFF1E8; box-shadow: var(--v-carve);
}
body.auth-skin-vault .otp-boxes input:focus {
  border-color: rgba(205, 47, 92, .72);
  box-shadow: 0 0 0 3px rgba(205, 47, 92, .24), inset 0 2px 7px rgba(0, 0, 0, .6);
}
body.auth-skin-vault .recovery-grid code {
  background: rgba(6, 2, 3, .45); border: 1px solid rgba(255, 241, 232, .14);
  color: #FFF1E8; font-family: var(--font-mono); font-size: 12px;
  padding: 9px 10px; border-radius: 10px;
}
body.auth-skin-vault details summary { color: rgba(255, 241, 232, .68); }
body.auth-skin-vault details[open] summary { color: #FFF1E8; }

/* -------------------------------------------------------------------------
   14. Motion — transform/opacity only. auth-base's prefers-reduced-motion
       block neutralises all of it globally, and every end-state below is a
       resting state, so nothing lands mid-sweep when it does.
   ------------------------------------------------------------------------- */
@keyframes v-spin   { to { transform: rotate(360deg); } }
@keyframes v-spin-r { to { transform: rotate(-360deg); } }
@keyframes v-drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-480px, 0, 0); } }
@keyframes v-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(340px, 0, 0); } }
@keyframes v-float {
  0%, 100% { transform: translateY(calc(-50% - 10px)) rotate(-3deg); }
  50%      { transform: translateY(calc(-50% + 10px)) rotate(3deg); }
}
@keyframes v-halo {
  0%, 100% { opacity: .42; transform: translateY(-50%) scale(1); }
  50%      { opacity: .74; transform: translateY(-50%) scale(1.07); }
}
@keyframes v-beam {
  0%        { transform: translateX(-60%) skewX(-16deg); opacity: 0; }
  14%       { opacity: .6; }
  46%, 100% { transform: translateX(560%) skewX(-16deg); opacity: 0; }
}
@keyframes v-sweep {
  0%        { transform: translateX(-70%) skewX(-16deg); }
  58%, 100% { transform: translateX(360%) skewX(-16deg); }
}

/* -------------------------------------------------------------------------
   15. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  body.auth-skin-vault .v-stage {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(16px, 4vw, 28px);
  }
  body.auth-skin-vault .v-col {
    position: relative; z-index: 1; justify-self: center; margin-inline: auto;
  }
  /* the dial does not disappear — this skin IS the brand — it drops behind the
     card as a soft backdrop */
  body.auth-skin-vault .v-art {
    position: absolute; inset-block-start: 50%; inset-inline: 0; margin-inline: auto;
    transform: translateY(-50%);
    inline-size: min(560px, 100%); z-index: 0; opacity: .38;
  }
  body.auth-skin-vault .v-halo { filter: blur(18px); }
  body.auth-skin-vault .v-mark { width: min(150px, 30%); }
  body.auth-skin-vault .v-card { border-radius: 22px; }
}

@media (max-width: 560px) {
  body.auth-skin-vault .v-stage { padding-block: 26px; padding-inline: 14px; }
  body.auth-skin-vault .v-card { border-radius: 20px; }
  body.auth-skin-vault .v-card-in { padding: 22px 20px 20px; }
  body.auth-skin-vault .a-title { font-size: 24px; }
  body.auth-skin-vault .a-fld-head { flex-wrap: wrap; gap: 2px; }
  body.auth-skin-vault .a-hint { text-align: start; }
  body.auth-skin-vault .a-foot { gap: 10px; }
  body.auth-skin-vault .v-art { opacity: .32; }
  body.auth-skin-vault .otp-boxes { gap: 6px; }
  body.auth-skin-vault .otp-boxes input { width: 100%; min-width: 0; height: 50px; }
}
