:root {
  --auth-bg: #f2f3f4;
  --auth-panel: #ffffff;
  --auth-line: #dfe2e4;
  --auth-text: #1f252b;
  --auth-muted: #6d747b;
  --auth-yellow: #f2bd28;
  --auth-yellow-dark: #d7a918;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.auth-page { margin: 0; min-width: 320px; background: var(--auth-bg); color: var(--auth-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.auth-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); align-items: center; gap: clamp(40px, 9vw, 150px); max-width: 1180px; margin: 0 auto; padding: 48px clamp(24px, 7vw, 88px); }
.auth-brand { max-width: 520px; }
.auth-logos { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.auth-logo-card { min-width: 76px; display: grid; justify-items: center; gap: 6px; color: var(--auth-text); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.auth-logo-card img { width: 58px; height: 58px; object-fit: contain; display: block; }
.auth-logo-divider { width: 1px; height: 52px; background: var(--auth-line); }
.auth-sdlg-logo { display: block; width: clamp(104px, 14vw, 150px); height: auto; max-height: 150px; object-fit: contain; object-position: left center; }
.auth-brand p { max-width: 420px; color: var(--auth-muted); font-size: 18px; line-height: 1.5; margin: 34px 0 0; }
.auth-card { background: var(--auth-panel); border: 1px solid var(--auth-line); border-radius: 12px; box-shadow: 0 18px 48px rgba(30, 36, 42, .1); padding: 34px; }
.auth-eyebrow { color: var(--auth-muted); font-size: 12px; letter-spacing: .08em; margin: 0 0 10px; }
.auth-card h1 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.auth-muted { color: var(--auth-muted); font-size: 14px; line-height: 1.45; margin: 10px 0 26px; }
.auth-card form { display: grid; gap: 17px; }
.auth-card label { display: grid; gap: 7px; color: var(--auth-text); font-size: 13px; font-weight: 650; }
.auth-card input { width: 100%; border: 1px solid var(--auth-line); border-radius: 6px; background: #fafafa; color: var(--auth-text); font: inherit; padding: 12px 13px; outline: none; }
.auth-card input:focus { border-color: #9fa6ab; background: #fff; box-shadow: 0 0 0 3px rgba(242, 189, 40, .2); }
.auth-card button { border: 1px solid var(--auth-yellow-dark); border-radius: 6px; background: var(--auth-yellow); color: #28291f; font: inherit; font-weight: 750; padding: 13px 16px; margin-top: 5px; cursor: pointer; }
.auth-card button:hover { background: #f5c838; }
.auth-error { border: 1px solid #e8b4ac; border-radius: 6px; background: #fde9e5; color: #a43e36; font-size: 12px; line-height: 1.4; padding: 10px 12px; margin: 0 0 17px; }
@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; gap: 30px; padding: 32px 20px; }
  .auth-logos { margin-bottom: 20px; }
  .auth-sdlg-logo { width: 112px; }
  .auth-brand p { margin-top: 16px; font-size: 15px; }
  .auth-card { padding: 26px 22px; }
}
