:root{--green:#28665b;--ink:#1c2030;--muted:#858793;--border:#e8eaed;--soft:#edf4f2}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:14px/1.55 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button,select{background:#fff;border:1px solid var(--border);border-radius:7px;padding:9px 13px;color:var(--ink)}button:hover,a.outline:hover{background:var(--soft)}:focus-visible{outline:2px solid #168b99;outline-offset:3px}h1{font-size:32px;line-height:1.25;letter-spacing:-.8px;margin:0 0 20px;font-weight:600}h2{font-size:22px;font-weight:600;margin:12px 0}h3{font-size:19px}h4{font-size:12px;font-weight:600;margin:21px 0 7px}p{margin:8px 0 18px}small{font-size:11px}.muted{color:#7f818d;font-size:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:254px;border-right:1px solid var(--border);background:#fcfcfc;display:flex;flex-direction:column;padding:22px 16px;z-index:1100}.brand{display:flex;align-items:center;gap:10px;margin-bottom:32px;font-size:16px;font-weight:600}.brand svg{width:41px;fill:none;stroke:var(--green);stroke-width:2.2}.brand small{display:block;color:var(--muted);font-weight:400}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:14px;padding:12px;border-radius:8px;font-size:13px}.sidebar nav a>span{font-size:22px;width:22px;text-align:center;line-height:1}.sidebar nav a.active{color:var(--green);background:#eaf0ee}.sidebar-bottom{margin-top:auto;padding-top:25px;color:var(--muted)}.language{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:8px;padding:13px;font-size:12px}.language span{flex:1}.language b{font-size:11px;color:var(--ink);font-weight:400}.quote{border:1px solid var(--border);border-radius:9px;margin:25px 0 16px;padding:18px 18px 0;overflow:hidden}.quote>span{font:46px Georgia;color:#ccddd7;line-height:1}.quote p{font-size:11px}.quote svg{display:block;width:calc(100% + 36px);margin:32px -18px 0;fill:#f3f7f6;stroke:#dce9e5;stroke-width:1.5}.workspace{margin-left:254px}.topbar{height:68px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:25px;background:#fff}.search{border:1px solid #dfe3e8;border-radius:8px;display:flex;align-items:center;gap:12px;padding:8px 15px;background:#fff}.search>span{font-size:25px;line-height:1;color:var(--muted)}.search input{width:100%;border:0;outline:none;background:transparent;min-width:0;padding:4px 0;color:var(--ink)}.search input::placeholder{color:#8a8c96}.topbar .search{width:500px;max-width:65%}.search kbd{font:11px 'Segoe UI';color:var(--muted);white-space:nowrap}.top-actions{display:flex;align-items:center;gap:17px}.primary{display:inline-flex;align-items:center;gap:9px;background:var(--green);color:#fff;border-radius:8px;padding:9px 15px;font-size:12px}.icon-button{border:0;background:transparent;padding:3px 5px;font-size:22px;line-height:1.2;color:#6c7380}.page{padding:36px;max-width:1600px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1.18fr;gap:32px;align-items:center}.hero h1{font-size:31px}.lead{color:#878994;font-size:14px;line-height:1.65}.hero-search{margin:24px 0 20px;padding:12px 15px}.popular{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.popular small{color:var(--muted);margin-right:12px}.popular button{font-size:11px;padding:3px 8px;white-space:nowrap}.preview-map{height:285px;position:relative;border-radius:11px;overflow:hidden;background:#edf1e9}.map-canvas{position:absolute;inset:0;background-image:url('assets/reference-map.png');background-size:cover;background-position:center}.mini-layers{position:absolute;z-index:500;right:14px;top:14px;background:#fff;border-radius:8px;padding:13px;font-size:11px;box-shadow:0 3px 15px #1d342315}.mini-layers p{margin:9px 0}.map-link{position:absolute;z-index:500;bottom:18px;left:18px;background:#fff;padding:13px 17px;border-radius:7px;color:var(--green);font-size:12px;box-shadow:0 2px 8px #0001}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin:27px 0 24px;border:1px solid var(--border);border-radius:9px;padding:18px}.stats>div{display:flex;align-items:center;gap:22px}.stats>div>span{font-size:27px;color:var(--green)}.stats strong{font-size:18px;font-weight:500;display:block}.stats small{color:var(--muted)}.dashboard{display:grid;grid-template-columns:.72fr 1.16fr 1.08fr;gap:18px}.panel{border:1px solid var(--border);border-radius:9px;background:#fff}.dashboard>.panel{padding:18px;display:flex;flex-direction:column;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:15px;gap:8px}.panel-heading a{font-size:11px;font-weight:400;color:var(--green)}.tag,.tags span{display:inline-block;border-radius:4px;background:#edf5f3;padding:3px 8px;font-size:10px;color:var(--green)}.metadata{border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;padding:17px 0;font-size:11px}.metadata small{display:block;color:var(--muted);margin-bottom:7px;font-size:10px}.wide{display:flex;width:100%;align-items:center;justify-content:center;gap:12px}.soft{background:#fafafa;border:1px solid var(--border);padding:9px 15px;border-radius:6px;color:var(--green);font-size:12px}.soft span{margin-left:auto;font-size:22px;line-height:1}.featured .soft,.legends .soft{margin-top:auto}.outline{border:1px solid #8db4ac;border-radius:6px;color:var(--green);padding:9px 16px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.chips{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}.chips span{border:1px solid var(--border);border-radius:5px;padding:3px 7px;font-size:10px}.chips .active{color:#fff;background:var(--green)}.legend-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:8px 0}.legend-row b{font-size:11px;font-weight:500}.legend-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.legend-row>span{margin-left:auto;color:var(--muted)}.landscape{background-image:url('assets/reference-portal.png');background-size:1536px 1024px;background-position:-1104px -586px;border-radius:7px;background-repeat:no-repeat;background-color:#dce7e4}.legend-row .landscape{width:58px;height:49px;flex-shrink:0;background-size:768px 512px;background-position:-552px -295px}.photo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;flex:1}.photo-grid .landscape{grid-column:span 2;min-height:120px}.photo-grid .landscape:nth-child(-n+2){grid-column:span 3;min-height:182px}.photo-1{background-position:-1334px -586px}.photo-2{background-position:-1104px -780px}.photo-3{background-position:-1236px -780px}.photo-4{background-position:-1366px -780px}.gallery>small{margin-top:7px;font-size:9px}.about-strip{display:flex;align-items:center;gap:16px;background:var(--soft);border-radius:8px;padding:14px 18px;margin-top:20px;color:var(--green);font-size:11px}.about-strip span{flex:1}.demo-note{font-size:10px;color:var(--muted);margin-top:16px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:24px}.catalog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.catalog-heading h1{margin-bottom:12px}.small-stats{display:flex;gap:16px}.small-stats>div{border:1px solid var(--border);border-radius:7px;min-width:135px;padding:12px 16px;color:var(--green);font-size:23px}.small-stats b{font-size:18px;color:var(--ink);font-weight:500;margin-left:12px}.small-stats small{display:block;color:var(--muted);font-size:10px;margin-left:33px}.catalog-search{max-width:410px;margin:7px 0 16px}.filters{display:flex;align-items:center;gap:9px;margin-bottom:22px;flex-wrap:wrap}.filters select,.filters button{font-size:11px}.saved-filter{font-size:11px;display:flex;gap:6px;align-items:center}.view-actions{display:flex;gap:5px;margin-left:auto}.view-actions button:last-child{margin-left:16px}.view-actions .active{background:var(--soft);color:var(--green)}.catalog-layout{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(290px,1fr);gap:15px;align-items:start}.table-panel{overflow:hidden}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-weight:400;color:var(--muted);font-size:11px;padding:16px 13px}td{padding:14px 13px;border-top:1px solid var(--border);font-size:11px;color:#636675}td:first-child{color:var(--ink);font-size:13px;min-width:130px}td button{border:0;background:transparent;padding:0;text-align:left;color:inherit}td:last-child button{font-size:25px;line-height:1}.selected{background:#edf3f1}.type-icon{color:var(--green);margin-right:10px;font-size:18px}.table-footer{padding:20px 13px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.page-number{background:var(--green);color:white;padding:5px 11px;border-radius:4px}.detail-panel{padding:16px}.detail-title{display:flex;gap:8px;align-items:center}.detail-title h2{margin:0;flex:1}.detail-title .favorite{font-size:20px}.tags{display:flex;gap:8px;margin:15px 0}.detail-panel>.landscape{height:135px;background-position:-1104px -586px}.tabs{display:flex;border-bottom:1px solid var(--border);justify-content:space-between;margin-top:9px}.tabs button{border:0;border-radius:0;padding:11px 4px;font-size:10px;color:var(--muted)}.tabs button.active{color:var(--green);border-bottom:2px solid var(--green)}.detail-body p{font-size:11px;color:#797c86}.detail-body .wide{margin-top:10px}.object-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:15px}.object-card{text-align:left;padding:20px}.object-card small{color:var(--muted)}.empty{padding:45px 20px;color:var(--muted)}.full-map{height:calc(100dvh - 68px);min-height:670px;position:relative;background:#eaf0e5;overflow:hidden}.map-breadcrumb,.map-filters,.layer-panel,.map-detail,#map-status{position:absolute;z-index:500}.map-breadcrumb{left:20px;top:20px;background:#fff;padding:12px 16px;box-shadow:0 2px 8px #0001;border-radius:7px;font-size:12px}.map-filters{left:20px;top:77px;display:flex;align-items:center;gap:12px}.layer-panel{right:20px;top:20px;width:248px;padding:18px;box-shadow:0 4px 20px #0001;font-size:12px}.layer-panel label{display:flex;gap:9px;align-items:center;margin:19px 0 10px}.layer-panel input{accent-color:var(--green)}.layer-legend{padding-left:30px;font-size:10px}.layer-legend p{margin:11px 0;display:flex;align-items:center;gap:12px}.dot{width:9px;height:9px;display:inline-block;border-radius:50%;background:var(--green)}.blue{background:#27a7ba}.purple{background:#424d78}.line,.dash{display:inline-block;width:18px;border-top:2px solid #378569}.dash{border-top:2px dashed #995bc3}.layer-panel hr{border:0;border-top:1px solid var(--border);margin-top:25px}.layer-panel input[type=range]{width:100%;margin:8px 0}.map-detail{bottom:25px;left:20px;right:300px;padding:22px;display:grid;grid-template-columns:220px 1fr 1fr;gap:22px;box-shadow:0 4px 25px #0001}.map-detail>.landscape{min-height:195px}.map-detail p{font-size:11px;margin:10px 0}.map-detail .outline{margin-top:20px}.map-description{border-left:1px solid var(--border);padding-left:20px;font-size:11px}.map-description h4:first-child{margin-top:0}#map-status{bottom:4px;left:20px;font-size:10px;background:#fff;color:var(--green)}.full-map .leaflet-control-zoom{margin-top:150px;margin-left:20px}.information{padding:30px;max-width:1000px}.information .lead{max-width:800px}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.media-grid .landscape{height:185px}[hidden]{display:none!important}
@media(min-width:1600px){.page{padding-top:45px}.hero h1{font-size:36px}.preview-map{height:330px}.dashboard>.panel{min-height:385px}}@media(max-width:1250px){.sidebar{width:220px}.workspace{margin-left:220px}.page{padding:25px}.hero h1{font-size:26px}.hero{gap:20px}.dashboard{grid-template-columns:.8fr 1.1fr}.gallery{grid-column:1/-1}.photo-grid .landscape{min-height:145px!important;grid-column:auto!important}.photo-grid{grid-template-columns:repeat(5,1fr)}.small-stats{gap:6px}.small-stats>div{min-width:100px;padding:10px}.catalog-heading{align-items:start}.map-detail{right:285px;grid-template-columns:130px 1fr}.map-description{display:none}.map-detail>.landscape{min-height:160px}.small-stats>div:last-child{display:none}}@media(max-width:950px){.sidebar{width:185px;padding:18px 10px}.workspace{margin-left:185px}.brand{font-size:13px}.brand svg{width:30px}.sidebar nav a{font-size:11px;gap:9px}.quote{display:none}.topbar{padding:0 20px}.hero{grid-template-columns:1fr}.hero h1{font-size:30px}.preview-map{height:270px}.stats{gap:15px;grid-template-columns:repeat(2,1fr)}.catalog-layout{grid-template-columns:1fr}.detail-panel{max-width:none}.detail-panel>.landscape{height:200px}.catalog-heading{display:block}.small-stats{margin:15px 0}.map-detail{right:20px;bottom:20px}.layer-panel{width:210px}.full-map{min-height:720px}.about-strip{flex-wrap:wrap}}@media(max-width:650px){.sidebar{position:relative;width:100%;padding:13px;border-right:0;border-bottom:1px solid var(--border)}.brand{margin-bottom:12px;font-size:15px}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav a{white-space:nowrap;font-size:11px;padding:9px}.sidebar nav a>span{font-size:16px;width:auto}.sidebar-bottom{display:none}.workspace{margin-left:0}.topbar{height:60px;padding:0 14px;gap:10px}.topbar .search{max-width:none;width:100%}.search kbd{display:none}.top-actions{gap:5px}.top-actions .primary{white-space:nowrap;padding:9px}.top-actions .primary span{display:none}.page{padding:23px 16px}.hero h1{font-size:26px}.hero .lead br{display:none}.dashboard{grid-template-columns:1fr}.gallery{grid-column:auto}.photo-grid{grid-template-columns:repeat(6,1fr)}.photo-grid .landscape{grid-column:span 2!important}.photo-grid .landscape:nth-child(-n+2){grid-column:span 3!important}.stats{padding:15px}.stats>div{gap:10px}.stats small{font-size:9px}.about-strip span{flex-basis:85%}.full-map{height:calc(100dvh - 190px);min-height:680px}.layer-panel{top:120px;right:10px;width:175px;padding:12px;font-size:11px}.layer-legend{padding-left:15px}.map-breadcrumb{left:10px;font-size:10px}.map-filters{left:10px;gap:5px}.map-filters .tag{font-size:8px}.map-detail{left:10px;right:10px;bottom:15px;padding:14px;gap:14px;grid-template-columns:90px 1fr}.map-detail>.landscape{min-height:160px;background-size:768px 512px;background-position:-552px -293px}.map-detail h2{font-size:20px}.map-detail .outline{font-size:10px;padding:8px}.media-grid{grid-template-columns:1fr 1fr}.filters{gap:7px}.view-actions{margin-left:0}.information{padding:20px}.object-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Reference images are clipped by SVG viewBox, so surrounding interface never appears. */
.landscape{background-image:none;overflow:hidden}.landscape svg{display:block;width:100%;height:100%}.photo-grid{flex:none;grid-template-rows:185px 126px}.photo-grid .landscape,.photo-grid .landscape:nth-child(-n+2){min-height:0}.featured>h2{margin:0 0 5px}.featured>p{margin:5px 0 12px}.featured h4{margin:15px 0 6px}.featured>.tag{align-self:start}.dashboard>.panel{min-height:385px}.map-canvas{background-image:none;background:#e8efe7}.map-canvas>.reference-map{width:100%;height:100%;display:block}.preview-map:has(.reference-map)::after{content:'Карта из дизайн-референса · подключение…';position:absolute;z-index:500;bottom:2px;left:15px;font-size:9px;background:#fff9;color:#577167}.legend-row .landscape{height:49px}.map-detail .landscape{height:195px}.media-grid .landscape{height:185px}@media(max-width:1250px) and (min-width:651px){.photo-grid{grid-template-rows:145px}}@media(max-width:650px){.photo-grid{grid-template-rows:170px 126px}.map-detail .landscape{height:160px}}
.ui-icon{width:22px;height:22px;flex-shrink:0}.sidebar nav a{gap:14px}.sidebar nav a .ui-icon{width:20px;height:20px}.preview-map:has(.reference-map)::after{content:'Иллюстрация из дизайн-референса'}

/* Public portal surfaces and accessible content states. */
body { background: #f7f9f8; }
.topbar { background: #ffffffed; }
.sidebar { background: #fcfdfc; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 3000; background: #28665b; color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; font-size: 10px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; color: #6a8879; margin-bottom: 10px; }
.sidebar-note { padding: 20px 15px 0; margin: 25px 0; border: 1px solid #e4ece7; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg,#f0f6f2,#fafcfb); }
.sidebar-note p { font-size: 14px; line-height: 1.7; color: #47685a; }
.sidebar-note svg { width: 100%; height: 65px; fill: none; stroke: #b5ccc0; stroke-width: 1.5; }
.language { padding: 10px; gap: 6px; }
.language label { flex: 1; font-size: 11px; }
.language select { padding: 4px; border: 0; background: transparent; font-size: 12px; }
.language-submit { padding: 4px 7px; border: 0; background: transparent; }
.editor-link { display: block; margin-bottom: 16px; font-size: 12px; color: #28665b; }
.page { max-width: 1600px; margin: 0 auto; padding: 34px 36px; }
.hero { gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(30px,2.5vw,44px); line-height: 1.18; letter-spacing: -1.3px; margin: 15px 0 20px; max-width: 570px; }
.hero .lead { max-width: 540px; }
.hero-search { margin-top: 25px; gap: 10px; padding: 6px 6px 6px 16px; background: white; }
.hero-search .primary { padding: 10px 15px; }
.text-link { display: inline-flex; gap: 20px; margin-top: 20px; color: #28665b; font-size: 13px; font-weight: 600; }
.preview-map { border-radius: 18px; height: 340px; overflow: hidden; border: 1px solid #dce8df; }
.region-art { width: 100%; height: 100%; }
.preview-caption { position: absolute; z-index: 500; left: 20px; bottom: 20px; background: linear-gradient(90deg,rgba(16,39,34,.91),rgba(16,39,34,.55)),url('https://upload.wikimedia.org/wikipedia/commons/6/63/%D0%A3%D1%81%D1%82%D1%8C-%D0%9A%D0%B0%D0%BC%D0%B5%D0%BD%D0%BE%D0%B3%D0%BE%D1%80%D1%81%D0%BA%2C_%D0%BD%D0%B0%D0%B1%D0%B5%D1%80%D0%B5%D0%B6%D0%BD%D0%B0%D1%8F_%D0%98%D1%80%D1%82%D1%8B%D1%88%D0%B0%2C_20241003_01.jpg') center 55%/cover; border-radius: 12px; padding: 16px; width: 290px; color: #fff; box-shadow: 0 5px 20px #14261e40; }
.preview-caption .eyebrow { margin: 0 0 4px; }
.preview-caption strong { display: block; margin-bottom: 8px; color: #fff; }
.preview-caption small { display: block; color: #e4ede9; font-size: 9px; }
.preview-caption a { text-decoration: underline; text-underline-offset: 2px; }
.home #mini-map .leaflet-tile-pane { filter: brightness(.62) saturate(.72) contrast(.94) sepia(.08); }
.region-photo-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 8px 0 26px; }
.region-photo-card { position: relative; min-width: 0; height: 230px; margin: 0; overflow: hidden; border-radius: 13px; background: #dce5dc; }
.region-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.region-photo-card:hover img { transform: scale(1.035); }
.region-photo-card figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 4px; padding: 28px 16px 13px; color: white; background: linear-gradient(transparent,rgba(14,31,26,.86)); }
.region-photo-card figcaption strong { font-size: 17px; }
.region-photo-card figcaption small { color: #e6eee9; font-size: 9px; }
.region-photo-card figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.stats { background: white; margin: 28px 0; border-radius: 14px; border: 1px solid #e3ebe5; padding: 22px; }
.stats strong { color: #234d3d; }
.public-dashboard { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.public-dashboard > .panel { border-radius: 14px; padding: 24px; min-height: 310px; }
.public-dashboard .featured { display: flex; flex-direction: column; }
.public-dashboard .featured h2 { margin: 12px 0; }
.public-dashboard .featured > .tag { margin-top: 20px; }
.public-dashboard .featured > p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.public-dashboard .soft { margin-top: auto; }
.home-discover { display: flex; flex-direction: column; background: linear-gradient(145deg,#e9f2ed,#f8fbf9); }
.home-discover h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.6px; }
.home-discover p { color: #617b6e; font-size: 13px; line-height: 1.8; }
.research-discover { background: linear-gradient(145deg,#edf0f7,#f9fafc); }
.research-discover .eyebrow { color: #7c83a0; }
.about-strip { margin-top: 26px; border-radius: 12px; background: #eaf2ed; }
.catalog-heading h1 { margin: 8px 0 12px; }
.catalog-total { background: white; border: 1px solid #e1eae4; border-radius: 14px; min-width: 125px; padding: 17px 22px; display: flex; flex-direction: column; }
.catalog-total strong { font-size: 32px; line-height: 1.2; color: #28665b; }
.catalog-total span { font-size: 12px; color: #6d8277; }
.catalog-search { background: white; margin-top: 20px; }
.catalog-layout { gap: 20px; align-items: start; }
.table-panel,.detail-panel { border-radius: 14px; }
.detail-panel { padding: 22px; position: sticky; top: 20px; }
.detail-title h2 { overflow-wrap: anywhere; }
.object-card { background: #fff; border-color: #e0e9e3; border-radius: 12px; padding: 22px; transition: border-color .15s, box-shadow .15s; }
.object-card:hover { border-color: #8db3a0; box-shadow: 0 5px 18px #234d3d0d; }
.object-card.selected { background: #f0f7f3; border-color: #75a08b; }
.object-status { display: block; font-size: 10px; color: #7c877f; margin-top: 10px; }
td .object-status { margin: 0; }
.table-footer { flex-wrap: wrap; gap: 10px; }
#catalog-pagination,.record-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; }
#catalog-pagination button { padding: 5px 10px; }
.record-pagination { margin-top: 26px; }
.empty { text-align: center; padding: 48px 24px; color: #75867c; }
.empty h3,.empty h2 { color: #385749; margin: 12px 0; }
.empty p { max-width: 420px; margin: 0 auto 20px; font-size: 13px; }
.empty-symbol { display: inline-grid; place-items: center; width: 60px; height: 60px; background: #edf4ef; color: #67907c; font-size: 28px; border-radius: 18px; }
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
[aria-busy=true] { opacity: .5; }
.retry-button { display: block; margin: 0 auto 24px; }
.section-intro { max-width: 720px; margin-bottom: 30px; }
.publication-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.publication-card { border-radius: 14px; padding: 26px; background: #fff; min-width: 0; }
.publication-card h2 { font-size: 22px; margin: 10px 0 18px; }
.publication-text { font-size: 14px; line-height: 1.85; color: #5c7165; margin-top: 18px; }
.publication-source { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5ece7; font-size: 12px; color: #718378; }
.publication-source p { margin: 6px 0; }
.publication-source a { color: #28665b; }
.publication-empty { grid-column: 1/-1; min-height: 340px; }
.publication-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.publication-card audio,.publication-card video { width: 100%; }
.media-credits { font-size: 12px; margin-top: 20px; }
.media-credits > div { display: flex; gap: 15px; margin-top: 8px; }
.media-credits dt { min-width: 110px; color: #7c8a82; }
.media-credits dd { margin: 0; color: #456350; }
.about-content { max-width: 1100px; border-radius: 16px; padding: 36px; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.about-columns p,.editorial-note p { font-size: 14px; line-height: 1.85; color: #6a7f72; }
.editorial-note { padding: 20px; background: #f0f6f2; border-radius: 12px; margin-bottom: 25px; }
@media(max-width:1250px) { .public-dashboard { grid-template-columns: 1fr 1fr; } .public-dashboard > :last-child { grid-column: 1/-1; min-height: 220px; } }
@media(max-width:950px) { .page { padding: 26px; } .hero { grid-template-columns: 1fr; } .hero h1 { max-width: 700px; } .detail-panel { position: static; } .publication-grid { grid-template-columns: 1fr; } }
@media(max-width:650px) { .page { padding: 24px 16px; } .hero { gap: 24px; } .hero h1 { font-size: 33px; } .preview-map { height: 270px; } .preview-caption { bottom: 15px; left: 15px; width: min(290px,calc(100% - 30px)); padding: 12px; } .region-photo-gallery { grid-template-columns: 1fr; gap: 12px; } .region-photo-card { height: 220px; } .public-dashboard { grid-template-columns: 1fr; } .public-dashboard > :last-child { grid-column: auto; } .catalog-total { display: none; } .about-columns { grid-template-columns: 1fr; gap: 12px; } .about-content { padding: 22px; } .publication-card { padding: 22px; } .hero-search { width: 100%; } .hero-search input { min-width: 0; } .table-footer { justify-content: center; } }
.mobile-language { display: none; }
@media(max-width:650px) { .mobile-language { display: block; } .mobile-language select { border: 0; background: transparent; font-size: 11px; padding: 7px 2px; width: 42px; } .top-actions .primary > [aria-hidden] { display: inline; } .top-actions .icon-button { padding: 6px; } .topbar .search { min-width: 0; } .topbar .search input { min-width: 0; } }
.media-image-link { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 11px; background: linear-gradient(150deg,#e7eee8,#d5e2dc); }
.media-fallback { display: grid; place-items: center; position: absolute; inset: 0; font-size: 48px; color: #89a699; }
.media-image-link .publication-image { position: relative; display: block; height: 100%; }
.publication-source { overflow-wrap: anywhere; }
.project-outputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin: 20px 0 30px; }
.project-outputs article { padding: 18px; background: #f4f7f5; border: 1px solid #e4ece6; border-radius: 10px; }
.project-outputs h4 { margin-top: 0; font-size: 14px; }
.project-outputs p { font-size: 12px; color: #708176; margin: 0; line-height: 1.7; }
@media(max-width:650px) { .project-outputs { grid-template-columns: 1fr; } }
.content-search { max-width: 700px; background: white; padding: 6px 6px 6px 15px; margin: 0 0 25px; gap: 10px; }
.content-search input { min-width: 0; }
.content-search .primary { padding: 9px 15px; }
.ui-icon { flex: 0 0 22px; }
/* Long district names must shrink within the catalog, including 320px screens. */
.catalog-layout > *, .filters > *, .catalog-heading > * { min-width: 0; }
.filters select { min-width: 0; max-width: 100%; }
.view-actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
@media(max-width:650px) { .filters select { width: 100%; } }
.toponym-page { max-width: 1260px; margin: 0 auto; }
.toponym-header { margin: 24px 0 30px; padding: 28px; background: #f2f6ec; border: 1px solid #dce6d5; border-radius: 18px; }
.toponym-header h1 { font-size: clamp(30px,4vw,48px); margin: 8px 0 16px; letter-spacing: -1px; }
.toponym-name-grid,.toponym-sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.toponym-name-grid > *,.toponym-section { min-width: 0; }
.toponym-section { padding: 26px; border: 1px solid #e2e8dd; background: #fff; border-radius: 14px; margin-bottom: 22px; }
.toponym-section h2 { font-size: 22px; margin: 0 0 18px; }
.toponym-section p { line-height: 1.8; }
.toponym-media-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: 18px; }
.toponym-media-card { min-width: 0; margin: 0; border: 1px solid #e4e9df; border-radius: 12px; overflow: hidden; }
.toponym-media-card img { display: block; width: 100%; height: 210px; object-fit: cover; }
.toponym-media-card figcaption { padding: 16px; font-size: 13px; line-height: 1.6; }
.toponym-audio audio { width: 100%; margin: 12px 0; }
.toponym-source-list { padding-left: 22px; overflow-wrap: anywhere; }
.toponym-source-list li { padding: 8px 0; line-height: 1.7; }
@media(max-width:650px) { .toponym-header,.toponym-section { padding: 18px; } .toponym-name-grid,.toponym-sections { grid-template-columns: 1fr; } }
.toponym-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.toponym-header > div { min-width: 0; }
.toponym-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.toponym-section-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.toponym-section-nav a { padding: 9px 14px; border: 1px solid #dfe7d8; border-radius: 24px; background: #fff; font-size: 12px; color: #345b45; }
.toponym-section { scroll-margin-top: 24px; }
.toponym-section .metadata { flex-wrap: wrap; }
.toponym-section dt { font-size: 11px; color: #718175; margin-bottom: 7px; }
.toponym-section dd { margin: 0; overflow-wrap: anywhere; }
.toponym-name-grid { margin: 0; }
.toponym-name-grid dt { font-size: 12px; color: #718175; }
.toponym-name-grid dd { margin: 6px 0 18px; font-size: 18px; color: #2a4936; }
.toponym-audio { padding: 16px; border: 1px solid #e0e8d9; border-radius: 10px; }
@media(max-width:650px) { .toponym-header { display: block; } .toponym-actions { margin-top: 20px; flex-wrap: wrap; } .toponym-section-nav { gap: 7px; } .toponym-section-nav a { padding: 8px 11px; } }
.toponym-sections { align-items: start; }
.toponym-sections #sources { grid-column: 1 / -1; }
.toponym-media-card video { width: 100%; }
.toponym-footer { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
#catalog-items tr[data-open] { cursor: pointer; }
.detail-panel [data-details-link] { display: flex; justify-content: center; margin-top: 20px; }
/* Shared visual rhythm: readable content, restrained surfaces, clear actions. */
:root { --ink: #203a35; --muted: #596e66; --border: #dce5df; --soft: #edf4ef; }
body { background: #f5f7f3; color: #263d36; }
.workspace > #content > .page { max-width: 1440px; margin-inline: auto; }
.page { padding: 38px 36px; }
.topbar { background: #ffffffed; border-bottom-color: #dfe7e0; }
.sidebar { background: #fcfdf9; border-right-color: #dfe7e0; }
.sidebar nav a { min-height: 46px; border: 1px solid transparent; transition: background .15s, color .15s; }
.sidebar nav a:hover { background: #f0f5ee; color: #215b4c; }
.sidebar nav a.active { background: #e5eee4; color: #205747; border-color: #d9e5d8; }
.breadcrumb { margin-bottom: 24px; color: #5c7268; line-height: 1.6; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { color: #486f5b; font-weight: 650; letter-spacing: .12em; }
.panel { border-color: #dfe7dd; box-shadow: 0 4px 18px #23412e06; }
.primary { background: #24664f; border-color: #24664f; color: #fff; border-radius: 9px; }
.primary:hover { background: #1e533f; }
.outline,.soft { border-radius: 9px; }
.outline:hover { border-color: #96b39d; }
input:not([type=checkbox]):not([type=range]),select { min-height: 40px; border-color: #dbe4dc; }
input:focus,select:focus { border-color: #669b7f; }
.search { border-color: #d6e1d7; border-radius: 11px; }
.search:focus-within { border-color: #7ea88c; box-shadow: 0 0 0 3px #e7efe2; }
.tags { flex-wrap: wrap; }
.tags span,.tag { background: #edf3e9; color: #3c6149; line-height: 1.5; }
.home .hero { align-items: center; gap: 40px; }
.home .hero h1 { max-width: 650px; font-size: clamp(34px,3.1vw,46px); line-height: 1.14; letter-spacing: -1.2px; margin: 14px 0 20px; }
.home .hero .lead { max-width: 590px; color: #556d60; }
.preview-map { border: 1px solid #d5e0d1; box-shadow: 0 12px 30px #24472d0d; border-radius: 20px; }
.preview-caption { border: 1px solid #e2eadb; box-shadow: 0 4px 20px #23412e12; }
.stats { gap: 18px; padding: 24px; }
.stats > div { min-width: 0; }
.public-dashboard .home-discover p { font-size: 14px; color: #526c5d; }
.public-dashboard > .panel { padding: 26px; }
.section-intro { max-width: 760px; margin-top: 12px; line-height: 1.75; color: #536b60; }
.publication-grid { align-items: start; gap: 24px; }
.publication-card { padding: 28px; border-radius: 16px; }
.publication-card h2 { color: #254b38; font-size: 24px; line-height: 1.35; }
.publication-text { color: #415d4d; font-size: 15px; line-height: 1.85; }
.publication-source,.media-credits { color: #536c5c; line-height: 1.7; }
.publication-source a,.toponym-source-list a { text-decoration: underline; text-underline-offset: 3px; }
.object-status { color: #5a6f60; font-size: 11px; line-height: 1.55; }
.table-panel th { color: #4d6a58; background: #f7faf4; font-weight: 600; }
.table-panel td { color: #465f50; padding-block: 17px; }
.table-panel td:first-child { color: #254534; font-weight: 550; }
.table-panel tr.selected { background: #eaf3e5; }
.table-panel tr:hover { background: #f3f7ef; }
.detail-panel { border-top: 3px solid #88a97c; padding: 24px; }
.detail-panel .detail-body p { font-size: 14px; line-height: 1.8; color: #476150; }
.detail-title h2 { color: #254b38; }
.toponym-section { margin-bottom: 0; border-radius: 16px; }
.toponym-section > p,.toponym-related-text p { font-size: 15px; color: #415d4d; line-height: 1.85; }
.toponym-section .muted { color: #617565; line-height: 1.75; }
.toponym-section .empty { padding: 22px 12px; background: #f7faf3; border-radius: 10px; }
.toponym-header { background: linear-gradient(120deg,#edf3e4,#f7faf2); padding: 30px; }
.toponym-section-nav a:hover { background: #eaf2e3; border-color: #a9be9c; }
.toponym-source-list li { border-bottom: 1px solid #e5ebdf; padding: 18px 0; }
.toponym-source-list li:last-child { border-bottom: 0; }
.media-credits > div { flex-wrap: wrap; gap: 6px 18px; }
.media-credits dd { min-width: 0; overflow-wrap: anywhere; }
@media(max-width:950px) { .page { padding: 28px 24px; } .home .hero { gap: 28px; } .publication-card { padding: 24px; } }
@media(max-width:650px) {
 .page { padding: 26px 16px; } .breadcrumb { margin-bottom: 20px; font-size: 12px; overflow-wrap: anywhere; }
 .sidebar nav a { min-height: 42px; flex-shrink: 0; padding: 8px 12px; }
 .sidebar nav { padding-bottom: 3px; scrollbar-width: thin; }
 .home .hero h1 { font-size: 34px; letter-spacing: -.9px; } .home .hero { gap: 26px; }
 .stats { gap: 20px 12px; padding: 20px 16px; } .stats > div { gap: 10px; }
 .public-dashboard > .panel,.publication-card { padding: 22px; }
 .publication-card h2 { font-size: 22px; } .publication-grid { gap: 18px; }
 .toponym-header { padding: 22px 18px; } .toponym-section { padding: 22px 18px; }
 .toponym-section > p,.publication-text { font-size: 14px; } .toponym-section-nav a { font-size: 12px; }
 .catalog-search { margin-top: 22px; } .filters { row-gap: 10px; } .detail-panel { padding: 20px; }
}
/* Bounded map sheet: controls scroll inside, the canvas keeps its full area. */
.map-mode #content .full-map:not(.is-map-fullscreen) { height: calc(100dvh - 68px) !important; min-height: 420px !important; }
.map-mode #main-map { bottom: 0 !important; }
.map-mode #map-detail { position: absolute; display: flex; flex-direction: column; left: 24px; right: auto; bottom: 24px; width: min(390px,calc(100% - 48px)); max-width: none; max-height: var(--map-sheet-max-height,45dvh); min-height: 0; padding: 0; gap: 0; overflow: hidden; border-radius: 15px; box-shadow: 0 5px 24px #243d2d24; }
.map-mode #map-detail.route-open { width: min(790px,calc(100% - 48px)); max-width: none; max-height: var(--map-sheet-max-height,55dvh); overflow: hidden; }
.map-sheet-toolbar { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 12px; border-bottom: 1px solid #e0e8d8; background: #f8fbf4; }
.map-sheet-toggle { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; padding: 5px 3px; min-height: 36px; background: transparent; text-align: left; font-weight: 650; color: #305740; }
.map-sheet-toggle > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-sheet-chevron { font-size: 19px; flex: 0 0 auto; }
.map-sheet-toolbar > .icon-button { flex: 0 0 auto; min-width: 36px; min-height: 36px; }
.map-sheet-compact { padding: 10px 14px 14px; min-height: 0; }
#map-sheet-status { margin: 0 0 6px; font-size: 11px; line-height: 1.55; color: #4f6958; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.map-mode #map-detail.sheet-expanded .map-sheet-compact { display: none; }
.map-mode #map-detail .map-sheet-content { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px; display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; scrollbar-gutter: stable; }
.map-mode #map-detail.route-open .map-sheet-content { grid-template-columns: minmax(210px,1fr) minmax(260px,1fr); }
.map-mode #map-detail .route-planner { min-width: 0; }
.map-mode #map-detail .route-context-list { max-height: none; overflow: visible; }
.map-mode #map-detail .map-object-actions { margin-top: 8px; }
@media(max-width:950px) { .map-mode #map-detail.route-open { width: calc(100% - 48px); } }
@media(max-width:650px) {
 .map-mode #content .full-map:not(.is-map-fullscreen) { height: calc(100dvh - 190px) !important; min-height: 360px !important; }
 .map-mode #map-detail,.map-mode #map-detail.route-open { position: absolute; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: var(--map-sheet-max-height,46dvh); border-radius: 15px; }
 .map-mode #map-detail .map-sheet-content,.map-mode #map-detail.route-open .map-sheet-content { grid-template-columns: minmax(0,1fr); padding: 14px; }
 .map-mode #map-detail .route-planner { padding-left: 0; }
 .map-mode #map-detail .map-object-info .detail-title h2 { font-size: 21px; }
 .map-mode #map-detail.route-open .map-object-info > p,.map-mode #map-detail.route-open .map-object-info > .tags { display: none; }
 .map-mode #map-detail.route-open .map-object-info .map-object-actions { display: none; }
 .map-mode #map-detail .map-sheet-toolbar { padding: 8px 10px; }
 .map-sheet-compact { padding: 8px 12px 12px; }
 .map-mode #map-detail .map-object-actions .primary,.map-mode #map-detail .map-object-actions .outline { min-height: 38px; }
 .map-mode .full-map .layer-panel { top: auto !important; max-height: min(230px,36%); }
}
@media(max-width:650px) { .map-mode #content .full-map .layer-panel { bottom: var(--map-layer-bottom,28px) !important; } }
/* Homepage: editorial, high-contrast palette with restrained color accents. */
.home { --home-forest:#214f43; --home-forest-deep:#183c34; --home-sage:#e9eee5; --home-paper:#f5f2e9; --home-rust:#a95437; --home-ink:#25352f; --home-muted:#53635b; }
.home .hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); align-items:stretch; gap:28px; padding:24px; border:1px solid #e1ddcf; border-radius:16px; background:#f5f2e9; box-shadow:0 8px 22px #263a3010; }
.home .home-hero-copy { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:24px 28px; border-left:4px solid #b8793d; }
.home .hero .eyebrow { display:inline-flex; align-self:flex-start; color:#8f4b31; font-size:12px; font-weight:700; line-height:1.6; letter-spacing:.08em; }
.home .hero h1 { max-width:620px; margin:13px 0 17px; color:#183c34; font-size:clamp(36px,3vw,48px); line-height:1.16; letter-spacing:-.8px; }
.home .hero .lead { max-width:570px; margin-bottom:22px; color:#4d5e55; font-size:16px; line-height:1.75; }
.home .hero-search { width:100%; max-width:none; gap:8px; margin:8px 0 0; padding:5px 6px 5px 14px; border:1px solid #c8c8b9; border-radius:9px; background:#fff; box-shadow:0 2px 7px #293d3210; }
.home .hero-search:focus-within { border-color:#527e6d; box-shadow:0 0 0 3px #527e6d22; }
.home .hero-search input { min-width:0; width:100%; min-height:44px; color:#243c33; font-size:15px; }
.home .hero-search input::placeholder { color:#68756d; }
.home .hero-search > span { color:#526c5d; font-size:22px; }
.home .hero-search .primary { flex-shrink:0; min-height:44px; padding:9px 15px; border:0; border-radius:7px; color:#fff; background:#214f43; font-size:14px; font-weight:650; }
.home .hero-search .primary:hover { background:#183c34; }
.home .hero .text-link { align-self:flex-start; min-height:42px; margin-top:13px; align-items:center; color:#8f4b31; font-size:14px; font-weight:650; text-decoration:underline; text-underline-offset:4px; }
.home .preview-map { height:370px; border:1px solid #cbd5c9; border-radius:14px; background:#dce5d7; box-shadow:0 5px 18px #293d3212; }
.home .preview-caption { left:16px; bottom:16px; width:min(290px,calc(100% - 32px)); padding:16px; border:1px solid #f3eee1aa; border-radius:10px; color:#fff; background:linear-gradient(90deg,rgba(16,39,34,.91),rgba(16,39,34,.55)),url('https://upload.wikimedia.org/wikipedia/commons/6/63/%D0%A3%D1%81%D1%82%D1%8C-%D0%9A%D0%B0%D0%BC%D0%B5%D0%BD%D0%BE%D0%B3%D0%BE%D1%80%D1%81%D0%BA%2C_%D0%BD%D0%B0%D0%B1%D0%B5%D1%80%D0%B5%D0%B6%D0%BD%D0%B0%D1%8F_%D0%98%D1%80%D1%82%D1%8B%D1%88%D0%B0%2C_20241003_01.jpg') center 55%/cover; box-shadow:0 4px 18px #14261e40; }
.home .preview-caption .eyebrow { color:#fff; font-size:11px; font-weight:700; }
.home .preview-caption strong { margin:5px 0 8px; color:#fff; font-size:18px; line-height:1.4; }
.home .preview-caption small { display:block; color:#e4ede9; font-size:9px; line-height:1.5; }
.home .preview-caption a { color:#fff; text-decoration:underline; text-underline-offset:2px; }
.home #mini-map .leaflet-tile-pane { filter:brightness(.64) saturate(.76) contrast(.97) sepia(.06); }
.home .preview-caption .primary { min-height:42px; padding:9px 14px; border:0; border-radius:7px; color:#fff; background:#a95437; font-size:14px; }
.home .preview-caption .primary:hover { background:#87432f; }
.sidebar-note--region { min-height:145px; display:flex; flex-direction:column; justify-content:flex-end; gap:7px; padding:16px 15px 10px; border:0; border-radius:12px; color:#fff; background:radial-gradient(circle at 82% 25%,#d2b377 0 8px,transparent 9px),linear-gradient(155deg,transparent 0 56%,#456b5c 56.5% 68%,transparent 68.5%),linear-gradient(145deg,#244c43,#527768 58%,#a6aa84); box-shadow:0 4px 16px #17261c24; }
.sidebar-note--region .eyebrow { color:#fff; font-size:11px; font-weight:700; }
.sidebar-note--region p { margin:0; color:#fff; font-size:17px; line-height:1.35; font-weight:650; }
.sidebar-note--region svg { width:100%; height:48px; margin:1px 0 0; fill:none; stroke:#e2e5ca; stroke-width:2; opacity:.85; }
.home .stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:25px 0 32px; padding:7px 0; border-top:1px solid #dedbce; border-bottom:1px solid #dedbce; background:#fff; }
.home .stats > .home-stat { display:flex; align-items:center; gap:14px; min-width:0; padding:18px 16px; border:0; border-right:1px solid #e5e1d5; border-radius:0; background:transparent; }
.home .stats > .home-stat:last-child { border-right:0; }
.home .stats .home-stat-icon { display:grid; flex:0 0 40px; place-items:center; width:40px; height:40px; border-radius:9px; color:#214f43; background:#e9eee5; font-size:24px; }
.home .stats > .home-stat--legends .home-stat-icon,.home .stats > .home-stat--media .home-stat-icon,.home .stats > .home-stat--research .home-stat-icon { color:#214f43; background:#e9eee5; }
.home .stats strong { color:#183c34; font-size:27px; font-weight:700; line-height:1.2; }
.home .stats small { margin-top:4px; color:#53635b; font-size:12px; line-height:1.5; }
.home .home-section-heading h2 { margin:0 0 18px; color:#183c34; font-size:27px; line-height:1.35; }
.home .public-dashboard { gap:18px; }
.home .public-dashboard > .panel { min-height:320px; padding:24px; border:1px solid #deded2; border-radius:12px; box-shadow:0 4px 16px #263a300b; }
.home .public-dashboard .panel-heading { display:flex; align-items:center; gap:10px; color:#334a3f; font-size:13px; font-weight:650; }
.home .home-card-symbol { display:inline-grid; flex:0 0 36px; place-items:center; width:36px; height:36px; border-radius:8px; color:#214f43; background:#e9eee5; font-size:21px; }
.home .public-dashboard .featured { border-top:3px solid #b8793d; background:#fffdf7; }
.home .public-dashboard .featured h2 { color:#253a31; font-size:25px; line-height:1.3; }
.home .public-dashboard .featured .muted { color:#53635b; font-size:14px; line-height:1.75; }
.home .public-dashboard .featured > .tag { margin-top:18px; color:#6c4825; background:#f1e6ce; font-size:12px; }
.home .public-dashboard .metadata { gap:14px; color:#40584b; font-size:12px; line-height:1.6; }
.home .public-dashboard .metadata small { color:#68756d; font-size:11px; }
.home .public-dashboard .home-discover { border-top:3px solid #527e6d; background:#f5f7f1; }
.home .public-dashboard .home-discover .panel-heading { color:#334a3f; }
.home .public-dashboard .home-discover .home-card-symbol,.home .public-dashboard .research-discover .home-card-symbol { color:#214f43; background:#e1e9df; }
.home .public-dashboard .home-discover h2 { margin:20px 0 14px; color:#253a31; font-size:24px; line-height:1.32; }
.home .public-dashboard .home-discover p { color:#53635b; font-size:14px; line-height:1.75; }
.home .public-dashboard .research-discover { border-top-color:#a95437; background:#fbf5f0; }
.home .public-dashboard .research-discover .panel-heading { color:#55433a; }
.home .public-dashboard .research-discover h2 { color:#3f332d; }
.home .public-dashboard .research-discover p { color:#5d5149; }
.home .public-dashboard .soft { min-height:44px; margin-top:auto; padding:10px 13px; border:1px solid #b8c9bb; border-radius:7px; color:#214f43; background:#fff; font-size:13px; font-weight:650; }
.home .public-dashboard .featured .soft { border-color:#214f43; color:#fff; background:#214f43; }
.home .public-dashboard .featured .soft:hover { background:#183c34; }
.home .public-dashboard .research-discover .soft { border-color:#d8c2b4; color:#87432f; }
.home .public-dashboard .soft:hover { background:#edf2eb; }
.home .public-dashboard .research-discover .soft:hover { background:#f6eae2; }
.home .about-strip { gap:14px; margin-top:20px; padding:16px 18px; border:1px solid #d6dfd4; border-radius:10px; color:#40584b; background:#eef2e9; font-size:13px; line-height:1.6; }
.home .about-strip > span:first-child { color:#527e6d; font-size:18px; }
.home .about-strip .outline { min-height:42px; border-color:#9eafa1; border-radius:7px; color:#214f43; background:#fff; font-size:13px; font-weight:650; }
.home :focus-visible { outline:3px solid #a95437; outline-offset:3px; }
.home .hero :focus-visible { outline-color:#214f43; }
@media(max-width:1250px) {
 .home .hero { padding:20px; gap:20px; }
 .home .hero h1 { font-size:40px; }
 .home .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home .stats > .home-stat:nth-child(2) { border-right:0; }
}
@media(max-width:950px) {
 .home .hero { grid-template-columns:1fr; }
 .home .hero h1 { max-width:700px; font-size:42px; }
 .home .preview-map { height:320px; }
 .home .public-dashboard { grid-template-columns:1fr 1fr; }
 .home .public-dashboard .featured { grid-column:1/-1; }
 .home .public-dashboard > .panel { min-height:285px; }
}
@media(max-width:650px) {
 .sidebar-note--region { min-height:100px; margin:12px 0; padding:12px 14px 7px; }
 .home .hero { padding:18px; gap:20px; border-radius:12px; }
 .home .home-hero-copy { padding:12px 14px; }
 .home .hero h1 { font-size:34px; letter-spacing:-.45px; }
 .home .hero .lead { font-size:15px; line-height:1.7; }
 .home .hero-search { display:flex; flex-wrap:nowrap; gap:4px; padding:4px; }
 .home .hero-search > span { display:none; }
 .home .hero-search input { flex:1 1 auto; padding:7px; font-size:14px; }
 .home .hero-search .primary { flex:0 0 auto; min-width:44px; padding:8px 10px; font-size:12px; }
 .home .preview-map { height:280px; }
 .home .preview-caption { left:10px; bottom:10px; padding:13px; }
 .home .stats { gap:0; margin:19px 0 25px; }
 .home .stats > .home-stat { flex-direction:row; align-items:center; gap:9px; padding:13px 9px; }
 .home .stats > .home-stat:nth-child(2) { border-right:0; }
 .home .stats > .home-stat:nth-child(3) { border-right:1px solid #e5e1d5; }
 .home .stats .home-stat-icon { flex-basis:32px; width:32px; height:32px; font-size:19px; }
 .home .stats strong { font-size:20px; }
 .home .stats small { font-size:11px; }
 .home .home-section-heading h2 { font-size:23px; }
 .home .public-dashboard { grid-template-columns:1fr; }
 .home .public-dashboard .featured { grid-column:auto; }
 .home .public-dashboard > .panel { min-height:255px; padding:20px; }
 .home .public-dashboard .home-discover h2 { font-size:23px; }
 .home .about-strip { padding:14px; font-size:12px; }
 .home .about-strip .outline { width:100%; justify-content:center; }
}
/* Homepage composition: warm paper, local pastel accents, real region photos. */
body[data-page=home] { background: #fcfdfc; color: #183b46; }
body[data-page=home] .sidebar { background: linear-gradient(150deg,#f8fbfc,#f1f7f8); border-color: #e8eef0; }
body[data-page=home] .sidebar nav a.active { background: #dff0e9; color: #194c43; }
body[data-page=home] .sidebar-note--region { min-height: 148px; background: radial-gradient(ellipse at 95% 0,#b6dacf 0,transparent 60%),linear-gradient(140deg,#d3e8ef,#e8f2ef); color: #244d57; box-shadow: none; }
body[data-page=home] .sidebar-note--region .eyebrow,body[data-page=home] .sidebar-note--region p { color: #244d57; }
body[data-page=home] .sidebar-note--region svg { stroke: #6b9e98; opacity: .55; }
body[data-page=home] .topbar { border-bottom: 0; background: #fcfdfc; padding: 0 22px; }
body[data-page=home] .topbar .search { border-radius: 24px; background: #fff; width: 620px; }
.home.page { max-width: 1800px; margin: auto; padding: 0 16px 28px; }
.home .hero { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; min-height: 380px; padding: 30px; gap: 30px; border: 1px solid #e9eee5; border-radius: 20px; background: #f3f6ef; box-shadow: none; }
.home .hero-nature { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; z-index: -2; }
.home .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#faf8eff5 0%,#f8f8f0e8 34%,#f0f5ef74 64%,#edf4ef12 100%); }
.home .home-hero-copy { padding: 0; border: 0; display: block; }
.home .hero .eyebrow { color: #348c73; font-size: 10px; letter-spacing: .08em; font-weight: 650; }
.home .hero .eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: #83b7a4; margin-right: 12px; vertical-align: middle; }
.home .hero h1 { margin: 14px 0 16px; font-size: clamp(32px,3vw,46px); line-height: 1.14; letter-spacing: -1.25px; font-weight: 720; color: #153b47; }
.home .hero h1 span { color: #228969; }
.home .hero .lead { margin: 0 0 18px; max-width: 545px; color: #355260; font-size: 14px; line-height: 1.75; }
.home .hero-search { display: flex; flex-wrap: nowrap; gap: 10px; padding: 4px 4px 4px 16px; border: 1px solid #d1e3dd; border-radius: 12px; background: #fffffffa; box-shadow: 0 5px 18px #294a3910; }
.home .hero-search > svg { width: 20px; height: 20px; flex: 0 0 20px; color: #408a79; }
.home .hero-search input { flex: 1; min-height: 44px; width: 0; font-size: 13px; color: #244953; }
.home .hero-search .primary { display: flex; gap: 16px; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; border-radius: 9px; background: #238769; color: #fff; font-size: 13px; }
.home .hero-search .primary:hover { background: #196c54; }
.home .home-query-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 14px; font-size: 9px; color: #315360; }
.home .home-query-chips > span { margin-right: 3px; }
.home .home-query-chips a { padding: 4px 8px; border-radius: 20px; background: #f0f8f4ed; border: 1px solid #e4eee4; line-height: 1.4; }
.home .home-query-chips a:hover { background: #d8ecdf; }
.home .preview-map { height: 296px; min-width: 0; }
.home .home-map-loading { display: grid; place-content: center; height: 100%; margin: 0; color: #4e7765; }
.home .stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; margin: 16px 12px 28px; border: 0; background: transparent; }
.home .stats > .home-stat { --stat-accent:#248963; --stat-soft:#d9ede1; display: flex; align-items: center; min-width: 0; gap: 14px; padding: 18px; border: 1px solid #e5eee7; border-radius: 16px; background: #f5f9f5; transition: transform .15s ease,box-shadow .15s ease; }
.home .stats > .home-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #244d4310; }
.home .stats > .home-stat--legends { --stat-accent:#df8356; --stat-soft:#fbe8d9; border-color: #f5e8de; background: #fff8f2; }
.home .stats > .home-stat--media { --stat-accent:#367bc2; --stat-soft:#dfeafa; border-color: #e4edf8; background: #f3f8fe; }
.home .stats > .home-stat--research { --stat-accent:#7060ac; --stat-soft:#e8e1f7; border-color: #ece7f5; background: #f8f5fe; }
.home .stats .home-stat .home-stat-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15px; color: var(--stat-accent); background: var(--stat-soft); }
.home .home-stat-icon svg { width: 27px; height: 27px; }
.home .home-stat-copy { flex: 1; min-width: 0; }
.home .stats strong { display: block; color: #173e48; font-size: 25px; line-height: 1.2; font-weight: 720; }
.home .stats small { display: block; color: #395665; font-size: 10px; line-height: 1.4; margin-top: 4px; }
.home .home-stat-arrow { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--stat-soft); color: #335b5b; }
.home .home-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 12px 16px; }
.home .home-section-heading h2 { margin: 0; color: #183b46; font-size: 25px; font-weight: 700; letter-spacing: -.6px; }
.home .home-section-heading .outline { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #d5e3df; border-radius: 24px; background: #f7faf9; padding: 9px 14px; font-size: 11px; color: #264e59; }
.home .home-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 12px; }
.home .home-category { position: relative; isolation: isolate; min-width: 0; height: 210px; border-radius: 16px; overflow: hidden; color: #fff; background: #42665a; }
.home .home-category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; z-index: -2; }
.home .home-category::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#09272e00 20%,#12332b45 52%,#143c40e8 100%); }
.home .home-category:hover img { transform: scale(1.04); }
.home .home-category-copy { position: absolute; bottom: 18px; left: 20px; right: 54px; }
.home .home-category-copy svg { display: block; width: 30px; height: 30px; margin-bottom: 7px; }
.home .home-category h3 { font-size: 18px; line-height: 1.3; margin: 0 0 5px; color: #fff; font-weight: 650; }
.home .home-category p { margin: 0; color: #f2f7f4; font-size: 11px; line-height: 1.5; }
.home .home-category-arrow { position: absolute; bottom: 20px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffffba; border-radius: 50%; font-size: 20px; }
.home .home-popular-heading { margin-top: 30px; }
.home .home-popular-heading h2 { font-size: 22px; }
.home .home-popular-heading .text-link { display: inline-flex; gap: 14px; align-items: center; color: #31816e; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.home .home-popular { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0 12px; }
.home .home-place { min-width: 0; position: relative; border: 1px solid #e5eee8; border-radius: 15px; overflow: hidden; background: #fff; }
.home .home-place-photo { display: block; height: 140px; overflow: hidden; background: #e5efea; }
.home .home-place-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home .home-place-photo:hover img { transform: scale(1.04); }
.home .home-place-favorite { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid #ffffffc2; background: #ffffffdd; color: #335b5b; font-size: 21px; display: grid; place-items: center; }
.home .home-place-favorite[aria-pressed=true] { background: #e1f1e7; color: #217c5d; }
.home .home-place-copy { padding: 12px 15px 15px; }
.home .home-place-copy small { color: #729086; font-size: 10px; }
.home .home-place h3 { color: #234653; font-size: 16px; line-height: 1.3; margin: 4px 0 7px; }
.home .home-place p { font-size: 10px; line-height: 1.5; color: #647c79; margin: 0; }
.home .home-photo-credits { margin: 15px 12px 25px; color: #637e73; font-size: 10px; }
.home .home-photo-credits summary { cursor: pointer; }
.home .home-photo-credits p { margin: 6px 0; }
.home .home-photo-credits a { text-decoration: underline; text-underline-offset: 2px; }
.home .public-dashboard { margin: 0 12px; }
.home .public-dashboard > .panel { border-top: 1px solid #e3ebe5; border-radius: 16px; }
.home .about-strip { margin: 20px 12px 0; background: #f1f7f3; border-color: #e1ebe2; }
@media(max-width:1250px) {
 .home .hero { padding: 24px; gap: 22px; }
 .home .hero h1 { font-size: 35px; }
 .home .stats { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
 .home .stats > .home-stat { gap: 10px; padding: 14px 12px; }
 .home .stats .home-stat .home-stat-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; }
 .home .home-stat-arrow { display: none; }
 .home .home-category { height: 190px; }
 .home .home-category-copy { left: 15px; }
 .home .home-category h3 { font-size: 16px; }
}
@media(max-width:950px) {
 .home .hero { grid-template-columns: 1fr; padding: 28px; }
 .home .hero::before { background: linear-gradient(90deg,#faf8eff5,#f6f8efb8); }
 .home .hero h1 { font-size: 40px; }
 .home .preview-map { height: 300px; }
 .home .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home .home-categories { gap: 10px; }
 .home .home-category-copy { right: 15px; }
 .home .home-category-arrow { display: none; }
 .home .home-category h3 { font-size: 15px; }
 .home .home-category p { font-size: 10px; }
 .home .home-popular { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
 .home.page { padding: 10px 12px 24px; }
 .home .hero { padding: 20px 16px 16px; gap: 22px; border-radius: 18px; }
 .home .hero h1 { font-size: 32px; letter-spacing: -.8px; }
 .home .hero .lead { font-size: 13px; line-height: 1.7; }
 .home .hero .eyebrow { font-size: 8px; }
 .home .hero-search { gap: 7px; padding-left: 10px; }
 .home .hero-search > svg { width: 17px; height: 17px; flex-basis: 17px; }
 .home .hero-search input { font-size: 12px; padding: 0; }
 .home .hero-search .primary { min-height: 44px; min-width: 72px; padding: 10px 12px; gap: 8px; font-size: 12px; }
 .home .preview-map { height: 270px; }
 .home .home-query-chips { font-size: 9px; }
 .home .stats { gap: 9px; margin: 14px 0 24px; }
 .home .stats > .home-stat { border-right: 1px solid #e5eee7; border-radius: 14px; gap: 10px; padding: 14px 10px; }
 .home .stats > .home-stat:nth-child(2),.home .stats > .home-stat:nth-child(3) { border-right: 1px solid #f0e8e2; }
 .home .stats strong { font-size: 23px; }
 .home .stats small { font-size: 10px; }
 .home .home-section-heading { margin: 0 0 14px; gap: 10px; }
 .home .home-section-heading h2 { font-size: 22px; line-height: 1.3; }
 .home .home-section-heading .outline { padding: 7px 11px; font-size: 10px; }
 .home .home-categories { grid-template-columns: 1fr; margin: 0; gap: 12px; }
 .home .home-category { height: 200px; }
 .home .home-category-copy { right: 55px; left: 20px; }
 .home .home-category-arrow { display: grid; }
 .home .home-category h3 { font-size: 20px; }
 .home .home-category p { font-size: 12px; }
 .home .home-popular-heading { margin-top: 26px; }
 .home .home-popular { margin: 0; gap: 10px; }
 .home .home-place-photo { height: 115px; }
 .home .home-place-copy { padding: 10px 11px 13px; }
 .home .home-place h3 { font-size: 15px; }
 .home .home-photo-credits { margin: 15px 0 24px; }
 .home .public-dashboard { margin: 0; }
 .home .about-strip { margin: 20px 0 0; }
}
/* Reference alignment: one content edge, one section rhythm. */
.top-actions .header-language { display: flex; align-items: center; gap: 6px; border: 1px solid #e6ecee; border-radius: 24px; padding: 7px 10px; color: #214552; background: #fff; }
.header-language > svg { width: 17px; height: 17px; flex-shrink: 0; }
.header-language select { border: 0; padding: 2px 0; background: transparent; font-size: 12px; color: #214552; }
.editor-link > svg { width: 18px; height: 18px; flex-shrink: 0; }
body[data-page=home] .sidebar { width: 244px; padding: 28px 16px; overflow-y: auto; background: url('assets/sidebar-botanical.svg') bottom 385px left / 244px 330px no-repeat,linear-gradient(150deg,#f8fbfc,#f2f7fa); }
body[data-page=home] .workspace { margin-left: 244px; }
body[data-page=home] .brand { margin-bottom: 24px; font-size: 15px; }
body[data-page=home] .sidebar nav { gap: 4px; }
body[data-page=home] .sidebar nav a { min-height: 46px; padding: 12px 18px; border-radius: 13px; gap: 15px; font-size: 13px; }
body[data-page=home] .sidebar-bottom { padding-top: 28px; }
body[data-page=home] .sidebar-note--photo { position: relative; display: block; isolation: isolate; height: clamp(180px,30dvh,308px); min-height: 0; margin: 0 0 16px; padding: 18px 20px; border: 0; border-radius: 18px; background: #bcdde6; overflow: hidden; box-shadow: none; }
body[data-page=home] .sidebar-note--photo img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 32%; }
body[data-page=home] .sidebar-note--photo::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#c0dfeef5 0%,#c0dfeeea 27%,#c9e1e68c 44%,#c9e1e600 64%); }
body[data-page=home] .sidebar-note--photo .eyebrow { display: block; margin-bottom: 9px; color: #153d4b; font-size: 12px; font-weight: 700; letter-spacing: 0; }
body[data-page=home] .sidebar-note--photo p { max-width: 122px; margin: 0; color: #153d4b; font-size: 18px; line-height: 1.3; font-weight: 700; }
body[data-page=home] .sidebar-note-arrow { position: absolute; right: 15px; top: 55px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff73; border-radius: 50%; background: #25876b; color: #fff; font-size: 21px; box-shadow: 0 3px 10px #2a65552b; }
body[data-page=home] .sidebar-note--photo:hover .sidebar-note-arrow { background: #1b6f56; }
body[data-page=home] .editor-link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; margin-bottom: 32px; border: 1px solid #e1e9ed; border-radius: 13px; color: #2d665b; background: #f9fcfd; font-size: 11px; }
body[data-page=home] .editor-link > span:last-child { margin-left: auto; }
body[data-page=home] .sidebar-bottom > small { display: block; text-align: center; font-size: 10px; }
body[data-page=home] .topbar { padding-inline: 30px; gap: 24px; }
body[data-page=home] .topbar .search { width: 624px; max-width: 65%; height: 38px; padding: 6px 15px; }
body[data-page=home] .top-actions { gap: 14px; }
body[data-page=home] #saved { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fde9df; color: #234654; font-size: 23px; padding: 0; }
.workspace > #content > .page.home { max-width: 1440px; padding: 0 14px 28px; }
.home .hero { min-height: 380px; padding: 34px 32px 34px 48px; gap: 76px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.home .hero .lead,.home .hero-search,.home .home-query-chips { width: 100%; max-width: 550px; }
.home .hero-search { margin: 0; }
.home .hero .lead { margin-bottom: 20px; }
.home .hero h1 { font-size: 42px; }
.home .preview-map { height: 296px; }
.home .stats { gap: 12px; margin: 16px 0 28px; }
.home .stats > .home-stat { min-height: 94px; padding: 19px 20px; }
.home .stats .home-stat .home-stat-icon { flex-basis: 50px; width: 50px; height: 50px; }
.home .stats strong { font-size: 27px; }
.home .stats small { font-size: 11px; }
.home .home-section-heading { margin: 0 0 16px; min-height: 36px; }
.home .home-categories,.home .home-popular,.home .public-dashboard { margin-inline: 0; gap: 16px; }
.home .home-category { height: 202px; }
.home .home-popular-heading { margin-top: 32px; }
.home .home-photo-credits { margin: 16px 0 28px; }
.home .about-strip { margin: 20px 0 0; }
@media(max-width:1250px) {
 body[data-page=home] .sidebar { width: 220px; padding: 24px 14px; background-size: 220px 330px; }
 body[data-page=home] .workspace { margin-left: 220px; }
 body[data-page=home] .sidebar nav a { padding-inline: 13px; font-size: 12px; }
 body[data-page=home] .sidebar-note--photo { padding: 16px; }
 .home .hero { padding: 28px; gap: 28px; }
 .home .hero h1 { font-size: 35px; }
 .home .stats > .home-stat { padding: 16px 12px; gap: 10px; }
 .home .stats .home-stat .home-stat-icon { flex-basis: 38px; width: 38px; height: 38px; }
 .home .stats small { font-size: 10px; }
}
@media(max-width:950px) {
 body[data-page=home] .sidebar { width: 185px; padding: 20px 10px; background-size: 185px 330px; }
 body[data-page=home] .workspace { margin-left: 185px; }
 body[data-page=home] .sidebar nav a { padding: 10px; gap: 9px; font-size: 11px; }
 body[data-page=home] .sidebar-note--photo { padding: 15px; height: 250px; }
 body[data-page=home] .sidebar-note--photo p { max-width: 105px; font-size: 17px; }
 body[data-page=home] .sidebar-note-arrow { right: 10px; width: 30px; height: 30px; }
 body[data-page=home] .editor-link { gap: 6px; padding-inline: 9px; font-size: 10px; }
 .home .hero { grid-template-columns: 1fr; gap: 26px; }
 .home .hero h1 { font-size: 40px; }
 .home .hero .lead,.home .hero-search,.home .home-query-chips { max-width: 550px; }
 .home .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
 body[data-page=home] .sidebar { width: 100%; padding: 13px; background: #f6fafb; overflow: visible; }
 body[data-page=home] .workspace { margin-left: 0; }
 body[data-page=home] .brand { margin-bottom: 12px; }
 body[data-page=home] .sidebar nav a { min-height: 42px; padding: 8px 12px; font-size: 12px; }
 body[data-page=home] .topbar { padding: 0 12px; gap: 10px; }
 body[data-page=home] .topbar .search { width: auto; flex: 1; min-width: 0; max-width: none; }
 body[data-page=home] .top-actions { gap: 7px; }
 .top-actions .header-language { padding: 6px 8px; gap: 4px; }
 .header-language > svg { width: 14px; height: 14px; }
 .header-language select { width: 34px; font-size: 11px; }
 body[data-page=home] #saved { width: 32px; height: 32px; font-size: 20px; }
 .workspace > #content > .page.home { padding: 10px 12px 24px; }
 .home .hero { padding: 20px 16px 16px; gap: 22px; }
 .home .hero h1 { font-size: 32px; }
 .home .hero .lead { margin-bottom: 18px; }
 .home .hero-search { max-width: none; }
 .home .preview-map { height: 270px; }
 .home .stats { margin: 14px 0 24px; gap: 10px; }
 .home .stats > .home-stat { min-height: 90px; padding: 14px 10px; }
 .home .stats strong { font-size: 23px; }
 .home .stats small { font-size: 10px; }
 .home .home-section-heading { min-height: 0; margin-bottom: 14px; }
 .home .home-categories { gap: 12px; }
 .home .home-category { height: 200px; }
 .home .home-popular-heading { margin-top: 26px; }
 .home .home-popular { gap: 10px; }
}
.top-actions .header-language { height: 38px; }
.top-actions .header-language select { min-height: 0; height: 22px; line-height: 22px; }
body[data-page=home] .sidebar nav a { padding-right: 8px; gap: 14px; }
body[data-page=home] .sidebar-note--photo img { height: 180%; object-position: 48% 0; }
.home .hero .eyebrow { display: flex; align-items: center; height: 16px; margin: 0 0 14px; line-height: 16px; }
.home .hero h1 { margin: 0 0 16px; }
.home .hero .lead { margin-bottom: 14px; }
@media(max-width:950px) { body[data-page=home] .sidebar nav a { gap: 9px; } }
@media(max-width:650px) {
 .top-actions .header-language { height: 32px; }
 .top-actions .header-language select { height: 20px; line-height: 20px; }
 body[data-page=home] .sidebar nav a { padding: 8px 12px; gap: 9px; }
 .home .hero .eyebrow { height: auto; line-height: 1.6; margin-bottom: 12px; }
 .home .hero h1 { margin-bottom: 16px; }
 .home .hero .lead { margin-bottom: 18px; }
}
/* Final spacing and readability adjustments. */
.workspace > #content > .page.home { padding-inline: 12px; }
body[data-page=home] .topbar { padding-inline: 12px; }
.home .hero { padding-block: 25px; }
.home .home-query-chips { gap: 6px; margin-top: 14px; font-size: 12px; line-height: 1.5; }
.home .home-query-chips > span { font-weight: 500; }
.home .home-query-chips a { padding: 4px 8px; font-size: 11px; line-height: 1.5; }
body[data-page=home] .topbar .search,body[data-page=home] .top-actions .header-language { height: 38px; }
@media(max-width:650px) {
 .home .hero { padding-block: 20px 16px; }
 .home .home-query-chips { gap: 5px; font-size: 11px; }
 .home .home-query-chips a { font-size: 11px; }
}
.home .hero { padding-inline: 32px; gap: 48px; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
.home .preview-map { width: 100%; max-width: none; justify-self: stretch; }
.home #mini-map { position: absolute; inset: 0; width: 100%; height: 100%; }
@media(max-width:1250px) { .home .hero { padding-inline: 28px; gap: 28px; } }
@media(max-width:950px) { .home .hero { grid-template-columns: minmax(0,1fr); gap: 26px; } }
@media(max-width:650px) { .home .hero { padding-inline: 16px; gap: 22px; } }
/* Keep both outside gutters equal at every desktop width. */
.workspace > #content > .page.home { width: 100%; max-width: none; margin-inline: 0; }
/* Balanced desktop proportions with symmetric outer space. */
.workspace > #content > .page.home { width: 100%; max-width: 1440px; margin-inline: auto; }
body[data-page=home] .topbar { width: 100%; max-width: 1440px; margin-inline: auto; }
@media(min-width:1251px) {
 body[data-page=home] .sidebar { width: 304px; background-size: 304px 330px; }
 body[data-page=home] .workspace { margin-left: 304px; }
}
/* Sidebar supplies the width adjustment; retain the existing 12px gutters. */
.workspace > #content > .page.home { max-width: none; margin-inline: 0; }
body[data-page=home] .topbar { max-width: none; margin-inline: 0; }
.home .hero-search > svg { display: block; align-self: center; transform: translateY(-1px); }
/* More visible nature photography while keeping the text on a light surface. */
.home .hero-nature { filter: saturate(1.18) contrast(1.08); }
.home .hero::before { background: linear-gradient(90deg,#faf8efed 0%,#f8f8f0ce 34%,#f0f5ef40 64%,#edf4ef08 100%); }
@media(max-width:950px) { .home .hero::before { background: linear-gradient(90deg,#faf8efec,#f6f8ef8c); } }
/* Clearly visible, bright mountain landscape rather than an almost opaque wash. */
.home .hero-nature { object-position: center 20%; filter: brightness(1.08) saturate(1.25) contrast(1.1); }
.home .hero::before { background: linear-gradient(90deg,#fafcf8db 0%,#fafcf8b0 34%,#fafcf82e 62%,#fafcf80a 100%); }
@media(max-width:950px) { .home .hero::before { background: linear-gradient(180deg,#fafcf8d9 0%,#fafcf8a3 43%,#fafcf838 100%); } }
