.auth-page { --auth-ink: #142d2c; --auth-muted: #52636b; --auth-border: #aab9c2; --auth-action: #164a43; --auth-brand-rgb: var(--color-theme-1, 0 74 67); margin: 0; color: var(--auth-ink); background: #f5f8f8; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; color-scheme: light; }
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-page [hidden] { display: none !important; }
.auth-page a { text-decoration: none; }
.auth-page button, .auth-page input { font: inherit; }
.auth-page button, .auth-page a, .auth-page input { -webkit-tap-highlight-color: transparent; }
.auth-page :is(a, button, input):focus-visible { outline: 3px solid #148375; outline-offset: 4px; }
.auth-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-brand { min-width: 0; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 64px); color: #fff; background: #103b36; background: linear-gradient(145deg, rgb(var(--auth-brand-rgb)), #102b2b); overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgb(4 24 25 / .65), rgb(4 24 25 / .82)); }
.auth-brand::after { content: ""; position: absolute; z-index: -1; right: -150px; bottom: -210px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 0 0 70px rgb(255 255 255 / .035), 0 0 0 140px rgb(255 255 255 / .025); pointer-events: none; }
.auth-back { align-self: flex-start; color: #e2f0ed; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; transition: color 180ms ease; }
.auth-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.auth-brand-content { max-width: 510px; margin: 56px 0; animation: auth-enter 450ms ease-out both; }
.auth-logo-box { background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 18px 24px; border-radius: 16px; max-width: 100%; min-height: 100px; margin-bottom: 44px; color: #143c36; font-weight: 700; font-size: 24px; overflow-wrap: anywhere; }
.auth-logo-box img { display: block; width: min(220px, 100%); height: 76px; object-fit: contain; }
.auth-eyebrow { display: block; color: #d2e7e2; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.auth-brand h1 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; font-weight: 650; letter-spacing: -.04em; margin: 0 0 22px; overflow-wrap: anywhere; }
.auth-brand p { max-width: 420px; color: #deebe8; font-size: 16px; line-height: 1.75; margin: 0; }
.auth-brand-detail { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 13px; color: #e4efec; }
.auth-brand-detail span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #819e97; border-radius: 50%; flex-shrink: 0; }
.auth-brand-footer { color: #c5d9d4; font-size: 12px; }
.auth-panel { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 64px clamp(28px, 5vw, 88px); background: #fff; }
.auth-form-container { width: 100%; max-width: 420px; animation: auth-enter 450ms 70ms ease-out both; }
.auth-portal-label { display: inline-block; color: #245d53; background: #edf5f2; border: 1px solid #d1e3dc; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 650; margin-bottom: 22px; }
.auth-form-heading h2 { margin: 0 0 10px; font-size: clamp(25px, 2.4vw, 34px); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.auth-form-heading p { color: var(--auth-muted); margin: 0 0 32px; }
.auth-field { margin-bottom: 22px; }
.auth-field > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.auth-field input { width: 100%; min-width: 0; min-height: 52px; padding: 13px 16px; border: 1px solid var(--auth-border); border-radius: 10px; color: #152c2b; background: #fff; font-size: 16px; box-shadow: 0 1px 2px rgb(15 23 42 / .03); transition: border-color 180ms ease, box-shadow 180ms ease; }
.auth-field input::placeholder { color: #64747c; opacity: 1; }
.auth-field input:hover { border-color: #728c90; }
.auth-field input:focus { outline: none; border-color: #14796c; box-shadow: 0 0 0 3px rgb(20 121 108 / .16); }
.auth-field input[aria-invalid="true"] { border-color: #b42318; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 58px; }
.auth-password-toggle { position: absolute; right: 5px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; color: #405b60; border: 0; border-radius: 7px; background: transparent; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.auth-password-toggle:hover { background: #edf5f2; color: #123f36; }
.auth-password-toggle svg { width: 21px; height: 21px; }
.auth-options { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; margin: 2px 0 28px; font-size: 13px; }
.auth-remember { display: inline-flex; align-items: center; gap: 9px; min-height: 30px; color: #44585e; cursor: pointer; }
.auth-remember input { width: 17px; height: 17px; margin: 0; accent-color: #164a43; cursor: pointer; }
.auth-options a, .auth-help a, .auth-mobile-back { color: #18564c; font-weight: 600; text-underline-offset: 4px; }
.auth-options a:hover, .auth-help a:hover, .auth-mobile-back:hover { text-decoration: underline; }
.auth-submit { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border: 1px solid #163f39; border-radius: 10px; background: #164a43; background: color-mix(in srgb, rgb(var(--auth-brand-rgb)) 35%, #102b2b); color: #fff; cursor: pointer; font-weight: 650; box-shadow: 0 5px 14px rgb(16 59 50 / .1); transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease; }
.auth-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 7px 20px rgb(16 59 50 / .17); }
.auth-submit:active:not(:disabled) { transform: translateY(0); }
.auth-submit:disabled { cursor: wait; }
.auth-help { border-top: 1px solid #e2e9e7; margin-top: 32px; padding-top: 24px; color: var(--auth-muted); font-size: 13px; line-height: 1.7; }
.auth-help p { color: #304b50; font-weight: 600; margin: 0 0 3px; }
.auth-help span { display: block; }
.auth-alert { padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 14px; margin-bottom: 22px; overflow-wrap: anywhere; }
.auth-alert--error { color: #912018; background: #fff1f0; border-color: #edb5ae; }
.auth-alert--info, .auth-alert--success { color: #164d3a; background: #edf8f2; border-color: #afd5c0; }
.auth-field-error { color: #a1261c; font-size: 13px; margin: 7px 0 0; }
.auth-mobile-back { display: none; }
.auth-access-nav { display:flex; justify-content:flex-end; margin-bottom:32px; position:relative; z-index:5; }
.auth-access-menu { position:relative; }
.auth-access-menu summary { display:flex; align-items:center; gap:9px; padding:10px 14px; color:var(--auth-action); background:white; border:1px solid #d5e2df; border-radius:8px; font-size:13px; font-weight:600; list-style:none; cursor:pointer; }
.auth-access-menu summary::-webkit-details-marker { display:none; }
.auth-access-menu summary:focus-visible { outline:3px solid #148375; outline-offset:3px; }
.auth-access-menu summary svg { width:17px; height:17px; }
.auth-access-menu[open] .auth-access-chevron { transform:rotate(180deg); }
.auth-access-links { position:absolute; top:calc(100% + 8px); right:0; min-width:230px; padding:8px; background:white; border:1px solid #dce6e3; border-radius:10px; box-shadow:0 12px 32px #0d352518; }
.auth-access-links > span { display:block; padding:9px 10px; font-size:11px; color:var(--auth-muted); }
.auth-access-links a { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:11px 12px; border-radius:6px; color:var(--auth-ink); font-size:13px; }
.auth-access-links a:hover { background:#edf5f2; color:var(--auth-action); }
.auth-spinner { width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; border-radius: 50%; animation: auth-spin .8s linear infinite; }
.auth-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes auth-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-brand { padding: 22px 28px 30px; }
    .auth-brand-content { max-width: 520px; width: 100%; margin: 20px auto 0; text-align: center; }
    .auth-logo-box { min-height: 72px; padding: 12px 20px; border-radius: 12px; margin-bottom: 20px; }
    .auth-logo-box img { width: 180px; height: 54px; }
    .auth-eyebrow { margin-bottom: 10px; }
    .auth-brand h1 { font-size: 30px; margin-bottom: 0; }
    .auth-brand h1 br { display: none; }
    .auth-brand p, .auth-brand-detail, .auth-brand-footer { display: none; }
    .auth-panel { padding: 36px 28px 44px; }
    .auth-form-heading p { margin-bottom: 28px; }
    .auth-portal-label { display: none; }
    .auth-mobile-back { display: inline-block; margin-top: 24px; font-size: 13px; }
}
@media (max-width: 380px) { .auth-brand { padding: 16px 20px 24px; } .auth-panel { padding: 30px 20px; } .auth-options { font-size: 12px; } .auth-brand h1 { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
