/* OnlyPass login — design handoff tokens (2026) */

:root {
  --op-font: "Outfit", system-ui, sans-serif;
  --op-r-sm: 9px;
  --op-r-md: 13px;
  --op-r-lg: 16px;
  --op-r-xl: 20px;
  --op-r-2xl: 26px;
  --op-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --op-focus: rgba(255, 255, 255, 0.28);
  --op-btn-shadow: 0 18px 34px -20px rgba(255, 255, 255, 0.5);
  --op-canvas: #050506;
  --op-surface: #0a0a0c;
  --op-raised: #101014;
  --op-hover: #17171b;
  --op-text: #f4f4f5;
  --op-text-2: #8b8b94;
  --op-text-3: #71717a;
  --op-border: rgba(255, 255, 255, 0.11);
  --op-border-hi: rgba(255, 255, 255, 0.22);
  --op-overlay: rgba(255, 255, 255, 0.06);
  --op-btn: linear-gradient(180deg, #ffffff, #dcdce1);
  --op-btn-text: #08080a;
  --op-error: #c97b7b;
}

html[data-theme="light"] {
  --op-canvas: #ececed;
  --op-surface: #ffffff;
  --op-raised: #f6f6f8;
  --op-hover: #f5f5f7;
  --op-text: #101013;
  --op-text-2: #5c5c66;
  --op-text-3: #4a4a52;
  --op-border: rgba(16, 16, 19, 0.13);
  --op-border-hi: rgba(16, 16, 19, 0.26);
  --op-overlay: rgba(16, 16, 19, 0.06);
  --op-btn: linear-gradient(180deg, #2a2a31, #08080a);
  --op-btn-text: #ffffff;
  --op-focus: #101013;
  --op-btn-shadow: 0 18px 34px -20px rgba(16, 16, 19, 0.75);
  --op-error: #b42318;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

body.op-login,
body.login-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--op-canvas);
  font-family: var(--op-font);
  color: var(--op-text);
  -webkit-font-smoothing: antialiased;
}

.op-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Theme switcher (viewport top-right, above the preview card) ── */

.op-chrome {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: calc(20px + env(safe-area-inset-right));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.op-theme {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--op-border);
  background: var(--op-surface);
}

.op-theme-btn {
  min-width: 44px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--op-text-2);
  font-family: var(--op-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 180ms var(--op-ease), color 180ms var(--op-ease);
}

.op-theme-btn:hover {
  color: var(--op-text);
  background: var(--op-hover);
}

.op-theme-btn[aria-pressed="true"] {
  background: var(--op-text);
  color: var(--op-surface);
}

.op-theme-btn:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 2px;
}

html[data-theme="dark"] .op-theme {
  background: #0a0a0c;
  border-color: rgba(255, 255, 255, 0.11);
}

html[data-theme="dark"] .op-theme-btn {
  color: #8b8b94;
}

html[data-theme="dark"] .op-theme-btn[aria-pressed="true"] {
  background: #f4f4f5;
  color: #08080a;
}

/* ── Shell (full-browser split, no outer card) ── */

.op-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--op-surface);
}

@media (min-width: 961px) {
  html,
  body.op-login {
    height: 100%;
  }

  body.op-login {
    padding: 0;
    overflow: hidden;
  }

  .op-shell {
    height: 100%;
    min-height: 100%;
  }

  .op-pane {
    overflow-y: auto;
  }

  .op-preview {
    border-left: 1px solid var(--op-border);
  }

  html[data-theme="dark"] .op-preview {
    border-left-color: var(--op-border-hi);
  }
}

.op-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 56px 46px;
  background: var(--op-surface);
}

.op-form {
  width: 100%;
  max-width: 356px;
}

.op-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 26px;
}

.op-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo {
  display: none;
  height: 40px;
  width: auto;
  max-width: 240px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  object-fit: contain;
}

html[data-theme="light"] .brand-logo--light,
html:not([data-theme]) .brand-logo--light {
  display: block;
}

html[data-theme="dark"] .brand-logo--dark {
  display: block;
}

.op-title {
  margin: 0 0 8px;
  text-align: center;
  color: var(--op-text);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.op-subtitle {
  margin: 0 0 26px;
  text-align: center;
  color: var(--op-text-2);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.45;
}

.op-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--op-r-sm);
  border: 1px solid var(--op-border);
  background: var(--op-raised);
  color: var(--op-text);
  font-size: 13.5px;
  line-height: 1.45;
}

.op-errors,
.op-form .validation-summary-errors,
.op-form .text-danger,
.op-field-error,
.op-inline-error {
  color: var(--op-error);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.op-inline-error {
  margin-top: 12px;
}

.op-inline-error[hidden] {
  display: none !important;
}

.op-errors,
.op-form .validation-summary-errors {
  margin: 0 0 14px;
}

.op-form .validation-summary-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.op-form .validation-summary-valid {
  display: none;
}

.op-field {
  margin: 0 0 14px;
}

.op-field-error {
  display: block;
  min-height: 0;
  margin-top: 8px;
}

.op-input {
  display: flex;
  align-items: stretch;
  height: 52px;
  border: 1px solid var(--op-border);
  border-radius: var(--op-r-md);
  background: var(--op-raised);
  overflow: hidden;
  transition: border-color 180ms var(--op-ease);
}

.op-input:hover {
  border-color: var(--op-border-hi);
}

.op-input:focus-within {
  border-color: var(--op-focus);
}

.op-input-rail {
  display: grid;
  place-items: center;
  width: 48px;
  flex: 0 0 48px;
  color: var(--op-text-3);
  border-right: 1px solid var(--op-border);
}

.op-input-rail svg {
  width: 18px;
  height: 18px;
  display: block;
}

.op-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--op-text);
  font-family: var(--op-font);
  font-size: 14.5px;
  font-weight: 400;
}

.op-input input::placeholder {
  color: var(--op-text-3);
}

.op-input input:focus {
  outline: none;
}

.op-input-eye {
  display: grid;
  place-items: center;
  width: 46px;
  flex: 0 0 46px;
  border: 0;
  background: transparent;
  color: var(--op-text-3);
  cursor: pointer;
  min-height: 44px;
  transition: opacity 180ms var(--op-ease), color 180ms var(--op-ease);
}

.op-input-eye:hover,
.op-input-eye:focus-visible {
  color: var(--op-text);
  opacity: 1;
}

.op-input-eye:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: -4px;
}

.op-input-eye svg {
  width: 18px;
  height: 18px;
}

.op-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
}

.op-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--op-text-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.op-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.op-check input[type="hidden"] {
  display: none;
}

.op-check-box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 4px;
  border: 1px solid var(--op-border-hi);
  background: var(--op-raised);
  display: grid;
  place-items: center;
  transition: background 160ms var(--op-ease), border-color 160ms var(--op-ease);
}

.op-check-box::after {
  content: "";
  width: 9px;
  height: 6px;
  border-left: 1.7px solid var(--op-btn-text);
  border-bottom: 1.7px solid var(--op-btn-text);
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}

.op-check input[type="checkbox"]:checked ~ .op-check-box {
  background: var(--op-text);
  border-color: var(--op-text);
}

.op-check input[type="checkbox"]:checked ~ .op-check-box::after {
  opacity: 1;
}

.op-check input[type="checkbox"]:focus-visible ~ .op-check-box {
  outline: 2px solid var(--op-text);
  outline-offset: 2px;
}

.op-forgot {
  color: var(--op-text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.op-forgot:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.op-forgot:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.op-btn-primary,
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  background: var(--op-btn);
  color: var(--op-btn-text);
  font-family: var(--op-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--op-btn-shadow);
  text-decoration: none;
  transition: filter 180ms var(--op-ease), transform 160ms var(--op-ease);
}

.op-btn-primary:hover,
.login-btn:hover {
  filter: brightness(1.04);
  color: var(--op-btn-text);
}

html[data-theme="light"] .op-btn-primary:hover,
html[data-theme="light"] .login-btn:hover {
  filter: brightness(1.12);
}

.op-btn-primary:active,
.login-btn:active {
  transform: scale(0.99);
}

.op-btn-primary:disabled {
  cursor: wait;
  opacity: 0.82;
}

.op-btn-primary:focus-visible,
.login-btn:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 3px;
}

.op-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.7px solid currentColor;
  border-right-color: transparent;
  animation: op-spin 0.7s linear infinite;
}

@keyframes op-spin {
  to { transform: rotate(360deg); }
}

.op-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--op-text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-divider::before,
.op-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--op-overlay);
}

.op-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.op-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--op-r-md);
  border: 1px solid var(--op-border);
  background: transparent;
  color: var(--op-text);
  font-family: var(--op-font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms var(--op-ease), border-color 180ms var(--op-ease);
}

.op-btn-alt:hover {
  background: var(--op-hover);
  border-color: var(--op-border-hi);
  color: var(--op-text);
}

.op-btn-alt:disabled {
  cursor: wait;
  opacity: 0.7;
}

.op-btn-alt:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 2px;
}

.op-btn-alt svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.op-register {
  margin: 26px 0 0;
  text-align: center;
  color: var(--op-text-2);
  font-size: 13.5px;
  font-weight: 400;
}

.op-register a {
  color: var(--op-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.op-register a:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 3px;
}

.op-register-mobile {
  display: none;
}

.op-tagline {
  display: none;
  margin-top: 46px;
  text-align: center;
  color: var(--op-text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-footer {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 22px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--op-text-3);
  font-size: 12.5px;
  font-weight: 400;
}

.op-footer-links {
  display: flex;
  gap: 14px;
}

.op-footer a {
  color: var(--op-text-3);
  text-decoration: none;
  font-weight: 500;
}

.op-footer a:hover {
  color: var(--op-text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.op-footer a:focus-visible {
  outline: 2px solid var(--op-text);
  outline-offset: 2px;
  border-radius: 4px;
}

html[data-theme="light"] .op-footer,
html[data-theme="light"] .op-footer a {
  color: var(--op-text-2);
}

html[data-theme="light"] .op-footer a:hover {
  color: var(--op-text);
}

/* ── Preview (follows page theme) ── */

.op-preview {
  --pv-canvas: #050506;
  --pv-surface: #0a0a0c;
  --pv-raised: #101014;
  --pv-hover: #17171b;
  --pv-text: #f4f4f5;
  --pv-text-2: #8b8b94;
  --pv-text-3: #71717a;
  --pv-border: rgba(255, 255, 255, 0.11);
  --pv-overlay: rgba(255, 255, 255, 0.06);
  --pv-active-bg: #f4f4f5;
  --pv-active-fg: #08080a;
  --pv-chart: rgba(255, 255, 255, 0.16);
  --pv-chart-hi: #f4f4f5;
  --pv-dot: rgba(255, 255, 255, 0.22);
  --pv-dot-on: #f4f4f5;
  --pv-badge-bg: rgba(255, 255, 255, 0.08);
  --pv-badge-fg: #d4d4d8;
  --pv-ready-bg: rgba(52, 211, 153, 0.12);
  --pv-ready-fg: #86efac;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 0;
  padding: 72px 40px 28px;
  background: var(--pv-canvas);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.op-preview-frame {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 56px minmax(0, 180px) minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  max-height: calc(100% - 132px);
  padding: 14px;
  border-radius: var(--op-r-xl);
  border: 1px solid var(--pv-border);
  background: var(--pv-surface);
  overflow: hidden;
}

.op-preview-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.op-preview-rail-logo {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 0;
  background: none;
}

.op-preview-rail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

html[data-theme="light"] .op-preview-logo--light,
html:not([data-theme]) .op-preview-logo--light,
html[data-theme="dark"] .op-preview-logo--dark {
  display: block;
}

html[data-theme="light"] .op-preview {
  --pv-canvas: #ececed;
  --pv-surface: #ffffff;
  --pv-raised: #f6f6f8;
  --pv-hover: #efeff2;
  --pv-text: #101013;
  --pv-text-2: #5c5c66;
  --pv-text-3: #6b6b74;
  --pv-border: rgba(16, 16, 19, 0.13);
  --pv-overlay: rgba(16, 16, 19, 0.06);
  --pv-active-bg: #101013;
  --pv-active-fg: #ffffff;
  --pv-chart: rgba(16, 16, 19, 0.12);
  --pv-chart-hi: #101013;
  --pv-dot: rgba(16, 16, 19, 0.22);
  --pv-dot-on: #101013;
  --pv-badge-bg: rgba(16, 16, 19, 0.08);
  --pv-badge-fg: #3f3f46;
  --pv-ready-bg: rgba(22, 163, 74, 0.14);
  --pv-ready-fg: #166534;
}

.op-preview-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--pv-border);
  background: var(--pv-raised);
}

.op-preview-nav {
  padding: 14px 8px;
  color: var(--pv-text);
}

.op-preview-kicker {
  margin: 0 0 14px;
  color: var(--pv-text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-preview-group {
  margin: 0 0 14px;
  color: var(--pv-text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-preview-group--later {
  margin-top: 14px;
}

.op-preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--pv-text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.op-preview-item.is-active {
  background: var(--pv-active-bg);
  color: var(--pv-active-fg);
  font-weight: 600;
}

.op-preview-item.is-locked {
  color: var(--pv-text-3);
}

.op-preview-lock {
  margin-left: auto;
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.op-preview-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 8px 8px 8px 0;
  overflow: hidden;
}

.op-preview-card {
  padding: 14px;
  border-radius: var(--op-r-md);
  border: 1px solid var(--pv-border);
  background: var(--pv-raised);
  overflow: hidden;
}

.op-preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--pv-text);
  font-size: 13.5px;
  font-weight: 600;
}

.op-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pv-badge-bg);
  color: var(--pv-badge-fg);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.op-badge.is-ready {
  background: var(--pv-ready-bg);
  color: var(--pv-ready-fg);
}

.op-preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.op-stat {
  padding: 12px;
  border-radius: 9px;
  background: var(--pv-hover);
}

.op-stat span {
  display: block;
  color: var(--pv-text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.op-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--pv-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.op-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: 12px;
  overflow: hidden;
}

.op-chart-bar {
  display: block;
  flex: 1 1 0;
  height: var(--h, 40%);
  max-height: 100%;
  border-radius: 3px 3px 0 0;
  background: var(--pv-chart);
}

.op-chart-bar.is-hi {
  background: var(--pv-chart-hi);
}

.op-notes {
  display: grid;
  gap: 8px;
}

.op-note {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--pv-border);
  background: var(--pv-raised);
  color: var(--pv-text-2);
  font-size: 12.5px;
  font-weight: 500;
}

.op-preview-copy {
  flex: 0 0 auto;
  margin-top: 22px;
  text-align: left;
}

.op-preview-copy h2 {
  margin: 0 0 8px;
  color: var(--pv-text);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.op-preview-copy p {
  margin: 0;
  max-width: 28rem;
  color: var(--pv-text-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.op-dots {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.op-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pv-dot);
}

.op-dots span.is-on {
  background: var(--pv-dot-on);
}

/* ── Forgot password (shared login.css) ── */

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 46px 24px;
}

.login-card {
  width: 100%;
  max-width: 356px;
  padding: 46px 24px;
  border-radius: var(--op-r-xl);
  border: 1px solid var(--op-border);
  background: var(--op-surface);
}

.login-card-header {
  margin-bottom: 26px;
  text-align: center;
}

.login-card-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-card-subtitle {
  margin: 0;
  color: var(--op-text-2);
  font-size: 14.5px;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .op-preview-frame {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }

  .op-preview-rail {
    display: none;
  }

  .op-preview-copy h2 {
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .op-chrome {
    top: calc(12px + env(safe-area-inset-top));
    right: calc(12px + env(safe-area-inset-right));
  }

  .op-shell {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 56px 0 0;
    background: var(--op-canvas);
  }

  .op-preview,
  .op-footer,
  .op-register-desktop {
    display: none;
  }

  .op-pane {
    width: 100%;
    padding: 12px 16px 32px;
    border-radius: 0;
    background: var(--op-canvas);
    border: 0;
    box-shadow: none;
    justify-content: flex-start;
  }

  html[data-theme="dark"] .op-pane {
    border: 0;
    box-shadow: none;
  }

  .op-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 28px 20px 22px;
    border-radius: var(--op-r-2xl);
    border: 1px solid var(--op-border);
    background: var(--op-surface);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  html[data-theme="dark"] .op-form {
    background: var(--op-raised);
    border-color: var(--op-border-hi);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  }

  html[data-theme="light"] .op-form {
    background: var(--op-surface);
    box-shadow: 0 16px 40px rgba(16, 16, 19, 0.08);
  }

  .op-logo {
    margin-bottom: 20px;
  }

  .op-register {
    margin-top: 20px;
  }

  .op-title {
    font-size: 24px;
  }

  .op-input {
    height: 54px;
    border-radius: 14px;
  }

  .op-input input {
    font-size: 15px;
  }

  .op-forgot,
  .op-check,
  .op-register,
  .op-btn-alt {
    font-size: 14px;
  }

  .op-btn-primary,
  .login-btn {
    height: 56px;
    font-size: 15.5px;
  }

  .op-alt {
    grid-template-columns: 1fr;
  }

  .op-btn-alt {
    height: 54px;
  }

  .op-register-mobile,
  .op-tagline {
    display: block;
  }

  .op-tagline {
    margin-top: 22px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-btn-primary,
  .op-btn-alt,
  .op-input,
  .op-spinner {
    transition: none;
    animation: none;
    transform: none;
  }
}
