/* ===== AUTH ===== */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-aside {
  background: var(--ink);
  color: var(--ink-text);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-aside .logo { color: #fff; }
.auth-aside h1 {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 440px;
  margin-bottom: 14px;
}
.auth-aside .hl { background: var(--accent); color: var(--accent-text); padding: 0 10px; border-radius: 10px; white-space: nowrap; }
.auth-aside .lead { color: var(--ink-mute); font-size: 16px; max-width: 420px; margin-bottom: 32px; }
.auth-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-text); }
.auth-points .ico { color: var(--accent); margin-top: 2px; }
.auth-aside .foot { font-size: 13px; color: var(--ink-faint); }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--surface);
}
.auth-card { width: 100%; max-width: 380px; }
.auth-card h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-card .sub { color: var(--mute); margin-bottom: 24px; }
.auth-card .logo { display: none; margin-bottom: 32px; }

.auth-tabs { display: flex; background: #eef0f3; border-radius: var(--radius); padding: 3px; margin-bottom: 22px; }
.auth-tabs button {
  flex: 1; height: 34px; border-radius: 6px;
  font-size: 13.5px; font-weight: 550; color: var(--mute);
}
.auth-tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick button {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.role-pick button .ico { color: var(--mute); }
.role-pick button .n { font-weight: 600; font-size: 14px; }
.role-pick button .d { font-size: 12px; color: var(--mute); }
.role-pick button.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.role-pick button.on .ico { color: var(--brand); }

.auth-err {
  background: var(--bad-soft);
  color: var(--bad);
  border: 1px solid #f5cfcf;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--faint); font-size: 12px; margin: 20px 0;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.guest-btn {
  width: 100%; height: 40px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text-2);
  font-size: 14px; font-weight: 550;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.guest-btn:hover { background: var(--surface-2); }

/* ===== LOGO ===== */
/* Logo typeface only - the UI stays Inter. Lilita One, SIL Open Font License
   1.1 - see fonts/README.md. */
@font-face {
  font-family: 'Lilita One';
  src: url('../fonts/lilita-one-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--text); }
.logo-text { display: inline-flex; align-items: baseline; line-height: 1; }
.logo-word { font-family: var(--font-logo); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.logo .tld { font-family: var(--font); font-size: 13px; font-weight: 650; letter-spacing: 0; margin-left: 1px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo .tld { color: var(--brand); }
.auth-aside .logo .tld { color: var(--ink-brand); }
.auth-aside .logo-mark { background: var(--brand); }

.auth-info {
  background: var(--brand-soft);
  color: var(--brand-hover);
  border: 1px solid var(--brand-soft-line);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
}
.link-btn { background: none; border: none; padding: 4px 0; color: var(--brand); font-size: 13.5px; font-weight: 550; align-self: center; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
