.staff-login-page {
  --staff-primary: #081d38;
  --staff-accent: #c99545;
  --staff-heading-font: Georgia, serif;
  display: block;
  place-items: normal;
  min-height: 100svh;
  padding: 0;
  overflow: auto;
  background: #f4f5f6;
  color: #222c37;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}
.staff-login-page::before,
.staff-login-page::after { content: none; }
.staff-login-page * { box-sizing: border-box; letter-spacing: 0; }
.staff-login-header {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 38px;
  background: #fff;
  border-bottom: 3px solid var(--staff-accent);
}
.staff-brand { display: flex; align-items: center; gap: 16px; color: var(--staff-primary); text-decoration: none; min-width: 0; }
.staff-brand img { width: 112px; height: 70px; object-fit: contain; }
.staff-brand span { font-family: var(--staff-heading-font); font-size: 24px; overflow-wrap: anywhere; }
.staff-shop-link { display: flex; align-items: center; gap: 10px; color: var(--staff-primary); font-size: 14px; font-weight: 600; text-decoration: none; flex-shrink: 0; padding: 12px 0; }
.staff-login-page .login-shell {
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 99px);
  padding: 42px 20px;
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  gap: 0;
  background: url('/assets/storefront/hero.webp') center / cover no-repeat;
}
.staff-login-page .login-panel {
  width: 100%;
  padding: 34px;
  border: 1px solid #e3e5e9;
  border-top: 4px solid var(--staff-accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 42px #081d3830;
  backdrop-filter: none;
}
.staff-login-page .eyebrow { color: #596576; text-transform: none; font-size: 13px; font-weight: 500; line-height: 1.5; }
.staff-login-page .login-panel h1 { font-family: var(--staff-heading-font); font-size: 30px; line-height: 1.22; font-weight: 500; color: var(--staff-primary); margin: 8px 0 26px; overflow-wrap: anywhere; }
.staff-login-page .login-portal-grid { gap: 12px; margin-bottom: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.staff-login-page .login-portal-card { min-height: 92px; padding: 16px; background: #fff; border: 1px solid #d7dce2; border-radius: 6px; }
.staff-login-page .login-portal-card strong { color: var(--staff-primary); font-weight: 650; font-size: 16px; }
.staff-login-page .login-portal-card span { font-weight: 400; font-size: 13px; color: #596576; }
.staff-login-page .login-portal-card.active { border-color: var(--staff-primary); background: color-mix(in srgb, var(--staff-primary) 5%, #fff); box-shadow: inset 0 0 0 1px var(--staff-primary); }
.staff-login-page .login-portal-card:hover { border-color: var(--staff-primary); transform: none; }
.staff-login-page .login-form { gap: 18px; }
.staff-login-page .login-form label { font-size: 14px; font-weight: 600; gap: 8px; }
.staff-login-page .login-form input:not([type=checkbox]) { background: #fff; border: 1px solid #cdd4dd; border-radius: 6px; min-height: 48px; color: #222c37; font-size: 16px; padding: 12px; box-shadow: none; }
.staff-login-page .login-remember { color: #596576; font-weight: 400 !important; }
.staff-login-page input[type=checkbox] { accent-color: var(--staff-primary); }
.staff-login-page #loginSubmit { min-height: 50px; border: 1px solid var(--staff-primary); border-radius: 6px; background: var(--staff-primary); color: white; box-shadow: none; font-size: 15px; font-weight: 600; white-space: normal; }
.staff-login-page #loginSubmit:disabled { opacity: .65; cursor: wait; }
.staff-login-page :is(button, input, a):focus-visible { outline: 3px solid var(--staff-accent); outline-offset: 3px; }
.staff-login-page #loginMessage:empty { display: none; }
.staff-login-page #loginMessage { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.staff-login-note { margin: 24px 0 0; border-top: 1px solid #e9ebef; padding-top: 20px; color: #657080; text-align: center; font-size: 12px; line-height: 1.6; }
.dashboard-header .staff-dashboard-brand .app-logo { width: 104px; height: 68px; object-fit: contain; padding: 4px; box-shadow: none; }
.dashboard-header .staff-dashboard-brand h1 { font-size: 23px; line-height: 1.25; color: #081d38; overflow-wrap: anywhere; }
.staff-dashboard-brand .app-title-copy > span { display: block; margin-top: 4px; font-size: 13px; color: #596576; }
@media (max-width: 600px) {
  .staff-login-header { min-height: 84px; padding: 8px 16px; gap: 12px; }
  .staff-brand img { width: 96px; height: 62px; }
  .staff-brand span { display: none; }
  .staff-shop-link { font-size: 13px; }
  .staff-login-page .login-shell { min-height: calc(100svh - 87px); padding: 24px 12px; }
  .staff-login-page .login-panel { padding: 24px 20px; }
  .staff-login-page .login-panel h1 { font-size: 26px; }
  .staff-login-page .login-portal-card { padding: 12px; min-height: 90px; }
  .staff-login-page .login-portal-card strong { font-size: 15px; }
  .dashboard-header .staff-dashboard-brand .app-logo { width: 82px; height: 54px; }
  .dashboard-header .staff-dashboard-brand h1 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .staff-login-page * { transition: none !important; }
}
