:root {
  color-scheme: light;
  --auth-ink: #17211f;
  --auth-muted: #65736f;
  --auth-border: #dce4e0;
  --auth-panel: #ffffff;
  --auth-soft: #f3f7f5;
  --auth-accent: #247d68;
  --auth-accent-dark: #176451;
  --auth-danger: #b33d46;
  --auth-shadow: 0 24px 70px rgba(21, 52, 44, 0.14);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--auth-ink);
  background: #edf3f0;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(36, 125, 104, 0.28);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 13% 8%, rgba(81, 167, 139, 0.2), transparent 32%),
    radial-gradient(circle at 90% 88%, rgba(204, 174, 101, 0.16), transparent 30%),
    #edf3f0;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  width: min(1120px, 100%);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background: var(--auth-panel);
  box-shadow: var(--auth-shadow);
}

.auth-brand-panel {
  display: flex;
  flex-direction: column;
  padding: 48px;
  color: #f7fbf9;
  background:
    linear-gradient(145deg, rgba(7, 43, 35, 0.93), rgba(24, 92, 75, 0.88)),
    radial-gradient(circle at 65% 22%, #55a58d, transparent 34%);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  color: #fff7d8;
  font-family: Georgia, serif;
  font-weight: 700;
}

.auth-brand span:last-child {
  display: grid;
  gap: 2px;
}

.auth-brand strong {
  font-size: 17px;
}

.auth-brand small {
  color: rgba(255, 255, 255, 0.67);
}

.auth-brand-copy {
  max-width: 520px;
  margin: auto 0;
}

.auth-eyebrow {
  margin: 0 0 12px;
  color: var(--auth-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.auth-brand-panel .auth-eyebrow {
  color: #b9e4d7;
}

.auth-brand-copy h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.12;
}

.auth-brand-copy p:last-child {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.8;
}

.auth-trust-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
}

.auth-trust-list li::before {
  content: "✓";
  margin-right: 9px;
  color: #b9e4d7;
  font-weight: 800;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 78px);
}

.auth-card-heading h2,
.admin-page-heading h1,
.admin-panel-head h2,
.admin-dialog h2,
.auth-message-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.auth-card-heading > p:last-child,
.admin-page-heading > div > p:last-child {
  margin: 12px 0 0;
  color: var(--auth-muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.auth-form label,
.admin-form-grid label {
  display: grid;
  gap: 8px;
  color: #35433f;
  font-weight: 700;
}

.auth-form input,
.admin-form-grid input,
.admin-filter-row input,
.admin-filter-row select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  color: var(--auth-ink);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus,
.admin-form-grid input:focus,
.admin-filter-row input:focus,
.admin-filter-row select:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px rgba(36, 125, 104, 0.1);
}

.auth-form-status,
.admin-result {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--auth-muted);
  line-height: 1.5;
}

[data-tone="error"] {
  color: var(--auth-danger);
}

[data-tone="success"] {
  color: var(--auth-accent-dark);
}

[data-tone="busy"] {
  color: #8b6b24;
}

.auth-primary-button,
.auth-secondary-button,
.auth-link-button,
.auth-manage-link,
.auth-logout-button,
.admin-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.auth-primary-button {
  color: #fff;
  background: var(--auth-accent);
  box-shadow: 0 10px 22px rgba(36, 125, 104, 0.2);
}

.auth-primary-button:hover {
  background: var(--auth-accent-dark);
}

.auth-secondary-button {
  border: 1px solid var(--auth-border);
  color: var(--auth-ink);
  background: #fff;
}

.auth-link-button,
.auth-manage-link,
.auth-logout-button {
  color: var(--auth-accent-dark);
  background: transparent;
}

.auth-manage-link {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--auth-border);
  background: #fff;
  white-space: nowrap;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.auth-support-note {
  margin: 26px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-message-card {
  width: min(620px, 100%);
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  text-align: center;
  background: #fff;
  box-shadow: var(--auth-shadow);
}

.auth-message-code {
  display: block;
  margin-bottom: 8px;
  color: rgba(36, 125, 104, 0.12);
  font-size: 104px;
  font-weight: 900;
  line-height: 0.9;
}

.auth-message-card > p:not(.auth-eyebrow) {
  color: var(--auth-muted);
  line-height: 1.8;
}

.auth-current-user {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  background: var(--auth-soft);
}

.auth-current-user div {
  padding: 16px;
}

.auth-current-user dt {
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-current-user dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.auth-message-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.auth-feedback {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid #edc9cc;
  border-radius: 12px;
  color: #842a32;
  background: #fff2f3;
  box-shadow: 0 16px 38px rgba(69, 17, 22, 0.14);
}

.admin-page {
  background: #f3f6f4;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--auth-border);
  color: var(--auth-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.admin-topbar .auth-brand small {
  color: var(--auth-muted);
}

.admin-topbar .auth-brand-mark {
  border-color: var(--auth-border);
  color: var(--auth-accent-dark);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-nav a {
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--auth-muted);
  font-weight: 700;
  text-decoration: none;
}

.admin-nav a.is-active {
  color: var(--auth-accent-dark);
  background: #e9f4f0;
}

.auth-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.auth-user-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.auth-user-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #bdd2ef;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef6ff, #dceaff);
  color: #1556a6;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.auth-user-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
  text-align: left;
}

.auth-user-copy strong {
  overflow: hidden;
  color: #0f2948;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-user-copy small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #245f9f;
  background: #e8f2ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.auth-user-menu[data-account-type="employee"] .auth-user-copy small {
  color: #176451;
  background: #e8f6f1;
}

.auth-user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-user-menu--sidebar {
  display: grid;
  width: 100%;
  align-items: stretch;
  gap: 12px;
  margin: 20px 0 0;
  padding: 12px;
  border: 1px solid rgba(129, 162, 205, 0.42);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: 0 10px 26px rgba(30, 72, 120, 0.1);
}

.auth-user-menu--sidebar .auth-user-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-user-menu--sidebar[data-account-type="employee"] .auth-user-actions {
  grid-template-columns: 1fr;
}

.auth-user-menu--sidebar .auth-manage-link,
.auth-user-menu--sidebar .auth-logout-button {
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #cad9ec;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.auth-user-menu--sidebar .auth-manage-link {
  color: #1556a6;
  background: #eaf3ff;
}

.auth-user-menu--sidebar .auth-logout-button {
  color: #52657c;
  background: #fff;
}

.auth-user-menu--sidebar .auth-manage-link:hover,
.auth-user-menu--sidebar .auth-manage-link:focus-visible {
  border-color: #86abd8;
  background: #dcecff;
}

.auth-user-menu--sidebar .auth-logout-button:hover,
.auth-user-menu--sidebar .auth-logout-button:focus-visible {
  border-color: #aebfd3;
  color: #243d59;
  background: #f6f9fc;
}

.auth-user-menu--topbar {
  min-height: 48px;
  padding: 5px 6px 5px 8px;
  border: 1px solid rgba(244, 230, 197, 0.22);
  border-radius: 12px;
  background: rgba(5, 17, 23, 0.46);
}

.auth-user-menu--topbar .auth-user-copy {
  display: none;
}

.auth-user-menu--topbar .auth-user-avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-color: rgba(228, 198, 127, 0.46);
  border-radius: 9px;
  color: #f4dfab;
  background: rgba(228, 198, 127, 0.12);
}

.auth-user-menu--topbar .auth-user-copy strong {
  max-width: 96px;
  color: #fff8e8;
  font-size: 12px;
}

.auth-user-menu--topbar .auth-user-copy small {
  min-height: 18px;
  padding: 1px 6px;
  color: #d8c48e;
  background: rgba(228, 198, 127, 0.1);
  font-size: 10px;
}

.auth-user-menu--topbar .auth-manage-link,
.auth-user-menu--topbar .auth-logout-button {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(244, 230, 197, 0.2);
  border-radius: 9px;
  color: #f5e8c9;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.auth-user-menu--topbar .auth-manage-link:hover,
.auth-user-menu--topbar .auth-logout-button:hover {
  border-color: rgba(228, 198, 127, 0.58);
  background: rgba(228, 198, 127, 0.12);
}

@media (min-width: 1181px) {
  .site-nav.auth-user-menu-host--sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    max-height: 100vh;
    align-self: start;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav.auth-user-menu-host--sidebar .auth-user-menu--sidebar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    flex: 0 0 auto;
  }
}

.admin-main {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.admin-page-heading,
.admin-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.admin-summary-grid article,
.admin-panel {
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  background: #fff;
}

.admin-summary-grid article {
  padding: 22px;
}

.admin-summary-grid article > span {
  color: var(--auth-accent);
  font-size: 12px;
  font-weight: 900;
}

.admin-summary-grid strong {
  display: block;
  margin-top: 8px;
}

.admin-summary-grid p {
  margin: 8px 0 0;
  color: var(--auth-muted);
  line-height: 1.65;
}

.admin-panel {
  padding: 26px;
  box-shadow: 0 12px 34px rgba(27, 59, 50, 0.06);
}

.admin-panel-head h2,
.admin-dialog h2 {
  font-size: 25px;
}

.admin-panel-head span {
  display: block;
  margin-top: 6px;
  color: var(--auth-muted);
}

.admin-filter-row {
  display: flex;
  gap: 10px;
}

.admin-filter-row input {
  width: min(340px, 32vw);
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.admin-user-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-user-table th,
.admin-user-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #e8eeeb;
  text-align: left;
  vertical-align: middle;
}

.admin-user-table th {
  color: var(--auth-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.admin-user-table tr.is-disabled {
  color: #7a8582;
  background: #fafbfa;
}

.admin-user-identity {
  display: grid;
  gap: 4px;
}

.admin-user-identity small {
  color: var(--auth-muted);
}

.admin-status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.admin-status-pill.is-enabled {
  color: #146049;
  background: #e3f5ed;
}

.admin-status-pill.is-disabled {
  color: #7e333a;
  background: #f9e9eb;
}

.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-table-action {
  min-height: 32px;
  padding: 0 9px;
  color: var(--auth-accent-dark);
  background: #eef6f3;
  font-size: 12px;
}

.admin-table-action.is-danger {
  color: var(--auth-danger);
  background: #fff0f1;
}

.admin-empty {
  margin: 0;
  padding: 40px;
  color: var(--auth-muted);
  text-align: center;
}

.admin-dialog {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--auth-ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(10, 37, 30, 0.25);
}

.admin-dialog::backdrop {
  background: rgba(12, 34, 29, 0.55);
  backdrop-filter: blur(4px);
}

.admin-user-form {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.admin-user-form > header,
.admin-user-form > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--auth-muted);
  background: var(--auth-soft);
  cursor: pointer;
  font-size: 24px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-user-form [hidden] {
  display: none !important;
}

.admin-form-grid label > span small {
  color: var(--auth-muted);
  font-weight: 400;
}

.admin-switch-row {
  display: flex !important;
  align-items: center;
  align-self: end;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  background: var(--auth-soft);
}

.admin-switch-row input {
  width: 18px;
  min-height: 18px;
}

.admin-user-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--auth-border);
  border-radius: 16px;
}

.admin-user-form legend {
  padding: 0 8px;
  font-weight: 900;
}

.admin-user-form fieldset > p {
  margin: 0 0 14px;
  color: var(--auth-muted);
  font-size: 13px;
}

.admin-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  cursor: pointer;
}

.admin-check-option:has(input:checked) {
  border-color: #75ad9c;
  background: #edf7f3;
}

.admin-check-option input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.admin-check-option span {
  display: grid;
  gap: 3px;
}

.admin-check-option small {
  color: var(--auth-muted);
}

.admin-store-options,
.admin-store-group {
  display: grid;
  gap: 12px;
}

.admin-store-group + .admin-store-group {
  margin-top: 18px;
}

.admin-store-group h4 {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 380px;
    padding: 34px;
  }

  .auth-trust-list {
    margin-top: 36px;
  }

  .admin-topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
  }

  .admin-nav {
    order: 3;
    width: 100%;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-filter-row {
    flex-wrap: wrap;
  }

  .admin-filter-row input {
    width: min(100%, 440px);
  }
}

@media (max-width: 620px) {
  .auth-page {
    padding: 12px;
  }

  .auth-layout {
    border-radius: 20px;
  }

  .auth-brand-panel,
  .auth-card {
    padding: 26px;
  }

  .auth-brand-copy h1 {
    font-size: 36px;
  }

  .auth-current-user,
  .admin-form-grid,
  .admin-check-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    width: min(100% - 24px, 1320px);
    padding-top: 28px;
  }

  .admin-page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topbar .auth-user-copy {
    display: none;
  }
}

@media (max-width: 1180px) {
  .auth-user-menu--sidebar {
    display: flex;
    width: auto;
    margin-top: 14px;
  }

  .auth-user-menu--sidebar .auth-user-actions {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .auth-user-menu--sidebar {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .auth-user-menu--sidebar .auth-user-actions {
    display: grid;
    margin-left: 0;
  }

  .auth-user-menu--topbar .auth-user-copy,
  .auth-user-menu--topbar .auth-manage-link {
    display: none;
  }
}

/* The runtime monitor normally injects these rules for legacy pages. Auth
   pages use a strict style-src 'self' policy, so their copy must be static. */
#ozon-runtime-status {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #9fd7bc;
  border-radius: 10px;
  background: rgba(238, 252, 245, 0.97);
  color: #08764f;
  box-shadow: 0 8px 24px rgba(25, 43, 70, 0.18);
  font: 600 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(8px);
}

#ozon-runtime-status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(8, 118, 79, 0.12);
}

#ozon-runtime-status[data-state="checking"] {
  border-color: #efd17a;
  background: rgba(255, 249, 224, 0.97);
  color: #946200;
}

#ozon-runtime-status[data-state="offline"] {
  top: 14px;
  bottom: auto;
  border-color: #ef9c9c;
  background: rgba(255, 238, 238, 0.98);
  color: #c22626;
  box-shadow: 0 10px 30px rgba(170, 28, 28, 0.24);
}

#ozon-runtime-status[data-state="offline"]::before {
  animation: ozon-runtime-pulse 1.2s ease-in-out infinite;
}

#ozon-runtime-status[data-state="updated"] {
  border-color: #7ab5ff;
  background: rgba(235, 245, 255, 0.98);
  color: #075fcb;
}

@keyframes ozon-runtime-pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}


.admin-password-dialog {
  width: min(520px, calc(100vw - 32px));
}

.admin-password-dialog label {
  display: grid;
  gap: 8px;
}

.admin-password-dialog input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  font-family: monospace;
  font-size: 18px;
}

/* The public login page exposes the registration without signing in. */
.auth-page.auth-page-with-footer {
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding-bottom: 12px;
}

.auth-page-with-footer .site-icp-footer {
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  color: #65736f;
}

.auth-page-with-footer .site-icp-footer a {
  color: inherit;
  text-decoration: none;
}

.auth-page-with-footer .site-icp-footer a:hover,
.auth-page-with-footer .site-icp-footer a:focus-visible {
  color: #176451;
  text-decoration: underline;
  text-underline-offset: 3px;
}
