@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');
:root{--ink:#142f38;--muted:#748991;--line:#e5ecec;--green:#167455;--green2:#2ba779;--soft:#eaf6f0;--shadow:0 12px 34px rgba(24,54,59,.065);--r-xl:26px;--r-lg:20px;--r-md:15px;--r-sm:11px}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{min-height:100%}body{margin:0;color:var(--ink);font-family:'DM Sans',Inter,system-ui,sans-serif;background:radial-gradient(ellipse at 6% 0%,rgba(87,174,139,.12),transparent 28%),radial-gradient(ellipse at 100% 5%,rgba(71,117,132,.09),transparent 26%),linear-gradient(180deg,#f0f5f4,#edf2f3)}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(43,167,121,.28);outline-offset:2px}::selection{background:rgba(43,167,121,.18)}
/* Brand header */
.app-header{position:sticky;z-index:1500;top:0;height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 28px;color:#f4fbf8;background:radial-gradient(circle at 58% -100%,rgba(63,165,125,.28),transparent 42%),linear-gradient(110deg,#0c252e,#12363d 54%,#17483f);border-bottom:1px solid rgba(255,255,255,.07);box-shadow:0 8px 28px rgba(12,37,45,.13)}
.brand-lockup{display:flex;align-items:center;gap:12px;min-width:230px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;color:#eafff5;font-size:26px;border:1px solid rgba(173,239,205,.2);border-radius:15px;background:linear-gradient(145deg,#2b9b70,#14533f);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 20px rgba(12,90,61,.24)}.brand{color:#fff;font:800 21px/1 'Manrope',sans-serif;letter-spacing:-.8px}.brand b{color:#78e6b5}.brand-lockup small{display:block;margin-top:5px;color:#8eaaa6;font-size:8px;font-weight:700;letter-spacing:2.1px}
.topnav{display:flex;align-items:center;gap:5px;padding:5px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.055)}.topnav a{padding:10px 17px;border-radius:10px;color:#b0c5c0;font-size:11px;font-weight:700;transition:.2s}.topnav a:hover,.topnav a.active{color:#f4fff9;background:rgba(112,224,172,.16)}.header-right{display:flex;align-items:center;justify-content:flex-end;gap:13px;min-width:230px}.live-pill{display:flex;align-items:center;gap:8px;color:#b5cbc5;font-size:9px;font-weight:700;letter-spacing:1.35px}.live-pill i{width:7px;height:7px;border-radius:50%;background:#69e4a8;box-shadow:0 0 0 5px rgba(105,228,168,.13)}.header-right>button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:50%;color:#e6f3ee;background:rgba(255,255,255,.07);font-weight:800;transition:.2s}.header-right>button:hover{background:rgba(255,255,255,.15);transform:translateY(-1px)}
/* Three-panel shell */
.layout{display:grid;grid-template-columns:318px minmax(440px,1fr) 366px;gap:16px;height:calc(100vh - 76px);min-height:680px;padding:16px}.left,.right,.mapwrap{min-width:0;min-height:0;border:1px solid rgba(255,255,255,.82);background:rgba(255,255,255,.79);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.left,.right{overflow:auto;padding:19px;border-radius:var(--r-xl);scrollbar-width:thin;scrollbar-color:#d3e1dd transparent}.left::-webkit-scrollbar,.right::-webkit-scrollbar{width:6px}.left::-webkit-scrollbar-thumb,.right::-webkit-scrollbar-thumb{border-radius:20px;background:#d3e1dd}.mapwrap{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:29px;background:#dce7e4;box-shadow:0 18px 54px rgba(22,55,61,.12)}.panel{margin:0 0 15px;padding:0 0 15px;border-bottom:1px solid #edf1f1}.panel:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.card-panel,.hero-card{padding:16px;border:1px solid #e7eeee;border-radius:19px;background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(248,251,250,.94));box-shadow:0 7px 24px rgba(25,58,62,.035)}.hero-card{padding:17px;background:linear-gradient(145deg,#fff,#f4faf7)}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.panel-head small{display:block;color:#82969a;font-size:8px;font-weight:800;letter-spacing:1.45px}.panel-head h1{margin:6px 0 0;max-width:230px;color:#16343d;font:800 20px/1.22 'Manrope',sans-serif;letter-spacing:-.65px}.hero-card>p{margin:11px 0 0;color:#71868a;font-size:11px;line-height:1.55}.version-pill,.pill-subtle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:6px 10px;border:1px solid #dceee4;border-radius:999px;color:#277353;background:#edf7f1;font-size:9px;font-weight:800;white-space:nowrap}
.workflow-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.workflow-step{position:relative;min-height:91px;padding:12px 10px 10px 42px;border:1px solid #e6eeeb;border-radius:14px;text-align:left;background:rgba(255,255,255,.9);transition:transform .18s,border-color .18s,box-shadow .18s}.workflow-step span{position:absolute;left:10px;top:11px;width:24px;height:24px;display:grid;place-items:center;border-radius:8px;color:#237451;background:#eaf6ef;font-size:9px;font-weight:800}.workflow-step b{display:block;color:#1b3b42;font-size:11px}.workflow-step small{display:block;margin-top:4px;color:#829397;font-size:9px;line-height:1.4}.workflow-step:hover,.workflow-step.active{transform:translateY(-1px);border-color:#b8dcca;box-shadow:0 9px 22px rgba(25,104,72,.08)}.workflow-step.active span{color:#fff;background:#27845f}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.section-title-row h2{margin:0;color:#1c3a42;font:700 13px 'Manrope',sans-serif;letter-spacing:-.2px}
/* Inputs and actions */
.search{display:flex;gap:8px;margin:12px 0 0}.search input,.field input,.field select,.preflight-form input,.preflight-form select{width:100%;min-width:0;height:40px;padding:0 12px;border:1px solid #e1e9e8;border-radius:11px;color:#28464d;background:#fbfdfc;font-size:11px;transition:border-color .18s,box-shadow .18s,background .18s}.search input{flex:1}.search input:focus,.field input:focus,.field select:focus,.preflight-form input:focus,.preflight-form select:focus{outline:none;border-color:#91cdb2;background:#fff;box-shadow:0 0 0 3px rgba(43,167,121,.10)}.search button,.primary,#preflightExport{min-height:40px;padding:0 15px;border:0;border-radius:11px;color:#f6fffa;background:linear-gradient(135deg,#258a66,#176448);box-shadow:0 8px 16px rgba(22,100,72,.15);font-size:11px;font-weight:800;transition:transform .18s,box-shadow .18s,filter .18s}.search button:hover,.primary:hover,#preflightExport:hover{transform:translateY(-1px);box-shadow:0 12px 20px rgba(22,100,72,.2);filter:saturate(1.08)}.field{display:grid;gap:6px;margin:9px 0;color:#5e767c;font-size:10px;font-weight:700}.field b{color:#38545b;font-size:10px}.note{padding:11px 12px;border:1px solid #deece4;border-radius:13px;color:#57776a;background:linear-gradient(135deg,#f0f8f3,#fbfdfc);font-size:10px;line-height:1.55}.panel-tip,.muted,p{color:#7d9094;font-size:10px;line-height:1.55}.panel-tip{margin:9px 0 0}.upload{display:grid;gap:4px;justify-items:start;padding:13px 14px;border:1px dashed #acd1be;border-radius:13px;color:#236c4d;background:linear-gradient(140deg,#f5fbf7,#edf7f1);font-size:11px;font-weight:800;cursor:pointer;transition:.2s}.upload:hover{border-color:#67b68f;background:#edf8f1;box-shadow:0 8px 18px rgba(28,119,78,.07)}.upload small{color:#7c938a;font-size:9px;font-weight:600}.upload input{display:none}.project-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.project-actions button,.advanced-panel button,#reverseAddress{min-height:35px;padding:0 10px;border:1px solid #dcebe2;border-radius:10px;color:#2c7454;background:#f1f8f4;font-size:10px;font-weight:800;transition:.18s}.project-actions button:hover,.advanced-panel button:hover,#reverseAddress:hover{border-color:#b1d7c1;background:#e8f5ed}#savedAt{display:block;margin-top:8px}
.resource-grid{display:grid;gap:7px}.resource-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border:1px solid #e7eeee;border-radius:12px;color:#34565d;background:#fff;font-size:10px;font-weight:800;transition:.18s}.resource-link span{color:#87999c;font-size:8px;font-weight:600;text-align:right}.resource-link:hover{transform:translateX(2px);border-color:#c7e1d2;background:#f7fbf8;box-shadow:0 6px 14px rgba(28,83,66,.05)}a:not([class]){color:#287957;text-decoration:none;border-bottom:1px solid rgba(40,121,87,.2)}a:not([class]):hover{color:#145a3e;border-bottom-color:#145a3e}
/* Custom basemap selector with real visual previews */
.native-select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.basemap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.basemap-card{position:relative;min-width:0;padding:6px;display:flex;flex-direction:column;gap:7px;border:1px solid #e4ebea;border-radius:13px;text-align:left;background:#fff;transition:.2s}.basemap-card:hover{transform:translateY(-2px);border-color:#badcc9;box-shadow:0 8px 16px rgba(26,83,64,.08)}.basemap-card.active{border-color:#78bd98;background:#f4faf6;box-shadow:0 0 0 2px rgba(43,167,121,.09)}.basemap-preview{height:52px;width:100%;display:block;position:relative;overflow:hidden;border-radius:8px;background:#e9efed}.basemap-preview:before,.basemap-preview:after,.basemap-preview i{content:'';position:absolute;display:block}.street-preview{background:linear-gradient(24deg,transparent 42%,#fff 43% 48%,transparent 49%),linear-gradient(110deg,transparent 44%,#fff 45% 50%,transparent 51%),#e6eee8}.street-preview:before{width:125%;height:5px;left:-10%;top:22px;background:#f7c96b;transform:rotate(-17deg);box-shadow:0 0 0 2px rgba(255,255,255,.65)}.street-preview:after{width:8px;height:8px;left:58%;top:9px;border-radius:50%;background:#6bb48a;box-shadow:-28px 26px 0 #e1a66e,22px 23px 0 #9ebc9f}.satellite-preview{background:radial-gradient(ellipse at 20% 35%,#9caa75 0 18%,transparent 19%),radial-gradient(ellipse at 75% 20%,#4d765c 0 24%,transparent 25%),radial-gradient(ellipse at 62% 83%,#b6a47b 0 17%,transparent 18%),linear-gradient(135deg,#536f57,#9b9a6b 48%,#466c57)}.satellite-preview:before{width:130%;height:9px;left:-10%;top:23px;background:#c9c2a0;transform:rotate(-28deg);opacity:.85}.light-preview{background:linear-gradient(90deg,transparent 47%,#d5dfdc 48% 51%,transparent 52%),linear-gradient(0deg,transparent 47%,#d5dfdc 48% 51%,transparent 52%),#f2f4ef}.light-preview:before{width:100%;height:2px;left:0;top:16px;background:#b7c6c0;transform:rotate(22deg)}.light-preview:after{width:24px;height:15px;left:50%;top:29px;background:#d9e9db;border-radius:3px}.basemap-copy{display:block;min-width:0}.basemap-copy strong{display:block;color:#29474d;font-size:10px}.basemap-copy small{display:block;margin-top:3px;color:#829397;font-size:8px;line-height:1.3}.basemap-check{display:none;position:absolute;right:9px;top:9px;width:17px;height:17px;place-items:center;border-radius:50%;color:#fff;background:#27845f;font-size:10px;font-weight:800}.basemap-card.active .basemap-check{display:grid}
/* Map area */
.toolbar{padding:16px 19px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(18,44,52,.08);background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.75))}.toolbar-title strong{display:block;font:700 16px 'Manrope',sans-serif}.toolbar-title small{display:block;margin-top:4px;color:#809398;font-size:10px}.toolbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar-actions button{height:38px;padding:0 13px;border:0;border-radius:11px;color:#effaf7;background:#123a40;font-size:10px;font-weight:800;transition:.18s}.toolbar-actions button:hover{background:#1a5147;transform:translateY(-1px)}.toolbar-badge{display:inline-flex;align-items:center;height:38px;padding:0 12px;border:1px solid #e3ebea;border-radius:11px;color:#526d73;background:#f8fbfa;font-size:9px;font-weight:700}
.map-stage{position:relative;flex:1;min-height:0;background:#dde8e5}#map{height:100%;min-height:0;background:#dde8e5}.hint,.legend,.map-coordinate{position:absolute;z-index:600;border:1px solid rgba(255,255,255,.95);background:rgba(255,255,255,.9);backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(24,54,59,.12)}.hint{top:16px;left:16px;max-width:320px;padding:11px 13px;border-radius:14px;color:#4d6d74;font-size:10px;line-height:1.5}.legend{right:16px;bottom:66px;padding:13px 15px;border-radius:16px;color:#4b6369;font-size:10px}.legend b{display:block;margin-bottom:8px;color:#6f858b;font-size:9px;letter-spacing:.12em}.legend div{display:flex;align-items:center;gap:8px;margin:7px 0}.swatch{width:11px;height:11px;display:inline-block;border-radius:4px}.swatch-green{background:#31a47e}.swatch-blue{background:#56a7ed}.swatch-yellow{background:#f0ca4d}.map-coordinate{left:16px;bottom:16px;padding:9px 12px;border-radius:12px;color:#476269;font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.statusbar{height:43px;flex:0 0 43px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(18,44,52,.08);background:rgba(255,255,255,.8);color:#647a80;font-size:9px}.statusbar b{color:#16323b}
/* Decision console */
.right-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.right-header small{display:block;color:#87989d;font-size:8px;font-weight:800;letter-spacing:.18em}.right-header h1{margin:6px 0 0;font:800 23px 'Manrope',sans-serif;letter-spacing:-.6px}.status-chip{display:inline-flex;align-items:center;justify-content:center;max-width:46%;padding:8px 11px;border:1px solid #d7eadf;border-radius:999px;color:#20694f;background:#eef7f2;font-size:9px;font-weight:800;text-align:center}.tabs{display:flex;gap:5px;padding:5px;border:1px solid #e5eceb;border-radius:15px;background:#eef3f2;margin-bottom:14px}.tabs button{flex:1;height:36px;border:0;border-radius:11px;color:#748a90;background:transparent;font-size:10px;font-weight:800;transition:.18s}.tabs button.active{color:#1f6248;background:#fff;box-shadow:0 5px 14px rgba(19,56,61,.08)}
.analysis-card,.preflight-form{padding:14px;margin-bottom:12px;border:1px solid #e7eeee;border-radius:17px;background:linear-gradient(180deg,#fff,#fafcfc);box-shadow:0 7px 20px rgba(19,49,58,.035)}.stat{padding:17px;margin-bottom:13px;border:1px solid #d7ece0;border-radius:20px;background:linear-gradient(135deg,#eaf7ef,#fff)}.stat small{display:block;color:#6f8e83;font-size:9px;font-weight:800;letter-spacing:.1em}.stat strong{display:block;margin:8px 0 4px;color:#176b50;font:800 30px 'Manrope',sans-serif;letter-spacing:-.04em}
.result,.candidate,.dataset{padding:12px 0;border-bottom:1px solid #eef2f3}.result:last-child,.candidate:last-child,.dataset:last-child{border-bottom:0}.result-head,.candidate>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;color:#45616a;font-size:10px}.result-head b,.candidate strong{color:#1e7256;font-size:12px}.bar{height:7px;margin:9px 0;border-radius:999px;background:#edf2f1}.bar i{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#39b080,#1f6d53)}.diagnostics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.diagnostics div{padding:11px;border:1px solid #e4eded;border-radius:13px;background:#f5f9f8}.diagnostics small{display:block;color:#7d9196;font-size:9px}.diagnostics b{display:block;margin-top:5px;color:#2d5949;font-size:12px}
.warning{padding:12px 13px;margin-top:11px;border:1px solid #f0e0b8;border-radius:15px;color:#8a6a25;background:#fff8ea;font-size:10px;line-height:1.6}.actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:3px}.actions button{height:40px;padding:0 13px;border:1px solid #e1e9e8;border-radius:11px;color:#4f6870;background:#fff;font-size:10px;font-weight:800;transition:.18s}.actions button:hover:not(:disabled){transform:translateY(-1px);border-color:#b8dcca;background:#f8fcf9}.actions button.primary{color:#fff;border-color:transparent;background:linear-gradient(135deg,#258a66,#176448)}.actions button:disabled{opacity:.42;cursor:not-allowed}
.dataset{font-size:10px;overflow-wrap:anywhere}.dataset label{display:flex;align-items:center;gap:8px;color:#335056;font-weight:700}.dataset input[type=checkbox]{accent-color:var(--green)}.dataset select{width:100%;height:36px;margin-top:9px;padding:0 10px;border:1px solid #e2e9e8;border-radius:10px;color:#526c73;background:#fff;font-size:10px}.dataset button[data-remove]{height:33px;margin-top:8px;padding:0 11px;border:1px solid #f0d4cf;border-radius:10px;color:#9a4e45;background:#fff4f3;font-size:10px;font-weight:800}.metadata-grid{display:grid;gap:7px;margin-top:9px;padding:10px;border:1px solid #ecf1f1;border-radius:13px;background:#fbfdfd}.metadata-grid input{height:35px;padding:0 10px;border:1px solid #e3eae9;border-radius:9px;font-size:10px}.attest{display:flex!important;align-items:flex-start;gap:7px;margin-top:8px;color:#617b70;font-size:9px;line-height:1.5;font-weight:500}.attest input{width:auto;height:auto;margin-top:2px}
.trust-summary{padding:13px;border:1px solid #dcece3;border-radius:15px;background:linear-gradient(135deg,#eef8f3,#fff)}.trust-meter{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#47645b;font-size:11px;font-weight:800}.trust-meter b{color:#176b50;font:800 22px 'Manrope',sans-serif}
.score-hero{display:flex;align-items:center;gap:14px;padding:15px;margin-bottom:13px;border:1px solid #dcece3;border-radius:19px;background:linear-gradient(135deg,#eef8f3,#fff)}.score-ring{width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;position:relative;border-radius:50%;color:#196d52;background:conic-gradient(#36aa7d 0%,#e5eeeb 0)}.score-ring:before{content:'';position:absolute;inset:7px;border-radius:50%;background:#fff}.score-ring b,.score-ring small{position:relative}.score-ring b{font:800 21px 'Manrope',sans-serif}.score-ring small{font-size:9px;color:#8aa09a}.score-hero strong{display:block;margin-top:4px;color:#204e42;font-size:14px}.score-hero p{margin:5px 0 0}.preflight-check{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #eef2f1;color:#4f676e;font-size:10px}.preflight-check:first-child{border-top:0}.preflight-check span{width:20px;height:20px;display:grid;place-items:center;border:1px solid #dbe5e3;border-radius:7px;color:#8da09b;font-size:11px;font-weight:800}.preflight-check span.done{color:#21845f;background:#eaf7ef;border-color:#d6ebde}.preflight-check b{flex:1}.preflight-check small{color:#94a4a5;font-size:9px}.preflight-form{display:grid;gap:10px}.preflight-form h2{margin:7px 0 0;color:#1d3d43;font:700 14px 'Manrope',sans-serif}.preflight-form label{display:grid;gap:6px;color:#5f7880;font-size:10px;font-weight:700}.preflight-form p{margin:0}.preflight-form button{min-height:36px;border:1px solid #d8ebe0;border-radius:10px;color:#287353;background:#f0f8f3;font-size:10px;font-weight:800}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}#buildingFields{display:grid;gap:10px}.inline-link{display:inline-flex;padding:7px 11px;border:1px solid #d7eadf;border-radius:999px;color:#1e7054;background:#eef7f2;font-size:10px;font-weight:800}
.advanced-panel{margin-top:12px;overflow:hidden;border:1px solid #e4ebec;border-radius:13px;background:#fbfdfd}.advanced-panel summary{padding:12px 13px;color:#4f6c70;font-size:10px;font-weight:800;cursor:pointer;list-style:none}.advanced-panel summary::-webkit-details-marker{display:none}.advanced-panel summary:after{content:'+';float:right;color:#388466;font-size:16px}.advanced-panel[open] summary:after{content:'−'}.advanced-panel .field{margin:0;padding:0 12px 12px}.advanced-panel .field input{margin-top:2px}.advanced-panel button{width:100%}.stack-gap{display:grid;gap:8px}.toast{position:fixed;z-index:2100;left:50%;bottom:22px;max-width:min(90vw,520px);padding:13px 16px;transform:translateX(-50%);border:1px solid rgba(255,255,255,.08);border-radius:15px;color:#edf7f2;background:rgba(12,29,35,.94);box-shadow:0 24px 56px rgba(11,28,33,.34);font-size:11px;line-height:1.55}
/* Onboarding dialog and map controls */
.help-modal[hidden]{display:none}.help-modal{position:fixed;z-index:2200;inset:0;display:grid;place-items:center;padding:24px;background:rgba(7,19,25,.56);backdrop-filter:blur(10px)}.help-card{position:relative;width:min(520px,100%);padding:28px;border:1px solid rgba(255,255,255,.8);border-radius:27px;background:linear-gradient(180deg,#fff,#f7fbf9);box-shadow:0 28px 70px rgba(9,32,36,.24)}.help-card>small{display:block;color:#2c8a67;font-size:9px;font-weight:800;letter-spacing:.22em}.help-card h2{margin:10px 0 12px;color:#173b3f;font:800 28px/1.12 'Manrope',sans-serif;letter-spacing:-.7px}.help-card p{font-size:11px}.help-steps{display:grid;gap:9px;margin:17px 0}.help-steps div{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #e0ece7;border-radius:15px;background:#f5faf8}.help-steps b{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:9px;color:#1f7b5a;background:#e8f5ee;font-size:11px}.help-steps span{color:#4a666d;font-size:11px;line-height:1.5}.help-card .primary{width:100%;height:42px;border-radius:12px;background:#176d53;color:#fff;font-weight:800}.close-help{position:absolute;top:13px;right:14px;width:34px;height:34px;border:1px solid #e2ebea;border-radius:50%;color:#78918a;background:#fff;font-size:21px;line-height:1}
.leaflet-control-zoom{overflow:hidden;border:1px solid rgba(255,255,255,.9)!important;border-radius:13px!important;box-shadow:0 8px 20px rgba(22,55,61,.13)!important}.leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:34px!important;color:#345a58!important;background:rgba(255,255,255,.94)!important;border:0!important}.leaflet-control-zoom a:hover{color:#176b50!important;background:#eef8f2!important}.leaflet-bar{border:0!important}.leaflet-control-scale-line{border-color:#55716c!important;color:#47615d!important;background:rgba(255,255,255,.78)!important}.leaflet-control-attribution{padding:4px 8px!important;border-radius:9px 0 0 0;background:rgba(255,255,255,.88)!important;color:#667d80!important;font-size:9px!important}.leaflet-control-attribution a{color:#287957!important}
@media(max-width:1380px){.layout{grid-template-columns:300px minmax(390px,1fr) 340px;gap:13px;padding:13px}.left,.right{padding:16px}}
@media(max-width:1120px){.layout{grid-template-columns:300px minmax(0,1fr);grid-template-areas:'left map' 'right right';height:auto;min-height:0}.left{grid-area:left}.mapwrap{grid-area:map;min-height:680px}.right{grid-area:right;max-height:none}}
@media(max-width:820px){.app-header{height:auto;min-height:72px;padding:13px 16px;flex-wrap:wrap}.topnav{order:3;width:100%;justify-content:center}.header-right{min-width:0}.layout{display:flex;flex-direction:column;height:auto;min-height:0;padding:11px}.mapwrap{order:1;min-height:570px}.left{order:2}.right{order:3}.left,.right{overflow:visible}}
@media(max-width:600px){.topnav,.live-pill{display:none}.app-header{height:66px;min-height:66px}.brand-lockup{min-width:0}.layout{gap:11px}.left,.right{padding:14px;border-radius:21px}.mapwrap{border-radius:22px;min-height:540px}.toolbar{align-items:flex-start;flex-direction:column;padding:13px}.toolbar-actions{width:100%}.toolbar-actions button,.toolbar-badge{flex:1;justify-content:center}.map-stage{min-height:460px}#map{min-height:460px}.hint{left:10px;right:10px;top:10px;max-width:none}.legend{right:10px;bottom:63px;max-width:190px}.map-coordinate{left:10px;bottom:10px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.statusbar{height:auto;flex:0 0 auto;align-items:flex-start;flex-direction:column;padding:10px 13px;gap:5px}.workflow-grid{grid-template-columns:1fr 1fr}.basemap-grid{gap:5px}.basemap-card{padding:5px}.basemap-preview{height:43px}.basemap-copy small{font-size:7px}.two-fields,.project-actions{grid-template-columns:1fr}.score-hero{align-items:flex-start}.right-header h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body{background:#fff}.app-header,.left,.mapwrap,.tabs,.actions,#preflightExport,.help-modal{display:none!important}.layout{display:block;height:auto;padding:0}.right{overflow:visible;border:0;background:#fff;box-shadow:none;padding:0}.analysis-card,.preflight-form,.score-hero,.stat{border:1px solid #ddd;background:#fff;box-shadow:none}.warning{break-inside:avoid}}
