:root{--ink:#172d48;--muted:#62758b;--border:#dbe3ec;--blue:#1369cb;--bg:#f3f6fa;--header-h:48px}
*{box-sizing:border-box}html{scroll-padding-top:64px}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:13px;line-height:1.4}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,.button{border:1px solid var(--border);border-radius:6px;padding:6px 10px;min-height:30px;background:white;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;gap:5px}button:hover,.button:hover{background:#e9f1fb;text-decoration:none}button:disabled{opacity:.6;cursor:wait}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#0c58ad}.ghost{background:transparent}
.topbar{height:var(--header-h);background:#10233f;display:flex;gap:20px;align-items:center;padding:0 22px;color:white;position:relative;z-index:1000}.topbar .brand img{width:138px;display:block}.topbar .toplink{color:white;font-size:12px}.topbar .version{margin-left:auto;color:#9baec7;font-size:11px}.topbar button{color:white;border-color:#52627b;padding:4px 10px;min-height:28px}.page{max-width:1800px;margin:auto;padding:16px 22px 46px}
.heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.heading h1{margin:0;font-size:23px;font-weight:720;letter-spacing:-.35px}.heading p{margin:4px 0 0;max-width:1000px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.2px;color:var(--muted)}.count{color:var(--muted);font-size:15px;margin-left:7px}.panel{border:1px solid var(--border);border-radius:9px;background:white;padding:13px;margin-bottom:10px;box-shadow:0 1px 3px #18325304}h2{font-size:15px;margin:0 0 10px}.heading.small{margin:0 0 9px;align-items:center}.heading.small h2{margin:0}
.search-row{display:flex;gap:12px;align-items:center}.search-row textarea{flex:1;height:36px;min-height:36px;max-height:92px;resize:vertical}.search-panel label{font-weight:600}.search-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px;font-size:12px}.search-help{font-weight:400;color:var(--muted);font-size:11px}.source-checks{display:flex;align-items:center;gap:14px;white-space:nowrap}.source-checks label{display:inline-flex;align-items:center;gap:5px;line-height:1}.source-checks input,input[type=checkbox]{accent-color:var(--blue);width:15px;height:15px;vertical-align:middle;margin:0 4px 0 0}.source-checks label input{margin:0}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),textarea,select{border:1px solid var(--border);background:#fff;border-radius:5px;padding:6px 9px;color:var(--ink);max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #a8cdf5;outline-offset:1px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #529eeb;outline-offset:2px}
.muted{color:var(--muted)}p.muted{font-size:12px;margin:8px 0}.notice{background:#edf4ff;border:1px solid #c7dcf5;border-radius:7px;padding:8px 11px;margin:0 0 10px;font-size:12px}.notice.ok{background:#ecf8f2;border-color:#b9dfce}.notice.error{background:#fff3ed;border-color:#f3c7b4}.danger{color:#b63c24}.filters{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;justify-content:space-between;margin:8px 0 10px}.filters form{display:flex;gap:5px}.filters input{width:240px;font-size:12px}.pill-nav{display:flex;flex-wrap:wrap;gap:2px}.pill-nav a{padding:5px 8px;color:var(--muted);border-radius:5px;font-size:12px}.pill-nav a.active{background:#dfeeff;color:#115ab0;font-weight:650}.table-wrap{padding:0;overflow:auto}
table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:#f6f8fb;color:var(--muted);font-weight:650;white-space:nowrap}td,th{padding:7px 10px;border-bottom:1px solid #e7ecf2;vertical-align:top}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfe}.object-table .cn{font-weight:700;white-space:nowrap}.object-table td:first-child{width:180px}.object-table td{line-height:1.35}.address{max-width:720px;margin-top:2px}.object-table .address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.nowrap{white-space:nowrap}.badge{display:inline-block;border-radius:4px;font-size:11px;background:#eaf0f5;padding:1px 5px;color:#52647c;white-space:nowrap}.badge.good{background:#e5f5ee;color:#22734e}.badge.working{background:#fff2cc;color:#9a6a00}.object-table small{display:block;font-size:10px}.pagination{display:flex;gap:15px;justify-content:center;align-items:center;margin:14px 0}.empty{padding:14px;color:var(--muted)}.back{display:inline-block;margin-bottom:7px;font-size:12px}
.object-grid{display:grid;grid-template-columns:minmax(400px,1.03fr) minmax(380px,1fr);gap:16px;align-items:start}.data-column,.map-column{min-width:0}.map-column{position:sticky;top:60px}.source-tabs{display:flex;gap:5px;margin-bottom:9px;border-bottom:1px solid var(--border)}.source-tabs a{padding:7px 17px;font-weight:700;color:var(--muted);border-bottom:2px solid transparent}.source-tabs a.active{color:var(--blue);border-color:var(--blue)}.snapshot-control select{display:block;width:100%;margin-top:3px;font-size:12px}.snapshot-control label{font-size:12px}.meta-lines{font-size:12px;margin:9px 0 6px;line-height:1.6}.meta-lines span{color:var(--muted)}.small-link{font-size:11px}.fields,.nested{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(0,1.2fr);gap:6px 12px;margin:0}.fields dt,.nested dt{color:var(--muted)}.fields dd,.nested dd{margin:0;overflow-wrap:anywhere}.nested .nested{display:block}.nested .nested dt{font-size:11px;margin-top:4px}.big-number{font-size:22px;font-weight:750;letter-spacing:-.35px;margin-bottom:10px}.big-number small{font-size:15px;color:var(--muted)}summary{cursor:pointer;font-weight:650;font-size:13px}details[open]>summary{margin-bottom:10px}.table-tools{display:flex;gap:6px;margin:9px 0}.table-tools input{min-width:0;flex:1}.table-result{overflow-x:auto;max-height:520px}.table-more{margin-top:8px}.detail-record{padding:9px 0;border-bottom:1px solid var(--border)}.relation-parent{border-top:1px solid var(--border);padding:8px 0}.relation-parent:first-of-type{border-top:0}.relation-parent p{margin:3px 0}.inline-follow{display:inline}.link{padding:0;background:transparent;border:0;min-height:0;color:var(--blue);font-weight:600;white-space:normal;text-align:left}.link:hover{background:transparent;text-decoration:underline}.relations-list{margin:8px 0;padding:9px;border:1px solid var(--border);border-radius:6px}.relations-list table td{padding:6px 5px}
.map-panel{padding:12px}.map-panel h2{font-size:15px}.map-panel button{font-size:11px;padding:5px 7px}.map-panel .map-heading{align-items:flex-start}.map-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.map-actions form{margin:0}.map-actions button{white-space:normal;line-height:1.25}.geometry-info{font-size:11px;line-height:1.5;padding:7px 9px;background:#f3f7fc;border-radius:6px;margin-bottom:8px}.geometry-info .muted{color:#66768a}#map{height:clamp(300px,47vh,460px);width:100%;background:#e5eaf0;border-radius:6px;z-index:0}.map-legend{display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:10px;margin:7px 0 10px}.line{display:inline-block;width:20px;border-top:3px solid}.line.red{color:#dc3030}.line.blue{color:#256bcc;border-top-style:dashed}.line.black{color:#222;border-top-style:dashed}.geometry-history{border-top:1px solid var(--border);padding-top:8px}.geometry-history label{display:block;font-size:11px;margin:6px 0}.geometry-history select{width:100%;font-size:11px;display:block;margin:3px 0}.environment-control{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:11px}.environment-status{font-size:11px;line-height:1.4;white-space:pre-line}.map-footnote{display:block;color:var(--muted);font-size:10px;line-height:1.35}.geometry-archive{color:#964b0b;font-weight:700}.geom-compare{color:#9c29b4}#basemap-status{display:block;margin:6px 0;color:#9a5724;font-size:11px}
/* Leaflet CSS is loaded after this sheet: deliberately override the full tooltip selector. */
.leaflet-tooltip.map-label{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;color:#115caf;opacity:1!important;font-family:Arial,sans-serif;font-size:9px!important;font-weight:600;line-height:1.2;white-space:nowrap;pointer-events:none;text-shadow:-1px -1px 0 #fff,0 -1px 0 #fff,1px -1px 0 #fff,-1px 0 0 #fff,1px 0 0 #fff,-1px 1px 0 #fff,0 1px 0 #fff,1px 1px 0 #fff}
.leaflet-tooltip.map-label.land-label{color:#115caf!important}.leaflet-tooltip.map-label.oks-label{color:#151515!important}.leaflet-tooltip.map-label:before{display:none!important}.map-panel .leaflet-control-zoom a{width:28px;height:28px;line-height:28px;font-size:19px}.map-panel .leaflet-control-attribution{font-size:9px;line-height:1.25;max-width:90%}
.kadinfo-layers{position:relative}.map-panel .layers-toggle{width:31px;height:31px;min-height:31px;padding:4px;border:2px solid #0003;border-radius:5px;background:#fff;color:#34445b;box-shadow:0 1px 4px #0002}.layers-toggle svg{display:block;pointer-events:none}.basemap-menu{position:absolute;top:37px;right:0;width:255px;max-width:calc(100vw - 72px);max-height:min(410px,calc(100vh - 160px));overflow:auto;background:#fff;border:1px solid #ccd5df;border-radius:7px;box-shadow:0 5px 24px #152f4b30;padding:10px;cursor:auto;color:#172d48;font:12px/1.4 system-ui,sans-serif}.basemap-heading{font-weight:700;margin-bottom:4px}.basemap-menu fieldset{border:0;padding:0;margin:5px 0 9px}.basemap-menu legend{color:#62758b;font-size:10px;text-transform:uppercase;letter-spacing:.7px;margin:0 0 3px}.basemap-menu fieldset label{display:flex;align-items:center;gap:7px;padding:4px 3px;cursor:pointer;border-radius:4px}.basemap-menu fieldset label:hover{background:#edf4fd}.basemap-menu input[type=radio]{width:13px;height:13px;margin:0;accent-color:#1369cb;flex-shrink:0}.basemap-menu .imagery-opacity{display:block;font-size:11px;border-top:1px solid #e4eaf1;padding-top:7px}.imagery-opacity input{display:block;width:100%;padding:0;accent-color:#1369cb;cursor:pointer}.basemap-menu small{display:block;color:#62758b;font-size:10px;line-height:1.4;margin-top:7px}
.basemap-offset{border-top:1px solid #e4eaf1;margin-top:9px;padding-top:8px}.basemap-offset-heading{font-weight:700}.basemap-offset-name{margin-top:1px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.basemap-offset-inputs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.basemap-offset-inputs label{display:block!important;padding:0!important;font-size:10px;color:#62758b}.basemap-offset-inputs input{display:block;width:100%;height:30px;margin-top:2px;padding:4px 6px;border:1px solid #b9c6d4;border-radius:4px;font:12px system-ui;color:#172d48}.basemap-offset-controls{display:grid;grid-template-columns:repeat(4,31px) 1fr;gap:5px;margin-top:7px}.basemap-offset-controls button{height:30px;min-height:30px;padding:2px;border:1px solid #b9c6d4;background:#f7f9fc;color:#17314e;border-radius:4px;font-size:15px;line-height:1}.basemap-offset-controls button:hover{background:#e8f2fd}.basemap-offset-controls .basemap-offset-reset{font-size:10px;padding:2px 6px}
.to-top{position:fixed;right:18px;bottom:18px;width:36px;height:36px;min-height:36px;padding:0;z-index:1050;border-radius:50%;background:#10233f;color:white;border:1px solid #72849b;box-shadow:0 2px 9px #12274035}.to-top:hover{background:#235282}.to-top svg{width:19px;height:19px}.login{max-width:400px;margin:10vh auto}.login h1{font-size:21px}.login-logo{max-width:160px;background:#10233f;padding:10px;border-radius:7px}.login form{display:grid;gap:10px}.job-notice{font-size:12px}
[hidden]{display:none!important}
@media(min-width:1001px){.topbar{position:sticky;top:0}.catalogue-tools{position:sticky;top:var(--header-h);z-index:900;background:var(--bg);margin:-16px -5px 0;padding:12px 5px 1px;box-shadow:0 3px 0 var(--bg)}.catalogue-tools .heading{margin-bottom:8px}.catalogue-tools .search-panel{padding:10px;margin-bottom:7px}.catalogue-tools .filters{margin-bottom:8px}}
@media(max-width:1100px){.object-grid{grid-template-columns:minmax(350px,1fr) minmax(345px,1fr);gap:11px}.page{padding:14px 16px 44px}.heading.small{flex-wrap:wrap}.map-actions{justify-content:flex-start}.fields,.nested{grid-template-columns:1fr 1.2fr}}
@media(min-width:801px) and (max-height:800px){#map{height:310px}.map-column{max-height:calc(100vh - 74px);overflow-y:auto;scrollbar-width:thin}}
@media(max-width:800px){body{font-size:13px}.object-grid{display:flex;flex-direction:column}.data-column,.map-column{width:100%}.map-column{position:static;order:-1}#map{height:320px}.search-row{flex-wrap:wrap;gap:9px}.search-row textarea{flex-basis:100%;min-height:42px;height:42px}.search-caption{align-items:flex-start}.search-help{display:none}.topbar{padding:0 12px;gap:12px}.topbar .brand img{width:112px}.topbar .version{display:none}.topbar form{margin-left:auto}.heading h1{font-size:21px}.heading{flex-wrap:wrap}.panel{padding:11px}.table-wrap{padding:0}.filters{gap:9px}.filters form{width:100%}.filters input{width:auto;min-width:0;flex:1}.page{padding:12px 12px 44px}.source-tabs a{padding:9px 16px}.source-checks input,input[type=checkbox]{width:17px;height:17px}.map-actions button,button,.button{min-height:36px}.map-panel .layers-toggle{width:36px;height:36px;min-height:36px}.basemap-menu{top:41px;max-height:265px}.basemap-menu fieldset label{min-height:34px}.to-top{bottom:12px;right:12px;width:40px;height:40px}.object-table .cn{font-size:12px}.fields,.nested{gap:6px 10px}.map-panel .map-heading{display:block}.map-actions{margin-top:8px}.map-legend{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 2.0.2: capability-link controls, safe public view, local-read retry. */
.share-panel{padding:8px 12px;margin-bottom:10px}
.share-panel summary{cursor:pointer;font-size:13px;font-weight:600}
.share-panel p{margin:7px 0;font-size:12px}
.share-row,.share-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.share-row input{flex:1;min-width:220px;font-size:12px;padding:6px 8px}
.share-actions{margin-top:8px}.share-actions form{margin:0}
.public-banner{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:9px 12px;margin-bottom:12px;border:1px solid #d1dee8;border-radius:7px;background:#f0f6fb;font-size:12px}
.public-banner a{margin-left:auto}.small-retry{margin-top:7px;font-size:12px}
@media(max-width:600px){.share-row input{width:100%}.public-banner a{margin-left:0}}
/* 2.0.3: readable header; dense tables are deliberately unchanged. */
:root{--header-h:72px}
html{scroll-padding-top:88px}
.topbar{gap:24px}
.topbar .brand{display:flex;gap:11px;align-items:center;color:#fff;flex-shrink:0;text-decoration:none}
.topbar .brand .brand-icon{width:43px;height:43px;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.brand-text strong{font-size:24px;letter-spacing:-.5px;font-weight:800}
.brand-text>span{font-size:15px;font-weight:500;color:#dce9fa;margin-top:2px}
.topbar .toplink{font-size:14px}
.topbar-right{display:flex;align-items:center;gap:18px;margin-left:auto;flex-shrink:0}
.topbar .topbar-right .version{margin:0;font-size:13px;color:#b8cce5}
.topbar .logout-form{margin:0}
.topbar .logout-form button{font-size:14px;min-height:34px;padding:5px 12px}
.map-column{top:calc(var(--header-h) + 12px)}
.apiclick-balance{position:relative;display:flex;align-items:baseline;gap:5px;white-space:nowrap;font-size:14px;color:#f0f6ff;font-variant-numeric:tabular-nums}
.balance-caption{color:#c5d7ed;font-size:12px}
.balance-amount{font-weight:700;min-width:3ch;text-align:right}
.balance-offline .balance-amount{color:#d6c6a4}
.balance-effects{position:absolute;inset:0;pointer-events:none;overflow:visible}
.balance-charge{position:absolute;right:0;top:26px;padding:2px 5px;border-radius:4px;background:#183758b3;color:#ffd8bb;font-size:13px;font-weight:600;white-space:nowrap;opacity:0;animation:balance-spend 1.8s ease-out both}
.balance-charge.refund{color:#bdf0dd}
@keyframes balance-spend{0%{opacity:0;transform:translateY(6px)}15%{opacity:.8;transform:translateY(0)}65%{opacity:.55;transform:translateY(-5px)}100%{opacity:0;transform:translateY(-16px)}}
.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}
.share-main{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}
.share-main-button{font-size:14px;padding:8px 13px;min-height:36px}
.share-main-button svg{width:18px;height:18px}
#share-status{font-size:12px;color:#267554;min-height:0}
.catalogue-tools .eyebrow{font-size:12px;letter-spacing:1px}
@media(min-width:801px) and (max-height:800px){.map-column{max-height:calc(100vh - var(--header-h) - 26px)}}
@media(max-width:800px){
  .topbar{height:auto;min-height:104px;flex-wrap:wrap;gap:8px 12px;padding:10px 12px}
  .topbar .brand .brand-icon{width:37px;height:37px}
  .brand-text strong{font-size:21px}.brand-text>span{font-size:13px}
  .topbar .toplink{font-size:12px;margin-left:auto}
  .topbar-right{flex-basis:100%;justify-content:flex-end;gap:14px;margin:0}
  .topbar .topbar-right .version{display:inline;font-size:11px;margin-right:auto}
  .apiclick-balance{font-size:14px}.balance-caption{font-size:12px}
  .share-main{align-items:flex-start}.share-main-button{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.balance-charge{animation:none;opacity:.7}}
.mode-switch{display:flex;gap:3px}.mode-switch a{color:#d7e5f6;padding:6px 10px;border-radius:5px;font-weight:650}.mode-switch a.active{background:#ffffff18;color:#fff}.map-view .page{max-width:none;padding:0}.registry-map-page{position:relative;height:calc(100vh - var(--header-h));overflow:hidden}.registry-map-page #registry-map{position:absolute;inset:0;z-index:0}.map-searchbar{position:absolute;z-index:600;left:50%;top:12px;transform:translateX(-50%);width:min(720px,calc(100% - 420px))}.map-searchbar form{display:flex;background:#fff;padding:6px;border-radius:9px;box-shadow:0 3px 18px #172d4840}.map-searchbar input{flex:1;border:0!important;min-width:0}.map-search-results{max-height:min(420px,calc(100vh - 150px));overflow:auto;background:#fff;margin-top:4px;border-radius:7px;box-shadow:0 4px 18px #172d4838;padding:6px}.map-search-results button{display:block;width:100%;white-space:normal;text-align:left;justify-content:flex-start;border:0}.map-search-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 6px 5px;color:var(--muted);font-size:11px}.map-search-history-head button{width:auto;padding:3px 6px;min-height:24px;color:var(--muted);font-size:11px}.map-search-history-list{display:grid;gap:2px}.map-search-history-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:3px}.map-search-history-query{min-width:0;overflow:hidden;text-overflow:ellipsis}.map-search-history-remove{display:flex!important;align-items:center;justify-content:center!important;width:30px!important;min-height:30px;padding:0!important;color:var(--muted);font-size:18px}.map-left-rail{position:absolute;z-index:550;top:12px;bottom:12px;left:12px;width:min(390px,calc(100% - 24px));display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none}.map-left-rail>.panel{pointer-events:auto}.map-layers{display:flex;flex:1 1 auto;flex-direction:column;width:290px;min-height:0;max-width:100%;overflow:hidden;margin:0}.map-layers-toolbar{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:8px}.map-layers-title small{display:block;color:var(--muted);margin:2px 0 8px}.map-layers-toggle{display:flex;flex:0 0 34px;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:6px}.map-layers-toggle svg{width:20px;height:20px}.map-layers-content{flex:1 1 auto;min-height:0;overflow:auto}.map-layers.collapsed{flex:0 0 44px;width:44px;height:44px;padding:5px}.map-layers.collapsed .map-layers-title,.map-layers.collapsed .map-layers-content{display:none}.map-layers.collapsed .map-layers-toolbar{align-items:center;justify-content:center}.map-layers.collapsed .map-layers-toggle{width:34px}.map-layer-list label{display:flex;align-items:flex-start;padding:4px 0;font-size:12px}.quarter-status{position:static;flex:0 0 auto;width:100%;max-height:42%;overflow:auto;margin:0;background:#fffffff0}.quarter-status small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.quarter-line{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;padding:4px 0;border-bottom:1px solid #e6ebf0}.quarter-line button{min-height:25px;padding:2px 7px}.map-details{position:absolute;z-index:650;right:12px;top:12px;width:min(430px,calc(100% - 24px));max-height:calc(100% - 24px);overflow:auto;margin:0;padding:16px}.details-close{float:right;border:0;font-size:22px;min-height:28px}.map-details h2{font-size:18px;padding-right:35px}.map-details .fields{grid-template-columns:minmax(125px,.8fr) minmax(0,1.2fr)}.msk-result select{width:100%;margin:8px 0}.msk-result pre{font-size:11px;max-height:280px;overflow:auto;background:#f3f6fa;padding:8px;border-radius:5px}.map-message{position:absolute;z-index:500;left:50%;bottom:18px;transform:translateX(-50%);background:#10233fdc;color:#fff;padding:8px 13px;border-radius:7px;pointer-events:none}.registry-map-page .leaflet-control-zoom{margin-top:80px}.registry-map-page .leaflet-control-attribution{font-size:9px}
.quarter-line>span{min-width:0}.quarter-line .quarter-job-state{display:block;color:var(--muted);font-size:10px;margin-top:2px}.quarter-readonly{color:var(--muted);font-size:10px}.quarter-refresh-dialog{width:min(440px,calc(100% - 28px));border:0;border-radius:12px;padding:20px;box-shadow:0 18px 60px #10233f55;color:var(--ink)}.quarter-refresh-dialog::backdrop{background:#10233f66;backdrop-filter:blur(2px)}.quarter-refresh-dialog h2{font-size:19px;margin:0 32px 12px 0}.quarter-refresh-dialog p{line-height:1.45}.quarter-refresh-warning{background:#fff4d8;border:1px solid #f0d28b;border-radius:8px;padding:10px 12px}.quarter-refresh-dialog .dialog-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:22px}.quarter-refresh-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.quarter-refresh-button{width:28px;height:28px;min-height:28px!important;padding:0!important;border-radius:50%;font-size:19px;line-height:1}
.map-left-rail{width:min(320px,calc(100% - 24px))}.map-left-rail>.map-layers,.map-left-rail>.quarter-status{box-sizing:border-box;width:100%}.map-panel-toolbar{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:8px}.panel-collapse-toggle{display:flex;flex:0 0 30px;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:5px}.panel-collapse-toggle svg{width:18px;height:18px;transition:transform .15s ease}.map-layers:not(.collapsed) .panel-collapse-toggle svg,.quarter-status:not(.collapsed) .panel-collapse-toggle svg{transform:rotate(180deg)}.map-layers.collapsed{flex:0 0 auto;width:100%;height:auto;padding:10px 12px}.map-layers.collapsed .map-layers-title{display:block}.map-layers.collapsed .map-layers-title small{display:none}.map-layers.collapsed .map-layers-toolbar{align-items:center;justify-content:space-between}.quarter-status{display:flex;flex-direction:column;width:100%;overflow:hidden}.quarter-status-toolbar{align-items:center}.quarter-status-content{min-height:0;overflow:auto}.quarter-status.collapsed{max-height:none}.quarter-status.collapsed .quarter-status-content{display:none}.registry-map-page .leaflet-top.leaflet-left{left:340px;top:12px}.registry-map-page .leaflet-control-zoom{margin:0}
@media(max-width:900px){.map-searchbar{left:12px;right:12px;top:8px;transform:none;width:auto}.map-left-rail{top:62px;bottom:8px}.map-layers{width:290px}.quarter-status{max-height:35%}.map-details{top:62px;bottom:8px;max-height:none}.registry-map-page .leaflet-control-zoom{display:none}}
@media(max-width:900px){.map-left-rail{width:min(320px,calc(100% - 68px))}.map-layers{width:100%}.registry-map-page .leaflet-top.leaflet-left{left:auto;right:8px;top:62px}.registry-map-page .leaflet-control-zoom{display:block}}
.click-coordinates{display:grid;grid-template-columns:1fr auto;gap:5px 8px;align-items:center;background:#eef5fd;border:1px solid #cddff2;border-radius:7px;padding:8px;margin:8px 0}.click-coordinates strong{grid-column:1/-1;font-size:11px}.click-coordinates code{font-size:12px}.click-coordinates button{min-height:27px;padding:3px 7px;font-size:11px}
.msk-box{margin-top:10px}.msk-toolbar{display:flex;align-items:center;gap:6px}.msk-toolbar #load-crs{flex:1}.msk-copy{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;padding:6px 8px}.msk-copy[hidden]{display:none}.msk-copy svg{width:16px;height:16px}
.map-rr-request{display:grid;gap:5px;margin:10px 0 12px;padding:10px;border:1px solid #cddff2;border-radius:7px;background:#f5f9fe}.map-rr-request button,.map-rr-request .button{width:100%}.map-rr-request small{color:var(--muted);line-height:1.35}
.map-object-vri{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:start;margin:0 0 10px;padding:8px 10px;border:1px solid #cddff2;border-radius:7px;background:#eef5fd}.map-object-vri strong{color:#115ab0}.map-object-vri span{overflow-wrap:anywhere}.map-object-fields>dt,.map-object-fields>dd{padding:4px 0;border-bottom:1px solid #edf0f4}.map-object-fields>dd{white-space:normal;overflow-wrap:anywhere}.nested-fields{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:4px 8px;margin:0}.nested-fields dt{color:var(--muted)}.nested-fields dd{margin:0;overflow-wrap:anywhere}.structured-list{margin:0;padding-left:18px}.technical-fields{margin-top:12px;padding:8px;border:1px solid var(--border);border-radius:6px}.technical-fields .fields{margin-top:8px;font-size:11px}
.map-object-fields{align-content:start}.map-object-fields>dt,.map-object-fields>dd{min-width:0}.map-object-fields>dt{overflow-wrap:anywhere}.nested-fields{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.nested-fields dt{min-width:0;overflow-wrap:anywhere}
.leaflet-tooltip.map-object-label.quarter-label{color:#008f9b!important;font-size:12px!important;font-weight:800;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 0 4px #fff}
.card-map-frame{display:block;width:100%;height:clamp(300px,47vh,460px);border:0;border-radius:6px;background:#e5eaf0}.card-map-controls{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:9px 0;font-size:11px}.card-map-controls label{white-space:nowrap}.card-map-controls input{margin-right:4px}.map-embed .topbar,.map-embed .map-searchbar,.map-embed .map-left-rail,.map-embed .map-message,.map-embed .quarter-refresh-dialog,.map-embed .to-top{display:none!important}.map-embed .page{padding:0}.map-embed .registry-map-page{height:100vh}.map-embed .registry-map-page .leaflet-top.leaflet-left{left:8px;top:8px}.map-embed .registry-map-page .leaflet-control-zoom{display:block;margin:0}
.map-object-choices{display:grid;gap:7px;margin-top:12px}.map-object-choices button{display:flex;width:100%;min-height:48px;align-items:flex-start;flex-direction:column;white-space:normal;text-align:left}.map-object-choices button span{color:var(--muted);font-size:11px}
.map-cache-status{border-top:1px solid var(--border);margin-top:8px!important;padding-top:7px;color:#557086!important}.map-cache-status.stale{color:#a45b12!important;font-weight:650}
.map-layer-head,.map-layer-row{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:6px;align-items:center}.map-layer-head{color:var(--muted);font-size:9px;border-bottom:1px solid var(--border);padding:3px 0}.map-layer-head span:last-child{text-align:center}.map-layer-list .map-layer-row>label{display:flex;align-items:flex-start;padding:4px 0;font-size:12px;min-width:0}.map-layer-row>label>span{line-height:17px}.map-layer-list .map-layer-row>.map-label-cell{justify-content:center}.map-object-label{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:10px!important;font-weight:700;line-height:1.1;white-space:nowrap;text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,0 0 3px #fff}.map-object-label:before{display:none!important}
/* r5: address search + NSPD/OSM location switch */
.search-tabs{display:flex;gap:4px;margin:-3px 0 10px;border-bottom:1px solid var(--border)}
.search-tabs a{padding:7px 12px;color:var(--muted);font-weight:700;border-bottom:2px solid transparent}
.search-tabs a.active{color:var(--blue);border-color:var(--blue)}
.address-search-row input{flex:1;min-width:260px}
.address-hint{margin-top:5px;color:#8795a6;font-size:11px}
.search-meta{margin:-2px 0 12px;font-size:12px}
.address-result-group .heading{justify-content:flex-start}.address-result-group .badge{margin-left:4px}
.address-results td:first-child{width:180px;white-space:nowrap}.address-results td:nth-child(2){width:150px}.address-results td:last-child{width:105px}
.inline-cn-form{display:inline;margin:0}.inline-cn-form .cn{font-weight:700}
.location-switch{display:flex;gap:5px;margin:0 0 8px;flex-wrap:wrap}.location-switch button{font-size:11px;min-height:28px;padding:4px 8px}
.location-switch button.active{background:#dfeeff;border-color:#9bc4ee;color:#115ab0;font-weight:700}
@media(max-width:800px){.address-search-row input{flex-basis:100%;width:100%;min-width:0}.search-tabs a{flex:1;text-align:center}.address-hint{font-size:10px}.address-results td{min-width:120px}}

/* Named object sets */
.create-set-check{margin:0}.set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}.set-card{display:flex;flex-direction:column;gap:7px;color:inherit}.set-card strong{font-size:18px;color:var(--blue)}.set-card small,.set-card span{color:var(--muted)}.set-heading{align-items:flex-start}.set-add textarea{width:100%;min-height:68px}.set-add-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}#set-add-status:not(:empty){margin-top:8px}.set-map-panel{padding-bottom:14px}#set-map,#set-map-shell{height:330px;border-radius:9px;overflow:hidden;background:#eaf0f5;position:relative}#set-map-frame{display:block;width:100%;height:100%;border:0}.set-map-controls{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;padding:9px 11px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.set-map-controls label{display:flex;align-items:center;gap:6px;font-weight:600;cursor:pointer}.set-map-controls input{margin:0}.set-map-empty{position:absolute;z-index:500;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:10px 14px;border-radius:8px;box-shadow:0 4px 20px #0002}.set-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 8px}.set-tabs a{display:flex;justify-content:space-between;gap:8px;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font-weight:700}.set-tabs a.active{color:#fff;background:var(--blue);border-color:var(--blue)}.set-tabs span{opacity:.8}.set-filter{margin-bottom:10px}.set-filter form{display:flex;gap:7px}.set-filter input{flex:1}.set-table td small{display:block;color:var(--muted);margin-top:3px}.set-bulk-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:9px 0 16px}.set-export-actions{display:flex;gap:7px;flex-wrap:wrap}.danger-button{color:#a52d2d!important}.unknown-items{margin-top:14px}.unknown-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}.unknown-item{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;padding:9px 10px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.unknown-item .cn{min-width:0;overflow-wrap:anywhere}.unknown-actions{display:flex;gap:5px}.unknown-actions button{min-height:30px;padding:4px 8px}.unknown-state{grid-column:1/-1;color:var(--muted)}.set-card-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:12px}.set-card-nav>div{display:flex;justify-content:flex-end;gap:7px}.set-card-nav>span{text-align:center;color:var(--muted)}
@media(max-width:800px){.set-tabs{grid-template-columns:1fr}.set-add-actions{align-items:flex-end}.set-card-nav{grid-template-columns:1fr auto}.set-card-nav>span{grid-column:2}.set-card-nav>div{grid-column:1/-1;justify-content:space-between}#set-map,#set-map-shell{height:260px}.set-map-controls{gap:8px 12px}.set-filter form{align-items:stretch}.set-table{min-width:900px}}
