:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #292824;
  background: #f4f1ea;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  width: min(100%, 1120px);
  min-height: 690px;
  overflow: hidden;
  border: 1px solid #e3dfd5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 48px #29282408;
}
.auth-form-pane {
  min-width: 0;
  padding: 48px 58px;
  align-self: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 48px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand > span > span {
  color: #a47813;
}
.eyebrow {
  margin: 0 0 12px;
  color: #777166;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 13px;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -1.1px;
}
p {
  color: #6e6b62;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
button,
input,
a.button {
  font: inherit;
  width: 100%;
  min-height: 46px;
  padding: 12px 15px;
  border: 1px solid #ddd9ce;
  border-radius: 9px;
  background: #fff;
  color: #292824;
  font-size: 14px;
}
button,
a.button {
  cursor: pointer;
  font-weight: 550;
  text-align: center;
  text-decoration: none;
  display: block;
}
button:hover:not(:disabled),
a.button:hover {
  background: #f7f5ef;
  border-color: #c9c3b5;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #8b691f;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: #fbd65d;
  border-color: #e2be4d;
  font-weight: 650;
}
.primary:hover:not(:disabled) {
  background: #f7cc45;
  border-color: #cfa92c;
}
.stack {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: #777166;
  font-size: 12px;
}
.divider:before,
.divider:after {
  content: '';
  height: 1px;
  background: #e8e4dc;
  flex: 1;
}
label {
  display: block;
  color: #45423b;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 10px;
}
form {
  margin: 0;
}
input {
  min-width: 0;
  margin-bottom: 10px;
}
input::placeholder {
  color: #777166;
}
small {
  display: block;
  color: #6e6b62;
  line-height: 1.6;
  font-size: 11px;
}
.status {
  font-size: 13px;
  min-height: 0;
  margin: 0;
}
.status:not(:empty) {
  margin-top: 20px;
  padding: 12px 14px;
  background: #f7f5ef;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
}
.error {
  color: #a03729;
}
.hidden,
[hidden] {
  display: none !important;
}
hr {
  border: 0;
  border-top: 1px solid #e8e4dc;
  margin: 26px 0;
}
.row {
  padding: 14px 0;
  border-bottom: 1px solid #eeeae2;
  display: grid;
  gap: 8px;
}
.row button {
  width: auto;
  font-size: 13px;
  padding: 8px 12px;
}
h2 {
  font-size: 18px;
}
a {
  color: #766020;
}
footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e8e4dc;
}
#profile {
  display: block;
  width: min(100%, 600px);
  min-height: 0;
}
.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  min-width: 0;
  padding: 54px 44px;
  background: #f6f2e7;
  border-left: 1px solid #eee9de;
}
.auth-page-art {
  position: relative;
  height: 330px;
  width: min(100%, 350px);
  margin: 0 auto;
  pointer-events: none;
}
.auth-art-orbit {
  position: absolute;
  width: 290px;
  height: 290px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f6e9b9;
}
.auth-art-sheet {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 226px;
  height: 274px;
  border: 1px solid #d9d3c5;
  border-radius: 11px;
  transform: translateX(-50%);
}
.auth-art-sheet--back {
  background: #e5dcc4;
  transform: translateX(-50%) rotate(-10deg);
}
.auth-art-sheet--middle {
  background: #fffaf0;
  transform: translateX(-50%) rotate(6deg);
}
.auth-art-sheet--front {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 23px;
  background: #fff;
  box-shadow: 0 8px 24px #5c4d3010;
}
.auth-art-sheet img {
  width: 31px;
  height: 31px;
  margin-bottom: 13px;
}
.auth-art-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.auth-art-line {
  width: 68%;
  height: 5px;
  margin-bottom: 7px;
  border-radius: 4px;
  background: #e5e2dc;
}
.auth-art-line--long {
  width: 94%;
}
.auth-art-rule {
  width: 100%;
  height: 1px;
  margin: 8px 0 13px;
  background: #eeeae2;
}
.auth-art-label {
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 650;
}
.auth-art-line + .auth-art-label {
  margin-top: 11px;
}
.auth-art-highlight {
  width: 86%;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: #fbd65d;
}
.auth-art-note {
  position: absolute;
  bottom: 11px;
  right: 0;
  padding: 11px 16px;
  border: 1px solid #ddc46d;
  border-radius: 7px;
  background: #fbe9a1;
  color: #514620;
  font-size: 12px;
  font-weight: 550;
  transform: rotate(-4deg);
}
.auth-story-copy {
  max-width: 320px;
  margin: 0 auto;
}
.auth-story h2 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.auth-story p {
  margin: 0;
}

@media (max-width: 940px) {
  body {
    padding: 24px;
  }
  .auth-form-pane {
    padding: 38px;
  }
  .auth-story {
    padding: 40px 24px;
  }
  .auth-story h2 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  body {
    padding: 24px 16px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
    min-height: 0;
  }
  .auth-story {
    display: none;
  }
  .auth-form-pane {
    padding: 38px;
  }
  .brand {
    margin-bottom: 34px;
  }
}
@media (max-width: 420px) {
  body {
    padding: 12px;
  }
  .auth-form-pane {
    padding: 28px 22px;
  }
  .auth-shell {
    border-radius: 13px;
  }
}
@media (min-width: 761px) and (max-height: 820px) {
  body {
    padding: 20px;
  }
  .auth-shell {
    min-height: 620px;
  }
  .auth-form-pane {
    padding-block: 30px;
  }
  .brand {
    margin-bottom: 30px;
  }
  .auth-story {
    gap: 20px;
    padding-block: 30px;
  }
}
