:root {
  color-scheme: light;
  font-family:
    'Noto Sans',
    'Noto Sans SC',
    'Noto Sans JP',
    system-ui,
    -apple-system,
    sans-serif;
  color: #333;
  background: #fafafa;
  font-synthesis: none;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
fieldset[data-email-password] {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
body {
  margin: 0;
}
body.standalone {
  padding: clamp(1rem, 5vw, 3.5rem) 1rem;
}
.sso-shell {
  width: min(100%, 29rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 2rem);
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 1.25rem;
  box-shadow: 0 12px 38px #34343408;
}
.sso-shell.wide {
  width: min(100%, 48rem);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 750;
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
  letter-spacing: -0.025em;
}
.brand-mark {
  display: grid;
  place-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: #ff5579;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.page-heading {
  margin-bottom: 1.5rem;
}
.page-heading .subtle {
  margin-top: 0.65rem;
}
.subtle,
.caption {
  color: #676767;
}
.subtle {
  font-size: 0.94rem;
}
.caption {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 0.35rem;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a72b49;
  margin-bottom: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
}
label {
  font-size: 0.85rem;
  font-weight: 650;
  margin-top: 0.15rem;
}
input:not([type='hidden']),
select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d5d5d5;
  border-radius: 0.6rem;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s;
}
input:focus,
select:focus {
  border-color: #cb3657;
  outline: 3px solid #ff55792b;
  outline-offset: 1px;
}
input::placeholder {
  color: #7c7c7c;
}
input[type='password'] {
  letter-spacing: 0.06em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.primary {
  background: #ff5579;
  color: #48121d;
}
.primary:hover {
  background: #ff6b8a;
}
.secondary {
  background: #fff;
  border-color: #dcdcdc;
  color: #444;
}
.secondary:hover {
  background: #f7f7f7;
}
.danger {
  color: #b52346;
  border-color: #e9c6d0;
  background: #fff;
}
.danger:hover {
  background: #fff3f6;
}
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #4aa6ca;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a {
  color: #aa2c4c;
  text-underline-offset: 3px;
}
.notice {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: #f2f8fb;
  color: #355567;
  font-size: 0.9rem;
  margin: 1rem 0;
  overflow-wrap: anywhere;
}
.notice.error {
  background: #fff0f3;
  color: #9d2042;
}
.notice[hidden] {
  display: none;
}
.alternative-links {
  display: grid;
  gap: 0.5rem;
}
.scope-list {
  padding-left: 1.3rem;
  margin: 1rem 0 1.5rem;
}
.scope-list li {
  padding: 0.25rem 0;
}
.security-section {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.action-row form {
  margin: 0.75rem 0;
}
.status-label {
  font-size: 0.9rem;
  font-weight: 600;
}
.record-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}
.record-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f1f1f1;
  overflow-wrap: anywhere;
}
.record-list li:last-child {
  border-bottom: 0;
}
.record-list strong {
  font-size: 0.9rem;
}
.record-list form {
  flex: none;
  margin: 0;
}
.record-list .button {
  font-size: 0.8rem;
  padding: 0.5rem 0.7rem;
  min-height: 2.5rem;
}
.empty {
  color: #777;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}
.authenticator-qr {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}
.secret {
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  background: #f6f6f6;
  padding: 0.8rem;
  margin-top: 0.5rem;
}
details {
  margin: 1rem 0;
}
summary {
  font-size: 0.9rem;
  cursor: pointer;
}
.recovery-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  list-style: none;
  padding: 1rem;
  background: #f8f8f8;
  border-radius: 0.7rem;
}
.recovery-codes code {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
footer {
  font-size: 0.72rem;
  color: #777;
  margin-top: 1.7rem;
  text-align: center;
}
.embedded {
  background: #fff;
}
.embedded .sso-shell {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0.4rem 0.5rem;
}
.embedded .brand {
  margin-bottom: 1.2rem;
}
.embedded footer {
  margin-top: 1rem;
}
@media (max-width: 420px) {
  body.standalone {
    padding: 0.7rem;
  }
  .sso-shell {
    padding: 1.2rem;
  }
  .record-list li {
    align-items: flex-start;
  }
  .record-list .button {
    max-width: 8rem;
  }
  .recovery-codes {
    grid-template-columns: 1fr;
  }
  .embedded .sso-shell {
    padding: 0.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.journey-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  margin-top: 1.1rem;
}
.captcha {
  align-self: center;
  max-width: 100%;
}
.merge-choice {
  font-weight: 400;
  line-height: 1.6;
}
.merge-choice input[type='checkbox'] {
  width: 1.1rem;
  min-height: 1.1rem;
  margin: 0 0.3rem 0 0;
  vertical-align: middle;
  accent-color: #c72f51;
}
