:root { --ink: #111; --muted: #666; --border: #d8d8d8; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.auth-header { padding: 28px 40px; border-bottom: 1px solid var(--border); }
.auth-brand { display: inline-flex; align-items: baseline; gap: 16px; margin: 0; font-weight: normal; line-height: 1; white-space: nowrap; }
.auth-brand-epma { font-size: 2.85rem; font-weight: 900; letter-spacing: .015em; }
.auth-brand-strategy { font-size: 2.35rem; font-weight: 400; letter-spacing: -.045em; }
.auth-main { width: min(100% - 48px, 360px); margin: clamp(64px, 12vh, 140px) auto 60px; }
.auth-form-title { margin: 0 0 28px; font-size: 1.3rem; font-weight: 600; }
.auth-form-sub { margin: -12px 0 24px; font-size: .85rem; color: var(--muted); }
.auth-field { margin-bottom: 20px; }
.auth-label { display: block; font-size: .8rem; margin-bottom: 8px; }
.auth-input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; }
.auth-input:focus { outline: 1px solid var(--ink); outline-offset: 1px; }
.auth-error { color: #a12424; font-size: .85rem; line-height: 1.5; }
.auth-error:not(:empty) { margin: 0 0 16px; }
.auth-submit { width: 100%; padding: 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.auth-submit:disabled { opacity: .5; cursor: wait; }
.auth-footer-note { margin-top: 20px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: 3px; }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
[hidden] { display: none !important; }
@media (max-width: 500px) {
  .auth-header { padding: 24px; }
  .auth-brand { gap: 12px; }
  .auth-brand-epma { font-size: 2.3rem; }
  .auth-brand-strategy { font-size: 1.9rem; }
}
