/* Custom request: the form, and the conversation page */
.rq-wrap { max-width: 760px; margin: 0 auto; }
.rq-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .93rem; font-weight: 600; }
.rq-alert.error { background: #fde8f2; color: #9c0c5b; }
.rq-alert.success { background: #e5f6f1; color: #11705a; }
.rq-field-error { color: #9c0c5b; font-size: .85rem; font-weight: 600; }
.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rq-files input { padding: 10px; }
.rq-hint { color: var(--muted); font-size: .85rem; }

/* previews of the pictures chosen in the form */
.rq-previews { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rq-previews[hidden] { display: none; }
.rq-preview { position: relative; display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.rq-preview a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: repeating-conic-gradient(#fff 0 25%, #ececef 0 50%) 0 0 / 16px 16px; }
.rq-preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rq-preview-name { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq-preview-remove { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.rq-preview-remove:hover { background: var(--magenta); }
.rq-preview-remove:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

/* home page section: describe what you want */
.request-home { background: var(--bg-soft); }
.rh-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.rh-form { box-shadow: 0 14px 40px rgba(20, 22, 31, .08); }
.rh-form .form-field textarea { min-height: 120px; }
.rh-form .btn { width: 100%; }
@media (max-width: 860px) {
  .rh-grid { grid-template-columns: 1fr; gap: 28px; }
}
