:root{--soil: #2b2620;--soil-soft: #5c554b;--panel: #f3f5f0;--panel-raised: #ffffff;--line: #d5dccf;--leaf: #2f6b3a;--leaf-dark: #23522c;--leaf-wash: #e3eedf;--water: #1f6fb2;--warn: #8a5a00;--warn-wash: #fbf1d9;--error: #b42318;--error-wash: #fbe5e2;--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--panel);color:var(--soil);font-family:var(--font);font-size:15px;line-height:1.45}button,input,select{font:inherit}:focus-visible{outline:3px solid var(--water);outline-offset:2px}.simple-app{position:relative;height:100%;overflow:hidden}.simple-map{position:absolute;inset:0;background:#1d2a1f}.step-1 .simple-map,.step-2 .simple-map{cursor:crosshair}.simple-panel{position:absolute;z-index:1000;top:12px;left:12px;bottom:12px;display:flex;flex-direction:column;width:380px;max-width:calc(100% - 24px);overflow-y:auto;padding:18px 20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 8px 28px #141e1447}.simple-brand{display:flex;align-items:baseline;gap:8px;margin-bottom:14px}.simple-brand strong{color:var(--leaf-dark);font-size:18px;font-weight:600;letter-spacing:-.01em}.simple-brand span{color:var(--soil-soft);font-size:13px}.simple-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 18px;padding:0;list-style:none}.simple-steps button{display:flex;align-items:center;gap:6px;width:100%;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--soil-soft);font-size:13px;cursor:pointer}.simple-steps button span{display:inline-grid;width:20px;height:20px;place-items:center;border-radius:50%;background:var(--line);color:var(--soil);font-size:12px;font-weight:600}.simple-steps button.current{border-color:var(--leaf);background:var(--leaf-wash);color:var(--leaf-dark);font-weight:600}.simple-steps button.current span{background:var(--leaf);color:#fff}.simple-steps button:disabled{opacity:.45;cursor:default}.simple-step h1{margin:0 0 6px;font-size:22px;font-weight:600;letter-spacing:-.015em}.simple-step h2{margin:20px 0 8px;font-size:16px;font-weight:600}.simple-step p{margin:0 0 10px}.simple-muted{color:var(--soil-soft);font-size:13.5px}.simple-ok{color:var(--leaf-dark);font-weight:500}.simple-error{padding:8px 10px;border-radius:8px;background:var(--error-wash);color:var(--error)}.simple-area{display:flex;align-items:baseline;gap:8px;margin:14px 0 2px;color:var(--leaf-dark)}.simple-area b{font-size:56px;font-weight:600;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.simple-area span{font-size:22px;font-weight:500}.simple-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 10px}.simple-panel button.primary,.simple-panel button.secondary{padding:10px 14px;border-radius:9px;cursor:pointer}.simple-panel button.primary{width:100%;border:0;background:var(--leaf);color:#fff;font-weight:600;font-size:16px}.simple-panel button.primary:hover:not(:disabled){background:var(--leaf-dark)}.simple-panel button.secondary{border:1px solid var(--line);background:var(--panel-raised);color:var(--soil)}.simple-panel button.secondary:hover:not(:disabled){border-color:var(--leaf)}.simple-panel button:disabled{opacity:.5;cursor:default}.simple-panel button.link{padding:0;border:0;background:none;color:var(--water);text-decoration:underline;cursor:pointer}.simple-field{display:grid;gap:4px;margin:12px 0;font-weight:500}.simple-field input,.simple-field select{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--panel-raised);color:var(--soil);font-size:16px;font-weight:400}.simple-field small{color:var(--soil-soft);font-weight:400}.simple-details{margin:6px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-raised)}.simple-details summary{font-weight:500;cursor:pointer}.simple-details .simple-field{margin:10px 0}.simple-status{padding:9px 12px;border-radius:9px;font-weight:500}.simple-status.ok{background:var(--leaf-wash);color:var(--leaf-dark)}.simple-status.loading{background:#e6eef6;color:var(--water)}.simple-status.warning{background:var(--warn-wash);color:var(--warn)}.simple-status.error{background:var(--error-wash);color:var(--error)}.simple-figures{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:14px 0 10px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}.simple-figures div{padding:9px 11px;background:var(--panel-raised)}.simple-figures dt{color:var(--soil-soft);font-size:12.5px}.simple-figures dd{margin:2px 0 0;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.simple-issues{display:grid;gap:6px;margin:10px 0;padding:0;list-style:none}.simple-issues li{padding:8px 10px;border-left:3px solid;border-radius:6px;font-size:14px}.simple-issues li.warning{border-color:var(--warn);background:var(--warn-wash)}.simple-issues li.error{border-color:var(--error);background:var(--error-wash)}.simple-zones{display:grid;gap:6px;margin:0;padding:0;list-style:none}.simple-zones button{display:grid;grid-template-columns:14px 1fr auto;gap:2px 10px;width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel-raised);color:var(--soil);text-align:left;cursor:pointer}.simple-zones button.selected{border-color:var(--soil);box-shadow:inset 0 0 0 1px var(--soil)}.simple-zones i{grid-column:1;grid-row:1 / span 4;width:14px;height:14px;margin-top:4px;border-radius:3px;box-shadow:inset 0 0 0 1px #00000040}.simple-zones .zone-name{grid-column:2;grid-row:1;font-weight:600}.simple-zones span:nth-of-type(2){grid-column:2 / span 2;grid-row:2}.simple-zones span{font-size:13.5px;font-variant-numeric:tabular-nums}.simple-zones span:nth-of-type(3){grid-column:3;grid-row:1;font-weight:600}.simple-zones span:nth-of-type(n+4){grid-column:2 / span 2;color:var(--soil-soft)}.simple-zones span:nth-of-type(2),.simple-zones span:nth-of-type(n+4){font-size:13px}.simple-bom{margin:0;padding:0;list-style:none;font-size:14px}.simple-bom li{display:grid;grid-template-columns:1fr auto;column-gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}.simple-bom li.group{display:block;padding:14px 0 4px;border-bottom:0;color:var(--soil-soft);font-size:13px;font-weight:600}.simple-bom .name{grid-column:1}.simple-bom .name a{color:var(--soil);text-decoration-color:var(--line);text-underline-offset:3px}.simple-bom .name a:hover{color:var(--water);text-decoration-color:currentColor}.simple-bom .meta{grid-column:1;color:var(--soil-soft);font-size:13px;font-variant-numeric:tabular-nums}.simple-bom .cost{grid-column:2;grid-row:1 / span 2;align-self:start;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.simple-bom li.total{border-bottom:0;border-top:2px solid var(--soil);margin-top:4px;font-weight:600}.simple-assembly{margin:0;padding-left:20px;font-size:14px;line-height:1.5}.simple-assembly li+li{margin-top:6px}.simple-choice{margin:14px 0;padding:0;border:0}.simple-choice legend{margin-bottom:6px;padding:0;font-weight:500}.simple-choice>div{display:flex;flex-wrap:wrap;gap:6px}.simple-choice label{position:relative;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:var(--panel-raised);font-size:14px;cursor:pointer}.simple-choice label.selected{border-color:var(--leaf);background:var(--leaf-wash);box-shadow:inset 0 0 0 1px var(--leaf);color:var(--leaf-dark)}.simple-choice label:focus-within{outline:3px solid var(--water);outline-offset:2px}.simple-choice input{position:absolute;opacity:0;pointer-events:none}.simple-choice small{display:block;margin-top:6px;color:var(--soil-soft)}.simple-search{position:absolute;z-index:1000;top:12px;left:404px;right:12px;max-width:640px}.simple-search form{display:flex;gap:6px;padding:6px;border-radius:12px;background:var(--panel);box-shadow:0 6px 20px #141e1440}.simple-search input{flex:1;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel-raised)}.simple-search button{padding:8px 12px;border:0;border-radius:8px;background:var(--leaf);color:#fff;cursor:pointer;white-space:nowrap}.simple-search button.ghost{border:1px solid var(--line);background:var(--panel-raised);color:var(--soil)}.simple-search button.ghost.active{border-color:var(--water);box-shadow:inset 0 0 0 1px var(--water);color:var(--water)}.simple-search-results{margin-top:6px;overflow:hidden;border-radius:10px;background:var(--panel-raised);box-shadow:0 6px 20px #141e1440}.simple-search-results p{margin:0;padding:9px 12px;color:var(--soil-soft)}.simple-search-results button{display:block;width:100%;padding:9px 12px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--soil);text-align:left;white-space:normal}.simple-search-results button:hover{background:var(--leaf-wash)}.simple-vertex{border:2px solid #fff;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 2px #00000059;cursor:grab}.simple-source{display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:var(--water);box-shadow:0 0 0 2px #00000059}.simple-source span{width:8px;height:8px;border-radius:50%;background:#fff}.leaflet-container{font-family:var(--font)}@media(max-width:760px){.simple-panel{inset:auto 8px 8px;width:auto;max-width:none;max-height:56%;padding:14px 16px 18px}.simple-search{left:8px;right:8px;top:8px}.simple-search form{flex-wrap:wrap}.simple-search input{flex-basis:100%}.simple-area b{font-size:44px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.simple-pump{display:grid;gap:2px;margin:12px 0 4px;padding:12px 14px;border-left:4px solid var(--water);border-radius:8px;background:#e6eef6}.simple-pump span{color:var(--soil-soft);font-size:13px}.simple-pump b{color:#134a78;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.simple-pump small{color:var(--soil-soft);font-size:13px}.simple-issues li.info{border-color:var(--water);background:#e6eef6}.simple-legend{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;margin:8px 0 4px;padding:0;list-style:none;color:var(--soil-soft);font-size:13px}.simple-legend li{display:flex;align-items:center;gap:8px}.simple-legend i{flex:none;display:inline-block}.legend-main{width:22px;height:6px;border-radius:3px;background:var(--water)}.legend-sub{width:22px;height:4px;border-radius:2px;background:#0b3c6e}.legend-layflat{width:22px;height:3px;border-radius:2px;background:linear-gradient(90deg,#f5c542 50%,#3cc6e8 50%)}.legend-valve{width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#f5c542;box-shadow:0 0 0 1px #0000004d}.legend-zone{width:16px;height:12px;border-radius:2px;background:linear-gradient(90deg,#f5c542 50%,#3cc6e8 50%);opacity:.8}.simple-layouts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 12px}.simple-layouts button{position:relative;display:grid;gap:1px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel-raised);color:var(--soil);text-align:left;cursor:pointer}.simple-layouts button.selected{border-color:var(--leaf);box-shadow:inset 0 0 0 1px var(--leaf);background:var(--leaf-wash)}.simple-layouts b{font-size:14.5px}.simple-layouts span{color:var(--soil-soft);font-size:12.5px;font-variant-numeric:tabular-nums}.simple-layouts em{margin-top:3px;color:var(--leaf-dark);font-size:12px;font-style:normal;font-weight:600}.simple-figures dd small{color:var(--soil-soft);font-size:12px;font-weight:400}.leaflet-tooltip.simple-length-label{padding:1px 6px;border:0;border-radius:4px;background:#0b3c6ee0;box-shadow:none;color:#fff;font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.leaflet-tooltip.simple-length-label.main{background:#1f6fb2eb}.leaflet-tooltip.simple-length-label:before{display:none}.simple-bom li.has-marks{cursor:pointer}.simple-bom li.has-marks:hover,.simple-bom li.has-marks:focus-visible,.simple-bom li.has-marks.active{margin:0 -8px;padding-right:8px;padding-left:8px;border-radius:6px;background:var(--leaf-wash);outline:none}.simple-bom li.group button{margin-left:8px;padding:0;border:0;background:none;color:var(--water);font:inherit;font-weight:500;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.simple-scheme-button{display:flex;align-items:center;gap:10px;width:100%;margin:10px 0 4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-raised);color:var(--soil);font:inherit;text-align:left;cursor:pointer}.simple-scheme-button:hover{border-color:var(--water)}.simple-scheme-button svg{flex:none}.simple-scheme-button small{display:block;color:var(--soil-soft)}.sc-overlay{position:absolute;z-index:1100;top:64px;left:404px;right:12px;max-width:1180px;max-height:calc(100% - 76px);overflow:auto;padding:16px 20px 18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 12px 40px #141e1459}.sc-overlay header{display:flex;align-items:center;justify-content:space-between}.sc-overlay h2{margin:0;font-size:18px}.sc-close{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--panel-raised);color:var(--soil);font-size:20px;line-height:1;cursor:pointer}.sc-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.sc-tabs button{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--panel-raised);color:var(--soil);font:inherit;font-size:14px;cursor:pointer}.sc-tabs button.active{border-color:var(--leaf);background:var(--leaf-wash);box-shadow:inset 0 0 0 1px var(--leaf);color:var(--leaf-dark)}.sc-direction{margin:12px 0 4px;color:var(--soil-soft);font-size:13px}.sc-strip{display:flex;overflow-x:auto;padding:8px 4px 10px;border-radius:10px;background:var(--panel-raised);scroll-snap-type:x proximity}.sc-cell{flex:none;width:132px;margin:0;scroll-snap-align:start}.sc-cell svg{display:block;overflow:visible}.sc-cell figcaption{display:grid;gap:2px;padding:4px 6px 0;font-size:13px;line-height:1.3;text-align:center}.sc-cell figcaption span{color:var(--soil-soft);font-size:12px}.sc-part{fill:var(--panel-raised);stroke:var(--soil);stroke-width:1.6;stroke-linejoin:round}.sc-part .sc-fill{fill:var(--soil)}.sc-part .sc-handle{fill:#c0392b;stroke:#7d241a}.sc-part .sc-disc{stroke:var(--soil-soft);stroke-width:1.2}.sc-part .sc-hole{fill:var(--panel)}.sc-ground{stroke:var(--soil-soft);stroke-dasharray:3 3}.sc-wave{fill:none;stroke:var(--water);stroke-width:1.6}.sc-tank-water{fill:#1f6fb22e;stroke:none}.sc-mesh{fill:none;stroke-dasharray:2 2}.sc-water{stroke:var(--water);stroke-width:4;fill:none}.sc-layflat{fill:var(--water);stroke:#134b7a;stroke-width:1}.sc-piece{fill:none;stroke:var(--soil);stroke-dasharray:3 2;stroke-width:1.2}.sc-pe{fill:var(--soil)}.sc-pvc{fill:#9aa39a;stroke:#6b746b}.sc-existing{fill:none;stroke:var(--soil-soft);stroke-width:2;stroke-dasharray:6 4}.sc-thread rect{fill:#c9cdc4;stroke:var(--soil-soft);stroke-width:1}.sc-thread line{stroke:var(--soil-soft);stroke-width:1}.sc-tape{stroke:var(--soil);stroke-width:2}.sc-drop{fill:var(--water);stroke:none}.sc-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;padding:0;list-style:none;color:var(--soil-soft);font-size:13px}.sc-legend li{display:flex;align-items:center;gap:6px}@media(max-width:760px){.sc-overlay{inset:8px;max-height:none}}.simple-status.note{background:#eceee8;color:var(--soil-soft);font-size:13px;font-weight:400}.simple-panel button.simple-cost{display:grid;gap:2px;width:100%;margin:8px 0 4px;padding:12px 14px;border:0;border-left:4px solid var(--leaf);border-radius:8px;background:var(--leaf-wash);color:var(--soil);text-align:left;cursor:pointer}.simple-cost span,.simple-cost small{color:var(--soil-soft);font-size:13px}.simple-cost b{color:var(--leaf-dark);font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.simple-inputs{margin:10px 0 12px;color:var(--soil-soft);font-size:13px}.simple-field small.simple-error{color:var(--error)}.simple-field input[aria-invalid=true]{border-color:var(--error)}.simple-panel button.simple-zones-more{width:100%;margin-top:6px;padding:9px 12px;border:1px dashed var(--line);border-radius:9px;background:transparent;color:var(--leaf-dark);font-weight:500;cursor:pointer}@media print{html,body,#root,.simple-app{height:auto;overflow:visible;background:#fff}.simple-map,.simple-search,.sc-overlay,.simple-steps,.simple-actions,.simple-scheme-button,.simple-zones-more,.simple-status,.simple-legend,.simple-inputs button,.simple-bom li.group button,.simple-layouts button:not(.selected){display:none!important}.simple-panel{position:static;width:auto;max-width:none;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none}.simple-panel,.simple-step{display:block}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.simple-zones{display:block;columns:2;column-gap:10px}.simple-zones li{margin-bottom:6px}.simple-panel h2{break-after:avoid}.simple-zones li,.simple-bom li,.simple-assembly li,.simple-pump,.simple-cost{break-inside:avoid}.simple-bom a{color:inherit;text-decoration:none}}.simple-figures div:last-child:nth-child(odd){grid-column:1 / -1}
