:root{--az-navy:#153e51;--az-blue:#247e9e;--az-bg:#f7f8f6;--az-ink:#203c46;--az-muted:#6d7c80;--az-line:#e3e9e7}body{background:var(--az-bg)!important;color:var(--az-ink)!important;font-family:Tahoma,Arial,sans-serif!important}header.topbar{background:#fff!important;border-bottom:1px solid var(--az-line)!important;box-shadow:none!important}.brand{letter-spacing:0!important;color:var(--az-navy)!important}.brandmark{object-fit:contain}.brand img{object-fit:contain}.panel,.card,.orgcard,.stat,.tablewrap{background:#fff!important;border-color:var(--az-line)!important;border-radius:16px!important;box-shadow:0 6px 24px #153e5103!important}h1,h2,h3{color:var(--az-navy)}button,.button{font-family:inherit;border-radius:10px!important;min-height:44px}button.primary,.button.primary{background:var(--az-navy)!important;color:#fff!important;border:1px solid var(--az-navy)!important}.quiet,button.outline{background:#fff!important;border:1px solid var(--az-line)!important;color:var(--az-ink)!important}input,textarea,select{border:1px solid var(--az-line)!important;border-radius:9px!important;background:#fff!important;color:var(--az-ink)!important;font-family:inherit!important;font-size:16px!important}input:focus,textarea:focus,select:focus{outline:2px solid #247e9e55!important;outline-offset:1px}aside a.active{background:#edf5f7!important;color:var(--az-blue)!important;border-radius:9px}.tag{background:#edf5f7!important;color:var(--az-blue)!important}.muted,.small{color:var(--az-muted)}@media(max-width:600px){button,.button{min-height:48px}.topbar nav{flex-wrap:wrap}main{min-width:0}.toolbar{flex-wrap:wrap}}

.ehc-app-breadcrumb{max-width:1400px;padding:16px 24px 0;margin:0 auto;color:var(--az-muted);font-size:13px}.ehc-app-breadcrumb a{color:var(--az-blue)}

/* Bounded record lists: native wheel, touch and keyboard scrolling. */
#main .record-scroll{position:relative;max-height:clamp(220px,calc(100vh - 320px),760px);max-height:clamp(220px,calc(100dvh - 320px),760px);overflow:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
#main .record-scroll:focus-visible{outline:2px solid var(--az-blue);outline-offset:3px}
#main .record-scroll th{position:sticky;top:0;z-index:2;background:#f8fafc;box-shadow:0 1px 0 var(--az-line)}
#main .record-count{margin:10px 0 0;color:var(--az-muted);font-size:12px}
@media screen and (max-width:750px){#main .record-scroll{max-height:60vh;max-height:60dvh}}
@media print{#main .record-scroll{max-height:none;overflow:visible}#main .record-scroll th{position:static}}
.project-sections{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.project-metrics{margin:20px 0}.project-metrics .metric b{font-size:20px!important;overflow-wrap:anywhere}.editor-save-status{margin:12px 24px;padding:10px 12px;background:#edf5f4;border-radius:9px;font-size:13px;line-height:1.6;color:#315e5a}.editor-save-status[data-kind=error]{background:#fff0ed;color:#a52e36}.editor-save-status[data-kind=success]{background:#e9f4ed;color:#27623d}.draft-recovery{border-color:#c8a96d!important;background:#fffaf0!important}.project-sections a{min-height:44px}.panel[id^=project-]{scroll-margin-top:24px}@media(max-width:650px){.project-metrics{grid-template-columns:1fr 1fr}.project-sections{flex-wrap:nowrap;overflow:auto;padding-bottom:8px}.project-sections a{white-space:nowrap;flex-shrink:0}.editor-save-status{margin:10px 14px}}
.service-invoice-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid var(--az-line);border-radius:12px;background:#f8fbfa;margin-bottom:16px}.service-invoice-line .billing-control{grid-column:1/-1}.billing-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.line-amount{align-self:center;font-weight:700;color:var(--az-ink)}.service-rate-hint{grid-column:1/-1;color:#8e5e18}.service-invoice-line button{justify-self:end}.service-invoice-line label{min-width:0}@media(max-width:650px){.service-invoice-line,.billing-control{grid-template-columns:minmax(0,1fr)}.service-invoice-line{padding:14px}.service-invoice-line button{justify-self:stretch}.service-invoice-line input,.service-invoice-line select{font-size:16px}}
/* Private EHC basemap: one accessible marker per reported group. */
.ehc-leaflet-map{height:clamp(380px,65vh,680px);width:100%;border-radius:16px;border:1px solid #dbe4e6;margin:14px 0;isolation:isolate;background:#eaf3f4}.ehc-group-marker{background:transparent;border:0}.ehc-group-marker span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#153e51;color:white;border:2px solid white;box-shadow:0 2px 7px #153e5150;font-weight:700;font-size:13px}.ehc-group-marker:focus{outline:3px solid #2695ae;border-radius:50%}.ehc-group-location-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;max-height:360px;overflow:auto;padding:12px 0}.ehc-leaflet-map .leaflet-control-attribution{font-size:11px}.ehc-leaflet-map .leaflet-control a{color:#153e51}.ehc-map-filters{display:flex;gap:10px;flex-wrap:wrap}.ehc-map-filters input{flex:1;min-width:180px}@media(max-width:600px){.ehc-leaflet-map{height:440px}.ehc-group-location-list{grid-template-columns:1fr}.ehc-map-filters>*{width:100%}}
.workspace-global-search{padding:20px 0 24px;max-width:100%;margin-bottom:4px}.workspace-global-search>label{display:block;font-weight:700;color:#153e51;margin-bottom:9px}.workspace-search-input{display:flex;gap:10px;align-items:center}.workspace-search-input input{flex:1;min-width:0;width:100%;font-size:16px;padding:15px 18px;border:1px solid #c7d7dc;border-radius:12px;background:#fff;box-shadow:0 2px 7px #153e5105}.workspace-search-input input:focus{outline:2px solid #2888a2;outline-offset:2px}.workspace-global-search>p{margin:9px 0 0}.workspace-search-results:empty{display:none}.workspace-search-results{margin-top:16px;background:#fff;border:1px solid #dce5e8;border-radius:16px;max-height:min(65vh,620px);overflow:auto;overscroll-behavior:contain;padding:4px 18px}.workspace-search-group h2{font-size:14px;letter-spacing:.03em;color:#607681;margin:18px 0 8px}.workspace-search-result{display:flex;flex-direction:column;gap:5px;padding:13px 10px;border-bottom:1px solid #edf1f2;text-decoration:none;color:#153e51;border-radius:8px}.workspace-search-result:hover,.workspace-search-result:focus-visible{background:#edf5f7;outline:2px solid #2888a2}.workspace-search-result strong{font-size:16px}.search-result-excerpt{font-size:13px;line-height:1.5;color:#596e77;overflow-wrap:anywhere}.workspace-search-result span{overflow-wrap:anywhere}.search-partial{padding:10px;background:#fff8e9}@media(max-width:600px){.workspace-global-search{padding:16px 0 20px}.workspace-search-results{padding:4px 10px;max-height:60vh}.workspace-search-input{gap:7px}.workspace-search-input input{padding:14px 12px}}
.report-section-navigation{margin:16px 0 22px}.report-section-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:6px;background:#edf3f4;border-radius:14px;width:fit-content;max-width:100%}.report-section-tabs .button{text-decoration:none}.report-section-navigation>p{margin:10px 0 0}@media(max-width:600px){.report-section-tabs{width:100%}.report-section-tabs .button{flex:1;text-align:center;white-space:normal}}

.reporting-flow-note{font-size:12px;line-height:1.65;color:#60747c;border-inline-start:2px solid #c4d8dc;padding:6px 12px;margin:12px 0 18px;max-width:900px}.reporting-flow-note small{font-size:inherit;line-height:inherit}
