:root{font-family:Inter,Segoe UI,sans-serif;color:#183b46;background:#f6fafb;--green:#37a4bf}*{box-sizing:border-box}body{margin:0}header{height:82px;background:white;border-bottom:1px solid #dce5df;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;gap:12px;align-items:center;color:var(--green);font-size:34px}.brand span{font-size:23px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:1.8px;margin-top:5px;color:#7b8982}main{height:calc(100dvh - 82px);display:flex}aside{width:330px;flex-shrink:0;padding:28px 23px;overflow:auto;background:#fff;border-right:1px solid #dce5df}.eyebrow{font-size:10px;letter-spacing:2px;color:#70887c;font-weight:700}h1{font-size:25px;letter-spacing:-1px;margin:12px 0}h2{font-size:22px}h3{font-size:13px;margin-top:24px}.muted,footer{font-size:13px;line-height:1.6;color:#75867c}label{display:block;font-size:13px;margin:12px 0}input:not([type=checkbox]),select,textarea{font:inherit;width:100%;padding:11px;border:1px solid #d9e2dc;border-radius:7px;background:#fafcfb;color:#183b46;margin-top:6px}input[type=checkbox]{accent-color:var(--green);margin-right:9px}textarea{min-height:80px}button{cursor:pointer;font:inherit;font-size:13px;border:0;background:var(--green);color:white;padding:11px 14px;border-radius:7px}button:hover{filter:brightness(.94)}button:disabled{opacity:.4;cursor:default}.secondary{background:#eaf1ed;color:#285842}.text{background:transparent;color:var(--green);padding:5px}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head h3{margin:24px 0 14px}#map{flex:1;min-width:0;background:#e9eee7}#list button{display:block;width:100%;background:#f5f8f5;color:#244b39;text-align:left;margin:8px 0}#list small{display:block;margin-top:5px;color:#7b8982}#tools{display:grid;gap:8px;margin-top:24px}footer{border-top:1px solid #e0e8e2;margin-top:28px;padding-top:18px;font-size:11px}#details{width:320px;padding:24px;overflow:auto;background:white}#details dl{font-size:13px;line-height:1.6}dt{font-weight:600;margin-top:15px}dd{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}.badge{display:inline-block;padding:5px 9px;background:#e5f1e9;border-radius:20px;font-size:11px}dialog{border:1px solid #dce5df;border-radius:14px;padding:24px;max-width:560px;width:calc(100% - 30px);max-height:90dvh;box-shadow:0 25px 90px #19362a33}dialog::backdrop{background:#122c2455}.dialog-head{display:flex;justify-content:space-between;align-items:center}.actions{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.proposal{padding:15px 0;border-bottom:1px solid #ddd}.proposal pre{white-space:pre-wrap;font-size:12px;max-height:200px;overflow:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:2000;background:#163e30;color:#fff;padding:15px 23px;border-radius:9px;max-width:90%}#hint,#drawtools{position:absolute;z-index:1000;left:50%;transform:translateX(-50%);background:white;padding:12px;border-radius:9px;box-shadow:0 3px 20px #0002;width:max-content;max-width:90%}#hint{top:20px;font-size:13px}#drawtools{bottom:30px}#account{font-size:13px;display:flex;gap:10px;align-items:center}[hidden]{display:none!important}@media(max-width:850px){aside{width:260px;padding:18px}#details{position:absolute;right:12px;top:95px;bottom:15px;z-index:1100;box-shadow:0 5px 35px #0003;width:300px}header{padding:0 15px}.brand small{display:none}}@media(max-width:570px){main{flex-direction:column}aside{width:100%;max-height:36dvh;padding:16px}aside h1,aside .muted,aside .eyebrow,footer{display:none}#map{min-height:45dvh}#tools{display:flex;flex-wrap:wrap}header{height:66px}main{height:calc(100dvh - 66px)}}

.geosearch{background:#f0f6f2;padding:14px;border-radius:9px;margin-bottom:18px}.geo-result{display:block;width:100%;text-align:left;margin:8px 0;line-height:1.5}.geosearch .muted{font-size:11px}

#accessGate{max-width:540px;margin:15vh auto;padding:32px;background:white;border:1px solid #dce5df;border-radius:16px;text-align:center}#accessGate p{line-height:1.6}

.catalog-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e3e9e5}.catalog-row small{display:block;color:#75867c;font-size:11px;margin-top:4px}

#boundaryPreview{height:220px;border:1px solid #dce5df;border-radius:9px;margin:14px 0}#selectedBoundaries{max-height:180px;overflow:auto}.boundary-hint{font-size:12px;color:#75867c}

/* BayLSK: RGB 55, 164, 191 */
:root{--green:rgb(55,164,191)}button{color:#07313c}button.secondary{background:#e7f3f7;color:#205767}.text{background:transparent;color:#17677d}.brand{color:#267d94}.brand-icon{flex-shrink:0}.badge{background:#e3f2f6;color:#205767}input[type=checkbox]{accent-color:#237d96}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid #37a4bf;outline-offset:2px}.geosearch{background:#edf7fa}.catalog-row{border-color:#dbeaf0}#toast{background:#154e5d;color:white}#list button{background:#f0f7f9;color:#205767}.eyebrow{color:#467686}

.filter-group{margin:22px 0;border:1px solid #dbeaf0;border-radius:9px;overflow:hidden}.filter-group h3{margin:0;padding:13px 14px 0;color:#28647a}.filter-group label{display:flex;align-items:center;min-height:40px;padding:8px 14px;margin:0;cursor:pointer;gap:7px}.filter-group label:hover{background:#f0f8fa}.filter-group input[type=checkbox]{margin:0 4px 0 0;width:17px;height:17px;flex-shrink:0}.filter-master{font-weight:600;border-bottom:1px solid #dbeaf0;background:#edf7fa;margin-top:8px!important}.type-choice span{flex:1;overflow-wrap:anywhere}.type-choice small{font-size:11px;color:#66818b}.filter-empty{padding:0 14px;font-size:12px;color:#66818b}#reset{width:100%}

.catalog-section{margin-bottom:26px}.catalog-section h3{font-size:15px}.catalog-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dbeaf0}.catalog-entry .catalog-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.catalog-entry small{display:block;color:#66818b;font-size:11px;line-height:1.5;margin-top:4px}.catalog-controls{display:flex;align-items:center;gap:5px;flex-shrink:0}.catalog-controls button{min-height:36px;padding:7px 10px}.catalog-controls .move-type{font-size:18px;min-width:34px}.catalog-controls button:disabled{opacity:.35}@media(max-width:480px){.catalog-entry{align-items:flex-start;flex-direction:column}.catalog-controls{align-self:flex-end}}

.catalog-color{display:inline-flex;align-items:center;margin:0;cursor:pointer}.catalog-color input[type=color]{width:38px;height:36px;margin:0;padding:3px;border:1px solid #b9d4de;border-radius:7px;background:white;cursor:pointer}.area-color-swatch{display:inline-block;width:13px;height:13px;flex-shrink:0;border:1px solid #0002;border-radius:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tool-heading{font-size:16px;font-weight:700;margin:24px 0 12px;color:#28647a}#tools .tool-heading{margin:0 0 4px}.tool-heading+.filter-group{margin-top:0}

.object-color-swatch{border-radius:50%}

.object-map-marker>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid white;border-radius:9px;box-shadow:0 2px 7px #0005}.object-map-marker svg{width:25px;height:25px}.object-symbol-swatch{display:flex;align-items:center;flex-shrink:0;width:20px;height:20px}.object-symbol-swatch svg{width:20px;height:20px}.symbol-preview{width:36px;padding:6px!important;display:flex;align-items:center;justify-content:center}.symbol-preview svg{width:23px;height:23px}.symbol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.symbol-option{display:flex;align-items:center;gap:12px;text-align:left;min-height:65px;background:#eef7fa;color:#205767;border:2px solid transparent}.symbol-option svg{width:30px;height:30px;flex-shrink:0}.symbol-option[aria-pressed=true]{border-color:#37a4bf;background:#dcf0f6}.symbol-picker-dialog{max-width:540px}.catalog-controls{flex-wrap:wrap;justify-content:flex-end}@media(max-width:420px){.symbol-grid{grid-template-columns:1fr}}

.user-row{padding:16px 0;border-bottom:1px solid #dbeaf0}.user-row strong{display:block;margin-bottom:8px;overflow-wrap:anywhere}.user-role{display:flex;align-items:center;gap:8px}.user-role select{margin:0;flex:1}.user-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.user-note{display:block;color:#66818b;font-size:11px;margin-top:8px}.danger{background:#fae9e8;color:#9b3430}.password-gate{text-align:left!important;margin:5vh auto!important}.password-gate h1{text-align:left}.password-gate button{margin-top:10px}

.filter-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;font-size:13px;font-weight:700;color:#28647a;cursor:pointer;list-style:none;user-select:none}.filter-group summary::-webkit-details-marker{display:none}.filter-group summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:3px;transition:transform .15s}.filter-group:not([open]) summary::after{transform:rotate(-45deg)}.filter-group summary:hover{background:#f0f8fa}.filter-group summary:focus-visible{outline:2px solid #37a4bf;outline-offset:-3px}.filter-group .filter-master{margin-top:0!important}

.review-dialog{max-width:900px}.proposal-data{margin:14px 0}.proposal-data summary{cursor:pointer;font-size:13px;font-weight:600;color:#28647a;padding:10px 0}.proposal-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px;margin:12px 0}.proposal-table th,.proposal-table td{padding:12px;text-align:left;vertical-align:top;border:1px solid #dbeaf0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5}.proposal-table thead{background:#edf7fa}.proposal-table th[scope=row]{width:25%;font-weight:600}.proposal-changed{background:#fff6df}.change-label{display:block;font-size:10px;color:#825b16;margin-top:5px}.proposal-table td{color:#304e58}@media(max-width:600px){.proposal-table thead{display:none}.proposal-table,.proposal-table tbody,.proposal-table tr,.proposal-table th,.proposal-table td{display:block;width:100%!important}.proposal-table tr{margin-bottom:12px}.proposal-table td{border-top:0}.proposal-table td::before{content:attr(data-label);display:block;font-weight:600;color:#28647a;margin-bottom:5px}}
.review-dialog{overflow-y:auto}

.map-search{margin:18px 0}.map-search>label{font-size:12px;font-weight:600;margin:0 0 5px}.place-search-row{display:flex;align-items:center;gap:6px}.place-search-row input{min-width:0;margin-top:0!important}.place-search-row button{padding:11px 9px}.search-suggestions{margin-top:6px;border:1px solid #cbdfe6;border-radius:7px;background:white;overflow:hidden}.search-suggestion{display:block;width:100%;text-align:left;background:white;color:#183b46;border-radius:0;border-bottom:1px solid #e4eef2;padding:11px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.search-suggestion:last-child{border-bottom:0}.search-suggestion:hover,.search-suggestion:focus-visible{background:#edf7fa}.search-suggestion small{display:block;color:#66818b;margin-top:4px}.search-suggestions p{padding:10px;margin:0;font-size:12px}

.clearable-search{position:relative;width:100%;min-width:0}.clearable-search input{padding-right:36px!important;margin-top:0!important}.clear-search{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:30px;height:32px;padding:0;background:transparent;color:#66818b;font-size:23px;line-height:1}.clear-search:hover{background:#edf7fa;color:#183b46}.place-search-row .clearable-search{flex:1}

.catalog-default{display:flex;align-items:center;gap:4px;margin:0;font-size:11px;color:#66818b}.catalog-default input{margin:0!important}

.catalog-dialog{max-width:760px;overflow-y:auto;overflow-x:hidden}.catalog-dialog .catalog-entry{display:block;padding:16px;margin:12px 0;background:#f8fbfc;border:1px solid #dbeaf0;border-radius:9px}.catalog-dialog .catalog-name{display:block;width:100%;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.catalog-dialog .catalog-name small{font-weight:400}.catalog-dialog .catalog-controls{display:flex;width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;margin-top:12px}.catalog-dialog .catalog-default{flex-basis:100%;font-size:12px;min-height:30px;margin-bottom:3px;gap:7px}.catalog-dialog .catalog-default input{width:16px;height:16px;flex-shrink:0}.catalog-dialog .catalog-controls button{min-height:38px}.catalog-dialog .catalog-color{flex-shrink:0}.catalog-dialog .catalog-section h3{margin-top:24px}.catalog-dialog .catalog-entry small{overflow-wrap:anywhere}@media(max-width:480px){.catalog-dialog{padding:18px}.catalog-dialog .catalog-entry{padding:12px}.catalog-dialog .catalog-controls{align-self:auto;gap:6px}.catalog-dialog .catalog-controls button{padding:8px}}

.area-hover-list{padding:8px 11px;border:1px solid #cbdfe6;border-radius:8px;box-shadow:0 3px 14px #1234;pointer-events:none;max-width:min(340px,70vw);white-space:normal;color:#183b46}.area-hover-row{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;padding:3px 0}.area-hover-row i{width:11px;height:11px;border-radius:3px;flex-shrink:0}.area-hover-row span{overflow-wrap:anywhere}
.leaflet-tooltip.area-hover-list{width:max-content;max-width:min(360px,70vw);white-space:normal;word-break:normal;overflow-wrap:normal}.area-hover-row{width:100%;min-width:0}.area-hover-row span{flex:1;min-width:0;word-break:normal;overflow-wrap:normal;white-space:normal}

.related-feature-link{background:transparent;color:#17677d;padding:3px 0;text-align:left;text-decoration:underline;text-underline-offset:3px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.related-feature-link:hover{color:#103e4d}
@media(max-width:850px){.brand small{display:block}}@media(max-width:570px){header{gap:8px;padding:0 10px}.brand{gap:7px;min-width:0}.brand span{font-size:20px}.brand small{font-size:8px;letter-spacing:.3px;line-height:1.4;max-width:150px;white-space:normal}.brand-icon{width:30px;height:30px}#account{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:4px;font-size:10px;max-width:45%}#account span{overflow-wrap:anywhere}#account button{font-size:11px;padding:7px 9px}header{height:auto;min-height:66px;padding-top:8px;padding-bottom:8px}}
.brand .brand-title{font-size:12px;letter-spacing:.5px;line-height:1.3;margin-top:4px}.brand .brand-tagline{font-size:10px;letter-spacing:.3px;line-height:1.3;margin-top:3px;font-weight:400}@media(max-width:570px){.brand .brand-title{font-size:10px;max-width:160px}.brand .brand-tagline{font-size:9px;max-width:160px}header{min-height:82px}main{height:calc(100dvh - 82px)}}
.brand .brand-title{margin-top:1px}
.brand .brand-copy{display:flex;flex-direction:column;align-items:flex-start;text-align:left}.brand .brand-name{display:block;line-height:1.1;margin:0;padding:0}.brand .brand-copy>small{margin-left:0;padding-left:0;text-align:left}
.brand .brand-name,.brand .brand-title{position:relative;left:-.065em}.brand .brand-tagline{position:relative;left:-.025em}
aside{padding-top:12px}aside>.map-search:first-child{margin-top:0}@media(max-width:850px){aside{padding-top:12px}}@media(max-width:570px){aside{padding-top:10px}}
.theme-toggle{display:flex;align-items:center;gap:8px;margin:18px 0 4px;padding:12px 0;font-size:13px;border-top:1px solid #dbeaf0;cursor:pointer}
:root[data-theme=dark]{color-scheme:dark;color:#e3edf1;background:#111b22}
[data-theme=dark] header,[data-theme=dark] aside,[data-theme=dark] #details,[data-theme=dark] dialog,[data-theme=dark] #accessGate{background:#17252e;color:#e3edf1;border-color:#354b57}
[data-theme=dark] .brand,[data-theme=dark] .brand small,[data-theme=dark] .tool-heading,[data-theme=dark] .filter-group h3{color:#7cd1e3}
[data-theme=dark] .muted,[data-theme=dark] footer,[data-theme=dark] .user-note,[data-theme=dark] .catalog-entry small,[data-theme=dark] .catalog-default,[data-theme=dark] .type-choice small{color:#b0c2cc}
[data-theme=dark] input:not([type=checkbox]),[data-theme=dark] select,[data-theme=dark] textarea{background:#111e27;color:#e3edf1;border-color:#405966}
[data-theme=dark] .filter-group,[data-theme=dark] footer,[data-theme=dark] .theme-toggle,[data-theme=dark] .user-row,[data-theme=dark] .proposal{border-color:#354b57}
[data-theme=dark] .filter-master,[data-theme=dark] button.secondary,[data-theme=dark] .badge,[data-theme=dark] .geosearch,[data-theme=dark] .symbol-option{background:#243f4d;color:#d1edf5}
[data-theme=dark] .filter-group label:hover,[data-theme=dark] .search-suggestion:hover,[data-theme=dark] .search-suggestion:focus-visible{background:#294855}
[data-theme=dark] .catalog-dialog .catalog-entry,[data-theme=dark] .search-suggestions,[data-theme=dark] .search-suggestion{background:#1e303b;color:#e3edf1;border-color:#405966}
[data-theme=dark] .search-suggestion small,[data-theme=dark] .clear-search{color:#afc5cf}
[data-theme=dark] .text,[data-theme=dark] .related-feature-link,[data-theme=dark] .proposal-data summary{color:#7cd1e3}
[data-theme=dark] .proposal-table th,[data-theme=dark] .proposal-table td{border-color:#405966;color:#e3edf1}
[data-theme=dark] .proposal-table thead{background:#243f4d}
[data-theme=dark] .proposal-changed{background:#443c22}
[data-theme=dark] .change-label{color:#f1d18a}
[data-theme=dark] .danger{background:#583333;color:#ffe1dd}
[data-theme=dark] .leaflet-tooltip,[data-theme=dark] .leaflet-bar a,[data-theme=dark] #hint,[data-theme=dark] #drawtools{background:#17252e;color:#e3edf1;border-color:#405966}
[data-theme=dark] .leaflet-tooltip-right:before{border-right-color:#405966}
[data-theme=dark] .leaflet-tooltip-left:before{border-left-color:#405966}
[data-theme=dark] #map{background:#22313a}
[data-theme=dark] .leaflet-tile-pane{filter:brightness(.72) saturate(.75)}
[data-theme=dark] .leaflet-control-attribution{background:#17252edd;color:#b0c2cc}
[data-theme=dark] .leaflet-control-attribution a{color:#7cd1e3}
