.input-request-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--subtle);
}
.input-request-copy {
  flex: 1;
  min-width: 0;
}
.input-request-copy strong {
  font-size: 13px;
  font-weight: 600;
}
.input-request-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.input-request-banner > button {
  flex-shrink: 0;
  min-height: 40px;
}
.input-request-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--foreground);
  background: var(--surface);
  box-shadow: 0 24px 80px #0003;
  overflow: auto;
  overscroll-behavior: contain;
}
.input-request-dialog::backdrop {
  background: #0006;
}
.input-request-form {
  display: block;
  padding: 24px;
}
.input-request-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.input-request-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
.input-request-heading .input-request-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--subtle);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}
.input-request-question {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.input-request-question > :first-child {
  margin-top: 0;
}
.input-request-question > :last-child {
  margin-bottom: 0;
}
.input-request-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.input-answer-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.input-request-fields textarea {
  width: 100%;
  min-height: 110px;
  max-height: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
}
.input-request-choices {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.input-request-choice {
  display: flex;
  gap: 12px;
  margin: 0;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--foreground);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.input-request-choice:has(input:checked) {
  border-color: var(--foreground);
  background: var(--subtle);
}
.input-request-choice input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.input-request-choice:has(input:focus-visible) {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
.input-request-error {
  margin: 12px 0 0;
  color: var(--destructive);
  font-size: 13px;
  line-height: 1.5;
}
.input-request-error:empty {
  display: none;
}
.input-request-status {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.input-request-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.input-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.input-request-footer button {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 10px;
  white-space: normal;
}
.input-request-fields .input-location {
  margin-top: 12px;
  min-height: 44px;
}
.input-approval-details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.input-approval-details summary {
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
}
.input-approval-details pre {
  max-height: 200px;
  overflow: auto;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .input-request-form {
    padding: 18px;
  }
  .input-request-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }
  .input-request-banner {
    padding: 10px 12px;
    gap: 10px;
  }
  .input-request-footer {
    align-items: stretch;
  }
  .input-request-footer > button {
    flex-shrink: 0;
  }
  .input-request-actions button {
    padding-inline: 12px;
  }
}
