:root{--green:#15583c;--green2:#287550;--mint:#e8f5ec;--bg:#f4f7f3;--border:#dce7dc;--text:#23362d;--muted:#688074;--white:#fff;--red:#b63f3f;--shadow:0 10px 32px rgba(21,69,45,.06)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--green)}:focus-visible{outline:3px solid #7fca9e;outline-offset:2px}.shell{min-height:100dvh;display:grid;grid-template-columns:252px minmax(0,1fr)}aside{position:sticky;top:0;height:100dvh;background:var(--green);color:#ecf8ef;display:flex;flex-direction:column;padding:28px 16px 18px;overflow:auto}.brand{display:flex;align-items:center;gap:12px;padding:1px 9px 27px;border-bottom:1px solid #ffffff23;margin-bottom:22px}.brand-logo{height:43px;width:43px;border-radius:12px;object-fit:contain;background:#1a6c48}.brand-title{font-weight:780;font-size:16px;line-height:1.15}.brand-desc{color:#b9ddc9;font-size:11px;margin-top:4px}.side-caption{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#9acfb2;padding:0 12px;margin:8px 0}.side-nav{display:grid;gap:5px}.side-link{border:0;background:transparent;color:#e2f4e8;width:100%;border-radius:9px;min-height:44px;display:flex;align-items:center;gap:11px;padding:11px 13px;text-align:left;font-size:13px;font-weight:560}.side-link:hover{background:#ffffff17}.side-link.active{background:#ffffff24;font-weight:750}.side-link .ico{width:21px;height:21px;display:grid;place-items:center;font-size:17px}.side-link .count{font-size:10px;background:#ffffff26;padding:2px 7px;border-radius:99px;margin-left:auto}.side-footer{margin-top:auto;border-top:1px solid #ffffff27;padding:20px 10px 4px;color:#b8dccc;font-size:11px;line-height:1.6}.side-footer strong{display:block;color:#fff;font-size:12px}.main{min-width:0}.topbar{position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fffffff5;backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:15px clamp(16px,3vw,40px)}.crumb{color:var(--muted);font-size:12px;margin-bottom:4px}.topbar h1{font-size:20px;letter-spacing:-.5px;margin:0;font-weight:790}.top-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;background:#edf5ed;border:1px solid #dce7d9;border-radius:100px;font-size:11px;font-weight:740;color:#256244;white-space:nowrap}.pill .dot{height:7px;width:7px;border-radius:50%;background:#2ca76b}.pill.offline{color:#935c18;background:#fff5e4;border-color:#fae0b6}.pill.offline .dot{background:#e3a740}.page{max-width:1540px;padding:26px clamp(16px,3vw,40px) 48px;margin:auto}.hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:19px}.eyebrow{color:#3b8560;font-weight:800;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px}.hero h2{font-size:26px;margin:0 0 6px;line-height:1.25;letter-spacing:-.7px}.hero p{color:var(--muted);margin:0;max-width:650px;font-size:13px}.hero-icon{min-width:60px;height:60px;border-radius:15px;background:var(--mint);display:grid;place-items:center;font-size:29px;color:var(--green)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:19px}.stat{border:1px solid var(--border);border-radius:13px;background:white;padding:16px 18px;box-shadow:var(--shadow)}.stat small{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.stat strong{font-size:23px;color:var(--green);line-height:1}.stat .hint{font-size:11px;color:var(--muted);margin-top:6px}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(295px,.85fr);align-items:start;gap:15px}.stack{display:grid;gap:15px;min-width:0}.panel{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);min-width:0}.panel-head{padding:17px 20px;border-bottom:1px solid #edf1ed;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.panel-head h3{margin:0;font-size:15px;font-weight:770}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.panel-body{padding:18px 20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:15px}.form-grid.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.span-all{grid-column:1/-1}.f{min-width:0;position:relative}.f label{display:block;font-weight:680;font-size:11px;margin:0 0 6px;color:#4b6154}.req{color:#bd4545}.f input,.f select,.f textarea{width:100%;background:#fbfcfb;border:1px solid #d7e3d8;border-radius:8px;padding:10px 11px;min-height:41px;outline:none;color:var(--text);font-size:13px}.f textarea{min-height:83px;resize:vertical}.f input:focus,.f select:focus,.f textarea:focus{border-color:#4b9d70;box-shadow:0 0 0 3px #beeacb80;background:#fff}.f input::placeholder,.f textarea::placeholder{color:#95a69b}.hint-text{font-size:10px;color:var(--muted);margin-top:5px}.sect-label{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#4b8661;font-weight:770;margin:2px 0 12px}.action-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.btn{border:1px solid transparent;background:var(--green2);color:#fff;border-radius:9px;min-height:40px;padding:10px 14px;font-weight:720;font-size:12px;display:inline-flex;align-items:center;gap:7px;justify-content:center;transition:background .15s}.btn:hover:not(:disabled){background:#175438}.btn.secondary{background:white;border-color:#ccdccc;color:var(--green)}.btn.secondary:hover:not(:disabled){background:#eff8f1}.btn.soft{background:#e5f2e9;color:#1d6841}.btn.soft:hover:not(:disabled){background:#d2e9da}.btn.danger{background:#fff4f2;border-color:#f2d4d0;color:#a53e38}.btn.danger:hover{background:#fcebe9}.btn.sm{min-height:31px;padding:6px 10px;font-size:11px;border-radius:7px}.btn.full{width:100%}.guide{background:linear-gradient(140deg,#edfaef,#f8fbf8);border:1px solid #d8ecdc;padding:14px 15px;border-radius:9px;color:#366246;font-size:11px;line-height:1.65}.guide strong{color:#175238}.tag{background:#eaf5ec;color:#31734f;padding:4px 9px;border-radius:5px;font-size:10px;font-weight:750}.tag.grey{background:#f0f2f0;color:#6a796f}.tag.orange{background:#fff0dc;color:#ad7028}.progress{height:7px;border-radius:8px;background:#e5ede6;overflow:hidden}.progress>div{height:100%;background:#2a9860;border-radius:8px}.form-footnote{font-size:11px;color:var(--muted);border-top:1px solid var(--border);margin-top:18px;padding-top:12px}.record-card{border:1px solid #e0eadf;border-radius:9px;padding:13px;margin-bottom:9px;display:flex;gap:12px;justify-content:space-between;align-items:center;background:#fcfdfb}.record-card strong{font-size:12px}.record-card small{font-size:11px;color:var(--muted);display:block;margin-top:5px;overflow-wrap:anywhere}.record-actions{display:flex;gap:5px;flex:0 0 auto}.empty{text-align:center;padding:30px 12px;color:var(--muted);font-size:12px}.empty .symbol{font-size:26px;display:block;margin-bottom:8px}.notification{position:fixed;right:16px;bottom:18px;background:#1d6043;color:#fff;z-index:400;padding:12px 17px;max-width:min(480px,calc(100vw - 30px));font-size:12px;border-radius:10px;box-shadow:0 8px 30px #0004;line-height:1.5}.notification.error{background:#992d2d}.notification.warn{background:#8f6525}.hidden{display:none!important}.catalog-results{position:absolute;top:calc(100% - 2px);left:0;right:0;background:white;z-index:25;max-height:240px;overflow:auto;border:1px solid #b8d7c1;box-shadow:0 12px 25px #143f2820;border-radius:0 0 8px 8px}.catalog-result{display:block;width:100%;padding:10px 12px;text-align:left;border:0;border-bottom:1px solid #edf2ee;background:#fff;font-size:12px;color:#284b36}.catalog-result:hover,.catalog-result:focus{background:#e9f6ec}.catalog-result small{color:#788d7c;font-size:10px;margin-left:8px}.coords{border:1px dashed #c7dfcd;border-radius:10px;padding:15px;background:#fbfefb}.coords-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;flex-wrap:wrap}.coords-head strong{font-size:12px}.coords-head .meta{color:var(--muted);font-size:10px}.muted{color:var(--muted)}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar input{border:1px solid var(--border);border-radius:8px;padding:9px 12px;background:white;min-height:39px;flex:1 1 200px}.table-scroll{max-width:100%;overflow:auto}.records-table{width:100%;min-width:725px;border-collapse:collapse;font-size:12px}.records-table th{position:sticky;top:0;background:#eef4ef;color:#486854;text-align:left;white-space:nowrap;font-size:10px;padding:12px;border-bottom:1px solid #d7e5d9}.records-table td{padding:12px;border-bottom:1px solid #e7eee8;vertical-align:middle}.records-table tr:hover td{background:#f9fcf9}.records-table .action-cell{white-space:nowrap}.table-tag{font-size:10px;border-radius:5px;background:#edf5ee;color:#286246;padding:4px 7px}.modal-backdrop{position:fixed;inset:0;z-index:450;display:grid;place-items:center;background:#0d2d1dbb;padding:16px}.modal{width:min(600px,100%);border-radius:15px;background:#fff;box-shadow:0 20px 70px #0004;max-height:90dvh;overflow:auto}.modal header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal h3{margin:0;font-size:16px}.modal main{padding:20px}.modal footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--border)}.filebox{border:1px dashed #a7cdb3;border-radius:10px;background:#f7fbf8;text-align:center;padding:18px}.filebox input{max-width:100%;font-size:11px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.settings-grid .panel{padding:19px}.settings-grid h3{font-size:14px;margin:0 0 8px}.settings-grid p{font-size:12px;color:var(--muted);line-height:1.6}.status-list{display:grid;gap:9px;margin:18px 0}.status-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf1ed;padding-bottom:8px;font-size:12px}.notice{border-left:3px solid #d7a958;background:#fff8e9;padding:13px 15px;font-size:11px;line-height:1.6;color:#735d32;border-radius:0 8px 8px 0}.boot{display:flex;min-height:100dvh;align-items:center;justify-content:center;flex-direction:column;color:var(--green)}.boot-mark{width:54px;height:54px;background:#d8eddf;border-radius:14px;display:grid;place-items:center;font-size:30px}.boot h1{margin:15px 0 0;font-size:21px}.boot p{font-size:12px;color:var(--muted)}.footer-note{padding:30px 5px 0;color:var(--muted);font-size:11px;text-align:center}.footer-note b{color:var(--green)}.divider{height:1px;background:var(--border);margin:14px 0}.field-error{font-size:11px;color:var(--red)}
@media(max-width:1120px){.shell{grid-template-columns:210px minmax(0,1fr)}.workspace{grid-template-columns:minmax(0,1fr)}.side-footer{font-size:10px}}
@media(max-width:780px){.shell{display:block}aside{position:relative;height:auto;min-height:0;overflow:visible;padding:12px 15px 0}.brand{padding-bottom:12px;margin-bottom:8px;border-bottom:0}.brand-logo{width:36px;height:36px}.side-caption,.side-footer{display:none}.side-nav{display:flex;gap:5px;overflow-x:auto;padding-bottom:12px;scrollbar-width:none}.side-link{white-space:nowrap;width:auto;min-height:38px;padding:8px 11px;font-size:11px}.side-link .count{display:none}.topbar{position:sticky;top:0;padding:12px 17px}.topbar h1{font-size:17px}.page{padding:20px 14px 40px}.hero h2{font-size:22px}.hero-icon{display:none}.stats{gap:7px}.stat{padding:12px}.stat strong{font-size:20px}.stat small{font-size:10px}.stat .hint{display:none}.panel-head{padding:14px}.panel-body{padding:14px}.settings-grid{grid-template-columns:1fr}.top-actions .pill:nth-child(2){display:none}}
@media(max-width:470px){.form-grid,.form-grid.cols3{grid-template-columns:1fr}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.top-actions .pill{font-size:10px}.stats .stat strong{font-size:18px}.action-row{align-items:stretch}.action-row .btn{flex:1}.record-actions{gap:3px}.record-card{align-items:flex-start}.record-card .btn{font-size:10px}.hero p{font-size:12px}.btn.sm{padding:6px 8px}}

/* On mobile/tablet, place Protected Area selection before survey entry. */
@media(max-width:1120px){.workspace>.stack{display:contents}.workspace>.stack:nth-child(2)>.panel:first-child{order:-1}}
