:root{color:#152e28;font-synthesis:none;--muted:#48635a;--green:#116052;--green-dark:#0b493e;--line:#d2e0db;--tile:#e3f0eb;background:#f3f7f6;font-family:system-ui,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}:focus-visible{outline-offset:4px;outline:3px solid #167968}h1,h2,h3,p{margin:0}p{line-height:1.55}svg{flex:none;width:1.25rem;height:1.25rem}.wrap{width:min(100% - 3rem,62rem);margin-inline:auto}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{justify-content:space-between;align-items:center;gap:.75rem;min-height:4.5rem;display:flex}.brand,.storage,.back-link{align-items:center;gap:.65rem;display:inline-flex}.brand{min-height:44px;font-size:1.25rem;font-weight:750;text-decoration:none}.storage{color:var(--muted);font-size:.875rem;font-weight:600}.storage span{background:#23836b;border-radius:50%;width:.5rem;height:.5rem}main.wrap{padding-block:2.5rem 4rem}.hero{background:linear-gradient(125deg,#e0efe8,#edf5f4);border:1px solid #c6ddd4;border-radius:1.25rem;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem;padding:clamp(1.25rem,4vw,2.5rem);display:flex}.hero>div{min-width:0}.hero p{color:var(--muted)}.hero .eyebrow{color:var(--green);letter-spacing:.12em;text-transform:uppercase;margin-bottom:.45rem;font-size:.75rem;font-weight:750}h1{letter-spacing:-.04em;overflow-wrap:anywhere;font-size:clamp(1.9rem,5vw,3rem);line-height:1.1}.hero h1+p{margin-top:.65rem}.address{overflow-wrap:anywhere;align-items:flex-start;gap:.4rem;display:flex}.address svg{margin-top:.15rem}.back-link{min-height:44px;color:var(--green);margin-bottom:.75rem;font-weight:650;text-decoration:none}.back-link:hover{text-decoration:underline}.primary,.secondary{cursor:pointer;border:1px solid #0000;border-radius:.65rem;flex:none;justify-content:center;align-items:center;gap:.45rem;min-height:46px;padding:.55rem 1rem;font-weight:700;display:inline-flex}.primary{color:#fff;background:var(--green)}.primary:hover{background:var(--green-dark)}.secondary{color:var(--green);background:#fff;border-color:#9fbab0}.secondary:hover{background:#edf5f2}button:disabled{opacity:.6;cursor:default}.section-heading{align-items:center;gap:.65rem;margin-bottom:.85rem;display:flex}.section-heading h2{font-size:clamp(1.2rem,4vw,1.5rem)}.section-heading button{margin-left:auto}.count{background:var(--tile);min-width:1.65rem;color:var(--green);text-align:center;border-radius:2rem;padding:.15rem .4rem;font-weight:650}.tile{background:var(--tile);width:2.75rem;height:2.75rem;color:var(--green);border-radius:.75rem;flex:none;place-items:center;display:inline-grid}.empty{text-align:center;background:#fff;border:1px dashed #9fbab0;border-radius:1rem;justify-items:center;gap:.55rem;padding:clamp(1.75rem,5vw,3rem) 1rem;display:grid}.empty .tile{margin-bottom:.25rem}.empty h3{font-size:1.1rem}.empty p{max-width:32rem;color:var(--muted)}.record-list{gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.record{border:1px solid var(--line);background:#fff;border-radius:.85rem;align-items:center;gap:.85rem;padding:.8rem;display:flex}.record-link{text-decoration:none}.record-link:hover{background:#fafffc;border-color:#8cb4a7}.record-link>svg{color:var(--green);margin-left:auto}.record-text{overflow-wrap:anywhere;gap:.2rem;min-width:0;display:grid}.record-text span,.record-text time{color:var(--muted);font-size:.9rem}dialog{width:min(100% - 2rem,29rem);max-height:calc(100% - 2rem);color:inherit;border:1px solid var(--line);background:#fff;border-radius:1rem;padding:clamp(1rem,4vw,1.65rem);box-shadow:0 1.2rem 4rem #102f2a33}dialog::backdrop{background:#112d2966}dialog h2{font-size:1.4rem}fieldset{border:0;gap:1rem;min-inline-size:0;margin:1.2rem 0;padding:0;display:grid}label{font-weight:650;display:block}label span{color:var(--muted);font-size:.875rem;font-weight:400}input,.measurement-extra select{width:100%;min-width:0;min-height:46px;color:inherit;background:#fff;border:1px solid #9fbab0;border-radius:.55rem;margin-top:.35rem;padding:.55rem .7rem;display:block}input::placeholder{color:#536d64;opacity:1}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;display:flex}.error{color:#822c25;background:#fff1ef;border-radius:.55rem;margin-bottom:.75rem;padding:.75rem}@media (width<=36rem){.wrap{width:calc(100% - 2rem)}.header-inner{min-height:3.75rem}main.wrap{padding-block:1.25rem 2.5rem}.hero{flex-direction:column;align-items:stretch;gap:1rem;margin-bottom:1.5rem}.section-heading:has(button){flex-wrap:wrap}}.visit-wrap{width:min(100% - 2rem,92rem)}.visit-section+.visit-section{margin-top:2rem}.visit-detail .hero{margin-bottom:1.5rem}.file-input{display:none}.actions{flex-wrap:wrap;gap:.55rem;display:flex}.muted,.plan-hint{color:var(--muted)}.plan-hint{margin:.55rem 0 .75rem}.plan-empty .secondary{margin-top:.35rem}.visit-message{margin-block:.65rem}.plan-view{border:1px solid var(--line);background:#fff;border-radius:1rem;display:grid;overflow:hidden}.plan-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:.45rem;padding:.55rem;display:flex}.plan-tools button{min-width:46px}.plan-stage{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;background-color:#e6efeb;background-image:radial-gradient(#b6ccc3 1px,#0000 1px);background-size:15px 15px;height:clamp(18rem,68dvh,60rem);position:relative;overflow:hidden}.plan-stage.is-picking{cursor:crosshair}.plan-stage:active{cursor:grabbing}.plan-image{position:absolute}.plan-image>img{pointer-events:none;width:100%;height:100%;display:block}.plan-pin{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;transform:translate(-50%,-50%)}.plan-stage.is-picking .plan-pin{cursor:inherit}.plan-pin span{background:var(--green);border:2px solid #fff;border-radius:2rem;place-items:center;min-width:30px;height:30px;padding-inline:3px;font-size:.85rem;font-weight:750;display:grid;box-shadow:0 2px 5px #152e2859}.finding-actions{margin-bottom:.85rem}.finding-record{width:100%;color:inherit;cursor:pointer;text-align:left}.finding-record .tile{font-weight:750}.finding-dialog{width:min(100% - 2rem,44rem)}.series-dialog{width:min(100% - 2rem,34rem)}.series-dialog h2{margin-bottom:.65rem}.series-dialog .error{overflow-wrap:anywhere;margin:.75rem 0 0}.series-dialog .form-actions{margin-top:1rem}.finding-heading{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finding-heading h2{overflow-wrap:anywhere;align-self:center;min-width:0}.finding-section{gap:.65rem;margin-block:1rem;display:grid}.photo-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.65rem;display:grid}.photo-grid figure{min-width:0;margin:0}.photo-grid img{object-fit:contain;background:#edf4f1;border-radius:.55rem;width:100%;max-height:26rem;display:block}.photo-caption{justify-items:start;gap:.45rem;margin-top:.45rem;display:grid}.photo-caption label{width:100%}.photo-grid figcaption{margin-top:.25rem;font-size:.9rem;font-weight:700}textarea{resize:vertical;width:100%;min-height:5rem;color:inherit;font:inherit;background:#fff;border:1px solid #9fbab0;border-radius:.55rem;margin-top:.35rem;padding:.55rem .7rem;display:block}.measurement-list{justify-items:start;gap:.6rem;display:grid}.measurement-card{border:1px solid var(--line);border-radius:.65rem;gap:.65rem;width:100%;padding:.75rem;display:grid}.measurement-card summary{color:var(--green);cursor:pointer;padding-block:.65rem;font-weight:650}.measurement-extra{gap:.65rem;display:grid}.measurement-extra select{font:inherit}.measurement-accuracy{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;display:grid}.measurement{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;gap:.45rem;width:100%;display:grid}.finding-footer{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1rem}.danger{color:#822c25;cursor:pointer;background:#fff;border:1px solid #d0a6a1;border-radius:.65rem;min-height:46px;padding:.55rem 1rem;font-weight:700}.danger:hover{background:#fff1ef}@media (width<=36rem){.plan-stage{height:clamp(16rem,58dvh,36rem)}.finding-actions>button{flex:auto}.finding-dialog{width:calc(100% - 1rem)}}body:has(.plan-expanded){overflow:hidden}body:has(.plan-expanded) .site-header{visibility:hidden}.visit-detail:has(.plan-expanded)>:not(.plan-expanded,dialog,input){visibility:hidden}.plan-expanded{z-index:10;background:#f3f7f6;flex-direction:column;padding:clamp(.45rem,2vw,1rem);display:flex;position:fixed;inset:0}.plan-expanded .plan-view{flex:1;grid-template-rows:auto minmax(0,1fr);min-height:0}.plan-expanded .plan-stage{height:100%}.transfer-panel,.transfer-preview{border:1px solid var(--line);background:#fff;border-radius:.85rem;gap:.7rem;padding:clamp(.85rem,3vw,1.3rem);display:grid}.transfer-panel{margin-top:2rem}.transfer-panel .section-heading{margin-bottom:0}.transfer-control{gap:.5rem;display:grid}.transfer-control>button{justify-self:start}.transfer-control .error,.transfer-panel .error,.transfer-preview p{overflow-wrap:anywhere}.transfer-preview{background:#f3f7f6}.transfer-list{overflow-wrap:anywhere;margin:0;padding-left:1.35rem}.transfer-options{gap:.45rem;margin:0}.transfer-options input{width:auto;min-height:0;margin:0 .35rem 0 0;display:inline}.transfer-options label{padding-block:.4rem}.pwa-status{margin-bottom:.85rem;font-size:.9rem}
