@charset "UTF-8";
:root {
  color-scheme: light;
  --auth-canvas: #fff;
  --auth-surface: #f1f4f7;
  --auth-ink-deep: #0a1317;
  --auth-ink: #1c1e21;
  --auth-charcoal: #444950;
  --auth-steel: #5d6c7b;
  --auth-stone: #8595a4;
  --auth-blue: #0064e0;
  --auth-blue-deep: #0457cb;
  --auth-hairline: #ced0d4;
  --auth-hairline-soft: #dee3e9;
  font-family: "Optimistic VF", Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--auth-surface); }
html.auth-check-pending body { visibility: hidden; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--auth-ink-deep); font-size: 17px; line-height: 1.5; }
button, input { font: inherit; }
.auth-skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px 18px; transform: translateY(-160%); border-radius: 100px; color: #fff; background: #000; }
.auth-skip-link:focus { transform: translateY(0); }
.auth-layout { display: grid; min-height: 100vh; align-content: center; justify-items: center; padding: 36px 20px 24px; }
.auth-card { width: min(100%, 456px); padding: 40px; border: 1px solid var(--auth-hairline-soft); border-radius: 32px; background: var(--auth-canvas); box-shadow: 0 18px 54px rgba(10, 19, 23, .07); }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.auth-brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 16px; color: #fff; background: var(--auth-ink-deep); font-size: 26px; font-weight: 700; letter-spacing: -.06em; }
.auth-brand-copy { display: grid; gap: 1px; }
.auth-brand-copy strong { font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.auth-brand-copy small { color: var(--auth-steel); font-size: 13px; }
.auth-intro { margin-top: 38px; }
.auth-eyebrow { margin: 0; color: var(--auth-steel); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.auth-intro h1 { margin: 12px 0 8px; color: var(--auth-ink-deep); font-size: clamp(35px, 7vw, 43px); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.auth-intro > p:last-child { margin: 0; color: var(--auth-charcoal); font-size: 16px; line-height: 1.65; }
.auth-form { display: grid; gap: 17px; margin-top: 29px; }
.auth-field { display: grid; gap: 7px; color: var(--auth-ink); font-size: 14px; font-weight: 700; }
.auth-field input { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--auth-hairline); border-radius: 14px; outline: none; color: var(--auth-ink-deep); background: #fff; font-size: 17px; font-weight: 400; transition: border-color .16s ease, box-shadow .16s ease; }
.auth-field input:hover { border-color: var(--auth-stone); }
.auth-field input:focus-visible { border-color: var(--auth-blue); box-shadow: 0 0 0 3px rgba(0, 100, 224, .15); }
.auth-field input:disabled { color: var(--auth-stone); background: var(--auth-surface); }
.auth-message { margin: -2px 0 0; color: #b42337; font-size: 14px; line-height: 1.5; }
.auth-message[hidden] { display: none; }
.auth-submit { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; margin-top: 2px; padding: 12px 22px; border: 0; border-radius: 100px; color: #fff; background: #000; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .16s ease, transform .16s ease; }
.auth-submit:hover:not(:disabled) { background: #1c1e21; }
.auth-submit:active:not(:disabled) { transform: translateY(1px); }
.auth-submit:focus-visible, .auth-logout:focus-visible { outline: 3px solid #1876f2; outline-offset: 3px; }
.auth-submit:disabled { color: #fff; background: #8595a4; cursor: wait; }
.auth-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-footer { display: flex; align-items: flex-start; gap: 9px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--auth-hairline-soft); color: var(--auth-steel); font-size: 12px; line-height: 1.55; }
.auth-lock { display: inline-flex; flex: 0 0 auto; color: var(--auth-steel); }
.auth-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-copyright { margin: 18px 0 0; color: var(--auth-stone); font-size: 12px; }
.auth-copyright span { padding: 0 4px; }
.profile-control { position: relative; display: inline-flex; align-items: center; }
.profile-button { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 3px 9px 3px 4px; border: 1px solid transparent; border-radius: 100px; color: var(--auth-ink); background: transparent; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.profile-button:hover { border-color: var(--auth-hairline-soft); background: var(--auth-surface); }
.profile-button:focus-visible { outline: 3px solid #1876f2; outline-offset: 3px; }
.profile-button[hidden], .profile-menu[hidden], .auth-logout-status[hidden] { display: none; }
.profile-button .avatar { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--auth-blue-deep); background: #e7f1ff; font-size: 14px; font-weight: 700; }
.profile-button-label { color: var(--auth-ink); font-size: 13px; font-weight: 700; }
.profile-chevron { width: 15px; height: 15px; fill: none; stroke: var(--auth-steel); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-menu { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; display: grid; width: min(232px, calc(100vw - 28px)); gap: 12px; padding: 14px; border: 1px solid var(--auth-hairline-soft); border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(10, 19, 23, .14); }
.profile-menu-heading { display: grid; gap: 2px; padding: 2px 4px 10px; border-bottom: 1px solid var(--auth-hairline-soft); }
.profile-menu-heading strong { color: var(--auth-ink); font-size: 14px; font-weight: 700; }
.profile-menu-heading small { color: var(--auth-steel); font-size: 12px; }
.auth-logout { display: inline-flex; width: 100%; min-height: 40px; align-items: center; justify-content: flex-start; gap: 9px; padding: 9px 12px; border: 1px solid var(--auth-hairline); border-radius: 100px; color: #b42337; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.auth-logout:hover:not(:disabled) { border-color: #f1c8cd; background: #fff6f6; }
.auth-logout:focus-visible { outline: 3px solid #1876f2; outline-offset: 3px; }
.auth-logout:disabled { color: var(--auth-stone); cursor: wait; }
.auth-logout svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.auth-logout-status { color: #b42337; font-size: 12px; }
.auth-detail-actions { display: flex; align-items: center; gap: 13px; }
.profile-menu-link { display: inline-flex; min-height: 40px; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid transparent; border-radius: 100px; color: var(--auth-ink); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.profile-menu-link:hover { border-color: var(--auth-hairline-soft); background: var(--auth-surface); }
.profile-menu-link:focus-visible { outline: 3px solid #1876f2; outline-offset: 3px; }
.profile-menu-link svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.auth-message[data-kind="info"] { color: #126b45; }
.profile-page-content { width: min(100% - 40px, 860px); flex: 1; margin: 0 auto; padding: 34px 0 64px; }
.profile-page-content .detail-breadcrumb { margin-bottom: 22px; }
.profile-settings-card { width: min(100%, 700px); margin: 0 auto; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--auth-hairline-soft); border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgba(10, 19, 23, .06); }
.profile-settings-card h1 { margin: 6px 0 8px; color: var(--auth-ink-deep); font-size: clamp(31px, 5vw, 41px); font-weight: 600; letter-spacing: -.04em; }
.profile-settings-intro { max-width: 58ch; margin: 0; color: var(--auth-charcoal); font-size: 16px; line-height: 1.65; }
.profile-settings-form { display: grid; gap: 18px; margin-top: 26px; }
.profile-password-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-password-help { margin: -10px 0 0; color: var(--auth-steel); font-size: 13px; line-height: 1.6; }
.profile-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.profile-form-actions .auth-submit { min-width: 190px; margin: 0; }
.profile-form-actions .back-link { color: var(--auth-steel); font-size: 14px; text-decoration: none; }
.profile-form-actions .back-link:hover { color: var(--auth-blue-deep); text-decoration: underline; }
.profile-settings-card .auth-message { margin: 0; }
@media (max-width: 760px) { .profile-page-content { width: min(100% - 28px, 860px); padding-top: 22px; } }
@media (max-width: 520px) {
  .profile-password-group { grid-template-columns: 1fr; }
  .profile-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .profile-form-actions .auth-submit { width: 100%; }
  .profile-form-actions .back-link { align-self: center; padding: 5px; }
}
@media (max-width: 760px) {
  .profile-button { width: 40px; min-width: 40px; justify-content: center; padding: 3px; }
  .profile-button-label, .profile-chevron { display: none; }
  .auth-detail-actions { gap: 8px; }
}
@media (max-width: 520px) {
  .auth-layout { align-content: center; padding: 22px 14px 18px; }
  .auth-card { padding: 30px 24px 26px; border-radius: 26px; }
  .auth-intro { margin-top: 30px; }
  .auth-form { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
