.investment-strip{display:flex;align-items:center;gap:12px;padding:12px 24px;background:#edf5ef;border-bottom:1px solid #cfdfd5;grid-column:1/-1;flex-wrap:wrap}.investment-strip[hidden]{display:none}.investment-strip>div{display:grid;gap:3px;margin-right:auto}.investment-strip small{font-size:10px;letter-spacing:.12em;color:#3c6a56}.investment-strip strong{font-size:20px;color:#173f33}.investment-strip span{font-size:11px;color:#5a6d63}.investment-strip button{padding:12px 18px;border-radius:9px;min-height:44px}.site-dialog,.delivery-dialog{border:0;padding:0;color:#163e33;background:#f6f9f6;border-radius:18px;box-shadow:0 24px 90px #142e3b55}.site-dialog{width:calc(100vw - 24px);max-width:1800px;height:calc(100dvh - 24px);max-height:none}.site-dialog::backdrop,.delivery-dialog::backdrop{background:#14352f99}.site-dialog header,.delivery-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #d5e1d8;background:white}.site-dialog h2,.delivery-dialog h2{margin:4px 0;font-size:23px}.site-dialog header small{font-size:10px;letter-spacing:.1em}.site-dialog header>button,.delivery-dialog header>button{font-size:28px;border:0;width:44px;height:44px;border-radius:50%;background:#e7f0ea}.site-layout{display:grid;grid-template-columns:330px minmax(0,1fr);height:calc(100% - 90px)}.site-layout aside{padding:20px;overflow:auto;border-right:1px solid #d5e1d8;background:white;line-height:1.5}.site-dialog label,.delivery-dialog label,.planning-admin label{display:grid;gap:7px;font-size:13px;margin:12px 0}.site-dialog input:not([type=checkbox]),.site-dialog select,.delivery-dialog input,.delivery-dialog select,.planning-admin input,.planning-admin select,.planning-admin textarea{box-sizing:border-box;padding:10px;border:1px solid #bfd0c6;border-radius:8px;width:100%;background:white;color:#163e33;font:inherit}.site-dialog button,.delivery-dialog button,.planning-admin button{cursor:pointer;padding:10px 13px;min-height:42px;border:1px solid #c8dacf;border-radius:8px;background:#f0f6f2;color:#143e32;font-family:inherit;font-size:12px;font-weight:600}.site-dialog .primary,.delivery-dialog .primary,.planning-admin [type=submit]{background:#116b50;color:white;border-color:#116b50}.site-dialog button:disabled,.delivery-dialog button:disabled{opacity:.5;cursor:wait}.site-dialog details{margin:16px 0}.site-dialog summary,.planning-admin summary{cursor:pointer;font-weight:700}.site-dialog fieldset{border:0;padding:0;margin:14px 0}.site-dialog p{font-size:12px}.site-dialog #site-layers label{display:flex;align-items:center}.site-dialog #site-layers input{width:auto}.site-stage{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.site-stage nav{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:white}.site-stage #site-map{position:relative;flex:1;min-height:260px;overflow:hidden}.site-stage canvas{display:block;width:100%;height:100%}.site-empty{height:100%;display:grid;place-items:center;padding:40px;box-sizing:border-box;text-align:center;color:#61786b;background:linear-gradient(30deg,#edf4ee,#d8e7df)}.site-stage #site-metrics{background:white;padding:12px 18px;font-size:12px;max-height:180px;overflow:auto;border-top:1px solid #d5e1d8}.site-stage #site-metrics>div{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0}.site-stage #site-metrics strong{display:block;font-size:16px}.site-stage #site-metrics small{font-size:10px}.site-stage #map-status{padding:0 16px;margin:6px 0;font-size:11px;min-height:16px}.site-scale{font-size:11px;padding:4px 16px;background:#e1eee6}.invest-actions{display:flex;flex-wrap:wrap;gap:6px}.invest-warning{color:#a13c1f;background:#fff0dc;padding:12px;border-radius:8px}.delivery-dialog{width:min(960px,calc(100vw - 24px));max-height:94dvh}.delivery-body{padding:20px 28px;line-height:1.6}.delivery-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.delivery-label{font-size:11px;font-weight:700;letter-spacing:.09em;color:#946818}.delivery-timeline{list-style:none;padding:0;display:grid;gap:10px}.delivery-timeline li{padding:12px 16px;border-left:4px solid #a9c5b5;background:#fff;border-radius:0 8px 8px 0;display:grid;gap:5px}.delivery-timeline .critical{border-color:#d49636}.delivery-timeline span{font-size:13px}.delivery-timeline small{font-size:11px;color:#65786c}.investment-summary{break-before:page;margin-top:30px}.investment-summary li{break-inside:avoid}.planning-admin{margin:0;background:#f1f6f3;color:#193f32;font:15px/1.6 system-ui,sans-serif}.planning-admin main{max-width:1000px;margin:30px auto;padding:30px;background:white;border-radius:20px}.planning-admin #day-fields,.planning-admin #factor-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}.planning-admin #admin-status{position:sticky;top:0;padding:12px;background:#e4efe8;z-index:1}.site-dialog #address-results button,.site-dialog #parcel-results button,.site-dialog #site-variants button{display:block;width:100%;text-align:left;margin:6px 0}
@media(min-width:801px){#editor:has(.investment-strip){grid-template-rows:auto auto minmax(0,1fr)}#editor:has(.investment-strip) .investment-strip{grid-row:1}#editor:has(.investment-strip) #rail{grid-row:2}#editor:has(.investment-strip) #panel,#editor:has(.investment-strip) #viewport{grid-row:3}}
@media(max-width:800px){.investment-strip{padding:10px 12px;gap:7px}.investment-strip strong{font-size:17px}.investment-strip button{font-size:11px;padding:10px}.site-dialog{width:100vw;height:100dvh;margin:0;border-radius:0}.site-layout{display:flex;flex-direction:column;height:auto}.site-stage{order:-1;min-height:64dvh}.site-stage #site-map{flex:none;height:42dvh;min-height:260px}.site-stage #site-metrics{max-height:140px}.site-layout aside{overflow:visible;border:0}.site-dialog header{position:sticky;top:0;z-index:10;padding:10px}.site-dialog h2{font-size:18px}.delivery-inputs{grid-template-columns:1fr}.delivery-body{padding:14px}.planning-admin main{padding:18px;margin:0}.planning-admin #day-fields,.planning-admin #factor-fields{grid-template-columns:1fr 1fr}}
@media print{.investment-strip,.site-dialog,.delivery-dialog{display:none!important}.investment-summary{display:block}.delivery-timeline{display:block}.delivery-timeline li{border:1px solid #ddd;margin:8px 0;padding:8px}.delivery-label{color:#333}}

@media(max-width:800px){#editor:has(.investment-strip){grid-template-rows:auto 68px minmax(400px,57dvh) auto}#editor:has(.investment-strip) .investment-strip{grid-row:1}#editor:has(.investment-strip) #rail{grid-row:2}#editor:has(.investment-strip) #viewport{grid-row:3}#editor:has(.investment-strip) #panel{grid-row:4}}
@media(min-width:801px){.views{max-height:calc(100% - 215px);overflow:auto;scrollbar-width:thin}.views #layers{position:static;width:auto}}
.investment-summary .summary-image{height:auto;max-height:600px;object-fit:contain}

.site-scale-line{display:inline-block;width:100px;height:8px;border:solid #315c48;border-width:0 1px 1px;vertical-align:middle;margin:0 8px 3px 0}
@media(max-width:520px){body:has(#editor) .topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:10px 12px;gap:10px}body:has(#editor) .top-actions{width:100%;margin:0;justify-content:space-between;gap:5px}body:has(#editor) .top-actions button{min-height:36px}body:has(#editor) .top-actions .voice-help{min-height:28px}}

.parcel-lookup{padding:12px;border:1px solid #b9cec2;border-radius:12px;background:#f5faf6;margin-bottom:16px}.parcel-lookup h3{margin:0 0 8px}.parcel-lookup>p,.parcel-lookup small{font-size:12px;line-height:1.5}.parcel-lookup form{display:grid;gap:10px}.parcel-location-fields{display:grid;gap:10px}.parcel-lookup select,.parcel-lookup input{width:100%;min-height:42px;box-sizing:border-box}.parcel-lookup details{margin:8px 0}.parcel-lookup summary{cursor:pointer;font-weight:600;font-size:13px}.parcel-lookup button{min-height:42px}.parcel-result{display:block;width:100%;text-align:left;overflow-wrap:anywhere;margin:6px 0}.parcel-results-pages{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0}.parcel-results-pages span{flex-basis:100%;font-size:12px}#parcel-results>input{width:100%;box-sizing:border-box}
