/* Remaining dark surfaces: map frame, receipt upload, company, portal, imports. */
html[data-zaphi-theme="dark"] :is(.v212-planner-map-card,.v212-planner-map-card>header,.v212-map-controls,.v212-map-stage,.v212-map-scope,.v212-map-zoom,.v212-map-detail,.v203-drop-icon,.v15-state-setting,.v213-portal-scope,#v217TeamupImportStatus .empty){
 background:#202830!important;background-image:none!important;color:#edf2f6!important;border-color:#46525e!important;
}
html[data-zaphi-theme="dark"] :is(.v212-map-viewport){background:#1b2229!important;border-color:#46525e!important}
html[data-zaphi-theme="dark"] :is(.v212-map-controls label,.v212-map-detail>span,.v212-map-detail>small,.v213-portal-scope small,.v15-state-setting small){color:#b7c2cb!important}
html[data-zaphi-theme="dark"] :is(.v212-map-scope button:not(.active),.v212-map-zoom button,.v212-map-controls select,.v15-state-setting select){background:#28323b!important;color:#edf2f6!important;border-color:#46525e!important;color-scheme:dark}
html[data-zaphi-theme="dark"] input[type="file"]::file-selector-button{background:#28323b;color:#edf2f6;border:1px solid #697784;border-radius:6px;padding:6px 10px}
html[data-zaphi-theme="dark"] :is(.v212-map-scope button:not(.active),.v212-map-zoom button):hover{background:#34424d!important}
.zfr-status-audit{margin:10px 0;padding:10px 14px;border:1px solid var(--line,#d9dee3);border-radius:10px}
.zfr-status-audit summary{cursor:pointer;font-weight:700}
.zfr-status-audit .table-wrap{max-height:320px;overflow:auto;margin-top:10px}
.zfr-status-audit td{white-space:normal}
html[data-zaphi-theme="dark"] .zfr-status-audit{background:#202830;color:#edf2f6;border-color:#46525e}
#v195CaseSummary{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))!important}
html[data-zaphi-fast-ui="true"] #metrics.v20-dashboard-metrics{grid-template-columns:repeat(11,minmax(0,1fr))!important}
@media(max-width:1200px){html[data-zaphi-fast-ui="true"] #metrics.v20-dashboard-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}}
