:root {
  color-scheme: light;
  --ink: #1f2623;
  --muted: #69726d;
  --paper: #f5f6f3;
  --white: #fff;
  --forest: #255b4b;
  --forest-dark: #17483a;
  --coral: #c76350;
  --line: #dce1dc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(430px, 1.1fr); }
.login-intro { position: relative; overflow: hidden; padding: clamp(32px, 7vw, 96px); background: var(--forest); color: white; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.login-intro::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; right: -180px; bottom: -130px; box-shadow: 0 0 0 65px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.025); }
.brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: Georgia, serif; font-size: 18px; letter-spacing: 1px; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; font-weight: 750; font-size: 11px; letter-spacing: 1.6px; opacity: .75; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(44px, 7vw, 86px); line-height: .96; letter-spacing: 0; }
.intro-copy { max-width: 460px; margin: 24px 0 0; line-height: 1.65; color: rgba(255,255,255,.75); font-size: 17px; }
.date-line { display: flex; align-items: center; gap: 18px; width: min(360px, 100%); font-family: Georgia, serif; }
.date-line span { flex: 1; height: 1px; background: rgba(255,255,255,.3); }
.date-line strong { font-weight: 500; }
.login-panel { display: grid; place-items: center; padding: 32px; background: var(--white); }
.login-box { width: min(410px, 100%); }
.login-box .eyebrow { color: var(--coral); opacity: 1; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; letter-spacing: 0; }
.muted { color: var(--muted); line-height: 1.55; margin: 12px 0 34px; }
form { display: grid; gap: 9px; }
label { margin-top: 12px; font-size: 13px; font-weight: 700; }
input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; background: white; color: var(--ink); outline: none; transition: border .18s, box-shadow .18s; }
input:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(37,91,75,.12); }
.password-row { position: relative; }
.password-row input { padding-right: 78px; }
.icon-button { position: absolute; right: 5px; top: 5px; height: 38px; border: 0; background: transparent; color: var(--forest); font-size: 12px; font-weight: 750; cursor: pointer; }
.primary { margin-top: 10px; height: 49px; border: 0; border-radius: 6px; background: var(--forest); color: white; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.primary:hover { background: var(--forest-dark); }
.primary:active { transform: translateY(1px); }
.primary:disabled { opacity: .6; cursor: wait; }
.error { min-height: 19px; margin: 2px 0 0; color: #a43b32; font-size: 13px; }
@media (max-width: 780px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-intro { min-height: 37vh; padding: 28px; gap: 34px; }
  .intro-copy { display: none; }
  .date-line { display: none; }
  h1 { font-size: 48px; }
  .login-panel { place-items: start center; padding: 40px 24px; }
  h2 { font-size: 36px; }
}
