/* Darwin brand: vermilion identity, financial blue, and clear categorical color. */
:root {
  --brand-red:#d32f3d;
  --brand-red-dark:#b62434;
  --brand-red-soft:#fff0f1;
  --navy:#153858;
  --navy-deep:#102b4c;
  --blue:#2164bd;
  --teal:#008d88;
  --gold:#e3a22b;
  --ink:#20354e;
  --muted:#62748a;
  --line:#e0e8f1;
  --bg:#f2f6fb;
}
body{background:var(--bg)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#2164bd}
.site-header{border-top:3px solid var(--brand-red);box-shadow:0 3px 18px #12345e08}
.brand-logo{display:block;width:72px;height:54px;object-fit:contain;flex-shrink:0}
.brand-copy strong{color:#18334e;font-weight:700}
.brand-copy small{color:#6a7d91;letter-spacing:1.25px}
.main-nav a.active{color:var(--brand-red-dark)}
.main-nav a.active:after{background:var(--brand-red);width:34px;left:calc(50% - 17px)}
.main-nav a:hover{color:var(--brand-red)}
.header-phone{padding:9px 13px;border:1px solid #f6dce0;background:#fff5f6;border-radius:8px}
.phone-symbol{color:var(--brand-red);background:#ffe4e7}
.header-phone strong{color:var(--brand-red-dark);font-weight:600}
.header-phone small{color:#8f6470}
.hero:before{background:linear-gradient(112deg,#112e50 0%,#184b91 63%,#087e83 100%)}
.hero-grid{border-color:#b7dcf33b;box-shadow:0 0 0 55px #b0dbff08,0 0 0 56px #a9e6e72b,0 0 0 112px #b0dbff06,0 0 0 113px #a9e6e720,0 0 0 171px #b0dbff04,0 0 0 172px #a9e6e71b}
.eyebrow{color:#e0ecff}.eyebrow span{background:#ffc357;width:26px;height:2px}
h1 em{color:#ffcf76}
.search-form{box-shadow:0 10px 30px #051b422e}
.search-form button{background:var(--brand-red);color:white;padding-inline:25px}
.search-form button:hover{background:#e33b4a}
.quick-search{color:#cfddf1}.quick-search button{color:#e4efff}.quick-search button:hover{color:#ffd591}
.hero-note{border-left:1px solid #abd9f340;padding-left:27px}
.note-rule{background:#ffbf48;width:48px}
.note-year{color:white}.note-year span,.snapshot-date{color:#d8edf4}.hero-note p{color:#e3f2fa}.issue-label{color:#d8f2f6}
.metrics{box-shadow:0 8px 24px #18395b08;border-color:#dfe8f2}
.metric{border-top:3px solid var(--metric-color);background:linear-gradient(180deg,var(--metric-tint),white 75%)}
.metric:nth-child(1){--metric-color:#d32f3d;--metric-tint:#fff6f6}
.metric:nth-child(2){--metric-color:#2469c5;--metric-tint:#f4f8ff}
.metric:nth-child(3){--metric-color:#008b88;--metric-tint:#effaf8}
.metric:nth-child(4){--metric-color:#ad7817;--metric-tint:#fffaf0}
.metric-number{color:var(--metric-color)}
.metric-icon{color:var(--metric-color);background:var(--metric-tint);border:1px solid color-mix(in srgb,var(--metric-color) 15%,white);border-radius:10px}
.metric-label{color:#65778a}.metric-number small{color:#65778a}
.section-index{color:#3466a0}.workspace-heading h2{color:#163c60}
.text-button{color:#557394}.text-button:hover{color:var(--blue)}
.filter-panel,.results-panel,.side-card,.overview-card,.source-list{box-shadow:0 5px 18px #244b7104}
.city-chip{color:#4b6178}.city-chip:hover{background:#edf4fe;color:#2158a2}
.city-chip.selected{background:#205aab;color:white;box-shadow:0 3px 8px #205aab20}
.filter-label,.select-filters label>span{color:#5d7085}
select{color:#314e70;border-color:#d6e1ed}
select:hover{border-color:#91b4e2;background-color:#fafdff}
.active-filters button{color:#225aa4;background:#eaf2ff}
.reset-button{color:#557396}.catalog-note{color:#687d93}
.results-toolbar{background:#fbfcff;color:#5f738c}
.results-toolbar strong{color:#d12d3d}.results-toolbar .filtered-amount{color:#647a92}
.outline-button{color:#255d9e;border-color:#b9cfea;background:#f8fbff}
.outline-button:hover{color:#194f98;background:#eaf3ff;border-color:#7ea7db}
.project-table th{background:#eef4fc;color:#526e8a;border-color:#e0e8f2}
.project-table tbody tr:hover{background:#f3f8ff}
.project-name{color:#203f60}.project-name:hover{color:#2264ba}
.project-table .amount{color:#174b79}.term{color:#3c5c78}.rate{color:#008175}
.project-meta{color:#677e95}
.project-meta .tag{color:#3d5c77;color:color-mix(in srgb,var(--sector-color,#2563eb) 72%,#10283f);background:color-mix(in srgb,var(--sector-color,#2563eb) 9%,white);border:1px solid color-mix(in srgb,var(--sector-color,#2563eb) 14%,white)}
.row-arrow{color:#7295bd;background:#f0f5fc}.row-arrow:hover{color:#1c5db3;background:#dfebfc}
.page-button.selected{background:#205aab}.page-button:hover:not(:disabled){background:#eaf2ff}.page-button.selected:hover{background:#184b96}
.table-footnote{color:#687e92;background:#fbfcfe}
.side-card-heading h3{color:#1d4264}.side-card-heading>span{background:#e9f6f5;color:#007c77}
.distribution-card{border-top:3px solid #078e8b}
.donut{box-shadow:0 4px 18px #1e538f10}.donut-caption strong{color:#244b72}.donut-caption span{color:#637b90}
.legend-item{color:#4f6880}.legend-item b{color:#334f70}.legend-item:hover{color:#195ba6}
.chart-footnote{color:#697f93}
.contact-card{background:linear-gradient(135deg,#a92136,#be293d 68%,#ac3634);box-shadow:0 8px 25px #b42c3921}
.contact-card:after{border-color:#ffd7c232;box-shadow:0 0 0 32px #ffdab008,0 0 0 33px #ffd7c21c}
.contact-kicker{color:#ffe3dc}.contact-card h3{color:white}.contact-card p{color:#ffe2e3}
.contact-line{background:#ffca73}.contact-card>a{color:#ffe0a0;font-weight:500}
.contact-card>button{background:#fff8f5;color:#ac2437;border-color:#ffdad0}
.contact-card>button:hover{background:white;color:#a82134;border-color:#ffe2a8}
.footer{border-top:1px solid #d9e3ef;background:#eaf0f8}.footer strong{color:#284863}.footer a{color:var(--brand-red-dark)}.footer p{color:#60778f}
.primary-button{background:var(--brand-red)}.primary-button:hover{background:var(--brand-red-dark)}
.overview-total{background:linear-gradient(110deg,#153956,#18579a 68%,#087d82);box-shadow:0 7px 22px #1d53811c}
.overview-total>div:first-child strong{color:#ffcf76}.overview-total>div:nth-child(2) strong{color:#fff}.overview-total>div:nth-child(3) strong{color:#8eebd6}
.overview-total span{color:#e0edf9}
.overview-card{border-top:3px solid #2367bc}.overview-card h3{color:#1f4368}.overview-card>p{color:#62788e}
.overview-card.sector-bars{border-top-color:#008d88}
.bar-track{height:9px;background:#edf2f8;border-radius:3px}
.bar-fill,.bar-row:first-of-type .bar-fill{background:var(--bar-color,#286bc3);border-radius:3px}
.bar-row:hover .bar-fill{filter:brightness(1.1)}.bar-row:hover .bar-label{color:#1859a6}
.bar-label{color:#49647e}.bar-value{color:#365d81}
.batch-column i{background:var(--bar-color,#2467bd);border-radius:5px 5px 0 0;box-shadow:inset 0 1px 0 #ffffff45}
.batch-column:nth-child(6n+1){--bar-color:#2563eb}.batch-column:nth-child(6n+2){--bar-color:#00998b}.batch-column:nth-child(6n+3){--bar-color:#d63445}.batch-column:nth-child(6n+4){--bar-color:#d69a25}.batch-column:nth-child(6n+5){--bar-color:#6880ba}.batch-column:nth-child(6n+6){--bar-color:#845eb4}
.batch-column b{color:#27597c}.batch-column span{color:#5b758b}
.dialog-top{color:#52708c;border-top:3px solid var(--brand-red)}
.detail-header{background:linear-gradient(120deg,#f0f5ff,#f1faf9)}.detail-header h2{color:#173e65}
.detail-location{color:#5d7892}.detail-location>span{background:white;border-color:#cbddeb;color:#26706d}
.project-summary>div:nth-child(1) strong{color:#c92e40}.project-summary>div:nth-child(2) strong{color:#2466b6}.project-summary>div:nth-child(3) strong{color:#008579}.project-summary>div:nth-child(4) strong{color:#af7822}
.detail-metrics span{color:#657d94}
.current-issue-strip{background:#eaf2ff;color:#597793}.current-issue-strip strong,.current-issue-strip button{color:#245ba4}
.project-tabs{top:67px}.project-tabs button{color:#5b738b}.project-tabs button[aria-selected=true]{color:#bf283b;border-bottom-color:#d32f3d}
.detail-section h3{color:#244562}.detail-section h3:before{background:#d32f3d}
.fact-label{color:#627b92}.fact-value{color:#324f6d}.fact-value.unavailable{color:#6e8192}
.field-status{color:#398076}.field-status.has-conflict{color:#9b631b}
.reference-button{background:#edf4ff;color:#245da8}.reference-button:hover{background:#dfeaff}
.issue-row.selected{background:#edf4ff;box-shadow:inset 3px 0 #2468c4}.issue-row:hover{background:#f0f7ff}
.issue-row strong{color:#235a96}.issue-row small{color:#567891}.issue-selection{color:#1f5c9f}
.event-kind{color:#215da2;background:#e9f2ff}.event-kind.inflow{color:#007667;background:#e0f5ee}.event-kind.outflow{color:#9b6216;background:#fff1d5}
.funding-card-heading>strong{color:#225788}.funding-card-heading>span:last-child{color:#597793}
.adjustment-card{border-color:#b7d9d0}.bond-flow{background:#f1faf7;border-color:#cde4dd}.bond-flow strong{color:#1a655e}.bond-flow p,.bond-flow small{color:#527e77}.flow-arrow{color:#008b77}
.relation-status{color:#8a632e}.section-count{background:#e4f4ef;color:#137c68}
.no-project-events{color:#637b91}.project-source-row.selected{background:#edf4ff}.project-source-row strong{color:#2460a0}
.detail-bottom{color:#677d92}.detail-bottom button{color:#255e9c}
.contact-content .brand-logo{width:110px;height:80px;margin:0 auto 18px}
.contact-number{color:var(--brand-red-dark)}
@media(max-width:1200px){.brand-logo{width:61px;height:49px}.header-phone{padding:7px 10px}.brand-copy small{letter-spacing:.8px}}
@media(max-width:720px){
  .brand-logo{width:51px;height:38px}.brand{gap:9px}.brand-copy small{font-size:8px;letter-spacing:.15px}.header-phone{padding:3px 7px;background:#fff0f2}.header-phone strong{font-size:15px}
  .search-form button{padding-inline:15px}.metric{padding:16px 18px}.metric-number{font-size:26px}
  .project-tabs{top:57px}.contact-card p{white-space:normal}.catalog-note{color:#61788e}
  .project-meta .tag{border:0}.footer{background:#eaf0f8}
}
@media(prefers-reduced-motion:no-preference){.brand-logo{transition:transform .2s}.brand:hover .brand-logo{transform:translateY(-1px)}.metric-icon{transition:transform .2s}.metric:hover .metric-icon{transform:translateY(-2px)}}

/* Clear project totals and consistent date/term alignment. */
.project-table th{background:#eef4fc;color:#274d73;border-bottom-color:#d7e3f1}
.project-table td{border-bottom-color:#e6edf5}
.project-table tbody tr:hover{background:#f5f9ff}
.project-table .project-name{color:#163d64}
.project-table .project-name:hover{color:#bf283b}
.project-table .project-index{color:#6b83a0}
.project-table .batch-count{color:#176f71;background:#e7f5f2;border:1px solid #d7ebe6}
.project-table td:nth-child(3) .date-term-line{color:#245da6;background:#edf4ff}
.project-table td:nth-child(6) .date-term-line{color:#3c607d}
.project-table td:nth-child(5).amount,.project-table td:nth-child(5) .amount{color:#bb2b3e}
.column-sort:hover{color:var(--blue)}
.project-table th[aria-sort=ascending],.project-table th[aria-sort=descending]{color:#194f92;background:#e5eefb}

/* A centered navigation with one aligned utility area. */
.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:84px;gap:24px;padding-block:0}
.site-header .brand{justify-self:start;width:auto;min-width:0;gap:12px;flex:none}
.site-header .brand-logo{width:64px;height:48px}
.site-header .brand-copy{gap:3px}
.site-header .brand-copy strong{font-size:18px;line-height:1.45;letter-spacing:0;white-space:nowrap}
.site-header .brand-copy small{font-size:9px;letter-spacing:1px;white-space:nowrap}
.site-header .main-nav{order:initial;width:auto;height:auto;min-height:84px;gap:30px;justify-content:center;align-self:stretch}
.site-header .main-nav a{font-size:14px;padding-inline:2px}
.site-header .main-nav a.active:after{bottom:0}
.header-actions{display:flex;justify-self:end;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
.site-header .header-phone{order:initial;display:flex;gap:8px;padding:0;border:0;border-radius:0;background:none}
.site-header .phone-symbol{width:22px;height:22px;border-radius:0;background:none}
.site-header .phone-symbol .icon{width:20px;height:20px}
.site-header .header-phone small{font-size:10px;line-height:1.4;letter-spacing:.3px;color:#8190a0}
.site-header .header-phone strong{font-size:18px;line-height:1.5;letter-spacing:0}
.header-inner .header-actions .account-control{margin:0;padding-left:18px;border-left:1px solid #e0e8f1;gap:10px;flex-wrap:nowrap;white-space:nowrap;font-size:11px}
.header-inner .header-actions .account-control button{font-size:11px;color:#5f7892}
.header-inner .header-actions .account-control button:hover{color:var(--brand-red-dark)}
body.auth-pending .header-actions{grid-column:3}
@media(max-width:1100px){
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:0 24px;padding-top:12px;min-height:0}
  .site-header .brand-logo{width:60px;height:45px}
  .site-header .brand-copy strong{font-size:17px}
  .site-header .brand-copy small{font-size:8px;letter-spacing:.8px}
  .site-header .main-nav{grid-row:2;grid-column:1/-1;justify-content:flex-start;min-height:43px;gap:30px}
  .site-header .header-actions{grid-row:1;grid-column:2}
  .header-inner .header-actions .account-control{padding-left:14px}
  body.auth-pending .site-header .header-actions{grid-column:2}
  body.auth-pending .header-inner{padding-block:14px}
}
@media(max-width:720px){
  html{scroll-padding-top:140px}
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding-top:12px;padding-bottom:8px}
  .site-header .brand{grid-column:1/-1;grid-row:1;gap:10px}
  .site-header .brand-logo{width:49px;height:38px}
  .site-header .brand-copy strong{font-size:16px}
  .site-header .brand-copy small{font-size:8px;letter-spacing:.4px}
  .site-header .main-nav{grid-column:1;grid-row:2;min-height:43px;gap:23px;align-self:end}
  .site-header .main-nav a{font-size:12px;padding-inline:0}
  .site-header .header-actions{grid-column:2;grid-row:2;flex-direction:column;align-items:flex-end;gap:1px}
  .site-header .header-phone .phone-symbol,.site-header .header-phone small{display:none}
  .site-header .header-phone strong{font-size:14px}
  .header-inner .header-actions .account-control{padding-left:0;border:0;gap:8px;font-size:10px}
  .header-inner .header-actions .account-control button{font-size:10px;padding:1px 0}
  body.auth-pending .header-inner{padding-block:14px}
  body.auth-pending .brand{grid-column:1/-1}
  body.auth-pending .header-actions{display:none}
}
@media(max-width:380px){
  .site-header .brand-copy strong{font-size:15px}
  .site-header .brand-copy small{font-size:7px}
  .site-header .main-nav{gap:18px}
}

/* Compact legal footer; the company and telephone already have a primary header. */
.site-footer.footer{background:transparent;border-top:1px solid #e2e7ed}
.site-footer .footer-shell{padding-block:15px 17px;text-align:center;color:#82909e;font:12px/1.65 var(--font)}
.site-footer .footer-copyright{margin:0;font:inherit;color:inherit}
.site-footer .footer-separator{margin-inline:12px;color:#c0c8d0}
.site-footer .footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px 18px;margin-top:5px}
.site-footer .footer-shell a,.site-footer .footer-shell button{display:inline;padding:0;font:inherit;color:inherit;white-space:normal}
.site-footer .footer-shell a:hover,.site-footer .footer-shell button:hover{color:#205da4;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-shell .footer-police{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.site-footer .footer-police img{display:block;flex-shrink:0;width:18px;height:18px}
@media(max-width:720px){
  .site-footer .footer-shell{padding-block:14px 16px;font-size:11px;line-height:1.8}
  .site-footer .footer-separator{display:none}
  .site-footer .footer-phone{display:block!important}
  .site-footer .footer-links{gap:2px 12px;margin-top:6px}
}
