.population-banner {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1rem);
  margin-block: 1rem;
  padding: clamp(.8rem, 2vw, 1.1rem) clamp(.85rem, 2.5vw, 1.4rem);
  border: 1px solid #789779;
  border-radius: 1rem;
  background: linear-gradient(100deg, #d8eea1, #ecf5d6);
  color: #153f35;
  text-decoration: none;
  box-shadow: 0 3px 12px #133f3522;
  animation: population-pulse 2.1s ease-in-out infinite;
}
.population-banner:hover { background: #dff1b5; }
.population-banner__title { flex: 1; min-width: 0; font-weight: 800; font-size: clamp(.94rem, 2vw, 1.12rem); line-height: 1.35; }
.population-banner__icon, .population-banner__arrow { flex: none; font-size: 1.3rem; line-height: 1; }
.population-banner__icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .65rem; background: #ffffff85; }
@keyframes population-pulse {
  0%, 100% { box-shadow: 0 3px 12px #133f3522, 0 0 0 .08rem #79a74945; }
  50% { box-shadow: 0 5px 20px #537b3566, 0 0 0 .45rem #79a74962; }
}
@media (prefers-reduced-motion: reduce) {
  .population-banner { animation: none; }
}
.population-banner:focus-visible, .population-page a:focus-visible { outline: 3px solid #26725c; outline-offset: 3px; }

.population-page { min-height: 100vh; margin: 0; position: relative; isolation: isolate; background: #eaf2e9; color: #163f37; font: 1rem/1.55 Manrope, system-ui, sans-serif; }
.population-page * { box-sizing: border-box; }
.population-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/assets/tatar-ornament-mobile-v1.webp') -5rem -2rem / 29rem repeat;
  opacity: .13;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.population-page main { width: min(100% - 2rem, 56rem); margin: 0 auto; padding: 1.5rem 0 3rem; }
.population-page .back { color: #163f37; font-weight: 700; }
.population-page header, .population-page section { padding: clamp(1.2rem, 5vw, 2.5rem); border-radius: 1.25rem; margin-top: 1rem; }
.population-page header {
  background: linear-gradient(95deg, #123e36 15%, #123e36ec 49%, #123e3680),
    url('/assets/tatar-ornament-mobile-v1.webp') right center / 24rem repeat, #123e36;
  color: #fff;
  border: 1px solid #275749;
  box-shadow: 0 8px 24px #143d3826;
}
.population-page section { background: #fffffff5; border: 1px solid #c6d9cd; box-shadow: 0 5px 20px #143d3810; }
.population-page h1, .population-page h2 { line-height: 1.2; margin: 0 0 .75rem; }
.population-page h1 { max-width: 23ch; font-size: clamp(1.52rem, 5vw, 2.5rem); overflow-wrap: anywhere; }
.population-page p { margin: .65rem 0 0; }
.population-page header p { max-width: 62ch; }
.population-page .label { margin: 0 0 .6rem; color: #d9edab; font-weight: 800; }
.population-page ol { margin: .75rem 0 0; padding-inline-start: 1.35rem; }
.population-page li + li { margin-top: .45rem; }
.population-page .actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.population-page .actions a {
  display: flex;
  flex: 1 1 13rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  border: 1px solid #b6cf95;
  border-radius: .8rem;
  padding: .6rem .85rem;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  color: #123e36;
  background: #e2edc2;
}
.population-page .actions a + a { background: #edf4ec; border-color: #b5cfc2; }
.population-page .actions a:hover { border-color: #457d67; }
.population-page .actions img { flex: none; width: 1.8rem; height: 1.8rem; object-fit: contain; }
.population-intro h3 { margin: 1rem 0 .4rem; }
.population-intro ul { padding-inline-start: 1.35rem; }
.population-intro li + li { margin-top: .4rem; }
.population-intro a { color: #165d49; }

/* Census bot-entry hint */
.population-page .bot-start-hint{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;margin:24px 0 0;padding:20px;border:1px solid #9ab876;border-left:5px solid #2d6651;border-radius:16px;background:linear-gradient(110deg,#e1efbb,#f0f6df);color:#123e36;box-shadow:0 5px 16px #143d3812}
.bot-start-hint__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#123e36;color:#e0efa6}
.population-page .bot-start-hint h3{margin:0 0 8px;font-size:19px;line-height:1.3;font-weight:800}
.population-page .bot-start-hint__action{margin:0;font-size:17px;line-height:1.9;font-weight:600}
.bot-start-hint__command{display:inline-block;margin-left:4px;padding:1px 12px;border-radius:8px;background:#123e36;color:#fff;font-size:19px;line-height:1.6;font-weight:800;letter-spacing:.02em}
.population-page .bot-start-hint__detail{margin:10px 0 0;font-size:14px;line-height:1.55}
.population-page .bot-start-hint+.actions{margin-top:12px}
@media(max-width:480px){.population-page .bot-start-hint{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:16px 12px;border-radius:13px}.bot-start-hint__icon{width:30px;height:30px;border-radius:9px}.bot-start-hint__icon svg{width:20px;height:20px}.population-page .bot-start-hint h3{font-size:17px}.population-page .bot-start-hint__action{font-size:16px}}
