/* Sfericas login. Local styles; no JavaScript or remote fonts. */
:root { color-scheme: light; --ink: #25252a; --muted: #686970; --brand: #8b1d2a; --brand-dark: #67121e; --paper: #f5f3ef; --line: #dedbd6; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b74b5b; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 2; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }
.login-page { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 205px; height: auto; }
.back-link { display: inline-flex; gap: 9px; align-items: center; color: #515158; font-size: 13px; font-weight: 600; text-decoration: none; }
.back-link span { font-size: 20px; font-weight: 400; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 676px; background: #fff; border: 1px solid #e8e4de; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 52px #29202108; }
.brand-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 38px 42px 28px; isolation: isolate; background: #542e33 url("../web/images/home/banner.jpg") center / cover no-repeat; color: #fff; }
.brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #24171b30 0%, #39141b3d 30%, #34131bd9 77%, #291018f2 100%); }
.brand-panel-top { display: flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 10px; font-weight: 650; letter-spacing: .18em; text-shadow: 0 1px 8px #0008; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.brand-story { margin-top: auto; padding: 150px 0 44px; }
.story-line { display: block; width: 38px; height: 2px; margin-bottom: 24px; background: #eab7b5; }
.eyebrow { margin: 0 0 13px; font-size: 10px; letter-spacing: .18em; font-weight: 700; }
.brand-story h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.4vw, 49px); line-height: 1.15; font-weight: 400; letter-spacing: -.035em; }
.brand-story > p:last-child { margin: 0; color: #f2e7e9; font-size: 14px; line-height: 1.8; }
.photo-caption { font-size: 10px; letter-spacing: .03em; color: #e7ced2; }
.form-panel { display: flex; align-items: center; justify-content: center; padding: 58px 48px; }
.form-content { width: 100%; max-width: 370px; }
.form-eyebrow { color: var(--brand); }
h1 { margin: 0 0 10px; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.045em; font-weight: 650; }
.intro { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 23px; }
label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.field-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.field-heading a { font-size: 12px; font-weight: 600; text-decoration: none; }
input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s; }
input:hover { border-color: #aca7a0; }
input:focus { border-color: var(--brand); }
input[aria-invalid="true"] { border-color: #a62133; }
.button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; }
.button-primary { justify-content: space-between; margin-top: 7px; background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-dark); }
.button-primary span { font-size: 20px; line-height: 1; }
.separator { display: flex; align-items: center; gap: 15px; margin: 25px 0 20px; color: var(--muted); font-size: 11px; }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: #ebe8e3; }
.button-google { border-color: var(--line); background: #fff; color: var(--ink); }
.button-google:hover { background: #f7f6f3; color: var(--ink); border-color: #bcb6ae; }
.register-link { margin: 28px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.register-link a { margin-left: 3px; font-weight: 700; text-decoration: none; }
.guest-link { display: block; margin-top: 18px; text-align: center; font-size: 13px; }
.notice { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #d4d9d2; border-radius: 8px; background: #f4f7f2; font-size: 13px; overflow-wrap: anywhere; }
.notice-error { border-color: #ebcbd1; background: #fcf2f4; color: #7d1d2a; }
.notice-title { margin: 0; font-weight: 700; }
.notice ul { padding-left: 18px; margin: 5px 0 0; }
.field-error { margin: 7px 0 0; color: #a62133; font-size: 12px; overflow-wrap: anywhere; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 24px 2px 30px; color: #72716e; font-size: 11px; }
@media (max-width: 1050px) { .login-page { width: calc(100% - 56px); } .brand-panel { padding-left: 30px; padding-right: 30px; } .form-panel { padding: 48px 32px; } .login-shell { min-height: 640px; } }
@media (max-width: 760px) { .login-page { width: calc(100% - 36px); max-width: 540px; } .site-header { min-height: 96px; gap: 12px; } .brand img { width: 166px; } .back-link { font-size: 11px; gap: 5px; } .login-shell { display: block; min-height: 0; border-radius: 16px; } .brand-panel { display: none; background-image: none; } .form-panel { padding: 39px 27px 36px; } h1 { font-size: 29px; } .intro { margin-bottom: 28px; } .form-content { max-width: 390px; } .site-footer { padding-top: 20px; font-size: 10px; } }
@media (max-width: 360px) { .login-page { width: calc(100% - 24px); } .brand img { width: 145px; } .form-panel { padding: 30px 20px; } h1 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { input { transition: none; } }