* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fcfcf7;
  color: #173d32;
  font: 16px/1.6 system-ui;
}
main {
  max-width: 420px;
  margin: 5vh auto;
  padding: 24px;
}
a {
  color: inherit;
}
main > a:first-child {
  font-size: 24px;
  font-weight: 750;
  text-decoration: none;
}
.brand {
  display: block;
  width: 260px;
  max-width: 100%;
  padding: 10px 12px;
  background: #211625;
  border-radius: 12px;
}
.logo-crop {
  display: block;
  position: relative;
  aspect-ratio: 5.3;
  overflow: hidden;
}
.brand img {
  position: absolute;
  display: block;
  width: calc(125% - 10px);
  height: auto;
  max-width: none;
  left: calc(-12.5% + 1px);
  top: 50%;
  transform: translateY(-50%);
}
.logo-tagline {
  display: block;
  text-align: right;
  color: #a7adb4;
  font: 11px/1.3 system-ui;
  letter-spacing: 0.6px;
  padding-right: 8px;
}
.hint {
  font-size: 12px;
  color: #53695e;
  margin: 6px 0;
}
.account-link {
  text-align: center;
  margin-top: 24px;
}
.account-link a {
  font-weight: 650;
}
.eyebrow {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 2px;
}
h1 {
  font: 44px/1.1 Georgia;
  margin: 16px 0;
}
label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bac9b9;
  border-radius: 10px;
  font: inherit;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 8px 0;
  border-bottom: 1px solid #d9dfd5;
}
form button {
  margin-top: 18px;
}
button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 28px;
  color: #fcfcf7;
  background: #173d32;
  font: 600 16px system-ui;
  cursor: pointer;
}
[role="alert"] {
  color: #b42338;
  font-size: 14px;
}
.back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
}
.social-auth {
  margin: 24px 0;
}
.social-auth > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #53695e;
}
.social-auth #social-coming-soon {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg) scale(1.25);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  background: #fcfcf7;
  color: #bf3041;
  border: 2px solid #bf3041;
  padding: 4px 10px;
  border-radius: 5px;
  pointer-events: none;
}
.social-options {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.social-option {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 45px;
  padding: 7px 4px;
  border: 1px solid #cbd5c7;
  border-radius: 10px;
  background: #edf1e7;
  color: #53695e;
  font-size: 12px;
  cursor: not-allowed;
}
.social-option span {
  font-size: 18px;
  font-weight: 750;
}
.social-option:disabled {
  opacity: 0.75;
}
:focus-visible {
  outline: 3px solid #648653;
  outline-offset: 3px;
}

/* Public sign-in and registration pages use the website navigation and footer. */
.auth-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.auth-main {
  flex: 1;
  display: grid;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 64px;
  align-items: center;
}
.auth-image {
  position: relative;
  align-self: stretch;
  min-height: 360px;
  margin: 0;
  border-radius: 100px 100px 12px 12px;
  overflow: hidden;
  background: #173d32;
}
.auth-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}
.auth-image::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #092d25b8);
}
.auth-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: #fcfcf7;
  font: italic 26px/1.2 Georgia;
}
.auth-panel {
  min-width: 0;
}
.auth-panel .eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: #648653;
}
.auth-panel h1 {
  margin: 0 0 6px;
  font: 34px/1.1 Georgia;
}
.auth-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #53695e;
}
.auth-panel .social-auth {
  margin: 14px 0 16px;
}
.auth-panel .social-auth > p {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #53695e;
}
.auth-panel label {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.auth-panel label:first-of-type {
  margin-top: 0;
}
.auth-panel input {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.25;
}
.auth-panel form > button {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
}
.auth-panel [role="alert"] {
  margin: 8px 0 0;
  font-size: 13px;
}
.auth-panel [role="alert"]:empty {
  display: none;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 13px;
}
.auth-links .account-link {
  margin: 0;
}
.auth-links > a,
.auth-links .account-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 28px;
}
.auth-page .site-footer {
  margin-top: auto;
}
.auth-page .header button,
.auth-page .site-footer button {
  width: auto;
}
@media (min-width: 701px) and (max-height: 700px) {
  .auth-main {
    padding-block: 12px;
  }
  .auth-image {
    min-height: 0;
  }
  .auth-panel .eyebrow {
    display: none;
  }
  .auth-panel h1 {
    font-size: 32px;
  }
  .auth-panel .social-auth {
    margin-block: 8px 10px;
  }
  .auth-panel label {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
  }
  .auth-links {
    margin-top: 8px;
  }
  .auth-links > a,
  .auth-links .account-link {
    min-height: 24px;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .auth-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
  }
}
@media (max-width: 700px) {
  .auth-main {
    max-width: 420px;
    padding: 12px 24px;
  }
  .auth-layout {
    display: block;
  }
  .auth-image,
  .auth-panel .eyebrow {
    display: none;
  }
  .auth-panel h1 {
    font-size: 28px;
    margin-bottom: 4px;
  }
  .auth-description {
    font-size: 13px;
  }
  .auth-panel .social-auth {
    margin-block: 10px;
  }
  .auth-panel .social-auth > p {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .auth-panel label {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
  }
  .auth-links {
    margin-top: 8px;
  }
}

.social-options a.social-option {cursor:pointer;text-decoration:none;color:#173f33}
.social-options form {margin:0}
.social-options button.social-option {width:100%}
.social-options button.social-option:not(:disabled) {cursor:pointer}
.social-option:hover {background:#e2e9da}

.social-option .social-status {font-size:10px;font-weight:500;color:#6b756d}
.social-option:disabled:hover {background:#edf1e7}

.auth-divider {display:flex;align-items:center;gap:14px;margin:22px 0;color:#718076;font-size:11px;letter-spacing:.12em}
.auth-divider::before,.auth-divider::after {content:"";height:1px;flex:1;background:#d9e0d4}
.auth-divider span {flex:none}

/* Keep provider choices visible, with colour reserved for available sign-ins. */
.social-options .social-option{min-height:50px;padding:10px 8px;gap:9px}
.social-option .social-icon{flex:0 0 20px}
.social-option .social-copy{display:grid;gap:2px;text-align:left}
.social-option .social-title{font-size:12px;font-weight:600;line-height:1.3}
.social-options .social-google.social-enabled{background:#fff;color:#25362e;border-color:#bcc9bd;box-shadow:0 1px 2px #173d3210}
.social-options .social-google.social-enabled:hover{background:#f3f7ff;border-color:#4285f4}
.social-options .social-facebook.social-enabled{background:#1877f2;border-color:#1877f2;color:#fff}
.social-options .social-facebook.social-enabled:hover{background:#1165d3;border-color:#1165d3}
.social-options .social-option:disabled,.social-options .social-option:disabled:hover{background:#eef0ec;border-color:#d6dcd3;color:#747c75;opacity:1;cursor:not-allowed}
.social-option:disabled .social-icon{filter:grayscale(1);opacity:.65}
.social-option .social-status{font-size:10px;line-height:1.2;font-weight:400;color:inherit}
