/* Compact landing-page previews; the native dialog owns the full reader. */
html.ex-document-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}
#example-project .ex-doc-viewer {
  min-width: 0;
  margin: 18px 0;
  border: 1px solid #acb7ae;
  background: #d7dcd5;
}
#example-project .ex-doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid #b5beb4;
  background: #f8f9f5;
  color: #233d32;
  font:
    0.8125rem/1.4 "Helvetica Neue",
    Arial,
    sans-serif;
}
#example-project .ex-doc-toolbar button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
#example-project .ex-doc-toolbar button:hover {
  border-color: #b5c1b4;
  background: #e4eae0;
}
#example-project .ex-doc-toolbar button:disabled {
  color: #6b746d;
  cursor: default;
}
#example-project .ex-doc-toolbar a {
  margin-left: auto;
  padding: 6px 8px;
  color: #254c3b;
  font: inherit;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
#example-project .ex-doc-toolbar button:focus-visible,
#example-project .ex-doc-toolbar a:focus-visible,
#example-project .ex-doc-dialog-header button:focus-visible {
  outline: 3px solid #a66231;
  outline-offset: 2px;
}
#example-project .ex-doc-page-count,
#example-project .ex-doc-zoom-value {
  min-width: 45px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
#example-project .ex-doc-scroll {
  height: min(76svh, 760px);
  min-height: 340px;
  max-height: none;
  max-width: 100%;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #d7dcd5;
}
#example-project .ex-doc-scroll:focus-visible {
  outline: 3px solid #a66231;
  outline-offset: -4px;
}
#example-project .ex-doc-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: max-content;
  min-width: 100%;
  padding: 16px;
}
#example-project .ex-doc-page {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 816px;
  min-height: 1056px;
  padding: 52px 62px 36px;
  border: 1px solid #bec5ba;
  background: #fff;
  color: #222;
  box-shadow: 0 3px 10px #172e2b1c;
  font:
    16px/1.5 "Times New Roman",
    Georgia,
    serif;
  overflow-wrap: normal;
}
#example-project .ex-sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #8b998a;
  color: #344b3e;
  font:
    11px/1.4 Arial,
    sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
#example-project .ex-sheet-body {
  flex: 1;
  min-width: 0;
  padding-top: 26px;
}
#example-project .ex-sheet-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid #8b998a;
  color: #455246;
  font:
    10px/1.4 Arial,
    sans-serif;
}
#example-project .ex-doc-page .ex-doc-title {
  margin: 28px 0 30px;
  font:
    32px/1.15 "Times New Roman",
    Georgia,
    serif;
  letter-spacing: -0.025em;
}
#example-project .ex-doc-page .ex-doc-kicker {
  margin: 0 0 10px;
  color: #344b3e;
  font:
    10px/1.4 Arial,
    sans-serif;
  letter-spacing: 0.08em;
}
#example-project .ex-doc-page .ex-doc-meta {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 17px 0;
  font-family: Arial, sans-serif;
}
#example-project .ex-doc-page .ex-doc-meta dt {
  font-size: 10px;
}
#example-project .ex-doc-page .ex-doc-meta dd {
  font-size: 12px;
}
#example-project .ex-doc-page .ex-report-section {
  padding: 0 0 22px;
  border: 0;
}
#example-project .ex-doc-page .ex-report-section h4 {
  margin: 0 0 10px;
  color: #1b3a32;
  font:
    21px/1.2 "Times New Roman",
    Georgia,
    serif;
  letter-spacing: 0;
}
#example-project .ex-doc-page .ex-report-section p,
#example-project .ex-doc-page .ex-report-section li,
#example-project .ex-doc-page .ex-area-ledger dd {
  margin: 0 0 10px;
  color: #222;
  font:
    16px/1.5 "Times New Roman",
    Georgia,
    serif;
}
#example-project .ex-doc-page .ex-area-ledger dt {
  color: #222;
  font:
    bold 16px/1.4 "Times New Roman",
    Georgia,
    serif;
}
#example-project .ex-doc-page .ex-area-ledger > div {
  padding: 0 0 14px;
  border: 0;
}
#example-project .ex-doc-page .ex-figure-note,
#example-project .ex-doc-page .ex-footnote {
  color: #455246;
  font:
    11px/1.5 Arial,
    sans-serif;
}
#example-project .ex-doc-page .ex-table-region {
  max-width: none;
  overflow: visible;
  margin: 14px 0;
  border: 0;
}
#example-project .ex-doc-page table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
  color: #222;
  font:
    11px/1.45 Arial,
    sans-serif;
}
#example-project .ex-doc-page th,
#example-project .ex-doc-page td {
  padding: 8px 6px;
  border: 1px solid #bdc8bd;
  overflow-wrap: anywhere;
}
#example-project .ex-doc-page th {
  background: #edf1e9;
  white-space: normal;
  color: #243e2f;
  font-weight: 600;
}
#example-project .ex-doc-page .ex-campus-results th:nth-child(1) {
  width: 11%;
}
#example-project .ex-doc-page .ex-campus-results th:nth-child(2) {
  width: 21%;
}
#example-project .ex-doc-page .ex-campus-results th:nth-child(3) {
  width: 24%;
}
#example-project .ex-doc-page .ex-campus-results th:nth-child(4) {
  width: 20%;
}
#example-project .ex-doc-page .ex-held-result {
  color: #694824;
}
#example-project[data-example-approved="true"] .ex-doc-page .ex-held-result {
  color: #244c37;
}
#example-project .ex-doc-page .ex-map {
  min-width: 0;
}
#example-project .ex-doc-page .ex-plan-region {
  overflow: visible;
  border: 0;
}
#example-project .ex-doc-page .ex-map-legend {
  font:
    12px/1.7 Arial,
    sans-serif;
}
#example-project .ex-doc-page .ex-site-plan figcaption {
  font:
    11px/1.5 Arial,
    sans-serif;
}
#example-project .ex-contents-ledger {
  display: block;
  margin-top: 38px;
  padding: 22px 0;
  border-block: 1px solid #bdc8bd;
}
#example-project .ex-contents-ledger > span {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 9px;
  border-bottom: 1px dotted #a9b8a5;
  font:
    15px/1.4 "Times New Roman",
    Georgia,
    serif;
}
#example-project .ex-contents-ledger > span:last-child {
  border-bottom: 0;
}
#example-project .ex-coc-page {
  padding-inline: 52px;
  font-family: Arial, sans-serif;
}
#example-project .ex-coc-page .ex-doc-title {
  font-family: Arial, sans-serif;
  font-size: 27px;
  margin: 0 0 20px;
}
#example-project .ex-coc-page .ex-coc-table,
#example-project .ex-coc-page .ex-coc-table tbody {
  display: block;
}
#example-project .ex-coc-page .ex-coc-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#example-project .ex-coc-page .ex-coc-table tbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #aebcca;
  border-left: 1px solid #aebcca;
}
#example-project .ex-coc-page .ex-coc-table tr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: start;
  min-height: 158px;
  padding: 11px;
  border-right: 1px solid #aebcca;
  border-bottom: 1px solid #aebcca;
}
#example-project .ex-coc-page .ex-coc-table td {
  display: block;
  min-width: 0;
  padding: 3px 0;
  border: 0;
  font:
    12px/1.4 Arial,
    sans-serif;
}
#example-project .ex-coc-page .ex-coc-table td::before {
  display: block;
  margin-bottom: 2px;
  color: #52645e;
  content: attr(data-doc-field);
  font:
    9px/1.3 Arial,
    sans-serif;
}
#example-project .ex-coc-page .ex-coc-table td:nth-child(1) {
  grid-column: 1;
}
#example-project .ex-coc-page .ex-coc-table td:nth-child(2) {
  grid-column: 2 / 4;
  font-weight: 600;
}
#example-project .ex-coc-page .ex-coc-table td:nth-child(3),
#example-project .ex-coc-page .ex-coc-table td:nth-child(4),
#example-project .ex-coc-page .ex-coc-table td:nth-child(5) {
  grid-column: 1 / 4;
}
#example-project .ex-coc-page .ex-signature-ledger {
  margin-top: 22px;
}
#example-project .ex-coc-page .ex-signature-ledger > div {
  padding-block: 10px;
  font:
    11px/1.5 Arial,
    sans-serif;
}
#example-project .ex-lab-page {
  font-family: Arial, sans-serif;
}
#example-project .ex-lab-page .ex-doc-title {
  font:
    27px/1.2 Arial,
    sans-serif;
  margin-top: 4px;
}
#example-project .ex-lab-page-meta {
  margin-bottom: 28px;
  color: #455246;
  font:
    12px/1.5 Arial,
    sans-serif;
}
#example-project .ex-lab-page table {
  margin-top: 25px;
  font-size: 12px;
}
#example-project .ex-lab-page th,
#example-project .ex-lab-page td {
  padding: 14px 8px;
}
#example-project[data-documents-enhanced="true"] .ex-lab-compare {
  grid-template-columns: minmax(0, 1fr);
}
#example-project[data-documents-enhanced="true"] .ex-lab-source {
  border-right: 0;
  border-bottom: 1px solid var(--ex-line);
}
#example-project .ex-doc-preview-toolbar {
  gap: 8px;
}
#example-project .ex-doc-preview-toolbar [data-doc-open] {
  margin-left: auto;
  padding-inline: 18px;
  border-color: #0a2e30;
  background: #0a2e30;
  color: #fff;
}
#example-project .ex-doc-preview-toolbar [data-doc-open]:hover {
  background: #163d2e;
  border-color: #163d2e;
}
#example-project .ex-doc-preview-body {
  display: grid;
  grid-template-columns: minmax(120px, 172px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding: 18px 24px;
  background: #eef0e9;
}
#example-project .ex-doc-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 230px;
  min-width: 0;
  overflow: clip;
  pointer-events: none;
  user-select: none;
}
#example-project .ex-doc-thumbnail .ex-doc-page {
  flex-shrink: 0;
  margin: 0;
}
#example-project .ex-doc-summary h3 {
  max-width: 34ch;
  margin: 0 0 12px;
  color: #203d32;
  font:
    normal 1.125rem/1.3 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
}
#example-project .ex-doc-summary p {
  max-width: 58ch;
  margin: 0;
  color: #435b4e;
  font:
    normal 0.875rem/1.65 "Helvetica Neue",
    Arial,
    sans-serif;
}
#example-project .ex-doc-dialog {
  position: fixed;
  inset: 16px;
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #81988a;
  border-radius: 3px;
  background: #d7dcd5;
  color: #233d32;
  box-shadow: 0 18px 80px #10261ed9;
}
#example-project .ex-doc-dialog[open] {
  display: flex;
  flex-direction: column;
}
#example-project .ex-doc-dialog::backdrop {
  background: #0b211bd9;
}
#example-project .ex-doc-dialog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid #a6b5a8;
  background: #f8f9f5;
}
#example-project .ex-doc-dialog-header h2 {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
  color: #203d32;
  font:
    normal 1.125rem/1.3 "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: -0.02em;
}
#example-project .ex-doc-dialog-header button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a7b5a6;
  border-radius: 2px;
  background: #fff;
  color: #233d32;
  font:
    normal 0.8125rem/1.4 "Helvetica Neue",
    Arial,
    sans-serif;
  cursor: pointer;
}
#example-project .ex-doc-dialog-header button:hover {
  background: #e4eae0;
}
#example-project .ex-doc-dialog-body,
#example-project .ex-doc-detail {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
#example-project .ex-doc-detail[hidden] {
  display: none;
}
#example-project .ex-doc-dialog .ex-doc-toolbar {
  flex: 0 0 auto;
}
#example-project .ex-doc-dialog .ex-doc-scroll {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
/* Without enhancement, keep the complete semantic report in normal page flow. */
#example-project:not([data-documents-enhanced="true"]) .ex-report-region {
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}
@media (max-width: 600px) {
  #example-project .ex-doc-toolbar {
    padding: 7px;
    gap: 2px;
  }
  #example-project .ex-doc-toolbar button {
    padding: 6px 8px;
  }
  #example-project .ex-doc-toolbar a {
    margin-left: 0;
  }
  #example-project .ex-doc-preview-toolbar {
    gap: 4px;
  }
  #example-project .ex-doc-preview-toolbar [data-doc-open] {
    flex: 1 1 auto;
    margin-left: 0;
    padding-inline: 12px;
  }
  #example-project .ex-doc-preview-body {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px;
  }
  #example-project .ex-doc-thumbnail {
    flex: 0 0 clamp(76px, 23vw, 108px);
    height: 132px;
    margin-inline: auto;
  }
  #example-project .ex-doc-summary {
    flex: 1 1 9rem;
    min-width: 0;
  }
  #example-project .ex-doc-summary h3 {
    font-size: 1rem;
  }
  #example-project .ex-doc-summary p {
    font-size: 0.8125rem;
    line-height: 1.55;
  }
  #example-project .ex-doc-dialog {
    inset: 6px;
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
  }
  #example-project .ex-doc-dialog-header {
    gap: 10px;
    padding: 8px;
  }
  #example-project .ex-doc-dialog-header h2 {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  #example-project .ex-stage.ex-entering .ex-doc-page:first-child {
    animation: ex-sheet-enter 300ms ease-out;
  }
  @keyframes ex-sheet-enter {
    from {
      opacity: 0.9;
      translate: 0 7px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
