/* HPM 61.1: independent login presentation. Local assets, no font/CDN requests. */
.ht60-auth {
    --ht-ink: #1c302d;
    --ht-muted: #66716d;
    --ht-line: #d8ddda;
    --ht-surface: #f9faf7;
    --ht-accent: #223e35;
    --ht-gold: #b8955c;
    --ht-error: #9b332b;
    --ht-error-bg: #fff0ed;
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: max(32px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
    background: #101515;
    color: var(--ht-ink);
    font: 400 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
}
.ht60-auth *, .ht60-auth *::before, .ht60-auth *::after { box-sizing: border-box; }
.ht60-auth [hidden] { display: none !important; }
.ht60-auth svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.ht60-auth .ht61-skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; border-radius: 8px; background: #fff; color: var(--ht-ink); font-weight: 600; transform: translateY(-180%); }
.ht60-auth .ht61-skip:focus { transform: translateY(0); outline: 3px solid var(--ht-gold); outline-offset: 3px; }
.ht60-auth .ht61-shell { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(400px, .84fr); width: min(1320px, 100%); min-height: 764px; margin: auto 0 0; border: 1px solid #ffffff13; border-radius: 22px; box-shadow: 0 36px 90px #00000038; overflow: hidden; }
.ht60-auth .ht61-hero { position: relative; isolation: isolate; min-width: 0; overflow: hidden; background: #151b1b; color: #f8f6ef; }
.ht60-auth .ht61-hero-media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.ht60-auth .ht61-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #0b141466 0%, #0b141411 48%, #0b1414de 100%), linear-gradient(90deg, #0811127a, #08111200 82%); }
.ht60-auth .ht61-hero-content { padding: 48px 52px; }
.ht60-auth .ht61-eyebrow { display: flex; gap: 13px; align-items: center; margin: 0; font-size: .875rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.ht60-auth .ht61-brand-rule { width: 29px; height: 1px; background: #cfb382; }
.ht60-auth .ht61-hero-heading { margin-top: 84px; }
.ht60-auth .ht61-hero-label { margin: 0 0 20px; color: #d5d4ca; font-size: .875rem; letter-spacing: .08em; }
.ht60-auth .ht61-hero h2 { margin: 0; max-width: 590px; font-size: clamp(3.15rem, 4.5vw, 4.35rem); line-height: 1.1; font-weight: 500; letter-spacing: -.057em; text-wrap: balance; }
.ht60-auth .ht61-hero h2 em { display: inline-block; margin-top: 3px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.055em; color: #d8be90; }
.ht60-auth .ht61-hero-description { max-width: 360px; margin: 24px 0 0; font-size: 1rem; line-height: 1.6; color: #e1e2d9; }
.ht60-auth .ht61-hero-footer { position: absolute; bottom: 36px; left: 52px; right: 52px; display: flex; gap: 20px; justify-content: space-between; align-items: flex-end; padding-top: 21px; border-top: 1px solid #ffffff40; }
.ht60-auth .ht61-hero-footer p { margin: 0; font: 400 1.1rem/1.4 Georgia, "Times New Roman", serif; color: #ece8dd; }
.ht60-auth .ht61-hero-footer > span { font-size: .8125rem; text-align: right; line-height: 1.65; color: #cbd2cc; }
.ht60-auth .ht61-panel { display: flex; flex-direction: column; min-width: 0; padding: 39px clamp(32px, 4.05vw, 60px) 29px; background: var(--ht-surface); }
.ht60-auth .ht61-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ht60-auth .ht61-brand > img { display: block; width: min(235px, 64%); height: auto; }
.ht60-auth .ht61-access-label { display: inline-flex; max-width: 108px; padding: 5px 8px; border: 1px solid #d6dcd4; border-radius: 5px; color: #59665b; font-size: .75rem; line-height: 1.25; font-weight: 500; letter-spacing: .02em; text-align: center; }
.ht60-auth .ht60-content { padding-top: 37px; padding-bottom: 30px; }
.ht60-auth .ht61-section-label { margin: 0 0 12px; font-size: .875rem; color: #626d61; }
.ht60-auth h1 { margin: 0; font-size: clamp(2.4rem, 3.3vw, 3rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 550; color: #21372f; }
.ht60-auth .ht61-title-break { display: block; }
.ht60-auth .ht60-intro { max-width: 330px; margin: 16px 0 29px; color: #66716d; font-size: 1rem; line-height: 1.6; }
.ht60-auth .ht60-form { display: grid; gap: 20px; margin: 0; }
.ht60-auth .ht60-field-group { min-width: 0; }
.ht60-auth label { display: block; margin-bottom: 8px; color: #293e35; font-size: .875rem; font-weight: 600; }
.ht60-auth .ht61-input-wrap { position: relative; }
.ht60-auth .ht61-field-icon { position: absolute; top: 18px; left: 16px; width: 19px; height: 19px; color: #7e8c84; pointer-events: none; }
.ht60-auth input:not([type=hidden]) { display: block; width: 100%; min-width: 0; height: 56px; padding: 15px 16px 15px 46px; border: 1px solid #819388; border-radius: 9px; background: #ffffffbd; color: #1e342b; font: 400 1rem/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.ht60-auth input::placeholder { color: #657269; opacity: 1; }
.ht60-auth input:hover { border-color: #607e69; }
.ht60-auth input:focus { border-color: #456a55; background: #fff; box-shadow: 0 0 0 3px #496d5414; outline: none; }
.ht60-auth input[aria-invalid=true] { border-color: var(--ht-error); background: #fff9f7; }
.ht60-auth input[aria-invalid=true]:focus { box-shadow: 0 0 0 3px #9b332b16; }
.ht60-auth input:-webkit-autofill { -webkit-text-fill-color: #1e342b; -webkit-box-shadow: 0 0 0 1000px #f0f4ed inset; caret-color: #1e342b; }
.ht60-auth button:focus-visible, .ht60-auth summary:focus-visible { outline: 3px solid #9d773d; outline-offset: 4px; }
.ht60-auth .ht60-password-wrap input { padding-right: 57px; }
.ht60-auth .ht60-eye { position: absolute; top: 4px; right: 5px; display: grid; place-items: center; width: 46px; height: 48px; padding: 0; border: 0; border-radius: 6px; color: #697b6e; background: transparent; cursor: pointer; }
.ht60-auth .ht60-eye:hover { background: #edf1eb; color: #203a2b; }
.ht60-auth .ht60-eye svg { width: 19px; height: 19px; }
.ht60-auth .ht60-submit { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 56px; margin-top: 5px; width: 100%; padding: 15px 22px; border: 1px solid transparent; border-radius: 9px; background: #223e35; color: #fff; box-shadow: 0 4px 10px #1a332514; font: 600 1rem/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ht60-auth .ht60-submit:hover:not(:disabled) { background: #305344; box-shadow: 0 6px 15px #1a33252b; transform: translateY(-1px); }
.ht60-auth .ht60-submit:active:not(:disabled) { transform: translateY(0); box-shadow: 0 2px 5px #1a332520; }
.ht60-auth .ht60-submit:disabled { cursor: wait; background: #53665c; box-shadow: none; }
.ht60-auth .ht61-submit-spinner { display: none; width: 17px; height: 17px; border: 2px solid #ffffff55; border-top-color: #fff; border-radius: 50%; }
.ht60-auth #login-form[data-state=submitting] .ht61-submit-spinner { display: block; animation: ht61-turn .8s linear infinite; }
.ht60-auth .ht61-progress { margin: 12px 0 0; text-align: center; color: #586b5d; font-size: .875rem; }
.ht60-auth .ht60-error, .ht60-auth .ht60-notice { margin: 0 0 22px; padding: 14px 15px; border-radius: 8px; font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.ht60-auth .ht60-error { display: flex; align-items: flex-start; gap: 10px; color: var(--ht-error); background: var(--ht-error-bg); border: 1px solid #ecc8bf; }
.ht60-auth .ht60-error svg { width: 18px; height: 18px; margin-top: 2px; }
.ht60-auth .ht60-notice { color: #3b573d; background: #eaf0e5; border: 1px solid #cfddc7; }
.ht60-auth .ht60-retry { margin: -11px 0 24px; padding-left: 2px; color: #695c42; font-size: .875rem; }
.ht60-auth .ht60-retry span { font-variant-numeric: tabular-nums; font-weight: 650; }
.ht60-auth .ht60-caps { margin: 8px 0 0; color: #856121; font-size: .875rem; }
.ht60-auth .ht60-network { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #ecc8bf; border-radius: 7px; background: var(--ht-error-bg); color: var(--ht-error); font-size: .875rem; }
.ht60-auth .ht61-help { margin-top: 23px; color: #5d6f62; font-size: .875rem; }
.ht60-auth .ht61-help summary { display: flex; gap: 15px; min-height: 32px; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; border-radius: 3px; }
.ht60-auth .ht61-help summary::-webkit-details-marker { display: none; }
.ht60-auth .ht61-help summary:hover { color: #213c2c; }
.ht60-auth .ht61-help summary svg { width: 16px; height: 16px; transition: transform .18s ease; }
.ht60-auth .ht61-help[open] summary svg { transform: rotate(45deg); }
.ht60-auth .ht61-help > div { margin-top: 12px; padding: 2px 0 2px 13px; border-left: 2px solid #ccb27f; }
.ht60-auth .ht61-help p { margin: 0 0 10px; }
.ht60-auth .ht61-help p:last-child { margin-bottom: 0; }
.ht60-auth .ht61-panel-footer { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: 23px; border-top: 1px solid #dce2d9; color: #7b6948; }
.ht60-auth .ht61-panel-footer > svg { margin-top: 2px; width: 20px; height: 20px; }
.ht60-auth .ht61-panel-footer p { margin: 0; color: #5f6b61; font-size: .8125rem; line-height: 1.5; font-weight: 500; }
.ht60-auth .ht61-panel-footer p span { display: block; margin-top: 3px; color: #687162; font-size: .75rem; font-weight: 400; }
.ht60-auth .ht61-page-footer { display: flex; gap: 9px; justify-content: center; margin: 20px 0 auto; color: #a4afa9; font-size: .75rem; letter-spacing: .035em; text-align: center; }
@keyframes ht61-turn { to { transform: rotate(360deg); } }
@media (min-width: 1500px) {
    .ht60-auth { padding-top: 44px; padding-bottom: 24px; }
    .ht60-auth .ht61-shell { min-height: 810px; }
    .ht60-auth .ht61-hero-heading { margin-top: 105px; }
    .ht60-auth .ht60-content { padding-top: 48px; }
}
@media (max-width: 1080px) {
    .ht60-auth { padding: 24px 22px 16px; }
    .ht60-auth .ht61-shell { grid-template-columns: minmax(0, 1fr) minmax(370px, 1fr); min-height: 730px; }
    .ht60-auth .ht61-hero-content { padding: 38px 34px; }
    .ht60-auth .ht61-hero-heading { margin-top: 95px; }
    .ht60-auth .ht61-hero h2 { font-size: clamp(2.7rem, 4.7vw, 3.2rem); }
    .ht60-auth .ht61-hero-footer { left: 34px; right: 34px; bottom: 30px; }
    .ht60-auth .ht61-hero-footer > span { display: none; }
    .ht60-auth .ht61-panel { padding: 32px 32px 26px; }
}
@media (max-width: 760px) {
    .ht60-auth { display: block; padding: 0; background: var(--ht-surface); }
    .ht60-auth .ht61-shell { display: flex; flex-direction: column; min-height: 100svh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
    .ht60-auth .ht61-hero { min-height: 220px; }
    .ht60-auth .ht61-hero-media { object-position: 60% 59%; }
    .ht60-auth .ht61-hero-shade { background: linear-gradient(90deg, #0b1414cc, #0b141477 54%, #0b141400), linear-gradient(180deg, #0b141433, #0b141422); }
    .ht60-auth .ht61-hero-content { padding: max(26px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) 27px max(28px, env(safe-area-inset-left)); }
    .ht60-auth .ht61-eyebrow { gap: 10px; font-size: .75rem; letter-spacing: .13em; }
    .ht60-auth .ht61-brand-rule { width: 21px; }
    .ht60-auth .ht61-hero-heading { margin-top: 29px; }
    .ht60-auth .ht61-hero h2 { font-size: 2.65rem; line-height: 1.08; }
    .ht60-auth .ht61-hero-label, .ht60-auth .ht61-hero-description, .ht60-auth .ht61-hero-footer { display: none; }
    .ht60-auth .ht61-panel { width: 100%; max-width: 560px; margin: 0 auto; padding: 29px max(28px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
    .ht60-auth .ht61-brand { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
    .ht60-auth .ht61-brand > img { width: min(215px, 62%); }
    .ht60-auth .ht61-access-label { max-width: 100px; text-align: center; font-size: .75rem; padding: 5px 7px; }
    .ht60-auth .ht60-content { padding-top: 27px; padding-bottom: 25px; }
    .ht60-auth .ht61-section-label { display: none; }
    .ht60-auth h1 { font-size: 2rem; }
    .ht60-auth .ht61-title-break { display: inline; }
    .ht60-auth .ht60-intro { max-width: none; margin-top: 12px; margin-bottom: 24px; }
    .ht60-auth .ht60-form { gap: 19px; }
    .ht60-auth .ht61-help { margin-top: 20px; }
    .ht60-auth .ht61-panel-footer { padding-top: 21px; }
    .ht60-auth .ht61-page-footer { padding: 0 20px max(22px, env(safe-area-inset-bottom)); margin: 0; color: #647167; }
}
@media (max-width: 360px) {
    .ht60-auth .ht61-panel { padding-left: 21px; padding-right: 21px; }
    .ht60-auth .ht61-hero-content { padding-left: 22px; padding-right: 22px; }
    .ht60-auth .ht61-hero h2 { font-size: 2.4rem; }
    .ht60-auth .ht61-brand > img { width: 172px; }
    .ht60-auth .ht61-access-label { padding: 5px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ht60-auth *, .ht60-auth *::before, .ht60-auth *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    .ht60-auth .ht61-shell, .ht60-auth input:not([type=hidden]), .ht60-auth .ht60-submit, .ht60-auth .ht60-eye { border: 1px solid CanvasText; }
    .ht60-auth .ht61-hero-media, .ht60-auth .ht61-hero-shade { display: none; }
    .ht60-auth .ht61-hero { background: Canvas; color: CanvasText; }
    .ht60-auth .ht61-hero h2 em, .ht60-auth .ht61-eyebrow, .ht60-auth .ht61-hero-label, .ht60-auth .ht61-hero-description, .ht60-auth .ht61-hero-footer p, .ht60-auth .ht61-hero-footer > span { color: CanvasText; }
    .ht60-auth input:focus, .ht60-auth button:focus-visible, .ht60-auth summary:focus-visible { outline: 3px solid Highlight; outline-offset: 3px; }
}
