/* VerumAocDossierHost — AOC-F3A. Every rule is scoped to .verum-aoc-dossier-host; no global style is changed.
   Layer 9350: above the application chrome, below the shared Review / Outcome (9400) and discard (9401) layers. */
.verum-aoc-dossier-host {
  position: fixed;
  inset: 0;
  z-index: 9350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2vh 2vw;
  background: rgba(2, 8, 23, .74);
  box-sizing: border-box;
}
.verum-aoc-dossier-host *, .verum-aoc-dossier-host *::before, .verum-aoc-dossier-host *::after { box-sizing: border-box; }
.verum-aoc-dossier-host .vadh-dialog {
  display: flex;
  flex-direction: column;
  width: min(1180px, 96vw);
  max-height: 92vh;
  background: #0a1630;
  color: #e2e8f0;
  border: 1px solid #1f4e8c;
  border-top: 3px solid #22d3ee;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}
.verum-aoc-dossier-host .vadh-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #0c1b38;
  border-bottom: 1px solid #1f4e8c;
}
.verum-aoc-dossier-host .vadh-title { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: .04em; color: #ffffff; }
.verum-aoc-dossier-host .vadh-close {
  padding: 6px 16px;
  border: 1px solid #22d3ee;
  border-radius: 6px;
  background: transparent;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}
.verum-aoc-dossier-host .vadh-close:hover { background: rgba(34, 211, 238, .14); }
.verum-aoc-dossier-host .vadh-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.verum-aoc-dossier-host .vadh-size {
  padding: 6px 14px;
  border: 1px solid #1f4e8c;
  border-radius: 6px;
  background: #0f2142;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}
.verum-aoc-dossier-host .vadh-size:hover { border-color: #22d3ee; }
.verum-aoc-dossier-host .vadh-size[aria-pressed="true"] { border-color: #22d3ee; color: #22d3ee; }
/* [AOC-F3B-UX4] print action (same visual weight as the view toggle) and print-only read time */
.verum-aoc-dossier-host .vadh-print {
  padding: 6px 14px;
  border: 1px solid #1f4e8c;
  border-radius: 6px;
  background: #0f2142;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}
.verum-aoc-dossier-host .vadh-print:hover { border-color: #22d3ee; }
.verum-aoc-dossier-host .vadh-print-meta { display: none; }
.verum-aoc-dossier-host .vadh-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 18px; }
.verum-aoc-dossier-host .vadh-unavailable { padding: 24px; text-align: center; border: 1px dashed #475569; border-radius: 8px; }
.verum-aoc-dossier-host .vadh-unavailable__title { margin: 0 0 6px; font-size: 17px; color: #ffffff; }
.verum-aoc-dossier-host .vadh-unavailable__text { margin: 0; color: #94a3b8; }
.verum-aoc-dossier-host button:focus-visible,
.verum-aoc-dossier-host [tabindex]:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }

@media (max-width: 720px) {
  .verum-aoc-dossier-host { padding: 4vh 0; }
  .verum-aoc-dossier-host .vadh-dialog { width: 100vw; max-height: 92vh; border-radius: 0; border-left: 0; border-right: 0; }
  .verum-aoc-dossier-host .vadh-head { flex-wrap: wrap; padding: 10px 12px; }
  .verum-aoc-dossier-host .vadh-body { padding: 10px 12px 14px; }
}

/* [AOC-F3B-UX2] Full screen: the dialog fills the browser window; no outer spacing or rounded outer corners.
   Declared after the narrow-screen rules and with higher specificity, so it applies at every width. */
.verum-aoc-dossier-host.verum-aoc-dossier-host--full { padding: 0; align-items: stretch; justify-content: stretch; }
.verum-aoc-dossier-host .vadh-dialog.vadh-dialog--full {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
}

/* [AOC-F3B-UX4] print: the dossier alone on a white page — no backdrop, no fixed layer, no host controls.
   Declared last so it applies in Normal view and Full screen, at every paper width. */
@media print {
  .verum-aoc-dossier-host, .verum-aoc-dossier-host.verum-aoc-dossier-host--full { position: static; inset: auto; z-index: auto; display: block; padding: 0; background: #fff; }
  .verum-aoc-dossier-host .vadh-dialog, .verum-aoc-dossier-host .vadh-dialog.vadh-dialog--full {
    display: block; width: auto; max-width: none; height: auto; max-height: none;
    background: #fff; color: #111827; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  }
  .verum-aoc-dossier-host .vadh-head { display: none; }
  .verum-aoc-dossier-host .vadh-print-meta { display: block; margin: 0 0 6px; font-size: 9pt; color: #374151; }
  .verum-aoc-dossier-host .vadh-body { overflow: visible; padding: 0; }
}
