/* Vue shell and routed UI additions. The reference page does not load this file. */
.navigation-content { display: flex; min-height: 100%; flex: 1; flex-direction: column; }
.navigation-content > .brand + .sidebar-nav { margin-top: 32px; }
.app-dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow-y: auto; border: 0; border-radius: 17px; color: var(--ink); background: var(--panel); box-shadow: var(--shadow); }
.app-dialog::backdrop, .app-mobile-nav::backdrop { background: rgba(0, 0, 0, .4); }
.app-dialog .modal-content { background: var(--panel); }
.app-dialog .modal-header { position: sticky; z-index: 1; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: var(--panel); }
.app-dialog .modal-title { min-width: 0; overflow-wrap: anywhere; }
.app-dialog .modal-header .btn-close { flex-shrink: 0; margin-inline-start: auto; }
.group-login-link-trigger { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-inline-start: 8px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--ink-muted, #6c757d); font-size: 14px; line-height: 1; vertical-align: middle; cursor: pointer; }
.group-login-link-trigger:hover:not(:disabled), .group-login-link-trigger:focus-visible { color: var(--brand); background: var(--brand-light); }
.group-login-link-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.group-login-link-trigger:disabled { opacity: .45; cursor: default; }
.app-mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 90vw); height: 100dvh; max-height: none; margin: 0; padding: 22px 18px; border: 0; color: var(--ink); background: var(--panel); }
.app-mobile-nav .navigation-content { min-height: calc(100% - 28px); }
.cadence-filter { width: auto; max-width: 170px; }
.report-menu { position: relative; }
.report-menu summary { cursor: pointer; list-style: none; }
.report-menu > div { position: absolute; z-index: 5; top: 24px; right: 0; min-width: 160px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.vue-app .report-main { color: inherit; }
.vue-app .sidebar-nav .nav-link[href] { /* Active state comes from Vue Router. */ text-decoration: none; }
.vue-app .access-target-row:focus-within { outline: 2px solid var(--brand); outline-offset: -2px; }
.settings-panel { max-width: 760px; padding: 24px; }
.settings-panel h2 { margin-bottom: 16px; font-size: 20px; }
.update-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: var(--brand-light); }
.vue-report-workspace { position: fixed; z-index: 1030; inset: 0; background: var(--paper); }
.vue-report-workspace .report-preview { display: flex; flex-direction: column; }
.vue-report-workspace .report-preview-layout { flex: 1; min-height: 0; }
.vue-report-workspace .paper-period strong { max-width: 220px; font-size: 18px; text-align: right; }
.viewing-report { overflow: hidden; }
.viewing-report .vue-app > .sidebar,
.viewing-report .topbar { display: none !important; }
.print-output { display: none; }
.report-mobile-controls { display: none; }
@media (max-width: 1199.98px) {
  .report-mobile-controls { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
  .report-mobile-controls > label { display: none; }
}
@media (max-width: 767.98px) {
  .report-mobile-controls > label { display: block; width: 100%; }
  .vue-report-workspace .preview-header { min-height: 72px; height: 72px; padding: 10px; }
  .vue-report-workspace .report-canvas { height: calc(100dvh - 72px); }
  .vue-app .report-tools { display: flex; flex-wrap: wrap; }
  .cadence-filter { max-width: 100%; }
  .vue-app .report-main { min-width: 0; }
}
@media print {
  @page { size: landscape; margin: 10mm; }
  body.viewing-report { overflow: visible; background: white; }
  body.viewing-report .sidebar, body.viewing-report .topbar, body.viewing-report .toast-container,
  body.viewing-report .update-banner, body.viewing-report .report-preview { display: none !important; }
  body.viewing-report .main-content, body.viewing-report .dashboard { margin: 0; padding: 0; max-width: none; }
  body.viewing-report .vue-report-workspace { position: static; }
  .print-output { display: block; }
  .print-output .report-paper { width: 100%; min-width: 0; min-height: 0; height: 180mm; aspect-ratio: auto; margin: 0; border: 0; box-shadow: none; break-after: page; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-output .report-paper:last-child { break-after: auto; }
}

.vue-app .report-panel { container-type: inline-size; }
@container (max-width: 740px) {
  .vue-app .report-row:not(.client-library-row) { grid-template-columns: minmax(0, 1fr) 65px 24px; gap: 10px; }
  .vue-app .report-row:not(.client-library-row) .report-client,
  .vue-app .report-row:not(.client-library-row) .updated-time { display: none; }
}
