/* Independent v3 sign-in presentation. It intentionally ignores saved staff themes. */
.auth-v3-page {
  --auth-bg: #17121b;
  --auth-panel: #211a25;
  --auth-panel-soft: #2a2230;
  --auth-line: rgba(235, 220, 231, .13);
  --auth-text: #f6f0e9;
  --auth-muted: #b8aebb;
  --auth-gold: #e3c58f;
  --auth-purple: #85527f;
  --auth-wine: #772b4c;
  min-height: 100vh;
  margin: 0;
  color: var(--auth-text);
  background:
    radial-gradient(ellipse at 17% 80%, rgba(111, 37, 72, .28), transparent 35rem),
    radial-gradient(ellipse at 78% 15%, rgba(105, 72, 117, .16), transparent 31rem),
    var(--auth-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
.auth-v3-page *, .auth-v3-page *::before, .auth-v3-page *::after { box-sizing: border-box; }
.auth-v3-page .auth-v3-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(44px, 8vw, 124px);
  align-items: center;
}
.auth-v3-story { grid-column: 1; grid-row: 1 / 5; min-height: min(780px, calc(100vh - 56px)); position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 12px 0 8px; }
.auth-v3-brandline { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.auth-v3-brandmark { width: 48px; height: 48px; border: 1px solid rgba(227, 197, 143, .65); border-radius: 50%; display: grid; place-items: center; color: var(--auth-gold); font: 17px Georgia, serif; letter-spacing: 1px; box-shadow: inset 0 0 0 4px rgba(227, 197, 143, .06); }
.auth-v3-brandname { color: #f1e8df; font: 600 13px/1.25 Georgia, serif; letter-spacing: .15em; text-transform: uppercase; }
.auth-v3-story-copy { position: relative; z-index: 2; max-width: 560px; margin-top: auto; padding: clamp(52px, 8vh, 100px) 0 0; }
.auth-v3-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--auth-gold); font-size: 10px; font-weight: 800; letter-spacing: .23em; }
.auth-v3-kicker span { display: inline-block; width: 28px; height: 1px; background: var(--auth-gold); }
.auth-v3-story-copy h1 { margin: 0; max-width: 570px; color: #f7f0e9; font: 400 clamp(47px, 6vw, 82px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.auth-v3-story-copy h1 em { color: #e6c792; font-weight: 400; }
.auth-v3-intro { max-width: 390px; margin: 24px 0 0; color: #c1b5c1; font-size: 15px; line-height: 1.7; }
.auth-v3-art { position: absolute; right: -5%; top: 13%; width: min(58%, 410px); height: 68%; min-height: 410px; display: grid; place-items: center; pointer-events: none; }
.auth-v3-orbit { position: absolute; border: 1px solid rgba(225, 198, 148, .12); border-radius: 50%; aspect-ratio: 1; }
.auth-v3-orbit-one { width: 100%; box-shadow: 0 0 0 28px rgba(225, 198, 148, .025), 0 0 0 62px rgba(225, 198, 148, .018); }
.auth-v3-orbit-two { width: 72%; border-color: rgba(151, 86, 127, .26); }
.auth-v3-glass { position: relative; z-index: 1; width: 49%; max-width: 220px; filter: drop-shadow(0 28px 38px rgba(0,0,0,.54)); transform: rotate(7deg); }
.auth-v3-glass svg { display: block; width: 100%; height: auto; }
.auth-v3-art-caption { position: absolute; z-index: 2; right: 0; bottom: 8%; display: flex; flex-direction: column; gap: 8px; padding: 15px 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(28, 19, 29, .83); box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.auth-v3-art-caption span { color: var(--auth-gold); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.auth-v3-art-caption strong { color: #f3e9df; font: 17px Georgia, serif; }
.auth-v3-art-dot { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--auth-gold); box-shadow: 0 0 14px rgba(227,197,143,.75); }
.auth-v3-dot-one { top: 19%; right: 15%; }.auth-v3-dot-two { left: 3%; bottom: 24%; width: 5px; height: 5px; }
.auth-v3-story-footer { z-index: 2; display: flex; align-items: center; gap: 13px; margin-top: 44px; color: #968b99; font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.auth-v3-story-footer i { display: block; width: 22px; height: 1px; background: rgba(227,197,143,.34); }
.auth-v3-page .auth-toolbar { grid-column: 2; grid-row: 1; display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0; padding: 5px 0 18px; border-bottom: 1px solid var(--auth-line); color: var(--auth-muted); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.auth-v3-page .login-theme-picker { display: none !important; }
.auth-v3-page .auth-card { grid-column: 2; grid-row: 2; width: 100%; margin: 34px 0 18px; padding: clamp(30px, 4vw, 52px); border: 1px solid rgba(238, 220, 234, .12); border-radius: 24px; background: linear-gradient(145deg, rgba(43,34,47,.97), rgba(31,24,35,.98)); box-shadow: 0 34px 90px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.035); }
.auth-v3-page .auth-card .auth-mark { display: none; }
.auth-v3-page .auth-card .branding-mark { margin: 0 0 24px; }
.auth-v3-page .auth-card .branding-mark img { max-width: 150px; max-height: 50px; object-fit: contain; }
.auth-v3-page .auth-card h1 { margin: 0; color: #faf4ed; font: 400 clamp(38px, 4vw, 53px)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.auth-v3-page .auth-card .sub { max-width: 330px; margin: 13px 0 31px; color: var(--auth-muted); font-size: 13px; line-height: 1.65; }
.auth-v3-page .auth-card form { display: flex; flex-direction: column; gap: 10px; }
.auth-v3-page .auth-card label { margin-top: 6px; color: #e8dfe9; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.auth-v3-page .auth-card input { width: 100%; min-height: 51px; padding: 0 15px; border: 1px solid rgba(235,220,231,.16); border-radius: 11px; outline: none; background: #17131b; color: var(--auth-text); font: inherit; font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.auth-v3-page .auth-card input:focus { border-color: #b27ba4; box-shadow: 0 0 0 3px rgba(133,82,127,.2); }
.auth-v3-page .auth-card .password-field { position: relative; }
.auth-v3-page .auth-card .password-field input { padding-right: 52px; }
.auth-v3-page .auth-card .password-toggle { position: absolute; top: 50%; right: 8px; width: 38px; height: 38px; transform: translateY(-50%); border: 0; border-radius: 9px; background: transparent; color: #c5b5c7; cursor: pointer; }
.auth-v3-page .password-toggle svg { width: 19px; height: 19px; }.auth-v3-page .password-toggle .eye-closed { display: none; }.auth-v3-page .password-toggle.is-visible .eye-open { display: none; }.auth-v3-page .password-toggle.is-visible .eye-closed { display: inline; }
.auth-v3-page .auth-card form > button[type="submit"] { min-height: 54px; margin-top: 15px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #e7c88e; border-radius: 11px; background: linear-gradient(110deg, #e9cd98, #dcb778); color: #281a25; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 11px 24px rgba(8,5,10,.2); transition: transform .18s, filter .18s; }
.auth-v3-page .auth-card form > button[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.05); }
.auth-v3-page .auth-links { margin: 15px 0 0; text-align: right; font-size: 12px; }.auth-v3-page .auth-links a { color: #e3c58f; text-decoration: none; }.auth-v3-page .auth-links a:hover { text-decoration: underline; }
.auth-v3-page .errors { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(225,115,141,.35); border-radius: 10px; background: rgba(126,37,62,.2); color: #ffd4d9; font-size: 12px; line-height: 1.5; }.auth-v3-page .errors p, .auth-v3-page .errors ul { margin: 0; }.auth-v3-page .errors ul { padding-left: 18px; }
.auth-v3-page .auth-card::after { content: "✦  PRIVATE STAFF ACCESS"; display: block; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--auth-line); color: #938695; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.auth-v3-page .install-panel { grid-column: 2; grid-row: 3; width: 100%; margin: 0 0 15px; padding: 0 15px; border: 1px solid var(--auth-line); border-radius: 12px; background: rgba(255,255,255,.025); color: var(--auth-muted); }
.auth-v3-page .install-panel summary { min-height: 48px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; color: #e6d9e8; font-size: 12px; font-weight: 650; }.auth-v3-page .install-panel summary::-webkit-details-marker { display: none; }.auth-v3-page .install-icon { width: 18px; height: 18px; color: var(--auth-gold); }.auth-v3-page .install-content { padding: 0 0 12px; font-size: 11px; line-height: 1.6; }.auth-v3-page .install-content p { margin: 5px 0 10px; }.auth-v3-page .install-steps { padding-left: 21px; }.auth-v3-page .install-content strong { color: #f4e9d7; }
.auth-v3-page .auth-v3-footer { grid-column: 2; grid-row: 4; align-self: end; display: flex; justify-content: space-between; gap: 12px; width: 100%; padding-top: 20px; color: #817686; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.auth-v3-page .auth-v3-footer span:first-child { color: #b9aeba; }
.auth-v3-mobile-brand { display: none; }
@media (min-width: 1200px) { .auth-v3-art { right: -2%; top: 14%; width: 55%; } }
@media (max-width: 900px) {
  .auth-v3-page .auth-v3-shell { grid-template-columns: minmax(0, 1fr) minmax(350px, .94fr); column-gap: 35px; padding-inline: 30px; }
  .auth-v3-story-copy h1 { font-size: clamp(43px, 6vw, 62px); }.auth-v3-art { width: 64%; right: -12%; opacity: .78; }
}
@media (max-width: 700px) {
  .auth-v3-page { min-height: 100svh; background: radial-gradient(ellipse at 50% 0%, rgba(115,43,79,.25), transparent 28rem), var(--auth-bg); }
  .auth-v3-page .auth-v3-shell { width: min(100%, 520px); min-height: 100svh; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 19px 20px max(22px, env(safe-area-inset-bottom)); }
  .auth-v3-story { display: none; }
  .auth-v3-page .auth-toolbar { order: 1; padding: 0 0 16px; font-size: 8px; }
  .auth-v3-page .auth-toolbar::before { content: ""; }
  .auth-v3-mobile-brand { order: 0; display: flex; align-items: center; gap: 11px; padding: 0 0 21px; }
  .auth-v3-mobile-brand .auth-v3-brandmark { width: 41px; height: 41px; font-size: 14px; }
  .auth-v3-mobile-brand .auth-v3-brandname { font-size: 11px; }
  .auth-v3-page .auth-card { order: 2; margin: 24px 0 13px; padding: 30px 24px; border-radius: 20px; }
  .auth-v3-page .auth-card h1 { font-size: 43px; }.auth-v3-page .auth-card .sub { margin-bottom: 25px; }
  .auth-v3-page .install-panel { order: 3; margin-bottom: 16px; }
  .auth-v3-page .auth-v3-footer { order: 4; margin-top: auto; padding-top: 13px; font-size: 7px; }
}
@media (max-width: 380px) {
  .auth-v3-page .auth-v3-shell { padding-inline: 14px; }.auth-v3-page .auth-card { padding: 26px 19px; }.auth-v3-page .auth-card h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .auth-v3-page *, .auth-v3-page *::before, .auth-v3-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Recovery and password-management pages share the fixed v3 account palette. */
.auth-v3-account .auth-toolbar a { color: var(--auth-gold); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.auth-v3-account .auth-toolbar a:hover { color: #fff2d7; }
.auth-v3-page .auth-v3-account-card { align-self: center; max-height: calc(100vh - 150px); overflow-y: auto; margin-top: 24px; padding: clamp(28px,3.5vw,44px); }
.auth-v3-page .auth-v3-account-card > .branding-mark { margin-bottom: 17px; }
.auth-v3-page .auth-v3-account-card > .auth-v3-kicker { margin: 0 0 12px; font-size: 8px; }
.auth-v3-page .auth-v3-account-card h1 { font-size: clamp(34px,3.3vw,45px); }
.auth-v3-page .auth-v3-account-card .sub { margin: 10px 0 20px; font-size: 11px; }
.auth-v3-page .auth-v3-account-form { gap: 8px; }
.auth-v3-page .auth-v3-account-form label { margin: 4px 0 0; font-size: 10px; }
.auth-v3-page .auth-v3-account-form input { min-height: 46px; font-size: 12px; }
.auth-v3-page .auth-v3-account-form .password-field { position: relative; }
.auth-v3-page .auth-v3-account-form .password-field input { padding-right: 52px; }
.auth-v3-page .auth-v3-account-form .password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 36px; height: 36px; transform: translateY(-50%); place-items: center; border: 0; border-radius: 9px; background: transparent; color: #c5b5c7; cursor: pointer; }
.auth-v3-page .auth-v3-account-form .password-toggle svg { width: 19px; height: 19px; }
.auth-v3-page .auth-v3-account-help { display: block; margin: -2px 0 3px; color: var(--auth-muted); font-size: 9px; line-height: 1.55; }
.auth-v3-page .auth-v3-account-form .auth-v3-alt-button,.auth-v3-page .auth-v3-skip-form .auth-v3-alt-button { min-height: 40px; margin-top: 2px; padding: 0 14px; justify-content: center; border: 1px solid rgba(220,191,224,.22); border-radius: 10px; background: rgba(255,255,255,.035); color: #e8dfe9; font-size: 10px; }
.auth-v3-page .auth-v3-account-form .auth-v3-alt-button:hover,.auth-v3-page .auth-v3-skip-form .auth-v3-alt-button:hover { border-color: rgba(210,167,223,.55); background: rgba(128,81,140,.15); }
.auth-v3-page .auth-v3-skip-form { margin-top: 9px; }
.auth-v3-page .auth-v3-skip-form .auth-v3-alt-button { width: 100%; }
.auth-v3-page .recovery-notice,.auth-v3-page .success { margin: 10px 0 14px; padding: 11px 12px; border: 1px solid rgba(210,167,223,.25); border-radius: 10px; background: rgba(128,81,140,.1); color: #e9ddec; font-size: 10px; line-height: 1.55; }
.auth-v3-page .recovery-notice[role="alert"],.auth-v3-page .errors { border-color: rgba(225,115,141,.35); background: rgba(126,37,62,.2); color: #ffd4d9; }
.auth-v3-page .recovery-notice[role="status"] { border-color: rgba(227,197,143,.25); background: rgba(227,197,143,.07); color: #ead9ba; }
.auth-v3-page .recovery-unavailable { margin-top: 14px; padding: 12px; border: 1px solid var(--auth-line); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--auth-muted); font-size: 10px; line-height: 1.55; }
.auth-v3-page .auth-v3-account-card .auth-links { margin-top: 12px; font-size: 10px; }
@media (max-width: 900px) { .auth-v3-page .auth-v3-account-card { max-height: calc(100vh - 130px); } }
@media (max-width: 700px) {
  .auth-v3-page .auth-v3-account-card { max-height: none; margin: 20px 0 16px; padding: 28px 24px; }
  .auth-v3-page .auth-v3-account-card h1 { font-size: 37px; }
  .auth-v3-page .auth-v3-account-card .sub { margin-bottom: 18px; }
  .auth-v3-page .auth-v3-account-form input { min-height: 47px; }
}

/* Readability pass for the installed v3 sign-in and account forms. */
.auth-v3-page .auth-v3-brandname{font-size:14px}
.auth-v3-page .auth-v3-kicker{font-size:11px}
.auth-v3-page .auth-v3-intro{font-size:16px;line-height:1.65}
.auth-v3-page .auth-card label,.auth-v3-page .auth-v3-account-form label{font-size:13px}
.auth-v3-page .auth-card input,.auth-v3-page .auth-v3-account-form input{font-size:15px}
.auth-v3-page .auth-card form>button[type="submit"],.auth-v3-page .auth-v3-account-form button{font-size:13px}
.auth-v3-page .auth-v3-account-help,.auth-v3-page .install-content{font-size:12px;line-height:1.55}
.auth-v3-page .auth-v3-account-card .sub{font-size:13px}
.auth-v3-page .auth-v3-account-form .auth-v3-alt-button,.auth-v3-page .auth-v3-skip-form .auth-v3-alt-button{font-size:12px}
.auth-v3-page .recovery-notice,.auth-v3-page .success,.auth-v3-page .recovery-unavailable,.auth-v3-page .errors{font-size:12px;line-height:1.55}
.auth-v3-page .auth-v3-account-card .auth-links,.auth-v3-page .auth-links{font-size:12px}
.auth-v3-page .auth-v3-footer{font-size:9px;letter-spacing:.1em}
@media(max-width:700px){
  .auth-v3-page .auth-v3-intro{font-size:15px}
  .auth-v3-page .auth-v3-mobile-brand .auth-v3-brandname{font-size:13px}
  .auth-v3-page .auth-toolbar{font-size:10px}
  .auth-v3-page .auth-v3-footer{font-size:9px}
}
