:root{--green:#419e67;--dark:#163f2b;--cream:#faf9f3;--muted:#68766e;--line:#dce4dc}*{box-sizing:border-box}body{margin:0;background:#e9eee7;color:var(--dark);font:16px system-ui,-apple-system,sans-serif}.shell{max-width:520px;margin:0 auto;background:var(--cream);min-height:100vh;padding-bottom:104px;box-shadow:0 0 70px #183f2710}header{display:flex;align-items:center;gap:12px;padding:20px 22px;background:white;border-bottom:1px solid var(--line)}header img{width:112px;height:auto;display:block}header b{font-size:17px;letter-spacing:.7px}small,header small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.local{margin-left:auto;font-size:10px;letter-spacing:1px;border:1px solid var(--line);padding:5px;border-radius:5px}.demo{margin:16px 20px;padding:12px;border:1px dashed #b7c9b6;border-radius:14px;background:#f0f5eb;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}.demo div{flex:1}.demo span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.demo select{min-height:44px;border:1px solid #b9cbb7;border-radius:10px;padding:8px;background:white;color:var(--dark);font:inherit}.demo label{width:100%;display:flex;align-items:center;gap:8px;min-height:34px}.demo input{width:18px;height:18px;accent-color:var(--green)}main{padding:6px 22px 25px}h1{font-size:29px;letter-spacing:-1px;margin:8px 0}h2{font-size:21px;margin:24px 0 12px}p{line-height:1.55}.sub{color:var(--muted);margin:4px 0 18px;font-size:14px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:800}.map{width:100%;display:block;margin:16px auto 22px;filter:drop-shadow(0 9px 16px #183f2710)}.wedge{cursor:pointer;outline:none}.wedge path{fill:#deebd6;stroke:var(--cream);stroke-width:7;transition:.15s}.wedge:nth-child(even) path{fill:#c9dfbe}.wedge:hover path,.wedge:focus path{fill:var(--green);stroke:#fff}.wedge:hover text,.wedge:focus text{fill:white}.wedge text{fill:var(--dark);font:bold 21px system-ui;pointer-events:none}.center-label{font:bold 11px system-ui;fill:var(--dark);letter-spacing:1px}.card{border:1px solid var(--line);background:white;border-radius:18px;padding:18px;margin:12px 0;box-shadow:0 4px 10px #16422a03}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.plot{display:block;text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer}.plot strong{font-size:27px;letter-spacing:-1px}.plot .arrow{font-size:28px;color:var(--green)}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#edf0eb;color:#556258;padding:6px 10px;font-size:12px;margin:4px 4px 0 0}.badge:before{content:'';width:7px;height:7px;border-radius:50%;background:#9ca79d}.badge.warn{background:#fff0cb;color:#795b13}.badge.warn:before{background:#b68520}.tag{font-size:10px;letter-spacing:.7px;font-weight:800;color:#856117;background:#fff0cb;border-radius:5px;padding:4px 7px}.button{min-height:50px;border:0;border-radius:12px;padding:12px 16px;background:var(--green);color:white;font:600 15px system-ui;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none}.button.secondary{background:white;border:1px solid #b7cdbb;color:var(--dark)}.button.full{width:100%;margin-top:10px}.back{border:0;background:none;color:var(--dark);font:600 14px system-ui;padding:12px 0;cursor:pointer;min-height:44px}.grid-info{margin:16px 0}.info{display:flex;gap:12px;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0e9;font-size:14px}.info span{color:var(--muted);text-align:right}.photo{height:135px;border:1px dashed #c3d0c2;border-radius:14px;background:#f0f2ec;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:8px;margin:16px 0}.photo b{font-size:28px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.filter{min-height:44px;border:1px solid #c9d6c8;border-radius:24px;background:white;color:var(--dark);padding:9px 15px;font:inherit;font-size:13px;cursor:pointer}.filter.active{background:var(--dark);border-color:var(--dark);color:white}.empty{text-align:center;padding:30px 18px}.empty .symbol{font-size:32px;color:var(--green)}.empty p{color:var(--muted);font-size:14px}.hint{font-size:12px;line-height:1.6;color:var(--muted)}#notice:not(:empty){margin:10px 22px;padding:12px;border-radius:10px;background:#fff0cb;font-size:13px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:flex;background:#ffffffed;border-top:1px solid var(--line);padding:10px 16px max(12px,env(safe-area-inset-bottom));backdrop-filter:blur(12px);z-index:5}nav button{border:0;background:none;color:var(--muted);flex:1;min-height:54px;font:600 12px system-ui;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-radius:14px;cursor:pointer}nav button.active{background:#e4efdc;color:var(--dark)}.icon{width:22px;height:22px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}footer{text-align:center;font-size:10px;color:var(--muted);padding:12px}dialog{border:0;border-radius:22px;padding:24px;width:calc(100% - 32px);max-width:460px;max-height:90vh;color:var(--dark);background:var(--cream)}dialog::backdrop{background:#102c23a0}dialog h2{margin-top:0}dialog label{display:block;font-size:13px;font-weight:600;margin:16px 0 7px}dialog input,dialog select,dialog textarea{width:100%;font:16px system-ui;padding:12px;border:1px solid #c6d4c5;border-radius:10px;background:white;color:var(--dark)}dialog textarea{min-height:70px}.timeline{border-left:2px solid #c9ddc6;padding:0 0 0 16px;margin:18px 0}.timeline .card{position:relative}.timeline .card:before{content:'';position:absolute;left:-23px;top:23px;width:10px;height:10px;background:var(--green);border-radius:50%}.large-code{font-size:44px;letter-spacing:-2px;margin:4px 0}.manager{border:1px dashed #9bb99d;background:#f1f6eb}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d4a940;outline-offset:3px}@media(min-width:700px){.shell{margin:25px auto;border-radius:24px 24px 0 0;min-height:calc(100vh - 25px)}header{border-radius:24px 24px 0 0}}@media(max-width:360px){main{padding:6px 14px}header{padding:16px 14px;gap:7px}header img{width:85px}header b{font-size:15px}.wedge text{font-size:19px}}
[hidden]{display:none!important}fieldset{border:0;padding:0;margin:0;min-width:0}.check-line{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px}.check-line input{width:20px;height:20px;flex:0 0 auto;accent-color:var(--green)}.plot-chips{display:flex;flex-wrap:wrap;gap:8px}.plot-chips b{padding:9px 12px;border-radius:10px;background:#e4efdc;font-size:19px}.form-error:not(:empty),#save-error:not(:empty){padding:12px;background:#fff0cb;border-radius:10px;color:#7c3f19;font-size:14px;margin-top:14px}button:disabled{opacity:.6;cursor:wait}#confirmation .info span{overflow-wrap:anywhere;max-width:65%}#confirmation h3{font-size:17px}
#login label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}#login input{width:100%;min-height:50px;border:1px solid #c6d4c5;border-radius:12px;padding:12px;font:16px system-ui;color:var(--dark);background:white}#auth-error,#password-error{color:#8c3b22;font-size:14px}
details{border:1px solid #dce4dc;border-radius:12px;padding:8px 12px;margin:10px 0;background:white}summary{cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:600;font-size:14px}

html,body{width:100%;max-width:100%;overflow-wrap:anywhere}
.shell,main,.card,.info,.info span,.demo,dialog{min-width:0}
.demo select{max-width:100%;min-width:0}
.info>*,.row>*{min-width:0}
dialog input,dialog select,dialog textarea{max-width:100%;min-width:0}
button{white-space:normal}
.estimate-date{font-size:21px;font-weight:750;display:block;margin-top:5px}
.estimate-label{display:block;font-size:14px}
.estimate-block{padding:12px 0;border-bottom:1px solid var(--line)}
.estimate-block:last-child{border:0}

.fixed-choice{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f0f5eb;margin-top:0}
