:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eef3f6;--surface:#fff;--subtle:#f3f7fa;--ink:#142c3c;--muted:#486275;--line:#cad8e1;--accent:#006367;--accent-hover:#004e52;--on-accent:#fff;--focus:#ab5b13;--danger:#a12735;--shadow:0 8px 28px #17364b0c;color:var(--ink);background:var(--bg);font-family:system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101b25;--surface:#172735;--subtle:#203545;--ink:#edf6fa;--muted:#adcad7;--line:#3b5465;--accent:#80e0d5;--accent-hover:#a7eee6;--on-accent:#102d2f;--focus:#ffd08a;--danger:#ffa8ad;--shadow:0 8px 28px #0003}body{margin:0}main{box-sizing:border-box}p{line-height:1.5}a{color:var(--accent)}.app-bar{background:var(--surface);border-bottom:1px solid var(--line)}.app-bar-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;max-width:88rem;margin:auto;padding:.5rem clamp(1rem,3vw,2rem);display:flex}.brand{letter-spacing:.04em;color:var(--ink);font-size:.9rem;font-weight:750}.theme-picker{background:var(--subtle);border:1px solid var(--line);border-radius:.7rem;padding:.2rem;display:inline-flex}.theme-picker button{color:var(--muted);background:0 0;border:1px solid #0000;margin:0;padding:.38rem .7rem;font-size:.85rem}.theme-picker button[aria-pressed=true]{background:var(--surface);color:var(--ink);border-color:var(--line)}main:not(.workspace){max-width:43rem;margin:clamp(1rem,5vw,3rem) auto;padding:clamp(1rem,4vw,2.5rem)}main:not(.workspace),.panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:1rem}h1{letter-spacing:-.035em;line-height:1.08}h2{letter-spacing:-.018em;font-size:1.18rem}h3{font-size:1rem}.eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;font-weight:750}form{gap:.65rem;margin:1rem 0;display:grid}label{font-weight:650}input,select,button,textarea{font:inherit;border:1px solid var(--line);background:var(--subtle);color:var(--ink);border-radius:.55rem;padding:.65rem .75rem}button{background:var(--accent);color:var(--on-accent);font-weight:700}button:not(:disabled){cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[aria-invalid=true]{border-color:var(--danger)}[role=alert]{color:var(--danger)}[role=status] strong{color:var(--accent);font-size:2rem;display:block}.workspace{max-width:92rem;margin:0 auto;padding:clamp(.75rem,2vw,1.5rem)}.workspace-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem;display:flex}.workspace-header h1{margin:.25rem 0;font-size:clamp(1.75rem,3vw,2.5rem)}.workspace-header p{color:var(--muted);margin:.35rem 0}.workspace-header .eyebrow{color:var(--accent)}.workspace-grid{grid-template-columns:minmax(16rem,21rem) minmax(0,1fr);align-items:start;gap:.75rem;display:grid}.workflow,.analysis-view{gap:.75rem;min-width:0;display:grid}.panel{min-width:0;margin:0;padding:.9rem}.panel h2,.panel h3{margin:.35rem 0 .8rem}.panel .eyebrow{margin:0}.panel form{grid-template-columns:minmax(0,1fr);gap:.45rem;margin:.5rem 0 0}.panel input:not([type=radio]),.panel select,.panel button{box-sizing:border-box;min-width:0;max-width:100%}.panel input[type=file],.panel input[type=number]{width:100%}.panel input[type=file]{font-size:.875rem;overflow:hidden}.panel form button{white-space:normal;width:100%}.panel :is(input,select,button):not([type=radio]):not(.trace-end){padding:.5rem .65rem}.panel p:not(.eyebrow){margin-block:.45rem}.panel fieldset{border:1px solid var(--line);border-radius:.65rem;min-width:0;margin:.8rem 0}.inventory-panel select{width:100%;margin-top:.4rem;display:block}.module-link{background:var(--surface);border:1px solid var(--line);white-space:nowrap;border-radius:.55rem;padding:.55rem .85rem;font-weight:650;text-decoration:none;display:inline-block}.trace-map{background:var(--subtle);border:1px solid var(--line);isolation:isolate;border-radius:.7rem;height:clamp(18rem,49dvh,42rem);margin-bottom:.75rem;overflow:hidden}.trace-end{color:#fff;background:#13476c;border:2px solid #fff;border-radius:50%;width:32px;height:32px;margin:0;padding:0}.trace-end[aria-pressed=true]{background:#15643d}.trace-map .leaflet-control-layers,.trace-map .leaflet-bar a,.trace-map .leaflet-control-attribution{background:var(--surface);color:var(--ink)}.trace-map .leaflet-control-attribution a{color:var(--accent)}.map-placeholder{text-align:center;min-height:clamp(11rem,28dvh,18rem);color:var(--muted);background:var(--subtle);border:1px dashed var(--line);border-radius:.7rem;place-items:center;padding:1rem;display:grid}.map-note{color:var(--muted);margin:.65rem 0 0;font-size:.85rem}.table-scroll{max-height:18rem;overflow:auto}.results-panel table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.results-panel th,.results-panel td{text-align:left;border-bottom:1px solid var(--line);padding:.7rem}.results-panel th{background:var(--subtle);position:sticky;top:0}@media (max-width:780px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-header{flex-wrap:wrap;align-items:flex-start}main:not(.workspace){margin-inline:.85rem}}.style-row{flex-wrap:wrap;align-items:center;gap:.5rem .8rem;margin:.4rem 0;display:flex}.style-row>span{min-width:12rem}.style-row input[type=color]{width:2.75rem;height:2.25rem}.style-row label{flex-wrap:wrap;align-items:center;gap:.4rem;display:inline-flex}.style-row input[type=range]{width:7rem}.trace-map .measure-tools button{border-radius:0;width:100%;padding:.35rem .5rem;font-size:.8rem;display:block}.trace-map .measure-tools button[aria-pressed=false]{background:var(--surface);color:var(--ink)}.trace-map .measure-tools button:disabled{display:none}.trace-map-measuring.leaflet-container{cursor:crosshair}.hca-form{gap:.85rem;max-width:70rem;display:grid}.hca-form>fieldset{margin:0}.hca-form>button{justify-self:start;min-width:min(100%,12rem)}.hca-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));align-items:start;gap:.75rem 1rem;display:grid}.hca-fields legend{font-weight:700}.hca-field-note,.hca-coverage{grid-column:1/-1}.hca-field-note{margin:0;font-size:.875rem}.hca-coverage{border-top:1px solid var(--line);flex-wrap:wrap;gap:.5rem 1.25rem;padding-top:.65rem;display:flex}.hca-coverage label{align-items:baseline;gap:.4rem;display:flex}.hca-eligible-row{flex-wrap:wrap;grid-column:1/-1;align-items:end;gap:.6rem;display:flex}.hca-eligible-row label{flex:10rem}.hca-fields label{min-width:0}.hca-fields :is(select,input):not([type=checkbox]){width:100%;margin-top:.3rem;display:block}.workspace-toolbar,.analysis-tabs,.dialog-header{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.workspace-toolbar{margin-bottom:.65rem}.analysis-tabs{border-bottom:1px solid var(--line);margin-bottom:.7rem}.analysis-tabs button{background:var(--surface);color:var(--ink);border-bottom-right-radius:0;border-bottom-left-radius:0}.analysis-tabs button[aria-selected=true]{background:var(--accent);color:var(--on-accent)}.setup-dialog,.layer-dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--bg);width:min(44rem,100% - 2rem);max-height:85dvh;color:var(--ink);border-radius:.9rem;overflow:auto}.setup-dialog::backdrop,.layer-dialog::backdrop{background:#101b25aa}.dialog-header{justify-content:space-between;margin-bottom:.65rem}.setup-dialog .workflow{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-dialog .workflow>:last-child{grid-column:1/-1}.map-panel .trace-map{height:clamp(18rem,51dvh,48rem)}@media (max-width:640px){.setup-dialog .workflow{grid-template-columns:minmax(0,1fr)}}.trace-map .layer-settings{border-top:1px solid var(--line);margin-top:.35rem;padding-top:.35rem}.layer-order-row{align-items:center;gap:.25rem;display:flex}.layer-dialog .layer-order-row button{padding:.1rem .35rem}.layer-dialog .layer-order-row input[type=range]{width:clamp(5rem,24vw,14rem);padding:0}.layer-order-row output{text-align:right;min-width:2.4rem}.layer-dialog{max-width:32rem}.layer-dialog ol{margin:0;padding-left:1.5rem}.layer-dialog li{margin-bottom:.6rem}.layer-dialog li>span{margin-bottom:.2rem;font-weight:650;display:block}.trace-map .layer-settings button{width:100%;font-size:.8rem}.export-layer-choice{margin-top:.6rem;display:block}.help-actions,.analysis-progress{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.secondary-action{background:var(--surface);color:var(--ink);border-color:var(--line)}.secondary-action:hover:not(:disabled){background:var(--subtle)}.pk-badge{color:var(--muted);font-size:.875rem}.analysis-progress{border-inline-start:3px solid var(--accent);background:var(--subtle);justify-content:space-between;margin-bottom:.65rem;padding:.25rem .7rem}.analysis-progress p{margin:.3rem 0}.analysis-progress button{padding:.35rem .55rem}.help-dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:min(40rem,100% - 1.25rem);max-height:85dvh;color:var(--ink);border-radius:.9rem;padding:clamp(.8rem,3vw,1.4rem);overflow:auto}.help-dialog::backdrop{background:#101b25aa}.help-dialog h2{margin:0}.reference-list{padding:0;list-style:none}.reference-list li{border-top:1px solid var(--line);padding:.65rem 0}.reference-list p{margin:.25rem 0 0}.review-notice{background:var(--subtle);border-inline-start:3px solid var(--focus);padding:.6rem .75rem}.trace-map .leaflet-control-layers{max-width:min(16rem,52vw);max-height:calc(clamp(18rem,51dvh,48rem) - 2.5rem);overflow:auto}.analysis-tabs button,.help-actions button{min-height:2.5rem}@media (max-width:480px){.analysis-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.analysis-tabs button{white-space:normal;font-size:.875rem}.help-actions{width:100%}.help-actions button{flex:1}}[data-tour-active=true]{outline:3px solid var(--focus);outline-offset:3px;scroll-margin-block:1rem}.tour-coach{z-index:1200;box-sizing:border-box;border:1px solid var(--line);border-inline-start:4px solid var(--focus);background:var(--surface);width:min(26rem,100% - 2rem);color:var(--ink);box-shadow:var(--shadow);border-radius:.75rem;padding:.75rem;position:fixed;inset:auto 1rem 1rem auto}.setup-dialog .tour-coach{width:100%;margin-top:.75rem;position:sticky;inset:auto auto 0}.tour-coach h3,.tour-coach p{margin:.25rem 0}.tour-actions{flex-wrap:wrap;gap:.4rem;margin-top:.55rem;display:flex}.tour-actions button{padding:.4rem .55rem}.field-hint{color:var(--ink);margin:.25rem 0 .45rem;font-size:.875rem;font-weight:400;line-height:1.4;display:block}.hca-coverage label:has(.field-hint){flex:17rem;display:block}.hca-coverage label>.field-hint{margin-inline-start:1.35rem}.hca-configuration{gap:1rem;max-width:none}.hca-configuration>fieldset{padding:.85rem 1rem 1rem}.hca-configuration .field-hint,.hca-configuration .hca-field-note{color:var(--muted,var(--ink))}.hca-configuration .field-hint{margin-bottom:0}.hca-configuration .hca-coverage{gap:.65rem}.hca-configuration .hca-coverage label{border:1px solid var(--line);border-radius:.55rem;padding:.65rem .75rem}.hca-submit{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem 1rem;display:flex}.hca-submit button{min-width:min(100%,12rem)}
