/* The sign-in surface follows the final atelier theme and owns its motion. */
html.atelier-theme body .shell.workspace-shell .main[class]:has(.auth-refined) {
  max-width: 680px;
  padding-top: 28px;
  padding-bottom: 44px;
  background: transparent;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-refined {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  width: min(100%, 456px);
  min-height: 0;
  margin: 0 auto;
  padding-top: 0;
  color: var(--ink, #292b36);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-intro {
  padding: 0;
  text-align: center;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-back {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 34px;
  margin: 0 0 6px;
  padding: 5px 0;
  border-radius: 8px;
  color: var(--muted, #737580);
  font-size: 12px;
  line-height: 1.6;
  transition: color 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-back:hover {
  color: var(--accent, #973c59);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  max-width: 100%;
  min-height: 80px;
  margin: 0 auto 8px;
  background: transparent;
  animation: auth-refined-enter 420ms ease both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-art img {
  display: block;
  width: 120px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-art:hover img {
  transform: translateY(-3px) rotate(-2deg);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-brand {
  margin-bottom: 9px;
  color: var(--muted, #737580);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-intro h1 {
  margin: 0;
  color: var(--ink, #292b36);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  animation: auth-refined-enter 360ms 35ms ease both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-intro > p {
  margin: 9px 0 0;
  color: var(--muted, #737580);
  font-size: 13px;
  line-height: 1.8;
  animation: auth-refined-enter 360ms 75ms ease both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-surface {
  min-width: 0;
  padding: 29px 30px;
  border: 1px solid var(--line, #e9e6ec);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 46px #28203908, 0 2px 5px #28203903;
  animation: auth-refined-enter 420ms 110ms ease both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 0;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: var(--ink, #292b36);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink, #292b36);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field :is(input, select, .hb-select-trigger) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #e4e0e8;
  border-radius: 14px;
  background: #fcfbfd;
  color: var(--ink, #292b36);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  box-shadow: none;
  outline: none;
  transform: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field .hb-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field input::placeholder {
  color: #9b97a5;
  opacity: 1;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field input:disabled {
  color: #8a8592;
  background: #f5f3f7;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field > small {
  margin-top: 9px;
  color: var(--muted, #737580);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow :is(input, select, .hb-select-trigger):is(:focus, :focus-visible),
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow .auth-password-field:focus-within {
  border-color: #ba7f96;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px #973c590b;
  transform: none;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-field {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  min-width: 0;
  padding-right: 6px;
  border: 1px solid #e4e0e8;
  border-radius: 14px;
  background: #fcfbfd;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field .auth-password-field input,
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field .auth-password-field input:is(:focus, :focus-visible) {
  flex: 1;
  width: auto;
  height: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  outline: none;
  box-shadow: none !important;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-refined[data-auth-transition="update"] :is(.auth-flow-art,.auth-flow-intro h1,.auth-flow-intro > p,.auth-flow-surface) {
  animation: none;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field input[aria-invalid="true"],
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-field:has(input[aria-invalid="true"]) {
  border-color: #b66e85;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-field input[aria-invalid="true"] {
  border: 0;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #898492;
  box-shadow: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-toggle:hover {
  color: var(--accent, #973c59);
  background: #f5edf1;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-toggle:active {
  transform: scale(.94);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-guidance {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted, #737580);
  transition: color 200ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-guidance .icon {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  opacity: .3;
  transform: scale(.85);
  transition: opacity 200ms ease, transform 200ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-guidance.is-met {
  color: var(--blue, #486ba8);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-password-guidance.is-met .icon {
  opacity: 1;
  transform: scale(1);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-error {
  padding: 11px 13px;
  border: 1px solid #ead0da;
  border-radius: 12px;
  background: #fcf3f6;
  color: #903b56;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  animation: auth-refined-error 300ms ease both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-error:empty {
  display: none;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 2px 0 0;
  padding: 12px 18px;
  border: 1px solid var(--accent, #973c59);
  border-radius: 14px;
  background: var(--accent, #973c59);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
  box-shadow: 0 3px 7px #973c590d;
  cursor: pointer;
  transform: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit:not(:disabled):hover {
  border-color: var(--accent-dark, #783049);
  background: var(--accent-dark, #783049);
  color: #fff;
  box-shadow: 0 5px 14px #973c5920;
  transform: translateY(-1px);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit:not(:disabled):active {
  box-shadow: none;
  transform: translateY(0) scale(.99);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit .icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit:not(:disabled):hover .icon {
  transform: translateX(3px);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit:disabled {
  border-color: #d8bcc7;
  background: #d8bcc7;
  color: #fff;
  opacity: 1;
  cursor: wait;
  box-shadow: none;
  transform: none;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-submit:disabled .icon {
  animation: auth-spin 900ms linear infinite;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
  padding-top: 19px;
  border-top: 1px solid var(--line, #e9e6ec);
  color: var(--muted, #737580);
  font-size: 12px;
  line-height: 1.8;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-switch button {
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 8px;
  background: transparent;
  color: var(--accent, #973c59);
  font-size: 12px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-switch button:hover {
  color: var(--accent-dark, #783049);
  background: var(--soft, #f7eef2);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 25px;
  padding: 0;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li {
  gap: 7px;
  color: #a39da9;
  font-size: 11px;
  line-height: 1.7;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li:after {
  top: 14px;
  right: -4px;
  width: 11px;
  background: var(--line, #e9e6ec);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li > span {
  width: 28px;
  height: 28px;
  border: 1px solid #e7e2eb;
  background: #fcfbfd;
  color: #a39da9;
  font-size: 11px;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li > strong {
  font-size: 11px;
  font-weight: 400;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li.active {
  color: var(--accent, #973c59);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li.active > span {
  border-color: var(--accent, #973c59);
  background: var(--accent, #973c59);
  color: #fff;
  box-shadow: 0 0 0 3px #973c5908;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li.done {
  color: var(--blue, #486ba8);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li.done > span {
  border-color: #dde5f2;
  background: #eff3fb;
  color: var(--blue, #486ba8);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-actions .auth-submit {
  flex: 1;
  width: auto;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-back-step {
  min-height: 48px;
  padding: 11px 17px;
  border-color: var(--line, #e9e6ec);
  border-radius: 14px;
  background: #fff;
  color: var(--muted, #737580);
  font-size: 12px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-back-step:hover {
  border-color: #d7c4cc;
  background: #fbf6f8;
  color: var(--accent, #973c59);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-back-step:disabled {
  color: #b8aeb4;
  background: #fcfbfd;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-welcome-credit {
  gap: 10px;
  margin: 0;
  padding: 14px 0;
  border-color: var(--line, #e9e6ec);
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-welcome-credit > span {
  color: var(--muted, #737580);
  font-size: 11px;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-welcome-credit > strong {
  color: var(--blue, #486ba8);
  font-size: 18px;
  font-weight: 600;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-welcome-credit small {
  color: var(--muted, #737580);
  font-size: 10px;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-complete-mark {
  width: 54px;
  height: 54px;
  margin: 6px auto 21px;
  border: 1px solid #e8d4dd;
  border-radius: 18px;
  background: #f9eff3;
  color: var(--accent, #973c59);
  animation: auth-refined-ready 450ms 250ms cubic-bezier(.2,.9,.2,1.1) both;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-complete h2 {
  color: var(--ink, #292b36);
  font-size: 21px;
  line-height: 1.6;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-complete > p {
  margin: 10px 0 23px;
  color: var(--muted, #737580);
  font-size: 13px;
}
html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow :is(button, a):focus-visible {
  outline: 2px solid #ba7f96;
  outline-offset: 4px;
}
@keyframes auth-refined-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes auth-refined-error {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
}
@keyframes auth-refined-ready {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 700px) {
  html.atelier-theme body .shell.workspace-shell .main[class]:has(.auth-refined) {
    max-width: 520px;
    padding-top: 15px;
    padding-bottom: 30px;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-refined {
    gap: 20px;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-back {
    margin-bottom: 0;
    font-size: 11px;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-art,
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-art img {
    width: 108px;
    height: 72px;
    min-height: 72px;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-intro h1 {
    font-size: 25px;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-surface {
    padding: 25px 23px;
    border: 1px solid var(--line, #e9e6ec);
    border-radius: 22px;
    box-shadow: 0 8px 30px #28203906;
  }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-field :is(input, select, .hb-select-trigger) {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-flow-surface { padding: 22px 18px; }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps { gap: 9px; }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li { gap: 5px; }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-steps li > strong { font-size: 10px; }
  html.atelier-theme body .shell.workspace-shell .main[class] .auth-welcome-credit { flex-wrap: wrap; }
}
html.atelier-theme body.reduce-motion .auth-flow *,
html.atelier-theme body.reduce-motion .auth-flow *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html.atelier-theme body .auth-flow *,
  html.atelier-theme body .auth-flow *::after {
    animation: none !important;
    transition: none !important;
  }
}
