/* Rebalance the submission workspace toward the uploaded documents.
   Desktop only: preserve the locked logo, navigation labels, rounded card shapes,
   validation controls, responsive behavior, focus mode, and original document scale. */
@media (min-width: 1101px) {
  body:not(.ciq-focus-mode) .app-layout {
    grid-template-columns: 188px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body:not(.ciq-focus-mode) .sidebar {
    width: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 18px !important;
  }

  body:not(.ciq-focus-mode) .brand-block {
    width: 100% !important;
  }

  body:not(.ciq-focus-mode) .side-nav {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body:not(.ciq-focus-mode) .side-nav a {
    padding-left: 9px !important;
    padding-right: 9px !important;
    white-space: nowrap !important;
    font-size: 12px !important;
  }

  body:not(.ciq-focus-mode) .main-area,
  body:not(.ciq-focus-mode) .shell {
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body:not(.ciq-focus-mode) .shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.ciq-focus-mode) .ciq-submission-v2 {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body:not(.ciq-focus-mode) .ciq-workspace {
    grid-template-columns: minmax(0, 1fr) 204px !important;
    gap: 9px !important;
  }

  body:not(.ciq-focus-mode) .ciq-viewers {
    gap: 9px !important;
  }

  body:not(.ciq-focus-mode) .ciq-check-panel {
    min-width: 0 !important;
    padding: 10px !important;
  }

  body:not(.ciq-focus-mode) .ciq-brain-line {
    gap: 7px !important;
    font-size: 13px !important;
  }

  body:not(.ciq-focus-mode) .ciq-brain-dot {
    width: 9px !important;
    height: 9px !important;
    box-shadow: 0 0 0 4px rgba(71,107,159,.12) !important;
  }

  body:not(.ciq-focus-mode) .ciq-check-summary {
    margin: 9px 0 !important;
    font-size: 10px !important;
  }

  body:not(.ciq-focus-mode) .ciq-check-list {
    gap: 6px !important;
  }

  body:not(.ciq-focus-mode) .ciq-check {
    gap: 6px !important;
    padding: 7px 6px !important;
    font-size: 11px !important;
    line-height: 1.22 !important;
  }

  body:not(.ciq-focus-mode) .ciq-check > span:first-child {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
    font-size: 11px !important;
  }

  body:not(.ciq-focus-mode) .ciq-check > span:last-child {
    min-width: 0 !important;
  }

  body:not(.ciq-focus-mode) .ciq-check small {
    font-size: 9px !important;
    line-height: 1.22 !important;
  }

  body:not(.ciq-focus-mode) .ciq-add-info,
  body:not(.ciq-focus-mode) .ciq-submit {
    font-size: 10px !important;
  }
}

/* Reduce application chrome typography again without altering uploaded Word,
   PDF, or spreadsheet content inside the document surfaces. */
.side-nav a {
  font-size: 12px !important;
}

.app-header h2 {
  font-size: 24px !important;
}

.ciq-greeting-subtitle,
.app-header p,
.panel-head p {
  font-size: 12px !important;
}

.role-switcher select {
  font-size: 12px !important;
}

.ciq-v2-head h2,
.ciq-submission-hero h2,
.ciq-workspace-head h2 {
  font-size: 24px !important;
}

.ciq-v2-head p,
.ciq-submission-hero p,
.ciq-workspace-head p {
  font-size: 12px !important;
}

.ciq-eyebrow {
  font-size: 10px !important;
}

.ciq-add-files,
.ciq-original-actions button,
.ciq-document-focus-toggle {
  font-size: 11px !important;
}

.ciq-viewer > header strong {
  font-size: 12px !important;
}

.ciq-viewer > header button {
  font-size: 19px !important;
}

.ciq-dashboard-top h1 {
  font-size: clamp(23px, 2.5vw, 30px) !important;
}

.ciq-dashboard-top p,
.ciq-dashboard-card header p {
  font-size: 10px !important;
}

.ciq-dashboard-card h2 {
  font-size: 14px !important;
}

.ciq-kpi strong {
  font-size: 19px !important;
}

.ciq-kpi small,
.ciq-profile-switch small,
.ciq-queue-tools button,
.ciq-queue-tools a {
  font-size: 9px !important;
}

.ciq-profile-switch strong,
.ciq-attention-main strong {
  font-size: 11px !important;
}

/* On medium desktop windows, keep the navigation clearly separate while giving
   the documents the maximum practical width. */
@media (min-width: 1101px) and (max-width: 1280px) {
  body:not(.ciq-focus-mode) .app-layout {
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body:not(.ciq-focus-mode) .ciq-workspace {
    grid-template-columns: minmax(0, 1fr) 196px !important;
    gap: 8px !important;
  }

  body:not(.ciq-focus-mode) .ciq-submission-v2 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
