.manage-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, #f0dfd3 0, transparent 30%),
    radial-gradient(circle at 92% 78%, #e8dfce 0, transparent 28%),
    #f6f1e8;
}

.manage-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(4%, calc((100% - 1280px) / 2));
  border-bottom: 1px solid #d5cec2;
  background: #fbf8f2e8;
  backdrop-filter: blur(10px);
}

.manage-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #38251f;
  text-decoration: none;
}

.manage-brand img {
  display: block;
  width: min(174px, 42vw);
  height: auto;
}

.manage-brand__tag,
.manage-header__identity {
  color: #746b61;
  font: 9px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.manage-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.manage-header__home {
  color: #675c52;
  font-size: 11px;
}

.manage-header__home:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.manage-gate {
  width: min(1140px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.manage-gate__intro {
  position: relative;
  padding: 10px 0 42px;
}

.manage-gate__intro h1 {
  max-width: 580px;
  margin: 27px 0 22px;
  color: #38251f;
  font: 600 clamp(54px, 7vw, 88px) "Playfair Display", serif;
  letter-spacing: -.045em;
  line-height: .96;
}

.manage-gate__intro h1 em {
  color: #8d5d50;
  font-style: italic;
}

.manage-gate__intro > p:last-of-type {
  max-width: 430px;
  color: #554e48;
  font-size: 15px;
  line-height: 1.8;
}

.manage-gate__mark {
  display: block;
  margin-top: 40px;
  color: #9c5260;
  font-size: 40px;
}

.manage-login {
  position: relative;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid #d7cdbf;
  border-radius: 5px;
  background: #fcfaf6;
  box-shadow: 9px 9px 0 #e6ddd0;
}

.manage-login h2 {
  margin: 10px 0 12px;
  color: #38251f;
  font: 600 clamp(32px, 4vw, 43px) "Playfair Display", serif;
  letter-spacing: -.035em;
}

.manage-login__intro {
  margin: 0 0 25px;
  color: #655d55;
  font-size: 13px;
  line-height: 1.65;
}

.manage-label {
  display: block;
  margin: 18px 0 8px;
  color: #554e48;
  font: 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

.manage-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9afa2;
  border-radius: 3px;
  outline: none;
  background: #fffdfa;
  color: #24211e;
  font: 13px "DM Sans", sans-serif;
}

.manage-input:focus {
  border-color: #70463f;
  box-shadow: 0 0 0 3px #70463f1c;
}

.manage-input::placeholder {
  color: #9a9188;
}

.manage-login__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 4px;
  color: #9a9188;
  font: 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

.manage-login__divider::before,
.manage-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e1d9cf;
}

.manage-google {
  width: 100%;
  margin-top: 16px;
}

.manage-gate-message {
  min-height: 20px;
  margin: 15px 0 0;
  color: #496143;
  font-size: 12px;
  line-height: 1.5;
}

.manage-gate-message--error {
  color: #9c2f35;
}

.manage-login__note {
  margin: 22px 0 0;
  color: #8a8177;
  font-size: 10px;
  line-height: 1.6;
}

.manage-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.manage-overview__card {
  min-height: 118px;
  padding: 17px;
  border: 1px solid #d7cdbf;
  border-radius: 4px;
  background: #fcfaf6e8;
  box-shadow: 4px 4px 0 #e6ddd0;
}

.manage-overview__card span {
  display: block;
  color: #746b61;
  font: 9px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.manage-overview__card strong {
  display: block;
  margin-top: 13px;
  color: #38251f;
  font: 600 30px "Playfair Display", serif;
}

.manage-overview__card small {
  display: block;
  margin-top: 4px;
  color: #8a8177;
  font-size: 10px;
  line-height: 1.4;
}
.manage-overview__card--live {
  border-color: #b38326;
  box-shadow: 4px 4px 0 #ead9b8;
}

.admin-dashboard__topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 50px;
}

.admin-dashboard__title {
  margin: 27px 0 0;
  color: #38251f;
  font-size: clamp(50px, 7vw, 82px);
  line-height: .96;
}

.admin-dashboard__title em {
  color: #8d5d50;
}

@media (max-width: 900px) {
  .manage-gate {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0 60px;
  }

  .manage-gate__intro {
    padding-bottom: 0;
  }

  .manage-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard__topbar {
    align-items: start;
    margin-bottom: 35px;
  }
}

@media (max-width: 620px) {
  .manage-header {
    min-height: 68px;
    padding: 8px 18px;
  }

  .manage-header__right {
    gap: 9px;
  }

  .manage-header__identity {
    display: none;
  }

  .manage-header__home {
    font-size: 10px;
  }

  .manage-gate {
    width: min(100% - 32px, 520px);
  }

  .manage-gate__intro h1 {
    font-size: clamp(50px, 14vw, 70px);
  }

  .admin-dashboard__title {
    font-size: clamp(47px, 13vw, 68px);
  }

  .manage-login {
    padding: 24px 20px;
    box-shadow: 5px 5px 0 #e6ddd0;
  }

  .manage-overview {
    gap: 8px;
    margin-bottom: 24px;
  }

  .manage-overview__card {
    min-height: 104px;
    padding: 13px;
  }

  .manage-overview__card strong {
    font-size: 25px;
  }
}
