/* Authentication is intentionally separate from the dense operations workspace. */
.auth-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  background: #fff;
  color: #192c48;
  word-break: keep-all;
}
.auth-brand {
  background: #f1f4ff;
  display: flex;
  flex-direction: column;
  padding: 42px clamp(32px, 5vw, 80px) 28px;
  overflow: hidden;
}
.auth-logo {
  width: 174px;
  height: 38px;
  object-fit: contain;
  object-position: left;
}
.auth-brand-story {
  margin: auto;
  padding-top: 54px;
  width: min(100%, 460px);
}
.auth-eyebrow {
  margin: 0 0 16px;
  color: #4a61a2;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.auth-brand h2 {
  margin: 0;
  font-size: clamp(29px, 2.8vw, 40px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.38;
}
.auth-brand-copy {
  margin: 20px 0 0;
  color: #53647e;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -0.02em;
}
.auth-illustration {
  display: block;
  width: min(100%, 348px);
  height: auto;
  margin: 8px auto 6px;
  mix-blend-mode: multiply;
}
.auth-brand-footer {
  margin: auto 0 0;
  padding-top: 18px;
  color: #617095;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.auth-panel {
  position: relative;
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}
.auth-content {
  width: 100%;
  max-width: 390px;
}
.auth-content h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 730;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.auth-description {
  margin: 14px 0 30px;
  color: #586881;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}
.auth-providers {
  display: grid;
  gap: 12px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #8a96a9;
  font-size: 11px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e3e8f1;
}
.auth-provider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  min-height: 52px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  transition: box-shadow 0.15s;
  padding: 0 20px;
}
.auth-provider:hover {
  box-shadow: 0 2px 7px #16294b1a;
}
.auth-provider:focus-visible,
.auth-page a:focus-visible,
.auth-page summary:focus-visible {
  outline: 3px solid #3454f5;
  outline-offset: 4px;
}
.auth-kakao,
.auth-kakao:disabled {
  background: #fee500;
  border: 1px solid #fee500;
  color: #191919;
}
.auth-provider.auth-google {
  background: white;
  border: 1px solid #747775;
  color: #1f1f1f;
}
.auth-google > img {
  position: absolute;
  left: 20px;
  object-fit: contain;
}
.auth-kakao-label {
  width: 300px;
  max-width: 100%;
  height: 45px;
  object-fit: contain;
}
.auth-provider:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}
.auth-provider small {
  position: absolute;
  right: 10px;
  font-size: 10px;
}
.auth-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
  font-size: 14px;
  color: #65738b;
}
.auth-switch a {
  color: #3155e7;
  font-weight: 700;
  text-decoration: none;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.auth-guidance {
  border-top: 1px solid #e6eaf2;
  margin-top: 30px;
  padding-top: 22px;
  font-size: 12px;
  line-height: 1.75;
  color: #68758b;
  text-align: center;
}
.auth-guidance p {
  margin: 0 0 5px;
}
.auth-footer {
  position: absolute;
  bottom: 28px;
  font-size: 11px;
  color: #69768d;
}
.auth-steps {
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #6b768a;
}
.auth-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-steps span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef1f7;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.auth-steps [aria-current] {
  color: #3155e7;
  font-weight: 700;
}
.auth-steps [aria-current] span {
  background: #3155e7;
  color: white;
}
.auth-page label {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-size: 13px;
  font-weight: 650;
}
.auth-page input,
.auth-page textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bcc8db;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  color: #192c48;
  font-size: 15px;
}
.auth-page textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.6;
}
.auth-page input:focus,
.auth-page textarea:focus {
  outline: 2px solid #3454f5;
  outline-offset: 2px;
}
.auth-page form > button,
.auth-wide {
  width: 100%;
  min-height: 46px;
}
.auth-page details {
  margin: 22px 0;
  font-size: 13px;
  color: #53647e;
}
.auth-page summary {
  cursor: pointer;
  padding: 6px 0;
}
.auth-page .auth-local {
  margin: 0;
  border: 1px solid #c5cede;
  border-radius: 12px;
  background: #fff;
  color: #192c48;
}
.auth-page .auth-local > summary {
  min-height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}
.auth-page .auth-local > summary::-webkit-details-marker {
  display: none;
}
.auth-local-icon {
  color: #3155e7;
  width: 20px;
  height: 20px;
}
.auth-local-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-page .auth-local[open] > summary {
  border-bottom: 1px solid #e3e8f1;
}
.auth-page .auth-local form {
  padding: 4px 18px 18px;
}
.auth-page .auth-local label {
  margin: 14px 0;
}
.auth-page .auth-local form > button {
  margin-top: 4px;
}
.auth-field-hint {
  margin: 4px 0 12px;
  color: #68758b;
  font-size: 12px;
  line-height: 1.6;
}
.auth-page .access-pending {
  background: #f6f8fe;
  border: 0;
  border-left: 3px solid #3454f5;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.6;
}
.auth-page .access-pending p {
  color: #53647e;
  white-space: pre-wrap;
}
.auth-page .access-pending small {
  color: #68758b;
  font-size: 11px;
}
.auth-page .access-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-page .access-actions button {
  min-height: 44px;
  font-size: 13px;
}
.auth-notice {
  background: #f4f6fb;
  padding: 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #53647e;
}
.auth-error,
.auth-page .ops-form-message {
  color: #ab2d44;
  font-size: 13px;
  line-height: 1.65;
}
.auth-page .ops-form-message:empty {
  display: none;
}
.auth-setup {
  border-top: 1px solid #e6eaf2;
  padding-top: 14px;
}
@media (min-width: 1600px) {
  .auth-brand {
    padding-left: max(80px, calc((100vw - 1320px) / 2));
  }
  .auth-panel {
    padding-right: max(80px, calc((100vw - 1320px) / 2));
  }
}
@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
  .auth-brand {
    padding: 32px;
  }
  .auth-panel {
    padding: 56px 28px 72px;
  }
  .auth-brand h2 {
    font-size: 29px;
  }
}
@media (max-width: 680px) {
  .auth-page {
    display: flex;
    flex-direction: column;
  }
  .auth-brand {
    padding: 22px 24px 12px;
    background: white;
  }
  .auth-logo {
    width: 145px;
    height: 32px;
  }
  .auth-brand-story,
  .auth-brand-footer {
    display: none;
  }
  .auth-panel {
    flex: 1;
    padding: 38px 24px 70px;
    justify-content: flex-start;
  }
  .auth-content {
    max-width: 380px;
  }
  .auth-content h1 {
    font-size: 26px;
  }
  .auth-footer {
    bottom: 22px;
  }
}
@media (max-width: 360px) {
  .auth-brand {
    padding-inline: 20px;
  }
  .auth-panel {
    padding-inline: 20px;
  }
  .auth-steps {
    font-size: 11px;
    gap: 4px;
  }
  .auth-steps li {
    gap: 4px;
  }
  .auth-switch {
    font-size: 13px;
  }
}
/* Keep global timetable <main> spacing out of the authentication layout. */
main.auth-page {
  padding: 0;
  max-width: none;
  margin: 0;
}
.auth-logo {
  width: 240px;
  height: 41px;
}
.auth-illustration {
  mix-blend-mode: normal;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.auth-kakao {
  padding-inline: 0;
}
@media (max-width: 680px) {
  .auth-logo {
    width: 205px;
    height: 35px;
  }
}
