.request-page {
  min-height: 100vh;
  background: linear-gradient(122deg, #f2e3cc, #e5caa9);
}
.request-page [aria-current="page"] { background: #e2e8d0; border-color: #7b8564; font-weight: 700; }
.request-content {
  width: min(calc(100% - 32px), 900px);
  margin-inline: auto;
  padding-block: clamp(24px, 4vw, 50px) 48px;
}
.request-content .desk-ribbon { margin-bottom: 20px; }
.request-jumps { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-bottom: 12px; }
.request-jumps a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.request-paper {
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid #b99773;
  border-radius: 14px;
  background: #fff7eb;
  box-shadow: 0 5px 0 #d8b995, 0 8px 18px #52321916;
}
.request-paper + .request-paper { margin-top: 20px; }
.request-paper h2 { font-size: 1.3rem; }
.request-paper h3 { margin-top: 18px; font-size: 1rem; }
.request-timing {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px solid #b99773;
  border-radius: 6px;
  background: #f5e4ca;
  font-size: .78rem;
  font-weight: 700;
}
.request-note { margin-top: 8px; font-size: .86rem; }
.request-example { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 12px; font-size: .85rem; }
.request-example caption { padding-bottom: 6px; text-align: start; color: #5c4736; }
.request-example th, .request-example td {
  padding: 8px 10px;
  border: 1px solid #d9c2aa;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.request-example thead { background: #f2e3cc; }
.request-example thead th:first-child { width: 40%; }
.request-example tbody th { background: #fbf0df; }
#request-instructions { margin-top: 5px; color: #5c4736; font-size: .86rem; }
.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
  margin-top: 18px;
}
.request-wide { grid-column: 1 / -1; }
.request-fields label, .request-readonly { display: grid; gap: 4px; min-width: 0; font-size: .86rem; font-weight: 700; align-content: start; }
.request-fields small { color: #5c4736; font-weight: 400; }
.request-readonly output { color: #425432; }
.request-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: 8px;
  margin: 16px 0 10px;
}
.request-metrics div { padding: 9px 11px; border-radius: 7px; background: #ede8d5; }
.request-metrics dt { font-size: .75rem; }
.request-metrics dd { margin: 2px 0 0; font-weight: 700; }
.request-fields input, .request-fields select, .request-fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #a68a70;
  border-radius: 6px;
  background: #fffdf8;
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.request-fields textarea { resize: vertical; }
.request-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; margin-top: 16px; }
.request-actions button[type="submit"] { background: #e2e8d0; border-color: #7b8564; font-weight: 700; }
#preview-status { font-size: .84rem; }
@media (max-width: 600px) {
  .request-fields { grid-template-columns: minmax(0, 1fr); }
}
