:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f4f7fb; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.topbar { background: rgba(255,255,255,.96); border-bottom: 1px solid #dfe6ef; position: sticky; top: 0; z-index: 10; }
.topbar__inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.user-badge { padding: 8px 12px; border: 1px solid #d9e1ec; border-radius: 999px; background: #f8fafc; font-size: 14px; font-weight: 650; }
.page { padding-block: 38px 64px; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 34px; background: #fff; border: 1px solid #dfe6ef; border-radius: 24px; box-shadow: 0 18px 60px rgba(38,55,82,.08); }
.eyebrow, .auth-card__eyebrow { color: #2763d5; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 8px 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.lead { margin: 0; max-width: 700px; color: #5f6d82; font-size: 17px; line-height: 1.6; }
.status { display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 13px; border-radius: 999px; font-size: 13px; font-weight: 750; }
.status--ok { color: #156a48; background: #e7f7ef; border: 1px solid #bde8d3; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.card { min-height: 200px; padding: 24px; background: #fff; border: 1px solid #dfe6ef; border-radius: 20px; }
.card__icon { display: inline-flex; padding: 7px 10px; border-radius: 9px; background: #edf3ff; color: #275ec5; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.card h2 { margin: 24px 0 8px; font-size: 21px; }
.card p { margin: 0; color: #657289; line-height: 1.55; }
.auth-page { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #e8f0ff, #f4f7fb 48%); }
.auth-card { width: min(440px, 100%); padding: 34px; background: #fff; border: 1px solid #dfe6ef; border-radius: 24px; box-shadow: 0 24px 80px rgba(31,49,76,.14); }
.auth-card h1 { font-size: 36px; }
.muted { margin: 0 0 26px; color: #68768b; line-height: 1.5; }
.form-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; color: #344158; font-size: 14px; font-weight: 700; }
.field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cfd8e5; border-radius: 12px; color: #172033; background: #fff; outline: none; }
.field input:focus { border-color: #3f72dc; box-shadow: 0 0 0 4px rgba(63,114,220,.12); }
.button { min-height: 42px; padding: 0 15px; border: 0; border-radius: 11px; cursor: pointer; font-weight: 750; }
.button--primary { color: #fff; background: #2863d5; }
.button--primary:hover { background: #1f55ba; }
.button--ghost { color: #315a9d; background: transparent; }
.button--ghost:hover { background: #edf3ff; }
.button--wide { width: 100%; min-height: 48px; margin-top: 4px; }
.alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.alert--error { color: #9e2f2f; background: #fff0f0; border: 1px solid #f2caca; }
@media (max-width: 800px) {
  .hero { flex-direction: column; padding: 25px; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 22px, 1180px); }
  .user-badge { display: none; }
  .auth-card { padding: 26px 22px; }
}
