:root {
  --login-ink: #0f172a;
  --login-muted: #64748b;
  --login-line: #dbe3ee;
  --login-blue: #2563eb;
  --login-blue-dark: #1d4ed8;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.br-login-page {
  margin: 0;
  color: var(--login-ink);
  background: #eef2f7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.br-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(460px, 1.12fr) minmax(440px, .88fr);
  overflow: hidden;
}
.br-login-story {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .2), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(96, 165, 250, .22), transparent 28rem),
    linear-gradient(145deg, #111c33 0%, #0f172a 52%, #111827 100%);
}
.br-login-story::before,
.br-login-story::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 50%;
  pointer-events: none;
}
.br-login-story::before { width: 680px; height: 680px; right: -420px; top: -180px; }
.br-login-story::after { width: 420px; height: 420px; left: -230px; bottom: -220px; }
.br-login-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}
.br-login-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 14px 30px rgba(2,6,23,.22);
  backdrop-filter: blur(10px);
}
.br-login-brand-mark svg { width: 29px; height: 29px; fill: currentColor; stroke: none; }
.br-login-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.br-login-brand strong { font-size: 17px; letter-spacing: .025em; }
.br-login-brand em { color: #60a5fa; font-style: normal; }
.br-login-brand small { margin-top: 5px; color: #94a3b8; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.br-login-story-copy {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  margin: auto 0;
  padding: 11vh 0 8vh;
}
.br-login-eyebrow { display: block; color: #60a5fa; font-size: 10.5px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.br-login-story h1 { margin: 17px 0 18px; font-size: clamp(42px, 5.1vw, 74px); font-weight: 790; line-height: .99; letter-spacing: -.055em; }
.br-login-story-copy p { max-width: 590px; margin: 0; color: #cbd5e1; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.7; }
.br-login-workflow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.17);
  border-radius: 15px;
  color: #cbd5e1;
  background: rgba(15,23,42,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
}
.br-login-workflow span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.br-login-workflow i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #bfdbfe; background: rgba(37,99,235,.28); font-size: 10px; font-style: normal; }
.br-login-workflow svg { width: 15px; height: 15px; color: #64748b; }
.br-login-version { position: relative; z-index: 1; margin: 22px 0 0; color: #64748b; font-size: 10.5px; font-weight: 650; letter-spacing: .035em; }

.br-login-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 70px);
  background:
    radial-gradient(circle at 100% 0, rgba(37,99,235,.06), transparent 24rem),
    #f8fafc;
}
.br-login-card { width: min(430px, 100%); }
.br-login-card-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
.br-login-card-heading h2 { margin: 5px 0 5px; font-size: clamp(28px, 3vw, 38px); line-height: 1.14; letter-spacing: -.04em; }
.br-login-card-heading p { margin: 0; color: var(--login-muted); font-size: 13px; }
.br-login-mobile-mark { display: none; }
.br-login-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  color: #991b1b;
  background: #fff7f7;
  font-size: 12.5px;
  font-weight: 650;
  transition: opacity .22s ease, transform .22s ease;
}
.br-login-alert.is-dismissing { opacity: 0; transform: translateY(-7px); pointer-events: none; }
.br-login-alert > span { flex: 1 1 auto; min-width: 0; }
.br-login-alert > svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.br-login-alert .br-feedback-dismiss { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; margin: -6px -7px -6px auto; padding: 0; border: 0; border-radius: 8px; color: currentColor; background: transparent; cursor: pointer; opacity: .72; }
.br-login-alert .br-feedback-dismiss:hover, .br-login-alert .br-feedback-dismiss:focus-visible { background: rgba(255,255,255,.72); opacity: 1; }
.br-login-alert .br-feedback-dismiss svg { width: 15px; height: 15px; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .br-login-alert { transition: opacity .01ms; } }
.br-login-form { display: grid; gap: 18px; }
.br-login-field { display: grid; gap: 7px; }
.br-login-field > span:first-child { color: #334155; font-size: 12px; font-weight: 750; }
.br-login-input-wrap { position: relative; display: block; }
.br-login-input-wrap > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.br-login-input-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 44px;
  border: 1px solid var(--login-line);
  border-radius: 12px;
  outline: 0;
  color: var(--login-ink);
  background: #fff;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.02);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.br-login-input-wrap input:hover { border-color: #c5d0de; }
.br-login-input-wrap input:focus { border-color: #7aa2f7; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.br-login-password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 9px;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}
.br-login-password-toggle:hover { color: #0f172a; background: #f1f5f9; }
.br-login-password-toggle svg { width: 18px; height: 18px; }
.br-login-password-toggle .br-eye-closed { display: none; }
.br-login-password-toggle[aria-pressed="true"] .br-eye-open { display: none; }
.br-login-password-toggle[aria-pressed="true"] .br-eye-closed { display: block; }
.br-login-submit {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--login-blue);
  box-shadow: 0 10px 22px rgba(37,99,235,.2);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
.br-login-submit:hover { transform: translateY(-1px); background: var(--login-blue-dark); box-shadow: 0 13px 26px rgba(37,99,235,.25); }
.br-login-submit:active { transform: translateY(0); }
.br-login-submit:focus-visible,
.br-login-password-toggle:focus-visible { outline: 3px solid rgba(37,99,235,.2); outline-offset: 2px; }
.br-login-submit svg { width: 18px; height: 18px; }
.br-login-help { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--login-line); color: var(--login-muted); }
.br-login-help svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.br-login-help p { margin: 0; font-size: 11.5px; line-height: 1.6; }

@media (max-width: 980px) {
  .br-login-shell { grid-template-columns: minmax(340px, .82fr) minmax(430px, 1.18fr); }
  .br-login-story { padding: 34px; }
  .br-login-story h1 { font-size: clamp(36px, 5.5vw, 54px); }
  .br-login-workflow { align-items: flex-start; flex-direction: column; }
  .br-login-workflow > svg { display: none; }
}
@media (max-width: 760px) {
  .br-login-shell { display: block; }
  .br-login-story { display: none; }
  .br-login-panel { min-height: 100vh; padding: 28px 20px; }
  .br-login-card { width: min(450px, 100%); }
  .br-login-mobile-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #fff; background: #0f172a; font-size: 19px; font-weight: 900; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
