html.quicko-design body.auth-workspace {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.auth-workspace .nav {
  position: relative;
  border-bottom: 1px solid var(--qd-line);
}

.auth-workspace .nav-inner {
  min-height: 72px;
}

.auth-workspace .nav-inner .brand-title {
  position: static;
  display: block;
  transform: none;
  text-align: start;
}

.auth-workspace :is(.menu-toggle, .nav-swipe-toggle, .floating-cta) {
  display: none !important;
}

.auth-workspace :is(h1, h2, label, button, a) {
  text-shadow: none !important;
}

.auth-workspace .nav-links > a[href^="auth.html"] {
  display: none;
}

.auth-workspace main {
  flex: 1 0 auto;
  width: min(calc(100% - 40px), 460px);
  margin: 44px auto 64px;
}

.auth-workspace main .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.auth-workspace .page-intro {
  padding: 0 0 22px;
  border: 0;
  background: none;
}

.auth-workspace .page-intro h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
}

.auth-workspace .page-intro h1::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 14px;
  background: var(--qd-accent);
}

.auth-workspace .section {
  padding: 0;
}

.auth-workspace .auth-selector-wrap {
  display: block;
  margin-bottom: 16px;
}

.auth-workspace .auth-selector {
  padding: 0;
}

.auth-workspace .auth-choice-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  min-height: 48px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--qd-line);
  border-radius: 8px;
  background: var(--qd-surface);
}

html.quicko-design .auth-workspace .auth-choice-buttons .auth-choice-btn {
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 8px;
  border: 1px solid transparent;
  border-color: transparent !important;
  background: transparent !important;
  color: var(--qd-muted) !important;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
}

html.quicko-design .auth-workspace .auth-choice-buttons .auth-choice-btn.is-active {
  border-color: var(--qd-accent) !important;
  background: var(--qd-active) !important;
  color: var(--qd-text) !important;
}

html.quicko-design .auth-workspace .auth-pane {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: none !important;
}

.auth-workspace .auth-card::before,
.auth-workspace .auth-kicker {
  display: none;
}

.auth-workspace .auth-card h2 {
  margin: 20px 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.auth-workspace .auth-form {
  gap: 18px;
}

.auth-workspace .auth-field {
  min-width: 0;
  gap: 8px;
}

.auth-workspace .auth-field label {
  color: var(--qd-text);
  font-size: 14px;
  font-weight: 600;
}

.auth-workspace .auth-field :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  font-size: 16px;
}

.auth-workspace .auth-password-control {
  position: relative;
  min-width: 0;
}

.auth-workspace .auth-password-control input {
  padding-inline-end: 54px;
}

.auth-workspace .auth-password-toggle {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-end: 3px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--qd-muted);
  cursor: pointer;
}

.auth-workspace .auth-password-toggle:hover {
  background: var(--qd-raised);
  color: var(--qd-text);
}

.auth-workspace .auth-password-toggle svg {
  width: 19px;
  height: 19px;
  pointer-events: none;
}

.auth-workspace .auth-caps-warning {
  margin: 0;
  color: #e3bd72;
  font-size: 13px;
}

html.quicko-design .auth-workspace .auth-form button[type="submit"] {
  min-height: 48px;
  background: var(--qd-accent) !important;
  color: #10261b !important;
  border-color: var(--qd-accent) !important;
  font-size: 15px;
}

html.quicko-design .auth-workspace #forgotPasswordBtn {
  min-height: 40px;
  margin-top: -8px;
  padding: 6px;
  border-color: transparent !important;
  background: none !important;
  color: var(--qd-muted) !important;
}

.auth-workspace .auth-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--qd-muted);
  background: var(--qd-surface);
  overflow-wrap: anywhere;
}

.auth-workspace .auth-status:empty {
  display: none;
}

.auth-workspace .auth-status.error {
  border-color: #b46f72;
  background: #342327;
  color: #ffdbdc;
}

.auth-workspace .auth-status.success {
  border-color: var(--qd-accent);
  background: var(--qd-active);
  color: #d5f5e5;
}

.auth-workspace :is(button, input):disabled {
  cursor: wait;
  opacity: 0.6;
}

.auth-workspace footer {
  margin-top: auto;
  padding: 20px 0;
  border-top: 1px solid var(--qd-line);
}

.auth-workspace .footer-inner {
  align-items: flex-start;
  gap: 16px;
  font-size: 12px;
}

.auth-workspace .foot-links {
  flex-wrap: wrap;
  gap: 10px 16px;
}

@media (max-width: 850px) {
  .auth-workspace .nav-links {
    display: none;
  }

  .auth-workspace .nav-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .auth-workspace .nav .cta {
    flex-wrap: nowrap;
    width: auto;
    margin: 0;
    gap: 8px;
  }

  .auth-workspace .nav .cta > a {
    display: none;
  }

  .auth-workspace main {
    margin-top: 28px;
    margin-bottom: 40px;
  }

  .auth-workspace .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-workspace * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
