:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243c38;background:#f4f7f6;font-size:16px;line-height:1.5;--green:#225f50;--line:#dce5e1;--muted:#60716d}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}h1,h2,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.04em;line-height:1.15;margin-bottom:.6rem}h2{font-size:1.2rem;letter-spacing:-.02em}a{color:var(--green)}button,input,textarea,select{font:inherit}button,a.apple-button{border:1px solid #c3d4cc;border-radius:8px;padding:.65rem 1rem;cursor:pointer;background:white;color:#244e42;font-weight:600}button:hover{background:#e9f1ed}button:disabled{opacity:.5;cursor:default}button.primary{color:white;background:var(--green);border-color:var(--green)}button.primary:hover{background:#184b3f}input,textarea,select{width:100%;padding:.65rem .75rem;border:1px solid #cbd7d2;border-radius:7px;background:white;color:#243c38}textarea{resize:vertical}select{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2345685b' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center}label{display:block;font-size:.9rem;font-weight:600;margin-bottom:1.2rem}label input,label textarea,label select{display:block;margin-top:.4rem;font-weight:400}input[type=checkbox]{width:1.1rem;display:inline;margin:0 .5rem 0 0;accent-color:var(--green)}:focus-visible{outline:3px solid #6fae99;outline-offset:3px}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.75rem;font-weight:700;margin-bottom:1rem}.brand{font-size:1.5rem;font-weight:750;text-decoration:none;letter-spacing:-.05em;color:inherit}.brand span{font-weight:350}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.intro{background:#163f35;color:#fff;padding:3rem 4rem;display:flex;flex-direction:column;justify-content:space-between}.intro h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.5rem,4.5vw,4.5rem);letter-spacing:-.03em;line-height:1.08}.intro>div>p:last-child{max-width:25rem;color:#c5d9cf;font-size:1.1rem}.intro-foot{color:#b6cfc3;font-size:.9rem;margin:0}.login-card{width:100%;max-width:31rem;padding:4rem 3rem;align-self:center;justify-self:center}.login-card h2{font-size:2rem}.login-card form button{width:100%}.text-button{border:0;background:none;padding:.5rem 0;font-weight:500}.divider{display:flex;align-items:center;gap:1rem;color:var(--muted);font-size:.875rem;margin:1rem 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.apple-button{display:block;text-align:center;text-decoration:none;background:#161b19!important;color:white!important}.workspace{min-height:100vh;display:grid;grid-template-columns:245px 1fr}aside{background:#163f35;color:#f3faf6;padding:2rem 1.4rem;display:flex;flex-direction:column;min-height:100vh}aside .brand{margin-bottom:3rem}.museum-label{color:#bdd4c9;font-size:.875rem}aside select{background-color:#245144;border-color:#466e5e;color:#fff}.nav-item{display:block;text-align:left;width:100%;background:transparent;color:#d0e0d7;border:0;margin:.3rem 0;padding:.85rem 1rem}.nav-item:hover,.nav-item.active{background:#2b594a;color:white}.aside-foot{margin-top:auto;padding-top:3rem;font-size:.875rem}.aside-foot a,.aside-foot button{display:block;color:#d0e0d7}.aside-foot p{margin-bottom:.3rem}.main{padding:2.7rem 3rem;max-width:1400px;width:100%}header,.section-top,.form-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem}header{border-bottom:1px solid var(--line);padding-bottom:1.5rem;margin-bottom:1.5rem}header .eyebrow{color:var(--muted);margin-bottom:.5rem}header h1{margin:0}.badge{background:#e5eee7;color:#3d6b48;border:1px solid #d2e1d4;border-radius:20px;padding:.3rem .8rem;font-size:.8rem;font-weight:600}.section-top{margin-bottom:1.5rem}.section-top p{margin:0}.section-top button{white-space:nowrap}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:1.7rem;margin-bottom:1.5rem}.two-columns,.four-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.four-columns{grid-template-columns:repeat(4,minmax(0,1fr))}fieldset{margin:0 0 1.5rem;padding:1rem;border:1px solid var(--line);border-radius:8px}legend{font-size:.9rem;padding:0 .4rem}fieldset label{margin:0}.form-foot{border-top:1px solid var(--line);padding-top:1.2rem}.form-foot p{margin:0;max-width:36rem}.empty{text-align:center;padding:4rem 1.5rem;border:1px dashed #b8ccc1;border-radius:12px}.message:empty{display:none}.message{color:#245a48;background:#e4f0e9;padding:.8rem 1rem;border-radius:8px}.message.error{background:#ffebe7;color:#8a2f26}.area-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.4fr);gap:1.5rem;align-items:start}.area-list{min-height:200px}.area-row{display:block;width:100%;text-align:left;border:0;border-radius:5px;border-bottom:1px solid var(--line);font-weight:500}.area-row small{display:block;color:var(--muted);font-weight:400}.area-children{padding-left:1rem;border-left:1px solid var(--line)}.user-heading{display:flex;justify-content:space-between;align-items:start;gap:1rem}.user-heading p{margin-bottom:1rem}.user-access{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.checks{display:flex;gap:1.5rem;flex-wrap:wrap}dialog{border:1px solid var(--line);border-radius:12px;width:min(440px,90vw);padding:2rem}dialog::backdrop{background:#123b3577}@media(max-width:1000px){.main{padding:2rem 1.5rem}.area-layout{grid-template-columns:1fr}.intro{padding:2.5rem}.workspace{grid-template-columns:210px 1fr}.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.login-layout{grid-template-columns:1fr}.intro{min-height:270px;gap:2rem;padding:2rem}.intro-foot,.intro>div>p:last-child{display:none}.intro h1{font-size:2.8rem}.login-card{padding:2rem 1.5rem}.workspace{display:block}aside{min-height:0;padding:1rem 1.25rem}aside .brand{margin-bottom:1rem}nav{display:flex}.nav-item{text-align:center}.museum-label{margin-bottom:.5rem}.aside-foot{padding-top:1rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.aside-foot p{margin:0}.main{padding:1.5rem 1rem}.two-columns{grid-template-columns:1fr;gap:0}.panel{padding:1.2rem}.form-foot{align-items:flex-start;flex-direction:column}.section-top{align-items:flex-start}.section-top p{font-size:.9rem}.checks{gap:0 1rem}}

#boundary-map{height:420px;width:100%;border:1px solid var(--line);border-radius:8px;z-index:0;margin-top:.9rem;background:#e7efeb}#boundary-map.drawing{cursor:crosshair}.map-tools{display:flex;flex-wrap:wrap;gap:.5rem}.map-tools button{font-size:.875rem;padding:.45rem .65rem}.boundary-point{background:white;border:3px solid #225f50;border-radius:50%;box-shadow:0 1px 5px #0005}.entrance-point{background:#b64922;border:2px solid white;border-radius:50%;color:white;text-align:center;font:bold 17px/24px system-ui;box-shadow:0 1px 5px #0005}#map-status{margin:.8rem 0 .3rem}.map-note{font-size:.8rem;color:var(--muted);margin:.4rem 0}.import-tools{display:flex;gap:1rem;align-items:center;margin-bottom:1.3rem}.import-preview{background:#f0f6f2;border:1px solid var(--line);border-radius:8px;padding:1.2rem;margin-bottom:1.5rem}.import-preview p{white-space:pre-wrap}.import-preview a{font-size:.875rem;overflow-wrap:anywhere}.import-preview label{margin-bottom:.5rem}.leaflet-control-attribution a{font-weight:400}.leaflet-control-attribution{line-height:1.4}

.boundary-midpoint{background:#eff8f2;border:1px dashed #225f50;border-radius:50%;color:#225f50;text-align:center;font:600 20px/22px system-ui;box-shadow:0 1px 4px #0003;cursor:grab}.boundary-midpoint:hover,.boundary-midpoint:focus{background:#225f50;color:white;border-style:solid}

/* Keep editable geometry crisp while making the basemap less prominent. */
#boundary-map .leaflet-tile-pane{filter:saturate(.25) contrast(.88);opacity:.72}
