
.audit-request { max-width: 900px; margin: auto; }
.audit-request fieldset { border: 1px solid #d5dfdb; padding: 20px; margin: 20px 0; border-radius: 8px; min-width: 0; }
.audit-request legend { font-weight: 600; padding: 0 8px; }
.audit-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.audit-field input, .audit-field select, .audit-field textarea, .audit-request section>select {
  box-sizing: border-box; width: 100%; padding: 10px; background: white; color: #20352c;
  border: 1px solid #b9cac2; border-radius: 5px; font: inherit; min-width: 0;
}
.audit-field input[type=checkbox] { width: 24px; height: 24px; }
.audit-field select[multiple] { min-height: 130px; }
.audit-request button { border: 1px solid #11513f; background: #fff; color: #11513f;
  padding: 10px 14px; border-radius: 5px; font: inherit; cursor: pointer; min-height: 42px; }
.audit-request button:disabled { opacity: .5; cursor: default; }
.audit-request button:focus-visible, .audit-request input:focus-visible,
.audit-request select:focus-visible, .audit-request textarea:focus-visible { outline: 2px solid #11513f; outline-offset: 2px; }
.audit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
#audit-next { background: #11513f; color: white; }
#audit-progress { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }
#audit-progress button { font-size: 13px; }
#audit-progress [aria-current=step] { background: #e5eee9; font-weight: 700; }
#audit-errors { white-space: pre-line; color: #a20f1d; margin: 12px 0; }
.audit-quantity { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.audit-repeat { border-left: 3px solid #11513f; padding: 10px 14px; margin: 18px 0; }
.audit-request dt { font-weight: 600; margin-top: 12px; }
.audit-request dd { margin: 3px 0; overflow-wrap: anywhere; }
#audit-result button, #audit-result a { display: inline-block; margin: 10px; }
@media(max-width: 600px) {
  .audit-request fieldset { padding: 12px; }
  .audit-quantity { grid-template-columns: 1fr; }
  .audit-repeat { padding: 8px; }
}
.audit-request .audit-choice-field { border: 0; padding: 0; margin: 0 0 20px; }
.audit-request .audit-choice-field legend { padding: 0; margin-bottom: 10px; font-weight: 400; }
.audit-choices { display: grid; gap: 8px; }
.audit-choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid #b9cac2; border-radius: 6px; cursor: pointer; background: #fff; }
.audit-choice:hover { border-color: #11513f; background: #f5f8f6; }
.audit-choice:has(input:checked) { border-color: #11513f; background: #eaf2ed; }
.audit-field .audit-choice input[type=checkbox] { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: #11513f; }
.audit-choice span { line-height: 1.5; }
.audit-documents { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d5dfdb; }
.audit-documents h2 { margin: 0 0 20px; }
.audit-file-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; position: relative; }
.audit-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.audit-file-button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; min-height: 44px; box-sizing: border-box; border-radius: 6px; border: 1px solid #11513f; background: #11513f; color: #fff; cursor: pointer; font: inherit; }
.audit-file-button:hover { background: #0b3d2f; }
.audit-file-input:focus-visible + .audit-file-button { outline: 2px solid #11513f; outline-offset: 3px; }
.audit-file-picker span, .audit-file-hint { color: #617269; font-size: 14px; line-height: 1.6; }
.audit-documents .audit-file-hint { margin: 14px 0 24px; }
.audit-document-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 16px 0; border-top: 1px solid #d5dfdb; }
.audit-document-row a { overflow-wrap: anywhere; min-width: 0; }
.audit-repeat > button + button { margin-left: 10px; }
@media(max-width: 600px) {
  .audit-file-picker { align-items: stretch; flex-direction: column; }
  .audit-file-button { width: 100%; }
  .audit-choice { padding: 11px 12px; }
}
.audit-request .audit-link-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; margin: 20px 0; padding: 12px 20px; border: 1px solid #11513f; border-radius: 6px; background: #11513f; color: #fff; font: inherit; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.audit-request .audit-link-button:hover { background: #0b3d2f; }
.audit-request .audit-link-button:focus-visible { outline: 2px solid #11513f; outline-offset: 3px; }
.audit-request .audit-link-button-red { border-color: #c51f2b; background: #c51f2b; }
.audit-request .audit-link-button-red:hover { background: #a71924; }
.audit-request .audit-link-button-red:focus-visible { outline-color: #c51f2b; }
.audit-consent { margin: 8px 0 28px; padding: 18px 20px; border: 1px solid #d5dfdb; border-radius: 8px; }
.audit-consent summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.audit-consent p { margin: 18px 0; line-height: 1.7; }
.audit-request .audit-consent .audit-link-button { margin: 4px 0 0; }
@media(max-width: 600px) {
  .audit-request .audit-link-button { width: 100%; padding: 12px 14px; }
  .audit-consent { padding: 16px 12px; }
}
.audit-template { margin: 0 0 24px; padding: 18px 20px; border: 1px solid #d5dfdb; border-radius: 8px; background: #f5f8f6; }
.audit-request .audit-template .audit-link-button { margin: 0; }
.audit-template p { margin: 12px 0 0; color: #617269; font-size: 14px; line-height: 1.6; }
