.custom-request-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.custom-request-intro {
  margin-bottom: 24px;
}

.custom-request-intro h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 6vw, 54px);
}

.custom-request-intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.custom-request-form {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.custom-request-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.custom-request-form legend,
.custom-request-form label > span {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 850;
}

.request-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.request-type-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.request-type-options label > span {
  margin: 0;
}

.request-type-options input {
  accent-color: var(--pink);
}

.custom-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.custom-request-grid input,
.custom-request-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

.custom-request-grid input {
  min-height: 48px;
  padding: 0 13px;
}

.custom-request-grid textarea {
  min-height: 150px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.custom-request-grid input:focus,
.custom-request-grid textarea:focus {
  outline: 3px solid rgba(247, 37, 117, 0.14);
  border-color: var(--pink);
}

.custom-request-span-2 {
  grid-column: 1 / -1;
}

.custom-request-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.custom-request-status {
  padding: 13px;
  border: 1px solid #b7dfc0;
  border-radius: 8px;
  color: #166534;
  background: #f0fdf4;
  line-height: 1.5;
}

.custom-request-status a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .custom-request-page .topbar {
    min-height: 72px;
    padding: 0 16px;
  }

  .custom-request-page .brand {
    min-width: 0;
  }

  .custom-request-page .brand-logo {
    width: 122px;
  }

  .custom-request-page .nav {
    display: none;
  }

  .custom-request-shell {
    padding-top: 32px;
  }

  .custom-request-form {
    padding: 18px;
  }

  .custom-request-grid,
  .request-type-options {
    grid-template-columns: 1fr;
  }

  .custom-request-span-2 {
    grid-column: auto;
  }
}
