:root { --red: #b30d22; --ink: #15171a; --muted: #5f6670; --line: #e5e8ec; --bg: #f6f7f9; --ok: #157347; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--ink);
  font: 16px/1.5 Inter, "Segoe UI", system-ui, -apple-system, sans-serif; padding: 16px; }
.card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(21, 23, 26, .06); }
/* Same brand bar as the app sidebar: "Charcoal hangat" (option 1, chosen by the owner 7 Nov 2026). The wordmark PNG has
   a near-black box baked in, so it is masked by its own luminance (white letters stay, the box becomes transparent). */
.brand { background: #000; display: flex; align-items: center; gap: 14px; padding: 18px 24px; }
.brand img { height: 40px; width: auto; } /* new transparent 36Nine logo (7 Nov 2026) */
.brand span { color: #fff; font-weight: 700; letter-spacing: .04em; font-size: 14px; line-height: 1.2; }
.brand small { display: block; color: #d6cfc9; font-weight: 400; letter-spacing: 0; }
form { padding: 24px; display: grid; gap: 14px; }
h1 { margin: 0; font-size: 22px; }
p.sub { margin: -6px 0 4px; color: var(--muted); font-size: 15px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; }
input:focus { outline: 2px solid rgba(179, 13, 34, .25); border-color: var(--red); }
button { font: inherit; font-weight: 600; background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 12px; cursor: pointer; }
button:disabled { opacity: .6; cursor: progress; }
.msg { min-height: 1.5em; font-size: 15px; color: var(--red); margin: 0; }
.msg.ok { color: var(--ok); }
.foot { display: flex; justify-content: space-between; padding: 0 24px 18px; font-size: 14px; color: var(--muted); }
.foot button { background: none; color: var(--muted); padding: 0; font-weight: 500; text-decoration: underline; }

/* ---------------- Sign-in landing v2 (owner mock-up 7 Nov 2026) ----------------
   Full-bleed house photo at dusk (/assets/login-hero.jpg, ideally ≥ 2400 px wide), darkened on the left for the
   three big words; the sign-in card sits in a frosted white frame on the right. Missing photo → dark dusk gradient. */
.auth-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 470px); align-items: center; gap: 48px;
  padding: 48px clamp(24px, 7vw, 110px); min-height: 100vh; place-items: center stretch; color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .55) 40%, rgba(8, 8, 10, .15) 75%, rgba(8, 8, 10, .25) 100%),
    url('/assets/login-hero.jpg') center / cover no-repeat,
    radial-gradient(900px 520px at 72% 18%, rgba(214, 140, 96, .55) 0%, rgba(214, 140, 96, 0) 70%),
    radial-gradient(700px 420px at 40% 85%, rgba(255, 170, 80, .18) 0%, rgba(255, 170, 80, 0) 70%),
    linear-gradient(180deg, #2a2230 0%, #1a1820 45%, #0e1012 100%);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.auth-split .hero { align-self: center; }
.hero-copy { max-width: 640px; }
.hero-bar { display: block; width: 112px; height: 7px; background: #e0101f; margin: 0 0 22px 4px; }
.pillars { margin: 0; display: grid; line-height: .9; text-transform: uppercase; letter-spacing: .01em;
  font-family: "Bebas Neue", "Anton", "Oswald", Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: clamp(56px, 7.4vw, 140px); }
.pillars span { display: block; }
.p-outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .92); font-weight: 400; }
.p-solid { color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.p-soft { color: rgba(255, 255, 255, .86); font-size: .82em; letter-spacing: .03em; }
.auth-split .card { justify-self: end; max-width: 470px; border: 0; border-radius: 26px; padding: 12px; overflow: visible;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: var(--ink); }
.auth-split .card > .brand { border-radius: 18px 18px 0 0; padding: 22px 28px; }
.auth-split .card > form, .auth-split .card > .foot { background: #fff; }
.auth-split form { padding: 28px 30px 12px; }
.auth-split .card > .foot { border-radius: 0 0 18px 18px; padding: 8px 30px 22px; }
.auth-split h1 { font-size: 26px; }
.auth-split input { background: #eaf1fb; border-color: #d9e4f3; padding: 13px 16px; }
.auth-split input:focus { background: #fff; }
.auth-split button[type=submit] { padding: 14px; font-size: 16px; background: #d0101e; box-shadow: 0 10px 22px rgba(208, 16, 30, .35); }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 16px; place-items: start stretch;
    background:
      linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .35) 45%, rgba(8, 8, 10, .7) 100%),
      url('/assets/login-hero.jpg') center / cover no-repeat,
      radial-gradient(600px 380px at 70% 10%, rgba(214, 140, 96, .5) 0%, rgba(214, 140, 96, 0) 70%),
      linear-gradient(180deg, #2a2230 0%, #1a1820 45%, #0e1012 100%); }
  .auth-split .card { justify-self: stretch; max-width: none; padding: 8px; border-radius: 22px; }
  .pillars { font-size: clamp(48px, 16vw, 84px); }
  .hero-bar { width: 72px; height: 5px; margin-bottom: 14px; }
}