/* Native dropdown behaviour with consistent space for the shared chevron. */
:root {
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325343c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --select-arrow-size: 1rem;
  --select-arrow-inset: .75rem;
  --select-text-gap: .75rem;
}
:root[data-theme=dark] {
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffaf0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
:root select:not([multiple]):not([size]),
:root select[size="1"]:not([multiple]),
body :is(#editor,#letter-editor) .form-field select:not([multiple]):not([size]),
body :is(#editor,#letter-editor) .form-field select[size="1"]:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: calc(var(--select-arrow-inset) + var(--select-arrow-size) + var(--select-text-gap));
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-size: var(--select-arrow-size) var(--select-arrow-size);
  background-position: right var(--select-arrow-inset) center;
}
/* Let the system draw its own indicator in high-contrast modes. */
@media (forced-colors: active) {
  :root select:not([multiple]):not([size]),
  :root select[size="1"]:not([multiple]),
  body :is(#editor,#letter-editor) .form-field select:not([multiple]):not([size]),
  body :is(#editor,#letter-editor) .form-field select[size="1"]:not([multiple]) {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}

/* Keep batch feedback readable without pushing the file list out of view. */
.upload-results{padding:16px 20px;margin:0 0 20px;border:1px solid var(--line);background:var(--paper);overflow-wrap:anywhere}
.upload-results h2{font-size:20px;margin:0 0 8px}
.upload-results p{margin:8px 0;font-size:14px}
.upload-results ul{padding-left:20px;margin:8px 0;font-size:14px}
.upload-results button{margin-top:4px}

.cv-include-choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-right:24px}.cv-include-choice input{width:18px;height:18px;}
