/* Canonical layout and interaction language for Ceangal Health operations tools. */
:root {
  --ops-header-height: 68px;
  --ops-workspace-header-height: 110px;
  --ops-content-width: 1440px;
  --ops-workspace-width: 1680px;
  --ops-panel-width: 430px;
  --ops-gap: 36px;
  --ops-radius: 8px;
  --ops-line: rgba(0, 95, 129, .14);
  --ops-shadow: 0 18px 46px rgba(0, 31, 48, .08);
  --ops-toolbar-shadow: 0 10px 30px rgba(0, 31, 48, .07);
  --ops-motion: cubic-bezier(.22, .72, .2, 1);
  /* Site-wide layer contract. New tools must use these tokens or data-ops-layer. */
  --ops-z-sticky: 100;
  --ops-z-popover: 300;
  --ops-z-dialog: 600;
  --ops-z-context-drawer: 700;
  --ops-z-toast: 900;
  --ops-z-global-backdrop: 1100;
  --ops-z-global-drawer: 1110;
}

/*
 * Global overlay order, shared by every operations tool:
 * content < sticky UI < popovers < dialogs < contextual drawers < toasts
 * < global navigation backdrop < global Tools drawer.
 */
:where([data-ops-layer="sticky"], .ops-layer-sticky) {
  z-index: var(--ops-z-sticky) !important;
}

:where([data-ops-layer="popover"], .ops-layer-popover, .custom-select-menu, .row-menu-popover, .proposal-actions details > div) {
  z-index: var(--ops-z-popover) !important;
}

:where([data-ops-layer="dialog"], .ops-layer-dialog, .report-modal, .modal-backdrop) {
  z-index: var(--ops-z-dialog) !important;
}

:where([data-ops-layer="context-drawer"], .ops-layer-context-drawer, .review-drawer) {
  z-index: var(--ops-z-context-drawer) !important;
}

:where([data-ops-layer="toast"], .ops-layer-toast, .toast) {
  z-index: var(--ops-z-toast) !important;
}

:where(.drawer-backdrop, .tools-drawer-backdrop) {
  z-index: var(--ops-z-global-backdrop) !important;
}

.tools-drawer {
  z-index: var(--ops-z-global-drawer) !important;
}

/* The global operations header always remains visible above tool workspaces. */
.app-header {
  z-index: var(--ops-z-toast) !important;
}

.report-modal {
  inset: var(--ops-header-height) 0 0 !important;
}

/* Dashboard frame */
:where(.dashboard, .proposal-dashboard) {
  width: 100%;
  max-width: var(--ops-content-width);
  margin: 0 auto;
  padding: calc(var(--ops-header-height) + clamp(42px, 6vw, 76px)) clamp(24px, 5vw, 72px) 80px;
}

:where(.page-heading, .proposal-dashboard-heading) {
  display: flex;
  min-height: 76px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

:where(.page-heading, .proposal-dashboard-heading) h1 {
  margin: 0 0 9px;
  font-size: clamp(2.5rem, 3.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.055em;
}

:where(.page-heading, .proposal-dashboard-heading) p {
  margin: 0;
  color: #66757b;
  line-height: 1.5;
}

:where(.metrics, .proposal-metrics) {
  display: grid;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: var(--ops-radius);
  background: #fff;
}

.metrics { grid-template-columns: repeat(4, 1fr); }
.proposal-metrics { grid-template-columns: repeat(5, 1fr); }

:where(.metrics, .proposal-metrics) > :where(article, button) {
  min-height: 110px;
  padding: 24px 28px;
  border: 0;
  border-right: 1px solid var(--ops-line);
  border-radius: 0;
  background: #fff;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease;
}

:where(.metrics, .proposal-metrics) > :where(article, button):last-child { border-right: 0; }
:where(.metrics, .proposal-metrics) > button:hover { background: #f7fbfc; }
:where(.metrics, .proposal-metrics) > button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #32ccc4;
  outline-offset: -2px;
}
:where(.metrics, .proposal-metrics) > button.active {
  background: #f3fbfb;
  box-shadow: inset 0 3px #32ccc4;
}

:where(.metrics, .proposal-metrics) span {
  display: block;
  color: #66757b;
  font-size: .75rem;
}

:where(.metrics, .proposal-metrics) strong {
  display: block;
  margin-top: 8px;
  color: #00384d;
  font-size: 2rem;
  letter-spacing: -.04em;
}

:where(.register, .proposal-register) {
  margin-top: 24px;
  overflow: visible;
  border: 1px solid var(--ops-line);
  border-radius: var(--ops-radius);
  background: #fff;
}

:where(.register-head, .proposal-register > header) {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--ops-line);
  background: #fff;
}

/* Filter values stay on one line so long selections never resize the toolbar. */
:where(.filters, .proposal-filters) .custom-select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.register-head .filters .custom-select:first-of-type {
  width: 190px;
}

/* Canonical compact overflow-menu trigger. It must never inherit accordion markers. */
.ops-more-menu {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
}

.ops-more-menu > summary {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  place-items: center;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 6px;
  background: #edf4f6;
  color: #005f81;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  list-style: none;
  cursor: pointer;
}

.ops-more-menu > summary::after,
.ops-more-menu[open] > summary::after {
  display: none !important;
  content: none !important;
}

.ops-more-menu > summary::-webkit-details-marker { display: none; }

.ops-more-menu > summary:hover,
.ops-more-menu > summary:focus-visible,
.ops-more-menu[open] > summary {
  outline: 0;
  background: #005f81;
  color: #fff;
}

/* One menu-item type treatment across every dashboard register. */
.ops-more-menu > div > :where(button, a) {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 5px;
  color: #005f81;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  white-space: nowrap;
}

.ops-more-menu > div > :where(button, a):hover,
.ops-more-menu > div > :where(button, a):focus-visible {
  outline: 0;
  background: #edf8f8;
}

:where(.register-head, .proposal-register > header) h2 {
  margin: 0 0 4px;
  color: #00384d;
  font-size: 1.25rem;
}

:where(.register-head, .proposal-register > header) p {
  margin: 0;
  color: #66757b;
  font-size: .84rem;
}

:where(.filters, .proposal-filters) {
  display: flex;
  align-items: center;
  gap: 9px;
}

:where(.filters, .proposal-filters) input[type="search"] {
  width: 245px;
  min-height: 42px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(0, 95, 129, .16);
  border-radius: var(--ops-radius);
  background: #fff;
}

/* Editor workspace */
:where(.workspace-header, .report-workspace-header) {
  display: flex;
  min-height: var(--ops-workspace-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(24px, 4vw, 60px);
  border-bottom: 1px solid var(--ops-line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 28px rgba(0, 31, 48, .06);
}

:where(.workspace-header, .report-workspace-header) h1,
.report-workspace-header h2,
.report-workspace-header h1 {
  margin: 5px 0 2px;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.035em;
}

:where(.workspace-header, .report-workspace-header) p {
  margin: 0;
  color: #66757b;
  font-size: .75rem;
  line-height: 1.4;
}

.proposal-workspace-back { margin-bottom: 0; }

:where(.workspace-actions, .report-workspace-actions) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-link {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: #005f81;
  font-size: .76rem;
  font-weight: 750;
}

:where(.workspace-grid, .report-workspace-layout) {
  display: grid;
  width: 100%;
  max-width: var(--ops-workspace-width);
  margin: 0 auto;
  grid-template-columns: minmax(370px, var(--ops-panel-width)) minmax(700px, 1fr);
  gap: var(--ops-gap);
  padding: 30px clamp(24px, 4vw, 60px) 70px;
}

@media (min-width: 1051px) {
  .workspace:not([hidden]) {
    inset: var(--ops-header-height) 0 0;
  }
}

:where(.editor-pane, .report-editor) {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--ops-line);
  border-radius: var(--ops-radius);
  background: #fff;
  box-shadow: var(--ops-shadow);
}

/* Accordion sections are structural rows, never form-grid columns. */
.report-editor-grid,
.workspace-accordion-list {
  display: block;
  width: 100%;
  min-width: 0;
}

:where(.editor-title, .report-editor-heading) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ops-line);
}

:where(.editor-title h2, .report-editor-heading h3) {
  margin: 0;
  color: #111;
  font-size: 1.15rem;
  letter-spacing: -.04em;
}

.status-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 160px);
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: var(--ops-radius);
  background: #f4f8f9;
  font-size: .78rem;
  font-weight: 750;
}

.status-row label { margin: 0; align-self: center; }
.status-row > :last-child { width: 100%; min-width: 0; }
.status-row select {
  min-height: 38px;
  border: 1px solid var(--ops-line);
  border-radius: 6px;
  background-color: #fff;
  padding: 9px 36px 9px 10px;
}

/* Preview toolbar and page stage */
:where(.preview-toolbar, .proposal-preview-toolbar) {
  position: sticky;
  top: 0;
  z-index: var(--ops-z-sticky);
  display: flex;
  height: 60px;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 18px;
  padding: 12px 18px;
  border: 1px solid var(--ops-line);
  border-radius: var(--ops-radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--ops-toolbar-shadow);
  backdrop-filter: blur(14px);
}

:where(.preview-context, .proposal-preview-context) {
  display: grid;
  min-width: 210px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1px 9px;
  padding: 2px 14px;
  border-left: 2px solid #32ccc4;
}

:where(.preview-context, .proposal-preview-context) > span {
  grid-row: 1 / 3;
  color: #00997e;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:where(.preview-context, .proposal-preview-context) > strong {
  margin: 0;
  color: #00384d;
  font-size: .76rem;
}

:where(.preview-context, .proposal-preview-context) > small {
  color: #66757b;
  font-size: .62rem;
}

:where(.page-indicator, .proposal-preview-controls) {
  display: flex;
  align-items: center;
  gap: 7px;
}

:where(.page-indicator, .proposal-preview-controls) > span {
  margin-right: 8px;
  white-space: nowrap;
}

:where(.page-indicator, .proposal-preview-controls) button {
  display: grid;
  width: 30px;
  height: 30px;
  min-height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #edf4f6;
  padding: 0;
  color: #005f81;
}

:where(.page-indicator, .proposal-preview-controls) button:hover { background: #dfecef; }

:where(.page-indicator, .proposal-preview-controls) output {
  min-width: 44px;
  text-align: center;
  color: #005f81;
  font-size: .72rem;
  font-weight: 750;
}

:where(.preview-toolbar, .proposal-preview-toolbar) span,
:where(.preview-toolbar, .proposal-preview-toolbar) small,
:where(.preview-toolbar, .proposal-preview-toolbar) strong {
  line-height: 1.2;
}

:where(.fit-button, .proposal-fit-button) {
  width: auto !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: .7rem;
  font-weight: 800;
}

:where(.fit-button, .proposal-fit-button).active {
  background: #005f81 !important;
  color: #fff !important;
}

.report-preview-wrap,
.preview-shell {
  min-width: 0;
}

.report-preview-wrap {
  padding: 0 0 70px;
}

.document-stack,
.proposal-document-stack {
  display: grid;
  justify-items: start;
  gap: 28px;
  overflow: hidden;
  padding: 28px 18px 70px;
}

.paper {
  margin-bottom: 0 !important;
  transform: none !important;
  zoom: var(--zoom);
}

/* The A4 content recipe is media-independent. Print only changes chrome,
   zoom, and page-container geometry so preview and export remain identical. */
.proposal-report {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  box-sizing: border-box;
  aspect-ratio: auto;
  margin: 0;
  padding: 14mm 15mm 10mm;
  border: 0;
  border-radius: 0;
  box-shadow: 0 28px 65px rgba(0, 31, 48, .16);
  transform: none !important;
  zoom: var(--zoom, 1);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.proposal-report,
.proposal-report * {
  box-sizing: border-box;
}

.proposal-report-title { padding: 5mm 0 4mm; }
.proposal-report-body {
  min-height: 0;
  overflow: hidden;
}
.proposal-report-header {
  display: grid;
  min-height: 18mm;
  grid-template-columns: 33mm minmax(0, 1fr);
  align-items: start;
  gap: 8mm;
  padding: 0 0 4mm;
  border-bottom: 1px solid #d9e5e8;
}
.proposal-report-header img {
  display: block;
  width: 31mm;
  height: 14mm;
  object-fit: contain;
  object-position: left center;
}
.proposal-letterhead-meta {
  align-self: start;
  padding-top: 1mm;
}
.proposal-report-header span,
.proposal-meta span,
.proposal-option span,
.proposal-next-step > span,
.proposal-report-footer span { font-size: 7pt; }
.proposal-report-header strong { font-size: 9pt; }
.proposal-letterhead-meta small { font-size: 6.5pt; }
.proposal-report-title > p { margin-bottom: 2mm; font-size: 7.5pt; }
.proposal-report-title h1 { font-size: 25pt; line-height: 1.05; letter-spacing: -.04em; }
.proposal-meta {
  gap: 4mm;
  margin-top: 4mm;
  padding: 3.2mm 4mm;
  border-left-width: 1.2mm;
  box-shadow: none;
}
.proposal-meta > div { gap: 1mm; }
.proposal-meta strong { font-size: 8.5pt; line-height: 1.25; }
.proposal-meta small { font-size: 6.8pt; }
.proposal-intro {
  margin: 0 0 3mm;
  font-size: 8.15pt;
  line-height: 1.52;
}
.proposal-section { margin-top: 2mm; }
.proposal-section-heading {
  margin-bottom: 2mm;
  padding-bottom: 1.5mm;
}
.proposal-section-heading h2 { font-size: 12.5pt; }
.proposal-option-grid { gap: 3mm; }
.proposal-option {
  display: flex;
  min-height: 30mm;
  flex-direction: column;
  padding: 3.2mm;
  box-shadow: none;
}
.proposal-option-top { gap: 2mm; }
.proposal-option-top > span { font-size: 7pt; }
.proposal-option-top strong { font-size: 9pt; line-height: 1.25; }
.proposal-option > p {
  min-height: 5mm;
  margin: 1.5mm 0 2mm;
  font-size: 7pt;
  line-height: 1.4;
}
.proposal-option-amount {
  margin-top: auto;
  gap: .8mm;
  padding-top: 2mm;
}
.proposal-option-amount strong { font-size: 12pt; }
.proposal-option-details {
  gap: 2.5mm;
  margin-top: 2mm;
}
.proposal-option-details > div { gap: .7mm; }
.proposal-option-details span { font-size: 6.5pt; }
.proposal-option-details strong { font-size: 7pt; }
.proposal-option-schedule {
  overflow: hidden;
  border: 1px solid #d9e5e8;
  border-radius: 2mm;
}
.proposal-fee-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.proposal-fee-table .fee-structure { width: 37%; }
.proposal-fee-table .fee-appointment { width: 19%; }
.proposal-fee-table .fee-monthly { width: 15%; }
.proposal-fee-table .fee-term { width: 11%; }
.proposal-fee-table .fee-total { width: 18%; }
.proposal-fee-table th,
.proposal-fee-table td {
  padding: 2.2mm 2.4mm;
  border-bottom: 1px solid #d9e5e8;
  text-align: left;
  vertical-align: middle;
}
.proposal-fee-table th {
  background: #f6fafb;
  color: #68777c;
  font-size: 6.5pt;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.proposal-fee-table td {
  color: #182126;
  font-size: 7.2pt;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.proposal-fee-table th:not(:first-child),
.proposal-fee-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}
.proposal-fee-table tbody tr:last-child td { border-bottom: 0; }
.proposal-fee-table tbody tr.is-allocation td:first-child { box-shadow: inset 1mm 0 #32ccc4; }
.proposal-fee-table tbody tr.is-allocation { background: rgba(50, 204, 196, .035); }
.fee-option-title {
  display: flex;
  align-items: baseline;
  gap: 2mm;
}
.fee-option-title span {
  color: #00997e;
  font-size: 7pt;
  font-weight: 850;
}
.fee-option-title strong {
  color: #005f81;
  font-size: 8pt;
}
.proposal-fee-table td small {
  display: block;
  margin-top: .8mm;
  color: #66757b;
  font-size: 6.4pt;
  line-height: 1.3;
}
.proposal-fee-table td:last-child strong { color: #005f81; font-size: 7.4pt; }
.proposal-terms ul {
  padding-left: 4mm;
  font-size: 7.2pt;
  line-height: 1.42;
}
.proposal-next-step {
  margin-top: 3mm;
  padding: 3mm 4mm;
  border-left-width: 1.2mm;
}
.proposal-next-step > p { margin: 1mm 0 2mm; font-size: 7.8pt; line-height: 1.42; }
.proposal-selection { gap: 4mm; }
.proposal-selection > div { min-height: 9mm; font-size: 6.5pt; }
.proposal-report-footer {
  position: static;
  margin-top: 0;
  padding-top: 3mm;
  font-size: 7pt;
}
.proposal-report .proposal-report-footer > div:last-child {
  background: transparent !important;
  color: inherit !important;
}

/* Shared focus lens and editorial marker. */
:where(#documentStack .paper, .proposal-report-body) > * {
  transition: opacity 260ms ease, filter 260ms ease;
}

:where(#documentStack .preview-page-active, .proposal-report.preview-page-active > .proposal-report-body) > *:not(.preview-related):not(.preview-primary):not(.draft-watermark) {
  opacity: .48;
  filter: saturate(.72);
}

:where(#documentStack .preview-page-active, .proposal-report.preview-page-active > .proposal-report-body) > :is(.preview-related, .preview-primary) {
  opacity: 1;
  filter: none;
}

/* Letterheads and footers anchor the page and never participate in focus dimming. */
.proposal-report.preview-page-active > .proposal-report-header,
.proposal-report.preview-page-active > .proposal-report-footer {
  opacity: 1 !important;
  filter: none !important;
}

:where(#documentStack .preview-marker, .proposal-report .preview-marker)::before {
  position: absolute;
  top: 0;
  content: "";
  left: -7.2mm;
  width: .45mm;
  height: var(--focus-span, 100%);
  min-height: 7mm;
  border-radius: 999px;
  background: #00997e;
  box-shadow: 0 0 0 .85mm rgba(50, 204, 196, .08);
}

:where(#documentStack .preview-marker, .proposal-report .preview-marker) { position: relative; }

@media (max-width: 1220px) {
  :where(.preview-context, .proposal-preview-context) { display: none; }
}

@media (max-width: 1050px) {
  :where(.workspace-grid, .report-workspace-layout) { grid-template-columns: 1fr; }
  :where(.editor-pane, .report-editor) { height: auto; overflow: visible; }
  .proposal-report { transform-origin: top left; }
  :where(.report-preview-wrap, .preview-shell) { overflow: auto; }
  .register,
  .proposal-register { overflow: hidden; }
  .table-wrap,
  .proposal-table-wrap { overflow: auto; }
}

@media (max-width: 700px) {
  :where(.page-heading, .proposal-dashboard-heading, .register-head, .proposal-register > header, .workspace-header, .report-workspace-header) {
    align-items: stretch;
    flex-direction: column;
  }

  :where(.dashboard, .proposal-dashboard) { padding: 124px 18px 50px; }
  .metrics,
  .proposal-metrics { grid-template-columns: 1fr 1fr; }
  .metrics > :where(article, button):nth-child(even),
  .proposal-metrics > :where(article, button):nth-child(even) { border-right: 0; }
  :where(.filters, .proposal-filters, .workspace-actions, .report-workspace-actions) { flex-wrap: wrap; }
  :where(.filters, .proposal-filters) > * { width: 100% !important; }
  :where(.workspace-grid, .report-workspace-layout) { padding: 18px 12px; }
  :where(.preview-toolbar, .proposal-preview-toolbar) { height: auto; align-items: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  :where(.metrics, .proposal-metrics) > button,
  :where(#documentStack .paper, .proposal-report) > * { transition: none !important; }
}

/* Desktop preview shell contract: toolbar is a fixed row; only pages scroll. */
@media (min-width: 1051px) {
  :where(.report-preview-wrap, .preview-shell) {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden !important;
    padding-bottom: 0;
  }

  :where(.proposal-preview-toolbar, .preview-toolbar) {
    position: relative !important;
    top: auto !important;
    z-index: var(--ops-z-sticky);
    flex: 0 0 60px;
    margin: 0 0 18px;
    pointer-events: auto;
  }

  :where(.proposal-preview-controls, .page-indicator),
  :where(.proposal-preview-controls, .page-indicator) * {
    pointer-events: auto;
  }

  :where(.proposal-document-stack, .document-stack) {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .proposal-document-stack {
    --zoom: 1;
    justify-items: center;
    align-content: start;
    background: #f4f7f8;
  }

  .proposal-document-stack > .proposal-report.paper {
    width: 210mm !important;
    height: 297mm !important;
    min-width: 210mm;
    min-height: 297mm;
    flex: none;
    border: 1px solid rgba(0, 95, 129, .1);
    background: #fff;
    box-shadow: 0 28px 65px rgba(0, 31, 48, .16);
    zoom: var(--zoom) !important;
  }
}

@media print {
  @page { size: A4 portrait; margin: 0; }

  .ops-preview-chrome,
  .preview-toolbar,
  .proposal-preview-toolbar {
    display: none !important;
  }

  html,
  body {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .report-modal,
  .report-workspace,
  .report-workspace-layout,
  .report-preview-wrap,
  .proposal-document-stack {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .report-modal,
  .report-workspace {
    position: static !important;
    inset: auto !important;
  }

  .proposal-document-stack {
    display: block !important;
  }

  .proposal-report {
    width: 210mm;
    height: 297mm;
    min-height: 297mm;
    margin: 0;
    padding: 9mm 11mm 8mm;
    box-shadow: none;
    transform: none !important;
    zoom: 1;
    break-after: avoid-page;
    page-break-after: avoid;
    overflow: hidden;
  }

  .paper { zoom: 1; }
}
