@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-variable-wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bs-body-font-family: "Montserrat", Arial, Helvetica, sans-serif;
  --bs-btn-font-family: "Montserrat", Arial, Helvetica, sans-serif;
  --bs-font-sans-serif: "Montserrat", Arial, Helvetica, sans-serif;
  --qsrs-navy: #00366a;
  --qsrs-navy-2: #00407c;
  --qsrs-blue: #0161aa;
  --qsrs-cyan: #00b6ef;
  --qsrs-yellow: #ffd200;
  --qsrs-orange: #f8971d;
  --qsrs-red: #b42318;
  --qsrs-purple: #4f2a84;
  --qsrs-ink: #263238;
  --qsrs-body: #58595b;
  --qsrs-muted: #66737d;
  --qsrs-line: #d7e0e5;
  --qsrs-surface: #f4f7f9;
  --qsrs-info: #e8f3f7;
  --qsrs-success: #176b4d;
  --qsrs-success-bg: #e7f6ef;
  --qsrs-warning: #7a4a00;
  --qsrs-warning-bg: #fff4cc;
  --qsrs-danger-bg: #fdecea;
  --qsrs-waiting-bg: #eef0f2;
  --qsrs-specialty-bg: #f4effa;
  --qsrs-sidebar-light: #0161aa;
  --qsrs-sidebar-light-active: #00366a;
  --qsrs-sidebar-light-link: #eaf4fb;
  --qsrs-sidebar-light-muted: #d8edf9;
  --qsrs-sidebar-dark: #002b55;
  --qsrs-sidebar-dark-hover: #00407c;
  --qsrs-sidebar-dark-active: #0161aa;
  --qsrs-sidebar-dark-link: #d9eaf5;
  --qsrs-sidebar-dark-muted: #b6d2e6;
  --qsrs-file-detail-label-bg: #015da5;
  --qsrs-shell-dark: #001f3d;
  --qsrs-shell-dark-control: #132a3d;
  --qsrs-shell-dark-border: #4a7695;
  --qsrs-shell-dark-text: #f5f9fc;
  --qsrs-shell-dark-muted: #c2d7e6;
  --qsrs-radius: 0.65rem;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 20rem;
}

.bg-gd-chco-qsrs {
  background: #245791 linear-gradient(135deg, #245791 0, #53abd9 100%) !important;
}

.bg-gd-chco-case-review {
  background: var(--qsrs-purple) linear-gradient(135deg, var(--qsrs-purple) 0, #f4effa 100%) !important;
}

body,
button,
input,
select,
textarea {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--qsrs-ink);
  background: var(--qsrs-surface);
  font-size: 1rem;
  line-height: 1.55;
}

#sidebar .qsrs-sidebar-scroll .simplebar-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.qsrs-branded-shell #page-container.sidebar-dark #sidebar,
.qsrs-branded-shell #sidebar .sidebar-content {
  background-color: var(--qsrs-sidebar-light);
}

.public-landing-product-name {
  max-width: 7.75rem;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.2;
}

.qsrs-branded-shell #sidebar .public-landing-product-name,
.qsrs-branded-shell #sidebar .text-dual {
  color: #fff !important;
}

.qsrs-branded-shell #sidebar .nav-main-heading,
.qsrs-branded-shell #sidebar .content-side .text-muted {
  color: var(--qsrs-sidebar-light-muted) !important;
}

.qsrs-branded-shell #sidebar .nav-main-link,
.qsrs-branded-shell #sidebar .nav-main-link > .nav-main-link-icon {
  color: var(--qsrs-sidebar-light-link);
}

.qsrs-branded-shell #sidebar .nav-main-link:focus,
.qsrs-branded-shell #sidebar .nav-main-link:hover {
  color: #fff;
  background-color: var(--qsrs-navy-2);
}

.qsrs-branded-shell #sidebar .nav-main-link.active,
.qsrs-branded-shell #sidebar .nav-main-link.active > .nav-main-link-icon {
  color: #fff;
}

.qsrs-branded-shell #sidebar .nav-main-link.active {
  border-left: 0.25rem solid var(--qsrs-yellow);
  background-color: var(--qsrs-sidebar-light-active);
}

.qsrs-branded-shell #page-container.dark-mode #sidebar,
.qsrs-branded-shell #page-container.dark-mode #sidebar .sidebar-content {
  background-color: var(--qsrs-sidebar-dark);
}

.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-heading,
.qsrs-branded-shell #page-container.dark-mode #sidebar .content-side .text-muted {
  color: var(--qsrs-sidebar-dark-muted) !important;
}

.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link,
.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link > .nav-main-link-icon {
  color: var(--qsrs-sidebar-dark-link);
}

.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link:focus,
.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link:hover {
  color: #fff;
  background-color: var(--qsrs-sidebar-dark-hover);
}

.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link.active {
  color: #fff;
  border-left-color: var(--qsrs-yellow);
  background-color: var(--qsrs-sidebar-dark-active);
}

.qsrs-branded-shell #page-container.dark-mode #sidebar .nav-main-link.active > .nav-main-link-icon {
  color: #fff;
}

.qsrs-branded-shell #page-header {
  color: var(--qsrs-navy);
  background-color: #fff !important;
}

.qsrs-branded-shell #page-footer {
  color: var(--qsrs-body);
  background-color: var(--qsrs-surface);
}

.qsrs-branded-shell #page-header .role-workspace-select {
  color: var(--qsrs-navy);
  background-color: #fff;
  border-color: var(--qsrs-muted);
}

.qsrs-branded-shell #page-container.dark-mode #page-header,
.qsrs-branded-shell #page-container.dark-mode #page-footer {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark) !important;
}

.qsrs-branded-shell #page-container.dark-mode #page-footer {
  color: var(--qsrs-shell-dark-muted);
}

.qsrs-branded-shell #page-container.dark-mode #page-header .role-workspace-select {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark-control);
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode #page-footer .text-danger {
  color: #e76868 !important;
}

.public-landing-hero {
  background-color: #fff;
  background-image: url("../brand/chco-design-pattern.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.public-landing-hero-copy {
  max-width: 46rem;
  color: #fff;
  background-color: var(--qsrs-navy);
}

.public-landing-hero-eyebrow {
  color: var(--qsrs-yellow);
}

a {
  color: var(--qsrs-blue);
}

a:hover {
  color: var(--qsrs-navy);
}

:focus-visible {
  outline: 3px solid var(--qsrs-navy) !important;
  outline-offset: 3px !important;
}

.qsrs-branded-shell #sidebar :focus-visible,
.qsrs-branded-shell #page-container.dark-mode :focus-visible,
.public-landing-hero-copy :focus-visible,
.skip-link:focus-visible,
.btn-primary:focus-visible {
  outline-color: var(--qsrs-yellow) !important;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--qsrs-navy);
  border-radius: 0.35rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.role-workspace-select {
  width: auto;
  max-width: 13.5rem;
  min-height: 2.45rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.eyebrow {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--qsrs-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#intake-form .form-floating > .intake-description {
  height: 11rem;
}

#intake-form .form-floating > .intake-description--short {
  height: 7rem;
}

#intake-title,
.intake-action-header .btn.btn-outline-primary {
  color: var(--qsrs-navy);
}

.bg-gd-chco-qsrs #intake-title,
.bg-gd-chco-case-review #intake-title {
  color: #fff;
}

.intake-action-header .btn.btn-outline-primary,
.intake-action-header .btn.btn-outline-secondary {
  background-color: #fff;
}

.intake-action-header .btn.btn-outline-primary {
  border-color: var(--qsrs-navy);
}

.intake-action-header .btn.btn-outline-secondary {
  color: var(--qsrs-ink);
  border-color: var(--qsrs-ink);
}

.intake-action-header .btn.btn-outline-primary:hover,
.intake-action-header .btn.btn-outline-primary:active {
  color: #fff;
  background-color: var(--qsrs-navy);
  border-color: var(--qsrs-navy);
}

.intake-action-header .btn.btn-outline-secondary:hover,
.intake-action-header .btn.btn-outline-secondary:active {
  color: #fff;
  background-color: var(--qsrs-ink);
  border-color: var(--qsrs-ink);
}

.intake-action-header .btn:focus-visible {
  outline-color: var(--qsrs-navy) !important;
}

#intake-form legend.form-label {
  float: none;
  width: auto;
  font-size: 0.875rem;
  line-height: 1.5;
}

#patient-choice-feedback:not([hidden]),
#speak-up-feedback:not([hidden]) {
  display: block;
}

.choice-group-invalid .form-block .form-check-label {
  border-color: var(--qsrs-red);
}

.supporting-files-details > summary {
  cursor: pointer;
  list-style: none;
}

.supporting-files-details > summary::-webkit-details-marker {
  display: none;
}

.supporting-files-details > summary::after {
  flex: 0 0 auto;
  color: var(--qsrs-blue);
  content: "+";
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.supporting-files-details[open] > summary::after {
  content: "−";
}

.supporting-files-details > summary:hover {
  background: var(--qsrs-info);
}

.supporting-files-details > summary .small {
  margin-left: auto;
}

.section-stack > * + * {
  margin-top: 1rem;
}

.notice {
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-left-width: 0.35rem;
  border-radius: 0.4rem;
}

.notice p:last-child,
.notice ul:last-child {
  margin-bottom: 0;
}

.notice--info {
  color: #003f6b;
  background: var(--qsrs-info);
  border-color: #75b6d2;
}

.notice--success {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
  border-color: #78ad98;
}

.notice--attention {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
  border-color: #d9a700;
}

.notice--critical {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
  border-color: #d68a82;
}

.notice--neutral {
  color: #3d464e;
  background: var(--qsrs-waiting-bg);
  border-color: #a8b0b7;
}

.source-badge,
.status-badge,
.band-badge,
.mode-badge {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.source-badge::before {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
}

.source-voluntary {
  color: var(--qsrs-blue);
  background: #edf6fc;
  border-left: 0.4rem solid var(--qsrs-blue) !important;
}

.source-voluntary.source-badge {
  border: 1px solid var(--qsrs-blue) !important;
}

.source-voluntary.source-badge::before {
  background: var(--qsrs-blue);
  border-radius: 50%;
}

.source-specialty {
  color: var(--qsrs-purple);
  background: var(--qsrs-specialty-bg);
  border-left: 0.45rem double var(--qsrs-purple) !important;
}

.source-specialty.source-badge {
  border: 3px double var(--qsrs-purple) !important;
}

.source-specialty.source-badge::before {
  background: var(--qsrs-purple);
  transform: rotate(45deg) scale(0.78);
}

.btn-specialty {
  --bs-btn-color: var(--qsrs-purple);
  --bs-btn-bg: var(--qsrs-specialty-bg);
  --bs-btn-border-color: var(--qsrs-purple);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--qsrs-purple);
  --bs-btn-hover-border-color: var(--qsrs-purple);
  --bs-btn-focus-shadow-rgb: 79, 42, 132;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--qsrs-purple);
  --bs-btn-active-border-color: var(--qsrs-purple);
  --bs-btn-disabled-color: var(--qsrs-purple);
  --bs-btn-disabled-bg: var(--qsrs-specialty-bg);
  --bs-btn-disabled-border-color: var(--qsrs-purple);
}

.source-trigger {
  color: var(--qsrs-warning);
  background: #fff8df;
  border-left: 0.35rem dashed var(--qsrs-warning) !important;
}

.source-trigger.source-badge {
  border: 2px dashed var(--qsrs-warning) !important;
}

.source-trigger.source-badge::before {
  border: 2px dashed var(--qsrs-warning);
  border-radius: 50%;
}

.status-complete,
.band-high {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
}

.status-attention,
.band-medium {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
}

.status-critical,
.band-low {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
}

.status-waiting {
  color: #454b56;
  background: var(--qsrs-waiting-bg);
}

.qsrs-file-preview-popover {
  --bs-popover-max-width: 30rem;
  --bs-popover-bg: var(--qsrs-blue);
  --bs-popover-border-color: var(--qsrs-navy);
  --bs-popover-border-radius: 1rem;
  --bs-popover-box-shadow: 0 0.75rem 1.75rem rgba(0, 54, 106, 0.32);
}

.qsrs-file-preview-popover .popover-body {
  padding: 0.7rem;
  color: #fff;
}

.file-preview-card {
  width: min(27rem, calc(100vw - 3.5rem));
  padding: 1.15rem;
  color: #fff;
  background: var(--qsrs-blue);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.25rem;
  box-shadow: 0 0.18rem 0.45rem rgba(0, 54, 106, 0.22);
}

.qsrs-swal-popup {
  width: min(32rem, calc(100% - 1rem));
}

.merge-comparison-option .form-check-label {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 0.9rem;
}

.merge-keep-label {
  display: block;
  padding-left: 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.merge-comparison-option .merge-file-card {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  pointer-events: none;
}

.merge-disposition-label {
  align-self: flex-start;
  font-size: 0.78rem;
}

.merge-comparison-option .file-preview-title {
  font-size: 1.2rem;
}

.merge-comparison-option .file-preview-meta-row {
  font-size: 0.78rem;
}

.file-preview-id {
  margin-bottom: 0.3rem;
  color: var(--qsrs-sidebar-light-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.file-preview-heading {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.file-preview-title {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.file-preview-state-dot {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.35rem;
  background: currentColor;
  border: 0.16rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0.12rem currentColor;
}

.file-preview-state-dot.is-warning {
  color: #c27b00;
}

.file-preview-state-dot.is-danger {
  color: var(--qsrs-red);
}

.file-preview-state-dot.is-success {
  color: var(--qsrs-success);
}

.file-preview-state-dot.is-waiting {
  color: var(--qsrs-muted);
}

.file-preview-meta {
  display: grid;
  gap: 0.3rem;
  margin: 1rem 0;
}

.file-preview-meta-row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  color: var(--qsrs-sidebar-light-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.file-preview-meta-icon {
  width: 1.1rem;
  margin-top: 0.12rem;
  color: var(--qsrs-sidebar-light-muted);
  text-align: center;
}

.file-preview-description {
  color: #fff;
}

.file-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.file-preview-footer .source-badge {
  max-width: 100%;
  white-space: normal;
}

.file-preview-affordance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  min-height: 2.55rem;
  margin-left: auto;
  border-radius: 0.45rem;
  font-size: 1.15rem;
}

#page-container .file-preview-affordance.is-available {
  color: var(--qsrs-blue);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

#page-container a.file-preview-affordance.is-available:hover,
#page-container a.file-preview-affordance.is-available:focus {
  color: var(--qsrs-navy);
  background: var(--qsrs-yellow);
  border-color: var(--qsrs-yellow);
  text-decoration: none;
}

#page-container a.file-preview-affordance:focus-visible {
  outline: 3px solid var(--qsrs-yellow);
  outline-offset: 2px;
}

#page-container.dark-mode .qsrs-file-preview-popover {
  --bs-popover-bg: var(--qsrs-blue);
  --bs-popover-border-color: var(--qsrs-cyan);
}

#page-container.dark-mode .file-preview-card {
  color: #fff;
  background: var(--qsrs-blue);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.38);
}

#page-container.dark-mode .file-preview-title,
#page-container.dark-mode .file-preview-description {
  color: #fff;
}

#page-container.dark-mode .file-preview-id,
#page-container.dark-mode .file-preview-meta-row {
  color: var(--qsrs-sidebar-light-muted);
}

#page-container.dark-mode .file-preview-state-dot {
  border-color: #fff;
}

.qsrs-review-status-popover {
  --bs-popover-max-width: 19rem;
  --bs-popover-bg: var(--qsrs-blue);
  --bs-popover-border-color: var(--qsrs-navy);
  --bs-popover-border-radius: 0.85rem;
  --bs-popover-box-shadow: 0 0.55rem 1.25rem rgba(0, 54, 106, 0.3);
  background-color: var(--qsrs-blue);
}

.qsrs-review-status-popover .popover-body {
  padding: 0.45rem;
  color: #fff;
  background-color: var(--qsrs-blue);
  border-radius: calc(var(--bs-popover-border-radius) - var(--bs-popover-border-width));
}

.review-status-card {
  width: min(17rem, calc(100vw - 3rem));
  padding: 0.8rem;
  color: #fff;
  background: var(--qsrs-blue);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
}

.review-status-card-heading {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding-bottom: 0.55rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.review-status-card-heading-icon {
  margin-top: 0.12rem;
  color: var(--qsrs-yellow);
}

.review-status-card-title {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
}

.review-status-card-details {
  display: grid;
  gap: 0.48rem;
}

.review-status-card-row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.review-status-card-icon {
  margin-top: 0.12rem;
  color: var(--qsrs-sidebar-light-muted);
  font-size: 0.78rem;
  text-align: center;
}

.review-status-card-copy,
.review-status-card-label,
.review-status-card-value {
  display: block;
  min-width: 0;
}

.review-status-card-label {
  color: var(--qsrs-sidebar-light-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.review-status-card-value {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#page-container.dark-mode .qsrs-review-status-popover {
  --bs-popover-bg: var(--qsrs-blue);
  --bs-popover-border-color: var(--qsrs-cyan);
  background-color: var(--qsrs-blue);
}

#page-container.dark-mode .qsrs-review-status-popover .popover-body {
  background-color: var(--qsrs-blue);
}

#page-container.dark-mode .qsrs-review-status-popover[data-popper-placement^="top"] > .popover-arrow::after {
  border-top-color: var(--qsrs-blue);
}

#page-container.dark-mode .qsrs-review-status-popover[data-popper-placement^="right"] > .popover-arrow::after {
  border-right-color: var(--qsrs-blue);
}

#page-container.dark-mode .qsrs-review-status-popover[data-popper-placement^="bottom"] > .popover-arrow::after {
  border-bottom-color: var(--qsrs-blue);
}

#page-container.dark-mode .qsrs-review-status-popover[data-popper-placement^="left"] > .popover-arrow::after {
  border-left-color: var(--qsrs-blue);
}

#page-container.dark-mode .review-status-card {
  color: #fff;
  background: var(--qsrs-blue);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0.2rem 0.55rem rgba(0, 0, 0, 0.36);
}

.event-file-status {
  max-width: 100%;
  text-align: left;
  white-space: normal;
}

.status-in-progress,
.event-file-status--in-progress {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
}

.status-overdue,
.event-file-status--overdue {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
}

.status-blocked,
.event-file-status--blocked {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
}

.status-closed,
.event-file-status--closed {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
}

.event-file-status--awareness-unread {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
}

.event-file-status--awareness-opened {
  color: var(--qsrs-ink);
  background: var(--qsrs-orange);
}

.event-file-status--awareness-late {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
}

.event-file-status--awareness-complete {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
}

.awareness-reviewer-trigger {
  min-width: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.awareness-reviewer-trigger > span:first-child {
  min-width: 0;
}

.awareness-reviewer-trigger:hover,
.awareness-reviewer-trigger:focus-visible {
  color: var(--qsrs-blue);
}

.awareness-reviewer-trigger:focus-visible {
  border-radius: 0.25rem;
  outline: 0.18rem solid color-mix(in srgb, var(--qsrs-blue) 32%, transparent);
  outline-offset: 0.16rem;
}

.awareness-reviewer-name,
.awareness-reviewer-comment {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.awareness-reviewer-comment {
  margin-top: 0.15rem;
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
}

.awareness-reviewer-card .review-status-card-value {
  white-space: pre-wrap;
}

.awareness-comments-field {
  min-height: 10rem !important;
}

.awareness-acknowledgement-options .form-check-label {
  min-height: 5rem;
}

.awareness-documentation-table th {
  width: 34%;
}

@media (max-width: 575.98px) {
  .awareness-documentation-table th {
    width: 42%;
  }
}

.deadline-badge {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.deadline-badge--pending {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
  border-color: #d9a700;
}

.deadline-badge--completed-on-time,
.deadline-badge--completed-late {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
  border-color: #78ad98;
}

.deadline-badge--overdue {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
  border-color: #d68a82;
}

.deadline-badge__dot {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  background: #000;
  border-radius: 50%;
}

.deadline-badge--completed-late .deadline-badge__dot {
  background: var(--qsrs-red);
}

.submitted-details-header {
  flex-wrap: wrap;
}

.submitted-details-header .status-badge {
  max-width: 100%;
  white-space: normal;
}

.detail-list.status-detail-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
}

.detail-list.status-detail-list dt:not(:first-child) {
  margin-top: 0.45rem;
}

.unread-indicator {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.45rem;
  background: var(--qsrs-yellow);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--qsrs-warning);
  color: transparent;
  font-size: 0;
  vertical-align: 0.05rem;
}

.unread-indicator--warning {
  background: var(--qsrs-yellow);
  box-shadow: 0 0 0 1px var(--qsrs-warning);
}

.unread-indicator--danger {
  background: var(--qsrs-red);
  box-shadow: 0 0 0 1px var(--qsrs-red);
}

.summary-editor {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--qsrs-line);
}

.summary-editor summary {
  width: fit-content;
  color: var(--qsrs-blue);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.source-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.source-legend__label {
  font-size: 0.78rem;
  font-weight: 700;
}

.form-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section legend {
  float: none;
  width: auto;
  margin-bottom: 0.6rem;
  color: var(--qsrs-navy);
  font-size: 1rem;
  font-weight: 700;
}

.form-label,
.form-check-label {
  font-weight: 600;
}

.required-marker {
  margin-left: 0.16rem;
  color: var(--qsrs-red);
  font-weight: 800;
}

.field-help {
  margin-top: 0.35rem;
  color: var(--qsrs-muted);
  font-size: 0.82rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  position: relative;
}

.choice-card .form-check-input {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.choice-card .form-check-label {
  display: block;
  min-height: 5rem;
  padding: 0.9rem 0.9rem 0.9rem 2.7rem;
  background: #fff;
  border: 2px solid var(--qsrs-line);
  border-radius: 0.45rem;
}

.choice-card .form-check-input:checked + .form-check-label {
  color: var(--qsrs-navy);
  background: var(--qsrs-info);
  border-color: var(--qsrs-blue);
}

.choice-card .form-check-input:focus-visible + .form-check-label {
  outline: 3px solid var(--qsrs-yellow);
  outline-offset: 2px;
}

.patient-match-option {
  color: var(--qsrs-ink);
  background: #fff;
}

.patient-match-option:hover,
.patient-match-option:focus {
  color: var(--qsrs-navy);
  background: var(--qsrs-info);
}

.patient-confirmation-photo-slot {
  display: inline-flex;
  width: 6rem;
  height: 6rem;
  align-items: center;
  justify-content: center;
}

.patient-confirmation-photo {
  width: 6rem !important;
  height: 6rem !important;
  object-fit: cover;
  border: 2px solid var(--qsrs-line);
  background: #fff;
}

.patient-photo-unavailable {
  display: inline-flex;
  width: 6rem;
  height: 6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.45rem;
  border: 2px solid var(--qsrs-line);
  border-radius: 50%;
  background: var(--qsrs-surface);
  font-size: 0.65rem;
  line-height: 1.15;
  text-align: center;
}

.patient-photo-unavailable .fa {
  font-size: 1.35rem;
}

.dark-mode .patient-confirmation-photo,
.dark-mode .patient-photo-unavailable {
  border-color: var(--qsrs-shell-dark-border);
  background: var(--qsrs-shell-dark-control);
}

@media (max-width: 575.98px) {
  .patient-confirmation-photo-slot,
  .patient-confirmation-photo,
  .patient-photo-unavailable {
    width: 4.5rem !important;
    height: 4.5rem !important;
  }
}

.patient-lookup-error:not([hidden]) {
  display: block;
}

#primary-reviewer-reroute-title {
  margin-bottom: 0.35rem;
  color: var(--qsrs-navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--qsrs-blue);
  border-color: var(--qsrs-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background: var(--qsrs-navy-2);
  border-color: var(--qsrs-navy-2);
}

.detail-list {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr);
  gap: 0.45rem 1rem;
  margin: 0;
}

.detail-list dt {
  color: var(--qsrs-muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.detail-list dd {
  margin: 0;
}

.file-detail-block > .block-content {
  padding: 1rem 1.625rem;
}

[data-completed-review-rendered="true"] > .block-content {
  padding: 1rem 1.625rem;
}

.completed-review-table .file-detail-actions {
  flex-shrink: 0;
}

.completed-review-table .file-detail-value {
  white-space: pre-wrap;
}

.file-detail-table-wrap {
  border-radius: 0.2rem;
  padding: 1px;
}

.file-detail-table {
  --bs-table-bg: transparent;
  min-width: 36rem;
  table-layout: fixed;
  border-color: #68737c;
  font-size: 0.82rem;
  line-height: 1.4;
}

.file-detail-table .file-detail-label-column {
  width: 20%;
}

.file-detail-table .file-detail-value-column {
  width: 30%;
}

.file-detail-table > :not(caption) > * > * {
  padding: 0.4rem 0.5rem;
  border-color: #68737c;
  background-color: transparent;
  vertical-align: top;
}

.file-detail-table th {
  color: var(--qsrs-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.file-detail-table tr:last-child th {
  white-space: normal;
}

.file-detail-table.completed-review-table th {
  white-space: normal;
  overflow-wrap: anywhere;
}

[data-file-details-presentation] {
  --bs-table-bg: transparent;
  border-color: #68737c;
}

[data-file-details-presentation] > :not(caption) > * > th {
  color: var(--qsrs-yellow);
  background-color: var(--qsrs-file-detail-label-bg) !important;
  border-color: #68737c;
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}

[data-file-details-presentation] > :not(caption) > * > td {
  color: var(--qsrs-ink);
  background-color: #fff;
  border-color: #68737c;
}

.file-detail-entry {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  gap: 0.15rem 0.35rem;
  min-width: 0;
}

.file-detail-actions {
  display: inline-flex;
  gap: 0.05rem;
  min-height: 1.45rem;
}

.file-detail-action {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  color: var(--qsrs-muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-size: 0.65rem;
  line-height: 1;
  opacity: 0.72;
}

.file-detail-action:hover,
.file-detail-action:focus {
  color: var(--qsrs-blue);
  background: var(--bs-body-bg);
  border-color: var(--qsrs-line);
  box-shadow: none;
  opacity: 1;
}

.file-detail-value {
  min-width: 0;
  padding-top: 0.08rem;
  overflow-wrap: anywhere;
}

.file-detail-derived .file-detail-value {
  grid-column: 2;
  padding-top: 0;
}

.file-detail-additional-meta {
  margin-left: 0.25rem;
  opacity: 0.68;
}

[data-file-details-presentation] .file-detail-action {
  opacity: 1;
}

[data-file-details-presentation] .file-detail-additional-meta {
  color: var(--qsrs-body) !important;
  opacity: 1;
}

.file-detail-history-table {
  --bs-table-bg: transparent;
  min-width: 42rem;
  table-layout: fixed;
  border-color: #68737c;
}

.file-detail-history-table > :not(caption) > * > * {
  padding: 0.75rem;
  border-color: #68737c;
  background-color: transparent;
  vertical-align: middle;
}

.file-detail-history-table thead th {
  color: var(--qsrs-ink);
  background-color: var(--qsrs-surface);
  font-weight: 700;
  text-align: center;
}

.file-detail-history-table th:nth-child(1),
.file-detail-history-table td:nth-child(1) {
  width: 31%;
}

.file-detail-history-table th:nth-child(2),
.file-detail-history-table td:nth-child(2) {
  width: 20%;
}

.file-detail-history-table th:nth-child(3),
.file-detail-history-table td:nth-child(3) {
  width: 49%;
}

.review-option-icon {
  color: var(--qsrs-blue);
  font-size: 1.65rem;
  line-height: 1;
}

.systems-issue-options > [class*="col-"] {
  display: flex;
}

.systems-issue-options .form-block,
.systems-issue-options .form-check-label {
  width: 100%;
  height: 70px;
}

.systems-issue-options .form-check-label {
  display: flex;
}

.systems-issue-options .form-check-label > span {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  text-align: left;
}

.systems-issue-options .review-option-icon {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  font-size: 1.125rem;
  text-align: center;
}

.systems-issue-options .review-option-label {
  flex: 1 1 auto;
  font-size: 0.825rem;
  line-height: 1.15;
}

.level-one-binary-options > [class*="col-"] {
  display: flex;
}

.level-one-binary-options .form-block,
.level-one-binary-options .form-check-label {
  width: 100%;
  height: 70px;
}

.level-one-binary-options .form-check-label {
  display: flex;
}

.level-one-binary-options .form-check-label > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  text-align: left;
}

.level-one-binary-options .review-option-icon {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  font-size: 1.125rem;
  text-align: center;
}

.level-one-binary-options .review-option-label {
  flex: 1 1 auto;
  font-size: 0.825rem;
  line-height: 1.15;
}

.qsrs-branded-shell #page-container.dark-mode .file-detail-action {
  color: var(--qsrs-shell-dark-muted);
  opacity: 0.78;
}

.qsrs-branded-shell #page-container.dark-mode [data-file-details-presentation] .file-detail-action {
  opacity: 1;
}

.qsrs-branded-shell #page-container.dark-mode .file-detail-table,
.qsrs-branded-shell #page-container.dark-mode .file-detail-table > :not(caption) > * > *,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .file-detail-history-table,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .file-detail-history-table > :not(caption) > * > *,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .file-detail-history-table,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .file-detail-history-table > :not(caption) > * > * {
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode .file-detail-table th {
  color: var(--qsrs-shell-dark-muted);
}

.qsrs-branded-shell #page-container.dark-mode .file-detail-table .file-detail-additional-row > .bg-info-light {
  color: var(--qsrs-shell-dark-text);
  background-color: rgba(83, 171, 217, 0.18) !important;
}

.qsrs-branded-shell #page-container.dark-mode [data-file-details-presentation] > :not(caption) > * > th {
  color: var(--qsrs-yellow);
  background-color: var(--qsrs-file-detail-label-bg) !important;
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode [data-file-details-presentation] > :not(caption) > * > td {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark-control);
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode [data-file-details-presentation] .file-detail-additional-row > td.bg-info-light {
  color: var(--qsrs-shell-dark-text);
  background-color: rgba(83, 171, 217, 0.18) !important;
}

.qsrs-branded-shell #page-container.dark-mode [data-file-details-presentation] .file-detail-additional-row > th.bg-info-light {
  color: var(--qsrs-yellow);
  background-color: var(--qsrs-file-detail-label-bg) !important;
}

.qsrs-branded-shell #page-container.dark-mode .file-detail-additional-meta {
  color: var(--qsrs-shell-dark-muted) !important;
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .modal-content,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-content,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .modal-content,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-content {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark-control);
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-header,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-content.bg-body-light,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .file-detail-history-table thead th,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-header,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-content.bg-body-light,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .file-detail-history-table thead th {
  color: var(--qsrs-shell-dark-text);
  background-color: #263846;
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-content.bg-body-light,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-content.bg-body-light {
  background-color: #263846 !important;
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-header,
.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .block-content.bg-body-light,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-header,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .block-content.bg-body-light {
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .btn-block-option,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .btn-block-option {
  color: var(--qsrs-shell-dark-muted);
}

.qsrs-branded-shell #page-container.dark-mode ~ #file-detail-modal .file-detail-history-table tbody td,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .file-detail-history-table tbody td {
  color: var(--qsrs-shell-dark-text);
}

.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .form-control,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .form-select,
.qsrs-branded-shell #page-container.dark-mode ~ .completed-review-modal .form-check-label {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark-control);
  border-color: var(--qsrs-shell-dark-border);
}

.qsrs-branded-shell #page-container.dark-mode .review-option-icon {
  color: #53abd9;
}

.level-one-notes {
  min-height: 11rem !important;
}

.review-status-graph {
  --review-status-line-color: var(--qsrs-ink);
  --review-status-future-line-color: var(--qsrs-muted);
  --review-status-blocked-line-color: var(--qsrs-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#page-container.dark-mode .review-status-graph {
  --review-status-line-color: #c2d7e6;
  --review-status-future-line-color: #8fb4cd;
  --review-status-blocked-line-color: #ff8e85;
}

.review-status-block .block-content {
  padding: 0.875rem 1rem 1rem;
}

.review-status-graph--compact {
  max-width: 20rem;
  margin-inline: auto;
}

.review-status-graph--compact .review-status-node {
  min-height: 2.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.15;
}

.review-status-graph--compact .review-status-connector {
  height: 1.125rem;
}

.review-status-graph--compact .review-status-connector::after {
  bottom: -0.05rem;
  left: -0.3rem;
  border-width: 0.35rem 0.25rem 0;
}

.review-status-graph--compact .review-status-branch {
  gap: 0.4rem;
  padding-left: 1.15rem;
}

.review-status-graph--compact .review-status-branch::before {
  top: 1.1rem;
  bottom: 1.1rem;
  left: 0.25rem;
}

.review-status-graph--compact .review-status-branch .review-status-node-wrap::before {
  left: -0.9rem;
  width: 0.9rem;
}

.review-status-graph--compact .review-status-branch .review-status-node-wrap::after {
  left: -0.3rem;
}

@media (max-width: 575.98px) {
  .review-status-block .block-content {
    padding: 0.75rem;
  }

  .review-status-graph--compact .review-status-node {
    min-height: 2.5rem;
    padding-block: 0.3rem;
  }

  .review-status-graph--compact .review-status-connector {
    height: 1rem;
  }
}

.review-status-node-wrap {
  position: relative;
  width: 100%;
}

.review-status-node {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  border: 3px double currentColor;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.review-status-node.is-complete {
  color: var(--qsrs-success);
  background: var(--qsrs-success-bg);
}

.review-status-node.is-current {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
  font-style: italic;
}

.review-status-node.is-blocked {
  color: var(--qsrs-red);
  background: var(--qsrs-danger-bg);
  font-style: italic;
}

.review-status-node.is-future {
  color: var(--qsrs-muted);
  background: var(--qsrs-waiting-bg);
  font-style: italic;
}

.review-status-node.is-merged {
  color: #454b56;
  background: var(--qsrs-waiting-bg);
}

.review-status-node:focus-visible {
  outline: 3px solid rgba(1, 97, 170, 0.35);
  outline-offset: 2px;
}

.review-status-connector {
  position: relative;
  display: block;
  width: 0;
  height: 2.35rem;
  color: var(--review-status-line-color);
  border-left: 2px solid var(--review-status-line-color);
}

.review-status-connector::after {
  position: absolute;
  bottom: -0.1rem;
  left: -0.38rem;
  border-width: 0.45rem 0.32rem 0;
  border-style: solid;
  border-color: currentColor transparent transparent;
  content: "";
}

.review-status-connector.is-future {
  color: var(--review-status-future-line-color);
  border-left-style: dashed;
  border-left-color: var(--review-status-future-line-color);
}

.review-status-connector.is-blocked {
  color: var(--review-status-blocked-line-color);
  border-left-color: var(--review-status-blocked-line-color);
}

.additional-action-blocker .additional-action-blocker-icon {
  color: var(--qsrs-red);
}

.additional-action-blocker textarea[rows="5"],
.additional-action-modal textarea[rows="5"] {
  height: 10rem !important;
  min-height: 10rem !important;
}

.additional-action-blocker .blocking-response-recipient-control:disabled {
  color: var(--bs-secondary-color);
  background-color: var(--bs-gray-200);
  border-color: var(--bs-gray-300);
  opacity: 1;
}

.additional-action-assignee-results {
  max-height: 14rem;
  overflow-y: auto;
}

.additional-action-documentation-block .additional-action-documentation-list {
  display: grid;
  gap: 0.75rem;
}

.additional-action-documentation-entry {
  padding: 0.875rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.additional-action-review-type-options .form-check-label {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.75rem 1rem;
}

.additional-action-review-type-options .form-check-label > span {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.additional-action-review-type-options .review-option-icon {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  color: var(--qsrs-blue);
  text-align: center;
}

#page-container.dark-mode .additional-action-documentation-entry {
  border-color: var(--qsrs-shell-dark-border);
}

#page-container.dark-mode .review-documentation-question {
  color: var(--qsrs-shell-dark-text);
  background-color: rgba(83, 171, 217, 0.18) !important;
  border-color: var(--qsrs-shell-dark-border) !important;
}

#page-container.dark-mode .review-documentation-question .form-label,
#page-container.dark-mode .review-documentation-question .form-check-label {
  color: var(--qsrs-shell-dark-text);
}

#page-container.dark-mode .additional-action-modal .modal-content,
#page-container.dark-mode .additional-action-modal .block,
#page-container.dark-mode .additional-action-modal .block-content {
  color: var(--qsrs-shell-dark-text);
  background-color: var(--qsrs-shell-dark-control);
}

#page-container.dark-mode .additional-action-modal .block-header,
#page-container.dark-mode .additional-action-modal .block-content.bg-body-light {
  color: var(--qsrs-shell-dark-text);
  background-color: #263846 !important;
  border-color: var(--qsrs-shell-dark-border);
}

#page-container.dark-mode .additional-action-blocker .blocking-response-recipient-control:disabled {
  color: var(--qsrs-shell-dark-muted);
  background-color: var(--qsrs-shell-dark-control);
  border-color: var(--qsrs-shell-dark-border);
}

.review-status-branch {
  position: relative;
  display: grid;
  width: 100%;
  gap: 0.65rem;
  padding-left: 1.5rem;
}

.review-status-branch::before {
  position: absolute;
  top: 1.35rem;
  bottom: 1.35rem;
  left: 0.35rem;
  border-left: 2px solid var(--review-status-line-color);
  content: "";
}

.review-status-branch .review-status-node-wrap::before {
  position: absolute;
  top: 50%;
  left: -1.15rem;
  width: 1.15rem;
  border-top: 2px solid var(--review-status-line-color);
  content: "";
}

.review-status-branch .review-status-node-wrap::after {
  position: absolute;
  top: calc(50% - 0.3rem);
  left: -0.35rem;
  border-width: 0.3rem 0 0.3rem 0.4rem;
  border-style: solid;
  border-color: transparent transparent transparent var(--review-status-line-color);
  content: "";
}

.related-file-table {
  width: 100%;
  table-layout: auto;
}

.related-file-table td {
  padding: 0.55rem 0.2rem;
  vertical-align: middle;
}

.related-file-table td:first-child {
  width: 1%;
  padding-right: 0.1rem;
  padding-left: 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.related-file-table td:nth-child(2) {
  width: 1%;
  padding-right: 0.4rem;
  padding-left: 0.1rem;
  white-space: nowrap;
}

.related-file-table td:nth-child(3) {
  font-size: 0.75rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.related-file-table td:last-child {
  width: 1%;
  padding-right: 0.5rem;
  padding-left: 0.3rem;
  white-space: nowrap;
}

.related-file-table tbody tr:last-child > td {
  border-bottom: 0;
}

.related-file-table .status-badge {
  padding: 0.3rem 0.45rem;
  font-size: 0.68rem;
}

.related-file-option .form-check-label,
.related-file-option .form-check-label > span {
  min-width: 0;
}

.related-file-option-content {
  display: block;
  width: 100%;
}

.related-file-option-primary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.related-file-option-title {
  display: block;
  margin-top: 0.2rem;
  padding-right: 0.25rem;
  color: var(--qsrs-muted);
  font-size: 0.69rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.related-file-option [data-related-card-state] {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-history-option .form-check-label,
.related-history-option .form-check-label > span {
  min-width: 0;
}

.related-history-option .form-check-label {
  min-height: 5rem;
}

.related-history-option-content {
  display: grid;
  width: 100%;
  gap: 0.25rem;
  padding: 0.7rem 0.75rem;
}

.related-history-option-primary,
.related-history-option-identity {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.related-history-option-primary {
  justify-content: space-between;
  font-size: 0.78rem;
  line-height: 1.2;
}

.related-history-option-identity > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-history-option-title {
  color: var(--qsrs-muted);
  font-size: 0.69rem;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .related-history-option-primary {
    align-items: flex-start;
    flex-direction: column;
  }
}

.timeline-list {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.55rem;
  list-style: none;
}

.timeline-list::before {
  position: absolute;
  top: 0.35rem;
  bottom: 0.4rem;
  left: 0.35rem;
  width: 2px;
  background: var(--qsrs-line);
  content: "";
}

.timeline-list li {
  position: relative;
  padding: 0 0 1.1rem 0.55rem;
}

.timeline-list li::before {
  position: absolute;
  top: 0.35rem;
  left: -1.44rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  border: 3px solid var(--qsrs-blue);
  border-radius: 50%;
  content: "";
}

.timeline-list li.timeline-item--complete::before {
  background: var(--qsrs-success);
  border-color: var(--qsrs-success);
}

.timeline-list strong,
.timeline-list time,
.timeline-list span {
  display: block;
}

.timeline-list time,
.timeline-list span {
  color: var(--qsrs-muted);
  font-size: 0.78rem;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
}

.my-files-table-region {
  min-width: 0;
}

.reviewer-table-region {
  min-width: 0;
}

.reviewer-responsible-area-focus {
  width: min(100%, 16rem);
}

.file-list-table > :not(caption) > * > * {
  border-right-width: 0 !important;
  border-left-width: 0 !important;
}

.file-list-table > tbody > tr:nth-of-type(odd) > *,
.file-list-table > tbody > tr:nth-of-type(even) > * {
  --bs-table-accent-bg: transparent;
}

.mockup-feedback-button {
  position: fixed;
  z-index: 1030;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid #fff;
}

@media (max-width: 35.99rem) {
  .mockup-feedback-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mockup-feedback-button i {
    margin-right: 0 !important;
  }
}

.reviewer-dashboard-data {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 140ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reviewer-dashboard-data.is-updating {
  opacity: 0.78;
  transform: translateY(2px);
  transition-duration: 80ms;
  transition-timing-function: ease-out;
  pointer-events: none;
}

.reviewer-metric-card .reviewer-metric-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
}

.reviewer-metric-icon {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
}

.reviewer-metric-title {
  display: flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.reviewer-metric-value {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.reviewer-metric-value--supporting {
  font-size: 0.875rem !important;
}

.reviewer-metric-detail {
  display: flex;
  min-height: 2.6rem;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.25;
}

.reviewer-metric-state {
  display: flex;
  min-height: 1.9rem;
  margin-top: auto;
  align-items: flex-end;
  justify-content: center;
}

.reviewer-threshold-watch {
  color: #9b5700;
}

.reviewer-threshold-below {
  color: #b42318;
}

.reviewer-threshold-high {
  color: #176b4d;
}

.reviewer-threshold-badge {
  border: 1px solid currentColor;
}

.reviewer-threshold-badge--watch {
  color: #704300;
  background-color: #fff0bd;
}

.reviewer-threshold-badge--below {
  color: #9f1f16;
  background-color: #fdecea;
}

.reviewer-threshold-badge--high {
  color: #145c43;
  background-color: #e7f6ef;
}

.reviewer-sentiment-icon--strong-negative {
  color: #b42318;
}

.reviewer-sentiment-icon--negative {
  color: #b5473c;
}

.reviewer-sentiment-icon--neutral {
  color: #59636e;
}

.reviewer-sentiment-icon--positive {
  color: #337a58;
}

.reviewer-sentiment-icon--strong-positive {
  color: #176b4d;
}

#page-container.dark-mode .reviewer-threshold-watch {
  color: #ffd166;
}

#page-container.dark-mode .reviewer-threshold-below {
  color: #ff7b72;
}

#page-container.dark-mode .reviewer-threshold-high {
  color: #70d0a8;
}

#page-container.dark-mode .reviewer-threshold-badge--watch {
  color: #ffe29a;
  background-color: #543b0b;
}

#page-container.dark-mode .reviewer-threshold-badge--below {
  color: #ffc1bb;
  background-color: #58221e;
}

#page-container.dark-mode .reviewer-threshold-badge--high {
  color: #a5e8c8;
  background-color: #173f31;
}

#page-container.dark-mode .reviewer-sentiment-icon--strong-negative {
  color: #ff7b72;
}

#page-container.dark-mode .reviewer-sentiment-icon--negative {
  color: #ffad9f;
}

#page-container.dark-mode .reviewer-sentiment-icon--neutral {
  color: #b8c2cc;
}

#page-container.dark-mode .reviewer-sentiment-icon--positive {
  color: #8fd3a8;
}

#page-container.dark-mode .reviewer-sentiment-icon--strong-positive {
  color: #55d690;
}

[data-reviewer-table] th:first-child,
[data-reviewer-table] td:first-child {
  min-width: 7.5rem;
  white-space: nowrap;
}

[data-reviewer-table] .reviewer-status-column,
[data-reviewer-table] .my-files-status-column,
[data-reviewer-table] td:nth-child(5) {
  min-width: 17.5rem;
}

[data-reviewer-table] td:nth-child(5) .event-file-status,
.reviewer-table-region .dataTables_wrapper .event-file-status,
.reviewer-table-region .dataTables_wrapper .dtr-details .event-file-status {
  white-space: nowrap;
}

.reviewer-table-actions .btn,
[data-reviewer-table] td:last-child > .btn {
  display: inline-flex;
  width: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
}

.reviewer-table-filters .form-label {
  margin-bottom: 0.35rem;
}

.reviewer-table-region .dataTables_info {
  padding-top: 1rem;
  color: var(--qsrs-muted);
  font-size: 0.82rem;
}

.reviewer-table-region .dataTables_paginate {
  padding-top: 0.75rem;
}

.reviewer-table-region .pagination {
  margin-bottom: 0;
}

[data-reviewer-table].dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
[data-reviewer-table].dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  background-color: var(--qsrs-blue);
}

#my-files-table th:nth-child(2),
#my-files-table td:nth-child(2) {
  min-width: 7.5rem;
  white-space: nowrap;
}

#my-files-table .my-files-status-column,
#my-files-table td:nth-child(6) {
  min-width: 17.5rem;
}

#my-files-table td:nth-child(6) .event-file-status,
#my-files-table td:nth-child(6) > .badge {
  white-space: nowrap;
}

#my-files-table_wrapper .event-file-status,
#my-files-table_wrapper .dtr-details .event-file-status {
  white-space: nowrap;
}

.my-files-actions .btn,
#my-files-table td:last-child > .btn {
  display: inline-flex;
  width: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
}

.my-files-filters .form-label {
  margin-bottom: 0.35rem;
}

#my-files-table_wrapper .dataTables_info {
  padding-top: 1rem;
  color: var(--qsrs-muted);
  font-size: 0.82rem;
}

#my-files-table_wrapper .dataTables_paginate {
  padding-top: 0.75rem;
}

#my-files-table_wrapper .pagination {
  margin-bottom: 0;
}

#my-files-table.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
#my-files-table.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  background-color: var(--qsrs-blue);
}

.file-actions-column {
  min-width: 8rem;
  white-space: nowrap;
}

#reviewer-closed-table th:nth-child(5),
#reviewer-closed-table td:nth-child(5) {
  min-width: 9rem;
  width: 9rem;
}

#reviewer-closed-table .reviewer-closed-metrics-column,
#reviewer-closed-table th:nth-child(6),
#reviewer-closed-table td:nth-child(6) {
  min-width: 10.5rem;
  width: 10.5rem;
}

#reviewer-closed-table .file-actions-column {
  min-width: 6rem;
  width: 6rem;
}

.closed-file-metrics {
  display: grid;
  gap: 0.55rem;
}

.closed-file-metric {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  line-height: 1.15;
}

.closed-file-metric-icon {
  width: 1.1rem;
  text-align: center;
}

.closed-file-metric-copy,
.closed-file-metric-label,
.closed-file-metric-value,
.closed-file-metric-state {
  display: block;
}

.closed-file-metric-label {
  color: var(--qsrs-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.closed-file-metric-value {
  margin-top: 0.1rem;
}

#reviewer-closed-table .closed-file-metric-value {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.1;
}

#reviewer-closed-table .closed-file-metric-label {
  margin-top: 0.08rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.closed-file-metric-state {
  margin-top: 0.08rem;
  color: var(--qsrs-muted);
  font-size: 0.68rem;
}

.record-link {
  color: var(--qsrs-navy);
  font-weight: 700;
}

.harm-letter {
  display: inline-grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-right: 0.8rem;
  place-items: center;
  color: #fff;
  background: var(--qsrs-purple);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  vertical-align: middle;
}

.heatmap-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 10rem;
  background: #fff;
}

.heatmap-table thead th:first-child {
  background: #eef4f7;
}

.qsrs-branded-shell #page-container.dark-mode .heatmap-table th:first-child {
  color: var(--qsrs-shell-dark-text);
  background: #202a35;
}

.qsrs-branded-shell #page-container.dark-mode .heatmap-table thead th:first-child {
  background: #293746;
}

.heat-cell {
  display: grid;
  width: 100%;
  min-width: 5.4rem;
  min-height: 4.2rem;
  padding: 0.45rem;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  font-weight: 700;
  text-align: center;
}

.heat-cell small {
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
}

.heat-strong {
  color: #0c563c;
  background: #d9f0e6;
  border-style: solid;
}

.heat-expected {
  color: #00527f;
  background: #def1f7;
  border-style: double;
}

.heat-support {
  color: var(--qsrs-warning);
  background: var(--qsrs-warning-bg);
  border-style: dashed;
}

.heat-insufficient {
  color: #454b56;
  background: var(--qsrs-waiting-bg);
  border-style: dotted;
}

.trend-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin: 0.7rem 0;
}

.trend-strip span {
  min-height: 2.5rem;
  padding: 0.45rem 0.2rem;
  color: var(--qsrs-navy);
  background: var(--qsrs-info);
  border-bottom: 0.25rem solid var(--qsrs-blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.visually-hidden-live {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 74rem) {
  .role-workspace-select {
    max-width: 10.5rem;
  }
}

@media (max-width: 56rem) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 42rem) {
  .role-workspace-select {
    min-width: 0;
    max-width: 10.5rem;
  }

  .choice-grid--two {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviewer-responsible-area-focus {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reviewer-dashboard-data,
  .reviewer-dashboard-data.is-updating {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  #page-header,
  #page-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .block {
    break-inside: avoid;
  }
}
