@layer defaults, application, domains, features, components;
@layer defaults.focus-appearance, defaults.workspace-typography, defaults.checkbox-appearance, defaults.selection-controls, defaults.toolbar-appearance, defaults.field-appearance, defaults.action-button-geometry, defaults.footer-appearance, defaults.connected-selects;
@layer components.settings, components.density, components.examples, components.selects, components.footers, components.actions, components.fields, components.toolbars, components.selections, components.checkboxes, components.typography, components.accessibility;
/* Sign-in owns its neutral presentation; signed-in audit colors stay in Admin. */
@layer domains {
.hhadmin-auth-page.hhadmin-auth-page--signin {
  min-height: 100dvh;
  background: var(--hh-ui-canvas);
  color: var(--hh-color-text-primary);
}

.hhadmin-auth-page--signin .hhadmin-auth-brandbar {
  width: min(100%, 1120px);
  min-height: 80px;
  padding: 24px;
}

.hhadmin-auth-switch {
  display: inline-block;
  margin-block-start: 20px;
  color: var(--hh-color-text-primary);
  font-size: 13px;
  text-underline-offset: 3px;
}

.hhadmin-auth-page--signin .hhadmin-auth-brand {
  color: var(--hh-color-text-primary);
  font-weight: 600;
}

.hhadmin-auth-page--signin .hhadmin-auth-brand__mark {
  width: 20px;
  height: 20px;
}

.hhadmin-auth-page--signin .hhadmin-auth-brand strong {
  min-height: 0;
  margin-inline-start: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.hhadmin-auth-page--signin .hhadmin-auth-brand strong,.hhadmin-auth-page--signin .hhadmin-auth-return {
  color: var(--hh-color-text-secondary);
  font-size: 12px;
  font-weight: 400;
}

.hhadmin-auth-page--signin .hhadmin-auth-return:hover {
  color: var(--hh-color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hhadmin-auth-page--signin .hhadmin-auth-shell {
  width: min(100%, 448px);
  min-height: calc(100dvh - 80px);
  padding: 48px 24px 112px;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: 0;
  box-sizing: border-box;
}

.hhadmin-auth-page--signin .hhadmin-auth-panel {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hhadmin-auth-page--signin .hhadmin-auth-panel__heading {
  margin-bottom: 28px;
}

.hhadmin-auth-page--signin .hhadmin-auth-panel__heading h1 {
  margin: 0;
  color: var(--hh-color-text-primary);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.hhadmin-auth-page--signin .hhadmin-auth-panel__heading p {
  margin: 10px 0 0;
  color: var(--hh-color-text-primary);
  font-size: 14px;
  line-height: 1.6;
}

.hhadmin-auth-page--signin .hhadmin-auth-form {
  gap: 18px;
}

.hhadmin-auth-page--signin :is(.hhadmin-field,.hhadmin-check) > span {
  color: var(--hh-color-text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.hhadmin-auth-page--signin .hhadmin-field input {
  height: var(--hh-ui-field-height-touch);
  padding: 0 12px;
  border: 1px solid var(--hh-ui-border);
  border-radius: var(--radius-10);
  background: var(--color-white);
  color: var(--hh-color-text-primary);
  font-size: 14px;
  line-height: 20px;
}

.hhadmin-auth-page--signin .hhadmin-password-field input {
  padding-inline-end: 64px;
}

.hhadmin-auth-page--signin .hhadmin-field input:focus {
  border-color: var(--hh-paint-hh-ui-text);
  outline: 2px solid var(--hh-ui-border);
  outline-offset: 2px;
  box-shadow: none;
}

.hhadmin-auth-page--signin .hhadmin-password-field button {
  color: var(--hh-color-text-secondary);
  font-weight: 500;
}

.hhadmin-auth-page--signin .hhadmin-check input {
  accent-color: var(--hh-paint-hh-ui-text);
}

.hhadmin-auth-page--signin .hhadmin-auth-form > a {
  width: fit-content;
  color: var(--hh-paint-hh-ui-secondary);
  font-size: 13px;
  text-decoration: none;
}

.hhadmin-auth-page--signin .hhadmin-auth-form > a:hover {
  color: var(--hh-paint-hh-ui-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hhadmin-auth-page--signin .hhadmin-submit {
  min-height: var(--hh-ui-field-height-touch);
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}

.hhadmin-auth-page--signin .hhadmin-auth-panel__note {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  color: var(--hh-color-text-secondary);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.hhadmin-auth-page--signin :is(a, button, input[type='checkbox']):focus-visible {
  outline: 2px solid var(--hh-paint-hh-ui-text);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hhadmin-auth-page--signin .hhadmin-auth-brandbar {
    min-height: 72px;
    padding: 20px;
    gap: 16px;
  }

  .hhadmin-auth-page--signin .hhadmin-auth-return {
    max-width: 144px;
    line-height: 18px;
  }

  .hhadmin-auth-page--signin .hhadmin-auth-shell {
    min-height: calc(100dvh - 72px);
    padding: 48px 24px 56px;
    align-content: start;
  }

  .hhadmin-auth-page--signin .hhadmin-field input {
    font-size: 16px;
  }
}
}
