/* Screen palette inspired by the regional arms; the values are design choices, not official colour specifications. */
:root{--kam-azure:#005baa;--kam-deep:#06366a;--kam-red:#c63439;--kam-ink:#172535;--kam-muted:#53667a;--kam-silver:#f2f5f9;--kam-line:#d8e1eb;--portal-shell-height:64px;color:var(--kam-ink);background:var(--kam-silver)}
[hidden]{display:none!important}
.portal-mascot-close{pointer-events:auto}
.tabs .active,.tour-modes .active,.presentation-controls{background:var(--kam-azure);color:white}.tour-modes,.condition-summary span{background:#e7eff9}.tour-modes button,.story-stat b,.price,.story-number{color:var(--kam-deep)}.tour-modes .active{color:white}.muni-card p,.object-card p,.story-panel>p,.story-stat span,.presentation-heading>p,.tour-controls span{color:var(--kam-muted)}.map-stage{background:#e5edf5}.presentation:fullscreen{background:var(--kam-silver)}.portal-edit-link{font-size:12px;margin:8px 0 14px}.operations-editor .filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.operations-editor .filters label{min-width:0}.operations-editor .filters input,.operations-editor .filters select{width:100%}
body{color:var(--kam-ink);background:var(--kam-silver)}a{color:var(--kam-azure)}h1,h2,h3{color:var(--kam-ink)}h1>span{color:var(--kam-red)}.brand{color:var(--kam-deep)}.logo{background:var(--kam-azure)}.logo span{color:#fff}.eyebrow{color:#52677f}.lead,.muted,.source-line,footer{color:var(--kam-muted)}:focus-visible{outline:3px solid var(--kam-azure);outline-offset:3px}.button,.outline{border-color:#b6c9de;color:var(--kam-deep)}.button.primary,.primary{background:var(--kam-azure);color:white;border-color:var(--kam-azure)}.button:hover,.outline:hover{border-color:var(--kam-azure)}.nav.active{border-bottom-color:var(--kam-red);color:var(--kam-deep)}.search{background:#f2f6fb;border-color:var(--kam-line)}label{color:#40566d}input,select,textarea{color:var(--kam-ink);border-color:#b9c9db}.card,.card strong{color:var(--kam-ink)}.card:hover,.card.selected{background:#eaf2fc}.card p,.card small,.intro p,.numbers span{color:var(--kam-muted)}.mini-summary,.compare-result{background:var(--kam-deep);color:white}.mini-summary h2,.mini-summary p,.mini-summary a,.compare-result p{color:white}.report-banner,.coverage-controls,.occupancy-panel{background:#eaf2fc}.passport-map,#map{background:#e5edf5}.trail-stage{background:radial-gradient(ellipse at center,#f7faff,#e3edf7)}.trail-facts span{background:#eaf2fc}.object-card,.workspace,.stats div{border-color:var(--kam-line)}.advanced summary,.filtertop button,#detail a,.detailactions a{color:var(--kam-azure)}.detailactions a{background:#eaf2fc}.notice{background:#fff6e4;color:#6d5017}.source-review{background:#edf4fc}.sport-companion{background:#edf4fc!important}.sport-companion p,.sport-companion span{color:var(--kam-deep)!important}
.portal-shell{display:flex;align-items:center;gap:20px;min-height:64px;padding:10px 28px;background:var(--kam-deep);color:white;font:14px/1.35 Arial,sans-serif;border-bottom:3px solid var(--kam-red)}.portal-shell a{color:white;text-decoration:none}.portal-home-link{display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap}.portal-home-link small{display:block;font-size:8px;letter-spacing:2px;margin-top:4px;color:#d4e5f7}.portal-emblem{display:grid;place-items:center;border:1px solid #9fb8d5;border-radius:9px;width:34px;height:36px;color:#fff;font-size:22px;border-top:3px solid #ed6d70}.portal-shell nav{display:flex;align-items:center;gap:6px;margin:0 0 0 auto;height:auto}.portal-shell nav a,.portal-shell nav button{font:13px Arial,sans-serif;color:white;border:1px solid transparent;background:transparent;border-radius:7px;padding:10px 12px;white-space:nowrap;min-height:40px;cursor:pointer}.portal-shell nav a:hover,.portal-shell nav button:hover{background:#174c82;border-color:#7ca1c8}.portal-shell :focus-visible{outline-color:white}.portal-mode{font-size:11px;border-left:1px solid #54779e;padding-left:18px;color:#d7e6f5;white-space:nowrap}.portal-shell+header{gap:16px}.portal-shell+header nav{flex-wrap:wrap;height:auto;margin-left:0;gap:8px 15px}.portal-directory{width:min(930px,95vw);max-width:930px;max-height:88vh;overflow:auto;padding:30px}.portal-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.portal-directory h3{font-size:15px;border-bottom:3px solid var(--kam-red);padding-bottom:12px}.portal-directory section a{display:block;padding:10px 0;font-size:14px}.portal-directory .close{width:40px;height:40px}.portal-directory::backdrop{background:#10294299}.portal-shell~main:not(.portal-main){scroll-margin-top:15px}
.portal-home main{max-width:1240px;margin:0 auto;padding:38px 28px}.portal-hero{display:grid;grid-template-columns:1.55fr 1fr;gap:32px;padding:8px 0 30px}.portal-hero h1{font-size:clamp(36px,5vw,62px);font-weight:650;letter-spacing:-2px;margin:18px 0}.portal-hero .lead{font-size:19px;line-height:1.6;margin:0 0 20px}.portal-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.portal-actions .button{margin:0;padding:13px 20px;font-size:14px}.portal-hero-note{position:relative;align-self:center;border-left:3px solid var(--kam-red);padding:15px 92px 15px 22px}.portal-hero-note p{font-size:16px;line-height:1.7;margin:10px 0}.portal-kicker{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--kam-azure)}.portal-hero-note>.portal-mascot{position:absolute;right:0;bottom:12px}.portal-mascot{position:relative;display:inline-flex;align-items:center;flex-shrink:0;width:76px;height:90px}.portal-mascot img,.passport-title .portal-mascot img{width:56px;height:70px;object-fit:contain}.portal-mascot button,.portal-mascot-close{position:absolute;right:0;top:0;min-width:32px;height:32px;border:1px solid #c7d5e6;border-radius:50%;background:white;color:var(--kam-deep);font-size:21px;cursor:pointer}.portal-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--kam-line);border-radius:14px;background:white;margin:0 0 26px}.portal-metrics>div{padding:20px 24px;border-right:1px solid var(--kam-line)}.portal-metrics>div:last-child{border:0}.portal-metrics b{display:block;font-size:30px;line-height:1.35;color:var(--kam-deep);font-weight:600;white-space:nowrap}.portal-metrics>div:last-child b{font-size:23px;padding-top:7px}.portal-metrics span{font-size:12px;color:var(--kam-muted)}.portal-search-box{background:white;border:1px solid var(--kam-line);border-radius:14px;padding:22px 24px;margin-bottom:34px}.portal-search-box h2{font-size:21px}.portal-search-box p{font-size:13px;color:var(--kam-muted);margin:5px 0 12px}.portal-search-box input{font-size:16px;background:#f7faff;margin:16px 0 0;padding:15px}.portal-search-box #portalSearchStatus:empty{display:none}.portal-search-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}.portal-search-results:empty{display:none}.portal-search-results a{display:block;text-decoration:none;padding:13px;border:1px solid var(--kam-line);border-radius:8px}.portal-search-results strong,.portal-search-results span{display:block}.portal-search-results strong{font-size:14px}.portal-search-results span{font-size:12px;color:var(--kam-muted);margin-top:5px}.portal-section-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:14px 0}.portal-section-title h2{font-size:23px;margin:0}.portal-section-title a{font-size:13px;white-space:nowrap}.portal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portal-card{display:flex;flex-direction:column;text-decoration:none;background:white;border:1px solid var(--kam-line);border-radius:12px;padding:23px 20px;transition:border-color .15s}.portal-card:hover{border-color:var(--kam-azure)}.portal-card-number{font-size:10px;letter-spacing:1px;color:var(--kam-muted)}.portal-card h3{font-size:21px;line-height:1.3;margin:18px 0 12px;font-weight:600}.portal-card p{font-size:13px;line-height:1.7;margin:0 0 22px;color:var(--kam-muted)}.portal-card-arrow{margin-top:auto;font-size:13px;font-weight:600;color:var(--kam-azure)}.portal-card-featured{background:var(--kam-azure);border-color:var(--kam-azure)}.portal-card-featured h3,.portal-card-featured p,.portal-card-featured span{color:white}.portal-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:40px 0}.portal-paths h2{font-size:17px;border-top:2px solid var(--kam-red);padding-top:16px}.portal-paths a{display:flex;justify-content:space-between;gap:10px;font-size:13px;text-decoration:none;padding:11px 0;border-bottom:1px solid var(--kam-line)}.portal-edit-banner{display:flex;align-items:center;gap:40px;justify-content:space-between;background:#e6effa;border:1px solid #c6d9ee;border-radius:14px;padding:28px}.portal-edit-banner>div{max-width:740px}.portal-edit-banner h2{font-size:24px;margin:9px 0}.portal-edit-banner p{color:var(--kam-muted);font-size:14px;margin:0}.portal-edit-banner .button{white-space:nowrap}.portal-footnote{font-size:11px;line-height:1.6;padding-top:26px}.portal-footnote p{margin:0 0 8px}
/* Compact mascots; hiding is a persistent preference and never hides object data. */
.evrazhka__portrait{width:56px!important;height:70px!important}.evrazhka{right:64px;bottom:28px;color:var(--kam-deep)}.evrazhka__label{padding:7px 10px;background:white;border-color:var(--kam-line)}.evrazhka__label strong,.evrazhka__panel h2{color:var(--kam-deep)}.evrazhka__label small,.evrazhka__panel p{color:var(--kam-muted)}.evrazhka__panel{background:white;border-color:var(--kam-line)}.evrazhka__links a{color:var(--kam-azure);background:#edf4fc;border-color:var(--kam-line)}.evrazhka__dismiss{position:absolute;top:-15px;right:-18px;width:32px;height:32px;border:1px solid #b9ccdf;background:white;color:var(--kam-deep);border-radius:50%;font-size:22px;cursor:pointer}.sport-companion img,.sport-companion--swim img{width:44px!important;height:54px!important}.tour-mascot{position:absolute!important;padding-right:28px}.tour-mascot img{width:62px!important;height:78px!important}.tour-mascot span{font-size:11px}.mascot-hidden .evrazhka,.mascot-hidden .sport-companion,.mascot-hidden .portal-mascot,.mascot-hidden .tour-mascot,.mascot-hidden img[src*="evrazhka"]{display:none!important}.mascot-hidden svg #tourMascot{visibility:hidden}
body:has(#map3d) #map3d{top:calc(72px + var(--portal-shell-height))}body:has(#map3d) .map-panel{top:calc(94px + var(--portal-shell-height));max-height:calc(100vh - 140px - var(--portal-shell-height))}body:has(#map3d) .evrazhka--3d{z-index:4}.map-panel,.workspace p{color:var(--kam-muted)}
/* Shared editing layouts used by the local workspace and hourly editor. */
.workspace-grid,.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workspace-grid label,.editor-grid label{display:block}.workspace-grid .full,.editor-grid .full{grid-column:1/-1}.workspace-actions,.editor-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}.workspace-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workspace-links a{display:block;padding:18px;border:1px solid var(--kam-line);border-radius:10px;background:white;text-decoration:none}.workspace-links strong,.workspace-links span{display:block}.workspace-links span{font-size:12px;color:var(--kam-muted);margin-top:7px}.workspace-status{padding:12px;border-radius:8px;background:#edf4fc;font-size:13px}.workspace-status:empty{display:none}.workspace-preview{background:#f4f8fd;border:1px solid var(--kam-line);padding:18px;border-radius:9px}.ops-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ops-editor-grid label{display:block}.ops-editor-grid input,.ops-editor-grid select{width:100%}.ops-editor-grid .ops-wide{grid-column:1/-1}form[aria-label] p{line-height:1.6}
@media(max-width:1100px){.portal-mode{display:none}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-hero{grid-template-columns:1.4fr 1fr}.portal-hero-note{padding-right:65px}.portal-hero-note p{font-size:14px}.portal-metrics>div{padding:18px}.workspace-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.portal-shell{padding:10px 14px;gap:10px;flex-wrap:wrap}.portal-shell nav{width:100%;justify-content:space-between;gap:0}.portal-shell nav a,.portal-shell nav button{padding:9px 7px;font-size:12px}.portal-home-link{font-size:14px}.portal-emblem{width:28px;height:30px}.portal-home main{padding:24px 16px}.portal-hero{grid-template-columns:1fr;gap:10px;padding-bottom:20px}.portal-hero h1{font-size:39px;letter-spacing:-1.5px}.portal-hero .lead{font-size:16px}.portal-hero-note{padding:9px 80px 9px 17px}.portal-hero-note p{margin:8px 0}.portal-hero-note .portal-mascot{bottom:0}.portal-metrics{grid-template-columns:1fr 1fr}.portal-metrics>div:nth-child(2){border-right:0}.portal-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--kam-line)}.portal-metrics b{font-size:28px}.portal-metrics>div:last-child b{font-size:20px}.portal-search-box{padding:18px}.portal-search-results,.portal-grid,.portal-paths,.portal-directory-grid,.workspace-grid,.editor-grid,.ops-editor-grid{grid-template-columns:1fr}.portal-section-title{align-items:start;flex-direction:column}.portal-section-title h2{font-size:22px}.portal-card{padding:20px}.portal-card h3{margin:12px 0 10px}.portal-paths{gap:20px;margin:26px 0}.portal-edit-banner{padding:22px;flex-direction:column;align-items:start;gap:12px}.portal-directory{padding:24px 20px}.portal-directory-grid{gap:12px}.portal-mascot{width:68px}.workspace-links{grid-template-columns:1fr}.evrazhka{right:18px;bottom:148px}.evrazhka__panel{max-width:calc(100vw - 64px)}body:has(#map3d) #map3d{top:calc(62px + var(--portal-shell-height))}body:has(#map3d) .map-panel{top:auto;bottom:30px;max-height:40vh}body:has(#map3d) .evrazhka--3d{top:calc(80px + var(--portal-shell-height))}}
@media(prefers-reduced-motion:reduce){.portal-card{transition:none}}
@media print{.portal-shell,.portal-directory,.portal-mascot,.portal-mascot-close,.evrazhka,.portal-actions{display:none!important}.portal-home main{padding:0}.portal-grid{grid-template-columns:1fr 1fr}.portal-card{break-inside:avoid}.portal-card-featured{background:white;color:black}.portal-card-featured h3,.portal-card-featured p,.portal-card-featured span{color:black}}

/* The map is the main workspace, with a compact heading and persistent load key. */
.map-first .map-heading{height:48px;padding:0 24px;gap:22px}.map-first .map-heading>.brand{display:none}.map-first .map-heading nav{height:48px;gap:20px}.map-first .map-section-link{font-size:12px;text-decoration:none}.map-first #about{margin-left:auto;padding:7px 12px;font-size:12px}.map-first .intro{padding:13px 24px;gap:22px}.map-first h1{font-size:26px;margin:0 0 6px;letter-spacing:-.7px}.map-first .intro p{font-size:11px}.map-first .numbers{gap:24px}.map-first .numbers div{gap:3px}.map-first .numbers strong{font-size:27px;color:var(--kam-deep)}.map-first .numbers span{font-size:10px}.map-first>main{margin:0 16px 12px;height:calc(100dvh - 200px);min-height:420px;border-color:var(--kam-line)}.map-first aside{width:300px;padding:15px}.map-first .filtertop{margin:14px 0 8px}.map-first .object-filters{padding:5px 0 12px;border-color:var(--kam-line)}.map-first .object-filters>summary{color:var(--kam-azure);font-size:12px;padding:7px 0}.map-first .object-filters[open]>summary{margin-bottom:12px}.map-first #results{min-height:120px}.map-first .sidebarfoot{font-size:10px}.map-first .maparea{display:flex;flex-direction:column}.map-first #map{flex:1;min-height:260px;height:auto}.map-first .timebar{position:relative;inset:auto;z-index:510;border:0;border-bottom:1px solid var(--kam-line);border-radius:0;box-shadow:none;gap:8px;padding:8px 14px;flex-shrink:0}.map-first .timebar>label{font-size:11px;white-space:nowrap}.map-first .timebar>select{width:110px;font-size:12px}.map-first .timebar>a{display:none}.map-first .timebar .ops-controls{width:auto;padding:0;border:0;gap:8px}.map-first .ops-controls input{max-width:125px}.map-first .ops-controls a{font-size:11px}.map-first .mapbar{top:116px;left:12px;right:12px;pointer-events:none;align-items:start}.map-first .mapbar>*{pointer-events:auto}.map-first .legend{padding:8px 10px;font-size:10px}.map-first #fit{font-size:10px;padding:8px 10px;color:var(--kam-deep)}.map-first .mapnote{bottom:24px;left:12px;padding:10px 12px;border:1px solid var(--kam-line);background:#fffffff2;max-width:330px}.map-first .load-legend span{color:var(--kam-muted)}.map-first #detail{top:110px;bottom:12px;right:12px;width:min(430px,calc(100% - 24px));padding:22px}.map-first .evrazhka{right:65px;bottom:27px}.map-first .evrazhka__label{display:none}.map-first .evrazhka__portrait{width:45px!important;height:57px!important}.map-first .evrazhka__dismiss{width:30px;height:30px;right:-13px;top:-18px}.map-first .evrazhka__panel{bottom:80px}.map-first #mapError{bottom:160px;font-size:11px}.map-quick{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#f6f9fd;border-bottom:1px solid var(--kam-line);flex-shrink:0;flex-wrap:wrap}.map-quick button{border:1px solid #c8d7e7;border-radius:6px;padding:6px 10px;background:white;color:var(--kam-deep);font-size:11px;min-height:32px}.map-quick button:hover{background:#e4eefb;border-color:var(--kam-azure)}.map-offline-label{font-size:10px;color:var(--kam-muted);margin-left:auto}.map-first .map-heading .nav,.map-first #reset{color:var(--kam-deep)}.research-shortcuts a,.timebar a,.route-button,.route-button[aria-pressed=true]{color:var(--kam-deep)}.route-button[aria-pressed=true]{border-color:var(--kam-azure);background:#eaf2fc}.route-facts span,.document-supplement,.profile-chart{background:#eaf2fc}.timebar select:disabled,.timebar input:disabled{opacity:.55}.portal-directory a:focus-visible{background:#eaf2fc}.portal-directory section a{min-height:40px}
@media(max-width:1100px){.map-first .map-section-link{display:none}.map-first aside{width:270px}.map-first .timebar .ops-controls{width:100%;padding-top:5px}.map-first .mapbar{top:148px}.map-first #detail{top:140px}}
@media(max-width:760px){.map-first .portal-shell{min-height:0;padding:8px 12px;gap:5px}.map-first .portal-home-link{font-size:12px}.map-first .portal-home-link small{font-size:7px}.map-first .portal-shell nav{order:0;height:auto;padding:0;gap:1px}.map-first .portal-shell nav button,.map-first .portal-shell nav a{min-height:35px;padding:7px 5px;font-size:11px}.map-first .map-heading{min-height:40px;height:40px;padding:0 12px;gap:6px;flex-wrap:nowrap}.map-first .map-heading nav{order:0;width:auto;height:40px;padding:0;gap:12px;flex:1;flex-wrap:nowrap}.map-first .map-heading .nav{font-size:11px}.map-first #about{font-size:10px;padding:6px;white-space:nowrap}.map-first .intro{padding:10px 14px}.map-first h1{font-size:21px;margin:0}.map-first .intro p{display:none}.map-first>main{display:flex;margin:0 8px 10px;height:auto;min-height:0}.map-first .maparea{order:0;flex:none;height:570px;min-height:570px}.map-first aside{order:1;width:100%;border-top:1px solid var(--kam-line)}.map-first .timebar{padding:7px 10px;gap:6px}.map-first .timebar>label{display:block}.map-first .timebar .ops-controls{gap:5px;align-items:center}.map-first .ops-controls label{display:flex;font-size:10px}.map-first .ops-controls select{width:122px;font-size:10px}.map-first .ops-controls input{max-width:111px;font-size:10px}.map-first .ops-controls a{font-size:10px}.map-first .mapbar{top:148px}.map-first .map-quick{gap:4px;padding:6px 9px}.map-first .map-quick button{font-size:10px;padding:5px 8px}.map-first .map-offline-label{width:100%;margin:0}.map-first:has(.map-offline-label) .mapbar{top:164px}.map-first .mapnote{left:9px;bottom:25px;max-width:calc(100% - 65px);padding:8px;font-size:10px}.map-first .load-scale-key{gap:3px 8px;font-size:10px}.map-first #detail{top:140px;bottom:10px;left:9px;right:9px;width:auto;padding:18px}.map-first .evrazhka{right:58px;bottom:163px}.map-first #tableView{padding:16px}.map-first .tablehead{gap:10px}.map-first .tablehead h2{font-size:17px}.map-first .map-heading .nav.admin-link{display:none}.map-first .object-filters{margin:4px 0}.map-first #results{max-height:300px}.map-first .evrazhka__panel{right:-45px;bottom:70px;width:260px;max-width:calc(100vw - 40px)}}

.sport-companion{position:relative;padding-right:42px!important}.sport-companion .portal-mascot-close{right:7px;top:7px}.portal-directory>.close{position:sticky;top:0;float:right;z-index:2}

.map-overview .load-marker{transform:scale(.68);transform-origin:20px 20px}.map-first .maparea .leaflet-container{background:#c8e1eb}
.map-first #map{background:#c8e1eb}
