/* Auth + public chrome refresh. Loaded after sme-polish.css.
   Palette: deep mulberry ink on warm paper, rose reserved for actions. */
.sme-modern-auth, .sme-home {
  --ar-ink: #3a1428; --ar-paper: #fbf6f3; --ar-line: #e9d9d6;
  --ar-rose: #b8325f; --ar-rose-d: #8f2249; --ar-ring: #f1a9c1;
}
.sme-home-header {
  --ar-ink: #3a1428; --ar-paper: #fbf6f3; --ar-line: #e9d9d6;
  --ar-rose: #b8325f; --ar-rose-d: #8f2249; --ar-ring: #f1a9c1;
}
.sme-home-header .sme-nav-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--ar-ink); font-weight: 650;
}
.sme-home-header .sme-nav-link i {
  display: inline-flex; position: static; float: none; flex: 0 0 auto;
  width: 1.1rem; height: auto; margin: 0; line-height: 1;
  align-items: center; justify-content: center; color: var(--ar-rose-d);
}
.sme-home-header .sme-home-btn--primary {
  background: var(--ar-rose); border-radius: 999px; font-weight: 700;
  transition: background-color .18s ease, transform .18s ease;
}
.sme-home-header .sme-home-btn--primary:hover {
  background: var(--ar-rose-d); transform: translateY(-1px);
}
.sme-home-header .sme-home-btn--ghost { border-radius: 999px; }
.sme-home-header :focus-visible, .sme-home-footer a:focus-visible {
  outline: 3px solid var(--ar-ring); outline-offset: 3px;
}
.sme-home-footer {
  background: var(--ar-ink, #3a1428);
  color: #f9edf3;
}
.sme-home-footer__grid a, .sme-home-footer__legal a {
  color: #f4bed2;
}
.sme-home-footer__grid a:hover, .sme-home-footer__legal a:hover {
  color: #fff; text-underline-offset: 3px;
}
.sme-modern-auth .sme-auth-left { background: var(--ar-paper); }
.sme-modern-auth .header_logo .sme-brand-lockup img {
  content: url("../img/icon.png") !important;
  width: 32px !important; height: 34px !important;
  object-fit: contain; flex: 0 0 auto;
}
.sme-modern-auth .sme-auth-title { color: var(--ar-ink); letter-spacing: -.01em; }
.sme-modern-auth .sme-auth-lead { color: #6b4a58; line-height: 1.55; }
.sme-modern-auth .sme-auth-card { border: 1px solid var(--ar-line); border-radius: 20px; background: #fff; }
.sme-modern-auth .sme-auth-phone { display: none; }
.sme-modern-auth .sme-auth-avatar-row { display: none; }
.sme-modern-auth input.browser-default[type=text],
.sme-modern-auth input.browser-default[type=email],
.sme-modern-auth input.browser-default[type=password] {
  min-height: 48px; border: 1.5px solid var(--ar-line); border-radius: 12px;
  background: var(--ar-paper); color: var(--ar-ink); padding: 0 14px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.sme-modern-auth input.browser-default:hover { border-color: #d3b9bb; }
.sme-modern-auth input.browser-default:focus {
  outline: none; background: #fff; border-color: var(--ar-rose); box-shadow: 0 0 0 3px var(--ar-ring);
}
.sme-modern-auth .sme-field { color: var(--ar-ink); font-weight: 600; font-size: .875rem; }
.sme-modern-auth .sme-btn-cta, .sme-home .sme-home-btn--primary {
  background: var(--ar-rose); color: #fff; border: 0; border-radius: 12px; min-height: 48px;
  font-weight: 700; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .15s, transform .15s;
}
.sme-modern-auth .sme-btn-cta:hover:not(:disabled), .sme-home .sme-home-btn--primary:hover { background: var(--ar-rose-d); }
.sme-modern-auth .sme-btn-cta:active:not(:disabled) { transform: translateY(1px); }
.sme-modern-auth .sme-btn-cta:disabled { background: #d9c3c8; color: #fff; cursor: not-allowed; }
.sme-modern-auth .sme-btn-cta:focus-visible, .sme-modern-auth a:focus-visible,
.sme-modern-auth input:focus-visible, .sme-home a:focus-visible, .sme-home button:focus-visible {
  outline: 3px solid var(--ar-ring); outline-offset: 2px;
}
.sme-modern-auth .sme-google-btn { border-radius: 12px; border: 1.5px solid var(--ar-line); min-height: 48px; background: #fff; }
.sme-modern-auth .sme-google-btn:hover { border-color: var(--ar-rose); }
.sme-modern-auth .sme-auth-alt a, .sme-modern-auth .sme-forgot, .sme-modern-auth .sme-checkline a { color: var(--ar-rose-d); font-weight: 600; }
.sme-modern-auth .sme-auth-trust { color: #6b4a58; }
.sme-modern-auth .sme-auth-trust i { color: var(--ar-rose); }
.sme-modern-auth .sme-auth-headline { letter-spacing: -.015em; }
.sme-modern-auth .sme-auth-ghost { border-radius: 12px; }
.sme-home .sme-home-btn { border-radius: 12px; font-weight: 700; }
.sme-home .sme-home-footer { background: var(--ar-ink); }
.sme-home .sme-home-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .sme-modern-auth .sme-auth-card { border-radius: 16px; }
  .sme-modern-auth .sme-field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sme-modern-auth *, .sme-home *, .sme-home-header *, .sme-home-footer * { transition: none !important; animation: none !important; }
}
