@media screen {
  .auth-layout {
    --access-ink: #183d39;
    --access-primary: #0c6455;
    --access-muted: #51665f;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(24px, 4vw, 72px);
    padding: clamp(20px, 3vw, 48px);
    background: #f7f6ef;
    color: var(--access-ink);
  }
  .auth-layout .auth-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    align-items: center;
    justify-content: start;
    gap: 0 12px;
    padding: clamp(28px, 4.5vw, 76px);
    padding-bottom: clamp(140px, 23vh, 245px);
    border-radius: 26px;
    background: #17493f;
  }
  .auth-layout .auth-intro::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(126px, 21vh, 224px);
    z-index: -1;
    background: #d2cfb3 url("./assets/atelier-formia.webp") center 18% / cover no-repeat;
  }
  .auth-layout .brand-mark {
    display: grid;
    width: 37px;
    height: 37px;
    background: #c4e5bd;
    color: #1a4338;
    border-radius: 10px;
    box-shadow: none;
  }
  .auth-layout .auth-intro > strong {
    grid-column: 2;
    color: #fff;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: .035em;
  }
  .auth-layout .auth-intro > :is(h1, p, .auth-benefits) { grid-column: 1 / -1; }
  .auth-layout .auth-tag { display: none; }
  .auth-layout .auth-intro h1 {
    margin: clamp(34px, 6vh, 64px) 0 17px;
    color: #fffef6;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(40px, 4.15vw, 66px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.043em;
    text-wrap: balance;
  }
  .auth-layout .auth-intro > p {
    max-width: 43ch;
    margin: 0;
    color: #d9e7db;
    font-size: clamp(15px, 1.16vw, 18px);
    line-height: 1.62;
  }
  .auth-layout .auth-benefits {
    display: grid;
    gap: 11px;
    margin: 25px 0 22px;
    padding-top: 22px;
    border-top: 1px solid #638278;
  }
  .auth-layout .auth-benefits p {
    margin: 0;
    gap: 10px;
    color: #edf4ea;
    font-size: 14px;
    line-height: 1.45;
  }
  .auth-layout .auth-benefits svg { width: 18px; height: 18px; color: #c4e5bd; }
  .auth-layout .auth-card {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    padding: clamp(26px, 3vw, 50px);
    margin: auto;
    border: 1px solid #d8e1d8;
    border-radius: 22px;
    background: #fffefa;
    box-shadow: 0 12px 42px -23px #23433738;
  }
  .auth-layout .auth-card h2 {
    margin: 0;
    color: var(--access-ink);
    font-size: clamp(28px, 2.65vw, 42px);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: 1.12;
  }
  .auth-layout .auth-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
    padding-block: 4px;
    color: var(--access-primary);
    font-size: 14px;
    line-height: 1.5;
    text-underline-offset: 3px;
    touch-action: manipulation;
  }
  .auth-layout .auth-card > p {
    margin: 10px 0 0;
    color: var(--access-muted);
    font-size: 15px;
    line-height: 1.5;
  }
  .auth-layout .auth-card .auth-tabs {
    gap: 3px;
    margin: 24px 0 21px;
    padding: 4px;
    border-radius: 12px;
    background: #eaf0e7;
  }
  .auth-layout .auth-card .auth-tabs .button {
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #405b50;
    box-shadow: none;
    font-weight: 650;
  }
  .auth-layout .auth-card .auth-tabs .button[aria-current=page] {
    color: #173f33;
    border-color: #c9d7c9;
    background: #fffefa;
    box-shadow: 0 1px 3px #203b3021;
  }
  .auth-layout .auth-card .auth-tabs .button:hover { color: #0b5142; background: #f5f8f2; }
  .auth-layout .auth-card form { gap: 8px; }
  .auth-layout .auth-card form label { margin: 8px 0 0; color: var(--access-ink); font-size: 14px; }
  .auth-layout .auth-card input {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #97aaa0;
    border-radius: 9px;
    background: #fff;
    color: var(--access-ink);
  }
  .auth-layout .auth-card :is(small, .auth-footnote) { color: var(--access-muted); }
  .auth-layout .auth-card .auth-password-row { gap: 6px; }
  .auth-layout .auth-card .auth-visibility {
    padding-inline: 12px;
    color: #245a48;
    background: #edf3e9;
    border: 1px solid #c8d6c8;
    border-radius: 9px;
  }
  .auth-layout .auth-card form .button.primary {
    min-height: 49px;
    margin-top: 12px;
    border: 1px solid var(--access-primary);
    border-radius: 10px;
    background: var(--access-primary);
    color: #fff;
    box-shadow: none;
    font-size: 15px;
  }
  .auth-layout .auth-card form .button.primary:hover { background: #084f44; border-color: #084f44; }
  .auth-layout .auth-progress:empty { display: none; }
  .auth-layout .auth-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-top: 12px;
  }
  .auth-layout .auth-help-actions .auth-resend-link {
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #28614e;
    font-size: 13px;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: #98ada1;
    text-underline-offset: 3px;
  }
  .auth-layout .auth-card .auth-footnote {
    margin: 16px 0 0;
    color: var(--access-muted);
    font-size: 12px;
  }
  .auth-layout [data-confirmation-email] { overflow-wrap: anywhere; }
  .auth-layout .auth-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }
  .auth-layout .auth-confirm-actions .button { min-height: 46px; }
  .auth-layout .auth-confirm-actions .primary { background: var(--access-primary); color: #fff; }
  .auth-layout .auth-invitation {
    margin: 16px 0;
    padding: 14px 16px;
    background: #eaf3ea;
    color: var(--access-ink);
    border-radius: 10px;
  }
  .auth-layout .auth-invitation p { margin: 5px 0 0; line-height: 1.5; }
  .auth-layout .auth-invitation .auth-resend-link {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: var(--access-primary);
    background: transparent;
    border: 0;
    box-shadow: none;
    text-decoration: underline;
  }
  .auth-layout .formia-legal-links {
    justify-content: flex-start;
    gap: 0 15px;
    margin: 14px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #dce3d9;
  }
  .auth-layout .formia-legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #4e6759;
    text-underline-offset: 3px;
  }
  .auth-layout :is(button, a, input):focus-visible { outline: 3px solid #3b7964; outline-offset: 3px; }
}
@media screen and (max-width: 830px) {
  .auth-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 22px clamp(14px, 4.5vw, 32px) 32px;
  }
  .auth-layout .auth-intro {
    width: 100%;
    max-width: 510px;
    grid-template-columns: auto 1fr;
    gap: 0 9px;
    padding: 0 6px;
    border-radius: 0;
    background: transparent;
  }
  .auth-layout .auth-intro::after { content: none; }
  .auth-layout .brand-mark { width: 32px; height: 32px; background: #0c6455; color: white; }
  .auth-layout .auth-intro > strong { color: var(--access-ink); font-size: 17px; }
  .auth-layout .auth-intro > :is(h1, p, .auth-benefits) { display: none; }
  .auth-layout .auth-card { margin: 0; padding: 26px clamp(16px, 4.9vw, 32px) 20px; border-radius: 17px; }
  .auth-layout .auth-card .auth-tabs { margin: 20px 0 13px; }
  .auth-layout .auth-card .auth-footnote { margin-top: 12px; }
}
@media screen and (forced-colors: active) {
  .auth-layout .auth-card .auth-tabs [aria-current=page] { outline: 2px solid Highlight; }
}
