/* Client account presentation only. Authentication is intentionally not connected. */
.portal-auth-page { color: #f3f2ef; background: #101113; }
.portal-auth-page .portal-auth-section { position: relative; isolation: isolate; padding: 132px 24px 72px; border: 0; }
.portal-auth-section::before { position: absolute; z-index: -1; inset: 45px 0 auto; height: 610px; content: ""; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(193, 153, 74, .055), transparent 60%); }
.portal-auth-intro { max-width: 720px; margin: 0 auto 27px; text-align: center; }
.portal-auth-intro .eyebrow { justify-content: center; margin-bottom: 13px; color: #c4ad7e; font-size: 11px; letter-spacing: .14em; }
.portal-auth-page .portal-auth-intro h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 46px); }
.portal-auth-intro > p:last-child { margin: 0; color: #969ba5; font-size: 14px; line-height: 1.7; }
.portal-auth-card { position: relative; width: min(100%, 508px); margin-inline: auto; padding: 30px 36px 26px; border: 1px solid #33343a; border-radius: 18px; background: linear-gradient(155deg, #1b1d21, #15171a 70%); box-shadow: 0 24px 80px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .025); }
.portal-auth-card::before { position: absolute; inset: -1px 36px auto; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #b99a5a 50%, transparent); }
.portal-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid #32343a; border-radius: 10px; background: #101215; }
.portal-auth-tabs button { min-height: 43px; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9499a4; font: 600 13px/1.4 var(--font-body); cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.portal-auth-tabs button[aria-selected="true"] { border-color: #625238; color: #ead5a8; background: #2b261d; box-shadow: 0 2px 5px rgba(0, 0, 0, .16); }
.portal-auth-tabs button:hover { color: #f3dfb6; }
.portal-auth-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 6px 14px; padding: 25px 0; text-align: left; }
.portal-auth-symbol { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border: 1px solid #514634; border-radius: 50%; color: #d3b77d; background: #24221d; }
.portal-auth-symbol svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.portal-auth-page .portal-auth-heading h2 { margin: 0; font-size: 27px; }
.portal-auth-heading p { margin: 0; color: #969ba5; font-size: 13px; line-height: 1.6; }
.portal-auth-form { margin: 0; }
.portal-auth-form fieldset { min-width: 0; display: grid; gap: 16px; margin: 0; padding: 0; border: 0; }
.portal-auth-field { display: grid; gap: 9px; }
.portal-auth-field label { color: #d5d6da; font-size: 12px; font-weight: 600; line-height: 1.5; }
.portal-auth-field input { box-sizing: border-box; width: 100%; min-width: 0; height: 49px; padding: 0 14px; border: 1px solid #373a41; border-radius: 8px; color: #e8e7e3; background: #121417; font: 500 13px/1.5 var(--font-body); color-scheme: dark; }
.portal-auth-field input:disabled { opacity: 1; -webkit-text-fill-color: #979ca5; cursor: not-allowed; }
.portal-auth-field input::placeholder { color: #818792; opacity: 1; }
.portal-auth-submit { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 5px; padding: 13px 18px; border: 1px solid #c2a263; border-radius: 8px; color: #17150f; background: linear-gradient(115deg, #e8ce94, #c7a25b); font: 700 13px/1.5 var(--font-body); }
.portal-auth-submit:disabled { opacity: 1; cursor: not-allowed; }
.portal-auth-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.portal-auth-switch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 16px 0 0; color: #969ba5; font-size: 12px; line-height: 1.7; }
.portal-auth-switch button { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 3px; border: 0; color: #d6bc88; background: none; font: 600 12px/1.7 var(--font-body); cursor: pointer; }
.portal-auth-preview-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #303238; }
.portal-auth-preview-note > span { flex: 0 0 5px; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: #baa16c; }
.portal-auth-preview-note p { margin: 0; color: #9298a3; font-size: 11px; line-height: 1.7; }
.portal-auth-preview-note strong { display: block; margin-bottom: 3px; color: #c9b58d; font-weight: 600; }
.portal-auth-help { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px auto 0; color: #878e99; font-size: 11px; line-height: 1.7; }
.portal-auth-help a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #b3b7bf; }
.portal-auth-help a:hover, .portal-auth-switch button:hover { color: #efdaab; }
.portal-auth-no-script { margin: 18px 0 0; color: #adb0b8; font-size: 12px; }
.portal-auth-panel + .portal-auth-panel { margin-top: 28px; padding-top: 10px; border-top: 1px solid #303238; }
.portal-auth-tabs:not([hidden]) ~ .portal-auth-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.portal-auth-page [hidden] { display: none !important; }
.portal-auth-page :is(button, a):focus-visible { outline: 2px solid #d8bb7d; outline-offset: 4px; }
.portal-auth-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .portal-auth-page .portal-auth-section { padding: 115px 18px 55px; }
  .portal-auth-intro { margin-bottom: 27px; }
  .portal-auth-card { padding: 23px 23px 22px; border-radius: 14px; }
  .portal-auth-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 6px 12px; padding-block: 25px; }
  .portal-auth-symbol { width: 38px; height: 38px; }
  .portal-auth-page .portal-auth-heading h2 { font-size: 24px; }
  .portal-auth-help { max-width: 330px; gap: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-auth-tabs button { transition: none; }
}
