#traceWorkspace[hidden],#documentMapWorkspace[hidden]{display:none!important}
#traceLabelSource[hidden]{display:none!important}
.trace-comparison-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:12px 0;border-top:1px solid #d8dfe5}.trace-comparison-toolbar[hidden]{display:none!important}.trace-comparison-toolbar>label{display:grid;gap:5px;max-width:100%;font-size:12px}.trace-comparison-toolbar select{max-width:100%;min-width:0}.trace-comparison-toolbar .survey-check{display:flex;align-items:center;min-height:36px}.trace-comparison-swatch{display:inline-block;width:24px;border-top:4px dashed #c0268c}.trace-comparison-toolbar button{width:36px;height:36px;padding:8px}.trace-comparison-toolbar svg{width:20px;height:20px}#traceComparisonInfo{flex-basis:100%;font-size:12px;color:#795477;overflow-wrap:anywhere}@media(max-width:600px){.trace-comparison-toolbar>label:first-child{width:100%}}
.trace-polygon-toolbar{gap:10px;margin:10px 0;flex-wrap:wrap}.trace-polygon-toolbar button{width:38px;height:38px;padding:8px;flex-shrink:0}.trace-polygon-toolbar svg{width:20px;height:20px}.trace-polygon-toolbar [hidden]{display:none!important}.trace-polygon-toolbar button[aria-pressed=true]{background:#087f8c;color:#fff}.trace-polygon-toolbar label{font-size:12px}.trace-polygon-toolbar select{min-height:36px}.trace-polygon-toolbar span,#tracePolygonStatus{font-size:12px;color:#536674}#tracePolygonStatus:empty{display:none}.trace-polygon-drawing{cursor:crosshair}.trace-polygon-drawing .qgis-point-annotations{pointer-events:none!important}
.trace-forecast-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:18px 0;border-bottom:1px solid #cbd8df}.trace-forecast-totals>div{min-width:0}.trace-forecast-totals span,.trace-forecast-totals small{display:block;font-size:12px;color:#536674;line-height:1.5}.trace-forecast-totals strong{display:block;font-size:22px;margin:5px 0;overflow-wrap:anywhere}.trace-forecast-totals>div:last-child strong{color:#087e70}@media(max-width:700px){.trace-forecast-totals{grid-template-columns:1fr;gap:14px}}
.trace-estimate{border-block:1px solid #cbd8df;padding:14px 0;margin:16px 0}.trace-estimate:empty{display:none}.trace-estimate-head,.trace-revenue{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.trace-estimate-head h2{font-size:16px;margin:0 0 5px}.trace-estimate-head strong{font-size:22px}.trace-estimate-head small,.trace-revenue small{display:block;font-size:12px;color:#5d7480;margin-top:4px}.trace-estimate details{margin-top:12px;font-size:13px}.trace-estimate summary,.trace-price-sources summary{cursor:pointer}.trace-revenue{padding:14px 0;border-bottom:1px solid #d4dfe5;font-size:14px}.trace-revenue strong{font-size:20px}.trace-estimate-note,.trace-price-sources{font-size:12px;line-height:1.5;color:#5d7480}.trace-price-sources small{display:block;overflow-wrap:anywhere}.trace-quantity.trace-valued th:first-child,.trace-quantity.trace-valued td:first-child{width:40%}.trace-quantity.trace-valued th:not(:first-child),.trace-quantity.trace-valued td:not(:first-child){width:20%;text-align:right;overflow-wrap:anywhere}.trace-valued [data-private-amount]{max-width:100%}@media(max-width:500px){.trace-quantity.trace-valued{font-size:11px}.trace-quantity.trace-valued th,.trace-quantity.trace-valued td{padding:8px 3px}.trace-quantity.trace-valued th:first-child,.trace-quantity.trace-valued td:first-child{width:34%}.trace-quantity.trace-valued th:not(:first-child),.trace-quantity.trace-valued td:not(:first-child){width:22%}}
#traceDeleteDialog,#traceBillingDialog{width:520px;max-width:calc(100vw - 24px)!important}
.trace-line-row,.trace-source-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #dce4e9}.trace-line-row label{flex:1;min-width:0}#traceLineRows .trace-line-row label{border:0}.trace-line-row label span{overflow-wrap:anywhere}.trace-line-row small{white-space:nowrap}.trace-source-row p{flex:1;min-width:0}.trace-source-row small{display:block;color:#667884;margin-top:4px}.trace-delete-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:7px;background:#fff2f0;color:#b42e25;border:1px solid #f0c8c3;border-radius:5px;cursor:pointer}.trace-delete-button:hover{background:#fbe0dc}.trace-delete-button svg{width:17px;height:17px}#traceDeleteDialog{max-width:520px}#traceDeleteName{font-weight:600;overflow-wrap:anywhere}#traceDeleteMessage,#traceDeleteStatus{font-size:14px;line-height:1.5}#traceDeleteStatus{color:#ab3525}#traceDeleteDialog button:disabled{opacity:.5;cursor:not-allowed}
#traceWorkspace{min-width:0}.trace-legend{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:#536674}.trace-legend span{display:flex;align-items:center;gap:8px}.trace-legend b{display:block;width:25px;height:4px;background:#555}.trace-legend .trace-submitted{background:#d68519}.trace-legend .trace-selected{background:#0097b5}
.trace-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:28px;margin-top:24px}.trace-layout section{min-width:0}.trace-layout h2{font-size:18px;margin:0 0 14px}.trace-range{display:grid;grid-template-columns:minmax(120px,1fr) minmax(90px,140px) minmax(90px,140px) 34px;gap:10px;border-bottom:1px solid #d4dfe5;padding:10px 0;align-items:center}.trace-range label{font-size:11px;display:grid;gap:4px}.trace-range input{width:100%;min-width:0;box-sizing:border-box}.trace-range input[type=range]{padding:0;min-height:18px;accent-color:#0097b5}.trace-range small{display:block;color:#667884;font-size:11px;margin-top:4px}.trace-range button{padding:6px;min-width:32px;min-height:32px}.trace-layout svg{width:16px;height:16px}.trace-submit-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px}.trace-submit-form label{display:grid;gap:5px;font-size:12px;flex:1;min-width:150px}.trace-submit-form input{min-width:0;width:100%;box-sizing:border-box}.trace-submit-form button{min-height:36px}.trace-quantity{width:100%;border-collapse:collapse;font-size:12px;margin-top:14px}.trace-quantity th,.trace-quantity td{padding:9px 6px;text-align:left;border-bottom:1px solid #d4dfe5}.trace-quantity td:last-child,.trace-quantity th:last-child{text-align:right;white-space:nowrap}.trace-warning{color:#885715;font-size:12px;line-height:1.5}.trace-warning ul{padding-left:20px}.trace-summary{font-size:14px;font-weight:600;padding:12px 0;border-bottom:1px solid #d4dfe5}.trace-record{padding:12px 0;border-bottom:1px solid #d4dfe5;display:flex;align-items:center;justify-content:space-between;gap:12px}.trace-record button{font:inherit;background:none;color:#174c65;padding:0;text-align:left;border:0;cursor:pointer;font-weight:600;overflow-wrap:anywhere}.trace-record small{display:block;color:#667884;font-size:12px;margin-top:5px}.trace-status{font-size:11px;color:#885715;white-space:nowrap}.trace-status.withdrawn{color:#687d87}.trace-list{border-top:1px solid #cbd8df;margin-top:24px;padding:14px 0;font-size:13px}.trace-list summary{cursor:pointer;font-weight:600}.trace-list input[type=search]{margin:12px 0;max-width:360px;width:100%;box-sizing:border-box}#traceLineRows{max-height:320px;overflow:auto}#traceLineRows label{display:flex;align-items:center;gap:12px;padding:10px 6px;border-bottom:1px solid #dce4e9;font-size:13px}#traceLineRows input[type=checkbox]{width:18px;min-height:18px;margin:0}#traceLineRows small{margin-left:auto;color:#627885}#traceSources p{overflow-wrap:anywhere;font-size:12px}#traceStatus,#traceSelectionStatus,#traceUploadStatus,#traceDetailStatus{font-size:13px;line-height:1.5}#traceDownload{font-size:13px;color:#176f85}#traceInput{position:static;opacity:1;width:100%;margin-top:10px}#traceUploadDialog .survey-drop{display:block}#traceUploadDialog [hidden],#traceDetailDialog [hidden]{display:none!important}#traceWorkspace button:disabled{opacity:.45;cursor:not-allowed}#traceDetailBody{font-size:13px;line-height:1.5}#traceDetailBody ol{padding-left:22px}
.trace-legend .trace-billed{background:#fff;outline:1px solid #657781}.trace-billing-actions{margin:14px 0}.trace-billing-actions button{font-size:13px}
.trace-quantity{min-width:0;table-layout:fixed}.trace-quantity th,.trace-quantity td{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.trace-quantity th:first-child,.trace-quantity td:first-child{width:64%}.trace-quantity td:last-child,.trace-quantity th:last-child{white-space:normal}.trace-quantity small{display:block;color:#667884;font-size:11px}
@media(max-width:800px){.trace-layout{grid-template-columns:minmax(0,1fr)}.trace-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}.trace-range>div:first-child{grid-column:1/-1}.trace-submit-form{align-items:stretch}.trace-submit-form button{width:100%}.trace-quantity th:first-child,.trace-quantity td:first-child{overflow-wrap:anywhere}}
#traceComparisonSelection{flex-basis:100%;border-top:1px solid #d8dfe5;padding-top:8px;font-size:12px}
#traceComparisonSelection[hidden]{display:none!important}
#traceComparisonSelection>button{margin-left:8px;vertical-align:middle}
#traceComparisonSelectionRows{list-style:none;margin:8px 0 0;padding:0;max-height:160px;overflow:auto}
#traceComparisonSelectionRows li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px solid #e3e8ed}
#traceComparisonSelectionRows span{overflow-wrap:anywhere;min-width:0}
#traceComparisonSelectionRows button{flex-shrink:0}
#traceComparisonBar .trace-scan-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;flex-basis:100%}
.trace-scan-filter label{display:grid;gap:5px;font-size:12px;max-width:100%;min-width:0}
.trace-scan-filter input,.trace-scan-filter select{min-width:0;max-width:100%;box-sizing:border-box;height:36px;padding:6px 9px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#203443}
@media(max-width:600px){.trace-scan-filter label:first-child{width:100%}.trace-scan-filter input{width:145px}}
.trace-scan-tooltip{max-width:240px;white-space:normal;overflow-wrap:anywhere}
#scanPasteForm{display:grid;gap:16px;color:#203642;font-family:inherit;min-width:0}
#scanPasteForm label{display:grid;gap:6px;font-size:13px;min-width:0}
#scanPasteForm p{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#scanPasteForm input,#scanPasteText{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd8df;border-radius:4px;background:#fbfdfe;color:#203642;padding:10px;font:inherit}
#scanPasteText{resize:vertical;min-height:150px;max-height:300px;overflow-wrap:anywhere;font:12px/1.5 monospace}
#scanPasteForm .survey-toolbar{margin-bottom:0}
#scanPasteSummary{font-variant-numeric:tabular-nums;color:#176f85}
#scanPasteStatus{color:#526573}
.trace-planning{padding:18px 0;border-block:1px solid #dce4e8;margin:16px 0;min-width:0}
.trace-planning h2{font-size:18px;margin:0 auto 0 0}
#tracePlanPanel .trace-plan-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px}
#tracePlanPanel .trace-plan-table th,#tracePlanPanel .trace-plan-table td{padding:10px 12px;border-bottom:1px solid #e1e8eb;text-align:left;overflow-wrap:anywhere;white-space:normal}
#tracePlanPanel .trace-plan-table th:last-child,#tracePlanPanel .trace-plan-table td:last-child{width:115px;white-space:nowrap;text-align:right}
.trace-plan-table th:last-child,.trace-plan-table td:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650}
.trace-plan-table tbody tr:nth-child(2){background:#edf8f1;color:#186841}
.trace-plan-table tbody tr:nth-child(3){background:#fff8e8;color:#865b0a}
.trace-plan-swatch{display:inline-block;width:20px;border-top:3.4px solid #e31a1c;margin-right:8px;vertical-align:middle}
.trace-plan-category-scroll{overflow-x:auto;max-width:100%}
#tracePlanPanel .trace-plan-category{width:100%;min-width:0;font-size:12px;border-collapse:collapse}
#tracePlanPanel .trace-plan-category th,#tracePlanPanel .trace-plan-category td{padding:8px;border-bottom:1px solid #dce4e8;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#tracePlanPanel .trace-plan-category th:first-child,#tracePlanPanel .trace-plan-category td:first-child{text-align:left}
.trace-plan-progress{display:flex;align-items:center;gap:12px;margin:14px 0;font-size:14px}
.trace-plan-progress progress{width:min(440px,80%);height:10px;accent-color:#288b61}
.trace-planning details{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.trace-planning .trace-warning{padding:10px 12px;background:#fff8e8;border-left:3px solid #bf851b;font-size:13px}
@media(max-width:600px){.trace-planning .survey-toolbar label{width:100%;min-width:0}.trace-planning select{max-width:100%;width:100%}.trace-plan-table th,.trace-plan-table td{padding:8px 5px}.trace-plan-table{font-size:12px}}
 .trace-source-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;min-width:0;margin:0;padding:8px 12px;border:1px solid #cbd5e1;border-radius:4px}
 .trace-source-filter legend{font-size:12px;font-weight:600;padding:0 4px}
 .trace-source-filter .survey-check{margin:0;white-space:normal}
 .trace-source-filter [hidden]{display:none!important}
.trace-map-stage{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:stretch;height:max(420px,calc(100vh - 260px));max-height:900px;margin-top:12px}
.trace-map-controls{overflow:auto;overflow-anchor:none;min-width:0;padding-right:10px;scrollbar-gutter:stable;border-right:1px solid #d8e2e7}
.trace-map-controls>.survey-toolbar{gap:8px;margin:0 0 12px}
.trace-map-controls label,.trace-map-controls select{min-width:0;max-width:100%}
.trace-map-controls .survey-toolbar>label:not(.survey-check){flex:1 1 100%}
.trace-map-controls .survey-toolbar>label:not(.survey-check)>select{width:100%}
.trace-map-controls #tracePlanPanel{margin:0 0 12px;padding:8px 0}
.trace-map-controls #tracePlanPanel h2{font-size:14px}
.trace-map-controls .trace-legend{gap:8px;flex-wrap:wrap;font-size:11px}
.trace-map-stage #traceMap{height:100%;min-height:0;margin:0;min-width:0}
#traceScanDeleteSelected{width:auto;height:auto;min-height:36px;display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:8px}
#traceComparisonSelectionRows li{flex-wrap:wrap;justify-content:flex-start}
#traceComparisonSelectionRows li>span{flex-basis:100%}
#traceComparisonSelectionRows [data-admin-review-open]{width:auto;height:auto;min-height:32px;display:inline-flex;align-items:center;gap:4px}
#tracePlanSummary:empty,#traceComparisonSelectionRows:empty{display:none}
#tracePlanSummary{margin:20px 0}
#tracePlanSummary table{width:100%;min-width:0;table-layout:fixed;font-size:13px;border-collapse:collapse}
#tracePlanSummary th,#tracePlanSummary td{padding:8px 12px;border-bottom:1px solid #d8e2e7;white-space:normal;overflow-wrap:anywhere}
#tracePlanSummary .trace-plan-table th:last-child,#tracePlanSummary .trace-plan-table td:last-child{width:120px}
#tracePlanSummary details{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:760px){.trace-map-stage{display:flex;flex-direction:column;height:auto;max-height:none}.trace-map-stage #traceMap{order:-1;height:48vh;min-height:280px}.trace-map-controls{border:0;padding:0;max-height:360px}.trace-map-controls .survey-toolbar>label:not(.survey-check){flex:1 1 160px}}
.trace-polygon-drawing .qgis-point-label,
.trace-polygon-drawing .leaflet-overlay-pane .leaflet-interactive{pointer-events:none!important}
.trace-map-controls .trace-tool-basics{display:grid;gap:8px;margin-bottom:10px}
.trace-map-controls .trace-project-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:end;gap:6px}
.trace-map-controls label:not(.survey-check){display:grid;gap:4px;font-size:11px;font-weight:500}
.trace-map-controls select,.trace-map-controls input[type=date]{height:32px;min-height:32px;padding:5px 7px;font-size:12px;border-radius:4px}
.trace-map-controls button{min-height:32px;font-size:12px;padding:6px 8px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.trace-map-controls button svg,.trace-tool-group summary svg{width:16px;height:16px;flex-shrink:0}
.trace-map-controls .trace-project-row button{height:32px;width:32px;padding:7px}
.trace-map-controls #traceLabelBar{display:flex;gap:6px 12px;margin:0 0 10px}
.trace-map-controls .trace-source-filter{padding:0;border:0;border-radius:0;gap:6px 14px;width:100%}
.trace-map-controls .trace-source-filter legend{font-size:11px;padding:0;margin-bottom:5px;color:#627480}
.trace-map-controls .survey-check{font-size:12px;line-height:1.4;gap:6px}
.trace-map-controls .trace-tool-group,.trace-map-controls #tracePlanPanel{border:0;border-top:1px solid #d8e2e7;margin:0;padding:0;min-width:0}
.trace-tool-group>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 2px;box-sizing:border-box;font-size:12px;font-weight:650;color:#274453;cursor:pointer}
.trace-tool-group>summary::-webkit-details-marker{display:none}
.trace-tool-group>summary:focus-visible{outline:2px solid #168c9e;outline-offset:-2px;border-radius:4px}
.trace-tool-group>summary>.trace-tool-chevron{margin-left:auto;color:#6c818d;transition:transform .15s}
.trace-tool-group[open]>summary>.trace-tool-chevron{transform:rotate(180deg)}
.trace-tool-badge{font-size:10px;font-weight:600;background:#e2ecee;color:#315c65;padding:1px 5px;border-radius:4px;font-variant-numeric:tabular-nums}
.trace-tool-badge[hidden]{display:none!important}
.trace-tool-body{padding:0 0 12px;min-width:0}
.trace-map-controls .trace-tool-body.survey-toolbar,.trace-map-controls .trace-tool-body .survey-toolbar{gap:7px;margin:0}
.trace-map-controls .trace-polygon-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}
.trace-draw-actions{display:flex;gap:6px}
.trace-map-controls .trace-draw-actions button{width:32px;height:32px;padding:6px}
.trace-map-controls .trace-billing-actions{display:grid;grid-template-columns:1fr;gap:5px;margin-top:8px!important}
.trace-map-controls .trace-billing-actions button{justify-content:flex-start;width:100%;text-align:left}
.trace-map-controls #traceComparisonBar .trace-scan-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;gap:6px;width:100%}
.trace-map-controls .trace-scan-filter label:first-child{grid-column:1/-1;width:100%}
.trace-map-controls .trace-scan-filter input{width:100%;padding:4px;font-size:11px}
.trace-map-controls #traceComparisonInfo{font-size:11px;line-height:1.45;color:#617784}
.trace-map-controls .trace-file-actions{display:grid;gap:6px}
.trace-map-controls .trace-file-actions button{justify-content:flex-start;text-align:left}
.trace-map-controls a{font-size:12px;overflow-wrap:anywhere}
.trace-tool-footer{border-top:1px solid #d8e2e7;padding-top:10px}
.trace-tool-footer p{font-size:11px;color:#627480;line-height:1.4;margin:6px 0}
.trace-tool-footer p:empty{display:none}
.trace-map-controls #traceComparisonSelection>button{margin:6px 4px 0 0}
.trace-map-controls #traceComparisonSelectionCount{font-size:11px;font-weight:600}
@media(prefers-reduced-motion:reduce){.trace-tool-group>summary>.trace-tool-chevron{transition:none}}
