@font-face { font-family: Manrope; src: url('/vendor/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Fraunces; src: url('/vendor/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f6f9f2;
  --white: #fff;
  --ink: #173129;
  --forest: #194532;
  --deep: #103524;
  --moss: #316941;
  --muted: #506458;
  --edge: #dbe8d6;
  --cool: #ecf6e8;
  --pepper: #397c35;
  --gold: #c3f18d;
  --focus: #2a682a;
  --serif: Manrope, system-ui, sans-serif;
  --sans: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.53 var(--sans); }
main { min-height: 65vh; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, .section-title h2, .detail-section h2 { font-family: var(--sans); font-weight: 790; }
h1 { font-size: clamp(2.6rem, 5vw, 4.65rem); letter-spacing: -.064em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration-color: #749181; text-underline-offset: .22em; }
a:hover { color: #2d6250; text-decoration-color: currentColor; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; background: var(--white); padding: 12px; border-radius: 6px; }
.page-width { width: min(100% - 88px, 1440px); margin-inline: auto; }

.topbar { background: #fff; color: var(--forest); border-bottom: 1px solid var(--edge); }
.topbar-inner { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: fit-content; color: inherit; display: inline-flex; gap: 10px; align-items: center; font: 800 1.56rem/1 var(--sans); letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: #31593f; }
.brand small { color: inherit; font: 750 .875rem/1.12 var(--sans); letter-spacing: 0; margin-left: 1px; }
.brand-stop { color: #317e3a; }
.brand-symbol { position: relative; display: inline-block; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #204b36; background: #194532; border-radius: 13px; }
.brand-symbol i { position: absolute; display: block; background: var(--gold); }
.brand-symbol i:first-child { width: 15px; height: 7px; top: 14px; left: 5px; border-radius: 5% 90% 8% 85%; transform: rotate(21deg); }
.brand-symbol i:last-child { width: 19px; height: 8px; top: 12px; right: 3px; border-radius: 90% 8% 85% 4%; transform: rotate(-24deg); }
.topbar nav { display: flex; padding: 4px; background: #f4f8f2; gap: 3px; border: 1px solid #e6eee3; border-radius: 12px; }
.topbar nav a { border-radius: 8px; color: #345241; text-decoration: none; font-weight: 720; padding: 7px 17px; transition: background .16s, color .16s; }
.topbar nav a:hover { background: #e5f3df; color: var(--deep); }
.topbar nav a[aria-current] { color: #184929; background: #d9f3c9; }
.language-picker { position: relative; justify-self: end; z-index: 1100; color: #2b563e; }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 10px; border: 1px solid #d3e4cf; border-radius: 10px; background: #f4f8f2; font-weight: 750; cursor: pointer; list-style: none; white-space: nowrap; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:is(:hover, :focus-visible), .language-picker[open] summary { background: #e5f3df; }
.language-picker summary i { display: inline-block; width: 7px; height: 7px; margin: -4px 2px 0 1px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.language-picker[open] summary i { margin-top: 3px; transform: rotate(225deg); }
.language-globe { position: relative; flex: 0 0 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; }
.language-globe::before, .language-globe::after { position: absolute; content: ''; }
.language-globe::before { inset: -1px 3px; border: solid currentColor; border-width: 0 1px; border-radius: 50%; }
.language-globe::after { inset-inline: 0; top: 6px; border-top: 1px solid currentColor; }
.language-picker ul { position: absolute; inset: calc(100% + 6px) 0 auto auto; width: 174px; max-height: min(60vh, 430px); overflow: auto; margin: 0; padding: 5px; list-style: none; border: 1px solid #d3e4cf; border-radius: 12px; box-shadow: 0 12px 30px #102e1d29; background: #fff; }
.language-picker li { margin: 0; }
.language-picker a { display: block; min-height: 38px; padding: 7px 10px; border-radius: 7px; color: #2b563e; text-decoration: none; }
.language-picker a:is(:hover, :focus-visible, [aria-current]) { background: #e5f3df; color: var(--deep); }
.footer :focus-visible { outline-color: var(--gold); }

.explore { padding-top: 25px; }
.intro, .section-title { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.intro h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -.075em; }
.intro p, .section-title p { margin-top: 7px; }
.intro p { font-size: max(1rem, 1.20vw); }
.snapshot { align-self: stretch; display: flex; gap: 13px; padding: 12px 19px 12px 13px; background: #d8f6bb; border: 1px solid #c9efab; border-radius: 14px; align-items: center; min-width: max-content; }
.snapshot-icon { color: #296040; display: grid; place-items: center; width: 38px; height: 38px; background: #f3ffe5; border-radius: 11px; flex-shrink: 0; }
.snapshot > div { display: grid; gap: 2px; }
.snapshot strong { font-weight: 800; color: var(--forest); }
.snapshot span { color: var(--muted); }
.map-filters, .catalog-filters { position: relative; z-index: 4; display: grid; align-items: end; padding: 14px 0 15px; gap: 12px; }
.map-filters { grid-template-columns: minmax(215px, 2.5fr) repeat(2, minmax(122px, .82fr)) minmax(max-content, .9fr); }
label { display: block; font-weight: 800; margin: 0 0 4px; }
input, select { width: 100%; min-width: 0; padding: 9px 10px; min-height: 46px; border: 1px solid #b7c2ac; border-radius: 8px; color: var(--ink); background: var(--white); }
input::placeholder { opacity: 1; color: #576b5f; }
input:hover, select:hover { border-color: #809479; }
.search-field { position: relative; }
.search-input { position: relative; }
.search-input input { padding-left: 37px; }
.search-input .icon-search { position: absolute; z-index: 1; left: 14px; top: 14px; pointer-events: none; }
.icon-search { display: inline-block; width: 13px; height: 13px; border: 1.8px solid currentColor; border-radius: 50%; position: relative; }
.icon-search::after { content: ''; position: absolute; bottom: -3px; right: -4px; width: 6px; height: 2px; background: currentColor; transform: rotate(50deg); border-radius: 1px; }
#species-options { position: absolute; z-index: 10; inset: 100% 0 auto; margin: 6px 0 0; padding: 5px; list-style: none; border: 1px solid #cad4c1; border-radius: 8px; background: var(--white); box-shadow: 0 10px 24px #121e173a; max-height: 320px; overflow: auto; }
.species-option { display: flex; flex-wrap: wrap; column-gap: 12px; justify-content: space-between; padding: 8px; border-radius: 5px; cursor: pointer; }
.species-option:hover, .species-option[aria-selected="true"] { background: var(--cool); }
.species-option i { color: var(--muted); }
.filter-actions { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: start; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; border: 1px solid transparent; border-radius: 8px; min-height: 46px; padding: 8px 15px; color: var(--ink); text-align: center; text-decoration: none; font-weight: 800; line-height: 1.22; transition: transform .16s, background .16s, color .16s, border-color .16s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button.primary { background: #266443; color: #fff; }
.button.primary:hover { background: #16482d; }
.button.outline, .button.quiet { background: #fff; border-color: #b7cfb6; color: #29553d; }
.button.outline:hover, .button.quiet:hover { background: #e6f4e2; border-color: #8db48c; }
.button.small { min-height: 34px; padding: 5px 8px; background: transparent; border-color: #9dac96; }
.text-button { padding: 0; border: 0; background: none; color: currentColor; font-weight: 800; text-decoration: underline; }

.explorer { overflow: hidden; border: 1px solid #d5e5d0; border-radius: 17px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 370px); box-shadow: 0 14px 35px #0f442019; }
.map-wrap { position: relative; min-width: 0; }
.map-wrap .bird-map { height: clamp(475px, 58vh, 705px); min-height: 0; }
.place-jump { position: absolute; z-index: 3; top: 13px; left: 13px; color: #f0f3e8; max-width: calc(100% - 77px); }
.place-jump summary { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 39px; padding: 6px 11px; list-style: none; border: 1px solid #6a8880; border-radius: 7px; background: #173a37; font-weight: 750; cursor: pointer; }
.place-jump summary::-webkit-details-marker { display: none; }
.place-jump summary:hover, .place-jump[open] summary { background: #2b5445; }
.place-jump summary:focus-visible { outline-color: var(--gold); }
.place-jump form { background: var(--white); color: var(--ink); margin-top: 5px; border: 1px solid #92a990; border-radius: 8px; padding: 9px; width: min(328px, 100%); box-shadow: 0 7px 17px #091c1782; }
.place-jump form > div { display: flex; gap: 7px; }
.place-jump form p:not(:empty) { padding-top: 6px; }
.noscript { position: absolute; z-index: 500; top: 0; left: 0; color: var(--white); background: var(--forest); padding: 10px; }
.map-panel { height: clamp(475px, 58vh, 705px); overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: #fff; }
.panel-intro { display: flex; gap: 12px; align-items: flex-start; padding: 17px 17px 11px; border-bottom: 1px solid var(--edge); }
.panel-intro h2 { font: 790 1.55rem/1.05 var(--sans); letter-spacing: -.04em; }
.panel-intro p { margin-top: 5px; }
.panel-marker, .guide-icon { display: grid; place-items: center; color: #365447; background: #e4ecdc; border-radius: 9px; width: 39px; height: 39px; flex-shrink: 0; }
.icon-pin { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 65% 65% 65% 10%; border: 1.65px solid currentColor; transform: rotate(-45deg); }
.icon-pin::after { content: ''; width: 4px; height: 4px; border-radius: 100%; background: currentColor; }
.results-content { overflow-y: auto; flex: 1; min-height: 36px; scrollbar-color: #a6b69b transparent; }
.list-pages { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 12px; border-top: 1px solid var(--edge); }
.list-pages button:disabled { opacity: .48; cursor: default; transform: none; }
.list-pages button:hover:not(:disabled) { background: var(--cool); }
.record-list { list-style: none; padding: 0 15px; margin: 0; }
.record-list li { display: grid; grid-template-columns: 35px minmax(0, 1fr); align-items: center; gap: 10px; border-bottom: 1px solid #dfe4d4; padding: 8px 0; }
.record-list li:last-child { border-bottom: 0; }
.record-list a, .cluster-list a { font-weight: 800; text-decoration-color: transparent; }
.record-list a:hover, .cluster-list a:hover { text-decoration-color: currentColor; }
.record-list small, .cluster-list small { display: block; color: var(--muted); font-size: 1rem; }
.list-location { display: grid; place-items: center; width: 35px; height: 36px; background: #eaf0e2; color: #355545; border: 1px solid #dbe3d3; border-radius: 8px; transition: background .16s; }
.list-location:hover { background: #d6e5ce; }
.list-location.approximate { border-style: dashed; }
.map-legend { border-top: 1px solid var(--edge); padding: 10px 14px; display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); background: #f0f3e8; }
.map-legend > span { display: flex; gap: 6px; align-items: center; }
.dot { width: 10px; height: 10px; background: var(--gold); display: inline-block; border: 1.5px solid #865a25; border-radius: 50%; }
.dot.group { background: #f8cc77; border: 2px solid #3c4534; box-shadow: 0 0 0 1px #b68b49; }
.selected-record { padding: 12px 15px; border-bottom: 1px solid #b6c8ac; background: #e5eedc; overflow: auto; }
.map-panel .selected-record { flex-shrink: 0; max-height: min(60%, 285px); }
.selected-title { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.selected-title h3 { font-size: 1.14rem; }
.selected-record i { color: var(--muted); }
.point-source { display: block; width: fit-content; }
.cluster-list { list-style: none; padding: 0; margin: 8px 0 0; }
.cluster-list li { padding: 6px 0; border-top: 1px solid #bdcdb3; }
.map-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; padding: 10px 1px; }
.map-caption strong { color: var(--forest); margin-right: 5px; }
.map-caption a { color: #3a5d4b; }

.below-map { padding: 34px 0 48px; }
.section-title { margin-bottom: 19px; }
.species-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.species-card { overflow: hidden; border: 1px solid var(--edge); border-radius: 15px; background: var(--white); box-shadow: 0 4px 13px #30513b0c; transition: transform .16s, box-shadow .16s; }
.species-card:hover, .species-card:focus-within { transform: translateY(-3px); box-shadow: 0 10px 20px #1c36221a; }
.card-cover { display: block; aspect-ratio: 1.62; overflow: hidden; background: #d7dfca; margin: 7px 7px 0; border-radius: 10px; }
.card-cover img { width: 100%; height: 100%; object-fit: contain; transition: filter .26s; }
.species-card:hover img { transform: scale(1.035); }
.card-info { padding: 12px 15px 14px; }
.card-group { display: block; margin-bottom: 4px; color: #506356; font-weight: 700; }
.card-info h3 { font: 790 1.3rem/1.16 var(--sans); letter-spacing: -.045em; overflow-wrap: anywhere; }
.card-info h3 a { text-decoration-color: transparent; }
.card-info h3 a:hover { text-decoration-color: currentColor; }
.card-info p { margin-top: 3px; }
.card-map { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #345e4a; font-weight: 800; }
.card-map .icon-pin { width: 11px; height: 11px; }
.image-empty { width: 100%; height: 100%; background: linear-gradient(140deg, #567261, #284b3c); display: grid; place-items: center; }

.guide-section { padding: 37px 0 44px; background: #e4f4dc; border-top: 1px solid var(--edge); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.guide-grid article { background: var(--white); padding: 18px; border: 1px solid var(--edge); border-radius: 10px; }
.guide-grid h3 { margin: 11px 0 5px; }
.icon-calendar { height: 16px; width: 16px; border: 2px solid; border-top-width: 5px; border-radius: 3px; }
.icon-eye { width: 17px; height: 13px; display: grid; place-items: center; border: 1.5px solid; border-radius: 90% 25% 90% 25%; transform: rotate(18deg); }
.icon-eye::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.footer { background: var(--deep); color: #eef4e8; padding: 23px 0; }
.footer-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.footer p { color: #d0dfd2; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer a:hover { color: var(--gold); }
.footer .brand-stop { color: #bfeead; }

.inner-page { padding: 21px 0 50px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs > :not(:first-child)::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 10px 3px 0; border-radius: 50%; background: #829286; }
.breadcrumbs a { font-weight: 750; }
.page-intro { margin-bottom: 20px; }
.page-intro p { margin-top: 9px; font-size: 1.125rem; }
.page-intro .button { margin-top: 14px; }
.catalog-filters { grid-template-columns: minmax(235px, 2fr) repeat(3, minmax(145px, 1fr)); padding: 9px 0 12px; }
.catalog-count { margin-bottom: 13px; }
.species-intro { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; align-items: center; padding: 10px 10px 10px 30px; border: 1px solid #cfe8c4; border-radius: 21px; background: linear-gradient(125deg,#d9f7c0,#f0f9e9 73%); box-shadow: 0 8px 26px #32533f0d; }
.species-intro h1 { font-size: clamp(2.55rem, 5vw, 4.7rem); margin: 11px 0 6px; }
.species-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.category-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 11px; border-radius: 20px; border: 1px solid #d5e9d0; color: #29563d; background: #f2faeb; font-weight: 760; line-height: 1.15; }
.scientific { font-size: clamp(1.12rem, 2vw, 1.48rem); margin-bottom: 16px; }
.species-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.species-overview > div { background: #f5fbef; border-radius: 11px; border: 1px solid #dbead6; padding: 9px 11px; }
.species-overview dt { color: #43604c; }
.species-overview dd { margin-top: 2px; font-size: 1.19rem; font-weight: 800; }
.species-intro .button { margin-top: 16px; }
.hero-image { overflow: hidden; border-radius: 14px; background: var(--deep); }
.hero-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(68vh, 620px); margin-inline: auto; object-fit: contain; }
.hero-image figcaption { color: #e4f0e2; padding: 8px 12px; }
.hero-image a:hover { color: var(--gold); }
.profile-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 9px; border-radius: 14px; border: 1px solid var(--edge); background: #fff; margin-top: 16px; }
.profile-nav a, .scope-links a { flex-shrink: 0; text-decoration: none; font-weight: 760; padding: 6px 10px; border-radius: 7px; color: #2c5e40; }
.profile-nav a:hover, .scope-links a:hover { background: #e7f5de; color: #1d482d; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 16px; }
.detail-grid > div { min-width: 0; }
.detail-section { padding: 21px; border: 1px solid var(--edge); background: var(--white); border-radius: 15px; margin-bottom: 17px; box-shadow: 0 5px 16px #2c5b340a; }
.detail-section h2 { margin-bottom: 9px; }
.detail-section h3 { margin-top: 14px; margin-bottom: 8px; }
.detail-section p + p { margin-top: 10px; }
.detail-section .section-title { align-items: start; gap: 12px; margin-bottom: 12px; }
.detail-section .section-title .button { min-width: 142px; }
.detail-map .bird-map { height: clamp(285px, 35vw, 400px); min-height: 0; border-radius: 9px; }
.detail-map .fine, .sensitive-note { margin-top: 9px; }
.fine { color: var(--muted); }
.sensitive-note { border-left: 2px solid #ac723b; padding-left: 10px; }
.scope-links { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 10px; }
.scope-links a { border: 1px solid var(--edge); }
.scope-links [aria-current] { background: #266443; color: #fff; border-color: #266443; }
.scope-links [aria-current]:hover { color: #fff; background: #194733; }
.checklist-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 7px; }
.checklist-summary > div { min-width: 0; display: grid; gap: 0; padding: 8px 9px; border-radius: 9px; border: 1px solid #deecd8; background: #f1f8ed; }
.checklist-summary strong { font-size: clamp(1.12rem, 2vw, 1.55rem); color: #204c32; overflow-wrap: anywhere; }
.checklist-summary span { color: #49624f; }
.accordion { border: 1px solid var(--edge); margin: 12px 0 9px; border-radius: 8px; background: #f3f6ed; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; padding: 9px 12px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; height: 12px; width: 12px; flex-shrink: 0; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.accordion[open] summary::after { background-size: 100% 2px, 2px 0; }
.accordion summary:hover { background: #e5eddd; }
.table-scroll { overflow: auto; padding: 0 10px 8px; }
.chart-section .table-scroll { padding-inline: 0; margin-bottom: 7px; }
table { border-collapse: collapse; width: 100%; text-align: right; }
caption { text-align: left; color: var(--muted); margin: 6px 0; }
th, td { padding: 4px; border-bottom: 1px solid var(--edge); }
th:first-child { text-align: left; }
.calendar-table th, .calendar-table td { padding: 6px 5px; }
.calendar-table thead th { background: #f0f8eb; }
.calendar-table .peak-row { background: #e9f8df; }
.region-ranking { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 13px; padding: 0; list-style: none; margin-block: 13px; }
.region-ranking li { padding: 0 0 4px; }
.region-ranking li > div { display: flex; justify-content: space-between; gap: 5px; align-items: end; line-height: 1.2; }
.region-ranking strong { color: #1b5837; }
.region-track { display: block; height: 4px; width: 100%; border-radius: 3px; margin-top: 5px; background: #edf4eb; }
.region-track i { display: block; border-radius: inherit; background: #79b96a; height: 100%; width: var(--rank); }
.area-list, .descriptions { margin: 5px 0 12px; }
.area-list { padding: 2px 12px 5px; }
.area-list div, .descriptions div { display: grid; grid-template-columns: minmax(100px, .9fr) 1.1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--edge); }
.area-list dd { text-align: right; font-weight: 800; }
.descriptions dt { font-weight: 800; }
.measurement-grid, .ecology-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 10px 0 13px; }
.measurement-grid > div, .ecology-grid > div { padding: 9px; border-radius: 8px; background: #eef7eb; }
.ecology-grid > div { background: #f7fbf5; border: 1px solid var(--edge); }
.ecology-grid dt { font-weight: 790; margin-bottom: 4px; }
.ecology-grid dd { color: var(--muted); }
.measurement-grid dd { color: #244c3c; font-weight: 800; font-size: 1.4rem; }
.measurement-grid dd small { font-size: 1rem; }
.measurement-range { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; font-weight: 550; }
.measurement-range span { display: block; }
.measurement-sample { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.measurement-sample > div { display: flex; align-items: baseline; gap: 6px; }
.measurement-sample dd { color: #244c3c; font-weight: 800; }
.recent-list { padding: 0; list-style: none; }
.recent-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--edge); }
.recent-list li:last-child { border-bottom: 0; }
.recent-list li span { display: block; color: var(--muted); }
.recent-list li > :last-child { display: flex; gap: 5px 10px; flex-wrap: wrap; }
.synonym-list, .world-areas { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 0; }
.synonym-list li, .world-areas li { border: 1px solid var(--edge); border-radius: 8px; padding: 4px 8px; background: #f5faf3; }
.world-areas li span { display: block; color: var(--muted); }
.conservation-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; margin-bottom: 7px; color: #284534; background: #e6f4df; border-radius: 20px; font-weight: 770; }
.conservation-pill strong { min-width: 32px; padding: 5px; border-radius: 20px; color: #fff; background: #246140; text-align: center; }
.conservation-pill[data-category='VU'], .conservation-pill[data-category='NT'] { background: #f8eed5; color: #5a4116; }
.conservation-pill[data-category='EN'], .conservation-pill[data-category='CR'] { background: #f5e1dc; color: #6a2f26; }
.conservation-pill:is([data-category='VU'],[data-category='NT']) strong { background: #835521; }
.conservation-pill:is([data-category='EN'],[data-category='CR']) strong { background: #92392d; }
.identification-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 10px; }
.identification-gallery figure, .audio-list figure { overflow: hidden; background: #f5faf2; border: 1px solid var(--edge); border-radius: 11px; }
.identification-gallery img { display: block; width: auto; max-width: 100%; height: auto; max-height: 355px; margin-inline: auto; object-fit: contain; }
.identification-gallery figcaption, .audio-list figure { padding: 9px 11px; }
.identification-gallery figcaption > span, .audio-list figcaption > span { display: block; color: var(--muted); }
.audio-list figure + figure { margin-top: 9px; }
.audio-list audio { width: min(100%, 380px); margin-top: 7px; }
.official-map-popup strong { font-size: 1rem; }
.official-map-popup p { margin: 4px 0 !important; }
.official-map-error { position: absolute; top: 60px; left: 10px; z-index: 620; background: #fff6db; color: #574224; padding: 5px 8px; border-radius: 6px; }
.prose-page { max-width: 890px; }
.prose-page p { max-width: 76ch; }
.source-links { font-weight: 750; }

@media (max-width: 1080px) {
  .page-width { width: calc(100% - 54px); }
  .topbar-inner { gap: 17px; }
  .explorer { grid-template-columns: minmax(0, 1fr) 300px; }
  .detail-section .section-title { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .page-width { width: calc(100% - 29px); }
  .topbar-inner { height: 61px; grid-template-columns: 1fr auto; gap: 7px; }
  .topbar nav { gap: 1px; padding: 3px; }
  .topbar nav a { padding: 7px 8px; font-size: .9rem; }
  .language-picker { font-size: .9rem; }
  .brand { gap: 6px; font-size: 1.4rem; }
  .brand small { font-size: .875rem; margin-top: 4px; }
  .brand-symbol { width: 33px; height: 31px; flex-basis: 33px; }
  .brand-symbol i:first-child { width: 12px; left: 4px; top: 12px; }
  .brand-symbol i:last-child { width: 15px; top: 10px; }
  .explore { padding-top: 16px; }
  .intro { flex-wrap: wrap; gap: 8px; }
  .intro h1 { font-size: clamp(2.6rem, 9.5vw, 4.4rem); }
  .intro p { font-size: 1rem; margin-top: 3px; }
  .snapshot { padding: 6px 10px 6px 7px; gap: 7px; min-width: 0; }
  .snapshot-icon { width: 31px; height: 31px; border-radius: 8px; }
  .snapshot > div { gap: 5px 8px; display: flex; flex-wrap: wrap; }
  .map-filters { gap: 7px 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 11px 0 10px; }
  .search-field, .filter-actions { grid-column: 1 / -1; }
  input, select { font-size: 16px; min-height: 40px; padding: 5px 8px; }
  label { margin-bottom: 2px; }
  .search-input .icon-search { top: 12px; }
  .filter-actions .button { min-height: 38px; }
  .explorer { grid-template-columns: 1fr; }
  .map-wrap .bird-map { height: 62svh; min-height: 330px; max-height: 540px; }
  .place-jump { top: 8px; left: 8px; max-width: calc(100% - 66px); }
  .place-jump .button { min-height: 40px; }
  .map-panel { height: auto; min-height: 142px; max-height: 550px; }
  .panel-intro { padding: 13px; }
  .panel-intro h2 { font-size: 1.53rem; }
  .map-panel .selected-record { max-height: 215px; }
  .record-list small, .cluster-list small { font-size: .94rem; }
  .results-content { max-height: 252px; }
  .map-legend { padding: 8px 13px; }
  .map-caption { font-size: .94rem; padding: 8px 0; }
  .below-map { padding: 23px 0 35px; }
  .section-title { flex-wrap: wrap; gap: 11px; margin-bottom: 13px; }
  .section-title p { margin-top: 5px; }
  .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .card-info { padding: 10px 9px 11px; }
  .card-info h3 { font-size: 1.18rem; }
  .card-info p { overflow-wrap: anywhere; }
  .guide-section { padding: 26px 0 29px; }
  .guide-grid { grid-template-columns: 1fr; gap: 9px; }
  .guide-grid article { padding: 13px; }
  .footer-inner { flex-wrap: wrap; align-items: flex-start; justify-content: start; gap: 12px 16px; }
  .footer p { order: 2; width: 100%; }
  .footer-inner > div { flex-direction: column; gap: 2px; margin-left: auto; }
  .inner-page { padding: 15px 0 30px; }
  .breadcrumbs { gap: 4px 7px; margin-bottom: 13px; }
  .page-intro p { margin-top: 5px; font-size: 1rem; }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-filters > :first-child { grid-column: 1 / -1; }
  .catalog-filters > :last-child { grid-column: 1 / -1; }
  .species-intro { grid-template-columns: 1fr; gap: 13px; padding: 13px; }
  .species-overview > div { padding: 6px 8px; }
  .species-intro .button { margin-top: 11px; }
  .hero-image figcaption { padding: 6px 8px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 14px; }
  .detail-grid > div { display: contents; }
  .detail-grid .chart-section { grid-row: 2; }
  .detail-section { padding: 13px; margin-bottom: 12px; min-width: 0; }
  .profile-nav { padding: 5px; gap: 3px; }
  .profile-nav a { padding: 5px 7px; }
  .scope-links a { flex-shrink: 1; padding: 4px 7px; }
  .checklist-summary > div { padding: 5px; }
  .checklist-summary span { overflow-wrap: anywhere; }
  .measurement-grid, .ecology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list div, .descriptions div { gap: 7px; }
  .recent-list li { flex-wrap: wrap; gap: 2px 5px; }
}

@media (max-width: 360px) {
  .page-width { width: calc(100% - 22px); }
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4px; }
  .brand { font-size: 1.25rem; gap: 4px; }
  .topbar .brand small { display: none; }
  .topbar .brand-symbol { display: none; }
  .brand-symbol { width: 28px; height: 28px; flex-basis: 28px; }
  .topbar nav { gap: 0; }
  .topbar nav a { padding-inline: 5px; font-size: 14px; }
  .species-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-section { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
