.account-entry {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  box-sizing: border-box;
  color: #171c27;
  background: #f3f5fa;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.account-entry *, .account-entry *::before, .account-entry *::after { box-sizing: border-box; }
.account-stage {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 490px;
  background: #fff;
  border: 1px solid #dce2ee;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px #192e6410;
}
.account-intro {
  display: flex;
  flex-direction: column;
  gap: 56px;
  justify-content: space-between;
  padding: 42px;
  background: #142547;
  color: #fff;
}
.account-brand {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.account-brand img { border-radius: 8px; background: #fff; }
.account-intro-copy { margin-bottom: 10px; }
.account-intro-copy p { margin: 0 0 10px; font-size: clamp(22px, 3.8vw, 34px); font-weight: 650; }
.account-intro-copy span { color: #d5e0f8; }
.account-panel { align-self: center; min-width: 0; padding: clamp(28px, 6vw, 62px); }
.account-panel h1 { margin: 0; font-size: clamp(27px, 4.6vw, 36px); line-height: 1.2; }
.account-caption { margin: 12px 0 30px; color: #536077; }
.account-panel label { display: block; margin: 16px 0 6px; font-weight: 600; }
.account-panel input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd4e2;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.account-entry :focus-visible { outline: 2px solid #2459de; outline-offset: 3px; }
.account-primary {
  width: 100%;
  min-height: 46px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
  background: #2459de;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.account-primary:hover { background: #1b48be; }
.account-primary:active { transform: translateY(1px); }
.account-primary:disabled { opacity: .65; cursor: wait; }
.account-switch { margin: 22px 0 0; color: #536077; text-align: center; }
.account-switch a { color: #1948c1; font-weight: 600; text-underline-offset: 3px; }
.account-hint, .account-message { margin: 8px 0 0; font-size: 13px; }
.account-hint { color: #536077; }
.account-message { color: #a22136; }
.account-sidebar { padding: 0 4px 10px; }
.account-sidebar-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.account-sidebar-schedule { font-size: 11px; color: var(--muted, #536077); margin: 3px 0; }
.account-sidebar button {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--accent, #2459de);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.account-sidebar button:hover { text-decoration: underline; }
.account-customer .sidebar button[onclick^="showTab('discover'"],
.account-customer .sidebar button[onclick^="showTab('settings'"],
.account-customer .sidebar button[onclick^="showTab('admin'"],
.account-customer .sidebar button[onclick^="showTab('controls'"] { display: none; }
@media (max-width: 610px) {
  .account-entry { padding: 16px; }
  .account-stage { min-height: auto; grid-template-columns: minmax(0, 1fr); }
  .account-intro { gap: 20px; padding: 24px; }
  .account-intro-copy { margin: 0; }
  .account-panel { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { .account-primary { transition: none; } }
