/* One theme for listing and detail pages in every generated snapshot. */
:root {
  --font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,sans-serif;
  --font-content:13px;
  --font-label:12px;
  --font-section:17px;
  --color-brand:#103553;
  --color-accent:#157586;
  --color-page:#f3f6fa;
  --color-surface:#fff;
  --color-soft:#f4f7fb;
  --color-text:#20334b;
  --color-muted:#65768b;
  --color-border:#e1e8ef;
  --color-success:#347255;
  --surface-success:#eaf6ef;
  --color-warning:#87671f;
  --surface-warning:#fff8e6;
  --color-danger:#a55d50;
  --surface-danger:#fcf0ed;
  --radius-card:11px;
  --radius-control:6px;
  --shadow-card:0 3px 12px #17365203;
}
* {
  box-sizing:border-box;
}
html {
  color-scheme:light;
}
body {
  margin:0;
  background:var(--color-page);
  color:var(--color-text);
  font-family:var(--font-family);
  font-size:14px;
  line-height:1.65;
}
.preview-banner {
  padding:10px 20px;
  background:#fff1cd;
  color:#704b00;
  border-bottom:1px solid #e8cf88;
  text-align:center;
  font-weight:600;
}
.json-status {
  padding:24px;
  background:#fff;
  border:1px solid #e4eaf0;
  border-radius:12px;
}
.attachment-unavailable {
  color:#6a7180;
}
.attachment-unavailable small {
  display:block;
  color:#875e10;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,select {
  font:inherit;
}
button,select {
  cursor:pointer;
}
button {
  color:inherit;
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #39a9c5;
  outline-offset:4px;
}
[hidden] {
  display:none!important;
}
.icon {
  width:20px;
  height:20px;
  flex-shrink:0;
  vertical-align:middle;
}
.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link:focus {
  position:fixed;
  top:10px;
  left:10px;
  padding:10px;
  background:white;
  z-index:10;
}
.demo-banner {
  text-align:center;
  background:#fff3d7;
  color:#866322;
  font-size:11px;
  font-weight:600;
  padding:6px 12px;
  letter-spacing:.1px;
}
.site-header {
  background:#fff;
  border-bottom:1px solid #e4eaf0;
}
.header-inner {
  max-width:1320px;
  min-height:92px;
  margin:auto;
  padding:18px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand {
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.brand-logo {
  display:block;
  width:224px;
  height:64px;
  object-fit:contain;
}
.header-end {
  display:flex;
  align-items:center;
  gap:26px;
}
.header-label {
  font-size:12px;
  color:#65768b;
}
.languages {
  display:flex;
  gap:3px;
  border:1px solid #e0e7ef;
  padding:4px;
  border-radius:8px;
}
.languages a {
  font-size:11px;
  font-weight:700;
  padding:5px 10px;
  border-radius:4px;
  color:#728095;
}
.languages .chosen {
  background:var(--color-brand);
  color:white;
}
.hero {
  background:var(--color-brand);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero:after {
  content:"";
  position:absolute;
  right:-100px;
  top:-235px;
  width:620px;
  height:620px;
  border:1px solid #ffffff0a;
  border-radius:50%;
  box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff02;
  pointer-events:none;
}
.hero-inner {
  max-width:1320px;
  margin:auto;
  padding:36px 40px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
  position:relative;
  z-index:1;
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  margin:0 0 10px;
  color:#7993a9;
}
.hero .eyebrow {
  color:#8fc5ce;
}
.hero h1 {
  font-size:30px;
  line-height:1.5;
  font-weight:650;
  margin:0;
  letter-spacing:-.4px;
}
.hero-description {
  margin:7px 0 0;
  font-size:13px;
  color:#adc5d7;
}
.snapshot {
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:220px;
  padding-left:28px;
  border-left:1px solid #ffffff24;
  font-size:11px;
  color:#b2c8d8;
}
.snapshot>.icon {
  margin-top:4px;
  color:#7eb8c4;
}
.snapshot strong {
  display:block;
  color:#fff;
  font-size:14px;
  font-weight:550;
  letter-spacing:.4px;
  margin:3px 0;
}
.snapshot small {
  display:block;
  color:#91acbf;
  font-size:10px;
}
.main-shell {
  max-width:1320px;
  margin:0 auto;
  padding:28px 40px 36px;
}
.stats {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px;
}
.stat {
  position:relative;
  background:#fff;
  border:1px solid #e1e8f0;
  border-radius:10px;
  padding:20px 20px 17px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto auto;
  column-gap:10px;
  transition:border-color .15s,transform .15s;
}
.stat:hover {
  border-color:#88aeba;
  transform:translateY(-2px);
}
.stat.selected {
  border-color:#5399ae;
  box-shadow:0 0 0 1px #5399ae12;
}
.stat-icon {
  grid-column:2;
  grid-row:1/4;
  align-self:center;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:10px;
  background:#eef4fa;
  color:#426e90;
}
.stat.selected .stat-icon {
  background:#e6f5f3;
  color:#228b85;
}
.stat-label {
  font-size:12px;
  color:#6c7c8e;
  font-weight:500;
}
.stat strong {
  font-size:30px;
  line-height:1.3;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  letter-spacing:-1px;
  color:#153c59;
  margin-top:7px;
}
.stat-unit {
  font-size:10px;
  color:#8d9aa8;
}
.section-tabs {
  display:flex;
  gap:25px;
  border-bottom:1px solid #dce4ed;
  margin-bottom:24px;
  padding:0 1px;
  overflow:auto;
  scrollbar-width:thin;
}
.tab {
  display:flex;
  align-items:center;
  gap:9px;
  flex-shrink:0;
  padding:0 3px 14px;
  color:#738294;
  font-size:13px;
  position:relative;
  white-space:nowrap;
}
.tab>.icon {
  width:17px;
  height:17px;
}
.tab.active {
  color:var(--color-accent);
  font-weight:650;
}
.tab.active:after {
  content:"";
  height:3px;
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:var(--color-accent);
  border-radius:4px 4px 0 0;
}
.tab-count {
  background:#e7ecf3;
  border-radius:5px;
  min-width:21px;
  text-align:center;
  padding:0 5px;
  font-size:10px;
  color:#7c8b9a;
}
.tab.active .tab-count {
  background:#dcefee;
  color:#277c80;
}
.data-panel {
  background:white;
  border:1px solid var(--color-border);
  border-radius:var(--radius-card);
  overflow:hidden;
  box-shadow:var(--shadow-card);
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:25px 26px 19px;
  gap:16px;
}
.panel-heading .eyebrow {
  font-size:9px;
  margin-bottom:6px;
  color:#8394a6;
  letter-spacing:1.6px;
}
.panel-heading h2 {
  font-size:var(--font-section);
  font-weight:650;
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:#1a3854;
}
.total-badge {
  background:#edf3f8;
  border:1px solid #e2eaf3;
  color:#57748e;
  border-radius:6px;
  padding:0 7px;
  font-size:11px;
  font-weight:600;
  line-height:22px;
}
.publication-note {
  display:flex;
  gap:7px;
  align-items:center;
  font-size:10px;
  color:#8293a1;
}
.publication-note>span {
  width:6px;
  height:6px;
  background:#50a294;
  border-radius:50%;
}
.table-controls {
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 26px 22px;
}
.search-field {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid #dfe6ed;
  background:#fbfcfe;
  border-radius:6px;
  padding:0 12px;
  min-height:42px;
  flex:1;
  min-width:160px;
}
.search-field .icon {
  width:17px;
  height:17px;
  color:#97a7b8;
}
.search-field input {
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  padding:10px 0;
  font-size:12px;
  color:#344b61;
  outline-offset:1px;
}
.search-field input::placeholder {
  color:#98a5b3;
}
.select-field {
  display:flex;
  align-items:center;
  border:1px solid #dfe6ed;
  border-radius:6px;
  height:42px;
  padding-left:12px;
  background:white;
  gap:6px;
}
.select-field>span {
  font-size:11px;
  color:#8494a6;
}
.select-field select {
  border:0;
  color:#405c73;
  background:transparent;
  padding:8px 25px 8px 4px;
  max-width:190px;
  font-size:12px;
}
.reset-button {
  border:0;
  background:transparent;
  white-space:nowrap;
  font-size:11px;
  color:#8293a4;
  padding:8px;
}
.reset-button:hover {
  color:var(--color-accent);
}
.table-scroll {
  overflow-x:auto;
}
.records-table {
  width:100%;
  border-collapse:collapse;
  min-width:820px;
  font-size:12px;
}
.records-table caption {
  font-size:14px;
}
.records-table thead {
  background:var(--color-soft);
  border-top:1px solid #e8edf3;
  border-bottom:1px solid #e6ecf3;
}
.records-table th {
  font-size:10px;
  color:#6c8095;
  font-weight:600;
  text-align:left;
  white-space:nowrap;
  vertical-align:middle;
}
.records-table th button {
  border:0;
  padding:14px 16px;
  background:transparent;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:inherit;
  font-weight:inherit;
  color:inherit;
}
.records-table th:first-child button,.records-table td:first-child {
  padding-left:26px;
}
.records-table th:last-child button,.records-table td:last-child {
  padding-right:26px;
}
.records-table th .icon {
  width:12px;
  height:12px;
  color:#a8b8c7;
}
.records-table th[aria-sort=ascending] .icon,.records-table th[aria-sort=descending] .icon {
  color:#157586;
}
.records-table td {
  padding:19px 16px;
  border-bottom:1px solid #edf1f5;
  vertical-align:middle;
  color:var(--color-text);
}
.records-table tbody tr:nth-child(even) {
  background:#fcfdff;
}
.records-table tbody tr:hover {
  background:#f6fafc;
}
.records-table tbody tr:last-child td {
  border-bottom:0;
}
.reference {
  font-size:10px;
  display:block;
  font-weight:650;
  color:#526e87;
  min-width:105px;
  overflow-wrap:anywhere;
}
.date-cell {
  font-size:11px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  color:#75889b;
}
.project-link {
  font-weight:550;
  color:#274d6a;
  font-size:12px;
  line-height:1.7;
  display:flex;
  gap:12px;
  justify-content:space-between;
  min-width:240px;
  max-width:440px;
}
.project-link>.icon {
  width:14px;
  height:14px;
  color:#a1b7c7;
  margin-top:4px;
  opacity:.65;
}
.project-link:hover {
  color:var(--color-accent);
}
.project-link:hover>.icon {
  opacity:1;
  color:var(--color-accent);
}
.attachment-count {
  font-size:9px;
  color:#92a2b1;
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:6px;
}
.attachment-count .icon {
  width:11px;
  height:11px;
}
.amount {
  display:block;
  text-align:right;
  font-size:11px;
  color:#3c566f;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.category-badge {
  display:inline-block;
  background:#eef4f9;
  color:#5a7c95;
  font-size:9px;
  line-height:1.6;
  padding:4px 7px;
  border-radius:4px;
  max-width:150px;
}
.status-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:20px;
  padding:4px 9px;
  font-size:10px;
  white-space:nowrap;
}
.status-badge>span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}
.status-badge.success {
  background:var(--surface-success);
  color:var(--color-success);
}
.status-badge.cancelled {
  background:var(--surface-danger);
  color:var(--color-danger);
}
.table-footer {
  padding:18px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #e7edf3;
  gap:18px;
  flex-wrap:wrap;
}
.table-summary {
  font-size:11px;
  color:#8898a8;
}
.pagination-tools {
  display:flex;
  align-items:center;
  gap:24px;
}
.pagination-tools>label {
  display:flex;
  gap:7px;
  align-items:center;
  font-size:10px;
  color:#8b99a7;
}
.pagination-tools select {
  border:1px solid #e1e8ee;
  background:white;
  border-radius:5px;
  color:#597086;
  font-size:11px;
  padding:5px 8px;
}
.pagination,.page-buttons {
  display:flex;
  gap:5px;
}
.pagination button {
  min-width:29px;
  height:29px;
  border:1px solid #e2e9f1;
  border-radius:5px;
  background:white;
  color:#6e8296;
  font-size:11px;
}
.pagination button[aria-current=page] {
  background:#174765;
  color:white;
  border-color:#174765;
}
.pagination button:disabled {
  opacity:.35;
  cursor:default;
}
.pagination button:not(:disabled):hover {
  border-color:#4796a6;
}
.empty-state {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:36px 16px;
  color:#98a8b8;
}
.empty-state>.icon {
  width:32px;
  height:32px;
  margin-bottom:8px;
}
.empty-state strong {
  font-size:14px;
  color:#637a90;
}
.empty-state span {
  font-size:12px;
}
.site-footer {
  max-width:1320px;
  margin:0 auto;
  padding:0 40px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#8a9aa9;
  font-size:10px;
}
.site-footer>div {
  display:flex;
  align-items:center;
  gap:14px;
}
.site-footer strong {
  font-size:12px;
  letter-spacing:1px;
  color:#557088;
}
.site-footer p {
  display:flex;
  align-items:center;
  gap:6px;
  margin:0;
}
.site-footer .icon {
  width:13px;
  height:13px;
}
.footer-dot {
  padding:0 4px;
}
.detail-content {
  background:white;
  border:1px solid var(--color-border);
  border-radius:var(--radius-card);
  padding:30px;
}
.detail-content dl {
  display:grid;
  grid-template-columns:minmax(170px,25%) minmax(0,1fr);
  margin:0 0 28px;
}
.detail-content dt,.detail-content dd {
  margin:0;
  padding:15px 18px;
  border-bottom:1px solid #eaf0f5;
  font-size:13px;
}
.detail-content dt {
  font-weight:550;
  color:#70869b;
  background:#f8fafc;
}
.detail-content dd {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:#354f67;
}
.detail-content>p {
  padding:0 18px;
  font-size:13px;
  color:#668096;
}
.detail-content a {
  color:#21718a;
  text-decoration:underline;
  text-underline-offset:3px;
}
.attachments {
  list-style:none;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:0 18px;
  margin:20px 0;
}
.attachments li {
  border:1px solid #dfe9f0;
  border-radius:6px;
  padding:10px 14px;
  font-size:12px;
  background:#f9fbfd;
}
.detail-back {
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin-bottom:20px;
  color:#628199;
  font-size:12px;
}
.detail-back:hover {
  color:var(--color-accent);
}
.noscript-note {
  padding:0 26px;
  color:#71869b;
  font-size:12px;
}
@media(min-width:1500px) {
  .header-inner,.hero-inner,.main-shell,.site-footer {
    max-width:1440px;
  }
}
@media(max-width:1050px) {
  .header-label {
    display:none;
  }
  .header-inner,.hero-inner {
    padding-left:26px;
    padding-right:26px;
  }
  .main-shell {
    padding:24px 26px 30px;
  }
  .site-footer {
    padding-left:26px;
    padding-right:26px;
  }
  .section-tabs {
    gap:18px;
  }
  .tab {
    font-size:12px;
  }
  .stat {
    padding:16px;
  }
  .stat-label {
    font-size:11px;
  }
  .stat-icon {
    width:34px;
    height:34px;
  }
  .table-controls {
    flex-wrap:wrap;
  }
  .search-field {
    flex-basis:45%;
  }
  .hero h1 {
    font-size:26px;
  }
  .snapshot {
    min-width:190px;
  }
  .site-footer>div>span {
    display:none;
  }
}
@media(max-width:650px) {
  .header-inner {
    min-height:78px;
    padding:16px 20px;
    gap:10px;
  }
  .brand-logo {
    width:175px;
    height:50px;
  }
  .languages {
    padding:3px;
  }
  .languages a {
    padding:4px 7px;
  }
  .hero-inner {
    padding:26px 20px 28px;
    display:block;
  }
  .hero h1 {
    font-size:24px;
  }
  .hero-description {
    font-size:11px;
  }
  .eyebrow {
    font-size:8px;
  }
  .snapshot {
    margin-top:20px;
    border-left:0;
    padding-left:0;
    font-size:10px;
    align-items:center;
    gap:8px;
  }
  .snapshot>span {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    align-items:center;
  }
  .snapshot strong {
    font-size:11px;
    margin:0;
  }
  .snapshot small {
    display:none;
  }
  .snapshot>.icon {
    width:16px;
    height:16px;
    margin:0;
  }
  .main-shell {
    padding:20px 16px 26px;
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:22px;
  }
  .stat {
    padding:13px 14px;
  }
  .stat strong {
    font-size:25px;
    margin-top:4px;
  }
  .stat-icon {
    width:31px;
    height:31px;
    border-radius:7px;
  }
  .stat-icon .icon {
    width:17px;
    height:17px;
  }
  .stat-label {
    font-size:10px;
  }
  .stat-unit {
    font-size:9px;
  }
  .section-tabs {
    gap:20px;
    margin-bottom:18px;
  }
  .tab {
    font-size:11px;
    gap:7px;
    padding-bottom:12px;
  }
  .tab-count {
    font-size:9px;
  }
  .tab>.icon {
    width:15px;
    height:15px;
  }
  .panel-heading {
    padding:20px 18px 16px;
  }
  .panel-heading h2 {
    font-size:15px;
  }
  .publication-note {
    display:none;
  }
  .table-controls {
    padding:0 18px 18px;
    gap:8px;
  }
  .search-field {
    flex-basis:100%;
    min-height:40px;
  }
  .select-field {
    height:36px;
    padding-left:9px;
  }
  .select-field select {
    font-size:11px;
    padding-right:15px;
    max-width:145px;
  }
  .select-field>span {
    font-size:10px;
  }
  .reset-button {
    font-size:10px;
    margin-left:auto;
  }
  .records-table {
    min-width:820px;
  }
  .table-footer {
    padding:16px 18px;
    gap:12px;
  }
  .pagination-tools {
    justify-content:space-between;
    width:100%;
  }
  .site-footer {
    padding:0 20px 25px;
    font-size:9px;
    gap:8px;
    align-items:flex-start;
  }
  .site-footer p {
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  .site-footer strong {
    font-size:10px;
  }
  .detail-content {
    padding:16px;
  }
  .detail-content dl {
    grid-template-columns:1fr;
  }
  .detail-content dt {
    padding:10px 12px;
    border-bottom:0;
    font-size:11px;
  }
  .detail-content dd {
    padding:10px 12px;
    font-size:12px;
  }
  .attachments {
    padding:0;
  }
  .attachments li {
    overflow-wrap:anywhere;
  }
  .hero:after {
    right:-350px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
  }
}
@media print {
  body {
    background:white;
  }
  .demo-banner,.header-end,.hero-description,.snapshot,.stats,.section-tabs,.table-controls,.table-footer,.detail-back,.site-footer,.skip-link {
    display:none!important;
  }
  .site-header,.hero {
    background:white;
    color:#17334c;
  }
  .hero-inner,.header-inner,.main-shell {
    padding:10px 0;
  }
  .hero .eyebrow {
    color:#17334c;
  }
  .data-panel,.detail-content {
    border:0;
    box-shadow:none;
    padding:0;
  }
  .records-table {
    min-width:0;
    font-size:9px;
  }
  .records-table td {
    padding:8px;
  }
  .records-table th button {
    padding:8px;
    font-size:8px;
  }
  .project-link {
    min-width:0;
  }
  .table-scroll {
    overflow:visible;
  }
  .records-table tr[data-record][hidden] {
    display:table-row!important;
  }
  .panel-heading {
    padding:10px 0;
  }
  .publication-note {
    display:none;
  }
  .records-table .icon {
    display:none;
  }
}

/* Report structure follows the references; presentation uses the shared portal theme. */
.record-detail {
  padding:0;
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.detail-heading {
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:24px 28px;
  background:var(--color-soft);
  border-bottom:1px solid var(--color-border);
}
.detail-heading>.icon {
  width:30px;
  height:30px;
  margin-top:3px;
  color:var(--color-accent);
}
.detail-heading h2 {
  margin:0;
  font-size:22px;
  line-height:1.5;
  color:var(--color-text);
  overflow-wrap:anywhere;
}
.detail-content.record-detail>.detail-fields {
  margin:24px 28px;
}
.detail-panel {
  margin:24px 28px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-control);
  overflow:hidden;
  background:var(--color-surface);
}
.detail-panel>h3 {
  margin:0;
  padding:13px 22px;
  font-size:var(--font-section);
  font-weight:650;
  color:var(--color-brand);
  background:var(--color-soft);
  border-bottom:1px solid var(--color-border);
}
.detail-panel-body {
  padding:24px;
}
.detail-content .detail-fields {
  display:grid;
  grid-template-columns:minmax(180px,32%) minmax(0,1fr);
  border:0;
  border-radius:0;
  background:transparent;
  margin:0;
}
.detail-content .detail-fields dt,.detail-content .detail-fields dd {
  margin:0;
  padding:10px 14px;
  border:0;
  background:transparent;
  font-size:var(--font-content);
  line-height:1.75;
  color:var(--color-text);
}
.detail-content .detail-fields dt {
  font-weight:600;
  color:var(--color-muted);
}
.detail-content .detail-fields dd {
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.detail-content a {
  color:var(--color-accent);
}
.detail-people,.detail-content .detail-attachments {
  margin:0;
  padding-left:25px;
}
.detail-content .detail-attachments {
  display:block;
  list-style:decimal;
}
.detail-content .detail-attachments li,.detail-people li {
  padding:0 0 4px 2px;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:inherit;
}
.detail-panel-warning {
  border-color:var(--color-border);
}
.detail-panel-warning>h2 {
  background:var(--surface-warning);
  color:var(--color-warning);
}
.detail-panel-danger {
  border-color:var(--color-border);
}
.detail-panel-danger>h2 {
  background:var(--surface-danger);
  color:var(--color-danger);
}
.detail-panel-success {
  border-color:var(--color-border);
}
.detail-panel-success>h2 {
  background:var(--surface-success);
  color:var(--color-success);
}
.detail-panel-info {
  border-color:var(--color-border);
}
.detail-panel-info>h2 {
  background:var(--color-soft);
  color:var(--color-accent);
}
.detail-panel .detail-panel {
  margin:22px 0 0;
}
.detail-bidders {
  list-style:none;
  padding:0;
  margin:0;
}
.detail-bidders li {
  padding:16px 14px;
  font-size:var(--font-content);
  line-height:1.75;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.detail-bidders li+li {
  border-top:1px solid var(--color-border);
}
.detail-bidders p {
  margin:3px 0 0;
}
.detail-table-scroll {
  overflow-x:auto;
}
.detail-table {
  width:100%;
  border:1px solid var(--color-border);
  border-spacing:0;
  border-radius:var(--radius-control);
  font-size:var(--font-content);
  text-align:left;
}
.detail-table th,.detail-table td {
  width:33.333%;
  padding:16px 20px;
  vertical-align:top;
  border-bottom:1px solid var(--color-border);
  overflow-wrap:anywhere;
}
.detail-table tbody tr:last-child td {
  border-bottom:0;
}
.detail-empty {
  margin:0;
  color:#697583;
}
.detail-actions {
  display:flex;
  justify-content:center;
  gap:24px;
  padding:8px 24px 28px;
}
.detail-actions button,.detail-actions a {
  padding:9px 28px;
  min-width:130px;
  border:1px solid var(--color-brand);
  border-radius:var(--radius-control);
  background:var(--color-brand);
  color:white;
  font-size:var(--font-content);
  font-weight:600;
  text-align:center;
  text-decoration:none;
  transition:background .15s,color .15s;
}
.detail-actions a {
  background:var(--color-surface);
  color:var(--color-brand);
  border-color:var(--color-border);
}
.detail-actions button:hover {
  background:var(--color-accent);
  border-color:var(--color-accent);
}
.detail-actions a:hover {
  background:var(--color-soft);
  border-color:var(--color-accent);
}
.detail-table thead {
  background:var(--color-soft);
  color:var(--color-muted);
}
.detail-table th {
  font-weight:600;
}
.detail-table tbody tr:nth-child(even) {
  background:#fcfdff;
}
.records-table,.records-table .project-link,.records-table .amount {
  font-size:var(--font-content);
}
.records-table th,.detail-table th {
  font-size:var(--font-label);
  font-weight:600;
}
.detail-content.record-detail .detail-heading h2 {
  color:var(--color-brand);
}
@media(max-width:640px) {
  :root {
    --font-section:15px;
  }
  .detail-heading {
    padding:18px 16px;
    gap:10px;
  }
  .detail-heading h2 {
    font-size:18px;
  }
  .detail-heading>.icon {
    width:24px;
    height:24px;
  }
  .detail-panel {
    margin:18px 12px;
  }
  .detail-panel>h3 {
    padding:12px 14px;
    font-size:var(--font-section);
  }
  .detail-panel-body {
    padding:14px;
  }
  .detail-content.record-detail>.detail-fields {
    margin:16px;
  }
  .detail-content .detail-fields {
    grid-template-columns:1fr;
  }
  .detail-content .detail-fields dt {
    padding:10px 0 0;
    font-size:var(--font-content);
  }
  .detail-content .detail-fields dd {
    padding:3px 0 10px;
    font-size:var(--font-content);
  }
  .detail-table {
    min-width:510px;
    font-size:var(--font-content);
  }
  .detail-table th,.detail-table td {
    padding:12px;
  }
  .detail-bidders li {
    padding:10px 0;
    font-size:var(--font-content);
  }
  .detail-actions {
    gap:12px;
    padding:4px 12px 20px;
  }
}
@media print {
  .data-panel,.record-detail {
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .detail-actions {
    display:none!important;
  }
  .detail-heading {
    padding:12px 0;
    background:white;
  }
  .detail-heading h2 {
    font-size:18px;
  }
  .detail-panel {
    margin:16px 0;
  }
  .record-detail .detail-panel>h3 {
    break-after:avoid;
    background:white;
    color:var(--color-text);
    border-bottom:1px solid #aaa;
  }
  .detail-panel-body {
    padding:12px;
  }
  .detail-table {
    min-width:0;
    font-size:11px;
  }
  .detail-content .detail-fields dt,.detail-content .detail-fields dd,.detail-bidders li {
    font-size:11px;
  }
  .detail-table tr {
    break-inside:avoid;
  }
  .records-table th,.detail-table th {
    font-size:10px;
  }
  .detail-table-scroll {
    overflow:visible;
  }
}
