.vca-view { --vca-border: #666; --vca-muted: #c0c0c0; --vca-soft: #181818; }
.vca-view [hidden], .vca-dialog [hidden], .vca-confirmation [hidden] { display: none !important; }
.vca-page-top { align-items: center; }
.vca-access { padding: 7px 11px; border: 1px solid var(--vca-border); border-radius: 6px; font-size: 12px; color: #ccc; white-space: nowrap; }
.vca-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--vca-border); margin: 0 0 26px; }
.vca-tabs > button { display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #bdbdbd; font: inherit; font-weight: 600; padding: 14px 0 17px; margin-bottom: -1px; cursor: pointer; }
.vca-tabs > button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.vca-count { min-width: 23px; padding: 2px 6px; background: #2a2a2a; border-radius: 5px; font-size: 11px; font-weight: 600; text-align: center; }
.vca-tabs > button[aria-selected="true"] .vca-count { color: #fff; background: #484848; }
.vca-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
.vca-filters { display: flex; align-items: center; gap: 14px; flex: 1; }
.vca-search { display: block; width: min(100%, 340px); }
.vca-search input { display: block; width: 100%; min-height: 42px; padding: 10px 13px; border: 1px solid var(--vca-border); border-radius: 7px; background: #0d0d0d; color: #fff; font: inherit; font-size: 13px; }
.vca-filter-label { display: flex; align-items: center; gap: 8px; color: #c0c0c0; font-size: 12px; white-space: nowrap; }
.vca-filter-label select { min-height: 42px; border: 1px solid var(--vca-border); border-radius: 7px; padding: 8px 25px 8px 10px; background: #0d0d0d; color: #eee; font: inherit; }
.vca-document-table, .vca-checklist-table { width: 100%; }
.vca-document-table { min-width: 700px; }
.vca-checklist-table { min-width: 940px; }
.vca-document-table th, .vca-checklist-table th { white-space: nowrap; }
.vca-document-table td:first-child { width: 42%; }
.vca-checklist-table td:first-child { min-width: 180px; }
.vca-row-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.vca-row-actions .button { font-size: 12px; min-height: 34px; padding: 7px 11px; }
.vca-file-open { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; padding: 0; cursor: pointer; }
.vca-file-open > span:last-child { overflow-wrap: anywhere; }
.vca-file-symbol { display: grid; place-items: center; width: 43px; height: 47px; flex-shrink: 0; border: 1px solid #666; border-radius: 5px; background: #141414; color: #ddd; font-size: 9px; letter-spacing: .3px; font-weight: 700; }
.vca-title-button { border: 0; background: transparent; color: #fff; padding: 3px 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.vca-title-button:hover, .vca-file-open:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.vca-delete { border: 0; padding: 5px 0; background: transparent; color: #c0c0c0; font: inherit; font-size: 12px; cursor: pointer; }
.vca-delete:hover:not(:disabled) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.vca-delete:disabled { opacity: .4; cursor: default; }
.vca-nowrap { white-space: nowrap; }
.vca-progress-label { white-space: nowrap; font-size: 12px; color: #ccc; }
.vca-status { display: inline-block; border: 1px solid #777; border-radius: 5px; padding: 4px 8px; background: #232323; color: #c0c0c0; font-size: 11px; font-weight: 600; white-space: nowrap; }
.vca-status-done { background: #e8e8e8; color: #111; border-color: #fff; }
.vca-empty { padding: 42px 24px; text-align: center; color: #c0c0c0; }
.vca-empty h2 { margin: 0 0 9px; font-size: 16px; font-weight: 600; color: #eee; }
.vca-empty p { margin: 0; font-size: 13px; line-height: 1.6; }
.vca-empty .button { margin-top: 18px; }
.vca-upload-zone { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 7px; padding: 29px 20px; margin-top: 22px; border: 1px dashed #777; border-radius: 9px; background: #141414; color: #c0c0c0; font: inherit; font-size: 13px; cursor: pointer; }
.vca-upload-zone strong { color: #eee; font-weight: 600; }
.vca-upload-zone small { font-size: 11px; color: #aaa; margin-top: 2px; }
.vca-upload-symbol { font-size: 24px; line-height: 1; color: #ccc; margin-bottom: 4px; }
.vca-upload-zone:hover:not(:disabled), .vca-upload-zone.vca-dragging { border-color: #fff; background: #242424; }
.vca-upload-zone:disabled { cursor: wait; opacity: .6; }
.vca-upload-progress { color: #ccc; font-size: 13px; overflow-wrap: anywhere; }
.vca-caption { margin: 15px 0 0; color: #b0b0b0; font-size: 12px; line-height: 1.6; }
.vca-dialog { width: min(800px, calc(100vw - 32px)); max-width: 800px; max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid #666; border-radius: 12px; color: #eee; background: #0d0d0d; overflow: auto; }
.vca-dialog::backdrop, .vca-confirmation::backdrop { background: rgb(0 0 0 / .45); }
.vca-dialog form { margin: 0; }
.vca-dialog .dialog-heading { align-items: flex-start; margin-bottom: 24px; }
.vca-dialog .dialog-heading h2 { margin: 5px 0 0; font-size: 23px; }
.vca-dialog-eyebrow { color: #bdbdbd; font-size: 10px; letter-spacing: 1.3px; font-weight: 600; }
.vca-dialog form > label, .vca-two-fields > label, .vca-control-row > label { display: flex; flex-direction: column; gap: 7px; margin: 0 0 17px; color: #ccc; font-size: 12px; font-weight: 600; }
.vca-dialog input:not([type="checkbox"]), .vca-dialog select, .vca-dialog textarea { box-sizing: border-box; display: block; width: 100%; max-width: 100%; border: 1px solid #777; border-radius: 6px; padding: 11px 12px; background: #0d0d0d; color: #eee; font: inherit; font-size: 13px; font-weight: 400; }
.vca-dialog textarea { resize: vertical; min-height: 66px; line-height: 1.55; }
.vca-dialog input:disabled:not([type="checkbox"]), .vca-dialog select:disabled, .vca-dialog textarea:disabled { background: #202020; color: #bdbdbd; }
.vca-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vca-controls-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 12px; }
.vca-controls-heading h3, .vca-read-notes h3 { margin: 0; font-size: 14px; font-weight: 600; }
.vca-muted { color: #aaa; font-size: 12px; font-weight: 400; }
.vca-control-list { display: flex; flex-direction: column; gap: 13px; }
.vca-control-row { border: 1px solid #555; background: #141414; border-radius: 8px; padding: 14px 16px; }
.vca-control-row > label:last-child { margin-bottom: 0; }
.vca-control-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vca-check-toggle { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; color: #ccc; font-size: 12px; font-weight: 500; }
.vca-check-toggle input, .vca-check-read input { width: 17px; height: 17px; min-height: 17px; margin: 0; accent-color: #fff; flex-shrink: 0; }
.vca-add-control { margin-top: 14px; }
.vca-add-control + .vca-caption { margin-top: 9px; margin-bottom: 23px; }
.vca-dialog-actions { padding-top: 16px; margin-top: 17px; border-top: 1px solid #555; }
.vca-error { font-size: 13px; line-height: 1.6; }
.vca-error:empty { display: none; }
.vca-read-summary { border: 1px solid #555; background: #141414; border-radius: 8px; padding: 18px; }
.vca-read-summary h3 { font-size: 18px; margin: 0 0 18px; overflow-wrap: anywhere; }
.vca-read-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 22px; margin: 0; }
.vca-read-summary dt { color: #aaa; font-size: 11px; margin-bottom: 5px; }
.vca-read-summary dd { margin: 0; font-size: 13px; color: #eee; overflow-wrap: anywhere; }
.vca-read-controls { gap: 0; border: 1px solid #555; border-radius: 8px; overflow: hidden; }
.vca-check-read { display: flex; align-items: flex-start; gap: 12px; padding: 17px; border-bottom: 1px solid #444; }
.vca-check-read:last-child { border-bottom: 0; }
.vca-check-read input { margin-top: 1px; }
.vca-check-read strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.vca-check-read p { font-size: 12px; color: #bdbdbd; margin: 7px 0 0; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.vca-read-notes { margin-top: 22px; }
.vca-read-notes p { margin: 9px 0 0; font-size: 13px; color: #c0c0c0; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.vca-confirmation { width: min(440px, calc(100vw - 32px)); padding: 27px; border: 1px solid #666; border-radius: 11px; }
.vca-delete-name { font-weight: 600; overflow-wrap: anywhere; }
.vca-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.vca-view button:focus-visible, .vca-dialog button:focus-visible, .vca-confirmation button:focus-visible, .vca-view input:focus-visible, .vca-view select:focus-visible, .vca-dialog input:focus-visible, .vca-dialog textarea:focus-visible, .vca-dialog select:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) {
  .vca-toolbar { align-items: stretch; flex-wrap: wrap; }
  .vca-toolbar > .vca-search { flex: 1; }
  .vca-filters { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .vca-tabs { gap: 19px; }
  .vca-tabs > button { font-size: 12px; align-items: flex-start; gap: 6px; }
  .vca-count { min-width: 19px; font-size: 10px; padding: 1px 4px; }
  .vca-toolbar { gap: 12px; }
  .vca-toolbar > .vca-search, .vca-filters, .vca-filters .vca-search { flex-basis: 100%; width: 100%; }
  .vca-toolbar > .button { width: 100%; justify-content: center; }
  .vca-dialog { padding: 20px; max-height: calc(100dvh - 24px); }
  .vca-dialog .dialog-heading h2 { font-size: 20px; }
  .vca-two-fields { grid-template-columns: 1fr; gap: 0; }
  .vca-control-row { padding: 13px; }
  .vca-read-summary dl { grid-template-columns: 1fr; }
  .vca-upload-zone { padding: 23px 14px; }
  .vca-upload-zone span, .vca-upload-zone strong { text-align: center; }
}
